|
|
4782584a47
|
fix: replace any types in admin and utility files (11 errors)
Phase 1 Batch 8: Admin & Misc type safety improvements - PHASE 1 COMPLETE
Fixed 11 any-type errors across 7 files:
1. src/lib/admin/autoSave.svelte.ts (1 error)
- Fixed catch block: e: unknown (line 98)
2. src/lib/admin/autoSave.ts (1 error)
- Fixed catch block: e: unknown (line 85)
3. src/lib/admin/autoSaveLifecycle.ts (2 errors)
- Fixed controller type: AutoSaveStore<unknown, unknown> (line 13)
4. src/lib/admin/api.ts (1 error)
- Fixed body cast: body as FormData (line 61)
5. src/lib/server/api-utils.ts (3 errors)
- Fixed jsonResponse data: unknown (line 5)
- Fixed isValidStatus parameter: unknown (line 46)
- Fixed isValidPostType parameter: unknown (line 54)
6. src/lib/stores/project-form.svelte.ts (1 error)
- Fixed setField value: unknown (line 57)
7. src/lib/stores/toast.ts (2 errors)
- Fixed error callback: error: unknown (line 70)
- Fixed custom component: unknown (line 85)
Progress: 0 any-type errors remaining!
PHASE 1 TYPE SAFETY: COMPLETE (103 errors fixed)
|
2025-11-24 02:43:52 -08:00 |
|
Devin AI
|
903308ce3f
|
lint: fix misc errors (no-case-declarations, empty interfaces, empty catch blocks) (12 fixes)
Co-Authored-By: Justin Edmund <justin@jedmund.com>
|
2025-11-24 05:41:12 +00:00 |
|
|
|
376df12c20
|
refactor(admin): remove legacy client auth helper
|
2025-10-07 05:53:55 -07:00 |
|
|
|
3aec443534
|
feat(api): add admin API client with auth, error handling, FormData, and abortable requests
|
2025-08-31 11:03:27 -07:00 |
|