Skip to content

Commit 3ed37d8

Browse files
restore TranscodeImage type
1 parent 79fa487 commit 3ed37d8

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

packages/upload-media/src/store/types.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ export enum OperationType {
177177
AddPoster = 'ADD_POSTER',
178178
UploadOriginal = 'UPLOAD_ORIGINAL',
179179
ThumbnailGeneration = 'THUMBNAIL_GENERATION',
180+
TranscodeImage = 'TRANSCODE_IMAGE',
180181
ResizeCrop = 'RESIZE_CROP',
181182
MuteVideo = 'TRANSCODE_MUTE_VIDEO',
182183
Compress = 'TRANSCODE_COMPRESS',
@@ -192,6 +193,11 @@ export type OperationArgs = {
192193
newFileName?: string;
193194
skipAttachment?: boolean;
194195
};
196+
[ OperationType.TranscodeImage ]: {
197+
outputFormat?: ImageFormat;
198+
outputQuality?: number;
199+
interlaced?: boolean;
200+
};
195201
[ OperationType.ResizeCrop ]: { resize?: ImageSizeCrop };
196202
};
197203

0 commit comments

Comments
 (0)