Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix(core): Fix NavigationEntry typing
Signed-off-by: provokateurin <kate@provokateurin.de>
  • Loading branch information
provokateurin committed Jun 4, 2024
commit bba54b55564dbf36c6602d6ebb4a7fe186f376c4
4 changes: 3 additions & 1 deletion core/ResponseDefinitions.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,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 @@ -182,7 +182,6 @@
"type": "object",
"required": [
"id",
"order",
"href",
"icon",
"type",
Expand Down Expand Up @@ -211,6 +210,12 @@
"name": {
"type": "string"
},
"app": {
"type": "string"
},
"default": {
"type": "boolean"
},
"active": {
"type": "boolean"
},
Expand Down