8de300b634
- provide Runtime overview, service lifecycle, invocation, and event views - add immutable WIT package listing, publication, and download workflows - connect all state to the Rust management API without direct database access - use TanStack Start with Node serving, Oxlint, Oxfmt, and SSR checks - include responsive operational layouts and empty Actor placeholders
17 lines
351 B
TypeScript
17 lines
351 B
TypeScript
import { createRouter } from "@tanstack/react-router";
|
|
import { routeTree } from "./routeTree.gen";
|
|
|
|
export function getRouter() {
|
|
return createRouter({
|
|
routeTree,
|
|
defaultPreload: "intent",
|
|
scrollRestoration: true,
|
|
});
|
|
}
|
|
|
|
declare module "@tanstack/react-router" {
|
|
interface Register {
|
|
router: ReturnType<typeof getRouter>;
|
|
}
|
|
}
|