fix(server): don't expose source types in face creation api (#16381)

* don't expose source types in face creation api

* update open-api

* remove source type reference from web
This commit is contained in:
Mert
2025-02-27 17:17:07 +03:00
committed by GitHub
parent 967c69317b
commit 7d6cfd09e6
6 changed files with 4 additions and 27 deletions

View File

@@ -8301,14 +8301,6 @@
"format": "uuid",
"type": "string"
},
"sourceType": {
"allOf": [
{
"$ref": "#/components/schemas/SourceType"
}
],
"default": "manual"
},
"width": {
"type": "integer"
},
@@ -8325,7 +8317,6 @@
"imageHeight",
"imageWidth",
"personId",
"sourceType",
"width",
"x",
"y"

View File

@@ -529,7 +529,6 @@ export type AssetFaceCreateDto = {
imageHeight: number;
imageWidth: number;
personId: string;
sourceType: SourceType;
width: number;
x: number;
y: number;