mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 08:44:07 -04:00
fix(core): Fix NavigationEntry typing
Signed-off-by: provokateurin <kate@provokateurin.de>
This commit is contained in:
parent
0a7fcde906
commit
0d202e201b
2 changed files with 9 additions and 2 deletions
|
|
@ -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…
Reference in a new issue