mirror of
https://github.com/mwisnowski/mtg_python_deckbuilder.git
synced 2025-12-16 23:50:12 +01:00
fix: allow theme catalog ids and refresh baseline
This commit is contained in:
parent
33570399f0
commit
c95b15ef56
4 changed files with 773 additions and 39 deletions
|
|
@ -21,6 +21,10 @@ PopularityBucket = Literal['Very Common', 'Common', 'Uncommon', 'Niche', 'Rare']
|
|||
|
||||
|
||||
class ThemeEntry(BaseModel):
|
||||
id: Optional[str] = Field(
|
||||
None,
|
||||
description="Stable, slugified identifier for the theme (mirrors fast-path catalog id); optional for backward compatibility.",
|
||||
)
|
||||
theme: str = Field(..., description="Canonical theme display name")
|
||||
synergies: List[str] = Field(default_factory=list, description="Ordered synergy list (curated > enforced > inferred, possibly trimmed)")
|
||||
primary_color: Optional[str] = Field(None, description="Primary color (TitleCase) if detectable")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue