diff --git a/docs/circular-deps.txt b/docs/circular-deps.txt index 32cf74a..d7a319c 100644 --- a/docs/circular-deps.txt +++ b/docs/circular-deps.txt @@ -1,8 +1,8 @@ # Circular Dependencies -Generated: 2026-05-17T13:36:32.085Z +Generated: 2026-05-17T17:39:56.862Z Found: 7 circular chain(s) — these MUST be fixed before modifying involved files. -1. Processed 151 files (1.3s) (37 warnings) +1. Processed 151 files (1.4s) (37 warnings) 2. 1) data/equipment/index.ts > data/equipment/utils.ts 3. 2) data/golems/index.ts > data/golems/utils.ts 4. 3) stores/combat-actions.ts > stores/combatStore.ts diff --git a/docs/dependency-graph.json b/docs/dependency-graph.json index f249bc8..c7b026a 100644 --- a/docs/dependency-graph.json +++ b/docs/dependency-graph.json @@ -1,6 +1,6 @@ { "_meta": { - "generated": "2026-05-17T13:36:30.534Z", + "generated": "2026-05-17T17:39:55.251Z", "description": "Import dependency graph for src/lib/game. Keys are files, values are arrays of files they import.", "usage": "To find what a file affects, search for its path in the VALUES. To find what a file depends on, look at its KEY entry." }, @@ -692,7 +692,7 @@ "types/index.ts": [ "types/attunements.ts", "types/elements.ts", - "types/equipment.ts", + "types/equipmentSlot.ts", "types/game.ts", "types/spells.ts" ], diff --git a/src/components/game/crafting/EnchantmentPreparer.tsx b/src/components/game/crafting/EnchantmentPreparer.tsx index 688edae..3581f5b 100644 --- a/src/components/game/crafting/EnchantmentPreparer.tsx +++ b/src/components/game/crafting/EnchantmentPreparer.tsx @@ -12,7 +12,7 @@ import { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, import { Trash2, CheckCircle, AlertTriangle } from 'lucide-react'; import { EQUIPMENT_TYPES } from '@/lib/game/data/equipment'; import type { EquipmentInstance, AppliedEnchantment, LootInventory, EquipmentCraftingProgress } from '@/lib/game/types'; -import type { EquipmentSlot } from '@/lib/game/data/equipment'; +import type { EquipmentSlot } from '@/lib/game/types'; import { fmt } from '@/lib/game/stores'; import { useGameStore, useCraftingStore, useManaStore, useSkillStore } from '@/lib/game/stores'; import { useGameToast } from '@/components/game/GameToast'; diff --git a/src/lib/game/types.ts b/src/lib/game/types.ts index acfe569..54194bf 100755 --- a/src/lib/game/types.ts +++ b/src/lib/game/types.ts @@ -4,7 +4,6 @@ // ─── Core Game Types (re-exported from types/ subdirectory) ───────────────── export type { EquipmentCategory } from './data/equipment/types'; - export type { ElementCategory, ElementDef, @@ -70,3 +69,11 @@ export type { ActivityLogEntry, EquipmentSpellState, } from './types/game'; + +// ─── New: Memory Type Definition ───────────────────────────────────────────── +export interface Memory { + skillId: string; + level: number; + tier: number; + upgrades: string[]; +}