CollectibleEdition
Verwaltet Album, Packöffnung, Kartenauswahl, Tausch und Wiederaufnahme gespeicherter Sammlungen.
src/components/collectible/CollectibleEdition.tsxSource contract in German. The marked authoring notes below retain their original language.
Usage contract
Use through the documented parent
Entry point: src/components/collectible/CollectiblePage.astro
- Persistenz ausschließlich über das bestehende Engine-/Save-Modell; ungültige, zukünftige und blockierte Speicherzustände erhalten.
- Angefangene Packs und garantierte Seltenheiten nicht durch UI-Änderungen zurücksetzen.
- Dialogfokus, Reduced Motion und laufende Gesten gemeinsam prüfen.
Examples
No dedicated demo is assigned. Use the documented entry point and consumers below; this is not evidence of a missing runtime component.
API
Extracted from the source with the TypeScript parser. Inherited and imported types remain references; implementation is authoritative.
type StorageStatus='ok'|'session'|'invalid'|'future';CollectibleEdition({locale='de',bonusOnly=false,onBonusReady}:{locale?:Locale;bonusOnly?:boolean;onBonusReady?:()=>void})Source usage
Website reference
This is static source evidence. A reachable module may contain conditional or unused branches. External consumers and staged static pages are outside this scan. No status authorizes deletion.
Website
- src/pages/collectible/index.astro
- src/components/collectible/CollectiblePage.astro
- src/components/collectible/CollectibleEdition.tsx
Documentation
- src/pages/design-system/storybook-tcg.astro
- src/components/ds/TcgPreview.tsx
- src/components/collectible/CollectibleEdition.tsx
Preview
- src/pages/en/vorschlag/collectible.astro
- src/components/collectible/CollectiblePage.astro
- src/components/collectible/CollectibleEdition.tsx
Consumers in source
Direct static, dynamic and type imports. Imports do not prove that a branch renders or that a proposal is published.
- src/components/collectible/CollectiblePage.astro:6 import
- src/components/ds/TcgPreview.tsx:4 import
src/scripts/secret-booster-app.tsx:2import
Dependencies
@/components/LeetReady·src/components/LeetReady.tsxreact../../lib/collectible/catalog·src/lib/collectible/catalog.ts../../lib/collectible/engine·src/lib/collectible/engine.ts../../lib/collectible/copy·src/lib/collectible/copy.ts./useFoilLight·src/components/collectible/useFoilLight.ts../../lib/collectible/artwork·src/lib/collectible/artwork.ts./TradingCard·src/components/collectible/TradingCard.tsx../../lib/collectible/secret-claim·src/lib/collectible/secret-claim.ts./BonusPacket·src/components/collectible/BonusPacket.tsx