Skip to content

Commit

Permalink
feat: add DashboardPanel-s to dashboard (#381)
Browse files Browse the repository at this point in the history
  • Loading branch information
artemrys committed May 11, 2023
1 parent 3dbcc35 commit 882f952
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion ui/src/main/webapp/schema/schema.json
Expand Up @@ -463,7 +463,14 @@
},
"DashboardPage": {
"type": "object",
"properties": {},
"properties": {
"panels": {
"type": "array",
"items": {
"$ref": "#/definitions/DashboardPanel"
}
}
},
"additionalProperties": false
},
"DateValidator": {
Expand Down Expand Up @@ -1320,6 +1327,17 @@
},
"required": ["label"],
"additionalProperties": false
},
"DashboardPanel": {
"type": "object",
"properties": {
"name": {
"type": "string",
"maxLength": 100
}
},
"required": ["name"],
"additionalProperties": false
}
},
"type": "object",
Expand Down

0 comments on commit 882f952

Please sign in to comment.