OverriddenLogic 覆写逻辑
1. 结构声明
- TS Declaration
- JSON Schema
class OverriddenLogic extends BaseNode {
overriddenModule: string;
name: string = '';
description: string;
triggerType: string;
cron: string;
transactional: Transactional;
typeParams?: Array<TypeParam>;
params: Array<Param>;
returns: Array<Return>;
variables: Array<Variable>;
body: Array<LogicItem>;
playground: Array<LogicItem>;
}
{
"type": "object",
"properties": {
"overriddenModule": {
"type": "string"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"triggerType": {
"type": "string"
},
"cron": {
"type": "string"
},
"transactional": {
"$ref": "#/definitions/Transactional"
},
"typeParams": {
"type": "array",
"items": {
"$ref": "#/definitions/TypeParam"
}
},
"params": {
"type": "array",
"items": {
"$ref": "#/definitions/Param"
}
},
"returns": {
"type": "array",
"items": {
"$ref": "#/definitions/Return"
}
},
"variables": {
"type": "array",
"items": {
"$ref": "#/definitions/Variable"
}
},
"body": {
"type": "array",
"items": {
"$ref": "#/definitions/LogicItem"
}
},
"playground": {
"type": "array",
"items": {
"$ref": "#/definitions/LogicItem"
}
}
},
"required": [
"overriddenModule",
"name",
"description",
"triggerType",
"cron",
"transactional",
"params",
"returns",
"variables",
"body",
"playground"
],
"additionalProperties": false
}