fix(core): Add missing null value possibility to Resource and Reference richObject

Signed-off-by: provokateurin <kate@provokateurin.de>
This commit is contained in:
provokateurin 2024-06-02 23:41:06 +02:00 committed by Kate
parent 5ebd5626c5
commit 4b4572acd9
2 changed files with 6 additions and 4 deletions

View file

@ -70,7 +70,7 @@ namespace OCA\Core;
*
* @psalm-type CoreResource = array{
* richObjectType: string,
* richObject: array<string, mixed>,
* richObject: array<string, ?mixed>,
* openGraphObject: CoreOpenGraphObject,
* accessible: bool,
* }
@ -83,7 +83,7 @@ namespace OCA\Core;
*
* @psalm-type CoreReference = array{
* richObjectType: string,
* richObject: array<string, mixed>,
* richObject: array<string, ?mixed>,
* openGraphObject: CoreOpenGraphObject,
* accessible: bool,
* }

View file

@ -298,7 +298,8 @@
"richObject": {
"type": "object",
"additionalProperties": {
"type": "object"
"type": "object",
"nullable": true
}
},
"openGraphObject": {
@ -356,7 +357,8 @@
"richObject": {
"type": "object",
"additionalProperties": {
"type": "object"
"type": "object",
"nullable": true
}
},
"openGraphObject": {