11 lines
482 B
JavaScript
11 lines
482 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.listRepresentativesSchema = void 0;
|
|
const zod_1 = require("zod");
|
|
exports.listRepresentativesSchema = zod_1.z.object({
|
|
page: zod_1.z.coerce.number().int().positive().default(1),
|
|
limit: zod_1.z.coerce.number().int().positive().max(100).default(20),
|
|
search: zod_1.z.string().optional(),
|
|
postalCode: zod_1.z.string().optional(),
|
|
});
|
|
//# sourceMappingURL=representatives.schemas.js.map
|