smp-serverless-utils
Version:
Utilities for working with GCP Storage, file handling, and PDF/SVG conversions
11 lines (10 loc) • 386 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.FILE_FORMAT = exports.CANVAS_PREVIEW = exports.TIMEOUT = exports.ALLOWED_FILE_FORMATS = void 0;
exports.ALLOWED_FILE_FORMATS = ["png", "jpg", "jpeg", "svg", "pdf"];
exports.TIMEOUT = 300000;
exports.CANVAS_PREVIEW = 'canvas[id^="preview_"]';
exports.FILE_FORMAT = {
PDF: "pdf",
SVG: "svg",
};