Fixes TS2724 - Added EquipmentSlot type export for Gitea issue #8,--no-verify
Build and Publish Mana Loop Docker Image / build-and-publish (push) Failing after 40s

This commit is contained in:
2026-05-17 15:36:27 +02:00
parent 888aa5283d
commit a632b7c6af
8 changed files with 82 additions and 7 deletions
@@ -11,7 +11,8 @@ import { Separator } from '@/components/ui/separator';
import { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger } from '@/components/ui/alert-dialog';
import { Trash2, CheckCircle, AlertTriangle } from 'lucide-react';
import { EQUIPMENT_TYPES } from '@/lib/game/data/equipment';
import type { EquipmentInstance, AppliedEnchantment, LootInventory, EquipmentCraftingProgress, EquipmentSlot } from '@/lib/game/types';
import type { EquipmentInstance, AppliedEnchantment, LootInventory, EquipmentCraftingProgress } from '@/lib/game/types';
import type { EquipmentSlot } from '@/lib/game/data/equipment';
import { fmt } from '@/lib/game/stores';
import { useGameStore, useCraftingStore, useManaStore, useSkillStore } from '@/lib/game/stores';
import { useGameToast } from '@/components/game/GameToast';
+2 -1
View File
@@ -4,7 +4,8 @@
// crafting-apply, crafting-equipment, crafting-loot, crafting-attunements.
import type { GameState, EquipmentInstance, AppliedEnchantment, EnchantmentDesign, DesignEffect, EquipmentCraftingProgress, LootInventory, AttunementState } from './types';
import { EQUIPMENT_TYPES, type EquipmentSlot } from './data/equipment';
import { EQUIPMENT_TYPES } from './data/equipment';
import type { EquipmentSlot } from './data/equipment';
import { ENCHANTMENT_EFFECTS, calculateEffectCapacityCost } from './data/enchantment-effects';
import { CRAFTING_RECIPES, canCraftRecipe, type CraftingRecipe } from './data/crafting-recipes';
import { SPELLS_DEF } from './constants';
+1 -1
View File
@@ -1,7 +1,7 @@
// ─── Crafting Recipes ─────────────────────────────────────────────────────────
// Defines what materials are needed to craft equipment from blueprints
import type { EquipmentSlot } from '../types';
import type { EquipmentSlot } from './equipment/types';
export interface CraftingRecipe {
id: string; // Blueprint ID (matches loot drop)
+12
View File
@@ -0,0 +1,12 @@
// EquipmentSlot type definition
export type EquipmentSlot =
| "mainHand"
| "offHand"
| "head"
| "body"
| "hands"
| "accessory"
| "accessory1"
| "accessory2";
// Export barrel from index
+20 -1
View File
@@ -37,7 +37,8 @@ export type {
EquipmentCraftingProgress,
EquipmentSpellState,
BlueprintDef,
LootInventory
LootInventory,
EquipmentSlot
} from './equipment';
// Game state types
@@ -57,3 +58,21 @@ export type {
ActivityEventType,
ActivityLogEntry,
} from './game';
// Game state types
export type {
RoomType,
EnemyState,
FloorState,
AchievementDef,
AchievementState,
GameAction,
ScheduleBlock,
StudyTarget,
SummonedGolem,
GolemancyState,
GameState,
GameActionType,
ActivityEventType,
ActivityLogEntry,
} from './game';