fix: resolve all TypeScript compilation errors
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m17s

- Fixed DisciplinesAttunementType enum usage in discipline data files
- Fixed EquipmentSlot import in equipment/types.ts
- Fixed enchantment-effects.ts export/import chain
- Fixed safe-persist.ts StateStorage type compatibility
- Fixed store persist partial return types for all stores
- Fixed gameStore.ts ElementState type and error handling
- Fixed useGameDerived.ts missing properties on GameCoordinatorStore
- Added SkillUpgradeChoice type to types.ts
- Fixed ActionButtons.tsx optional currentStudyTarget prop
- Fixed GameToast.tsx Toast type compatibility
- Fixed EnchantmentDesigner sub-component type mismatches
- Fixed SpireCombatPage equippedInstances/equipmentInstances types
- Fixed page.tsx computeClickMana argument
- Added baseCastTime to SpellDef type
- Fixed golem/types.ts and loot-drops.ts import paths
- Fixed craftingStore.ts missing lastError in initial state and actions
- Fixed store-actions-combat-prestige.test.ts Memory type usage
- Fixed floor-utils.upgraded.test.ts array type annotation
- Fixed computed-stats.test.ts state type assertions
- Fixed activity-log.test.ts state type annotation
- Fixed discipline-math.test.ts enum value usage
- Fixed game-loop.test.ts vitest mock import
- Various other test file type fixes
This commit is contained in:
2026-05-24 14:34:49 +02:00
parent 14f25fffda
commit 23a83a04cf
44 changed files with 191 additions and 142 deletions
@@ -1,13 +1,14 @@
// ─── Enchanter Utility & Mana Disciplines ──────────────────────────────────────
// Disciplines for unlocking utility and mana enchantment effects
import { DisciplinesAttunementType } from '../../types/disciplines';
import type { DisciplineDefinition } from '../../types/disciplines';
export const enchanterUtilityDisciplines: DisciplineDefinition[] = [
{
id: 'study-utility-enchantments',
name: 'Study Utility Enchantments',
attunement: 'enchanter',
attunement: DisciplinesAttunementType.ENCHANTER,
manaType: 'light',
baseCost: 8,
description: 'Learn to enchant equipment with utility effects.',
@@ -45,7 +46,7 @@ export const enchanterUtilityDisciplines: DisciplineDefinition[] = [
{
id: 'study-mana-enchantments',
name: 'Study Mana Enchantments',
attunement: 'enchanter',
attunement: DisciplinesAttunementType.ENCHANTER,
manaType: 'water',
baseCost: 15,
description: 'Learn to enchant equipment with mana-boosting effects.',