UNPKG

@nexim/upload-types

Version:

TypeScript types and interfaces for Nexim Media Upload Service, including image preset configurations and file handling types

87 lines (85 loc) 1.58 kB
/* @nexim/upload-types v1.0.0 */ // src/main.ts import { packageTracer } from "@alwatr/package-tracer"; __dev_mode__: packageTracer.add("@nexim/upload-types", "1.0.0"); var uploadImagePresetRecord = { "product-image": { client: { defaultAppendName: ".jpeg", quality: 75, height: -1, width: 640 }, format: [ { type: "webp", appendName: ".webp.org", formatOptions: { quality: 75 } }, { type: "jpeg", appendName: ".jpeg", formatOptions: { quality: 75, mozjpeg: true } } ] }, "financial-document": { client: { defaultAppendName: ".jpeg", quality: 75, height: -1, width: 640 }, format: [ { type: "webp", appendName: ".webp.org", formatOptions: { quality: 75 } }, { type: "jpeg", appendName: ".jpeg", formatOptions: { quality: 75, mozjpeg: true } } ] }, "blog-post-cover": { client: { defaultAppendName: ".jpeg", quality: 75, height: -1, width: 1024 }, format: [ { type: "webp", appendName: ".webp.org", formatOptions: { quality: 75 } }, { type: "jpeg", appendName: ".jpeg", formatOptions: { quality: 75, mozjpeg: true } } ] } }; export { uploadImagePresetRecord }; //# sourceMappingURL=main.mjs.map