mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-12 20:45:20 +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
|
||||
|
||||
|
||||
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):
|
||||
"""Lightweight list item."""
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue