mirror of
https://github.com/samsonjs/immich.git
synced 2026-04-27 15:07:45 +00:00
fix(server): missing integer type (#20075)
This commit is contained in:
parent
166452640d
commit
496b0c7076
3 changed files with 12 additions and 6 deletions
BIN
mobile/openapi/lib/model/sync_asset_face_v1.dart
generated
BIN
mobile/openapi/lib/model/sync_asset_face_v1.dart
generated
Binary file not shown.
|
|
@ -13805,25 +13805,25 @@
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"boundingBoxX1": {
|
"boundingBoxX1": {
|
||||||
"type": "number"
|
"type": "integer"
|
||||||
},
|
},
|
||||||
"boundingBoxX2": {
|
"boundingBoxX2": {
|
||||||
"type": "number"
|
"type": "integer"
|
||||||
},
|
},
|
||||||
"boundingBoxY1": {
|
"boundingBoxY1": {
|
||||||
"type": "number"
|
"type": "integer"
|
||||||
},
|
},
|
||||||
"boundingBoxY2": {
|
"boundingBoxY2": {
|
||||||
"type": "number"
|
"type": "integer"
|
||||||
},
|
},
|
||||||
"id": {
|
"id": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"imageHeight": {
|
"imageHeight": {
|
||||||
"type": "number"
|
"type": "integer"
|
||||||
},
|
},
|
||||||
"imageWidth": {
|
"imageWidth": {
|
||||||
"type": "number"
|
"type": "integer"
|
||||||
},
|
},
|
||||||
"personId": {
|
"personId": {
|
||||||
"nullable": true,
|
"nullable": true,
|
||||||
|
|
|
||||||
|
|
@ -261,11 +261,17 @@ export class SyncAssetFaceV1 {
|
||||||
id!: string;
|
id!: string;
|
||||||
assetId!: string;
|
assetId!: string;
|
||||||
personId!: string | null;
|
personId!: string | null;
|
||||||
|
@ApiProperty({ type: 'integer' })
|
||||||
imageWidth!: number;
|
imageWidth!: number;
|
||||||
|
@ApiProperty({ type: 'integer' })
|
||||||
imageHeight!: number;
|
imageHeight!: number;
|
||||||
|
@ApiProperty({ type: 'integer' })
|
||||||
boundingBoxX1!: number;
|
boundingBoxX1!: number;
|
||||||
|
@ApiProperty({ type: 'integer' })
|
||||||
boundingBoxY1!: number;
|
boundingBoxY1!: number;
|
||||||
|
@ApiProperty({ type: 'integer' })
|
||||||
boundingBoxX2!: number;
|
boundingBoxX2!: number;
|
||||||
|
@ApiProperty({ type: 'integer' })
|
||||||
boundingBoxY2!: number;
|
boundingBoxY2!: number;
|
||||||
sourceType!: string;
|
sourceType!: string;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue