diff options
author | provokateurin <kate@provokateurin.de> | 2024-05-22 16:21:12 +0200 |
---|---|---|
committer | provokateurin <kate@provokateurin.de> | 2024-05-30 17:01:09 +0200 |
commit | 0d202e201b3c63376cab7980ae476e25c1003c28 (patch) | |
tree | 3e5e83cedd05a99ed5aeda960456584baa47c886 | |
parent | 0a7fcde9069ff05cffe22e2ad6831d866103d12c (diff) | |
download | nextcloud-server-0d202e201b3c63376cab7980ae476e25c1003c28.tar.gz nextcloud-server-0d202e201b3c63376cab7980ae476e25c1003c28.zip |
fix(core): Fix NavigationEntry typing
Signed-off-by: provokateurin <kate@provokateurin.de>
-rw-r--r-- | core/ResponseDefinitions.php | 4 | ||||
-rw-r--r-- | core/openapi.json | 7 |
2 files changed, 9 insertions, 2 deletions
diff --git a/core/ResponseDefinitions.php b/core/ResponseDefinitions.php index af16545c267..f7e046003a0 100644 --- a/core/ResponseDefinitions.php +++ b/core/ResponseDefinitions.php @@ -26,11 +26,13 @@ namespace OCA\Core; * * @psalm-type CoreNavigationEntry = array{ * id: string, - * order: int, + * order?: int, * href: string, * icon: string, * type: string, * name: string, + * app?: string, + * default?: bool, * active: bool, * classes: string, * unread: int, diff --git a/core/openapi.json b/core/openapi.json index 0cfb9cb5a46..68901630d19 100644 --- a/core/openapi.json +++ b/core/openapi.json @@ -218,7 +218,6 @@ "type": "object", "required": [ "id", - "order", "href", "icon", "type", @@ -247,6 +246,12 @@ "name": { "type": "string" }, + "app": { + "type": "string" + }, + "default": { + "type": "boolean" + }, "active": { "type": "boolean" }, |