21 lines · 1.0 KB · TypeScript
RawDownload
import { physical, rootRoute } from "@tanstack/virtual-file-routes";import { consoleRoutes } from "@executor-js/react/console-routes"; // The local/desktop console route tree — ONE definition read by vite.ts// (dev/build) and packages/react's routes:gen (the committed routeTree.gen.ts).//// Shared console routes come from @executor-js/react (see its// console-routes.ts); this app owns its root and the local-specific routes// under src/routes/app. /secrets is excluded: the local app's variant shows// credential-provider info. /users is excluded because local serves no account// or admin API at all (see apps/local/src/app.ts) — there is no tenant to// operate and no endpoint behind the page. App routes mount INSIDE the shared// `{-$orgSlug}` scope (local never sets the param, so URLs stay bare) so the// override masks the shared route id.export const routes = rootRoute("__root.tsx", [  ...consoleRoutes({    dir: "../../../react/src/routes",    exclude: ["/secrets", "/users"],    orgScoped: [physical("", "app")],  }),]);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t