mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Exports htmlToSpeech in tts module (#1253)
This commit is contained in:
parent
ee3fec9d96
commit
9e25e9969f
2 changed files with 8 additions and 2 deletions
|
|
@ -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,
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,5 +7,5 @@
|
|||
// Generate d.ts files
|
||||
"declaration": true
|
||||
},
|
||||
"include": ["src", "test"],
|
||||
"include": ["src"],
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue