[[LogicItem]] 逻辑项
1. 结构声明
- TS Declaration
- JSON Schema
abstract class LogicItem extends BaseNode {
label?: string;
description?: string;
folded?: boolean = false;
offsetX?: number;
offsetY?: number;
typeAnnotation?: TypeAnnotation;
breakpoint?: 'ENABLED' | 'DISABLED';
}
{
"type": "object",
"properties": {
"composedBy": {
"type": "array",
"items": {
"type": "string"
}
},
"changedTime": {
"$ref": "#/definitions/long"
},
"label": {
"type": "string"
},
"description": {
"type": "string"
},
"folded": {
"type": "boolean"
},
"offsetX": {
"type": "number"
},
"offsetY": {
"type": "number"
},
"typeAnnotation": {
"$ref": "#/definitions/TypeAnnotation"
},
"breakpoint": {
"type": "string",
"enum": [
"ENABLED",
"DISABLED"
]
}
},
"additionalProperties": false
}