Skip to content

Commit fbf457b

Browse files
committed
refactor(core): createPhoneFormSchema -> createPhoneAuthFormSchema
1 parent 70ec109 commit fbf457b

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
@@ -49,7 +49,7 @@ export function createEmailLinkAuthFormSchema(ui: FirebaseUIConfiguration) {
4949
});
5050
}
5151

52-
export function createPhoneFormSchema(ui: FirebaseUIConfiguration) {
52+
export function createPhoneAuthFormSchema(ui: FirebaseUIConfiguration) {
5353
return z.object({
5454
phoneNumber: z
5555
.string()
@@ -66,4 +66,4 @@ export type SignInAuthFormSchema = z.infer<ReturnType<typeof createSignInAuthFor
6666
export type SignUpAuthFormSchema = z.infer<ReturnType<typeof createSignUpAuthFormSchema>>;
6767
export type ForgotPasswordAuthFormSchema = z.infer<ReturnType<typeof createForgotPasswordAuthFormSchema>>;
6868
export type EmailLinkAuthFormSchema = z.infer<ReturnType<typeof createEmailLinkAuthFormSchema>>;
69-
export type PhoneFormSchema = z.infer<ReturnType<typeof createPhoneFormSchema>>;
69+
export type PhoneAuthFormSchema = z.infer<ReturnType<typeof createPhoneAuthFormSchema>>;

0 commit comments

Comments
 (0)