UNPKG

strapi-plugin-firebase-authentication

Version:

Allows easy integration between clients utilizing Firebase for authentication and Strapi

17 lines (16 loc) 466 B
export declare function validateEmail(email: string | null | undefined): { isValid: boolean; error: string | null; }; export declare function validatePhoneNumber(phone: string | null | undefined): { isValid: boolean; error: string | null; }; export declare function validateUserForm(email?: string, phoneNumber?: string): { isValid: boolean; errors: { email?: string; phoneNumber?: string; general?: string; }; };