···11+import type { albumTable, artistTable, songTable } from "./schema";
22+33+export type Album = typeof albumTable.$inferSelect;
44+export type Song = typeof songTable.$inferSelect;
55+export type Artist = typeof artistTable.$inferSelect;
66+77+export type AlbumWithArtist = Album & {
88+ artists: Artist[];
99+};
+4-4
web/src/pages.gen.ts
···44import type { PathsForPages, GetConfigResponse } from 'waku/router';
5566// prettier-ignore
77-import type { getConfig as File_About_getConfig } from './pages/about';
88-// prettier-ignore
97import type { getConfig as File_Index_getConfig } from './pages/index';
88+// prettier-ignore
99+import type { getConfig as File_About_getConfig } from './pages/about';
10101111// prettier-ignore
1212type Page =
1313-| ({ path: '/about' } & GetConfigResponse<typeof File_About_getConfig>)
1313+| ({ path: '/' } & GetConfigResponse<typeof File_Index_getConfig>)
1414| { path: '/album'; render: 'dynamic' }
1515-| ({ path: '/' } & GetConfigResponse<typeof File_Index_getConfig>);
1515+| ({ path: '/about' } & GetConfigResponse<typeof File_About_getConfig>);
16161717// prettier-ignore
1818declare module 'waku/router' {