meta with include tag
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Sebastian Frank 2022-11-02 11:10:29 +00:00
parent 30e7eb2db8
commit 61b7976274
Signed by: apairon
GPG Key ID: 9A9F8F10A937E426
2 changed files with 39 additions and 29 deletions

View File

@ -5,5 +5,7 @@
"schemas/api-config/collection.json": "demo-api/collections/*.y*ml",
"schemas/api-config/field.json": "demo-api/collections/fields/*.y*ml"
},
"editor.formatOnSave": true
}
"editor.formatOnSave": true,
"editor.tabCompletion": "on",
"diffEditor.codeLens": true
}

View File

@ -23,36 +23,44 @@
"description": "relative to config.yml, path for file uploads"
},
"meta": {
"type": "object",
"description": "meta object used for admin ui configuration",
"additionalProperties": true,
"allOf": [{ "$ref": "collectionNavigation.json" }],
"properties": {
"rowIdentTpl": {
"description": "template which evaluates to short string to identify entry in pe. select boxes",
"$ref": "field.json#/definitions/evalExpressions"
},
"subNavigation": {
"oneOf": [
{ "$comment": "for include tag", "type": "string" },
{
"type": "array",
"description": "sub navigation of collection",
"items": {
"oneOf": [
{
"$comment": "for include tag",
"type": "string"
},
{
"$ref": "collectionNavigation.json"
"oneOf": [
{ "$comment": "for include tag", "type": "string" },
{
"type": "object",
"description": "meta object used for admin ui configuration",
"additionalProperties": true,
"allOf": [{ "$ref": "collectionNavigation.json" }],
"properties": {
"rowIdentTpl": {
"description": "template which evaluates to short string to identify entry in pe. select boxes",
"$ref": "field.json#/definitions/evalExpressions"
},
"subNavigation": {
"oneOf": [
{
"$comment": "for include tag",
"type": "string"
},
{
"type": "array",
"description": "sub navigation of collection",
"items": {
"oneOf": [
{
"$comment": "for include tag",
"type": "string"
},
{
"$ref": "collectionNavigation.json"
}
]
}
]
}
}
]
}
]
}
}
}
]
},
"projections": {
"oneOf": [