mirror of
https://github.com/documenso/documenso.git
synced 2025-11-13 08:13:56 +10:00
wip: refresh design
This commit is contained in:
10
packages/trpc/server/auth-router/schema.ts
Normal file
10
packages/trpc/server/auth-router/schema.ts
Normal file
@ -0,0 +1,10 @@
|
||||
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>;
|
||||
Reference in New Issue
Block a user