summaryrefslogtreecommitdiff
path: root/app/routes.ts
blob: b02a70aed64dc5d518ec729632675637e8deb693 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import { type RouteConfig, index, route } from "@react-router/dev/routes";

export default [
  index("routes/home.tsx"),
  route("/api/bands", "routes/api-bands.tsx"),
  route("/api/artists", "routes/api-artists.tsx"),
  route("/api/export", "routes/api-export.tsx"),
  route("/api/import", "routes/api-import.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"),
  route("/lists", "routes/list-index.tsx"),
  route("/lists/new", "routes/list-new.tsx"),
  route("/lists/of/:uuid", "routes/list-by-uuid.tsx"),
  route("/lists/named/:slug", "routes/list-by-slug.tsx"),
  route("/lists/of/:uuid/edit", "routes/list-edit.tsx"),
  route("/lists/of/:uuid/history", "routes/list-history.tsx"),
] satisfies RouteConfig;