refactor: wire design-actions.ts into craftingStore.ts, remove dead code
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m23s

- Delegates startDesigningEnchantment, cancelDesign, saveDesign, deleteDesign to design-actions.ts
- Passes enchanter level from attunement store to startDesigningEnchantment (fixes hardcoded 0)
- Removes orphaned disenchant-actions.ts (preparation phase handles recovery inline)
- Removes unused imports (CraftingUtils, CraftingDesign, useUIStore)
- Updates regression test to check design-actions.ts instead of craftingStore.ts
This commit is contained in:
2026-06-15 12:12:56 +02:00
parent a45d38a9c9
commit e76528b449
7 changed files with 35 additions and 126 deletions
+2 -1
View File
@@ -1,6 +1,6 @@
{
"_meta": {
"generated": "2026-06-14T21:49:13.932Z",
"generated": "2026-06-15T08:59:01.387Z",
"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."
},
@@ -542,6 +542,7 @@
"stores/attunementStore.ts",
"stores/combatStore.ts",
"stores/craftingStore.ts",
"stores/discipline-slice.ts",
"stores/gameStore.ts",
"stores/manaStore.ts",
"stores/prestigeStore.ts",