Skip to content

Commit a505368

Browse files
committed
refactor(core): createForgotPasswordFormSchema -> createForgotPasswordAuthFormSchema
1 parent 2581ac3 commit a505368

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/core/src/schemas.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export function createSignInAuthFormSchema(ui: FirebaseUIConfiguration) {
3030
});
3131
}
3232

33-
export function createForgotPasswordFormSchema(ui: FirebaseUIConfiguration) {
33+
export function createForgotPasswordAuthFormSchema(ui: FirebaseUIConfiguration) {
3434
return z.object({
3535
email: z.string().email({ message: getTranslation(ui, "errors", "invalidEmail") }),
3636
});
@@ -56,6 +56,6 @@ export function createPhoneFormSchema(ui: FirebaseUIConfiguration) {
5656
}
5757

5858
export type SignInAuthFormSchema = z.infer<ReturnType<typeof createSignInAuthFormSchema>>;
59-
export type ForgotPasswordFormSchema = z.infer<ReturnType<typeof createForgotPasswordFormSchema>>;
59+
export type ForgotPasswordAuthFormSchema = z.infer<ReturnType<typeof createForgotPasswordAuthFormSchema>>;
6060
export type EmailLinkFormSchema = z.infer<ReturnType<typeof createEmailLinkFormSchema>>;
6161
export type PhoneFormSchema = z.infer<ReturnType<typeof createPhoneFormSchema>>;

0 commit comments

Comments
 (0)