mirror of
https://github.com/documenso/documenso.git
synced 2025-11-13 08:13:56 +10:00
11 lines
255 B
TypeScript
11 lines
255 B
TypeScript
import 'zod';
|
|
import { z } from 'zod';
|
|
|
|
export const ZSignUpMutationSchema = z.object({
|
|
name: z.string().min(1),
|
|
email: z.string().email(),
|
|
password: z.string().min(6),
|
|
});
|
|
|
|
export type TSignUpMutationSchema = z.infer<typeof ZSignUpMutationSchema>;
|