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

14 lines
276 B
TypeScript

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