UNPKG

web-crawling-utils

Version:
14 lines (13 loc) 433 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.testZodSchema = void 0; const zod_1 = require("zod"); exports.testZodSchema = zod_1.z.object({ name: zod_1.z.string().min(3).max(20), age: zod_1.z.number().min(18).max(100), email: zod_1.z.string().email(), address: zod_1.z.object({ city: zod_1.z.string(), postalCode: zod_1.z.string().regex(/^\d{5}$/), }), });