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