Skip to content

Commit c46ef34

Browse files
ANKUR DWIVEDIANKUR DWIVEDI
authored andcommitted
updated transformation
1 parent f395f5e commit c46ef34

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/interfaces/UploadOptions.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ interface AbsObject {
1414
protocol: "hls" | "dash";
1515
}
1616

17-
type postTransformation = TransformationObject | GifToVideoOrThumbnailObject | AbsObject;
17+
type PostTransformation = TransformationObject | GifToVideoOrThumbnailObject | AbsObject;
1818

19-
interface transformation{
19+
interface Transformation{
2020
pre?: string
21-
post?: postTransformation[]
21+
post?: PostTransformation[]
2222
}
2323
/**
2424
* Options used when uploading a file
@@ -135,7 +135,7 @@ export interface UploadOptions {
135135
*/
136136
customMetadata?: string | Record<string, string | number | boolean | Array<string | number | boolean>>
137137

138-
transformation?: transformation
138+
transformation?: Transformation
139139

140140
/**
141141
* Optional XMLHttpRequest object that you can send for upload API request. You can listen to `progress` and other events on this object for any custom logic.

0 commit comments

Comments
 (0)