mirror of
https://github.com/bitbaum/evig.git
synced 2026-12-04 12:38:10 +01:00
- Replace all `any` types with proper interfaces (ListedProductResult, RegistrationData, ApiReviewResponse, UserProfile, etc.) - Fix catch block error types from `any` to `unknown` with type guards - Add TABLE_NAMES constants: ESCROW_RELEASES, ORDER_ITEMS, REPAIRER_CERTIFICATIONS, CERTIFICATION_TYPES - Replace hardcoded table names with TABLE_NAMES in all API routes - Replace hardcoded role checks with isAdminRole() helper - Fix `as any` casts with proper type unions in form handlers Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>