@pfantato/printful-ts
Version:
Typescript SDK to integrate with Printful
15 lines (14 loc) • 456 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.CatalogCategory = void 0;
const zod_1 = require("zod");
const common_1 = require("@printful-ts/schemas/common");
exports.CatalogCategory = zod_1.z.object({
id: zod_1.z.number(),
parent_id: zod_1.z.number().nullable(),
image_url: zod_1.z.string().url(),
title: zod_1.z.string(),
_links: zod_1.z.object({
self: common_1.HateoasLink,
}),
});