@ironsoftware/ironpdf
Version:
IronPDF for Node
18 lines • 609 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.pageInfoSchema = exports.pageRotationSchema = void 0;
const zod_1 = require("zod");
exports.pageRotationSchema = zod_1.z.union([
zod_1.z.literal(0),
zod_1.z.literal(90),
zod_1.z.literal(180),
zod_1.z.literal(270)
]);
exports.pageInfoSchema = zod_1.z.object({
millimeterWidth: zod_1.z.number(),
millimeterHeight: zod_1.z.number(),
printerPointWidth: zod_1.z.number(),
printerPointHeight: zod_1.z.number(),
pageRotation: exports.pageRotationSchema
});
//# sourceMappingURL=pageSchema.js.map