From 044a842bf008095f7c53c576a6292fc26e338157 Mon Sep 17 00:00:00 2001 From: Andrea Vos Date: Sat, 18 Jan 2025 15:36:31 +0100 Subject: [PATCH] fix CI --- locale/config.ts | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/locale/config.ts b/locale/config.ts index 3abfa5512..34bcb086b 100644 --- a/locale/config.ts +++ b/locale/config.ts @@ -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; + voices: Record; } /** * @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 {