Files
KimiCodeSwitch/src/types/icon.ts
T

17 lines
396 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
export interface IconMetadata {
/** 图标名称(小写,如 "openai") */
name: string;
/** 显示名称(如 "OpenAI") */
displayName: string;
/** 分类(如 "ai-provider", "cloud", "tool") */
category: string;
/** 搜索关键词 */
keywords: string[];
/** 默认颜色 */
defaultColor?: string;
}
export interface IconPreset {
[key: string]: IconMetadata;
}