UNPKG

@rxap/firebase

Version:

This package provides Angular modules and services to integrate with Firebase, including App Check, Messaging, and Storage. It offers providers for configuring Firebase options and emulators, as well as an HTTP interceptor for App Check. The package also

42 lines (41 loc) 3.62 kB
import { Provider } from '@angular/core'; import { ConfigService } from '@rxap/config'; import { FirebaseConfig } from './firebase.config'; export declare function FirebaseOptionsTokenFactory(configService: ConfigService<FirebaseConfig>): any; export declare function FirebaseNameOrConfigTokenFactory(configService: ConfigService<FirebaseConfig>): any; export declare function EnablePersistenceTokenFactory(configService: ConfigService<FirebaseConfig>): any; export declare function PersistenceSettingsTokenFactory(configService: ConfigService<FirebaseConfig>): any; export declare function FirestoreSettingsTokenFactory(configService: ConfigService<FirebaseConfig>): any; export declare function FunctionsRegionFactory(configService: ConfigService<FirebaseConfig>): any; export declare function FunctionsOriginFactory(configService: ConfigService<FirebaseConfig>): any; export declare function FunctionsNewOriginBehaviorFactory(configService: ConfigService<FirebaseConfig>): any; export declare function InstrumentationEnabledFactory(configService: ConfigService<FirebaseConfig>): any; export declare function DataCollectionEnabledFactory(configService: ConfigService<FirebaseConfig>): any; export declare function VapidKeyFactory(configService: ConfigService<FirebaseConfig>): any; export declare function AnalyticsEnabledFactory(configService: ConfigService<FirebaseConfig>): any; export declare function GetAnalyticsAppName(config: ConfigService): string | undefined; export declare function UseFirestoreEmulatorFactory(configService: ConfigService<FirebaseConfig>): any; export declare function UseFunctionsEmulatorFactory(configService: ConfigService<FirebaseConfig>): any; export declare function UseAuthEmulatorFactory(configService: ConfigService<FirebaseConfig>): any; export declare function AuthTenantIdFactory(configService: ConfigService<FirebaseConfig>): any; export declare function AuthLanguageCodeFactory(configService: ConfigService<FirebaseConfig>): any; export declare function AuthUseDeviceLanguageFactory(configService: ConfigService<FirebaseConfig>): any; export declare function AuthPersistenceFactory(configService: ConfigService<FirebaseConfig>): any; export declare function AuthSettingsFactory(configService: ConfigService<FirebaseConfig>): any; export declare function AppCheckEnabledFactory(configService: ConfigService<FirebaseConfig>): any; export declare function AppCheckSiteKeyFactory(configService: ConfigService<FirebaseConfig>): any; export declare function AppIsTokenAutoRefreshEnabledFactory(configService: ConfigService<FirebaseConfig>): any; export declare function StorageBucketFactory(configService: ConfigService<FirebaseConfig>): any; export declare function StorageMaxUploadRetryTimeFactory(configService: ConfigService<FirebaseConfig>): any; export declare function StorageMaxOperationRetryTimeFactory(configService: ConfigService<FirebaseConfig>): any; export declare function ServiceWorkerFactory(): false | Promise<ServiceWorkerRegistration | undefined>; export declare const FIREBASE_APP_PROVIDERS: Provider[]; export declare const FIREBASE_FIRESTORE_PROVIDERS: Provider[]; export declare const FIREBASE_FUNCTIONS_PROVIDERS: Provider[]; export declare const FIREBASE_MESSAGING_PROVIDERS: Provider[]; export declare const FIREBASE_PERFORMANCE_PROVIDERS: Provider[]; export declare const FIREBASE_ANALYTICS_PROVIDERS: Provider[]; export declare const FIREBASE_AUTH_PROVIDERS: Provider[]; export declare const FIREBASE_APP_CHECK_PROVIDERS: Provider[]; export declare const FIREBASE_STORAGE_PROVIDERS: Provider[]; export declare const FIREBASE_PROVIDERS: Provider[];