cal.pub0.org/lib/validations/daily-event-reference.ts

14 lines
336 B
TypeScript
Raw Normal View History

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