@cloudcare/guance-front-tools 1.0.18 → 1.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +32 -23
- package/lib/cjs/package.json +3 -0
- package/lib/cjs/scripts/convert-grafana-dashboard.js +6 -12
- package/lib/esm/package.json +3 -0
- package/lib/esm/scripts/convert-grafana-dashboard.js +0 -9
- package/lib/scripts/convert-grafana-dashboard.js +0 -10
- package/package.json +5 -3
- package/scripts/write-module-package-json.mjs +24 -0
- package/skills/grafana-to-guance-dashboard/SKILL.md +390 -33
- package/skills/grafana-to-guance-dashboard/agents/openai.yaml +2 -2
- package/skills/grafana-to-guance-dashboard/fixtures/grafana-dashboard.guance.json +1029 -0
- package/skills/grafana-to-guance-dashboard/fixtures/grafana-dashboard.json +878 -0
- package/skills/grafana-to-guance-dashboard/package.json +16 -0
- package/skills/grafana-to-guance-dashboard/references/conversion-audit-checklist.md +183 -0
- package/skills/grafana-to-guance-dashboard/references/converter-notes.md +114 -4
- package/skills/grafana-to-guance-dashboard/references/promql-compatibility-cheatsheet.md +172 -0
- package/skills/grafana-to-guance-dashboard/references/unit-inference-cheatsheet.md +174 -0
- package/skills/grafana-to-guance-dashboard/schemas/charts/chart-schema.json +84 -0
- package/skills/grafana-to-guance-dashboard/schemas/charts/common/chart-link-item-schema.json +48 -0
- package/skills/grafana-to-guance-dashboard/schemas/charts/common/chart-links-schema.json +9 -0
- package/skills/grafana-to-guance-dashboard/schemas/charts/common/common-chart-types-schema.json +39 -0
- package/skills/grafana-to-guance-dashboard/schemas/charts/common/common-vars-item-schema.json +117 -0
- package/skills/grafana-to-guance-dashboard/schemas/charts/common/common-vars-schema.json +10 -0
- package/skills/grafana-to-guance-dashboard/schemas/charts/dashboard-schema.json +80 -0
- package/skills/grafana-to-guance-dashboard/schemas/charts/query/queries-schema.json +10 -0
- package/skills/grafana-to-guance-dashboard/schemas/charts/query/query-item-schema.json +60 -0
- package/skills/grafana-to-guance-dashboard/schemas/charts/settings/_common-settings-connect-null-schema.json +7 -0
- package/skills/grafana-to-guance-dashboard/schemas/charts/settings/_common-settings-gradual-color-schema.json +72 -0
- package/skills/grafana-to-guance-dashboard/schemas/charts/settings/_common-settings-groupby-schema.json +22 -0
- package/skills/grafana-to-guance-dashboard/schemas/charts/settings/_common-settings-legend-position-schema.json +14 -0
- package/skills/grafana-to-guance-dashboard/schemas/charts/settings/_common-settings-legend-values-schema.json +19 -0
- package/skills/grafana-to-guance-dashboard/schemas/charts/settings/_common-settings-open-stack-schema.json +8 -0
- package/skills/grafana-to-guance-dashboard/schemas/charts/settings/_common-settings-show-label-schema.json +8 -0
- package/skills/grafana-to-guance-dashboard/schemas/charts/settings/_common-settings-show-line-schema.json +8 -0
- package/skills/grafana-to-guance-dashboard/schemas/charts/settings/_common-settings-stack-content-schema.json +12 -0
- package/skills/grafana-to-guance-dashboard/schemas/charts/settings/_common-settings-stack-type-schema.json +11 -0
- package/skills/grafana-to-guance-dashboard/schemas/charts/settings/chart-alarm-settings-schema.json +48 -0
- package/skills/grafana-to-guance-dashboard/schemas/charts/settings/chart-bar-settings-schema.json +69 -0
- package/skills/grafana-to-guance-dashboard/schemas/charts/settings/chart-chinamap-settings-schema.json +102 -0
- package/skills/grafana-to-guance-dashboard/schemas/charts/settings/chart-funnel-settings-schema.json +34 -0
- package/skills/grafana-to-guance-dashboard/schemas/charts/settings/chart-gauge-settings-schema.json +65 -0
- package/skills/grafana-to-guance-dashboard/schemas/charts/settings/chart-heatmap-settings-schema.json +50 -0
- package/skills/grafana-to-guance-dashboard/schemas/charts/settings/chart-hexgon-settings-schema.json +90 -0
- package/skills/grafana-to-guance-dashboard/schemas/charts/settings/chart-histogram-settings-schema.json +47 -0
- package/skills/grafana-to-guance-dashboard/schemas/charts/settings/chart-iframe-settings-schema.json +24 -0
- package/skills/grafana-to-guance-dashboard/schemas/charts/settings/chart-log-settings-schema.json +84 -0
- package/skills/grafana-to-guance-dashboard/schemas/charts/settings/chart-object-settings-schema.json +52 -0
- package/skills/grafana-to-guance-dashboard/schemas/charts/settings/chart-picture-settings-schema.json +46 -0
- package/skills/grafana-to-guance-dashboard/schemas/charts/settings/chart-pie-settings-schema.json +90 -0
- package/skills/grafana-to-guance-dashboard/schemas/charts/settings/chart-sankey-settings-schema.json +34 -0
- package/skills/grafana-to-guance-dashboard/schemas/charts/settings/chart-scatter-bubble-settings-schema.json +31 -0
- package/skills/grafana-to-guance-dashboard/schemas/charts/settings/chart-sequence-settings-schema.json +76 -0
- package/skills/grafana-to-guance-dashboard/schemas/charts/settings/chart-singlestat-settings-schema.json +163 -0
- package/skills/grafana-to-guance-dashboard/schemas/charts/settings/chart-table-settings-schema.json +184 -0
- package/skills/grafana-to-guance-dashboard/schemas/charts/settings/chart-text-settings-schema.json +20 -0
- package/skills/grafana-to-guance-dashboard/schemas/charts/settings/chart-toplist-settings-schema.json +117 -0
- package/skills/grafana-to-guance-dashboard/schemas/charts/settings/chart-topology-settings-schema.json +71 -0
- package/skills/grafana-to-guance-dashboard/schemas/charts/settings/chart-treemap-settings-schema.json +66 -0
- package/skills/grafana-to-guance-dashboard/schemas/charts/settings/chart-worldmap-settings-schema.json +102 -0
- package/skills/grafana-to-guance-dashboard/schemas/charts/settings/common-settings-schema.json +82 -0
- package/skills/grafana-to-guance-dashboard/schemas/charts/settings/settings-alias-schema.json +47 -0
- package/skills/grafana-to-guance-dashboard/schemas/charts/settings/settings-chart-type-schema.json +27 -0
- package/skills/grafana-to-guance-dashboard/schemas/charts/settings/settings-colors-schema.json +46 -0
- package/skills/grafana-to-guance-dashboard/schemas/charts/settings/settings-compare-schema.json +58 -0
- package/skills/grafana-to-guance-dashboard/schemas/charts/settings/settings-fixed-time-schema.json +49 -0
- package/skills/grafana-to-guance-dashboard/schemas/charts/settings/settings-levels-schema.json +33 -0
- package/skills/grafana-to-guance-dashboard/schemas/charts/settings/settings-schema.json +79 -0
- package/skills/grafana-to-guance-dashboard/schemas/charts/settings/settings-time-schema.json +43 -0
- package/skills/grafana-to-guance-dashboard/schemas/charts/settings/settings-unit-items-schema.json +228 -0
- package/skills/grafana-to-guance-dashboard/schemas/charts/settings/settings-units-schema.json +59 -0
- package/skills/grafana-to-guance-dashboard/schemas/dashboard-schema.json +5 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/browser/attribute-mutation-schema.json +21 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/browser/attributes-schema.json +10 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/browser/cdata-node-schema.json +19 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/browser/creation-reason-schema.json +17 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/browser/document-fragment-node-schema.json +35 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/browser/document-node-schema.json +30 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/browser/document-type-node-schema.json +28 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/browser/element-node-schema.json +33 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/browser/frustration-record-schema.json +49 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/browser/full-snapshot-record-schema.json +26 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/browser/incremental-data-schema.json +36 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/browser/incremental-snapshot-record-schema.json +29 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/browser/input-data-schema.json +27 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/browser/input-state-schema.json +27 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/browser/media-interaction-data-schema.json +23 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/browser/media-interaction-schema.json +20 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/browser/mouse-interaction-data-schema.json +23 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/browser/mouse-interaction-schema.json +47 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/browser/mouse-move-data-schema.json +23 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/browser/mouse-position-schema.json +26 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/browser/mutation-data-schema.json +23 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/browser/mutation-payload-schema.json +42 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/browser/node-added-mutation-schema.json +41 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/browser/node-removed-mutation-schema.json +18 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/browser/node-schema.json +28 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/browser/record-schema.json +30 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/browser/scroll-data-schema.json +23 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/browser/scroll-position-schema.json +22 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/browser/segment-metadata-schema.json +28 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/browser/segment-schema.json +25 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/browser/serialized-node-schema.json +15 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/browser/serialized-node-with-id-schema.json +21 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/browser/stylesheet-rule-add-schema.json +28 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/browser/stylesheet-rule-data-schema.json +23 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/browser/stylesheet-rule-delete-schema.json +24 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/browser/stylesheet-rule-schema.json +29 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/browser/stylesheet-schema.json +30 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/browser/text-mutation-schema.json +27 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/browser/text-node-schema.json +23 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/common/_common-record-schema.json +14 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/common/_common-segment-metadata-schema.json +30 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/common/_slot-supported-common-record-schema.json +21 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/common/focus-record-schema.json +34 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/common/meta-record-schema.json +42 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/common/pointer-interaction-data-schema.json +23 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/common/pointer-interaction-schema.json +34 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/common/segment-context-schema.json +46 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/common/view-end-record-schema.json +23 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/common/viewport-resize-data-schema.json +23 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/common/viewport-resize-dimension-schema.json +18 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/common/visual-viewport-record-schema.json +50 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/full-snapshot-record-schema.json +14 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/incremental-data-schema.json +14 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/incremental-snapshot-record-schema.json +14 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/mobile/_common-shape-wireframe-schema.json +22 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/mobile/_common-shape-wireframe-update-schema.json +22 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/mobile/_common-wireframe-schema.json +38 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/mobile/_common-wireframe-update-schema.json +38 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/mobile/full-snapshot-record-schema.json +38 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/mobile/image-wireframe-schema.json +43 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/mobile/image-wireframe-update-schema.json +43 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/mobile/incremental-data-schema.json +21 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/mobile/incremental-snapshot-record-schema.json +26 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/mobile/mutation-data-schema.json +23 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/mobile/mutation-payload-schema.json +55 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/mobile/placeholder-wireframe-schema.json +28 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/mobile/placeholder-wireframe-update-schema.json +28 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/mobile/record-schema.json +27 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/mobile/segment-metadata-schema.json +25 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/mobile/segment-schema.json +25 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/mobile/shape-border-schema.json +25 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/mobile/shape-style-schema.json +29 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/mobile/shape-wireframe-schema.json +23 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/mobile/shape-wireframe-update-schema.json +23 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/mobile/text-position-schema.json +57 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/mobile/text-style-schema.json +31 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/mobile/text-wireframe-schema.json +34 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/mobile/text-wireframe-update-schema.json +34 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/mobile/touch-data-schema.json +51 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/mobile/webview-wireframe-schema.json +33 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/mobile/webview-wireframe-update-schema.json +33 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/mobile/wireframe-clip-schema.json +29 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/mobile/wireframe-schema.json +24 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/mobile/wireframe-update-mutation-schema.json +24 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/mutation-data-schema.json +14 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/mutation-payload-schema.json +14 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/record-schema.json +14 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/segment-metadata-schema.json +14 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay/segment-schema.json +15 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay-browser-schema.json +5 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay-mobile-schema.json +5 -0
- package/skills/grafana-to-guance-dashboard/schemas/session-replay-schema.json +33 -0
- package/skills/grafana-to-guance-dashboard/scripts/convert-grafana-dashboard.mjs +8 -13
- package/skills/grafana-to-guance-dashboard/scripts/validate-file.mjs +62 -0
- package/skills/grafana-to-guance-dashboard/test/convert.test.mjs +54 -0
- package/test/cli.test.mjs +27 -1
- package/tsconfig.cjs.scripts.json +19 -0
- package/tsconfig.esm.scripts.json +19 -0
- package/scripts/sync-converter.mjs +0 -57
package/skills/grafana-to-guance-dashboard/schemas/charts/settings/chart-alarm-settings-schema.json
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "charts/settings/chart-alarm-settings-schema.json",
|
|
4
|
+
"title": "ChartAlarmSettings",
|
|
5
|
+
"description": "告警统计图配置信息",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"additionalProperties": true,
|
|
8
|
+
"allOf": [
|
|
9
|
+
{
|
|
10
|
+
"$ref": "common-settings-schema.json"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"properties": {
|
|
14
|
+
"isTimeInterval": {
|
|
15
|
+
"type": "boolean",
|
|
16
|
+
"description": "是否开启时间分片",
|
|
17
|
+
"default": false
|
|
18
|
+
},
|
|
19
|
+
"currentChartType": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"const": "alarm",
|
|
22
|
+
"readOnly": true,
|
|
23
|
+
"description": "冗余字段,在对象列表图中,固定为 alarm"
|
|
24
|
+
},
|
|
25
|
+
"showPart": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"description": "告警统计图显示模式,可选配置分别为全部、仅统计图、仅告警列表",
|
|
28
|
+
"enum": [
|
|
29
|
+
"all",
|
|
30
|
+
"statistic",
|
|
31
|
+
"list"
|
|
32
|
+
]
|
|
33
|
+
},
|
|
34
|
+
"pageSize": {
|
|
35
|
+
"description": "列表每页显示的最大日志数量",
|
|
36
|
+
"type": "integer",
|
|
37
|
+
"default": 50,
|
|
38
|
+
"enum": [
|
|
39
|
+
10,
|
|
40
|
+
20,
|
|
41
|
+
50,
|
|
42
|
+
100
|
|
43
|
+
]
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
]
|
|
48
|
+
}
|
package/skills/grafana-to-guance-dashboard/schemas/charts/settings/chart-bar-settings-schema.json
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "charts/settings/chart-bar-settings-schema.json",
|
|
4
|
+
"title": "ChartBarSettings",
|
|
5
|
+
"description": "柱状图配置信息",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"additionalProperties": true,
|
|
8
|
+
"allOf": [
|
|
9
|
+
{
|
|
10
|
+
"$ref": "common-settings-schema.json"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"properties": {
|
|
14
|
+
"direction": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"default": "vertical",
|
|
17
|
+
"description": "柱状图显示类型,横向显示还是纵向显示",
|
|
18
|
+
"enum": [
|
|
19
|
+
"vertical",
|
|
20
|
+
"horizontal"
|
|
21
|
+
]
|
|
22
|
+
},
|
|
23
|
+
"alias": {
|
|
24
|
+
"$ref": "settings-alias-schema.json"
|
|
25
|
+
},
|
|
26
|
+
"colors": {
|
|
27
|
+
"$ref": "settings-colors-schema.json"
|
|
28
|
+
},
|
|
29
|
+
"levels": {
|
|
30
|
+
"$ref": "settings-levels-schema.json"
|
|
31
|
+
},
|
|
32
|
+
"stackType": {
|
|
33
|
+
"$ref": "_common-settings-stack-type-schema.json"
|
|
34
|
+
},
|
|
35
|
+
"stackContent": {
|
|
36
|
+
"$ref": "_common-settings-stack-content-schema.json"
|
|
37
|
+
},
|
|
38
|
+
"openStack": {
|
|
39
|
+
"type": "boolean",
|
|
40
|
+
"description": "是否开启堆叠模式",
|
|
41
|
+
"default": false
|
|
42
|
+
},
|
|
43
|
+
"showTopSize": {
|
|
44
|
+
"type": "boolean",
|
|
45
|
+
"const": false,
|
|
46
|
+
"description": "是否是排行榜类型图表,柱状图固定为 false"
|
|
47
|
+
},
|
|
48
|
+
"aliasVersion": {
|
|
49
|
+
"type": "integer",
|
|
50
|
+
"description": "区分别名版本,固定为 2",
|
|
51
|
+
"const": 2
|
|
52
|
+
},
|
|
53
|
+
"isTimeInterval": {
|
|
54
|
+
"type": "boolean",
|
|
55
|
+
"description": "是否开启时间分片,时序图固定开启",
|
|
56
|
+
"default": false
|
|
57
|
+
},
|
|
58
|
+
"xAxisShowType": {
|
|
59
|
+
"type": "string",
|
|
60
|
+
"description": " 横坐标显示类型,柱状图固定显示分组",
|
|
61
|
+
"const": "groupBy"
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"$ref": "settings-units-schema.json"
|
|
67
|
+
}
|
|
68
|
+
]
|
|
69
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "charts/settings/chart-chinamap-settings-schema.json",
|
|
4
|
+
"title": "ChartChinaMapSettings",
|
|
5
|
+
"description": "中国地图配置信息",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"additionalProperties": true,
|
|
8
|
+
"allOf": [
|
|
9
|
+
{
|
|
10
|
+
"$ref": "common-settings-schema.json"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"properties": {
|
|
14
|
+
"alias": {
|
|
15
|
+
"$ref": "settings-alias-schema.json"
|
|
16
|
+
},
|
|
17
|
+
"colors": {
|
|
18
|
+
"$ref": "settings-colors-schema.json"
|
|
19
|
+
},
|
|
20
|
+
"levels": {
|
|
21
|
+
"$ref": "settings-levels-schema.json"
|
|
22
|
+
},
|
|
23
|
+
"isTimeInterval": {
|
|
24
|
+
"type": "boolean",
|
|
25
|
+
"description": "是否开启时间分片",
|
|
26
|
+
"default": false
|
|
27
|
+
},
|
|
28
|
+
"rangeColorKey": {
|
|
29
|
+
"type": "string",
|
|
30
|
+
"description": "区间颜色选择色系的唯一对应健",
|
|
31
|
+
"enum": [
|
|
32
|
+
"light-blue",
|
|
33
|
+
"light-red",
|
|
34
|
+
"dark-red",
|
|
35
|
+
"dark-yellow",
|
|
36
|
+
"dark-green",
|
|
37
|
+
"dark-blue",
|
|
38
|
+
"dark-purple",
|
|
39
|
+
"light-yellow",
|
|
40
|
+
"light-purple",
|
|
41
|
+
"light-green"
|
|
42
|
+
]
|
|
43
|
+
},
|
|
44
|
+
"levelArr": {
|
|
45
|
+
"type": "array",
|
|
46
|
+
"description": "区间颜色配置",
|
|
47
|
+
"items": {
|
|
48
|
+
"type": "object",
|
|
49
|
+
"required": [
|
|
50
|
+
"min",
|
|
51
|
+
"max",
|
|
52
|
+
"color"
|
|
53
|
+
],
|
|
54
|
+
"properties": {
|
|
55
|
+
"min": {
|
|
56
|
+
"type": "integer",
|
|
57
|
+
"description": "区间左范围值"
|
|
58
|
+
},
|
|
59
|
+
"max": {
|
|
60
|
+
"type": "integer",
|
|
61
|
+
"description": "区间右范围值"
|
|
62
|
+
},
|
|
63
|
+
"color": {
|
|
64
|
+
"type": "string",
|
|
65
|
+
"description": "区间范围内显示色值"
|
|
66
|
+
},
|
|
67
|
+
"isAuto": {
|
|
68
|
+
"type": "boolean",
|
|
69
|
+
"description": "是否是自动生成的区间范围"
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"showLegend": {
|
|
75
|
+
"type": "string",
|
|
76
|
+
"description": "显示图例的位置信息,可以选择隐藏,以及在底部区域",
|
|
77
|
+
"enum": [
|
|
78
|
+
"none",
|
|
79
|
+
"bottom"
|
|
80
|
+
]
|
|
81
|
+
},
|
|
82
|
+
"showTopList": {
|
|
83
|
+
"type": "boolean",
|
|
84
|
+
"description": "是否显示地区排名列表",
|
|
85
|
+
"default": false
|
|
86
|
+
},
|
|
87
|
+
"mainMeasurementQueryCode": {
|
|
88
|
+
"type": "string",
|
|
89
|
+
"description": "选择指标匹配色块大小,值为对应查询语句 code 名称,根据查询语句顺序以大些字母命名",
|
|
90
|
+
"default": "A"
|
|
91
|
+
},
|
|
92
|
+
"provinceKey": {
|
|
93
|
+
"type": "string",
|
|
94
|
+
"description": "选择对应省份的指标名称"
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"$ref": "settings-units-schema.json"
|
|
100
|
+
}
|
|
101
|
+
]
|
|
102
|
+
}
|
package/skills/grafana-to-guance-dashboard/schemas/charts/settings/chart-funnel-settings-schema.json
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "charts/settings/chart-funnel-settings-schema.json",
|
|
4
|
+
"title": "ChartFunnelSettings",
|
|
5
|
+
"description": "漏斗图配置信息",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"additionalProperties": true,
|
|
8
|
+
"allOf": [
|
|
9
|
+
{
|
|
10
|
+
"$ref": "common-settings-schema.json"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"properties": {
|
|
14
|
+
"alias": {
|
|
15
|
+
"$ref": "settings-alias-schema.json"
|
|
16
|
+
},
|
|
17
|
+
"colors": {
|
|
18
|
+
"$ref": "settings-colors-schema.json"
|
|
19
|
+
},
|
|
20
|
+
"levels": {
|
|
21
|
+
"$ref": "settings-levels-schema.json"
|
|
22
|
+
},
|
|
23
|
+
"isTimeInterval": {
|
|
24
|
+
"type": "boolean",
|
|
25
|
+
"description": "是否开启时间分片",
|
|
26
|
+
"default": false
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"$ref": "settings-units-schema.json"
|
|
32
|
+
}
|
|
33
|
+
]
|
|
34
|
+
}
|
package/skills/grafana-to-guance-dashboard/schemas/charts/settings/chart-gauge-settings-schema.json
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "charts/settings/chart-gauge-settings-schema.json",
|
|
4
|
+
"title": "ChartGaugeSettings",
|
|
5
|
+
"description": "仪表盘图表配置信息",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"additionalProperties": true,
|
|
8
|
+
"allOf": [
|
|
9
|
+
{
|
|
10
|
+
"$ref": "common-settings-schema.json"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"properties": {
|
|
14
|
+
"alias": {
|
|
15
|
+
"$ref": "settings-alias-schema.json"
|
|
16
|
+
},
|
|
17
|
+
"colors": {
|
|
18
|
+
"$ref": "settings-colors-schema.json"
|
|
19
|
+
},
|
|
20
|
+
"min": {
|
|
21
|
+
"type": "integer",
|
|
22
|
+
"default": 0,
|
|
23
|
+
"description": "仪表盘分段阈值最小值"
|
|
24
|
+
},
|
|
25
|
+
"max": {
|
|
26
|
+
"type": "integer",
|
|
27
|
+
"default": 100,
|
|
28
|
+
"description": "仪表盘分段阈值最大值"
|
|
29
|
+
},
|
|
30
|
+
"levels": {
|
|
31
|
+
"type": "array",
|
|
32
|
+
"description": "仪表盘分段阈值设置",
|
|
33
|
+
"items": {
|
|
34
|
+
"type": "object",
|
|
35
|
+
"properties": {
|
|
36
|
+
"value": {
|
|
37
|
+
"type": "array",
|
|
38
|
+
"items": {
|
|
39
|
+
"type": "integer"
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"lineColor": {
|
|
43
|
+
"type": "string",
|
|
44
|
+
"description": "颜色色值"
|
|
45
|
+
},
|
|
46
|
+
"operation": {
|
|
47
|
+
"type": "string",
|
|
48
|
+
"description": "表达式操作符,仪表盘固定值 <=",
|
|
49
|
+
"const": "<="
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"isTimeInterval": {
|
|
55
|
+
"type": "boolean",
|
|
56
|
+
"description": "是否开启时间分片",
|
|
57
|
+
"default": false
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"$ref": "settings-units-schema.json"
|
|
63
|
+
}
|
|
64
|
+
]
|
|
65
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "charts/settings/chart-heatmap-settings-schema.json",
|
|
4
|
+
"title": "ChartHeatmapSettings",
|
|
5
|
+
"description": "热力图配置信息",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"additionalProperties": true,
|
|
8
|
+
"allOf": [
|
|
9
|
+
{
|
|
10
|
+
"$ref": "common-settings-schema.json"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"properties": {
|
|
14
|
+
"alias": {
|
|
15
|
+
"$ref": "settings-alias-schema.json"
|
|
16
|
+
},
|
|
17
|
+
"colors": {
|
|
18
|
+
"$ref": "settings-colors-schema.json"
|
|
19
|
+
},
|
|
20
|
+
"levels": {
|
|
21
|
+
"$ref": "settings-levels-schema.json"
|
|
22
|
+
},
|
|
23
|
+
"isTimeInterval": {
|
|
24
|
+
"type": "boolean",
|
|
25
|
+
"description": "是否开启时间分片",
|
|
26
|
+
"default": true
|
|
27
|
+
},
|
|
28
|
+
"showLegend": {
|
|
29
|
+
"type": "string",
|
|
30
|
+
"description": "显示图例的位置信息,可以选择隐藏,以及在底部区域",
|
|
31
|
+
"enum": [
|
|
32
|
+
"none",
|
|
33
|
+
"bottom"
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
"mainMeasurementQueryCode": {
|
|
37
|
+
"type": "string",
|
|
38
|
+
"description": "选择指标匹配色块大小,值为对应查询语句 code 名称,根据查询语句顺序以大些字母命名",
|
|
39
|
+
"default": "A"
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"$ref": "settings-units-schema.json"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"$ref": "_common-settings-gradual-color-schema.json"
|
|
48
|
+
}
|
|
49
|
+
]
|
|
50
|
+
}
|
package/skills/grafana-to-guance-dashboard/schemas/charts/settings/chart-hexgon-settings-schema.json
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "charts/settings/chart-hexgon-settings-schema.json",
|
|
4
|
+
"title": "ChartHexgonSettings",
|
|
5
|
+
"description": "蜂窝图配置信息",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"additionalProperties": true,
|
|
8
|
+
"allOf": [
|
|
9
|
+
{
|
|
10
|
+
"$ref": "common-settings-schema.json"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"properties": {
|
|
14
|
+
"alias": {
|
|
15
|
+
"$ref": "settings-alias-schema.json"
|
|
16
|
+
},
|
|
17
|
+
"colors": {
|
|
18
|
+
"$ref": "settings-colors-schema.json"
|
|
19
|
+
},
|
|
20
|
+
"rangeColorKey": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"description": "区间颜色选择色系的唯一对应健",
|
|
23
|
+
"enum": [
|
|
24
|
+
"light-blue",
|
|
25
|
+
"light-red",
|
|
26
|
+
"dark-red",
|
|
27
|
+
"dark-yellow",
|
|
28
|
+
"dark-green",
|
|
29
|
+
"dark-blue",
|
|
30
|
+
"dark-purple",
|
|
31
|
+
"light-yellow",
|
|
32
|
+
"light-purple",
|
|
33
|
+
"light-green"
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
"levelArr": {
|
|
37
|
+
"type": "array",
|
|
38
|
+
"description": "区间颜色配置",
|
|
39
|
+
"items": {
|
|
40
|
+
"type": "object",
|
|
41
|
+
"required": [
|
|
42
|
+
"min",
|
|
43
|
+
"max",
|
|
44
|
+
"color"
|
|
45
|
+
],
|
|
46
|
+
"properties": {
|
|
47
|
+
"min": {
|
|
48
|
+
"type": "integer",
|
|
49
|
+
"description": "区间左范围值"
|
|
50
|
+
},
|
|
51
|
+
"max": {
|
|
52
|
+
"type": "integer",
|
|
53
|
+
"description": "区间右范围值"
|
|
54
|
+
},
|
|
55
|
+
"color": {
|
|
56
|
+
"type": "string",
|
|
57
|
+
"description": "区间范围内显示色值"
|
|
58
|
+
},
|
|
59
|
+
"isAuto": {
|
|
60
|
+
"type": "boolean",
|
|
61
|
+
"description": "是否是自动生成的区间范围"
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"isTimeInterval": {
|
|
67
|
+
"type": "boolean",
|
|
68
|
+
"description": "是否开启时间分片",
|
|
69
|
+
"default": false
|
|
70
|
+
},
|
|
71
|
+
"showLegend": {
|
|
72
|
+
"type": "string",
|
|
73
|
+
"description": "显示图例的位置信息,可以选择隐藏,以及在底部区域",
|
|
74
|
+
"enum": [
|
|
75
|
+
"none",
|
|
76
|
+
"bottom"
|
|
77
|
+
]
|
|
78
|
+
},
|
|
79
|
+
"mainMeasurementQueryCode": {
|
|
80
|
+
"type": "string",
|
|
81
|
+
"description": "选择指标匹配色块大小,值为对应查询语句 code 名称,根据查询语句顺序以大些字母命名",
|
|
82
|
+
"default": "A"
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"$ref": "settings-units-schema.json"
|
|
88
|
+
}
|
|
89
|
+
]
|
|
90
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "charts/settings/chart-histogram-settings-schema.json",
|
|
4
|
+
"title": "ChartHistogramSettings",
|
|
5
|
+
"description": "直方图配置信息",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"additionalProperties": true,
|
|
8
|
+
"allOf": [
|
|
9
|
+
{
|
|
10
|
+
"$ref": "common-settings-schema.json"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"properties": {
|
|
14
|
+
"alias": {
|
|
15
|
+
"$ref": "settings-alias-schema.json"
|
|
16
|
+
},
|
|
17
|
+
"colors": {
|
|
18
|
+
"$ref": "settings-colors-schema.json"
|
|
19
|
+
},
|
|
20
|
+
"levels": {
|
|
21
|
+
"$ref": "settings-levels-schema.json"
|
|
22
|
+
},
|
|
23
|
+
"legendPostion": {
|
|
24
|
+
"$ref": "_common-settings-legend-position-schema.json"
|
|
25
|
+
},
|
|
26
|
+
"isTimeInterval": {
|
|
27
|
+
"type": "boolean",
|
|
28
|
+
"description": "是否开启时间分片",
|
|
29
|
+
"default": false
|
|
30
|
+
},
|
|
31
|
+
"chartType": {
|
|
32
|
+
"type": "string",
|
|
33
|
+
"const": "histogram",
|
|
34
|
+
"description": "冗余字段,固定为 histogram "
|
|
35
|
+
},
|
|
36
|
+
"direction": {
|
|
37
|
+
"type": "string",
|
|
38
|
+
"const": "vertical",
|
|
39
|
+
"description": "冗余字段,固定为 vertical "
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"$ref": "settings-units-schema.json"
|
|
45
|
+
}
|
|
46
|
+
]
|
|
47
|
+
}
|
package/skills/grafana-to-guance-dashboard/schemas/charts/settings/chart-iframe-settings-schema.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "charts/settings/chart-iframe-settings-schema.json",
|
|
4
|
+
"title": "ChartIframeSettings",
|
|
5
|
+
"description": "Iframe 图表配置信息",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"additionalProperties": true,
|
|
8
|
+
"properties": {
|
|
9
|
+
"showTitle": {
|
|
10
|
+
"type": "boolean",
|
|
11
|
+
"description": "是否显示图表标题",
|
|
12
|
+
"default": true
|
|
13
|
+
},
|
|
14
|
+
"titleDesc": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"description": "图表的描述信息",
|
|
17
|
+
"default": ""
|
|
18
|
+
},
|
|
19
|
+
"url": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"description": "iframe 需要填充的访问 URL"
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
package/skills/grafana-to-guance-dashboard/schemas/charts/settings/chart-log-settings-schema.json
ADDED
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "charts/settings/chart-log-settings-schema.json",
|
|
4
|
+
"title": "ChartLogSettings",
|
|
5
|
+
"description": "日志流图配置信息",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"additionalProperties": true,
|
|
8
|
+
"allOf": [
|
|
9
|
+
{
|
|
10
|
+
"$ref": "common-settings-schema.json"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"properties": {
|
|
14
|
+
"isTimeInterval": {
|
|
15
|
+
"type": "boolean",
|
|
16
|
+
"description": "是否开启时间分片",
|
|
17
|
+
"default": false
|
|
18
|
+
},
|
|
19
|
+
"currentChartType": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"const": "log",
|
|
22
|
+
"readOnly": true,
|
|
23
|
+
"description": "冗余字段,在对象列表图中,固定为 log"
|
|
24
|
+
},
|
|
25
|
+
"index": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"description": "需要查询日志索引名称的合集,多个索引名称用 “,”号分割 ",
|
|
28
|
+
"examples": [
|
|
29
|
+
"index1,index2"
|
|
30
|
+
]
|
|
31
|
+
},
|
|
32
|
+
"inColumns": {
|
|
33
|
+
"type": "array",
|
|
34
|
+
"description": "默认固定显示的列,不能删除修改,比如时间",
|
|
35
|
+
"items": {
|
|
36
|
+
"type": "object",
|
|
37
|
+
"required": [
|
|
38
|
+
"field",
|
|
39
|
+
"headerName"
|
|
40
|
+
],
|
|
41
|
+
"properties": {
|
|
42
|
+
"field": {
|
|
43
|
+
"type": "string",
|
|
44
|
+
"description": "列的字段名称"
|
|
45
|
+
},
|
|
46
|
+
"headerName": {
|
|
47
|
+
"type": "string",
|
|
48
|
+
"description": "显示表头的名称"
|
|
49
|
+
},
|
|
50
|
+
"hide": {
|
|
51
|
+
"type": "boolean",
|
|
52
|
+
"description": "是否需要隐藏列"
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"addColumns": {
|
|
58
|
+
"type": "array",
|
|
59
|
+
"description": "添加显示列",
|
|
60
|
+
"items": {
|
|
61
|
+
"type": "object",
|
|
62
|
+
"properties": {
|
|
63
|
+
"field": {
|
|
64
|
+
"type": "string",
|
|
65
|
+
"description": "需要添加列的字段名称"
|
|
66
|
+
},
|
|
67
|
+
"headerName": {
|
|
68
|
+
"type": "string",
|
|
69
|
+
"description": "显示表头的名称"
|
|
70
|
+
},
|
|
71
|
+
"hide": {
|
|
72
|
+
"type": "boolean",
|
|
73
|
+
"description": "是否需要隐藏列"
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"$ref": "settings-units-schema.json"
|
|
82
|
+
}
|
|
83
|
+
]
|
|
84
|
+
}
|
package/skills/grafana-to-guance-dashboard/schemas/charts/settings/chart-object-settings-schema.json
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "charts/settings/chart-object-settings-schema.json",
|
|
4
|
+
"title": "ChartObjectSettings",
|
|
5
|
+
"description": "对象列表图配置信息",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"additionalProperties": true,
|
|
8
|
+
"allOf": [
|
|
9
|
+
{
|
|
10
|
+
"$ref": "common-settings-schema.json"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"properties": {
|
|
14
|
+
"isTimeInterval": {
|
|
15
|
+
"type": "boolean",
|
|
16
|
+
"description": "是否开启时间分片",
|
|
17
|
+
"default": false
|
|
18
|
+
},
|
|
19
|
+
"currentChartType": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"const": "object",
|
|
22
|
+
"readOnly": true,
|
|
23
|
+
"description": "冗余字段,在对象列表图中,固定为 object"
|
|
24
|
+
},
|
|
25
|
+
"addColumns": {
|
|
26
|
+
"type": "array",
|
|
27
|
+
"description": "添加显示列",
|
|
28
|
+
"items": {
|
|
29
|
+
"type": "object",
|
|
30
|
+
"properties": {
|
|
31
|
+
"field": {
|
|
32
|
+
"type": "string",
|
|
33
|
+
"description": "需要添加列的字段名称"
|
|
34
|
+
},
|
|
35
|
+
"headerName": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"description": "显示表头的名称"
|
|
38
|
+
},
|
|
39
|
+
"hide": {
|
|
40
|
+
"type": "boolean",
|
|
41
|
+
"description": "是否需要隐藏列"
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"$ref": "settings-units-schema.json"
|
|
50
|
+
}
|
|
51
|
+
]
|
|
52
|
+
}
|