fix(core): Fix NavigationEntry typing

Signed-off-by: provokateurin <kate@provokateurin.de>
This commit is contained in:
provokateurin 2024-05-22 16:21:12 +02:00
parent 0a7fcde906
commit 0d202e201b
No known key found for this signature in database
2 changed files with 9 additions and 2 deletions

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

View file

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