cal.pub0.org/lib/validations/schedule.ts

14 lines
281 B
TypeScript

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