g1t/apps/web/app/routes.ts

29 lines1,215 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.

Initial g1t: services, event bus, intents and attempts1import { type RouteConfig, index, route } from "@react-router/dev/routes";
2
3export default [
4 index("routes/home.tsx"),
5 route("login", "routes/login.tsx"),
API and MCP server, Rust identity service, registration, site redesign6 route("register", "routes/register.tsx"),
Initial g1t: services, event bus, intents and attempts7 route("logout", "routes/logout.tsx"),
Email verification, password reset, and Git for AI scale positioning8 route("verify", "routes/verify.tsx"),
9 route("forgot", "routes/forgot.tsx"),
10 route("reset", "routes/reset.tsx"),
Device sign-in replaces registering and minting tokens over the API11 route("device", "routes/device.tsx"),
Initial g1t: services, event bus, intents and attempts12 route("new", "routes/new.tsx"),
13 route("settings", "routes/settings.tsx"),
API and MCP server, Rust identity service, registration, site redesign14 route("explore", "routes/explore.tsx", { id: "explore" }),
15 route("search", "routes/explore.tsx", { id: "search" }),
Workspaces own repositories16 route("workspaces/new", "routes/workspace-new.tsx"),
17 route(":owner", "routes/workspace.tsx"),
Initial g1t: services, event bus, intents and attempts18 route(":owner/:repo", "routes/repo/layout.tsx", [
19 index("routes/repo/code.tsx"),
20 route("tree/:ref/*", "routes/repo/tree.tsx"),
21 route("blob/:ref/*", "routes/repo/blob.tsx"),
API and MCP server, Rust identity service, registration, site redesign22 route("commits", "routes/repo/commits.tsx"),
Issues and pull requests replace intents and attempts23 route("issues", "routes/repo/issues.tsx"),
24 route("issues/new", "routes/repo/issue-new.tsx"),
25 route("issues/:number", "routes/repo/issue.tsx"),
26 route("pulls", "routes/repo/pulls.tsx"),
27 route("pull/:number", "routes/repo/pull.tsx"),
Initial g1t: services, event bus, intents and attempts28 ]),
29] satisfies RouteConfig;