]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix(core): Fix NavigationEntry typing 45645/head
authorprovokateurin <kate@provokateurin.de>
Wed, 22 May 2024 14:21:12 +0000 (16:21 +0200)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Mon, 3 Jun 2024 15:12:32 +0000 (15:12 +0000)
Signed-off-by: provokateurin <kate@provokateurin.de>
core/ResponseDefinitions.php
core/openapi.json

index 03e62c4c23ffc99cab022754960f37b7459ddf02..0ca4c8851dfb229fdf406f291300e49c88fc7952 100644 (file)
@@ -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,
index 28a95fe4744a52c4038afd6a310013a511189ba8..68eba1fe915e4fabe07fd60a7aa4424ff5d0679b 100644 (file)
                 "type": "object",
                 "required": [
                     "id",
-                    "order",
                     "href",
                     "icon",
                     "type",
                     "name": {
                         "type": "string"
                     },
+                    "app": {
+                        "type": "string"
+                    },
+                    "default": {
+                        "type": "boolean"
+                    },
                     "active": {
                         "type": "boolean"
                     },