]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix(core): Fix NavigationEntry typing 45455/head
authorprovokateurin <kate@provokateurin.de>
Wed, 22 May 2024 14:21:12 +0000 (16:21 +0200)
committerprovokateurin <kate@provokateurin.de>
Thu, 30 May 2024 15:01:09 +0000 (17:01 +0200)
Signed-off-by: provokateurin <kate@provokateurin.de>
core/ResponseDefinitions.php
core/openapi.json

index af16545c26793dc00515289be620510274cdcc64..f7e046003a07634d8f28d981239fb177c2d69d98 100644 (file)
@@ -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,
index 0cfb9cb5a4693c79790e03d631ee3d395820d92b..68901630d198aa1d9bed7975d7220f5450c8db0d 100644 (file)
                 "type": "object",
                 "required": [
                     "id",
-                    "order",
                     "href",
                     "icon",
                     "type",
                     "name": {
                         "type": "string"
                     },
+                    "app": {
+                        "type": "string"
+                    },
+                    "default": {
+                        "type": "boolean"
+                    },
                     "active": {
                         "type": "boolean"
                     },