feat: enhance theme management and image caching functionality
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user