schema fix

This commit is contained in:
Yuri Kuznetsov
2025-09-25 15:29:27 +03:00
parent 125d84d3bf
commit 74cc701459

View File

@@ -527,34 +527,37 @@
"description": "Attributes to carry over to a related record when creating. Mapping Parent => Related."
},
"buttonList": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "A name."
},
"acl": {
"description": "An ACL action access to which is required for the action.",
"type": "string",
"enum": [
"create",
"read",
"edit",
"delete",
"stream"
]
},
"label": {
"type": "string",
"description": "A translatable label."
},
"handler": {
"type": "string",
"description": "A frontend handler. A view is passed to the constructor."
},
"actionFunction": {
"type": "string",
"description": "An action method in the handler."
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "A name."
},
"acl": {
"description": "An ACL action access to which is required for the action.",
"type": "string",
"enum": [
"create",
"read",
"edit",
"delete",
"stream"
]
},
"label": {
"type": "string",
"description": "A translatable label."
},
"handler": {
"type": "string",
"description": "A frontend handler. A view is passed to the constructor."
},
"actionFunction": {
"type": "string",
"description": "An action method in the handler."
}
}
},
"description": "Header buttons. As of v8.4."