g1t/apps/sudo/app/routes.ts

12 lines552 bytesCodeBlame

Pick any line to see why it is the way it is: the commit, the pull request and issue it came from, and what the agent was thinking.

Billing accounts, terms and enterprises; g1t is no longer free1import { type RouteConfig, index, route } from "@react-router/dev/routes";
2
3export default [
Billing on Stripe's pages, month-end charges, warnings; sudo by workspace4 index("routes/workspaces.tsx"),
5 route("workspaces", "routes/workspaces-redirect.tsx"),
6 route("workspaces/:slug", "routes/workspace.tsx"),
7 route("enterprises", "routes/enterprises.tsx"),
Billing accounts, terms and enterprises; g1t is no longer free8 route("enterprises/new", "routes/new-enterprise.tsx"),
Billing on Stripe's pages, month-end charges, warnings; sudo by workspace9 route("enterprises/:id", "routes/enterprise.tsx"),
10 // Before sudo was organised around workspaces, everything was an account.
11 route("accounts/*", "routes/legacy-accounts.tsx"),
Billing accounts, terms and enterprises; g1t is no longer free12] satisfies RouteConfig;