Exports htmlToSpeech in tts module (#1253)

This commit is contained in:
Hongbo Wu
2022-09-28 13:10:26 +08:00
committed by GitHub
parent ee3fec9d96
commit 9e25e9969f
2 changed files with 8 additions and 2 deletions

View File

@ -13,7 +13,7 @@ import {
TextToSpeechInput,
} from './textToSpeech'
import { File, Storage } from '@google-cloud/storage'
import { endSsml, startSsml } from './htmlToSsml'
import { endSsml, htmlToSpeechFile, startSsml } from './htmlToSsml'
import crypto from 'crypto'
import { createRedisClient } from './redis'
@ -236,3 +236,9 @@ export const textToSpeechStreamingHandler = Sentry.GCPFunction.wrapHttpFunction(
}
}
)
module.exports = {
htmlToSpeechFile,
textToSpeechStreamingHandler,
textToSpeechHandler,
}

View File

@ -7,5 +7,5 @@
// Generate d.ts files
"declaration": true
},
"include": ["src", "test"],
"include": ["src"],
}