Skip to content

Commit 20ba62b

Browse files
ANKUR DWIVEDIANKUR DWIVEDI
authored andcommitted
renamed types
1 parent 2eb5262 commit 20ba62b

1 file changed

Lines changed: 9 additions & 4 deletions

File tree

src/components/IKUpload/props.ts

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,23 @@ type TransformationObject = {
77
value: string;
88
};
99

10-
type GifToVideoOrThumbnailObject = {
11-
type: "gif-to-video" | "thumbnail";
10+
type GifToVideoObject = {
11+
type: "gif-to-video";
1212
value?: string;
1313
};
1414

15-
type AbsObject = {
15+
type ThumbnailObject = {
16+
type: "thumbnail";
17+
value?: string;
18+
};
19+
20+
type ABSObject = {
1621
type: "abs";
1722
value: string;
1823
protocol: "hls" | "dash";
1924
};
2025

21-
type PostTransformation = TransformationObject | GifToVideoOrThumbnailObject | AbsObject;
26+
type PostTransformation = TransformationObject | GifToVideoObject | ThumbnailObject | ABSObject;
2227

2328
type TransformationType = {
2429
pre?: string;

0 commit comments

Comments
 (0)