Fix build errors: update imports and re-exports
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m45s
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m45s
- Fixed equipment/index.ts imports (use correct export names: ACCESSORIES_EQUIPMENT, CASTER_EQUIPMENT, etc.) - Fixed page.tsx: added lazy, Suspense imports from react - Fixed page.tsx: updated getUnifiedEffects import from @/lib/game/effects - Fixed ManaTypeBreakdown.tsx: updated computeEffectiveRegenForDisplay import - Fixed SpireTab.tsx: updated getEnemyName import from enemy-utils - Fixed LeftPanel.tsx: updated getUnifiedEffects import from @/lib/game/effects - Build now succeeds with all tabs working
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// ─── Equipment Types Index ───────────────────────────────
|
||||
// ─── Equipment Types Index ───────────────────────
|
||||
// Re-exports from all equipment type modules
|
||||
|
||||
// Re-export types
|
||||
@@ -13,8 +13,29 @@ export {
|
||||
SLOT_NAMES
|
||||
} from './types';
|
||||
|
||||
// Re-export data
|
||||
export { EQUIPMENT_TYPES } from './data';
|
||||
// Import all equipment type groups
|
||||
import { ACCESSORIES_EQUIPMENT } from './accessories';
|
||||
import { BODY_EQUIPMENT } from './body';
|
||||
import { CASTER_EQUIPMENT } from './casters';
|
||||
import { CATALYST_EQUIPMENT } from './catalysts';
|
||||
import { FEET_EQUIPMENT } from './feet';
|
||||
import { HANDS_EQUIPMENT } from './hands';
|
||||
import { HEAD_EQUIPMENT } from './head';
|
||||
import { SHIELD_EQUIPMENT } from './shields';
|
||||
import { SWORD_EQUIPMENT } from './swords';
|
||||
|
||||
// Combine all equipment types into EQUIPMENT_TYPES
|
||||
export const EQUIPMENT_TYPES = {
|
||||
...ACCESSORIES_EQUIPMENT,
|
||||
...BODY_EQUIPMENT,
|
||||
...CASTER_EQUIPMENT,
|
||||
...CATALYST_EQUIPMENT,
|
||||
...FEET_EQUIPMENT,
|
||||
...HANDS_EQUIPMENT,
|
||||
...HEAD_EQUIPMENT,
|
||||
...SHIELD_EQUIPMENT,
|
||||
...SWORD_EQUIPMENT,
|
||||
};
|
||||
|
||||
// Re-export utility functions
|
||||
export {
|
||||
|
||||
Reference in New Issue
Block a user