@angular/fire 19.2.0 → 20.0.0-canary.eb99d8e
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/ai/index.d.ts +32 -5
- package/analytics/index.d.ts +87 -5
- package/app/index.d.ts +36 -5
- package/app-check/index.d.ts +33 -5
- package/auth/index.d.ts +86 -5
- package/auth-guard/index.d.ts +43 -5
- package/compat/analytics/index.d.ts +52 -5
- package/compat/auth/index.d.ts +58 -5
- package/compat/auth-guard/index.d.ts +44 -5
- package/compat/database/index.d.ts +107 -3
- package/compat/firestore/index.d.ts +450 -3
- package/compat/functions/index.d.ts +31 -5
- package/compat/index.d.ts +57 -5
- package/compat/messaging/index.d.ts +32 -5
- package/compat/performance/index.d.ts +43 -5
- package/compat/remote-config/index.d.ts +64 -5
- package/compat/storage/index.d.ts +104 -3
- package/data-connect/index.d.ts +34 -5
- package/database/index.d.ts +77 -5
- package/fesm2022/angular-fire-ai.mjs +4 -4
- package/fesm2022/angular-fire-analytics.mjs +10 -10
- package/fesm2022/angular-fire-app-check.mjs +4 -4
- package/fesm2022/angular-fire-app.mjs +5 -5
- package/fesm2022/angular-fire-auth-guard.mjs +7 -7
- package/fesm2022/angular-fire-auth.mjs +4 -4
- package/fesm2022/angular-fire-compat-analytics.mjs +14 -14
- package/fesm2022/angular-fire-compat-auth-guard.mjs +7 -7
- package/fesm2022/angular-fire-compat-auth.mjs +8 -8
- package/fesm2022/angular-fire-compat-database.mjs +9 -9
- package/fesm2022/angular-fire-compat-firestore.mjs +9 -9
- package/fesm2022/angular-fire-compat-functions.mjs +8 -8
- package/fesm2022/angular-fire-compat-messaging.mjs +8 -8
- package/fesm2022/angular-fire-compat-messaging.mjs.map +1 -1
- package/fesm2022/angular-fire-compat-performance.mjs +11 -11
- package/fesm2022/angular-fire-compat-remote-config.mjs +8 -8
- package/fesm2022/angular-fire-compat-storage.mjs +16 -16
- package/fesm2022/angular-fire-compat.mjs +5 -5
- package/fesm2022/angular-fire-data-connect.mjs +4 -4
- package/fesm2022/angular-fire-database.mjs +4 -4
- package/fesm2022/angular-fire-firestore-lite.mjs +4 -4
- package/fesm2022/angular-fire-firestore.mjs +4 -4
- package/fesm2022/angular-fire-functions.mjs +4 -4
- package/fesm2022/angular-fire-messaging.mjs +4 -4
- package/fesm2022/angular-fire-performance.mjs +4 -4
- package/fesm2022/angular-fire-remote-config.mjs +4 -4
- package/fesm2022/angular-fire-storage.mjs +4 -4
- package/fesm2022/angular-fire-vertexai.mjs +4 -4
- package/fesm2022/angular-fire.mjs +9 -6
- package/fesm2022/angular-fire.mjs.map +1 -1
- package/firestore/index.d.ts +99 -5
- package/firestore/lite/index.d.ts +77 -5
- package/functions/index.d.ts +35 -5
- package/index.d.ts +34 -3
- package/messaging/index.d.ts +33 -5
- package/package.json +13 -13
- package/performance/index.d.ts +40 -5
- package/publish.sh +1 -1
- package/remote-config/index.d.ts +48 -5
- package/schematics/add/index.js +1 -1
- package/schematics/deploy/actions.js +76 -86
- package/schematics/deploy/builder.js +166 -176
- package/schematics/setup/index.js +147 -162
- package/schematics/update/v7/index.js +1 -1
- package/storage/index.d.ts +47 -5
- package/vertexai/index.d.ts +33 -5
- package/ai/ai.d.ts +0 -13
- package/ai/ai.module.d.ts +0 -15
- package/ai/firebase.d.ts +0 -6
- package/ai/public_api.d.ts +0 -3
- package/analytics/analytics.d.ts +0 -13
- package/analytics/analytics.module.d.ts +0 -17
- package/analytics/firebase.d.ts +0 -14
- package/analytics/public_api.d.ts +0 -5
- package/analytics/screen-tracking.service.d.ts +0 -40
- package/analytics/user-tracking.service.d.ts +0 -11
- package/app/app.d.ts +0 -12
- package/app/app.module.d.ts +0 -14
- package/app/firebase.d.ts +0 -10
- package/app/public_api.d.ts +0 -3
- package/app-check/app-check.d.ts +0 -13
- package/app-check/app-check.module.d.ts +0 -15
- package/app-check/firebase.d.ts +0 -7
- package/app-check/public_api.d.ts +0 -3
- package/auth/auth.d.ts +0 -13
- package/auth/auth.module.d.ts +0 -15
- package/auth/firebase.d.ts +0 -55
- package/auth/public_api.d.ts +0 -4
- package/auth/rxfire.d.ts +0 -4
- package/auth-guard/auth-guard.d.ts +0 -29
- package/auth-guard/auth-guard.module.d.ts +0 -7
- package/auth-guard/public_api.d.ts +0 -2
- package/compat/analytics/analytics.d.ts +0 -22
- package/compat/analytics/analytics.module.d.ts +0 -10
- package/compat/analytics/base.d.ts +0 -8
- package/compat/analytics/public_api.d.ts +0 -4
- package/compat/analytics/screen-tracking.service.d.ts +0 -13
- package/compat/analytics/user-tracking.service.d.ts +0 -12
- package/compat/auth/auth.d.ts +0 -50
- package/compat/auth/auth.module.d.ts +0 -7
- package/compat/auth/base.d.ts +0 -36
- package/compat/auth/public_api.d.ts +0 -3
- package/compat/auth-guard/auth-guard.d.ts +0 -31
- package/compat/auth-guard/auth-guard.module.d.ts +0 -7
- package/compat/auth-guard/public_api.d.ts +0 -2
- package/compat/cache.d.ts +0 -1
- package/compat/database/database.d.ts +0 -28
- package/compat/database/database.module.d.ts +0 -7
- package/compat/database/interfaces.d.ts +0 -62
- package/compat/database/list/audit-trail.d.ts +0 -3
- package/compat/database/list/changes.d.ts +0 -3
- package/compat/database/list/create-reference.d.ts +0 -4
- package/compat/database/list/data-operation.d.ts +0 -2
- package/compat/database/list/remove.d.ts +0 -2
- package/compat/database/list/snapshot-changes.d.ts +0 -3
- package/compat/database/list/state-changes.d.ts +0 -3
- package/compat/database/list/utils.d.ts +0 -1
- package/compat/database/object/create-reference.d.ts +0 -4
- package/compat/database/object/snapshot-changes.d.ts +0 -3
- package/compat/database/observable/fromRef.d.ts +0 -10
- package/compat/database/public_api.d.ts +0 -8
- package/compat/database/utils.d.ts +0 -14
- package/compat/firebase.app.d.ts +0 -6
- package/compat/firebase.app.module.d.ts +0 -14
- package/compat/firestore/collection/changes.d.ts +0 -22
- package/compat/firestore/collection/collection.d.ts +0 -90
- package/compat/firestore/collection-group/collection-group.d.ts +0 -65
- package/compat/firestore/document/document.d.ts +0 -74
- package/compat/firestore/firestore.d.ts +0 -131
- package/compat/firestore/firestore.module.d.ts +0 -13
- package/compat/firestore/interfaces.d.ts +0 -70
- package/compat/firestore/observable/fromRef.d.ts +0 -5
- package/compat/firestore/public_api.d.ts +0 -8
- package/compat/functions/base.d.ts +0 -5
- package/compat/functions/functions.d.ts +0 -21
- package/compat/functions/functions.module.d.ts +0 -7
- package/compat/functions/public_api.d.ts +0 -3
- package/compat/messaging/base.d.ts +0 -6
- package/compat/messaging/messaging.d.ts +0 -22
- package/compat/messaging/messaging.module.d.ts +0 -7
- package/compat/messaging/public_api.d.ts +0 -2
- package/compat/performance/base.d.ts +0 -6
- package/compat/performance/performance.d.ts +0 -26
- package/compat/performance/performance.module.d.ts +0 -9
- package/compat/performance/performance.service.d.ts +0 -9
- package/compat/performance/public_api.d.ts +0 -3
- package/compat/proxy.d.ts +0 -32
- package/compat/public_api.d.ts +0 -4
- package/compat/remote-config/base.d.ts +0 -17
- package/compat/remote-config/interfaces.d.ts +0 -2
- package/compat/remote-config/public_api.d.ts +0 -2
- package/compat/remote-config/remote-config.d.ts +0 -52
- package/compat/remote-config/remote-config.module.d.ts +0 -7
- package/compat/storage/interfaces.d.ts +0 -9
- package/compat/storage/observable/fromTask.d.ts +0 -3
- package/compat/storage/pipes/storageUrl.pipe.d.ts +0 -21
- package/compat/storage/public_api.d.ts +0 -6
- package/compat/storage/ref.d.ts +0 -20
- package/compat/storage/storage.d.ts +0 -31
- package/compat/storage/storage.module.d.ts +0 -8
- package/compat/storage/task.d.ts +0 -18
- package/core.d.ts +0 -6
- package/data-connect/data-connect.d.ts +0 -9
- package/data-connect/data-connect.module.d.ts +0 -13
- package/data-connect/firebase.d.ts +0 -12
- package/data-connect/public_api.d.ts +0 -3
- package/database/database.d.ts +0 -13
- package/database/database.module.d.ts +0 -15
- package/database/firebase.d.ts +0 -40
- package/database/public_api.d.ts +0 -4
- package/database/rxfire.d.ts +0 -10
- package/firestore/firebase.d.ts +0 -60
- package/firestore/firestore.d.ts +0 -13
- package/firestore/firestore.module.d.ts +0 -15
- package/firestore/lite/firebase.d.ts +0 -41
- package/firestore/lite/lite.d.ts +0 -13
- package/firestore/lite/lite.module.d.ts +0 -15
- package/firestore/lite/public_api.d.ts +0 -4
- package/firestore/lite/rxfire.d.ts +0 -9
- package/firestore/public_api.d.ts +0 -4
- package/firestore/rxfire.d.ts +0 -12
- package/functions/firebase.d.ts +0 -6
- package/functions/functions.d.ts +0 -13
- package/functions/functions.module.d.ts +0 -15
- package/functions/public_api.d.ts +0 -4
- package/functions/rxfire.d.ts +0 -2
- package/messaging/firebase.d.ts +0 -7
- package/messaging/messaging.d.ts +0 -13
- package/messaging/messaging.module.d.ts +0 -14
- package/messaging/public_api.d.ts +0 -3
- package/performance/firebase.d.ts +0 -5
- package/performance/performance.d.ts +0 -13
- package/performance/performance.module.d.ts +0 -15
- package/performance/public_api.d.ts +0 -4
- package/performance/rxfire.d.ts +0 -8
- package/public_api.d.ts +0 -2
- package/remote-config/firebase.d.ts +0 -15
- package/remote-config/public_api.d.ts +0 -4
- package/remote-config/remote-config.d.ts +0 -13
- package/remote-config/remote-config.module.d.ts +0 -15
- package/remote-config/rxfire.d.ts +0 -6
- package/storage/firebase.d.ts +0 -17
- package/storage/public_api.d.ts +0 -4
- package/storage/rxfire.d.ts +0 -3
- package/storage/storage.d.ts +0 -13
- package/storage/storage.module.d.ts +0 -15
- package/vertexai/firebase.d.ts +0 -6
- package/vertexai/public_api.d.ts +0 -3
- package/vertexai/vertexai.d.ts +0 -13
- package/vertexai/vertexai.module.d.ts +0 -15
- package/zones.d.ts +0 -26
|
@@ -1,5 +1,64 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { InjectionToken, NgZone } from '@angular/core';
|
|
3
|
+
import { ɵAngularFireSchedulers as _AngularFireSchedulers } from '@angular/fire';
|
|
4
|
+
import { ɵPromiseProxy as _PromiseProxy } from '@angular/fire/compat';
|
|
5
|
+
import { FirebaseOptions } from 'firebase/app';
|
|
6
|
+
import firebase from 'firebase/compat/app';
|
|
7
|
+
import { Observable, MonoTypeOperatorFunction, OperatorFunction } from 'rxjs';
|
|
8
|
+
|
|
9
|
+
type Settings = firebase.remoteConfig.Settings;
|
|
10
|
+
|
|
11
|
+
type ConfigTemplate = Record<string, string | number | boolean>;
|
|
12
|
+
declare const SETTINGS: InjectionToken<firebase.remoteConfig.Settings>;
|
|
13
|
+
declare const DEFAULTS: InjectionToken<ConfigTemplate>;
|
|
14
|
+
declare class Value implements firebase.remoteConfig.Value {
|
|
15
|
+
_source: firebase.remoteConfig.ValueSource;
|
|
16
|
+
_value: string;
|
|
17
|
+
asBoolean(): boolean;
|
|
18
|
+
asString(): string;
|
|
19
|
+
asNumber(): number;
|
|
20
|
+
getSource(): firebase.remoteConfig.ValueSource;
|
|
21
|
+
constructor(_source: firebase.remoteConfig.ValueSource, _value: string);
|
|
22
|
+
}
|
|
23
|
+
declare class Parameter extends Value {
|
|
24
|
+
key: string;
|
|
25
|
+
fetchTimeMillis: number;
|
|
26
|
+
constructor(key: string, fetchTimeMillis: number, source: firebase.remoteConfig.ValueSource, value: string);
|
|
27
|
+
}
|
|
28
|
+
declare const filterRemote: () => MonoTypeOperatorFunction<Parameter | Parameter[]>;
|
|
29
|
+
declare const filterFresh: (howRecentInMillis: number) => MonoTypeOperatorFunction<Parameter | Parameter[]>;
|
|
30
|
+
interface AngularFireRemoteConfig extends _PromiseProxy<firebase.remoteConfig.RemoteConfig> {
|
|
31
|
+
}
|
|
32
|
+
declare class AngularFireRemoteConfig {
|
|
33
|
+
private zone;
|
|
34
|
+
readonly changes: Observable<Parameter>;
|
|
35
|
+
readonly parameters: Observable<Parameter[]>;
|
|
36
|
+
readonly numbers: Observable<Record<string, number | undefined>> & Record<string, Observable<number>>;
|
|
37
|
+
readonly booleans: Observable<Record<string, boolean | undefined>> & Record<string, Observable<boolean>>;
|
|
38
|
+
readonly strings: Observable<Record<string, string | undefined>> & Record<string, Observable<string | undefined>>;
|
|
39
|
+
private readonly injector;
|
|
40
|
+
constructor(options: FirebaseOptions, name: string | null | undefined, settings: Settings | null, defaultConfig: ConfigTemplate | null, zone: NgZone, schedulers: _AngularFireSchedulers, platformId: Object);
|
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AngularFireRemoteConfig, [null, { optional: true; }, { optional: true; }, { optional: true; }, null, null, null]>;
|
|
42
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AngularFireRemoteConfig>;
|
|
43
|
+
}
|
|
44
|
+
declare const budget: <T>(interval: number) => MonoTypeOperatorFunction<T>;
|
|
45
|
+
declare function scanToObject(): OperatorFunction<Parameter, Record<string, string | undefined>>;
|
|
46
|
+
declare function scanToObject(to: 'numbers'): OperatorFunction<Parameter, Record<string, number | undefined>>;
|
|
47
|
+
declare function scanToObject(to: 'booleans'): OperatorFunction<Parameter, Record<string, boolean | undefined>>;
|
|
48
|
+
declare function scanToObject(to: 'strings'): OperatorFunction<Parameter, Record<string, string | undefined>>;
|
|
49
|
+
declare function scanToObject<T extends ConfigTemplate>(template: T): OperatorFunction<Parameter, T & Record<string, string | undefined>>;
|
|
50
|
+
declare function mapToObject(): OperatorFunction<Parameter[], Record<string, string | undefined>>;
|
|
51
|
+
declare function mapToObject(to: 'numbers'): OperatorFunction<Parameter[], Record<string, number | undefined>>;
|
|
52
|
+
declare function mapToObject(to: 'booleans'): OperatorFunction<Parameter[], Record<string, boolean | undefined>>;
|
|
53
|
+
declare function mapToObject(to: 'strings'): OperatorFunction<Parameter[], Record<string, string | undefined>>;
|
|
54
|
+
declare function mapToObject<T extends ConfigTemplate>(template: T): OperatorFunction<Parameter[], T & Record<string, string | undefined>>;
|
|
55
|
+
|
|
56
|
+
declare class AngularFireRemoteConfigModule {
|
|
57
|
+
constructor();
|
|
58
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AngularFireRemoteConfigModule, never>;
|
|
59
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AngularFireRemoteConfigModule, never, never, never>;
|
|
60
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AngularFireRemoteConfigModule>;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export { AngularFireRemoteConfig, AngularFireRemoteConfigModule, DEFAULTS, Parameter, SETTINGS, Value, budget, filterFresh, filterRemote, mapToObject, scanToObject };
|
|
64
|
+
export type { ConfigTemplate };
|
|
@@ -1,5 +1,106 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Injector, InjectionToken, NgZone, PipeTransform, OnDestroy, ChangeDetectorRef, TransferState } from '@angular/core';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import firebase from 'firebase/compat/app';
|
|
5
|
+
import * as _angular_fire_compat_storage from '@angular/fire/compat/storage';
|
|
6
|
+
import { ɵAngularFireSchedulers as _AngularFireSchedulers } from '@angular/fire';
|
|
7
|
+
import { AppCheckInstances } from '@angular/fire/app-check';
|
|
8
|
+
import { FirebaseOptions } from 'firebase/app';
|
|
9
|
+
import * as firebase_compat from 'firebase/compat';
|
|
10
|
+
|
|
11
|
+
type UploadTask = firebase.storage.UploadTask;
|
|
12
|
+
type UploadTaskSnapshot = firebase.storage.UploadTaskSnapshot;
|
|
13
|
+
type UploadMetadata = firebase.storage.UploadMetadata;
|
|
14
|
+
type SettableMetadata = firebase.storage.SettableMetadata;
|
|
15
|
+
type Reference = firebase.storage.Reference;
|
|
16
|
+
type ListResult = firebase.storage.ListResult;
|
|
17
|
+
type ListOptions = firebase.storage.ListOptions;
|
|
18
|
+
|
|
19
|
+
interface AngularFireUploadTask {
|
|
20
|
+
task: UploadTask;
|
|
21
|
+
snapshotChanges(): Observable<UploadTaskSnapshot | undefined>;
|
|
22
|
+
percentageChanges(): Observable<number | undefined>;
|
|
23
|
+
pause(): boolean;
|
|
24
|
+
cancel(): boolean;
|
|
25
|
+
resume(): boolean;
|
|
26
|
+
then(onFulfilled?: ((a: UploadTaskSnapshot) => any) | null, onRejected?: ((a: Error) => any) | null): Promise<any>;
|
|
27
|
+
catch(onRejected: (a: Error) => any): Promise<any>;
|
|
28
|
+
}
|
|
1
29
|
/**
|
|
2
|
-
*
|
|
30
|
+
* Create an AngularFireUploadTask from a regular UploadTask from the Storage SDK.
|
|
31
|
+
* This method creates an observable of the upload and returns on object that provides
|
|
32
|
+
* multiple methods for controlling and monitoring the file upload.
|
|
3
33
|
*/
|
|
4
|
-
|
|
5
|
-
|
|
34
|
+
declare function createUploadTask(task: UploadTask): AngularFireUploadTask;
|
|
35
|
+
|
|
36
|
+
interface AngularFireStorageReference {
|
|
37
|
+
getDownloadURL(): Observable<any>;
|
|
38
|
+
getMetadata(): Observable<any>;
|
|
39
|
+
delete(): Observable<any>;
|
|
40
|
+
child(path: string): AngularFireStorageReference;
|
|
41
|
+
updateMetadata(meta: SettableMetadata): Observable<any>;
|
|
42
|
+
put(data: any, metadata?: UploadMetadata | undefined): AngularFireUploadTask;
|
|
43
|
+
putString(data: string, format?: string | undefined, metadata?: UploadMetadata | undefined): AngularFireUploadTask;
|
|
44
|
+
list(options?: ListOptions): Observable<ListResult>;
|
|
45
|
+
listAll(): Observable<ListResult>;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Create an AngularFire wrapped Storage Reference. This object
|
|
49
|
+
* creates observable methods from promise based methods.
|
|
50
|
+
*/
|
|
51
|
+
declare function createStorageRef(ref: Reference, injector?: Injector): AngularFireStorageReference;
|
|
52
|
+
|
|
53
|
+
declare const BUCKET: InjectionToken<string>;
|
|
54
|
+
declare const MAX_UPLOAD_RETRY_TIME: InjectionToken<number>;
|
|
55
|
+
declare const MAX_OPERATION_RETRY_TIME: InjectionToken<number>;
|
|
56
|
+
declare const USE_EMULATOR: InjectionToken<[host: string, port: number, options?: {
|
|
57
|
+
mockUserToken?: firebase.EmulatorMockTokenOptions | string;
|
|
58
|
+
}]>;
|
|
59
|
+
/**
|
|
60
|
+
* AngularFireStorage Service
|
|
61
|
+
*
|
|
62
|
+
* This service is the main entry point for this feature module. It provides
|
|
63
|
+
* an API for uploading and downloading binary files from Cloud Storage for
|
|
64
|
+
* Firebase.
|
|
65
|
+
*/
|
|
66
|
+
declare class AngularFireStorage {
|
|
67
|
+
readonly storage: firebase.storage.Storage;
|
|
68
|
+
private readonly injector;
|
|
69
|
+
constructor(options: FirebaseOptions, name: string | null | undefined, storageBucket: string | null, platformId: Object, zone: NgZone, schedulers: _AngularFireSchedulers, maxUploadRetryTime: any, maxOperationRetryTime: any, _useEmulator: any, _appCheckInstances: AppCheckInstances);
|
|
70
|
+
ref(path: string): AngularFireStorageReference;
|
|
71
|
+
refFromURL(path: string): AngularFireStorageReference;
|
|
72
|
+
upload(path: string, data: any, metadata?: UploadMetadata): _angular_fire_compat_storage.AngularFireUploadTask;
|
|
73
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AngularFireStorage, [null, { optional: true; }, { optional: true; }, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }]>;
|
|
74
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AngularFireStorage>;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
declare function fromTask(task: UploadTask): Observable<firebase_compat.default.storage.UploadTaskSnapshot>;
|
|
78
|
+
|
|
79
|
+
/** to be used with in combination with | async */
|
|
80
|
+
declare class GetDownloadURLPipe implements PipeTransform, OnDestroy {
|
|
81
|
+
private storage;
|
|
82
|
+
private state;
|
|
83
|
+
private asyncPipe;
|
|
84
|
+
private path;
|
|
85
|
+
private downloadUrl$;
|
|
86
|
+
constructor(storage: AngularFireStorage, cdr: ChangeDetectorRef, state: TransferState);
|
|
87
|
+
transform(path: string): any;
|
|
88
|
+
ngOnDestroy(): void;
|
|
89
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GetDownloadURLPipe, [null, null, { optional: true; }]>;
|
|
90
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<GetDownloadURLPipe, "getDownloadURL", true>;
|
|
91
|
+
}
|
|
92
|
+
declare class GetDownloadURLPipeModule {
|
|
93
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GetDownloadURLPipeModule, never>;
|
|
94
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<GetDownloadURLPipeModule, never, [typeof GetDownloadURLPipe], [typeof GetDownloadURLPipe]>;
|
|
95
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<GetDownloadURLPipeModule>;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
declare class AngularFireStorageModule {
|
|
99
|
+
constructor();
|
|
100
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AngularFireStorageModule, never>;
|
|
101
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AngularFireStorageModule, never, [typeof GetDownloadURLPipeModule], [typeof GetDownloadURLPipeModule]>;
|
|
102
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AngularFireStorageModule>;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
export { AngularFireStorage, AngularFireStorageModule, BUCKET, GetDownloadURLPipe, GetDownloadURLPipeModule, MAX_OPERATION_RETRY_TIME, MAX_UPLOAD_RETRY_TIME, USE_EMULATOR, createStorageRef, createUploadTask, fromTask };
|
|
106
|
+
export type { AngularFireStorageReference, AngularFireUploadTask };
|
package/data-connect/index.d.ts
CHANGED
|
@@ -1,5 +1,34 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import * as rxjs from 'rxjs';
|
|
2
|
+
import { DataConnect, connectDataConnectEmulator as connectDataConnectEmulator$1, executeMutation as executeMutation$1, executeQuery as executeQuery$1, getDataConnect as getDataConnect$1, mutationRef as mutationRef$1, queryRef as queryRef$1, setLogLevel as setLogLevel$1, subscribe as subscribe$1, terminate as terminate$1, toQueryRef as toQueryRef$1 } from 'firebase/data-connect';
|
|
3
|
+
export * from 'firebase/data-connect';
|
|
4
|
+
export { DataConnect } from 'firebase/data-connect';
|
|
5
|
+
import * as i0 from '@angular/core';
|
|
6
|
+
import { Injector, EnvironmentProviders } from '@angular/core';
|
|
7
|
+
|
|
8
|
+
interface DataConnectInstances extends Array<DataConnect> {
|
|
9
|
+
}
|
|
10
|
+
declare class DataConnectInstances {
|
|
11
|
+
constructor();
|
|
12
|
+
}
|
|
13
|
+
declare const dataConnectInstance$: rxjs.Observable<DataConnect>;
|
|
14
|
+
|
|
15
|
+
declare class DataConnectModule {
|
|
16
|
+
constructor();
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DataConnectModule, never>;
|
|
18
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DataConnectModule, never, never, never>;
|
|
19
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DataConnectModule>;
|
|
20
|
+
}
|
|
21
|
+
declare function provideDataConnect(fn: (injector: Injector) => DataConnect, ...deps: any[]): EnvironmentProviders;
|
|
22
|
+
|
|
23
|
+
declare const connectDataConnectEmulator: typeof connectDataConnectEmulator$1;
|
|
24
|
+
declare const executeMutation: typeof executeMutation$1;
|
|
25
|
+
declare const executeQuery: typeof executeQuery$1;
|
|
26
|
+
declare const getDataConnect: typeof getDataConnect$1;
|
|
27
|
+
declare const mutationRef: typeof mutationRef$1;
|
|
28
|
+
declare const queryRef: typeof queryRef$1;
|
|
29
|
+
declare const setLogLevel: typeof setLogLevel$1;
|
|
30
|
+
declare const subscribe: typeof subscribe$1;
|
|
31
|
+
declare const terminate: typeof terminate$1;
|
|
32
|
+
declare const toQueryRef: typeof toQueryRef$1;
|
|
33
|
+
|
|
34
|
+
export { DataConnectInstances, DataConnectModule, connectDataConnectEmulator, dataConnectInstance$, executeMutation, executeQuery, getDataConnect, mutationRef, provideDataConnect, queryRef, setLogLevel, subscribe, terminate, toQueryRef };
|
package/database/index.d.ts
CHANGED
|
@@ -1,5 +1,77 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import * as rxjs from 'rxjs';
|
|
2
|
+
import { Database as Database$1, child as child$1, connectDatabaseEmulator as connectDatabaseEmulator$1, enableLogging as enableLogging$1, endAt as endAt$1, endBefore as endBefore$1, equalTo as equalTo$1, forceLongPolling as forceLongPolling$1, forceWebSockets as forceWebSockets$1, get as get$1, getDatabase as getDatabase$1, goOffline as goOffline$1, goOnline as goOnline$1, increment as increment$1, limitToFirst as limitToFirst$1, limitToLast as limitToLast$1, off as off$1, onChildAdded as onChildAdded$1, onChildChanged as onChildChanged$1, onChildMoved as onChildMoved$1, onChildRemoved as onChildRemoved$1, onDisconnect as onDisconnect$1, onValue as onValue$1, orderByChild as orderByChild$1, orderByKey as orderByKey$1, orderByPriority as orderByPriority$1, orderByValue as orderByValue$1, push as push$1, query as query$1, ref as ref$1, refFromURL as refFromURL$1, remove as remove$1, runTransaction as runTransaction$1, set as set$1, setPriority as setPriority$1, setWithPriority as setWithPriority$1, startAfter as startAfter$1, startAt as startAt$1, update as update$1 } from 'firebase/database';
|
|
3
|
+
export * from 'firebase/database';
|
|
4
|
+
import * as i0 from '@angular/core';
|
|
5
|
+
import { Injector, EnvironmentProviders } from '@angular/core';
|
|
6
|
+
import { auditTrail as auditTrail$1, changeToData as changeToData$1, fromRef as fromRef$1, list as list$1, listVal as listVal$1, object as object$1, objectVal as objectVal$1, stateChanges as stateChanges$1 } from 'rxfire/database';
|
|
7
|
+
export { ListenEvent, ListenerMethods } from 'rxfire/database';
|
|
8
|
+
|
|
9
|
+
interface Database extends Database$1 {
|
|
10
|
+
}
|
|
11
|
+
declare class Database {
|
|
12
|
+
constructor(database: Database$1);
|
|
13
|
+
}
|
|
14
|
+
interface DatabaseInstances extends Array<Database$1> {
|
|
15
|
+
}
|
|
16
|
+
declare class DatabaseInstances {
|
|
17
|
+
constructor();
|
|
18
|
+
}
|
|
19
|
+
declare const databaseInstance$: rxjs.Observable<Database$1>;
|
|
20
|
+
|
|
21
|
+
declare class DatabaseModule {
|
|
22
|
+
constructor();
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DatabaseModule, never>;
|
|
24
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DatabaseModule, never, never, never>;
|
|
25
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DatabaseModule>;
|
|
26
|
+
}
|
|
27
|
+
declare function provideDatabase(fn: (injector: Injector) => Database$1, ...deps: any[]): EnvironmentProviders;
|
|
28
|
+
|
|
29
|
+
declare const auditTrail: typeof auditTrail$1;
|
|
30
|
+
declare const changeToData: typeof changeToData$1;
|
|
31
|
+
declare const fromRef: typeof fromRef$1;
|
|
32
|
+
declare const list: typeof list$1;
|
|
33
|
+
declare const listVal: typeof listVal$1;
|
|
34
|
+
declare const object: typeof object$1;
|
|
35
|
+
declare const objectVal: typeof objectVal$1;
|
|
36
|
+
declare const stateChanges: typeof stateChanges$1;
|
|
37
|
+
|
|
38
|
+
declare const child: typeof child$1;
|
|
39
|
+
declare const connectDatabaseEmulator: typeof connectDatabaseEmulator$1;
|
|
40
|
+
declare const enableLogging: typeof enableLogging$1;
|
|
41
|
+
declare const endAt: typeof endAt$1;
|
|
42
|
+
declare const endBefore: typeof endBefore$1;
|
|
43
|
+
declare const equalTo: typeof equalTo$1;
|
|
44
|
+
declare const forceLongPolling: typeof forceLongPolling$1;
|
|
45
|
+
declare const forceWebSockets: typeof forceWebSockets$1;
|
|
46
|
+
declare const get: typeof get$1;
|
|
47
|
+
declare const getDatabase: typeof getDatabase$1;
|
|
48
|
+
declare const goOffline: typeof goOffline$1;
|
|
49
|
+
declare const goOnline: typeof goOnline$1;
|
|
50
|
+
declare const increment: typeof increment$1;
|
|
51
|
+
declare const limitToFirst: typeof limitToFirst$1;
|
|
52
|
+
declare const limitToLast: typeof limitToLast$1;
|
|
53
|
+
declare const off: typeof off$1;
|
|
54
|
+
declare const onChildAdded: typeof onChildAdded$1;
|
|
55
|
+
declare const onChildChanged: typeof onChildChanged$1;
|
|
56
|
+
declare const onChildMoved: typeof onChildMoved$1;
|
|
57
|
+
declare const onChildRemoved: typeof onChildRemoved$1;
|
|
58
|
+
declare const onDisconnect: typeof onDisconnect$1;
|
|
59
|
+
declare const onValue: typeof onValue$1;
|
|
60
|
+
declare const orderByChild: typeof orderByChild$1;
|
|
61
|
+
declare const orderByKey: typeof orderByKey$1;
|
|
62
|
+
declare const orderByPriority: typeof orderByPriority$1;
|
|
63
|
+
declare const orderByValue: typeof orderByValue$1;
|
|
64
|
+
declare const push: typeof push$1;
|
|
65
|
+
declare const query: typeof query$1;
|
|
66
|
+
declare const ref: typeof ref$1;
|
|
67
|
+
declare const refFromURL: typeof refFromURL$1;
|
|
68
|
+
declare const remove: typeof remove$1;
|
|
69
|
+
declare const runTransaction: typeof runTransaction$1;
|
|
70
|
+
declare const set: typeof set$1;
|
|
71
|
+
declare const setPriority: typeof setPriority$1;
|
|
72
|
+
declare const setWithPriority: typeof setWithPriority$1;
|
|
73
|
+
declare const startAfter: typeof startAfter$1;
|
|
74
|
+
declare const startAt: typeof startAt$1;
|
|
75
|
+
declare const update: typeof update$1;
|
|
76
|
+
|
|
77
|
+
export { Database, DatabaseInstances, DatabaseModule, auditTrail, changeToData, child, connectDatabaseEmulator, databaseInstance$, enableLogging, endAt, endBefore, equalTo, forceLongPolling, forceWebSockets, fromRef, get, getDatabase, goOffline, goOnline, increment, limitToFirst, limitToLast, list, listVal, object, objectVal, off, onChildAdded, onChildChanged, onChildMoved, onChildRemoved, onDisconnect, onValue, orderByChild, orderByKey, orderByPriority, orderByValue, provideDatabase, push, query, ref, refFromURL, remove, runTransaction, set, setPriority, setWithPriority, startAfter, startAt, stateChanges, update };
|
|
@@ -51,14 +51,14 @@ class AIModule {
|
|
|
51
51
|
constructor() {
|
|
52
52
|
registerVersion('angularfire', VERSION.full, 'ai');
|
|
53
53
|
}
|
|
54
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
55
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
56
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
54
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: AIModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
55
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.0", ngImport: i0, type: AIModule });
|
|
56
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: AIModule, providers: [
|
|
57
57
|
DEFAULT_AI_INSTANCE_PROVIDER,
|
|
58
58
|
AI_INSTANCES_PROVIDER,
|
|
59
59
|
] });
|
|
60
60
|
}
|
|
61
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
61
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: AIModule, decorators: [{
|
|
62
62
|
type: NgModule,
|
|
63
63
|
args: [{
|
|
64
64
|
providers: [
|
|
@@ -70,10 +70,10 @@ class UserTrackingService {
|
|
|
70
70
|
ngOnDestroy() {
|
|
71
71
|
this.disposables.forEach(it => it.unsubscribe());
|
|
72
72
|
}
|
|
73
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
74
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
73
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: UserTrackingService, deps: [{ token: i1.Auth }, { token: i0.NgZone }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
74
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: UserTrackingService });
|
|
75
75
|
}
|
|
76
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
76
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: UserTrackingService, decorators: [{
|
|
77
77
|
type: Injectable
|
|
78
78
|
}], ctorParameters: () => [{ type: i1.Auth }, { type: i0.NgZone }, { type: i0.Injector }] });
|
|
79
79
|
|
|
@@ -198,10 +198,10 @@ class ScreenTrackingService {
|
|
|
198
198
|
this.disposable.unsubscribe();
|
|
199
199
|
}
|
|
200
200
|
}
|
|
201
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
202
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
201
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: ScreenTrackingService, deps: [{ token: i1$1.Router, optional: true }, { token: i2.Title, optional: true }, { token: i0.ComponentFactoryResolver }, { token: i0.NgZone }, { token: UserTrackingService, optional: true }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
202
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: ScreenTrackingService });
|
|
203
203
|
}
|
|
204
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
204
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: ScreenTrackingService, decorators: [{
|
|
205
205
|
type: Injectable
|
|
206
206
|
}], ctorParameters: () => [{ type: i1$1.Router, decorators: [{
|
|
207
207
|
type: Optional
|
|
@@ -247,14 +247,14 @@ class AnalyticsModule {
|
|
|
247
247
|
constructor(_screenTrackingService, _userTrackingService) {
|
|
248
248
|
registerVersion('angularfire', VERSION.full, 'analytics');
|
|
249
249
|
}
|
|
250
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
251
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
252
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
250
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: AnalyticsModule, deps: [{ token: ScreenTrackingService, optional: true }, { token: UserTrackingService, optional: true }], target: i0.ɵɵFactoryTarget.NgModule });
|
|
251
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.0", ngImport: i0, type: AnalyticsModule });
|
|
252
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: AnalyticsModule, providers: [
|
|
253
253
|
DEFAULT_ANALYTICS_INSTANCE_PROVIDER,
|
|
254
254
|
ANALYTICS_INSTANCES_PROVIDER
|
|
255
255
|
] });
|
|
256
256
|
}
|
|
257
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
257
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: AnalyticsModule, decorators: [{
|
|
258
258
|
type: NgModule,
|
|
259
259
|
args: [{
|
|
260
260
|
providers: [
|
|
@@ -58,14 +58,14 @@ class AppCheckModule {
|
|
|
58
58
|
constructor() {
|
|
59
59
|
registerVersion('angularfire', VERSION.full, 'app-check');
|
|
60
60
|
}
|
|
61
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
62
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
63
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
61
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: AppCheckModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
62
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.0", ngImport: i0, type: AppCheckModule });
|
|
63
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: AppCheckModule, providers: [
|
|
64
64
|
DEFAULT_APP_CHECK_INSTANCE_PROVIDER,
|
|
65
65
|
APP_CHECK_INSTANCES_PROVIDER,
|
|
66
66
|
] });
|
|
67
67
|
}
|
|
68
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
68
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: AppCheckModule, decorators: [{
|
|
69
69
|
type: NgModule,
|
|
70
70
|
args: [{
|
|
71
71
|
providers: [
|
|
@@ -3,7 +3,7 @@ export * from 'firebase/app';
|
|
|
3
3
|
import { timer, from } from 'rxjs';
|
|
4
4
|
import { concatMap, distinct } from 'rxjs/operators';
|
|
5
5
|
import * as i0 from '@angular/core';
|
|
6
|
-
import { InjectionToken, Optional, PLATFORM_ID, VERSION as VERSION$1,
|
|
6
|
+
import { InjectionToken, Optional, PLATFORM_ID, VERSION as VERSION$1, Inject, NgModule, makeEnvironmentProviders, NgZone, Injector } from '@angular/core';
|
|
7
7
|
import { VERSION, ɵAngularFireSchedulers as _AngularFireSchedulers, ɵzoneWrap as _zoneWrap } from '@angular/fire';
|
|
8
8
|
|
|
9
9
|
class FirebaseApp {
|
|
@@ -64,14 +64,14 @@ class FirebaseAppModule {
|
|
|
64
64
|
// eslint-disable-next-line @typescript-eslint/no-base-to-string
|
|
65
65
|
registerVersion$1('angular', VERSION$1.full, platformId.toString());
|
|
66
66
|
}
|
|
67
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
68
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
69
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
67
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: FirebaseAppModule, deps: [{ token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.NgModule });
|
|
68
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.0", ngImport: i0, type: FirebaseAppModule });
|
|
69
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: FirebaseAppModule, providers: [
|
|
70
70
|
DEFAULT_FIREBASE_APP_PROVIDER,
|
|
71
71
|
FIREBASE_APPS_PROVIDER,
|
|
72
72
|
] });
|
|
73
73
|
}
|
|
74
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
74
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: FirebaseAppModule, decorators: [{
|
|
75
75
|
type: NgModule,
|
|
76
76
|
args: [{
|
|
77
77
|
providers: [
|
|
@@ -31,10 +31,10 @@ class AuthGuard {
|
|
|
31
31
|
}
|
|
32
32
|
}));
|
|
33
33
|
};
|
|
34
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
35
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
34
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: AuthGuard, deps: [{ token: i1.Router }, { token: i2.Auth }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
35
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: AuthGuard, providedIn: 'any' });
|
|
36
36
|
}
|
|
37
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
37
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: AuthGuard, decorators: [{
|
|
38
38
|
type: Injectable,
|
|
39
39
|
args: [{
|
|
40
40
|
providedIn: 'any'
|
|
@@ -57,11 +57,11 @@ class AuthGuardModule {
|
|
|
57
57
|
constructor() {
|
|
58
58
|
registerVersion('angularfire', VERSION.full, 'auth-guard');
|
|
59
59
|
}
|
|
60
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
61
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
62
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
60
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: AuthGuardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
61
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.0", ngImport: i0, type: AuthGuardModule });
|
|
62
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: AuthGuardModule, providers: [AuthGuard] });
|
|
63
63
|
}
|
|
64
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
64
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: AuthGuardModule, decorators: [{
|
|
65
65
|
type: NgModule,
|
|
66
66
|
args: [{
|
|
67
67
|
providers: [AuthGuard]
|
|
@@ -52,14 +52,14 @@ class AuthModule {
|
|
|
52
52
|
constructor() {
|
|
53
53
|
registerVersion('angularfire', VERSION.full, 'auth');
|
|
54
54
|
}
|
|
55
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
56
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
57
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
55
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: AuthModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
56
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.0", ngImport: i0, type: AuthModule });
|
|
57
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: AuthModule, providers: [
|
|
58
58
|
DEFAULT_AUTH_INSTANCE_PROVIDER,
|
|
59
59
|
AUTH_INSTANCES_PROVIDER,
|
|
60
60
|
] });
|
|
61
61
|
}
|
|
62
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
62
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: AuthModule, decorators: [{
|
|
63
63
|
type: NgModule,
|
|
64
64
|
args: [{
|
|
65
65
|
providers: [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { isPlatformBrowser } from '@angular/common';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
|
-
import { InjectionToken, PLATFORM_ID,
|
|
3
|
+
import { InjectionToken, PLATFORM_ID, Optional, Inject, Injectable, NgModule } from '@angular/core';
|
|
4
4
|
import * as i2 from '@angular/fire';
|
|
5
5
|
import { VERSION } from '@angular/fire';
|
|
6
6
|
import * as i1 from '@angular/fire/compat';
|
|
@@ -134,10 +134,10 @@ class AngularFireAnalytics {
|
|
|
134
134
|
}), shareReplay({ bufferSize: 1, refCount: false }));
|
|
135
135
|
return _lazySDKProxy(this, analytics, zone);
|
|
136
136
|
}
|
|
137
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
138
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
137
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: AngularFireAnalytics, deps: [{ token: i1.FirebaseApp }, { token: COLLECTION_ENABLED, optional: true }, { token: APP_VERSION, optional: true }, { token: APP_NAME, optional: true }, { token: DEBUG_MODE, optional: true }, { token: CONFIG, optional: true }, { token: PLATFORM_ID }, { token: i0.NgZone }, { token: i2.ɵAngularFireSchedulers }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
138
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: AngularFireAnalytics, providedIn: 'any' });
|
|
139
139
|
}
|
|
140
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
140
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: AngularFireAnalytics, decorators: [{
|
|
141
141
|
type: Injectable,
|
|
142
142
|
args: [{
|
|
143
143
|
providedIn: 'any'
|
|
@@ -207,10 +207,10 @@ class UserTrackingService {
|
|
|
207
207
|
ngOnDestroy() {
|
|
208
208
|
this.disposables.forEach(it => it.unsubscribe());
|
|
209
209
|
}
|
|
210
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
211
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
210
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: UserTrackingService, deps: [{ token: AngularFireAnalytics }, { token: PLATFORM_ID }, { token: i2$1.AngularFireAuth }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
211
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: UserTrackingService });
|
|
212
212
|
}
|
|
213
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
213
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: UserTrackingService, decorators: [{
|
|
214
214
|
type: Injectable
|
|
215
215
|
}], ctorParameters: () => [{ type: AngularFireAnalytics }, { type: Object, decorators: [{
|
|
216
216
|
type: Inject,
|
|
@@ -239,10 +239,10 @@ class ScreenTrackingService {
|
|
|
239
239
|
this.disposable.unsubscribe();
|
|
240
240
|
}
|
|
241
241
|
}
|
|
242
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
243
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
242
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: ScreenTrackingService, deps: [{ token: AngularFireAnalytics }, { token: i2$2.Router, optional: true }, { token: i3.Title, optional: true }, { token: i0.ComponentFactoryResolver }, { token: i0.NgZone }, { token: UserTrackingService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
243
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: ScreenTrackingService });
|
|
244
244
|
}
|
|
245
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
245
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: ScreenTrackingService, decorators: [{
|
|
246
246
|
type: Injectable
|
|
247
247
|
}], ctorParameters: () => [{ type: AngularFireAnalytics }, { type: i2$2.Router, decorators: [{
|
|
248
248
|
type: Optional
|
|
@@ -262,11 +262,11 @@ class AngularFireAnalyticsModule {
|
|
|
262
262
|
// calling anything on analytics will eagerly load the SDK
|
|
263
263
|
analytics.app.then(() => undefined);
|
|
264
264
|
}
|
|
265
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
266
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
267
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
265
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: AngularFireAnalyticsModule, deps: [{ token: AngularFireAnalytics }, { token: ScreenTrackingService, optional: true }, { token: UserTrackingService, optional: true }], target: i0.ɵɵFactoryTarget.NgModule });
|
|
266
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.0", ngImport: i0, type: AngularFireAnalyticsModule });
|
|
267
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: AngularFireAnalyticsModule, providers: [AngularFireAnalytics] });
|
|
268
268
|
}
|
|
269
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
269
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: AngularFireAnalyticsModule, decorators: [{
|
|
270
270
|
type: NgModule,
|
|
271
271
|
args: [{
|
|
272
272
|
providers: [AngularFireAnalytics]
|
|
@@ -30,10 +30,10 @@ class AngularFireAuthGuard {
|
|
|
30
30
|
}
|
|
31
31
|
}));
|
|
32
32
|
};
|
|
33
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
34
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
33
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: AngularFireAuthGuard, deps: [{ token: i1.Router }, { token: i2.AngularFireAuth }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
34
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: AngularFireAuthGuard, providedIn: 'any' });
|
|
35
35
|
}
|
|
36
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
36
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: AngularFireAuthGuard, decorators: [{
|
|
37
37
|
type: Injectable,
|
|
38
38
|
args: [{
|
|
39
39
|
providedIn: 'any'
|
|
@@ -56,11 +56,11 @@ class AngularFireAuthGuardModule {
|
|
|
56
56
|
constructor() {
|
|
57
57
|
firebase.registerVersion('angularfire', VERSION.full, 'auth-guard-compat');
|
|
58
58
|
}
|
|
59
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
60
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
61
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
59
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: AngularFireAuthGuardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
60
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.0", ngImport: i0, type: AngularFireAuthGuardModule });
|
|
61
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: AngularFireAuthGuardModule, providers: [AngularFireAuthGuard] });
|
|
62
62
|
}
|
|
63
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
63
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: AngularFireAuthGuardModule, decorators: [{
|
|
64
64
|
type: NgModule,
|
|
65
65
|
args: [{
|
|
66
66
|
providers: [AngularFireAuthGuard]
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import 'firebase/compat/auth';
|
|
2
2
|
import { isPlatformServer } from '@angular/common';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
|
-
import { InjectionToken, inject, EnvironmentInjector, PLATFORM_ID,
|
|
4
|
+
import { InjectionToken, inject, EnvironmentInjector, PLATFORM_ID, Inject, Optional, Injectable, NgModule } from '@angular/core';
|
|
5
5
|
import { pendingUntilEvent } from '@angular/core/rxjs-interop';
|
|
6
6
|
import * as i1 from '@angular/fire';
|
|
7
7
|
import { VERSION } from '@angular/fire';
|
|
@@ -146,10 +146,10 @@ class AngularFireAuth {
|
|
|
146
146
|
}
|
|
147
147
|
} });
|
|
148
148
|
}
|
|
149
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
150
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
149
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: AngularFireAuth, deps: [{ token: FIREBASE_OPTIONS }, { token: FIREBASE_APP_NAME, optional: true }, { token: PLATFORM_ID }, { token: i0.NgZone }, { token: i1.ɵAngularFireSchedulers }, { token: USE_EMULATOR, optional: true }, { token: SETTINGS, optional: true }, { token: TENANT_ID, optional: true }, { token: LANGUAGE_CODE, optional: true }, { token: USE_DEVICE_LANGUAGE, optional: true }, { token: PERSISTENCE, optional: true }, { token: i2.AppCheckInstances, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
150
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: AngularFireAuth, providedIn: 'any' });
|
|
151
151
|
}
|
|
152
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
152
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: AngularFireAuth, decorators: [{
|
|
153
153
|
type: Injectable,
|
|
154
154
|
args: [{
|
|
155
155
|
providedIn: 'any'
|
|
@@ -204,11 +204,11 @@ class AngularFireAuthModule {
|
|
|
204
204
|
constructor() {
|
|
205
205
|
firebase.registerVersion('angularfire', VERSION.full, 'auth-compat');
|
|
206
206
|
}
|
|
207
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
208
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
209
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
207
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: AngularFireAuthModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
208
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.0", ngImport: i0, type: AngularFireAuthModule });
|
|
209
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: AngularFireAuthModule, providers: [AngularFireAuth] });
|
|
210
210
|
}
|
|
211
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
211
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: AngularFireAuthModule, decorators: [{
|
|
212
212
|
type: NgModule,
|
|
213
213
|
args: [{
|
|
214
214
|
providers: [AngularFireAuth]
|