import { createStore } from './store.ts'; import type { AppState, EdgeType } from '@/types/index.ts'; import { EDGE_COLORS } from '@/config/index.ts'; const initialState: AppState = { base: 'hst', lang: 'es', view: 'grid', search: '', group: 'all', library: 'all', libraryMembers: new Set(), selectionMode: false, selected: new Set(), selectedTag: null, tags: [], hstTags: [], groups: [], libraries: [], graphEdges: [], treeEdges: [], graphFilters: { cats: new Set(['hst'] as const), edges: new Set(Object.keys(EDGE_COLORS) as EdgeType[]) }, graphSettings: { nodeSize: 20, linkDist: 80, showImg: true, showLbl: true } }; export const store = createStore(initialState); export { createStore } from './store.ts';