diff options
| author | yyamashita <yyamashita@mosquit.one> | 2026-05-09 00:27:19 +0900 |
|---|---|---|
| committer | yyamashita <yyamashita@mosquit.one> | 2026-05-09 00:27:19 +0900 |
| commit | b8d24d292d99c8da285092ce923b5e2b546d8f45 (patch) | |
| tree | c8cde36d7a109dd8eb75b62a6aefd81e80d1f5ee /app/routes.ts | |
| parent | 859e6d8ed530daac1180c7b03182d9389be084dc (diff) | |
Implement band/artist management with version history
Full CRUD for bands and artists: UUID + slug URLs, dynamic link
editor, band-artist associations with roles, per-edit revision
snapshots (message + IP). Add README and CLAUDE.md.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'app/routes.ts')
| -rw-r--r-- | app/routes.ts | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/app/routes.ts b/app/routes.ts index 935792d..a4e737f 100644 --- a/app/routes.ts +++ b/app/routes.ts @@ -1,5 +1,15 @@ -import { type RouteConfig, index } from "@react-router/dev/routes"; +import { type RouteConfig, index, route } from "@react-router/dev/routes"; export default [ index("routes/home.tsx"), + route("/bands/new", "routes/band-new.tsx"), + route("/bands/of/:uuid", "routes/band-by-uuid.tsx"), + route("/bands/named/:slug", "routes/band-by-slug.tsx"), + route("/bands/of/:uuid/edit", "routes/band-edit.tsx"), + route("/bands/of/:uuid/history", "routes/band-history.tsx"), + route("/artists/new", "routes/artist-new.tsx"), + route("/artists/of/:uuid", "routes/artist-by-uuid.tsx"), + route("/artists/named/:slug", "routes/artist-by-slug.tsx"), + route("/artists/of/:uuid/edit", "routes/artist-edit.tsx"), + route("/artists/of/:uuid/history", "routes/artist-history.tsx"), ] satisfies RouteConfig; |
