Theme 主题
1. 结构声明
- TS Declaration
- JSON Schema
class Theme extends BaseNode {
title: string = '默认主题样式';
variableMap: Map<string, string> = new Map();
}
{
"type": "object",
"properties": {
"composedBy": {
"type": "array",
"items": {
"type": "string"
}
},
"title": {
"type": "string"
},
"variableMap": {
"type": "object",
"properties": {
"size": {
"type": "number"
}
},
"required": [
"size"
],
"additionalProperties": false
}
},
"required": [
"title",
"variableMap"
],
"additionalProperties": false
}