mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-10-08 00:26:37 +08:00
修复任务参数类型转换
This commit is contained in:
@@ -97,8 +97,9 @@ export interface TaskTypeResponse {
|
||||
* - string → 单行文本输入,JSON 中序列化为 string
|
||||
* - text → 多行文本输入,JSON 中序列化为 string
|
||||
* - number → 数字输入,JSON 中序列化为 number(而非 string)
|
||||
* - boolean → 开关输入,JSON 中序列化为 boolean(而非 string)
|
||||
*/
|
||||
export type TaskParamType = 'string' | 'text' | 'number';
|
||||
export type TaskParamType = 'string' | 'text' | 'number' | 'boolean';
|
||||
|
||||
/**
|
||||
* 任务参数定义
|
||||
|
||||
Reference in New Issue
Block a user