fix(server): missing integer type (#20075)

This commit is contained in:
Daimolean
2025-07-22 17:29:14 +08:00
committed by GitHub
parent 166452640d
commit 496b0c7076
3 changed files with 24 additions and 18 deletions

View File

@@ -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;
}