ProcessV2 流程
1. 结构声明
- TS Declaration
- JSON Schema
class ProcessV2 extends BaseNode {
uniqueKey: uniqueKey = createUniqueKey();
name: string = '';
title: string;
description: string;
bind: ProcessBindV2;
processDefinitions: Array<ProcessDefinitionV2>;
nextVersion: number;
previewedVersion: number;
}
{
"type": "object",
"properties": {
"composedBy": {
"type": "array",
"items": {
"type": "string"
}
},
"changedTime": {
"$ref": "#/definitions/long"
},
"uniqueKey": {
"$ref": "#/definitions/uniqueKey"
},
"name": {
"type": "string"
},
"title": {
"type": "string"
},
"description": {
"type": "string"
},
"bind": {
"$ref": "#/definitions/ProcessBindV2"
},
"processDefinitions": {
"type": "array",
"items": {
"$ref": "#/definitions/ProcessDefinitionV2"
}
},
"nextVersion": {
"type": "number"
},
"previewedVersion": {
"type": "number"
}
},
"required": [
"uniqueKey",
"name",
"title",
"description",
"bind",
"processDefinitions",
"nextVersion",
"previewedVersion"
],
"additionalProperties": false
}