@dereekb/dbx-firebase 13.9.0 → 13.10.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/fesm2022/dereekb-dbx-firebase-oidc.mjs +8 -5
- package/fesm2022/dereekb-dbx-firebase-oidc.mjs.map +1 -1
- package/fesm2022/dereekb-dbx-firebase.mjs +168 -136
- package/fesm2022/dereekb-dbx-firebase.mjs.map +1 -1
- package/package.json +11 -11
- package/types/dereekb-dbx-firebase-oidc.d.ts +8 -7
- package/types/dereekb-dbx-firebase.d.ts +134 -17
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InjectionToken, inject, Injectable, provideAppInitializer, makeEnvironmentProviders, Component, model, computed, ChangeDetectionStrategy, signal, Directive, EventEmitter, input, output, Injector, viewChild, HostListener, NgModule,
|
|
2
|
+
import { InjectionToken, inject, Injectable, provideAppInitializer, makeEnvironmentProviders, Component, model, computed, ChangeDetectionStrategy, signal, Directive, EventEmitter, input, output, Injector, viewChild, HostListener, NgModule, ElementRef, forwardRef, effect, DestroyRef, Inject, Optional, Pipe } from '@angular/core';
|
|
3
3
|
import { DbxAnalyticsService } from '@dereekb/dbx-analytics';
|
|
4
4
|
import { asObservable, timeoutStartWith, filterMaybe, isNot, SubscriptionObject, lazyFrom, switchMapWhileTrue, loadingStateFromObs, distinctUntilKeysChange, cleanupDestroyable, iterationHasNextAndCanLoadMore, pageItemAccumulatorCurrentPage, accumulatorFlattenPageListLoadingState, useFirst, itemAccumulatorNextPageUntilResultsCount, iteratorNextPageUntilPage, iteratorNextPageUntilMaxPageLoadLimit, pageLoadingStateFromObs, useAsObservable, filterMaybeArray, mapEachAsync, invertObservableDecision, filterItemsWithObservableDecision, switchMapMaybe, beginLoading, mapLoadingStateValueWithOperator, valueFromFinishedLoadingState, skipInitialMaybe, distinctUntilModelKeyChange, successResult, errorResult, isLoadingStateLoading, cleanup, mapLoadingState, throwErrorFromLoadingStateError, maybeValueFromObservableOrValue, distinctUntilHasDifferentValues, MultiSubscriptionObject, startWithBeginLoading, skipAllInitialMaybe } from '@dereekb/rxjs';
|
|
5
5
|
import { Observable, switchMap, of, shareReplay, map, Subject, merge, distinctUntilChanged, EMPTY, catchError, firstValueFrom, tap, BehaviorSubject, combineLatest, first, from, interval, exhaustMap, filter, take, startWith, throttleTime, NEVER, defaultIfEmpty, combineLatestWith, mergeMap } from 'rxjs';
|
|
6
6
|
import * as i2 from '@dereekb/dbx-core';
|
|
7
7
|
import { loggedInObsFromIsLoggedIn, loggedOutObsFromIsLoggedIn, authUserIdentifier, DbxInjectionContext, DBX_INJECTION_COMPONENT_DATA, DbxInjectionComponent, AbstractForwardDbxInjectionContextDirective, DbxInjectionContextDirective, DbxAuthService, DbxActionButtonDirective, completeOnDestroy, cleanSubscription, DbxActionDirective, DbxActionEnforceModifiedDirective, DbxActionHandlerDirective, DbxActionAutoTriggerDirective, clean, cleanLoadingContext, provideDbxRouteModelIdDirectiveDelegate, provideDbxRouteModelKeyDirectiveDelegate, AbstractIfDirective, LockSetComponentStore, newWithInjector, CutTextPipe, DbxActionContextStoreSourceInstance, DbxActionHandlerInstance, cleanSubscriptionWithLockSet, SimpleStorageAccessorFactory, dbxRouteParamReaderInstance, DbxRouteParamDefaultRedirectInstance } from '@dereekb/dbx-core';
|
|
8
8
|
import { onAuthStateChanged, onIdTokenChanged, confirmPasswordReset, sendPasswordResetEmail, signInWithPopup, linkWithPopup, linkWithCredential, unlink, createUserWithEmailAndPassword, signInWithEmailAndPassword, signInAnonymously, reauthenticateWithPopup, OAuthProvider, FacebookAuthProvider, GithubAuthProvider, GoogleAuthProvider, TwitterAuthProvider, getAuth, connectAuthEmulator } from 'firebase/auth';
|
|
9
|
-
import { AUTH_ADMIN_ROLE, cachedGetter, urlWithoutParameters, addToSet, removeFromSet, filterMaybeArrayValues, mapIterable, asArray, excludeValuesFromArray, containsStringAnyCase, addToSetCopy, iterableToArray, runAsyncTasksForValues,
|
|
9
|
+
import { AUTH_ADMIN_ROLE, cachedGetter, urlWithoutParameters, addToSet, removeFromSet, filterMaybeArrayValues, mapIterable, asArray, excludeValuesFromArray, containsStringAnyCase, addToSetCopy, iterableToArray, runAsyncTasksForValues, forEachKeyValue, countAllInNestedArray, invertDecision, useIterableOrValue, filterUniqueValues, reverseCompareFn, sortByNumberFunction, separateValues, readableError, isMaybeSo, firstValue, splitJoinRemainder, MS_IN_HOUR, SECONDS_IN_MINUTE, MS_IN_DAY, unixDateTimeSecondsNumberForNow, MS_IN_MINUTE, addMilliseconds, unixDateTimeSecondsNumberFromDate, dateFromDateOrTimeSecondsNumber, MS_IN_SECOND, isPast } from '@dereekb/util';
|
|
10
10
|
import { safeFormatToISO8601DateString, msToSeconds, isSameDate } from '@dereekb/date';
|
|
11
11
|
import { getToken, initializeAppCheck, ReCaptchaV3Provider } from 'firebase/app-check';
|
|
12
12
|
import * as i1$1 from '@dereekb/dbx-web';
|
|
@@ -2700,152 +2700,73 @@ function provideDbxFirebaseDevelopment(config) {
|
|
|
2700
2700
|
/**
|
|
2701
2701
|
* Provides EnvironmentProviders for all Firebase services.
|
|
2702
2702
|
*
|
|
2703
|
+
* Initializes the FirebaseApp and each requested service synchronously at call time, so:
|
|
2704
|
+
* - App Check is registered before any Firebase request can fire (required for prod enforcement).
|
|
2705
|
+
* - Firestore is initialized with custom settings (persistentLocalCache, emulator) before
|
|
2706
|
+
* anything can call `getFirestore(app)` for this app.
|
|
2707
|
+
*
|
|
2708
|
+
* Also provides the parsed emulator config and {@link DbxFirebaseEmulatorService}, which are
|
|
2709
|
+
* derived from `dbxFirebaseAppOptions.emulators`.
|
|
2710
|
+
*
|
|
2703
2711
|
* @param config
|
|
2704
2712
|
* @returns EnvironmentProviders
|
|
2713
|
+
*
|
|
2714
|
+
* @example
|
|
2715
|
+
* ```ts
|
|
2716
|
+
* provideDbxFirebaseApp({
|
|
2717
|
+
* dbxFirebaseAppOptions: environment.firebase
|
|
2718
|
+
* });
|
|
2719
|
+
* ```
|
|
2705
2720
|
*/
|
|
2706
2721
|
function provideDbxFirebaseApp(config) {
|
|
2707
|
-
const { dbxFirebaseAppOptions:
|
|
2708
|
-
const
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
},
|
|
2714
|
-
// app
|
|
2715
|
-
{
|
|
2716
|
-
provide: FIREBASE_APP_TOKEN,
|
|
2717
|
-
useFactory: (options) => initializeApp(options),
|
|
2718
|
-
deps: [DBX_FIREBASE_APP_OPTIONS_TOKEN]
|
|
2719
|
-
}
|
|
2720
|
-
];
|
|
2721
|
-
// firestore
|
|
2722
|
-
if (config.provideFirestore !== false) {
|
|
2723
|
-
providers.push({
|
|
2724
|
-
provide: FIREBASE_FIRESTORE_TOKEN,
|
|
2725
|
-
useFactory: (app, options, emulators) => {
|
|
2726
|
-
const firestoreSettings = {};
|
|
2727
|
-
const { enableMultiTabIndexedDbPersistence, enableIndexedDbPersistence } = options;
|
|
2728
|
-
const { persistentCacheSettings } = options;
|
|
2729
|
-
if (enableIndexedDbPersistence !== false) {
|
|
2730
|
-
let tabManager;
|
|
2731
|
-
if (enableMultiTabIndexedDbPersistence !== false) {
|
|
2732
|
-
tabManager = persistentMultipleTabManager();
|
|
2733
|
-
}
|
|
2734
|
-
else {
|
|
2735
|
-
tabManager = persistentSingleTabManager(undefined);
|
|
2736
|
-
}
|
|
2737
|
-
firestoreSettings.localCache = persistentLocalCache({
|
|
2738
|
-
tabManager,
|
|
2739
|
-
...persistentCacheSettings
|
|
2740
|
-
});
|
|
2741
|
-
}
|
|
2742
|
-
const firestore = initializeFirestore(app, firestoreSettings);
|
|
2743
|
-
if (emulators?.useEmulators && emulators?.firestore) {
|
|
2744
|
-
connectFirestoreEmulator(firestore, emulators.firestore.host, emulators.firestore.port, {});
|
|
2745
|
-
}
|
|
2746
|
-
return firestore;
|
|
2747
|
-
},
|
|
2748
|
-
deps: [FIREBASE_APP_TOKEN, DBX_FIREBASE_APP_OPTIONS_TOKEN, [new Optional(), DbxFirebaseParsedEmulatorsConfig]]
|
|
2749
|
-
});
|
|
2750
|
-
}
|
|
2751
|
-
// app check
|
|
2722
|
+
const { dbxFirebaseAppOptions: options } = config;
|
|
2723
|
+
const emulators = parseDbxFirebaseEmulatorsConfig(options.emulators);
|
|
2724
|
+
const app = initializeApp(options);
|
|
2725
|
+
const providers = [{ provide: DBX_FIREBASE_APP_OPTIONS_TOKEN, useValue: options }, { provide: FIREBASE_APP_TOKEN, useValue: app }, { provide: DbxFirebaseParsedEmulatorsConfig, useValue: emulators }, DbxFirebaseEmulatorService];
|
|
2726
|
+
// App Check must be initialized before any Firebase request goes out, otherwise
|
|
2727
|
+
// requests are sent without an App Check token and are rejected in production.
|
|
2752
2728
|
if (config.provideAppCheck !== false) {
|
|
2753
|
-
|
|
2754
|
-
|
|
2755
|
-
|
|
2756
|
-
|
|
2757
|
-
|
|
2758
|
-
|
|
2759
|
-
let appCheck;
|
|
2760
|
-
if (appCheckOptions && !appCheckKnowinglyDisabled) {
|
|
2761
|
-
// enable the debug tokens if not using emulators and allowDebugTokens is set true
|
|
2762
|
-
if (!options.emulators?.useEmulators && appCheckOptions.allowDebugTokens) {
|
|
2763
|
-
enableAppCheckDebugTokenGeneration(true);
|
|
2764
|
-
}
|
|
2765
|
-
// Only enabled outside of app-check environments. The emulators will not use appcheck.
|
|
2766
|
-
appCheck = initializeAppCheck(app, {
|
|
2767
|
-
provider: new ReCaptchaV3Provider(appCheckOptions.reCaptchaV3),
|
|
2768
|
-
isTokenAutoRefreshEnabled: appCheckOptions.isTokenAutoRefreshEnabled ?? true
|
|
2769
|
-
});
|
|
2770
|
-
console.log('Enabled AppCheck.');
|
|
2771
|
-
}
|
|
2772
|
-
else {
|
|
2773
|
-
appCheck = undefined;
|
|
2774
|
-
if (!appCheckKnowinglyDisabled) {
|
|
2775
|
-
console.error('dbx-firebase: No appcheck configuration for the app, and not specifically disabled in config either.');
|
|
2776
|
-
}
|
|
2777
|
-
}
|
|
2778
|
-
return appCheck;
|
|
2779
|
-
},
|
|
2780
|
-
deps: [FIREBASE_APP_TOKEN, DBX_FIREBASE_APP_OPTIONS_TOKEN]
|
|
2781
|
-
},
|
|
2782
|
-
{
|
|
2783
|
-
provide: HTTP_INTERCEPTORS,
|
|
2784
|
-
useClass: DbxFirebaseAppCheckHttpInterceptor,
|
|
2785
|
-
multi: true
|
|
2786
|
-
}
|
|
2787
|
-
];
|
|
2788
|
-
pushArrayItemsIntoArray(providers, appCheckProviders);
|
|
2729
|
+
providers.push({ provide: FIREBASE_APP_CHECK_TOKEN, useValue: createDbxFirebaseAppCheck({ app, options }) }, { provide: HTTP_INTERCEPTORS, useClass: DbxFirebaseAppCheckHttpInterceptor, multi: true });
|
|
2730
|
+
}
|
|
2731
|
+
// initializeFirestore(app, settings) must precede any other access to the Firestore for this app
|
|
2732
|
+
// (e.g. getFirestore(app)) or the persistentLocalCache settings are silently dropped.
|
|
2733
|
+
if (config.provideFirestore !== false) {
|
|
2734
|
+
providers.push({ provide: FIREBASE_FIRESTORE_TOKEN, useValue: createDbxFirebaseFirestore({ app, options, emulators }) });
|
|
2789
2735
|
}
|
|
2790
|
-
// auth
|
|
2791
2736
|
if (config.provideAuth !== false) {
|
|
2792
|
-
providers.push({
|
|
2793
|
-
provide: FIREBASE_AUTH_TOKEN,
|
|
2794
|
-
useFactory: (app, emulators) => {
|
|
2795
|
-
const auth = getAuth(app);
|
|
2796
|
-
if (emulators?.useEmulators && emulators?.auth) {
|
|
2797
|
-
connectAuthEmulator(auth, `http://${emulators.auth.host}:${emulators.auth.port}`);
|
|
2798
|
-
}
|
|
2799
|
-
return auth;
|
|
2800
|
-
},
|
|
2801
|
-
deps: [FIREBASE_APP_TOKEN, [new Optional(), DbxFirebaseParsedEmulatorsConfig]]
|
|
2802
|
-
});
|
|
2737
|
+
providers.push({ provide: FIREBASE_AUTH_TOKEN, useValue: createDbxFirebaseAuth({ app, emulators }) });
|
|
2803
2738
|
}
|
|
2804
|
-
// storage
|
|
2805
2739
|
if (config.provideStorage !== false) {
|
|
2806
|
-
providers.push({
|
|
2807
|
-
provide: FIREBASE_STORAGE_TOKEN,
|
|
2808
|
-
useFactory: (app, emulators) => {
|
|
2809
|
-
const storage = getStorage(app);
|
|
2810
|
-
if (emulators?.useEmulators && emulators?.storage) {
|
|
2811
|
-
connectStorageEmulator(storage, emulators.storage.host, emulators.storage.port, {});
|
|
2812
|
-
}
|
|
2813
|
-
return storage;
|
|
2814
|
-
},
|
|
2815
|
-
deps: [FIREBASE_APP_TOKEN, [new Optional(), DbxFirebaseParsedEmulatorsConfig]]
|
|
2816
|
-
});
|
|
2740
|
+
providers.push({ provide: FIREBASE_STORAGE_TOKEN, useValue: createDbxFirebaseStorage({ app, emulators }) });
|
|
2817
2741
|
}
|
|
2818
|
-
// functions
|
|
2819
2742
|
if (config.provideFunctions !== false) {
|
|
2820
|
-
providers.push({
|
|
2821
|
-
provide: FIREBASE_FUNCTIONS_TOKEN,
|
|
2822
|
-
useFactory: (app, options, emulators) => {
|
|
2823
|
-
const { functionsRegionOrCustomDomain } = options;
|
|
2824
|
-
const functions = getFunctions(app, functionsRegionOrCustomDomain);
|
|
2825
|
-
if (emulators?.useEmulators && emulators?.functions) {
|
|
2826
|
-
connectFunctionsEmulator(functions, emulators.functions.host, emulators.functions.port);
|
|
2827
|
-
}
|
|
2828
|
-
return functions;
|
|
2829
|
-
},
|
|
2830
|
-
deps: [FIREBASE_APP_TOKEN, DBX_FIREBASE_APP_OPTIONS_TOKEN, [new Optional(), DbxFirebaseParsedEmulatorsConfig]]
|
|
2831
|
-
});
|
|
2743
|
+
providers.push({ provide: FIREBASE_FUNCTIONS_TOKEN, useValue: createDbxFirebaseFunctions({ app, options, emulators }) });
|
|
2832
2744
|
}
|
|
2833
2745
|
return makeEnvironmentProviders(providers);
|
|
2834
2746
|
}
|
|
2835
|
-
|
|
2747
|
+
// MARK: Emulators
|
|
2836
2748
|
/**
|
|
2837
|
-
*
|
|
2749
|
+
* Parses a {@link DbxFirebaseEmulatorsConfig} into a fully-resolved {@link DbxFirebaseParsedEmulatorsConfig}.
|
|
2838
2750
|
*
|
|
2839
2751
|
* @param config
|
|
2840
|
-
* @returns
|
|
2752
|
+
* @returns DbxFirebaseParsedEmulatorsConfig
|
|
2753
|
+
*
|
|
2754
|
+
* @example
|
|
2755
|
+
* ```ts
|
|
2756
|
+
* const emulators = parseDbxFirebaseEmulatorsConfig({
|
|
2757
|
+
* useEmulators: true,
|
|
2758
|
+
* firestore: { port: 8080 }
|
|
2759
|
+
* });
|
|
2760
|
+
* ```
|
|
2841
2761
|
*/
|
|
2842
|
-
function
|
|
2762
|
+
function parseDbxFirebaseEmulatorsConfig(config) {
|
|
2843
2763
|
const defaultHost = config.host ?? 'localhost';
|
|
2844
2764
|
function emulatorConfig(emulator) {
|
|
2845
2765
|
return emulator ? { host: emulator.host ?? defaultHost, port: emulator.port } : undefined;
|
|
2846
2766
|
}
|
|
2847
|
-
|
|
2767
|
+
return {
|
|
2848
2768
|
useEmulators: config.useEmulators !== false,
|
|
2769
|
+
host: config.host,
|
|
2849
2770
|
ui: emulatorConfig(config.ui),
|
|
2850
2771
|
auth: emulatorConfig(config.auth),
|
|
2851
2772
|
firestore: emulatorConfig(config.firestore),
|
|
@@ -2853,14 +2774,125 @@ function provideDbxFirebaseEmulator(config) {
|
|
|
2853
2774
|
functions: emulatorConfig(config.functions),
|
|
2854
2775
|
database: emulatorConfig(config.database)
|
|
2855
2776
|
};
|
|
2856
|
-
|
|
2857
|
-
|
|
2858
|
-
|
|
2859
|
-
|
|
2860
|
-
|
|
2861
|
-
|
|
2862
|
-
|
|
2863
|
-
|
|
2777
|
+
}
|
|
2778
|
+
/**
|
|
2779
|
+
* Initializes App Check for the given FirebaseApp using the provided options.
|
|
2780
|
+
*
|
|
2781
|
+
* Returns `undefined` when App Check is knowingly disabled (config flag or emulators in use)
|
|
2782
|
+
* or when no App Check options are configured.
|
|
2783
|
+
*
|
|
2784
|
+
* @param params
|
|
2785
|
+
* @returns AppCheck
|
|
2786
|
+
*
|
|
2787
|
+
* @example
|
|
2788
|
+
* ```ts
|
|
2789
|
+
* const appCheck = createDbxFirebaseAppCheck({ app, options });
|
|
2790
|
+
* ```
|
|
2791
|
+
*/
|
|
2792
|
+
function createDbxFirebaseAppCheck(params) {
|
|
2793
|
+
const { app, options } = params;
|
|
2794
|
+
const appCheckOptions = options.appCheck;
|
|
2795
|
+
const appCheckKnowinglyDisabled = appCheckOptions?.disabled === true || options.emulators?.useEmulators === true;
|
|
2796
|
+
let appCheck = undefined;
|
|
2797
|
+
if (appCheckOptions && !appCheckKnowinglyDisabled) {
|
|
2798
|
+
if (!options.emulators?.useEmulators && appCheckOptions.allowDebugTokens) {
|
|
2799
|
+
enableAppCheckDebugTokenGeneration(true);
|
|
2800
|
+
}
|
|
2801
|
+
appCheck = initializeAppCheck(app, {
|
|
2802
|
+
provider: new ReCaptchaV3Provider(appCheckOptions.reCaptchaV3),
|
|
2803
|
+
isTokenAutoRefreshEnabled: appCheckOptions.isTokenAutoRefreshEnabled ?? true
|
|
2804
|
+
});
|
|
2805
|
+
console.log('Enabled AppCheck.');
|
|
2806
|
+
}
|
|
2807
|
+
else if (!appCheckKnowinglyDisabled) {
|
|
2808
|
+
console.error('dbx-firebase: No appcheck configuration for the app, and not specifically disabled in config either.');
|
|
2809
|
+
}
|
|
2810
|
+
return appCheck;
|
|
2811
|
+
}
|
|
2812
|
+
/**
|
|
2813
|
+
* Initializes Firestore for the given FirebaseApp with persistence and emulator settings derived from options.
|
|
2814
|
+
*
|
|
2815
|
+
* @param params
|
|
2816
|
+
* @returns Firestore
|
|
2817
|
+
*
|
|
2818
|
+
* @example
|
|
2819
|
+
* ```ts
|
|
2820
|
+
* const firestore = createDbxFirebaseFirestore({ app, options, emulators });
|
|
2821
|
+
* ```
|
|
2822
|
+
*/
|
|
2823
|
+
function createDbxFirebaseFirestore(params) {
|
|
2824
|
+
const { app, options, emulators } = params;
|
|
2825
|
+
const { enableMultiTabIndexedDbPersistence, enableIndexedDbPersistence, persistentCacheSettings } = options;
|
|
2826
|
+
const firestoreSettings = {};
|
|
2827
|
+
if (enableIndexedDbPersistence !== false) {
|
|
2828
|
+
const tabManager = enableMultiTabIndexedDbPersistence !== false ? persistentMultipleTabManager() : persistentSingleTabManager(undefined);
|
|
2829
|
+
firestoreSettings.localCache = persistentLocalCache({
|
|
2830
|
+
tabManager,
|
|
2831
|
+
...persistentCacheSettings
|
|
2832
|
+
});
|
|
2833
|
+
}
|
|
2834
|
+
const firestore = initializeFirestore(app, firestoreSettings);
|
|
2835
|
+
if (emulators.useEmulators && emulators.firestore) {
|
|
2836
|
+
connectFirestoreEmulator(firestore, emulators.firestore.host, emulators.firestore.port, {});
|
|
2837
|
+
}
|
|
2838
|
+
return firestore;
|
|
2839
|
+
}
|
|
2840
|
+
/**
|
|
2841
|
+
* Returns the Firebase Auth instance for the given app, wired up to the auth emulator if configured.
|
|
2842
|
+
*
|
|
2843
|
+
* @param params
|
|
2844
|
+
* @returns Auth
|
|
2845
|
+
*
|
|
2846
|
+
* @example
|
|
2847
|
+
* ```ts
|
|
2848
|
+
* const auth = createDbxFirebaseAuth({ app, emulators });
|
|
2849
|
+
* ```
|
|
2850
|
+
*/
|
|
2851
|
+
function createDbxFirebaseAuth(params) {
|
|
2852
|
+
const { app, emulators } = params;
|
|
2853
|
+
const auth = getAuth(app);
|
|
2854
|
+
if (emulators.useEmulators && emulators.auth) {
|
|
2855
|
+
connectAuthEmulator(auth, `http://${emulators.auth.host}:${emulators.auth.port}`);
|
|
2856
|
+
}
|
|
2857
|
+
return auth;
|
|
2858
|
+
}
|
|
2859
|
+
/**
|
|
2860
|
+
* Returns the Firebase Storage instance for the given app, wired up to the storage emulator if configured.
|
|
2861
|
+
*
|
|
2862
|
+
* @param params
|
|
2863
|
+
* @returns FirebaseStorage
|
|
2864
|
+
*
|
|
2865
|
+
* @example
|
|
2866
|
+
* ```ts
|
|
2867
|
+
* const storage = createDbxFirebaseStorage({ app, emulators });
|
|
2868
|
+
* ```
|
|
2869
|
+
*/
|
|
2870
|
+
function createDbxFirebaseStorage(params) {
|
|
2871
|
+
const { app, emulators } = params;
|
|
2872
|
+
const storage = getStorage(app);
|
|
2873
|
+
if (emulators.useEmulators && emulators.storage) {
|
|
2874
|
+
connectStorageEmulator(storage, emulators.storage.host, emulators.storage.port, {});
|
|
2875
|
+
}
|
|
2876
|
+
return storage;
|
|
2877
|
+
}
|
|
2878
|
+
/**
|
|
2879
|
+
* Returns the Firebase Functions instance for the given app, wired up to the functions emulator if configured.
|
|
2880
|
+
*
|
|
2881
|
+
* @param params
|
|
2882
|
+
* @returns Functions
|
|
2883
|
+
*
|
|
2884
|
+
* @example
|
|
2885
|
+
* ```ts
|
|
2886
|
+
* const functions = createDbxFirebaseFunctions({ app, options, emulators });
|
|
2887
|
+
* ```
|
|
2888
|
+
*/
|
|
2889
|
+
function createDbxFirebaseFunctions(params) {
|
|
2890
|
+
const { app, options, emulators } = params;
|
|
2891
|
+
const functions = getFunctions(app, options.functionsRegionOrCustomDomain);
|
|
2892
|
+
if (emulators.useEmulators && emulators.functions) {
|
|
2893
|
+
connectFunctionsEmulator(functions, emulators.functions.host, emulators.functions.port);
|
|
2894
|
+
}
|
|
2895
|
+
return functions;
|
|
2864
2896
|
}
|
|
2865
2897
|
|
|
2866
2898
|
/**
|
|
@@ -7928,11 +7960,11 @@ function provideDbxFirebaseModelTypesService(config) {
|
|
|
7928
7960
|
* @returns EnvironmentProviders for the DbxFirebase configuration.
|
|
7929
7961
|
*/
|
|
7930
7962
|
function provideDbxFirebase(config) {
|
|
7931
|
-
const { app,
|
|
7963
|
+
const { app, storage, auth, functions, firestores, modelContextService, modelTypesService, development, notifications, provideAnalyticsUserEventsListener, provideStorageFileService, modelEntitiesWidgetService: inputModelEntitiesWidgetService } = config;
|
|
7932
7964
|
const modelEntitiesWidgetServiceConfig = inputModelEntitiesWidgetService ?? {
|
|
7933
7965
|
dbxFirebaseModelEntitiesWidgetServiceConfigFactory: () => ({ entries: [] })
|
|
7934
7966
|
};
|
|
7935
|
-
const providers = [provideDbxFirebaseApp(app),
|
|
7967
|
+
const providers = [provideDbxFirebaseApp(app), providedDbxFirebaseStorage(storage), provideDbxFirebaseAuth(auth), provideDbxFirebaseFunctions(functions), provideDbxFirebaseModelContextService(modelContextService), provideDbxFirebaseModelTypesService(modelTypesService), provideDbxFirebaseModelEntitiesWidgetService(modelEntitiesWidgetServiceConfig)];
|
|
7936
7968
|
asArray(firestores).forEach((firestore) => {
|
|
7937
7969
|
providers.push(provideDbxFirestoreCollection(firestore));
|
|
7938
7970
|
});
|
|
@@ -7955,5 +7987,5 @@ function provideDbxFirebase(config) {
|
|
|
7955
7987
|
* Generated bundle index. Do not edit.
|
|
7956
7988
|
*/
|
|
7957
7989
|
|
|
7958
|
-
export { AbstractConfiguredDbxFirebaseLoginButtonDirective, AbstractDbxFirebaseCollectionStore, AbstractDbxFirebaseCollectionWithParentStore, AbstractDbxFirebaseDocumentStore, AbstractDbxFirebaseDocumentWithParentStore, AbstractDbxFirebaseModelEntityWidgetDirective, AbstractDbxFirebaseNotificationItemWidgetComponent, AbstractRootSingleItemDbxFirebaseDocument, AbstractSingleItemDbxFirebaseDocument, AbstractSystemStateDocumentStoreAccessor, DBX_CONFIGURED_DBX_FIREBASE_LOGIN_BUTTON_COMPONENT_CONFIGURATION, DBX_FIREBASE_APP_OPTIONS_TOKEN, DBX_FIREBASE_DOCUMENT_STORE_CONTEXT_STORE_TOKEN, DBX_FIREBASE_ID_ROUTER_PARAM_DEFAULT_ID_PARAM_KEY, DBX_FIREBASE_ID_ROUTER_PARAM_DEFAULT_KEY_PARAM_KEY, DBX_FIREBASE_ID_ROUTER_PARAM_DEFAULT_USE_PARAM_VALUE, DBX_FIREBASE_MODEL_DOES_NOT_EXIST_ERROR, DBX_FIREBASE_MODEL_ENTITY_WITH_STORE_TOKEN, DBX_FIREBASE_STORAGEFILE_DOWNLOAD_STORAGE_ACCESSOR_TOKEN, DBX_FIREBASE_STORAGE_CONTEXT_CONFIG_TOKEN, DBX_FIREBASE_STORAGE_CONTEXT_TOKEN, DBX_FIRESTORE_CONTEXT_TOKEN, DEFAULT_CONFIGURED_DBX_FIREBASE_LOGIN_BUTTON_TEMPLATE, DEFAULT_DBX_FIREBASE_ANALYTICS_USER_PROPERTIES_FACTORY, DEFAULT_DBX_FIREBASE_AUTH_SERVICE_DELEGATE, DEFAULT_DBX_FIREBASE_MODEL_ENTITIES_COMPONENT_POPOVER_KEY, DEFAULT_DBX_FIREBASE_MODEL_HISTORY_COMPONENT_POPOVER_KEY, DEFAULT_DBX_FIREBASE_NOTIFICATION_ITEM_STORE_POPOVER_KEY, DEFAULT_FIREBASE_AUTH_LOGIN_PASSWORD_CONFIG, DEFAULT_FIREBASE_AUTH_LOGIN_PASSWORD_CONFIG_TOKEN, DEFAULT_FIREBASE_AUTH_LOGIN_PROVIDERS_TOKEN, DEFAULT_FIREBASE_AUTH_LOGIN_TERMS_COMPONENT_CLASS_TOKEN, DEFAULT_FIREBASE_COLLECTION_CHANGE_TRIGGER_FUNCTION, DEFAULT_FIREBASE_DEVELOPMENT_ENABLED_TOKEN, DEFAULT_FIREBASE_DEVELOPMENT_POPUP_KEY, DEFAULT_FIREBASE_DEVELOPMENT_SCHEDULER_ENABLED_TOKEN, DEFAULT_FIREBASE_DEVELOPMENT_WIDGET_PROVIDERS_TOKEN, DEFAULT_FIREBASE_LOGIN_METHOD_CATEGORY, DEFAULT_FIREBASE_NOTIFICATION_ITEM_WIDGET_TYPE, DEVELOPMENT_FIREBASE_SERVER_SCHEDULER_WIDGET_KEY, DbxFirebaseAnalyticsUserEventsListenerService, DbxFirebaseAnalyticsUserSource, DbxFirebaseAppCheckHttpInterceptor, DbxFirebaseAuthLoginService, DbxFirebaseAuthService, DbxFirebaseAuthServiceDelegate, DbxFirebaseCollectionChangeDirective, DbxFirebaseCollectionChangeTriggerInstance, DbxFirebaseCollectionHasChangeDirective, DbxFirebaseCollectionListDirective, DbxFirebaseCollectionLoaderInstance, DbxFirebaseCollectionStoreDirective, DbxFirebaseCollectionWithParentStoreDirective, DbxFirebaseDevelopmentDirective, DbxFirebaseDevelopmentModule, DbxFirebaseDevelopmentPopupComponent, DbxFirebaseDevelopmentPopupContentComponent, DbxFirebaseDevelopmentPopupContentForgeFormComponent, DbxFirebaseDevelopmentSchedulerListComponent, DbxFirebaseDevelopmentSchedulerListViewComponent, DbxFirebaseDevelopmentSchedulerListViewItemComponent, DbxFirebaseDevelopmentSchedulerService, DbxFirebaseDevelopmentSchedulerWidgetComponent, DbxFirebaseDevelopmentService, DbxFirebaseDevelopmentWidgetService, DbxFirebaseDocumentLoaderInstance, DbxFirebaseDocumentStoreContextModelEntitiesSourceDirective, DbxFirebaseDocumentStoreContextStore, DbxFirebaseDocumentStoreContextStoreDirective, DbxFirebaseDocumentStoreDirective, DbxFirebaseDocumentStoreIdFromTwoWayModelKeyDirective, DbxFirebaseDocumentStoreTwoWayKeyProvider, DbxFirebaseDocumentStoreTwoWayModelKeySourceDirective, DbxFirebaseEmailForgeFormComponent, DbxFirebaseEmailRecoveryForgeFormComponent, DbxFirebaseEmulatorService, DbxFirebaseLoginAnonymousComponent, DbxFirebaseLoginAppleComponent, DbxFirebaseLoginButtonComponent, DbxFirebaseLoginButtonContainerComponent, DbxFirebaseLoginComponent, DbxFirebaseLoginContext, DbxFirebaseLoginContextBackButtonComponent, DbxFirebaseLoginContextDirective, DbxFirebaseLoginEmailComponent, DbxFirebaseLoginEmailContentComponent, DbxFirebaseLoginFacebookComponent, DbxFirebaseLoginGitHubComponent, DbxFirebaseLoginGoogleComponent, DbxFirebaseLoginListComponent, DbxFirebaseLoginMicrosoftComponent, DbxFirebaseLoginTermsComponent, DbxFirebaseLoginTermsSimpleComponent, DbxFirebaseLoginTwitterComponent, DbxFirebaseManageAuthProvidersComponent, DbxFirebaseModelContextService, DbxFirebaseModelEntitiesComponent, DbxFirebaseModelEntitiesDebugWidgetComponent, DbxFirebaseModelEntitiesPopoverButtonComponent, DbxFirebaseModelEntitiesPopoverComponent, DbxFirebaseModelEntitiesSource, DbxFirebaseModelEntitiesWidgetService, DbxFirebaseModelEntitiesWidgetServiceConfig, DbxFirebaseModelHistoryComponent, DbxFirebaseModelHistoryPopoverButtonComponent, DbxFirebaseModelHistoryPopoverComponent, DbxFirebaseModelKeyComponent, DbxFirebaseModelModule, DbxFirebaseModelStoreModule, DbxFirebaseModelTrackerService, DbxFirebaseModelTypeInstanceListComponent, DbxFirebaseModelTypeInstanceListViewComponent, DbxFirebaseModelTypeInstanceListViewItemComponent, DbxFirebaseModelTypesService, DbxFirebaseModelTypesServiceConfig, DbxFirebaseModelViewedEventDirective, DbxFirebaseModule, DbxFirebaseNotificationBoxCollectionStoreDirective, DbxFirebaseNotificationBoxDocumentStoreDirective, DbxFirebaseNotificationCollectionStoreDirective, DbxFirebaseNotificationDocumentStoreDirective, DbxFirebaseNotificationItemContentComponent, DbxFirebaseNotificationItemDefaultViewComponent, DbxFirebaseNotificationItemListComponent, DbxFirebaseNotificationItemListViewComponent, DbxFirebaseNotificationItemListViewItemComponent, DbxFirebaseNotificationItemStore, DbxFirebaseNotificationItemStorePopoverButtonComponent, DbxFirebaseNotificationItemStorePopoverComponent, DbxFirebaseNotificationItemViewComponent, DbxFirebaseNotificationItemWidgetService, DbxFirebaseNotificationSummaryCollectionStoreDirective, DbxFirebaseNotificationSummaryDocumentStoreDirective, DbxFirebaseNotificationTemplateService, DbxFirebaseNotificationUserCollectionStoreDirective, DbxFirebaseNotificationUserDocumentStoreDirective, DbxFirebaseParsedEmulatorsConfig, DbxFirebasePasswordResetComponent, DbxFirebasePasswordResetFormComponent, DbxFirebaseRegisterComponent, DbxFirebaseRegisterEmailComponent, DbxFirebaseStorageFileCollectionStoreDirective, DbxFirebaseStorageFileDocumentStoreDirective, DbxFirebaseStorageFileDownloadButtonComponent, DbxFirebaseStorageFileDownloadService, DbxFirebaseStorageFileDownloadStorage, DbxFirebaseStorageFileGroupDocumentStoreDirective, DbxFirebaseStorageFileUploadActionHandlerDirective, DbxFirebaseStorageFileUploadInitializeDocumentDirective, DbxFirebaseStorageFileUploadModule, DbxFirebaseStorageFileUploadStore, DbxFirebaseStorageFileUploadStoreDirective, DbxFirebaseStorageFileUploadSyncDirective, DbxFirebaseStorageService, DbxFirebaseSystemStateCollectionStoreDirective, DbxFirebaseSystemStateDocumentStoreDirective, DbxFirestoreContextService, DbxLimitedFirebaseDocumentLoaderInstance, FIREBASE_APP_CHECK_TOKEN, FIREBASE_APP_TOKEN, FIREBASE_AUTH_TOKEN, FIREBASE_FIRESTORE_TOKEN, FIREBASE_FUNCTIONS_TOKEN, FIREBASE_NOTIFICATION_ITEM_WIDGET_TYPE_PREFIX, FIREBASE_PROVIDER_ID_TO_LOGIN_METHOD_TYPE_MAP, FIREBASE_STORAGE_TOKEN, FlatFirestoreModelKeyPipe, IMPORTS_AND_EXPORTS, LOGIN_METHOD_TYPE_TO_FIREBASE_PROVIDER_ID_MAP, NotificationBoxCollectionStore, NotificationBoxDocumentStore, NotificationCollectionStore, NotificationDocumentStore, NotificationSummaryCollectionStore, NotificationSummaryDocumentStore, NotificationUserCollectionStore, NotificationUserDocumentStore, OAUTH_FIREBASE_LOGIN_METHOD_CATEGORY, StorageFileCollectionStore, StorageFileDocumentStore, StorageFileGroupDocumentStore, StorageFileUploadFilesError, SystemStateCollectionStore, SystemStateDocumentStore, TwoWayFlatFirestoreModelKeyPipe, authRolesObsWithClaimsService, authUserInfoFromAuthUser, authUserStateFromFirebaseAuthServiceFunction, dbxFirebaseAuthContextInfo, dbxFirebaseCollectionChangeTrigger, dbxFirebaseCollectionChangeTriggerForStore, dbxFirebaseCollectionChangeTriggerForWatcher, dbxFirebaseCollectionChangeWatcher, dbxFirebaseCollectionLoaderInstance, dbxFirebaseCollectionLoaderInstanceWithCollection, dbxFirebaseDocumentLoaderInstance, dbxFirebaseDocumentLoaderInstanceWithAccessor, dbxFirebaseDocumentStoreContextModelEntitiesSourceFactory, dbxFirebaseIdRouteParamRedirect, dbxFirebaseInContextFirebaseModelServiceInstance, dbxFirebaseInContextFirebaseModelServiceInstanceFactory, dbxFirebaseKeyRouteParamRedirect, dbxFirebaseModelContextServiceInfoInstanceFactory, dbxFirebaseModelEntityWidgetInjectionConfigFactory, dbxFirebaseModelTypesServiceInstance, dbxFirebaseModelTypesServiceInstancePairForKeysFactory, dbxFirebaseSourceSelectLoadSource, dbxFirebaseStorageFileDownloadServiceCustomSourceFromObs, dbxFirebaseStorageProvidersContextConfigFactory, dbxLimitedFirebaseDocumentLoaderInstance, dbxLimitedFirebaseDocumentLoaderInstanceWithAccessor, dbxWidgetTypeForNotificationTemplateType, defaultDbxFirebaseAuthServiceDelegateWithClaimsService, defaultDbxFirebaseStorageFileDownloadStorageAccessorFactory, developmentFirebaseServerSchedulerWidgetEntry, enableAppCheckDebugTokenGeneration, firebaseAuthState, firebaseAuthTokenFromUser, firebaseCollectionStoreCreateFunction, firebaseCollectionStoreCrudFunction, firebaseContextServiceEntityMap, firebaseDocumentStoreCreateFunction, firebaseDocumentStoreCrudFunction, firebaseDocumentStoreDeleteFunction, firebaseDocumentStoreReadFunction, firebaseDocumentStoreUpdateFunction, firebaseIdToken, firebaseProviderIdToLoginMethodType, isDbxFirebaseModelEntityWithStore, linkDocumentStoreToParentContextStores, loginMethodTypeToFirebaseProviderId, modelDoesNotExistError, provideDbxFirebase, provideDbxFirebaseAnalyticsUserEventsListenerService, provideDbxFirebaseApp, provideDbxFirebaseAuth, provideDbxFirebaseCollectionStoreDirective, provideDbxFirebaseCollectionWithParentStoreDirective, provideDbxFirebaseDevelopment, provideDbxFirebaseDocumentStoreContextStore, provideDbxFirebaseDocumentStoreDirective, provideDbxFirebaseDocumentStoreTwoWayKeyProvider, provideDbxFirebaseEmulator, provideDbxFirebaseFunctions, provideDbxFirebaseLogin, provideDbxFirebaseModelContextService, provideDbxFirebaseModelEntitiesWidgetService, provideDbxFirebaseNotifications, provideDbxFirebaseStorageFileService, provideDbxFirestoreCollection, provideNotificationFirestoreCollections, provideStorageFileFirestoreCollections, provideSystemStateFirestoreCollections, providedDbxFirebaseStorage, readDbxAnalyticsUserPropertiesFromAuthUserInfo, readValueFromIdToken, setParentStoreEffect, stateFromTokenForLoggedInUserFunction, storageFileUploadFiles, storageFileUploadHandler };
|
|
7990
|
+
export { AbstractConfiguredDbxFirebaseLoginButtonDirective, AbstractDbxFirebaseCollectionStore, AbstractDbxFirebaseCollectionWithParentStore, AbstractDbxFirebaseDocumentStore, AbstractDbxFirebaseDocumentWithParentStore, AbstractDbxFirebaseModelEntityWidgetDirective, AbstractDbxFirebaseNotificationItemWidgetComponent, AbstractRootSingleItemDbxFirebaseDocument, AbstractSingleItemDbxFirebaseDocument, AbstractSystemStateDocumentStoreAccessor, DBX_CONFIGURED_DBX_FIREBASE_LOGIN_BUTTON_COMPONENT_CONFIGURATION, DBX_FIREBASE_APP_OPTIONS_TOKEN, DBX_FIREBASE_DOCUMENT_STORE_CONTEXT_STORE_TOKEN, DBX_FIREBASE_ID_ROUTER_PARAM_DEFAULT_ID_PARAM_KEY, DBX_FIREBASE_ID_ROUTER_PARAM_DEFAULT_KEY_PARAM_KEY, DBX_FIREBASE_ID_ROUTER_PARAM_DEFAULT_USE_PARAM_VALUE, DBX_FIREBASE_MODEL_DOES_NOT_EXIST_ERROR, DBX_FIREBASE_MODEL_ENTITY_WITH_STORE_TOKEN, DBX_FIREBASE_STORAGEFILE_DOWNLOAD_STORAGE_ACCESSOR_TOKEN, DBX_FIREBASE_STORAGE_CONTEXT_CONFIG_TOKEN, DBX_FIREBASE_STORAGE_CONTEXT_TOKEN, DBX_FIRESTORE_CONTEXT_TOKEN, DEFAULT_CONFIGURED_DBX_FIREBASE_LOGIN_BUTTON_TEMPLATE, DEFAULT_DBX_FIREBASE_ANALYTICS_USER_PROPERTIES_FACTORY, DEFAULT_DBX_FIREBASE_AUTH_SERVICE_DELEGATE, DEFAULT_DBX_FIREBASE_MODEL_ENTITIES_COMPONENT_POPOVER_KEY, DEFAULT_DBX_FIREBASE_MODEL_HISTORY_COMPONENT_POPOVER_KEY, DEFAULT_DBX_FIREBASE_NOTIFICATION_ITEM_STORE_POPOVER_KEY, DEFAULT_FIREBASE_AUTH_LOGIN_PASSWORD_CONFIG, DEFAULT_FIREBASE_AUTH_LOGIN_PASSWORD_CONFIG_TOKEN, DEFAULT_FIREBASE_AUTH_LOGIN_PROVIDERS_TOKEN, DEFAULT_FIREBASE_AUTH_LOGIN_TERMS_COMPONENT_CLASS_TOKEN, DEFAULT_FIREBASE_COLLECTION_CHANGE_TRIGGER_FUNCTION, DEFAULT_FIREBASE_DEVELOPMENT_ENABLED_TOKEN, DEFAULT_FIREBASE_DEVELOPMENT_POPUP_KEY, DEFAULT_FIREBASE_DEVELOPMENT_SCHEDULER_ENABLED_TOKEN, DEFAULT_FIREBASE_DEVELOPMENT_WIDGET_PROVIDERS_TOKEN, DEFAULT_FIREBASE_LOGIN_METHOD_CATEGORY, DEFAULT_FIREBASE_NOTIFICATION_ITEM_WIDGET_TYPE, DEVELOPMENT_FIREBASE_SERVER_SCHEDULER_WIDGET_KEY, DbxFirebaseAnalyticsUserEventsListenerService, DbxFirebaseAnalyticsUserSource, DbxFirebaseAppCheckHttpInterceptor, DbxFirebaseAuthLoginService, DbxFirebaseAuthService, DbxFirebaseAuthServiceDelegate, DbxFirebaseCollectionChangeDirective, DbxFirebaseCollectionChangeTriggerInstance, DbxFirebaseCollectionHasChangeDirective, DbxFirebaseCollectionListDirective, DbxFirebaseCollectionLoaderInstance, DbxFirebaseCollectionStoreDirective, DbxFirebaseCollectionWithParentStoreDirective, DbxFirebaseDevelopmentDirective, DbxFirebaseDevelopmentModule, DbxFirebaseDevelopmentPopupComponent, DbxFirebaseDevelopmentPopupContentComponent, DbxFirebaseDevelopmentPopupContentForgeFormComponent, DbxFirebaseDevelopmentSchedulerListComponent, DbxFirebaseDevelopmentSchedulerListViewComponent, DbxFirebaseDevelopmentSchedulerListViewItemComponent, DbxFirebaseDevelopmentSchedulerService, DbxFirebaseDevelopmentSchedulerWidgetComponent, DbxFirebaseDevelopmentService, DbxFirebaseDevelopmentWidgetService, DbxFirebaseDocumentLoaderInstance, DbxFirebaseDocumentStoreContextModelEntitiesSourceDirective, DbxFirebaseDocumentStoreContextStore, DbxFirebaseDocumentStoreContextStoreDirective, DbxFirebaseDocumentStoreDirective, DbxFirebaseDocumentStoreIdFromTwoWayModelKeyDirective, DbxFirebaseDocumentStoreTwoWayKeyProvider, DbxFirebaseDocumentStoreTwoWayModelKeySourceDirective, DbxFirebaseEmailForgeFormComponent, DbxFirebaseEmailRecoveryForgeFormComponent, DbxFirebaseEmulatorService, DbxFirebaseLoginAnonymousComponent, DbxFirebaseLoginAppleComponent, DbxFirebaseLoginButtonComponent, DbxFirebaseLoginButtonContainerComponent, DbxFirebaseLoginComponent, DbxFirebaseLoginContext, DbxFirebaseLoginContextBackButtonComponent, DbxFirebaseLoginContextDirective, DbxFirebaseLoginEmailComponent, DbxFirebaseLoginEmailContentComponent, DbxFirebaseLoginFacebookComponent, DbxFirebaseLoginGitHubComponent, DbxFirebaseLoginGoogleComponent, DbxFirebaseLoginListComponent, DbxFirebaseLoginMicrosoftComponent, DbxFirebaseLoginTermsComponent, DbxFirebaseLoginTermsSimpleComponent, DbxFirebaseLoginTwitterComponent, DbxFirebaseManageAuthProvidersComponent, DbxFirebaseModelContextService, DbxFirebaseModelEntitiesComponent, DbxFirebaseModelEntitiesDebugWidgetComponent, DbxFirebaseModelEntitiesPopoverButtonComponent, DbxFirebaseModelEntitiesPopoverComponent, DbxFirebaseModelEntitiesSource, DbxFirebaseModelEntitiesWidgetService, DbxFirebaseModelEntitiesWidgetServiceConfig, DbxFirebaseModelHistoryComponent, DbxFirebaseModelHistoryPopoverButtonComponent, DbxFirebaseModelHistoryPopoverComponent, DbxFirebaseModelKeyComponent, DbxFirebaseModelModule, DbxFirebaseModelStoreModule, DbxFirebaseModelTrackerService, DbxFirebaseModelTypeInstanceListComponent, DbxFirebaseModelTypeInstanceListViewComponent, DbxFirebaseModelTypeInstanceListViewItemComponent, DbxFirebaseModelTypesService, DbxFirebaseModelTypesServiceConfig, DbxFirebaseModelViewedEventDirective, DbxFirebaseModule, DbxFirebaseNotificationBoxCollectionStoreDirective, DbxFirebaseNotificationBoxDocumentStoreDirective, DbxFirebaseNotificationCollectionStoreDirective, DbxFirebaseNotificationDocumentStoreDirective, DbxFirebaseNotificationItemContentComponent, DbxFirebaseNotificationItemDefaultViewComponent, DbxFirebaseNotificationItemListComponent, DbxFirebaseNotificationItemListViewComponent, DbxFirebaseNotificationItemListViewItemComponent, DbxFirebaseNotificationItemStore, DbxFirebaseNotificationItemStorePopoverButtonComponent, DbxFirebaseNotificationItemStorePopoverComponent, DbxFirebaseNotificationItemViewComponent, DbxFirebaseNotificationItemWidgetService, DbxFirebaseNotificationSummaryCollectionStoreDirective, DbxFirebaseNotificationSummaryDocumentStoreDirective, DbxFirebaseNotificationTemplateService, DbxFirebaseNotificationUserCollectionStoreDirective, DbxFirebaseNotificationUserDocumentStoreDirective, DbxFirebaseParsedEmulatorsConfig, DbxFirebasePasswordResetComponent, DbxFirebasePasswordResetFormComponent, DbxFirebaseRegisterComponent, DbxFirebaseRegisterEmailComponent, DbxFirebaseStorageFileCollectionStoreDirective, DbxFirebaseStorageFileDocumentStoreDirective, DbxFirebaseStorageFileDownloadButtonComponent, DbxFirebaseStorageFileDownloadService, DbxFirebaseStorageFileDownloadStorage, DbxFirebaseStorageFileGroupDocumentStoreDirective, DbxFirebaseStorageFileUploadActionHandlerDirective, DbxFirebaseStorageFileUploadInitializeDocumentDirective, DbxFirebaseStorageFileUploadModule, DbxFirebaseStorageFileUploadStore, DbxFirebaseStorageFileUploadStoreDirective, DbxFirebaseStorageFileUploadSyncDirective, DbxFirebaseStorageService, DbxFirebaseSystemStateCollectionStoreDirective, DbxFirebaseSystemStateDocumentStoreDirective, DbxFirestoreContextService, DbxLimitedFirebaseDocumentLoaderInstance, FIREBASE_APP_CHECK_TOKEN, FIREBASE_APP_TOKEN, FIREBASE_AUTH_TOKEN, FIREBASE_FIRESTORE_TOKEN, FIREBASE_FUNCTIONS_TOKEN, FIREBASE_NOTIFICATION_ITEM_WIDGET_TYPE_PREFIX, FIREBASE_PROVIDER_ID_TO_LOGIN_METHOD_TYPE_MAP, FIREBASE_STORAGE_TOKEN, FlatFirestoreModelKeyPipe, IMPORTS_AND_EXPORTS, LOGIN_METHOD_TYPE_TO_FIREBASE_PROVIDER_ID_MAP, NotificationBoxCollectionStore, NotificationBoxDocumentStore, NotificationCollectionStore, NotificationDocumentStore, NotificationSummaryCollectionStore, NotificationSummaryDocumentStore, NotificationUserCollectionStore, NotificationUserDocumentStore, OAUTH_FIREBASE_LOGIN_METHOD_CATEGORY, StorageFileCollectionStore, StorageFileDocumentStore, StorageFileGroupDocumentStore, StorageFileUploadFilesError, SystemStateCollectionStore, SystemStateDocumentStore, TwoWayFlatFirestoreModelKeyPipe, authRolesObsWithClaimsService, authUserInfoFromAuthUser, authUserStateFromFirebaseAuthServiceFunction, createDbxFirebaseAppCheck, createDbxFirebaseAuth, createDbxFirebaseFirestore, createDbxFirebaseFunctions, createDbxFirebaseStorage, dbxFirebaseAuthContextInfo, dbxFirebaseCollectionChangeTrigger, dbxFirebaseCollectionChangeTriggerForStore, dbxFirebaseCollectionChangeTriggerForWatcher, dbxFirebaseCollectionChangeWatcher, dbxFirebaseCollectionLoaderInstance, dbxFirebaseCollectionLoaderInstanceWithCollection, dbxFirebaseDocumentLoaderInstance, dbxFirebaseDocumentLoaderInstanceWithAccessor, dbxFirebaseDocumentStoreContextModelEntitiesSourceFactory, dbxFirebaseIdRouteParamRedirect, dbxFirebaseInContextFirebaseModelServiceInstance, dbxFirebaseInContextFirebaseModelServiceInstanceFactory, dbxFirebaseKeyRouteParamRedirect, dbxFirebaseModelContextServiceInfoInstanceFactory, dbxFirebaseModelEntityWidgetInjectionConfigFactory, dbxFirebaseModelTypesServiceInstance, dbxFirebaseModelTypesServiceInstancePairForKeysFactory, dbxFirebaseSourceSelectLoadSource, dbxFirebaseStorageFileDownloadServiceCustomSourceFromObs, dbxFirebaseStorageProvidersContextConfigFactory, dbxLimitedFirebaseDocumentLoaderInstance, dbxLimitedFirebaseDocumentLoaderInstanceWithAccessor, dbxWidgetTypeForNotificationTemplateType, defaultDbxFirebaseAuthServiceDelegateWithClaimsService, defaultDbxFirebaseStorageFileDownloadStorageAccessorFactory, developmentFirebaseServerSchedulerWidgetEntry, enableAppCheckDebugTokenGeneration, firebaseAuthState, firebaseAuthTokenFromUser, firebaseCollectionStoreCreateFunction, firebaseCollectionStoreCrudFunction, firebaseContextServiceEntityMap, firebaseDocumentStoreCreateFunction, firebaseDocumentStoreCrudFunction, firebaseDocumentStoreDeleteFunction, firebaseDocumentStoreReadFunction, firebaseDocumentStoreUpdateFunction, firebaseIdToken, firebaseProviderIdToLoginMethodType, isDbxFirebaseModelEntityWithStore, linkDocumentStoreToParentContextStores, loginMethodTypeToFirebaseProviderId, modelDoesNotExistError, parseDbxFirebaseEmulatorsConfig, provideDbxFirebase, provideDbxFirebaseAnalyticsUserEventsListenerService, provideDbxFirebaseApp, provideDbxFirebaseAuth, provideDbxFirebaseCollectionStoreDirective, provideDbxFirebaseCollectionWithParentStoreDirective, provideDbxFirebaseDevelopment, provideDbxFirebaseDocumentStoreContextStore, provideDbxFirebaseDocumentStoreDirective, provideDbxFirebaseDocumentStoreTwoWayKeyProvider, provideDbxFirebaseFunctions, provideDbxFirebaseLogin, provideDbxFirebaseModelContextService, provideDbxFirebaseModelEntitiesWidgetService, provideDbxFirebaseNotifications, provideDbxFirebaseStorageFileService, provideDbxFirestoreCollection, provideNotificationFirestoreCollections, provideStorageFileFirestoreCollections, provideSystemStateFirestoreCollections, providedDbxFirebaseStorage, readDbxAnalyticsUserPropertiesFromAuthUserInfo, readValueFromIdToken, setParentStoreEffect, stateFromTokenForLoggedInUserFunction, storageFileUploadFiles, storageFileUploadHandler };
|
|
7959
7991
|
//# sourceMappingURL=dereekb-dbx-firebase.mjs.map
|