Skip to content

ppagent / ITaskRunnerParams

Interface: ITaskRunnerParams

Defined in: src/task/task.ts:99

任务执行器的固定属性

Extends

Properties

desc?

optional desc: string

Defined in: src/config.ts:68

Inherited from

IConfigParams.desc


logoPath?

optional logoPath: string

Defined in: src/config.ts:72

公共目录的相对路径,如 /public/images/logo.png

Inherited from

IConfigParams.logoPath


name

name: string

Defined in: src/config.ts:67

类型的名称(非实例名称),所有该类型的实例都一样

Inherited from

IConfigParams.name


optionsSchema

optionsSchema: IConfigSchema

Defined in: src/config.ts:76

实例属性配置的结构

Inherited from

IConfigParams.optionsSchema


readMeUrl?

optional readMeUrl: string

Defined in: src/config.ts:85

使用文档地址

Inherited from

IConfigParams.readMeUrl


supported?

optional supported: object

Defined in: src/config.ts:77

groupInAndOut?

optional groupInAndOut: boolean

inTypes?

optional inTypes: SourceChatMessageType[]

outTypes?

optional outTypes: SourceChatMessageType[]

Inherited from

IConfigParams.supported


triggerConstraints?

optional triggerConstraints: object

Defined in: src/task/task.ts:105

支持的触发器名称及其限制条件

如设置消息触发的时候,可以通过这里设置支持触发的消息类型,主要给前端选择进行约束

Index Signature

[name: string]: ITaskTriggerOptions