feat: Add Scryfall ID and set code to card instances for client-side image hydration and update card creation logic.

This commit is contained in:
2025-12-22 22:39:00 +01:00
parent c88c8ced15
commit 784d173fec
4 changed files with 19 additions and 7 deletions

View File

@@ -20,7 +20,9 @@ export interface StackObject {
export interface CardInstance {
instanceId: string;
oracleId: string; // Scryfall ID
scryfallId: string; // Used for cache hydration
setCode?: string; // Used for cache hydration
oracleId: string; // Scryfall Oracle ID
name: string;
imageUrl: string;
controllerId: string;