1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
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"),
] satisfies RouteConfig;
|