cherry-studio/packages/shared/data/api
MyPrototypeWhat 4348c8c4dc refactor: migrate tabs state from SQLite to localStorage cache
- Remove /app/state/:key API endpoint from apiSchemas
- Remove appStateService handler from API handlers
- Add Tab/TabsState types to persist cache schema
- Refactor useTabs to use usePersistCache instead of useQuery/useMutation
- Delete unused routeTree.gen.ts

This change improves performance by avoiding unnecessary IPC + DB roundtrips
for UI state that can be safely stored in localStorage with 200ms debounce.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-26 11:51:36 +08:00
..
apiModels.ts feat: add Data API channels and integrate swr for data fetching 2025-09-13 00:55:15 +08:00
apiPaths.ts chore: update configuration and improve cache management 2025-09-16 11:27:18 +08:00
apiSchemas.ts refactor: migrate tabs state from SQLite to localStorage cache 2025-11-26 11:51:36 +08:00
apiTypes.ts feat: add Data API channels and integrate swr for data fetching 2025-09-13 00:55:15 +08:00
errorCodes.ts refactor: prefer import type (#10190) 2025-09-17 12:32:53 +08:00
index.ts feat: add Data API channels and integrate swr for data fetching 2025-09-13 00:55:15 +08:00