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

14 lines
291 B
TypeScript

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