diff --git a/mobile/openapi/lib/model/sync_asset_face_v1.dart b/mobile/openapi/lib/model/sync_asset_face_v1.dart index 853a8a151..60d1766e3 100644 Binary files a/mobile/openapi/lib/model/sync_asset_face_v1.dart and b/mobile/openapi/lib/model/sync_asset_face_v1.dart differ diff --git a/open-api/immich-openapi-specs.json b/open-api/immich-openapi-specs.json index 2f41318d6..4acd43120 100644 --- a/open-api/immich-openapi-specs.json +++ b/open-api/immich-openapi-specs.json @@ -13805,25 +13805,25 @@ "type": "string" }, "boundingBoxX1": { - "type": "number" + "type": "integer" }, "boundingBoxX2": { - "type": "number" + "type": "integer" }, "boundingBoxY1": { - "type": "number" + "type": "integer" }, "boundingBoxY2": { - "type": "number" + "type": "integer" }, "id": { "type": "string" }, "imageHeight": { - "type": "number" + "type": "integer" }, "imageWidth": { - "type": "number" + "type": "integer" }, "personId": { "nullable": true, diff --git a/server/src/dtos/sync.dto.ts b/server/src/dtos/sync.dto.ts index e0c9c059c..c8b1a7dde 100644 --- a/server/src/dtos/sync.dto.ts +++ b/server/src/dtos/sync.dto.ts @@ -261,11 +261,17 @@ export class SyncAssetFaceV1 { id!: string; assetId!: string; personId!: string | null; + @ApiProperty({ type: 'integer' }) imageWidth!: number; + @ApiProperty({ type: 'integer' }) imageHeight!: number; + @ApiProperty({ type: 'integer' }) boundingBoxX1!: number; + @ApiProperty({ type: 'integer' }) boundingBoxY1!: number; + @ApiProperty({ type: 'integer' }) boundingBoxX2!: number; + @ApiProperty({ type: 'integer' }) boundingBoxY2!: number; sourceType!: string; }