feat: pass filename in body on asset upload (#19138)
* chore: get upload filename from request body * use info from request body
This commit is contained in:
@@ -9401,6 +9401,9 @@
|
||||
"format": "date-time",
|
||||
"type": "string"
|
||||
},
|
||||
"filename": {
|
||||
"type": "string"
|
||||
},
|
||||
"isFavorite": {
|
||||
"type": "boolean"
|
||||
},
|
||||
@@ -9451,6 +9454,9 @@
|
||||
"fileModifiedAt": {
|
||||
"format": "date-time",
|
||||
"type": "string"
|
||||
},
|
||||
"filename": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
|
||||
@@ -444,6 +444,7 @@ export type AssetMediaCreateDto = {
|
||||
duration?: string;
|
||||
fileCreatedAt: string;
|
||||
fileModifiedAt: string;
|
||||
filename?: string;
|
||||
isFavorite?: boolean;
|
||||
livePhotoVideoId?: string;
|
||||
sidecarData?: Blob;
|
||||
@@ -510,6 +511,7 @@ export type AssetMediaReplaceDto = {
|
||||
duration?: string;
|
||||
fileCreatedAt: string;
|
||||
fileModifiedAt: string;
|
||||
filename?: string;
|
||||
};
|
||||
export type SignUpDto = {
|
||||
email: string;
|
||||
|
||||
Reference in New Issue
Block a user