Process 流程
1. 结构声明
- TS Declaration
- JSON Schema
class Process extends BaseNode {
name: string = '';
title: string;
description?: string;
bindEvents: Array<BindEvent>;
params: Array<Param>;
returns: Array<Return>;
constants: Array<Constant>;
elements: Array<ProcessElement>;
}
{
"type": "object",
"properties": {
"composedBy": {
"type": "array",
"items": {
"type": "string"
}
},
"changedTime": {
"$ref": "#/definitions/long"
},
"name": {
"type": "string"
},
"title": {
"type": "string"
},
"description": {
"type": "string"
},
"bindEvents": {
"type": "array",
"items": {
"$ref": "#/definitions/BindEvent"
}
},
"params": {
"type": "array",
"items": {
"$ref": "#/definitions/Param"
}
},
"returns": {
"type": "array",
"items": {
"$ref": "#/definitions/Return"
}
},
"constants": {
"type": "array",
"items": {
"$ref": "#/definitions/Constant"
}
},
"elements": {
"type": "array",
"items": {
"$ref": "#/definitions/ProcessElement"
}
}
},
"required": [
"name",
"title",
"bindEvents",
"params",
"returns",
"constants",
"elements"
],
"additionalProperties": false
}