@cld-apis/utils
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -11,2 +11,7 @@ export declare const STORAGE_TYPES: { | ||
readonly VIMEO: "vimeo"; | ||
readonly MULTI: "multi"; | ||
readonly INSTAGRAM: "instagram"; | ||
readonly HULU: "hulu"; | ||
readonly ANIMOTO: "animoto"; | ||
readonly DAILYMOTION: "dailymotion"; | ||
}; | ||
@@ -22,2 +27,33 @@ export declare const RESOURCE_TYPES: { | ||
readonly OGV: "ogv"; | ||
readonly FLV: "flv"; | ||
readonly M3U8: "m3u8"; | ||
readonly TS: "ts"; | ||
readonly MOV: "mov"; | ||
readonly MKV: "mkv"; | ||
readonly MPD: "mpd"; | ||
}; | ||
export declare const ImageFormats: { | ||
GIF: string; | ||
PNG: string; | ||
JPG: string; | ||
BMP: string; | ||
ICO: string; | ||
PDF: string; | ||
TIFF: string; | ||
EPS: string; | ||
JPC: string; | ||
JP2: string; | ||
PSD: string; | ||
WEBP: string; | ||
ZIP: string; | ||
SVG: string; | ||
WDP: string; | ||
HDX: string; | ||
DJVU: string; | ||
AI: string; | ||
FLIF: string; | ||
BPG: string; | ||
MIFF: string; | ||
TGA: string; | ||
HEIC: string; | ||
}; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.VIDEO_SOURCE_TYPES = exports.RESOURCE_TYPES = exports.STORAGE_TYPES = void 0; | ||
exports.ImageFormats = exports.VIDEO_SOURCE_TYPES = exports.RESOURCE_TYPES = exports.STORAGE_TYPES = void 0; | ||
exports.STORAGE_TYPES = { | ||
@@ -13,3 +13,8 @@ UPLOAD: 'upload', | ||
YOUTUBE: 'youtube', | ||
VIMEO: 'vimeo' | ||
VIMEO: 'vimeo', | ||
MULTI: 'multi', | ||
INSTAGRAM: 'instagram', | ||
HULU: 'hulu', | ||
ANIMOTO: 'animoto', | ||
DAILYMOTION: 'dailymotion' | ||
}; | ||
@@ -24,3 +29,34 @@ exports.RESOURCE_TYPES = { | ||
MP4: 'mp4', | ||
OGV: 'ogv' | ||
OGV: 'ogv', | ||
FLV: 'flv', | ||
M3U8: 'm3u8', | ||
TS: 'ts', | ||
MOV: 'mov', | ||
MKV: 'mkv', | ||
MPD: 'mpd' | ||
}; | ||
exports.ImageFormats = { | ||
GIF: "gif", | ||
PNG: "png", | ||
JPG: "jpg", | ||
BMP: "bmp", | ||
ICO: "ico", | ||
PDF: "pdf", | ||
TIFF: "tiff", | ||
EPS: "eps", | ||
JPC: "jpc", | ||
JP2: "jp2", | ||
PSD: "psd", | ||
WEBP: "webp", | ||
ZIP: "zip", | ||
SVG: "svg", | ||
WDP: "wdp", | ||
HDX: "hpx", | ||
DJVU: "djvu", | ||
AI: "ai", | ||
FLIF: "flif", | ||
BPG: "bpg", | ||
MIFF: "miff", | ||
TGA: "tga", | ||
HEIC: "heic", | ||
}; |
@@ -11,2 +11,7 @@ export declare const STORAGE_TYPES: { | ||
readonly VIMEO: "vimeo"; | ||
readonly MULTI: "multi"; | ||
readonly INSTAGRAM: "instagram"; | ||
readonly HULU: "hulu"; | ||
readonly ANIMOTO: "animoto"; | ||
readonly DAILYMOTION: "dailymotion"; | ||
}; | ||
@@ -22,2 +27,33 @@ export declare const RESOURCE_TYPES: { | ||
readonly OGV: "ogv"; | ||
readonly FLV: "flv"; | ||
readonly M3U8: "m3u8"; | ||
readonly TS: "ts"; | ||
readonly MOV: "mov"; | ||
readonly MKV: "mkv"; | ||
readonly MPD: "mpd"; | ||
}; | ||
export declare const ImageFormats: { | ||
GIF: string; | ||
PNG: string; | ||
JPG: string; | ||
BMP: string; | ||
ICO: string; | ||
PDF: string; | ||
TIFF: string; | ||
EPS: string; | ||
JPC: string; | ||
JP2: string; | ||
PSD: string; | ||
WEBP: string; | ||
ZIP: string; | ||
SVG: string; | ||
WDP: string; | ||
HDX: string; | ||
DJVU: string; | ||
AI: string; | ||
FLIF: string; | ||
BPG: string; | ||
MIFF: string; | ||
TGA: string; | ||
HEIC: string; | ||
}; |
@@ -10,3 +10,8 @@ export var STORAGE_TYPES = { | ||
YOUTUBE: 'youtube', | ||
VIMEO: 'vimeo' | ||
VIMEO: 'vimeo', | ||
MULTI: 'multi', | ||
INSTAGRAM: 'instagram', | ||
HULU: 'hulu', | ||
ANIMOTO: 'animoto', | ||
DAILYMOTION: 'dailymotion' | ||
}; | ||
@@ -21,3 +26,34 @@ export var RESOURCE_TYPES = { | ||
MP4: 'mp4', | ||
OGV: 'ogv' | ||
OGV: 'ogv', | ||
FLV: 'flv', | ||
M3U8: 'm3u8', | ||
TS: 'ts', | ||
MOV: 'mov', | ||
MKV: 'mkv', | ||
MPD: 'mpd' | ||
}; | ||
export var ImageFormats = { | ||
GIF: "gif", | ||
PNG: "png", | ||
JPG: "jpg", | ||
BMP: "bmp", | ||
ICO: "ico", | ||
PDF: "pdf", | ||
TIFF: "tiff", | ||
EPS: "eps", | ||
JPC: "jpc", | ||
JP2: "jp2", | ||
PSD: "psd", | ||
WEBP: "webp", | ||
ZIP: "zip", | ||
SVG: "svg", | ||
WDP: "wdp", | ||
HDX: "hpx", | ||
DJVU: "djvu", | ||
AI: "ai", | ||
FLIF: "flif", | ||
BPG: "bpg", | ||
MIFF: "miff", | ||
TGA: "tga", | ||
HEIC: "heic", | ||
}; |
{ | ||
"name": "@cld-apis/utils", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "Cloudinary constants and helpers for transformations", | ||
@@ -64,3 +64,4 @@ "author": "Maya Shavin <maya@cloudinary.com>", | ||
"lodash.snakecase": "^4.1.1" | ||
} | ||
}, | ||
"gitHead": "5e6e5284d6bc52b2238ce138ec82edd8bb67455c" | ||
} |
53639
64
1510