diff options
author | provokateurin <kate@provokateurin.de> | 2024-05-22 16:21:12 +0200 |
---|---|---|
committer | Kate <26026535+provokateurin@users.noreply.github.com> | 2024-06-04 09:31:04 +0200 |
commit | bba54b55564dbf36c6602d6ebb4a7fe186f376c4 (patch) | |
tree | d18c36e60155b6e05505250460ba3f62f83b55f4 /core | |
parent | d96f8e0ab2b4b5bbb4e1951922a9e19e6f380684 (diff) | |
download | nextcloud-server-bba54b55564dbf36c6602d6ebb4a7fe186f376c4.tar.gz nextcloud-server-bba54b55564dbf36c6602d6ebb4a7fe186f376c4.zip |
fix(core): Fix NavigationEntry typing
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'core')
-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 eba1ca0fcd7..3a84ed60a4b 100644 --- a/core/ResponseDefinitions.php +++ b/core/ResponseDefinitions.php @@ -43,11 +43,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 fbdc7092462..eac918e4db9 100644 --- a/core/openapi.json +++ b/core/openapi.json @@ -182,7 +182,6 @@ "type": "object", "required": [ "id", - "order", "href", "icon", "type", @@ -211,6 +210,12 @@ "name": { "type": "string" }, + "app": { + "type": "string" + }, + "default": { + "type": "boolean" + }, "active": { "type": "boolean" }, |