// DSS Admin UI - State Management with Preact Signals // Central export for all state export * from './app'; export * from './project'; export * from './team'; export * from './user'; import { loadProjects } from './project'; import { loadUserPreferences, refreshUser } from './user'; /** * Initialize the application state * Called once on app mount */ export async function initializeApp(): Promise { // Load user preferences from localStorage loadUserPreferences(); // Restore session if token exists await refreshUser(); // Load projects from API await loadProjects(); }