70 lines
893 B
TypeScript
70 lines
893 B
TypeScript
|
|
/**
|
||
|
|
* 文案处理相关的类型定义
|
||
|
|
*/
|
||
|
|
export namespace CopyWritingModel {
|
||
|
|
/**
|
||
|
|
* 提示词分类
|
||
|
|
*/
|
||
|
|
interface PromptCategory {
|
||
|
|
/**
|
||
|
|
* 分类ID
|
||
|
|
*/
|
||
|
|
id: string
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 分类名称
|
||
|
|
*/
|
||
|
|
name: string
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 父分类ID (提示词类型ID)
|
||
|
|
*/
|
||
|
|
promptTypeId: string
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 描述
|
||
|
|
*/
|
||
|
|
description: string | null
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 备注
|
||
|
|
*/
|
||
|
|
remark: string | null
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 用户提示词内容模板 (可选)
|
||
|
|
*/
|
||
|
|
userContent?: string
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 系统提示词内容 (可选)
|
||
|
|
*/
|
||
|
|
systemContent?: string
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 提示词类型
|
||
|
|
*/
|
||
|
|
interface PromptType {
|
||
|
|
/**
|
||
|
|
* 类型ID
|
||
|
|
*/
|
||
|
|
id: string
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 类型名称
|
||
|
|
*/
|
||
|
|
name: string
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 描述
|
||
|
|
*/
|
||
|
|
description: string | null
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 排序
|
||
|
|
*/
|
||
|
|
sort?: number
|
||
|
|
}
|
||
|
|
}
|