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

14 lines
291 B
TypeScript
Raw Normal View History

import { withValidation } from "next-validations";
import { z } from "zod";
const schemaMembership = z
.object({})
2022-03-27 13:15:46 +00:00
.strict();
const withValidMembership = withValidation({
schema: schemaMembership,
type: "Zod",
mode: "body",
});
export { schemaMembership, withValidMembership };