feat: asset face sync (#20048)

* chore: remove thumbnailPath from person sync dto

* feat: asset face sync
This commit is contained in:
Zack Pollard
2025-07-22 02:31:45 +01:00
committed by GitHub
parent 826eaedae6
commit df318ac641
26 changed files with 699 additions and 20 deletions

View File

@@ -13788,6 +13788,65 @@
],
"type": "object"
},
"SyncAssetFaceDeleteV1": {
"properties": {
"assetFaceId": {
"type": "string"
}
},
"required": [
"assetFaceId"
],
"type": "object"
},
"SyncAssetFaceV1": {
"properties": {
"assetId": {
"type": "string"
},
"boundingBoxX1": {
"type": "number"
},
"boundingBoxX2": {
"type": "number"
},
"boundingBoxY1": {
"type": "number"
},
"boundingBoxY2": {
"type": "number"
},
"id": {
"type": "string"
},
"imageHeight": {
"type": "number"
},
"imageWidth": {
"type": "number"
},
"personId": {
"nullable": true,
"type": "string"
},
"sourceType": {
"type": "string"
}
},
"required": [
"assetId",
"boundingBoxX1",
"boundingBoxX2",
"boundingBoxY1",
"boundingBoxY2",
"id",
"imageHeight",
"imageWidth",
"personId",
"sourceType"
],
"type": "object"
},
"SyncAssetV1": {
"properties": {
"checksum": {
@@ -13912,6 +13971,8 @@
"StackDeleteV1",
"PersonV1",
"PersonDeleteV1",
"AssetFaceV1",
"AssetFaceDeleteV1",
"UserMetadataV1",
"UserMetadataDeleteV1",
"SyncAckV1",
@@ -14109,9 +14170,6 @@
"ownerId": {
"type": "string"
},
"thumbnailPath": {
"type": "string"
},
"updatedAt": {
"format": "date-time",
"type": "string"
@@ -14127,7 +14185,6 @@
"isHidden",
"name",
"ownerId",
"thumbnailPath",
"updatedAt"
],
"type": "object"
@@ -14150,6 +14207,7 @@
"StacksV1",
"UsersV1",
"PeopleV1",
"AssetFacesV1",
"UserMetadataV1"
],
"type": "string"