mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-23 04:34:15 -04:00
fix CI
This commit is contained in:
parent
b0539286c7
commit
044a842bf0
@ -309,12 +309,16 @@ interface PronunciationConfig {
|
||||
* whether to treat letter graphemes as phonemes. useful when the configured locale has no matching voice
|
||||
*/
|
||||
ipa?: boolean;
|
||||
voices: Record<string, PronunciationVoiceConfig>;
|
||||
voices: Record<string, AwsPollyPronunciationVoiceConfig | NarakeetPronunciationVoiceConfig>;
|
||||
}
|
||||
/**
|
||||
* @see https://docs.aws.amazon.com/polly/latest/dg/voicelist.html
|
||||
*/
|
||||
export interface PronunciationVoiceConfig {
|
||||
export interface AwsPollyPronunciationVoiceConfig {
|
||||
/**
|
||||
* text-to-speech provider (aws_polly is the default, if not specified)
|
||||
*/
|
||||
provider?: 'aws_polly';
|
||||
/**
|
||||
* language code
|
||||
*/
|
||||
@ -327,10 +331,20 @@ export interface PronunciationVoiceConfig {
|
||||
* voice engine (default: 'standard')
|
||||
*/
|
||||
engine?: Engine;
|
||||
}
|
||||
export interface NarakeetPronunciationVoiceConfig {
|
||||
/**
|
||||
* text-to-speech provider (default: 'aws_polly')
|
||||
* text-to-speech provider
|
||||
*/
|
||||
provider?: 'aws_polly' | 'narakeet';
|
||||
provider: 'narakeet';
|
||||
/**
|
||||
* language code
|
||||
*/
|
||||
language: string;
|
||||
/**
|
||||
* voice name
|
||||
*/
|
||||
voice: string;
|
||||
}
|
||||
|
||||
interface SourcesConfig {
|
||||
|
Loading…
x
Reference in New Issue
Block a user