Files
captain-claude/deck-frontend/backups/20260113_211524/src/state/index.ts
ARCHITECT 9b244138b5 Add pending apps and frontend components
- apps/captain-mobile: Mobile API service
- apps/flow-ui: Flow UI application
- apps/mindlink: Mindlink application
- apps/storage: Storage API and workers
- apps/tzzr-cli: TZZR CLI tool
- deck-frontend/backups: Historical TypeScript versions
- hst-frontend: Standalone HST frontend

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 18:26:59 +00:00

36 lines
777 B
TypeScript

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';