Define the deck domain types in apps/web/src/features/deck/types.ts, the shared vocabulary for the whole feature.
Scope
Deck (incl. optional gameplan), DeckCard { cardId, quantity, isCore? }, DeckStats, DeckHealth, HealthAnalyzer, Vulnerability, Suggestion, Archetype (incl. 'ramp'), QualityScore, AnalysisCase, DeckFingerprint.
- Store
cardId (string), never the whole LorcanaCard — hydrate via getCardById.
- Any type guards get focused tests.
Notes: LorcanaCard/Ink/CardType come from inkweave-synergy-engine (import type).
Part of #450 · Deck Builder & Engine Score milestone.
Define the deck domain types in
apps/web/src/features/deck/types.ts, the shared vocabulary for the whole feature.Scope
Deck(incl. optionalgameplan),DeckCard { cardId, quantity, isCore? },DeckStats,DeckHealth,HealthAnalyzer,Vulnerability,Suggestion,Archetype(incl.'ramp'),QualityScore,AnalysisCase,DeckFingerprint.cardId(string), never the wholeLorcanaCard— hydrate viagetCardById.Notes:
LorcanaCard/Ink/CardTypecome frominkweave-synergy-engine(import type).Part of #450 · Deck Builder & Engine Score milestone.