Fix TypeScript any types and remove deprecated Dexie code

- Replace Record<string, any> with Record<string, string> for query params
- Fix error handling from catch(err: any) to catch(err: unknown)
- Add EntityData interface for proper entity typing
- Update EntitySelectionEvent interface with union types
- Remove USE_DEXIE_DB conditionals and unused import
- Clean up database service calls removing Dexie fallbacks

Resolves 9 TypeScript any type warnings, improves type safety across
entity selection components, and removes deprecated database migration code.
This commit is contained in:
Matthew Raymer
2025-07-04 08:06:08 +00:00
parent d823d1ad37
commit 56286e1fea
14 changed files with 2172 additions and 152 deletions

View File

@@ -11,10 +11,8 @@
* for safe migration of data between the two storage systems.
*
* Usage:
* 1. Enable Dexie temporarily by setting USE_DEXIE_DB = true in constants/app.ts
* 2. Use compareDatabases() to see differences between databases
* 3. Use migrateContacts() and/or migrateSettings() to transfer data
* 4. Disable Dexie again after migration is complete
* 1. Use compareDatabases() to see differences between databases
* 2. Use migrateContacts() and/or migrateSettings() to transfer data
*
* @author Matthew Raymer
* @version 1.0.0