schemas/dashboard.json in losant_rest-1.17.4 vs schemas/dashboard.json in losant_rest-1.17.5
- old
+ new
@@ -995,10 +995,26 @@
"enum": [
"$or",
"$and",
"advanced"
]
+ },
+ "sortColumn": {
+ "type": "string",
+ "maxLength": 255
+ },
+ "sortDirection": {
+ "type": "string",
+ "maxLength": 255
+ },
+ "limit": {
+ "type": "string",
+ "maxLength": 255
+ },
+ "offset": {
+ "type": "string",
+ "maxLength": 255
}
},
"additionalProperties": false
},
{
@@ -1188,17 +1204,35 @@
"defaultSortColumn": {
"type": "string",
"maxLength": 255
},
"defaultSortDirection": {
- "type": "string",
- "enum": [
- "asc",
- "desc",
- "ASC",
- "DESC",
- ""
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "asc",
+ "desc",
+ "ASC",
+ "DESC",
+ ""
+ ]
+ },
+ {
+ "type": "string",
+ "minLength": 4,
+ "maxLength": 255,
+ "pattern": ".*{{.+}}.*"
+ }
]
+ },
+ "defaultLimit": {
+ "type": "string",
+ "maxLength": 255
+ },
+ "defaultOffset": {
+ "type": "string",
+ "maxLength": 255
},
"query": {
"type": "string",
"maxLength": 32767
},
\ No newline at end of file