// Page route names — the canonical list of top-level views. // // Kept in its own file (instead of re-exported from router/index.ts) // so that modules importing the constant do not transitively pull in // `createRouter` / `createWebHistory`, which access `window` at // module-eval time and therefore can't run under node-side tests. // See plans/done/feat-notification-permalinks.md (#762) for the test that // forced the split. export const PAGE_ROUTES = { chat: "chat", dashboard: "dashboard", files: "files", automations: "automations", wiki: "wiki", feeds: "feeds", debug: "debug", collections: "collections", accounting: "accounting", } as const; export type PageRouteName = (typeof PAGE_ROUTES)[keyof typeof PAGE_ROUTES];