chore: refactor mail router

This commit is contained in:
Ephraim Atta-Duncan
2023-06-21 13:53:32 +00:00
parent 02569619f9
commit 2798cd624d
6 changed files with 26 additions and 29 deletions

View File

@ -0,0 +1,7 @@
import { z } from 'zod';
export const ZSendMailMutationSchema = z.object({
email: z.string().min(1).email(),
});
export type TSendMailMutationSchema = z.infer<typeof ZSendMailMutationSchema>;