ppagent / ITaskRunnerParams
Interface: ITaskRunnerParams
Defined in: src/task/task.ts:99
任务执行器的固定属性
Extends
Properties
desc?
optionaldesc:string
Defined in: src/config.ts:68
Inherited from
logoPath?
optionallogoPath:string
Defined in: src/config.ts:72
公共目录的相对路径,如 /public/images/logo.png
Inherited from
name
name:
string
Defined in: src/config.ts:67
类型的名称(非实例名称),所有该类型的实例都一样
Inherited from
optionsSchema
optionsSchema:
IConfigSchema
Defined in: src/config.ts:76
实例属性配置的结构
Inherited from
readMeUrl?
optionalreadMeUrl:string
Defined in: src/config.ts:85
使用文档地址
Inherited from
supported?
optionalsupported:object
Defined in: src/config.ts:77
groupInAndOut?
optionalgroupInAndOut:boolean
inTypes?
optionalinTypes:SourceChatMessageType[]
outTypes?
optionaloutTypes:SourceChatMessageType[]
Inherited from
triggerConstraints?
optionaltriggerConstraints:object
Defined in: src/task/task.ts:105
支持的触发器名称及其限制条件
如设置消息触发的时候,可以通过这里设置支持触发的消息类型,主要给前端选择进行约束
Index Signature
[name: string]: ITaskTriggerOptions