FrontendVariable 前端全局变量
结构声明
- TS Declaration
- Java Class
- JSON Schema
interface FrontendVariable {
"localCache": boolean, // 是否开启本地缓存
}
class FrontendVariableTreeNode {
boolean localCache; // 是否开启本地缓存
}
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$ref": "#/definitions/FrontendVariable",
"definitions": {
"FrontendVariable": {
"type": "object",
"properties": {
"localCache": {
"type": "boolean"
}
},
"required": [
"localCache"
],
"additionalProperties": false
}
}
}
示例
简单示例
- JSON
- YAML
{
"localCache": false
}
localCache: false