cal.pub0.org/lib/validations/booking-reference.ts

14 lines
321 B
TypeScript
Raw Normal View History

import { withValidation } from "next-validations";
import { z } from "zod";
const schemaBookingReference = z
.object({})
.strict();
const withValidBookingReference = withValidation({
schema: schemaBookingReference,
type: "Zod",
mode: "body",
});
export { schemaBookingReference, withValidBookingReference };