cal.pub0.org/packages/trpc/server/routers/viewer/organizations/verifyCode.schema.ts

9 lines
206 B
TypeScript

import { z } from "zod";
export const ZVerifyCodeInputSchema = z.object({
email: z.string().email(),
code: z.string(),
});
export type ZVerifyCodeInputSchema = z.infer<typeof ZVerifyCodeInputSchema>;