1 parent 79fa487 commit 3ed37d8Copy full SHA for 3ed37d8
1 file changed
packages/upload-media/src/store/types.ts
@@ -177,6 +177,7 @@ export enum OperationType {
177
AddPoster = 'ADD_POSTER',
178
UploadOriginal = 'UPLOAD_ORIGINAL',
179
ThumbnailGeneration = 'THUMBNAIL_GENERATION',
180
+ TranscodeImage = 'TRANSCODE_IMAGE',
181
ResizeCrop = 'RESIZE_CROP',
182
MuteVideo = 'TRANSCODE_MUTE_VIDEO',
183
Compress = 'TRANSCODE_COMPRESS',
@@ -192,6 +193,11 @@ export type OperationArgs = {
192
193
newFileName?: string;
194
skipAttachment?: boolean;
195
};
196
+ [ OperationType.TranscodeImage ]: {
197
+ outputFormat?: ImageFormat;
198
+ outputQuality?: number;
199
+ interlaced?: boolean;
200
+ };
201
[ OperationType.ResizeCrop ]: { resize?: ImageSizeCrop };
202
203
0 commit comments