@pfantato/printful-ts
Version:
Typescript SDK to integrate with Printful
15 lines (14 loc) • 475 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.PagingHateoasLinks = exports.HateoasLink = void 0;
const zod_1 = require("zod");
exports.HateoasLink = zod_1.z.object({
href: zod_1.z.string().url(),
});
exports.PagingHateoasLinks = zod_1.z.object({
self: exports.HateoasLink,
first: exports.HateoasLink,
last: exports.HateoasLink,
next: exports.HateoasLink.optional(),
previous: exports.HateoasLink.optional(),
});