mirror of
https://github.com/documenso/documenso.git
synced 2025-11-14 00:32:43 +10:00
feat: delete user from db and unsubscribe from stripe
This commit is contained in:
@ -10,3 +10,9 @@ export const ZSignUpMutationSchema = z.object({
|
||||
export type TSignUpMutationSchema = z.infer<typeof ZSignUpMutationSchema>;
|
||||
|
||||
export const ZVerifyPasswordMutationSchema = ZSignUpMutationSchema.pick({ password: true });
|
||||
|
||||
export const ZDeleteAccountMutationSchema = z.object({
|
||||
email: z.string().email(),
|
||||
});
|
||||
|
||||
export type TDeleteAccountMutationSchema = z.infer<typeof ZDeleteAccountMutationSchema>;
|
||||
|
||||
Reference in New Issue
Block a user