import { firebaseAuth } from 'src/firebase' ; import { EmailAndPasswordPayload } from '../types' ; export const signIn = async ( { email , password } ) => firebaseAuth . signInWithEmailAndPassword ( email , password ) ; export const signUp = async ( { email , password } ) => firebaseAuth . createUserWithEmailAndPassword ( email , password ) ; export const fetchSignInMethods = async ( { email } ) => firebaseAuth . fetchSignInMethodsForEmail ( email ) ;