mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-26 21:39:43 +02:00
feat(podcast): LanguageOptions read model
This commit is contained in:
parent
f3d253ae77
commit
fe4d69f478
1 changed files with 11 additions and 0 deletions
|
|
@ -51,6 +51,17 @@ class VoiceOption(BaseModel):
|
||||||
gender: str
|
gender: str
|
||||||
|
|
||||||
|
|
||||||
|
class LanguageOptions(BaseModel):
|
||||||
|
"""The languages the brief editor may offer for the active provider.
|
||||||
|
|
||||||
|
When ``allows_custom`` is true the list is a curated starting point and
|
||||||
|
the editor accepts any BCP-47 tag beyond it.
|
||||||
|
"""
|
||||||
|
|
||||||
|
languages: list[str]
|
||||||
|
allows_custom: bool
|
||||||
|
|
||||||
|
|
||||||
class PodcastSummary(BaseModel):
|
class PodcastSummary(BaseModel):
|
||||||
"""Lightweight list item."""
|
"""Lightweight list item."""
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue