Skip to content

Commit 70ec109

Browse files
committed
refactor(core): createEmailLinkFormSchema -> createEmailLinkAuthFormSchema
1 parent 1b41b1f commit 70ec109

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
@@ -43,7 +43,7 @@ export function createForgotPasswordAuthFormSchema(ui: FirebaseUIConfiguration)
4343
});
4444
}
4545

46-
export function createEmailLinkFormSchema(ui: FirebaseUIConfiguration) {
46+
export function createEmailLinkAuthFormSchema(ui: FirebaseUIConfiguration) {
4747
return z.object({
4848
email: z.string().email({ message: getTranslation(ui, "errors", "invalidEmail") }),
4949
});
@@ -65,5 +65,5 @@ export function createPhoneFormSchema(ui: FirebaseUIConfiguration) {
6565
export type SignInAuthFormSchema = z.infer<ReturnType<typeof createSignInAuthFormSchema>>;
6666
export type SignUpAuthFormSchema = z.infer<ReturnType<typeof createSignUpAuthFormSchema>>;
6767
export type ForgotPasswordAuthFormSchema = z.infer<ReturnType<typeof createForgotPasswordAuthFormSchema>>;
68-
export type EmailLinkFormSchema = z.infer<ReturnType<typeof createEmailLinkFormSchema>>;
68+
export type EmailLinkAuthFormSchema = z.infer<ReturnType<typeof createEmailLinkAuthFormSchema>>;
6969
export type PhoneFormSchema = z.infer<ReturnType<typeof createPhoneFormSchema>>;

0 commit comments

Comments
 (0)