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:
@@ -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"
|
||||
|
||||
@@ -529,7 +529,6 @@ export type AssetFaceCreateDto = {
|
||||
imageHeight: number;
|
||||
imageWidth: number;
|
||||
personId: string;
|
||||
sourceType: SourceType;
|
||||
width: number;
|
||||
x: number;
|
||||
y: number;
|
||||
|
||||
Reference in New Issue
Block a user