LaiTool/src/define/enum/option.ts
lq1405 6336b36ead V3.3.1
1. 初步接入 comfy UI 出图,设定工作流,导出API,直接添加到软件,选中对应的工作流调用出图
2. 文案处理模型改为选择,同步通用设置的模型列表和令牌,添加测试链接功能
3. 添加缓存区图片删除功能
4. 添加垫图/MJ提示词过滤,提示无效的垫图文件(在出图的时候和添加垫图链接的时候,主要过滤飞书链接)
5. 优化聚合推文选图逻辑,没有出过图也能拖拽
6. 优化处理软件所有的加载状态
7. 修复MJ设置初始化问题
2025-03-22 10:38:23 +08:00

75 lines
1.1 KiB
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.

/**
* Option Value的数据类型用于数据的格式化
*/
export enum OptionType {
STRING = 'string',
NUMBER = 'number',
BOOLEAN = 'boolean',
JOSN = 'json'
}
export enum OptionKeyName {
//#region 文案处理
/**
* 文案处理的AI设置
*/
CW_AISetting = 'CW_AISetting',
/**
* 文案处理数据界面数据
*/
CW_AISimpleSetting = 'CW_AISimpleSetting',
/**
* 格式化的特殊字符数据
*/
CW_FormatSpecialChar = 'CW_FormatSpecialChar',
//#endregion
//#region TTS
/**
* TTS界面视图数据
*/
TTS_GlobalSetting = 'TTS_GlobalSetting',
//#endregion
//#region MJ
/**
* MJ 基础设置
*/
MJ_GlobalSetting = 'MJ_GlobalSetting',
//#endregion
//#region FLUX
/**
* FLUX API 模型列表
*/
FLUX_APIModelList = 'FLUX_APIModelList',
//#endregion
//#region SD/ComfyUI
/**
* ComfyUI 基础设置
*/
ComfyUI_SimpleSetting = "ComfyUI_SimpleSetting",
/**
* ComfyUI 工作流设置
*/
ComfyUI_WorkFlowSetting = "ComfyUI_WorkFlowSetting"
//#endregion
}