Variable resetPasswordSchemaConst
resetPasswordSchema: ZodObject<{
body: ZodEffects<ZodObject<{
cpassword: ZodString;
password: ZodString;
}, "strip", ZodTypeAny, {
cpassword: string;
password: string;
}, {
cpassword: string;
password: string;
}>, {
cpassword: string;
password: string;
}, {
cpassword: string;
password: string;
}>;
params: ZodObject<{
email: ZodString;
passwordResetCode: ZodString;
}, "strip", ZodTypeAny, {
email: string;
passwordResetCode: string;
}, {
email: string;
passwordResetCode: string;
}>;
}, "strip", ZodTypeAny, {
body: { password: string; cpassword: string; };
params: { email: string; passwordResetCode: string; };
}, {
body: { password: string; cpassword: string; };
params: { email: string; passwordResetCode: string; };
}> = ...
This is schema to validate /auth/resetpassword/:email/:passwordResetCode request
Constant
Author
aayushchugh