cherry-studio/packages/shared/data/api
MyPrototypeWhat aae39e3365 feat: implement app state management and routing system
- Added AppStateService for managing application state in the database, including methods for getting, setting, and deleting state.
- Introduced new API endpoint for app state storage with GET and PUT methods.
- Integrated TanStack Router for routing, enabling a tabbed interface with dynamic routing and state synchronization.
- Created AppShell component to manage layout and routing, including a sidebar and tab management.
- Developed useTabs hook for handling tab state, including adding, closing, and switching tabs.
- Updated package.json and yarn.lock to include necessary dependencies for routing and state management.

This commit enhances the application's architecture by providing a robust state management system and a flexible routing mechanism, improving user experience and maintainability.
2025-11-25 19:06:42 +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 feat: implement app state management and routing system 2025-11-25 19:06:42 +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