diff --git a/src/types/index.ts b/src/types/index.ts index eb2cdcd..1d99432 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -125,3 +125,15 @@ export interface QuickAction { icon: string; prompt?: string; } + +// 快捷短语类型 +export interface QuickPhrase { + id: string; // 唯一标识(UUID) + title: string; // 短语标题(必填,用于列表显示) + content: string; // 短语内容(必填,插入到输入框的文本) + category?: string; // 分类(可选,用于分组) + icon?: string; // 图标名称(可选,使用 lucide-react 图标) + sortOrder: number; // 排序顺序 + createdAt: number; // 创建时间戳 + updatedAt: number; // 更新时间戳 +}