8856df7e8d
New workspace member built on @unom/ui 0.9.1 + @unom/app-ui 0.2.0 + @punktfunk/plugin-kit/react, effect 4.0.0-beta.99 exact. base:'./' with build straight into ../plugin/dist/ui; :5599 dev server proxies /api to the plugin dev API only in live mode. styles.css = tailwind + tw-animate + the kit's violet theme (NOT @unom/ui's own neutral palette) + bare-dir @source globs over the design-system dist. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
16 lines
370 B
TypeScript
16 lines
370 B
TypeScript
// The flat route list, shared by App.tsx and the pages (kept out of App.tsx so pages
|
|
// can type their `navigate` prop without importing the shell).
|
|
export const ROUTES = [
|
|
"overview",
|
|
"library",
|
|
"sources",
|
|
"emulators",
|
|
"settings",
|
|
] as const;
|
|
|
|
export type Route = (typeof ROUTES)[number];
|
|
|
|
export type PageProps = {
|
|
readonly navigate: (route: Route) => void;
|
|
};
|