ProcessComponent 流程组件
1. 结构声明
- TS Declaration
- JSON Schema
class ProcessComponent extends BaseNode {
name: string = '';
title: string;
description: string;
category: string;
attrs: Array<Attribute>;
logics: Array<Logic>;
}
{
"type": "object",
"properties": {
"name": {
"type": "string"
},
"title": {
"type": "string"
},
"description": {
"type": "string"
},
"category": {
"type": "string"
},
"attrs": {
"type": "array",
"items": {
"$ref": "#/definitions/Attribute"
}
},
"logics": {
"type": "array",
"items": {
"$ref": "#/definitions/Logic"
}
}
},
"required": [
"name",
"title",
"description",
"category",
"attrs",
"logics"
],
"additionalProperties": false
}