import { connectAuthEmulator , Auth } from '@angular/fire/auth' ; import { connectDatabaseEmulator , Database } from '@angular/fire/database' ; import { connectFirestoreEmulator , Firestore } from '@angular/fire/firestore' ; import { connectFunctionsEmulator , Functions } from '@angular/fire/functions' ; import { connectStorageEmulator , Storage } from '@angular/fire/storage' ; export const connectAuthEmulatorInDevMode = ( auth ) => connectAuthEmulator ( auth , 'http://localhost:9099' , { disableWarnings : true } ) ; export const connectFirestoreEmulatorInDevMode = ( firestore ) => connectFirestoreEmulator ( firestore , 'localhost' , 8080 ) ; export const connectStorageEmulatorInDevMode = ( storage ) => connectStorageEmulator ( storage , 'localhost' , 9199 ) ; export const connectFunctionsEmulatorInDevMode = ( functions ) => connectFunctionsEmulator ( functions , 'localhost' , 5001 ) ; export const connectDatabaseEmulatorInDevMode = ( database ) => connectDatabaseEmulator ( database , 'localhost' , 9000 ) ;