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")], }),]);
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")],
}),
]);