cherry-studio/tests/__mocks__/renderer
fullex b156ee68e0 feat(cache): enhance shared cache functionality and synchronization in main
- Introduced type-safe access methods for shared cache in the Main process, including `getShared`, `setShared`, `hasShared`, and `deleteShared`.
- Implemented `getAllShared` for initializing new Renderer windows with the complete shared cache state.
- Updated IPC communication to support bidirectional synchronization of shared cache between Main and Renderer processes.
- Enhanced cache management with absolute timestamps for TTL, ensuring precise expiration handling across windows.
- Added ready state tracking in Renderer for improved synchronization feedback during initialization.
- Refactored related documentation to reflect new features and usage patterns for shared cache.
2025-12-29 23:56:27 +08:00
..
CacheService.ts feat(cache): enhance shared cache functionality and synchronization in main 2025-12-29 23:56:27 +08:00
DataApiService.ts refactor(dataApi): streamline Data API schema and type definitions 2025-12-26 12:52:32 +08:00
PreferenceService.ts fix: typecheck/test:lint/format:check 2025-09-16 15:26:36 +08:00
useCache.ts feat(cache): enhance shared cache functionality and synchronization in main 2025-12-29 23:56:27 +08:00
useDataApi.ts refactor(dataApi): streamline Data API schema and type definitions 2025-12-26 12:52:32 +08:00
usePreference.ts fix: typecheck/test:lint/format:check 2025-09-16 15:26:36 +08:00