fix: get branch full working
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import * as z from 'zod';
|
||||
|
||||
export const ForgotPasswordSchema = z.object({
|
||||
email: z.email(),
|
||||
});
|
||||
|
||||
export type TForgotPassword = z.infer<typeof ForgotPasswordSchema>;
|
||||
@@ -0,0 +1,9 @@
|
||||
import * as z from 'zod';
|
||||
|
||||
export const ResetPasswordSchema = z.object({
|
||||
password: z.string().min(8),
|
||||
confirmPassword: z.string().min(8),
|
||||
token: z.string(),
|
||||
});
|
||||
|
||||
export type TResetPassword = z.infer<typeof ResetPasswordSchema>;
|
||||
Reference in New Issue
Block a user