schemas updated
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-07-23 20:32:50 +00:00
parent c0c3b2b593
commit 5d6fc43f44
3 changed files with 533 additions and 0 deletions

View File

@@ -26,6 +26,54 @@
"type": "string",
"description": "material ui icon name"
},
"multiupload": {
"type": "object",
"description": "Configuration for multi-upload behavior.",
"properties": {
"fields": {
"type": "array",
"description": "Fields editable in the modal. If not set, all fields will be selected automatically.",
"items": {
"type": "object",
"properties": {
"source": {
"type": "string",
"description": "Name of the field."
}
},
"required": ["source"]
}
},
"prefilledFields": {
"type": "array",
"description": "Fields that should have default values. They won't be visible to the user but just an informational text for which fields will receive a default value.",
"items": {
"type": "object",
"properties": {
"source": {
"type": "string",
"description": "Name of the field."
},
"defaultValue": {
"type": "object",
"properties": {
"eval": {
"type": "string",
"description": "JavaScript evaluation string to determine the default value."
}
},
"required": ["eval"]
}
},
"required": ["source", "defaultValue"]
}
}
},
"required": ["fields"]
},
"dashboard": {
"$ref": "dashboard.json#/properties/dashboard"
},
"defaultSort": {
"type": "object",
"description": "default sort in admin ui lists",
@@ -72,6 +120,28 @@
"mediaQuery": {
"type": "string",
"description": "css media query to select this view in ui"
},
"selectionPriority": {
"type": "number",
"description": "priority for selection based on media query"
},
"fileDropArea": {
"type": "object",
"properties": {
"label": {
"$ref": "definitions.json#/definitions/i18nString"
},
"helperText": {
"$ref": "definitions.json#/definitions/i18nString"
},
"targetField": {
"type": "string"
},
"pageAsDropArea": {
"type": "boolean"
}
}
}
},
"oneOf": [
@@ -161,6 +231,35 @@
}
},
"required": ["type", "columns"]
},
{
"properties": {
"type": {
"const": "cardList"
},
"fields": {
"type": "array",
"items": {
"type": "object",
"properties": {
"source": {
"type": "string"
},
"type": {
"type": "string"
},
"label": {
"type": "string"
},
"filter": {
"type": "boolean"
}
},
"required": ["source"]
}
}
},
"required": ["type", "fields"]
}
],
"required": ["type"]