jedmund-svelte/src
Justin Edmund f31d02d51c fix: replace any types in route pages (10 errors)
Phase 1 Batch 3: Route Pages type safety improvements

Fixed 10 any-type errors across 7 route page files:

1. src/routes/+page.ts (1 error)
   - Added PaginationInfo interface for fetchProjects return type

2. src/routes/admin/+layout.svelte (1 error)
   - Changed children prop from any to Snippet type

3. src/routes/admin/albums/+page.svelte (1 error)
   - Changed Album.content from any to EditorData type

4. src/routes/admin/universe/+page.svelte (1 error)
   - Changed form prop from any to Record<string, unknown> | null | undefined

5. src/routes/albums/[slug]/+page.svelte (4 errors)
   - Added AlbumPhoto and AlbumData interfaces
   - Fixed photo map parameters to use AlbumPhoto
   - Fixed extractContentPreview to accept EditorData | null
   - Fixed generateAlbumJsonLd to accept AlbumData

6. src/routes/albums/+page.svelte (1 error)
   - Changed coverPhoto.colors from any to ColorPalette[]

7. src/routes/photos/[id]/+page.svelte (1 error)
   - Changed navigateToPhoto parameter from any to PhotoItem | null

Progress: 67 any-type errors remaining (down from 77)
2025-11-24 02:01:47 -08:00
..
assets feat(admin): complete Task 7 Phase 1 - styling & theming foundation 2025-10-08 21:28:28 -07:00
lib fix: replace any types in logger and utilities (14 errors) 2025-11-24 01:55:25 -08:00
routes fix: replace any types in route pages (10 errors) 2025-11-24 02:01:47 -08:00
stories lint: remove unused imports in api routes and stories (9 fixes) 2025-11-24 05:28:11 +00:00
app.css Linter 2025-06-13 21:22:49 -04:00
app.d.ts First commit for universe 2025-05-26 06:44:27 -07:00
app.html Add meta theme color 2025-08-07 03:12:25 -07:00
decs.d.ts Update decs.d.ts for GiantBomb API 2024-08-05 23:38:14 -07:00
global.d.ts fix: replace any types in logger and utilities (14 errors) 2025-11-24 01:55:25 -08:00