| | | 1 | | import { type RouteConfig, index, route } from "@react-router/dev/routes"; |
| | | 2 | | |
| | | 3 | | export default [ |
| | | 4 | | index("routes/home.tsx"), |
| | | 5 | | route("auth/callback", "routes/auth.callback.tsx"), |
| | | 6 | | route("auth/signin", "routes/auth.signin.tsx"), |
| | | 7 | | route("auth/signout", "routes/auth.signout.tsx"), |
| | | 8 | | route("healthz", "routes/healthz.tsx", [ |
| | | 9 | | index("routes/healthz._index.tsx"), |
| | | 10 | | route("live", "routes/healthz.live.tsx"), |
| | | 11 | | route("ready", "routes/healthz.ready.tsx"), |
| | | 12 | | ]), |
| | | 13 | | route("debug/config", "routes/debug.config.tsx"), |
| | | 14 | | route("locations", "routes/locations.tsx", [ |
| | | 15 | | index("routes/locations.index.tsx"), |
| | | 16 | | route("new", "routes/locations.new.tsx"), |
| | | 17 | | route(":id/edit", "routes/locations.edit.tsx"), |
| | | 18 | | route(":id/rooms", "routes/locations.rooms.index.tsx"), |
| | | 19 | | route(":id/rooms/new", "routes/locations.rooms.new.tsx"), |
| | | 20 | | route(":id/rooms/:roomId/edit", "routes/locations.rooms.edit.tsx"), |
| | | 21 | | route(":id/rooms/:roomId/items", "routes/locations.rooms.items.index.tsx"), |
| | | 22 | | route( |
| | | 23 | | ":id/rooms/:roomId/items/new", |
| | | 24 | | "routes/locations.rooms.items.new.tsx", |
| | | 25 | | ), |
| | | 26 | | route( |
| | | 27 | | ":id/rooms/:roomId/items/:itemId/edit", |
| | | 28 | | "routes/locations.rooms.items.edit.tsx", |
| | | 29 | | ), |
| | | 30 | | ]), |
| | | 31 | | ] satisfies RouteConfig; |