pr_01m47d24b0e6n91zwymwxg0vpx/apps/sudo/app/routes.ts

13 lines592 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"),
Stripe webhooks, enterprise invoices, and sudo for both10 route("stripe", "routes/stripe.tsx"),
Billing on Stripe's pages, month-end charges, warnings; sudo by workspace11 // Before sudo was organised around workspaces, everything was an account.
12 route("accounts/*", "routes/legacy-accounts.tsx"),
Billing accounts, terms and enterprises; g1t is no longer free13] satisfies RouteConfig;