feat: add change password form (#199)
This commit is contained in:
@@ -33,10 +33,16 @@ const editProfileSchema = z.object({
|
||||
.nullable(),
|
||||
});
|
||||
|
||||
const changePasswordSchema = z.object({
|
||||
userId: z.string(),
|
||||
password: passwordSchema,
|
||||
});
|
||||
|
||||
export const userSchemas = {
|
||||
signIn: signInSchema,
|
||||
init: initUserSchema,
|
||||
create: createUserSchema,
|
||||
password: passwordSchema,
|
||||
editProfile: editProfileSchema,
|
||||
changePassword: changePasswordSchema,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user