fix(core): Fix NavigationEntry typing

Signed-off-by: provokateurin <kate@provokateurin.de>
pull/45455/head
provokateurin 2 years ago
parent 0a7fcde906
commit 0d202e201b
No known key found for this signature in database
  1. 4
      core/ResponseDefinitions.php
  2. 7
      core/openapi.json

@ -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,

@ -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"
},

Loading…
Cancel
Save