@rxap/firebase 21.0.1 → 22.0.0-dev.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/compodoc/changelog.html +5 -0
- package/compodoc/dependencies.html +4 -4
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +167 -167
- package/docs/html/classes/AppCheckService.html +2 -2
- package/docs/html/classes/FirebaseAppCheckHttpInterceptor.html +3 -3
- package/docs/html/classes/RxapFirebaseMessagingService.html +2 -2
- package/docs/html/functions/AnalyticsEnabledFactory.html +1 -1
- package/docs/html/functions/AppCheckEnabledFactory.html +1 -1
- package/docs/html/functions/AppCheckSiteKeyFactory.html +1 -1
- package/docs/html/functions/AppIsTokenAutoRefreshEnabledFactory.html +1 -1
- package/docs/html/functions/AuthLanguageCodeFactory.html +1 -1
- package/docs/html/functions/AuthPersistenceFactory.html +1 -1
- package/docs/html/functions/AuthSettingsFactory.html +1 -1
- package/docs/html/functions/AuthTenantIdFactory.html +1 -1
- package/docs/html/functions/AuthUseDeviceLanguageFactory.html +1 -1
- package/docs/html/functions/DataCollectionEnabledFactory.html +1 -1
- package/docs/html/functions/EnablePersistenceTokenFactory.html +1 -1
- package/docs/html/functions/FirebaseNameOrConfigTokenFactory.html +1 -1
- package/docs/html/functions/FirebaseOptionsTokenFactory.html +1 -1
- package/docs/html/functions/FirestoreSettingsTokenFactory.html +1 -1
- package/docs/html/functions/FunctionsNewOriginBehaviorFactory.html +1 -1
- package/docs/html/functions/FunctionsOriginFactory.html +1 -1
- package/docs/html/functions/FunctionsRegionFactory.html +1 -1
- package/docs/html/functions/GetAnalyticsAppName.html +1 -1
- package/docs/html/functions/InstrumentationEnabledFactory.html +1 -1
- package/docs/html/functions/PersistenceSettingsTokenFactory.html +1 -1
- package/docs/html/functions/ServiceWorkerFactory.html +1 -1
- package/docs/html/functions/StorageBucketFactory.html +1 -1
- package/docs/html/functions/StorageMaxOperationRetryTimeFactory.html +1 -1
- package/docs/html/functions/StorageMaxUploadRetryTimeFactory.html +1 -1
- package/docs/html/functions/UseAuthEmulatorFactory.html +1 -1
- package/docs/html/functions/UseFirestoreEmulatorFactory.html +1 -1
- package/docs/html/functions/UseFunctionsEmulatorFactory.html +1 -1
- package/docs/html/functions/VapidKeyFactory.html +1 -1
- package/docs/html/functions/provideAngularFireAppCheck.html +2 -2
- package/docs/html/functions/provideAngularFireStorageEmulator.html +2 -2
- package/docs/html/index.html +2 -2
- package/docs/html/interfaces/FirebaseConfig.html +2 -2
- package/docs/html/interfaces/Message.html +2 -2
- package/docs/html/modules.html +1 -1
- package/docs/html/variables/APP_CHECK_ENABLED.html +1 -1
- package/docs/html/variables/APP_CHECK_IS_TOKEN_AUTO_REFRESH_ENABLED.html +1 -1
- package/docs/html/variables/APP_CHECK_SITE_KEY.html +1 -1
- package/docs/html/variables/FIREBASE_ANALYTICS_PROVIDERS.html +1 -1
- package/docs/html/variables/FIREBASE_APP_CHECK_HTTP_INTERCEPTOR.html +1 -1
- package/docs/html/variables/FIREBASE_APP_CHECK_HTTP_INTERCEPTOR_URL_PATTERN.html +1 -1
- package/docs/html/variables/FIREBASE_APP_CHECK_PROVIDERS.html +1 -1
- package/docs/html/variables/FIREBASE_APP_PROVIDERS.html +1 -1
- package/docs/html/variables/FIREBASE_AUTH_PROVIDERS.html +1 -1
- package/docs/html/variables/FIREBASE_FIRESTORE_PROVIDERS.html +1 -1
- package/docs/html/variables/FIREBASE_FUNCTIONS_PROVIDERS.html +1 -1
- package/docs/html/variables/FIREBASE_MESSAGING_PROVIDERS.html +1 -1
- package/docs/html/variables/FIREBASE_PERFORMANCE_PROVIDERS.html +1 -1
- package/docs/html/variables/FIREBASE_PROVIDERS.html +1 -1
- package/docs/html/variables/FIREBASE_STORAGE_PROVIDERS.html +1 -1
- package/docs/html/variables/RXAP_REQUEST_CLOUD_MESSAGING_TOKEN.html +1 -1
- package/docs/html/variables/USE_STORAGE_EMULATOR.html +1 -1
- package/docs/markdown/README.md +1 -1
- package/docs/markdown/classes/AppCheckService.md +6 -6
- package/docs/markdown/classes/FirebaseAppCheckHttpInterceptor.md +5 -5
- package/docs/markdown/classes/RxapFirebaseMessagingService.md +8 -8
- package/docs/markdown/functions/AnalyticsEnabledFactory.md +2 -2
- package/docs/markdown/functions/AppCheckEnabledFactory.md +2 -2
- package/docs/markdown/functions/AppCheckSiteKeyFactory.md +2 -2
- package/docs/markdown/functions/AppIsTokenAutoRefreshEnabledFactory.md +2 -2
- package/docs/markdown/functions/AuthLanguageCodeFactory.md +2 -2
- package/docs/markdown/functions/AuthPersistenceFactory.md +2 -2
- package/docs/markdown/functions/AuthSettingsFactory.md +2 -2
- package/docs/markdown/functions/AuthTenantIdFactory.md +2 -2
- package/docs/markdown/functions/AuthUseDeviceLanguageFactory.md +2 -2
- package/docs/markdown/functions/DataCollectionEnabledFactory.md +2 -2
- package/docs/markdown/functions/EnablePersistenceTokenFactory.md +2 -2
- package/docs/markdown/functions/FirebaseNameOrConfigTokenFactory.md +2 -2
- package/docs/markdown/functions/FirebaseOptionsTokenFactory.md +2 -2
- package/docs/markdown/functions/FirestoreSettingsTokenFactory.md +2 -2
- package/docs/markdown/functions/FunctionsNewOriginBehaviorFactory.md +2 -2
- package/docs/markdown/functions/FunctionsOriginFactory.md +2 -2
- package/docs/markdown/functions/FunctionsRegionFactory.md +2 -2
- package/docs/markdown/functions/GetAnalyticsAppName.md +2 -2
- package/docs/markdown/functions/InstrumentationEnabledFactory.md +2 -2
- package/docs/markdown/functions/PersistenceSettingsTokenFactory.md +2 -2
- package/docs/markdown/functions/ServiceWorkerFactory.md +2 -2
- package/docs/markdown/functions/StorageBucketFactory.md +2 -2
- package/docs/markdown/functions/StorageMaxOperationRetryTimeFactory.md +2 -2
- package/docs/markdown/functions/StorageMaxUploadRetryTimeFactory.md +2 -2
- package/docs/markdown/functions/UseAuthEmulatorFactory.md +2 -2
- package/docs/markdown/functions/UseFirestoreEmulatorFactory.md +2 -2
- package/docs/markdown/functions/UseFunctionsEmulatorFactory.md +2 -2
- package/docs/markdown/functions/VapidKeyFactory.md +2 -2
- package/docs/markdown/functions/provideAngularFireAppCheck.md +2 -2
- package/docs/markdown/functions/provideAngularFireStorageEmulator.md +2 -2
- package/docs/markdown/globals.md +2 -2
- package/docs/markdown/interfaces/FirebaseConfig.md +3 -3
- package/docs/markdown/interfaces/Message.md +5 -5
- package/docs/markdown/variables/APP_CHECK_ENABLED.md +2 -2
- package/docs/markdown/variables/APP_CHECK_IS_TOKEN_AUTO_REFRESH_ENABLED.md +2 -2
- package/docs/markdown/variables/APP_CHECK_SITE_KEY.md +2 -2
- package/docs/markdown/variables/FIREBASE_ANALYTICS_PROVIDERS.md +2 -2
- package/docs/markdown/variables/FIREBASE_APP_CHECK_HTTP_INTERCEPTOR.md +2 -2
- package/docs/markdown/variables/FIREBASE_APP_CHECK_HTTP_INTERCEPTOR_URL_PATTERN.md +2 -2
- package/docs/markdown/variables/FIREBASE_APP_CHECK_PROVIDERS.md +2 -2
- package/docs/markdown/variables/FIREBASE_APP_PROVIDERS.md +2 -2
- package/docs/markdown/variables/FIREBASE_AUTH_PROVIDERS.md +2 -2
- package/docs/markdown/variables/FIREBASE_FIRESTORE_PROVIDERS.md +2 -2
- package/docs/markdown/variables/FIREBASE_FUNCTIONS_PROVIDERS.md +2 -2
- package/docs/markdown/variables/FIREBASE_MESSAGING_PROVIDERS.md +2 -2
- package/docs/markdown/variables/FIREBASE_PERFORMANCE_PROVIDERS.md +2 -2
- package/docs/markdown/variables/FIREBASE_PROVIDERS.md +2 -2
- package/docs/markdown/variables/FIREBASE_STORAGE_PROVIDERS.md +2 -2
- package/docs/markdown/variables/RXAP_REQUEST_CLOUD_MESSAGING_TOKEN.md +2 -2
- package/docs/markdown/variables/USE_STORAGE_EMULATOR.md +2 -2
- package/docs/wiki/Class.AppCheckService.md +5 -5
- package/docs/wiki/Class.FirebaseAppCheckHttpInterceptor.md +4 -4
- package/docs/wiki/Class.RxapFirebaseMessagingService.md +7 -7
- package/docs/wiki/Function.AnalyticsEnabledFactory.md +1 -1
- package/docs/wiki/Function.AppCheckEnabledFactory.md +1 -1
- package/docs/wiki/Function.AppCheckSiteKeyFactory.md +1 -1
- package/docs/wiki/Function.AppIsTokenAutoRefreshEnabledFactory.md +1 -1
- package/docs/wiki/Function.AuthLanguageCodeFactory.md +1 -1
- package/docs/wiki/Function.AuthPersistenceFactory.md +1 -1
- package/docs/wiki/Function.AuthSettingsFactory.md +1 -1
- package/docs/wiki/Function.AuthTenantIdFactory.md +1 -1
- package/docs/wiki/Function.AuthUseDeviceLanguageFactory.md +1 -1
- package/docs/wiki/Function.DataCollectionEnabledFactory.md +1 -1
- package/docs/wiki/Function.EnablePersistenceTokenFactory.md +1 -1
- package/docs/wiki/Function.FirebaseNameOrConfigTokenFactory.md +1 -1
- package/docs/wiki/Function.FirebaseOptionsTokenFactory.md +1 -1
- package/docs/wiki/Function.FirestoreSettingsTokenFactory.md +1 -1
- package/docs/wiki/Function.FunctionsNewOriginBehaviorFactory.md +1 -1
- package/docs/wiki/Function.FunctionsOriginFactory.md +1 -1
- package/docs/wiki/Function.FunctionsRegionFactory.md +1 -1
- package/docs/wiki/Function.GetAnalyticsAppName.md +1 -1
- package/docs/wiki/Function.InstrumentationEnabledFactory.md +1 -1
- package/docs/wiki/Function.PersistenceSettingsTokenFactory.md +1 -1
- package/docs/wiki/Function.ServiceWorkerFactory.md +1 -1
- package/docs/wiki/Function.StorageBucketFactory.md +1 -1
- package/docs/wiki/Function.StorageMaxOperationRetryTimeFactory.md +1 -1
- package/docs/wiki/Function.StorageMaxUploadRetryTimeFactory.md +1 -1
- package/docs/wiki/Function.UseAuthEmulatorFactory.md +1 -1
- package/docs/wiki/Function.UseFirestoreEmulatorFactory.md +1 -1
- package/docs/wiki/Function.UseFunctionsEmulatorFactory.md +1 -1
- package/docs/wiki/Function.VapidKeyFactory.md +1 -1
- package/docs/wiki/Function.provideAngularFireAppCheck.md +1 -1
- package/docs/wiki/Function.provideAngularFireStorageEmulator.md +1 -1
- package/docs/wiki/Interface.FirebaseConfig.md +2 -2
- package/docs/wiki/Interface.Message.md +4 -4
- package/docs/wiki/Variable.APP_CHECK_ENABLED.md +1 -1
- package/docs/wiki/Variable.APP_CHECK_IS_TOKEN_AUTO_REFRESH_ENABLED.md +1 -1
- package/docs/wiki/Variable.APP_CHECK_SITE_KEY.md +1 -1
- package/docs/wiki/Variable.FIREBASE_ANALYTICS_PROVIDERS.md +1 -1
- package/docs/wiki/Variable.FIREBASE_APP_CHECK_HTTP_INTERCEPTOR.md +1 -1
- package/docs/wiki/Variable.FIREBASE_APP_CHECK_HTTP_INTERCEPTOR_URL_PATTERN.md +1 -1
- package/docs/wiki/Variable.FIREBASE_APP_CHECK_PROVIDERS.md +1 -1
- package/docs/wiki/Variable.FIREBASE_APP_PROVIDERS.md +1 -1
- package/docs/wiki/Variable.FIREBASE_AUTH_PROVIDERS.md +1 -1
- package/docs/wiki/Variable.FIREBASE_FIRESTORE_PROVIDERS.md +1 -1
- package/docs/wiki/Variable.FIREBASE_FUNCTIONS_PROVIDERS.md +1 -1
- package/docs/wiki/Variable.FIREBASE_MESSAGING_PROVIDERS.md +1 -1
- package/docs/wiki/Variable.FIREBASE_PERFORMANCE_PROVIDERS.md +1 -1
- package/docs/wiki/Variable.FIREBASE_PROVIDERS.md +1 -1
- package/docs/wiki/Variable.FIREBASE_STORAGE_PROVIDERS.md +1 -1
- package/docs/wiki/Variable.RXAP_REQUEST_CLOUD_MESSAGING_TOKEN.md +1 -1
- package/docs/wiki/Variable.USE_STORAGE_EMULATOR.md +1 -1
- package/docs/wiki/globals.md +1 -1
- package/fesm2022/rxap-firebase-auth.mjs +99 -98
- package/fesm2022/rxap-firebase-auth.mjs.map +1 -1
- package/fesm2022/rxap-firebase.mjs +365 -374
- package/fesm2022/rxap-firebase.mjs.map +1 -1
- package/package.json +11 -11
- package/types/rxap-firebase-auth.d.ts +28 -29
- package/types/rxap-firebase.d.ts +174 -181
package/types/rxap-firebase.d.ts
CHANGED
|
@@ -1,195 +1,188 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import { EnvironmentProviders, InjectionToken, Provider } from "@angular/core";
|
|
6
|
+
import { Observable, ReplaySubject } from "rxjs";
|
|
7
|
+
import { AppCheck, AppCheckTokenResult } from "@angular/fire/app-check";
|
|
8
|
+
import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from "@angular/common/http";
|
|
9
|
+
import { AngularFireMessaging } from "@angular/fire/compat/messaging";
|
|
10
|
+
import { FirestoreSettings, PersistenceSettings } from "@firebase/firestore";
|
|
11
|
+
import { AuthSettings } from "@firebase/auth";
|
|
12
|
+
import { ConfigService } from "@rxap/config";
|
|
13
|
+
export declare class AppCheckService {
|
|
14
|
+
private readonly config;
|
|
15
|
+
private readonly enabled;
|
|
16
|
+
readonly onTokenChanged$: Observable<AppCheckTokenResult>;
|
|
17
|
+
private readonly _appCheck;
|
|
18
|
+
constructor();
|
|
19
|
+
getToken(forceRefresh?: boolean): Promise<string>;
|
|
20
|
+
setTokenAutoRefreshEnabled(isTokenAutoRefreshEnabled: boolean): void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppCheckService, never>;
|
|
22
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
21
23
|
}
|
|
22
24
|
/**
|
|
23
25
|
* Registers the AppCheckService and eagerly instantiates it on app initialization
|
|
24
26
|
* (replaces the former RxapAngularFireAppCheckModule).
|
|
25
27
|
*/
|
|
26
|
-
declare function provideAngularFireAppCheck(): EnvironmentProviders;
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<FirebaseAppCheckHttpInterceptor>;
|
|
28
|
+
export declare function provideAngularFireAppCheck(): EnvironmentProviders;
|
|
29
|
+
export declare class FirebaseAppCheckHttpInterceptor implements HttpInterceptor {
|
|
30
|
+
readonly appCheck: AppCheck;
|
|
31
|
+
private readonly enabled;
|
|
32
|
+
private readonly urlPattern;
|
|
33
|
+
constructor();
|
|
34
|
+
intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
|
|
35
|
+
private isMatch;
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FirebaseAppCheckHttpInterceptor, never>;
|
|
37
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
37
38
|
}
|
|
38
|
-
declare const FIREBASE_APP_CHECK_HTTP_INTERCEPTOR: Provider;
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
};
|
|
39
|
+
export declare const FIREBASE_APP_CHECK_HTTP_INTERCEPTOR: Provider;
|
|
40
|
+
export interface Message {
|
|
41
|
+
collapse_key: string;
|
|
42
|
+
from: string;
|
|
43
|
+
notification: {
|
|
44
|
+
body: string;
|
|
45
|
+
click_action: string;
|
|
46
|
+
title: string;
|
|
47
|
+
};
|
|
48
48
|
}
|
|
49
|
-
declare class RxapFirebaseMessagingService {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
49
|
+
export declare class RxapFirebaseMessagingService {
|
|
50
|
+
readonly messaging: AngularFireMessaging;
|
|
51
|
+
readonly requestPermissionImminently: {};
|
|
52
|
+
token$: ReplaySubject<string | null>;
|
|
53
|
+
constructor();
|
|
54
|
+
requestPermission(): void;
|
|
55
|
+
showNotification(title: string, body: string): void;
|
|
56
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RxapFirebaseMessagingService, never>;
|
|
57
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
58
58
|
}
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
github: boolean;
|
|
138
|
-
};
|
|
59
|
+
export interface FirebaseConfig {
|
|
60
|
+
firebase: null | {
|
|
61
|
+
name: string | null;
|
|
62
|
+
options: {
|
|
63
|
+
apiKey: string;
|
|
64
|
+
authDomain?: string;
|
|
65
|
+
databaseURL?: string;
|
|
66
|
+
projectId: string;
|
|
67
|
+
storageBucket?: string;
|
|
68
|
+
messagingSenderId?: string;
|
|
69
|
+
appId?: string;
|
|
70
|
+
};
|
|
71
|
+
firestore: {
|
|
72
|
+
enablePersistence: boolean;
|
|
73
|
+
/**
|
|
74
|
+
* Specifies custom configurations for your Cloud Firestore instance.
|
|
75
|
+
* You must set these before invoking any other methods.
|
|
76
|
+
*/
|
|
77
|
+
settings: FirestoreSettings;
|
|
78
|
+
/**
|
|
79
|
+
* Settings that can be passed to Firestore.enablePersistence() to configure
|
|
80
|
+
* Firestore persistence.
|
|
81
|
+
*/
|
|
82
|
+
persistenceSettings: PersistenceSettings;
|
|
83
|
+
};
|
|
84
|
+
/**
|
|
85
|
+
* @deprecated use storage.bucket
|
|
86
|
+
*/
|
|
87
|
+
storageBucket: string | null;
|
|
88
|
+
/**
|
|
89
|
+
* @deprecated use functions.region
|
|
90
|
+
*/
|
|
91
|
+
region: string | null;
|
|
92
|
+
/**
|
|
93
|
+
* @deprecated use functions.origin
|
|
94
|
+
*/
|
|
95
|
+
origin: string | null;
|
|
96
|
+
/**
|
|
97
|
+
* @deprecated use messaging.origin
|
|
98
|
+
*/
|
|
99
|
+
vapid: string | null;
|
|
100
|
+
storage: {
|
|
101
|
+
bucket?: string;
|
|
102
|
+
maxUploadRetryTime?: number;
|
|
103
|
+
maxOperationRetryTime?: number;
|
|
104
|
+
};
|
|
105
|
+
analytics?: {
|
|
106
|
+
enabled?: boolean;
|
|
107
|
+
};
|
|
108
|
+
messaging: {
|
|
109
|
+
vapid: string | null;
|
|
110
|
+
};
|
|
111
|
+
functions: {
|
|
112
|
+
region: string | null;
|
|
113
|
+
origin: string | null;
|
|
114
|
+
};
|
|
115
|
+
emulator: {
|
|
116
|
+
firestore?: [string, number];
|
|
117
|
+
functions?: [string, number];
|
|
118
|
+
auth?: [string, number];
|
|
119
|
+
};
|
|
120
|
+
appCheck: {
|
|
121
|
+
isTokenAutoRefreshEnabled?: boolean;
|
|
122
|
+
/**
|
|
123
|
+
* reCaptcha key
|
|
124
|
+
*/
|
|
125
|
+
siteKey?: string;
|
|
126
|
+
};
|
|
127
|
+
auth: {
|
|
128
|
+
tenantId?: string;
|
|
129
|
+
languageCode?: string;
|
|
130
|
+
useDeviceLanguage?: boolean;
|
|
131
|
+
persistence?: boolean;
|
|
132
|
+
settings?: AuthSettings;
|
|
133
|
+
google: boolean;
|
|
134
|
+
facebook: boolean;
|
|
135
|
+
twitter: boolean;
|
|
136
|
+
github: boolean;
|
|
139
137
|
};
|
|
138
|
+
};
|
|
140
139
|
}
|
|
141
|
-
|
|
142
|
-
declare function
|
|
143
|
-
declare function
|
|
144
|
-
declare function
|
|
145
|
-
declare function
|
|
146
|
-
declare function
|
|
147
|
-
declare function
|
|
148
|
-
declare function
|
|
149
|
-
declare function
|
|
150
|
-
declare function
|
|
151
|
-
declare function
|
|
152
|
-
declare function
|
|
153
|
-
declare function
|
|
154
|
-
declare function
|
|
155
|
-
declare function
|
|
156
|
-
declare function
|
|
157
|
-
declare function
|
|
158
|
-
declare function
|
|
159
|
-
declare function
|
|
160
|
-
declare function
|
|
161
|
-
declare function
|
|
162
|
-
declare function
|
|
163
|
-
declare function
|
|
164
|
-
declare function
|
|
165
|
-
declare function
|
|
166
|
-
declare function
|
|
167
|
-
declare function
|
|
168
|
-
declare function
|
|
169
|
-
declare
|
|
170
|
-
declare const
|
|
171
|
-
declare const
|
|
172
|
-
declare const
|
|
173
|
-
declare const
|
|
174
|
-
declare const
|
|
175
|
-
declare const
|
|
176
|
-
declare const
|
|
177
|
-
declare const
|
|
178
|
-
declare const
|
|
179
|
-
declare const
|
|
180
|
-
|
|
181
|
-
declare const USE_STORAGE_EMULATOR: InjectionToken<[string, number]>;
|
|
140
|
+
export declare function FirebaseOptionsTokenFactory(configService: ConfigService<FirebaseConfig>): any;
|
|
141
|
+
export declare function FirebaseNameOrConfigTokenFactory(configService: ConfigService<FirebaseConfig>): any;
|
|
142
|
+
export declare function EnablePersistenceTokenFactory(configService: ConfigService<FirebaseConfig>): any;
|
|
143
|
+
export declare function PersistenceSettingsTokenFactory(configService: ConfigService<FirebaseConfig>): any;
|
|
144
|
+
export declare function FirestoreSettingsTokenFactory(configService: ConfigService<FirebaseConfig>): any;
|
|
145
|
+
export declare function FunctionsRegionFactory(configService: ConfigService<FirebaseConfig>): any;
|
|
146
|
+
export declare function FunctionsOriginFactory(configService: ConfigService<FirebaseConfig>): any;
|
|
147
|
+
export declare function FunctionsNewOriginBehaviorFactory(configService: ConfigService<FirebaseConfig>): any;
|
|
148
|
+
export declare function InstrumentationEnabledFactory(configService: ConfigService<FirebaseConfig>): any;
|
|
149
|
+
export declare function DataCollectionEnabledFactory(configService: ConfigService<FirebaseConfig>): any;
|
|
150
|
+
export declare function VapidKeyFactory(configService: ConfigService<FirebaseConfig>): any;
|
|
151
|
+
export declare function AnalyticsEnabledFactory(configService: ConfigService<FirebaseConfig>): any;
|
|
152
|
+
export declare function GetAnalyticsAppName(config: ConfigService): string | undefined;
|
|
153
|
+
export declare function UseFirestoreEmulatorFactory(configService: ConfigService<FirebaseConfig>): any;
|
|
154
|
+
export declare function UseFunctionsEmulatorFactory(configService: ConfigService<FirebaseConfig>): any;
|
|
155
|
+
export declare function UseAuthEmulatorFactory(configService: ConfigService<FirebaseConfig>): any;
|
|
156
|
+
export declare function AuthTenantIdFactory(configService: ConfigService<FirebaseConfig>): any;
|
|
157
|
+
export declare function AuthLanguageCodeFactory(configService: ConfigService<FirebaseConfig>): any;
|
|
158
|
+
export declare function AuthUseDeviceLanguageFactory(configService: ConfigService<FirebaseConfig>): any;
|
|
159
|
+
export declare function AuthPersistenceFactory(configService: ConfigService<FirebaseConfig>): any;
|
|
160
|
+
export declare function AuthSettingsFactory(configService: ConfigService<FirebaseConfig>): any;
|
|
161
|
+
export declare function AppCheckEnabledFactory(configService: ConfigService<FirebaseConfig>): any;
|
|
162
|
+
export declare function AppCheckSiteKeyFactory(configService: ConfigService<FirebaseConfig>): any;
|
|
163
|
+
export declare function AppIsTokenAutoRefreshEnabledFactory(configService: ConfigService<FirebaseConfig>): any;
|
|
164
|
+
export declare function StorageBucketFactory(configService: ConfigService<FirebaseConfig>): any;
|
|
165
|
+
export declare function StorageMaxUploadRetryTimeFactory(configService: ConfigService<FirebaseConfig>): any;
|
|
166
|
+
export declare function StorageMaxOperationRetryTimeFactory(configService: ConfigService<FirebaseConfig>): any;
|
|
167
|
+
export declare function ServiceWorkerFactory(): false | Promise<ServiceWorkerRegistration | undefined>;
|
|
168
|
+
export declare const FIREBASE_APP_PROVIDERS: Provider[];
|
|
169
|
+
export declare const FIREBASE_FIRESTORE_PROVIDERS: Provider[];
|
|
170
|
+
export declare const FIREBASE_FUNCTIONS_PROVIDERS: Provider[];
|
|
171
|
+
export declare const FIREBASE_MESSAGING_PROVIDERS: Provider[];
|
|
172
|
+
export declare const FIREBASE_PERFORMANCE_PROVIDERS: Provider[];
|
|
173
|
+
export declare const FIREBASE_ANALYTICS_PROVIDERS: Provider[];
|
|
174
|
+
export declare const FIREBASE_AUTH_PROVIDERS: Provider[];
|
|
175
|
+
export declare const FIREBASE_APP_CHECK_PROVIDERS: Provider[];
|
|
176
|
+
export declare const FIREBASE_STORAGE_PROVIDERS: Provider[];
|
|
177
|
+
export declare const FIREBASE_PROVIDERS: Provider[];
|
|
178
|
+
export declare const USE_STORAGE_EMULATOR: InjectionToken<[string, number]>;
|
|
182
179
|
/**
|
|
183
180
|
* Connects the AngularFireStorage to the emulator if USE_STORAGE_EMULATOR is provided
|
|
184
181
|
* (replaces the former RxapAngularFireStorageModule).
|
|
185
182
|
*/
|
|
186
|
-
declare function provideAngularFireStorageEmulator(): EnvironmentProviders;
|
|
187
|
-
|
|
188
|
-
declare const
|
|
189
|
-
declare const
|
|
190
|
-
declare const
|
|
191
|
-
declare const
|
|
192
|
-
declare const FIREBASE_APP_CHECK_HTTP_INTERCEPTOR_URL_PATTERN: InjectionToken<RegExp>;
|
|
193
|
-
|
|
194
|
-
export { APP_CHECK_ENABLED, APP_CHECK_IS_TOKEN_AUTO_REFRESH_ENABLED, APP_CHECK_SITE_KEY, AnalyticsEnabledFactory, AppCheckEnabledFactory, AppCheckService, AppCheckSiteKeyFactory, AppIsTokenAutoRefreshEnabledFactory, AuthLanguageCodeFactory, AuthPersistenceFactory, AuthSettingsFactory, AuthTenantIdFactory, AuthUseDeviceLanguageFactory, DataCollectionEnabledFactory, EnablePersistenceTokenFactory, FIREBASE_ANALYTICS_PROVIDERS, FIREBASE_APP_CHECK_HTTP_INTERCEPTOR, FIREBASE_APP_CHECK_HTTP_INTERCEPTOR_URL_PATTERN, FIREBASE_APP_CHECK_PROVIDERS, FIREBASE_APP_PROVIDERS, FIREBASE_AUTH_PROVIDERS, FIREBASE_FIRESTORE_PROVIDERS, FIREBASE_FUNCTIONS_PROVIDERS, FIREBASE_MESSAGING_PROVIDERS, FIREBASE_PERFORMANCE_PROVIDERS, FIREBASE_PROVIDERS, FIREBASE_STORAGE_PROVIDERS, FirebaseAppCheckHttpInterceptor, FirebaseNameOrConfigTokenFactory, FirebaseOptionsTokenFactory, FirestoreSettingsTokenFactory, FunctionsNewOriginBehaviorFactory, FunctionsOriginFactory, FunctionsRegionFactory, GetAnalyticsAppName, InstrumentationEnabledFactory, PersistenceSettingsTokenFactory, RXAP_REQUEST_CLOUD_MESSAGING_TOKEN, RxapFirebaseMessagingService, ServiceWorkerFactory, StorageBucketFactory, StorageMaxOperationRetryTimeFactory, StorageMaxUploadRetryTimeFactory, USE_STORAGE_EMULATOR, UseAuthEmulatorFactory, UseFirestoreEmulatorFactory, UseFunctionsEmulatorFactory, VapidKeyFactory, provideAngularFireAppCheck, provideAngularFireStorageEmulator };
|
|
195
|
-
export type { FirebaseConfig, Message };
|
|
183
|
+
export declare function provideAngularFireStorageEmulator(): EnvironmentProviders;
|
|
184
|
+
export declare const RXAP_REQUEST_CLOUD_MESSAGING_TOKEN: InjectionToken<unknown>;
|
|
185
|
+
export declare const APP_CHECK_ENABLED: InjectionToken<unknown>;
|
|
186
|
+
export declare const APP_CHECK_SITE_KEY: InjectionToken<unknown>;
|
|
187
|
+
export declare const APP_CHECK_IS_TOKEN_AUTO_REFRESH_ENABLED: InjectionToken<unknown>;
|
|
188
|
+
export declare const FIREBASE_APP_CHECK_HTTP_INTERCEPTOR_URL_PATTERN: InjectionToken<RegExp>;
|