1- import { gif , png , webp } from "../qualifiers/animatedFormat" ;
2- import { ar16X9 , ar1X1 , ar3X1 , ar3X2 , ar4X3 , ar5X4 , ignoreInitialAspectRatio } from "../qualifiers/aspectRatio" ;
3-
41export type StreamingProfiles = string | "4k" | "full_hd" | "hd" | "sd" | "full_hd_wifi" | "full_hd_lean" | "hd_lean" ;
52
63export type stringOrNumber = number | string ;
@@ -205,34 +202,74 @@ export type DeliveryType =
205202 | "dailymotion" ;
206203/****************************** URL *************************************/
207204export type ResourceType = string | "image" | "raw" | "video" ;
208- export type ImageFormat =
209- string
210- | "gif"
211- | "png"
212- | "jpg"
213- | "bmp"
214- | "ico"
215- | "pdf"
216- | "tiff"
217- | "eps"
218- | "jpc"
219- | "jp2"
220- | "psd"
221- | "webp"
222- | "zip"
223- | "svg"
224- | "webm"
225- | "wdp"
226- | "hpx"
227- | "djvu"
228- | "ai"
229- | "flif"
230- | "bpg"
231- | "miff"
232- | "tga"
233- | "heic"
205+ export type ImageFormatType =
206+ string |
207+ 'usdz' |
208+ 'jp2' |
209+ 'ai' |
210+ 'auto' |
211+ 'bmp' |
212+ 'eps' |
213+ 'flif' |
214+ 'gif' |
215+ 'heic' |
216+ 'ico' |
217+ 'jpc' |
218+ 'jpg' |
219+ 'pdf' |
220+ 'png' |
221+ 'psd' |
222+ 'svg' |
223+ 'tiff' |
224+ 'wdp' |
225+ 'webp' |
226+ 'arw' |
227+ 'aac' |
228+ 'aiff' |
229+ 'amr' |
230+ 'flac' |
231+ 'm4a' |
232+ 'mp3' |
233+ 'ogg' |
234+ 'opus' |
235+ 'wav' |
236+ 'avif' |
237+ 'cr2' |
238+ 'djvu' |
239+ 'eps3' |
240+ 'ept' |
241+ 'fxb' |
242+ 'gltf' |
243+ 'hdp' |
244+ 'heif' |
245+ 'indd' |
246+ 'jpe' |
247+ 'jpeg' |
248+ 'jxr' |
249+ 'ps' |
250+ 'spd' |
251+ 'tga' |
252+ 'tif' |
253+ '3g2' |
254+ '3gp' |
255+ 'avi' |
256+ 'flv' |
257+ 'm2ts' |
258+ 'm3u8' |
259+ 'mkv' |
260+ 'mov' |
261+ 'mp4' |
262+ 'mpd' |
263+ 'mpeg' |
264+ 'mts' |
265+ 'mxf' |
266+ 'ogv' |
267+ 'ts' |
268+ 'webm' |
269+ 'wmv' |
270+ 'glb' ;
234271
235- export type VideoFormat =
272+ export type VideoFormatType =
236273 string
237274 | "auto"
238275 | "flv"
@@ -247,6 +284,29 @@ export type VideoFormat =
247284
248285export type AnimatedFormatType = "auto" | "gif" | "webp" | "png" ;
249286
287+ export type ArtisticFilterType =
288+ "al_dente" |
289+ "athena" |
290+ "audrey" |
291+ "aurora" |
292+ "daguerre" |
293+ "eucalyptus" |
294+ "hairspray" |
295+ "hokusai" |
296+ "peacock" |
297+ "primavera" |
298+ "quartz" |
299+ "incognito" |
300+ "red_rock" |
301+ "sizzle" |
302+ "fes" |
303+ "linen" |
304+ "refresh" |
305+ "sonnet" |
306+ "ukulele" |
307+ "frost" |
308+ "zorro" ;
309+
250310export type AspectRatioType =
251311 "1:1" |
252312 "5:4" |
@@ -290,8 +350,8 @@ export interface LegacyITransforamtionOptions {
290350 } | string ;
291351 default_image ?: string ;
292352 density ?: stringOrNumber ;
293- format ?: ImageFormat ;
294- fetch_format ?: ImageFormat ;
353+ format ?: ImageFormatType ;
354+ fetch_format ?: ImageFormatType ;
295355 effect ?: string | Array < stringOrNumber > | ImageEffect ;
296356 page ?: stringOrNumber ;
297357 flags ?: ImageFlags | [ ] | string ;
@@ -332,3 +392,14 @@ export interface LegacyITransforamtionOptions {
332392 url_suffix ?: string ;
333393 [ futureKey : string ] : any ;
334394}
395+
396+ export type QualityTypes =
397+ 'auto' |
398+ 'auto:best' |
399+ 'auto:eco' |
400+ 'auto:good' |
401+ 'auto:low' |
402+ 'jpegmini' |
403+ 'jpegmini:best' |
404+ 'jpegmini:high' |
405+ 'jpegmini:medium' ;
0 commit comments