Skip to content

Commit

Permalink
fix(core): Fix NavigationEntry typing
Browse files Browse the repository at this point in the history
Signed-off-by: provokateurin <kate@provokateurin.de>
  • Loading branch information
provokateurin committed May 30, 2024
1 parent 0a7fcde commit 0d202e2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 3 additions & 1 deletion core/ResponseDefinitions.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,13 @@
*
* @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,
Expand Down
7 changes: 6 additions & 1 deletion core/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,6 @@
"type": "object",
"required": [
"id",
"order",
"href",
"icon",
"type",
Expand Down Expand Up @@ -247,6 +246,12 @@
"name": {
"type": "string"
},
"app": {
"type": "string"
},
"default": {
"type": "boolean"
},
"active": {
"type": "boolean"
},
Expand Down

0 comments on commit 0d202e2

Please sign in to comment.