import { create } from 'zustand';
import { MOCK_GEAR, type GearRecord } from '@/data/mock/gear';

interface GearStore {
  items: GearRecord[];
  loaded: boolean;
  load: () => void;
}

export const useGearStore = create<GearStore>((set) => ({
  items: [],
  loaded: false,
  load: () => set({ items: MOCK_GEAR, loaded: true }),
}));
