hopefully final changes
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robin Grenzdörfer 2023-07-23 21:20:46 +00:00
parent 4b5dbec747
commit 83d346dfec

View File

@ -13,8 +13,7 @@
{ "$ref": "#/definitions/swiper" },
{ "$ref": "#/definitions/graph" },
{ "$ref": "#/definitions/table" },
{ "$ref": "#/definitions/reference" },
{ "$ref": "#/definitions/comparison" }
{ "$ref": "#/definitions/reference" }
]
}
},
@ -72,9 +71,28 @@
"graph": {
"type": "object",
"properties": {
"additionalApiParams": {
"$ref": "#/definitions/additionalApiParams"
},
"class": { "type": "string" },
"type": { "type": "string", "enum": ["graph"] },
"type": { "type": "string", "enum": ["graph", "comparison"] },
"containerProps": { "$ref": "#/definitions/containerProps" },
"css": {
"type": "object",
"properties": {
"graph": {
"type": "object",
"properties": {
"wrapper": {
"$ref": "#/definitions/cssWithEval"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"title": {
"oneOf": [
{
@ -222,19 +240,7 @@
"items": { "type": "string" }
},
"additionalApiParams": {
"type": "object",
"properties": {
"offset": { "type": "number" },
"limit": { "type": "number" },
"sort": { "type": "string" },
"filter": {
"type": "object",
"additionalProperties": true
},
"projection": { "type": "string" },
"count": { "type": "number", "enum": [1] }
},
"additionalProperties": false
"$ref": "#/definitions/additionalApiParams"
}
},
"required": ["type", "columns"],
@ -293,6 +299,19 @@
},
"additionalProperties": false
},
"additionalApiParams": {
"type": "object",
"properties": {
"offset": { "type": "number" },
"limit": { "type": "number" },
"sort": { "type": "string" },
"filter": { "type": "object", "additionalProperties": true },
"projection": { "type": "string" },
"count": { "type": "number", "enum": [1] }
},
"additionalProperties": false
},
"cssWithEval": {
"oneOf": [
{