cherry-studio/packages/shared/data/preference
fullex 819f6de64d refactor(api): migrate API server configuration to preference service
- Removed the config module and replaced its usage with preferenceService across the API server implementation.
- Updated the auth middleware to retrieve the API key from preferenceService instead of the config.
- Adjusted the ApiServerService to ensure a valid API key is generated and stored in preferences.
- Refactored the useApiServer hook to utilize the new preference system for API server configuration.
- Updated related tests to mock preferenceService instead of config.
- Cleaned up unused imports and adjusted related components to align with the new configuration approach.
2025-12-02 12:47:30 +08:00
..
preferenceSchemas.ts refactor(api): migrate API server configuration to preference service 2025-12-02 12:47:30 +08:00
preferenceTypes.ts Merge branch 'main' into v2 2025-10-23 17:41:21 +08:00