feat: enhance theme management and image caching functionality

This commit is contained in:
DEV_DSW committed 2026-04-16 15:43:35 +08:00
1 parent 411f4f3421
commit b1f589a674
13 files changed
+74 -183

No files matched your search

+1
View File
@@ -103,6 +103,7 @@ export enum CONFIG_KEYS {
AUTO_CHECK_UPDATE = 'autoCheckUpdate',
AUTO_DOWNLOAD_UPDATE = 'autoDownloadUpdate',
SELECTED_CHANNELS = 'selectedChannels',
IMAGE_CACHE = 'imageCache',
}
export enum MENU_IDS {
+2
View File
@@ -20,6 +20,8 @@ export interface IConfig {
[CONFIG_KEYS.DEFAULT_MODEL]?: string | null;
// 选中的渠道
[CONFIG_KEYS.SELECTED_CHANNELS]: Array<{ id: string; channelName: string; channelUrl: string }>;
// 图片缓存
[CONFIG_KEYS.IMAGE_CACHE]: Array<[string, any]>;
}
export interface Provider {