11 lines
311 B
TypeScript
11 lines
311 B
TypeScript
import { z } from "zod";
|
|
|
|
export const ZSendVerifyEmailCodeSchema = z.object({
|
|
email: z.string().min(1),
|
|
username: z.string().optional(),
|
|
language: z.string().optional(),
|
|
isVerifyingEmail: z.boolean().optional(),
|
|
});
|
|
|
|
export type TSendVerifyEmailCodeSchema = z.infer<typeof ZSendVerifyEmailCodeSchema>;
|