From 74cc70145974b4f74ec92918ded18e77172ec0e7 Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Thu, 25 Sep 2025 15:29:27 +0300 Subject: [PATCH] schema fix --- schema/metadata/clientDefs.json | 59 +++++++++++++++++---------------- 1 file changed, 31 insertions(+), 28 deletions(-) diff --git a/schema/metadata/clientDefs.json b/schema/metadata/clientDefs.json index 51b01e3902..bdda50126c 100644 --- a/schema/metadata/clientDefs.json +++ b/schema/metadata/clientDefs.json @@ -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."