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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user