mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-24 21:38:09 +02:00
Merge remote-tracking branch 'upstream/dev' into feat/unified-model-connections
This commit is contained in:
commit
ab5423d2d2
45 changed files with 775 additions and 272 deletions
|
|
@ -103,6 +103,15 @@ export const voiceOption = z.object({
|
|||
});
|
||||
export type VoiceOption = z.infer<typeof voiceOption>;
|
||||
|
||||
// The languages the backend offers for the active TTS provider. When
|
||||
// `allows_custom` is true the list is a starting point and any BCP-47 tag
|
||||
// may be entered.
|
||||
export const languageOptions = z.object({
|
||||
languages: z.array(z.string()),
|
||||
allows_custom: z.boolean(),
|
||||
});
|
||||
export type LanguageOptions = z.infer<typeof languageOptions>;
|
||||
|
||||
export const updateSpecRequest = z.object({
|
||||
spec: podcastSpec,
|
||||
expected_version: z.number().int().min(1),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue