EventDeclaration 组件事件
1. 结构声明
- TS Declaration
- JSON Schema
class EventDeclaration extends BaseNode {
name: string = '';
title: string;
description?: string;
tsType: TSExpression;
}
{
"type": "object",
"properties": {
"composedBy": {
"type": "array",
"items": {
"type": "string"
}
},
"changedTime": {
"$ref": "#/definitions/long"
},
"name": {
"type": "string"
},
"title": {
"type": "string"
},
"description": {
"type": "string"
},
"tsType": {
"$ref": "#/definitions/TSExpression"
}
},
"required": [
"name",
"title",
"tsType"
],
"additionalProperties": false
}