Files
captain-claude/hst-frontend/js/state.js
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

41 lines
701 B
JavaScript

// === APPLICATION STATE ===
const state = {
// Current selections
base: "hst",
lang: "es",
view: "grid",
search: "",
group: "all",
library: "all",
// Library filter
libraryMembers: new Set(),
// Selection mode
selectionMode: false,
selected: new Set(),
selectedTag: null,
// Data
tags: [],
groups: [],
libraries: [],
graphEdges: [],
treeEdges: [],
// Graph filters
graphFilters: {
cats: new Set(["hst"]),
edges: new Set(Object.keys(EDGE_COLORS))
},
// Graph settings
graphSettings: {
nodeSize: 20,
linkDist: 80,
showImg: true,
showLbl: true
}
};