@dereekb/dbx-firebase 13.4.1 → 13.5.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 +216 -131
- package/fesm2022/dereekb-dbx-firebase-oidc.mjs.map +1 -1
- package/fesm2022/dereekb-dbx-firebase.mjs +1323 -724
- package/fesm2022/dereekb-dbx-firebase.mjs.map +1 -1
- package/lib/auth/login/_login.scss +1 -20
- package/lib/model/_model.scss +0 -1
- package/lib/model/modules/model/_model.scss +0 -19
- package/lib/style/_all-typography.scss +0 -2
- package/lib/style/_theming.scss +1 -5
- package/package.json +13 -13
- package/types/dereekb-dbx-firebase-oidc.d.ts +97 -10
- package/types/dereekb-dbx-firebase.d.ts +650 -105
|
@@ -2,7 +2,7 @@ import { AnalyticsUserProperties, DbxAnalyticsUserSource, AnalyticsUser, DbxAnal
|
|
|
2
2
|
import * as _dereekb_util from '@dereekb/util';
|
|
3
3
|
import { Maybe, ISO8601DateString, AuthRoleSet, AuthRoleClaimsService, AuthClaimsObject, AuthClaims, FactoryWithRequiredInput, Initialized, Destroyable, ArrayOrValue, LabelRef, ClassLikeType, PageNumber, GetterOrValue, IterableOrValue, SetIncludesMode, ModelKey, ClassType, MapFunction, PartialOnKeys, UnixDateTimeSecondsNumber, ContentTypeMimeType, Milliseconds, Seconds, DateOrUnixDateTimeSecondsNumber, PercentDecimal, PercentNumber, PromiseOrValue } from '@dereekb/util';
|
|
4
4
|
import { DbxAuthService, AuthUserState, AuthUserIdentifier, NoAuthUserIdentifier, DbxInjectionContext, ClickableAnchor, AbstractForwardDbxInjectionContextDirective, DbxActionSuccessHandlerFunction, DbxInjectionComponentConfig, ClickableUrl, IconAndTitle, SegueRef, ClickableAnchorLinkSegueRef, LockSetComponent, DbxButtonDisplay, DbxRouteModelIdDirectiveDelegate, DbxRouteModelKeyDirectiveDelegate, LockSetComponentStore, AbstractIfDirective, StorageAccessor, DbxActionContextStoreSourceInstance, DbxActionHandlerInstance, SimpleStorageAccessorFactory, DbxRouteParamReader, DbxRouterService } from '@dereekb/dbx-core';
|
|
5
|
-
import { Auth, User as User$1, IdTokenResult, ParsedToken,
|
|
5
|
+
import { Auth, User as User$1, IdTokenResult, ParsedToken, AuthProvider, PopupRedirectResolver, UserCredential, AuthCredential } from '@angular/fire/auth';
|
|
6
6
|
import * as rxjs from 'rxjs';
|
|
7
7
|
import { Observable, BehaviorSubject, Subject, OperatorFunction, Subscription } from 'rxjs';
|
|
8
8
|
import * as _dereekb_firebase from '@dereekb/firebase';
|
|
@@ -43,8 +43,24 @@ type AuthUserInfo = Omit<UserInfo, 'providerId'> & {
|
|
|
43
43
|
* The last time the user signed in and recieved a refresh token.
|
|
44
44
|
*/
|
|
45
45
|
readonly lastSignInTime?: Maybe<ISO8601DateString>;
|
|
46
|
+
/**
|
|
47
|
+
* Provider data for each linked authentication provider.
|
|
48
|
+
*/
|
|
49
|
+
readonly providerData?: UserInfo[];
|
|
46
50
|
};
|
|
51
|
+
/**
|
|
52
|
+
* Converts a Firebase Auth {@link User} into an {@link AuthUserInfo} containing display name, email, phone, photo URL, UID, and metadata timestamps.
|
|
53
|
+
*
|
|
54
|
+
* @param user - The Firebase Auth user to convert.
|
|
55
|
+
* @returns An AuthUserInfo object with the user's profile and metadata.
|
|
56
|
+
*/
|
|
47
57
|
declare function authUserInfoFromAuthUser(user: User): AuthUserInfo;
|
|
58
|
+
/**
|
|
59
|
+
* Extracts a {@link FirebaseAuthToken} from a Firebase Auth {@link User}, including email verification status and metadata timestamps.
|
|
60
|
+
*
|
|
61
|
+
* @param user - The Firebase Auth user to extract token info from.
|
|
62
|
+
* @returns A FirebaseAuthToken with the user's auth-related properties.
|
|
63
|
+
*/
|
|
48
64
|
declare function firebaseAuthTokenFromUser(user: User): FirebaseAuthToken;
|
|
49
65
|
|
|
50
66
|
/**
|
|
@@ -74,6 +90,16 @@ declare class DbxFirebaseAuthService implements DbxAuthService {
|
|
|
74
90
|
readonly hasAuthUser$: Observable<boolean>;
|
|
75
91
|
readonly isAnonymousUser$: Observable<boolean>;
|
|
76
92
|
readonly isNotAnonymousUser$: Observable<boolean>;
|
|
93
|
+
/**
|
|
94
|
+
* Observable of provider IDs currently linked to the authenticated user.
|
|
95
|
+
*
|
|
96
|
+
* @example
|
|
97
|
+
* ```ts
|
|
98
|
+
* authService.currentLinkedProviderIds$.subscribe(ids => console.log(ids));
|
|
99
|
+
* // ['google.com', 'facebook.com']
|
|
100
|
+
* ```
|
|
101
|
+
*/
|
|
102
|
+
readonly currentLinkedProviderIds$: Observable<string[]>;
|
|
77
103
|
readonly isLoggedIn$: Observable<boolean>;
|
|
78
104
|
readonly isNotLoggedIn$: Observable<boolean>;
|
|
79
105
|
readonly onLogIn$: Observable<void>;
|
|
@@ -101,14 +127,45 @@ declare class DbxFirebaseAuthService implements DbxAuthService {
|
|
|
101
127
|
rolesForClaims<T extends AuthClaimsObject = AuthClaimsObject>(claims: AuthClaims<T>): AuthRoleSet;
|
|
102
128
|
getAuthContextInfo(): Promise<Maybe<DbxFirebaseAuthContextInfo>>;
|
|
103
129
|
loadAuthContextInfoForUser(user: Maybe<User$1>): Promise<Maybe<DbxFirebaseAuthContextInfo>>;
|
|
104
|
-
logInWithGoogle(): Promise<UserCredential>;
|
|
105
|
-
logInWithFacebook(): Promise<UserCredential>;
|
|
106
|
-
logInWithTwitter(): Promise<UserCredential>;
|
|
107
|
-
logInWithGithub(): Promise<UserCredential>;
|
|
108
|
-
logInWithApple(): Promise<UserCredential>;
|
|
109
|
-
logInWithMicrosoft(): Promise<UserCredential>;
|
|
110
|
-
logInWithPhone(): Promise<UserCredential>;
|
|
111
130
|
logInWithPopup(provider: AuthProvider, resolver?: PopupRedirectResolver): Promise<UserCredential>;
|
|
131
|
+
/**
|
|
132
|
+
* Links an additional authentication provider to the current user via popup.
|
|
133
|
+
*
|
|
134
|
+
* @param provider - The auth provider to link.
|
|
135
|
+
* @param resolver - Optional popup redirect resolver.
|
|
136
|
+
* @returns A promise resolving to the user credential after linking.
|
|
137
|
+
*
|
|
138
|
+
* @example
|
|
139
|
+
* ```ts
|
|
140
|
+
* await authService.linkWithPopup(new GoogleAuthProvider());
|
|
141
|
+
* ```
|
|
142
|
+
*/
|
|
143
|
+
linkWithPopup(provider: AuthProvider, resolver?: PopupRedirectResolver): Promise<UserCredential>;
|
|
144
|
+
/**
|
|
145
|
+
* Links a credential to the current user. Useful for merging accounts
|
|
146
|
+
* when a credential-already-in-use error provides an {@link AuthCredential}.
|
|
147
|
+
*
|
|
148
|
+
* @param credential - The auth credential to link.
|
|
149
|
+
* @returns A promise resolving to the user credential after linking.
|
|
150
|
+
*
|
|
151
|
+
* @example
|
|
152
|
+
* ```ts
|
|
153
|
+
* await authService.linkWithCredential(credential);
|
|
154
|
+
* ```
|
|
155
|
+
*/
|
|
156
|
+
linkWithCredential(credential: AuthCredential): Promise<UserCredential>;
|
|
157
|
+
/**
|
|
158
|
+
* Unlinks an authentication provider from the current user.
|
|
159
|
+
*
|
|
160
|
+
* @param providerId - The provider ID to unlink (e.g., 'google.com').
|
|
161
|
+
* @returns A promise resolving to the updated user.
|
|
162
|
+
*
|
|
163
|
+
* @example
|
|
164
|
+
* ```ts
|
|
165
|
+
* await authService.unlinkProvider('google.com');
|
|
166
|
+
* ```
|
|
167
|
+
*/
|
|
168
|
+
unlinkProvider(providerId: string): Promise<User$1>;
|
|
112
169
|
registerWithEmailAndPassword(email: string, password: string): Promise<UserCredential>;
|
|
113
170
|
sendPasswordResetEmail(email: string): Promise<void>;
|
|
114
171
|
logInWithEmailAndPassword(email: string, password: string): Promise<UserCredential>;
|
|
@@ -137,6 +194,12 @@ interface DbxFirebaseAuthContextInfo extends FirebaseAuthContextInfo {
|
|
|
137
194
|
declare function dbxFirebaseAuthContextInfo(service: DbxFirebaseAuthService, user: User$1, jwtToken: IdTokenResult): DbxFirebaseAuthContextInfo;
|
|
138
195
|
|
|
139
196
|
type DbxFirebaseAnalyticsUserPropertiesFactory = FactoryWithRequiredInput<Observable<AnalyticsUserProperties>, AuthUserInfo>;
|
|
197
|
+
/**
|
|
198
|
+
* Extracts analytics user properties (name, email, creation time) from an {@link AuthUserInfo} instance.
|
|
199
|
+
*
|
|
200
|
+
* @param user - The authenticated user info to extract properties from.
|
|
201
|
+
* @returns AnalyticsUserProperties populated from the user info.
|
|
202
|
+
*/
|
|
140
203
|
declare function readDbxAnalyticsUserPropertiesFromAuthUserInfo(user: AuthUserInfo): AnalyticsUserProperties;
|
|
141
204
|
declare const DEFAULT_DBX_FIREBASE_ANALYTICS_USER_PROPERTIES_FACTORY: DbxFirebaseAnalyticsUserPropertiesFactory;
|
|
142
205
|
/**
|
|
@@ -196,24 +259,42 @@ declare class DbxFirebaseAppCheckHttpInterceptor implements HttpInterceptor {
|
|
|
196
259
|
static ɵprov: i0.ɵɵInjectableDeclaration<DbxFirebaseAppCheckHttpInterceptor>;
|
|
197
260
|
}
|
|
198
261
|
|
|
199
|
-
/**
|
|
262
|
+
/**
|
|
263
|
+
* String identifier for a Firebase authentication method (e.g., 'email', 'google').
|
|
264
|
+
*/
|
|
200
265
|
type FirebaseLoginMethodType = string;
|
|
201
|
-
/**
|
|
266
|
+
/**
|
|
267
|
+
* Category grouping for login methods (e.g., 'default', 'oauth').
|
|
268
|
+
*/
|
|
202
269
|
type FirebaseLoginMethodCategory = string;
|
|
203
|
-
/**
|
|
270
|
+
/**
|
|
271
|
+
* Known Firebase login method types supported by the login UI.
|
|
272
|
+
*/
|
|
204
273
|
type KnownFirebaseLoginMethodType = 'email' | 'phone' | 'google' | 'facebook' | 'github' | 'twitter' | 'apple' | 'microsoft' | 'anonymous';
|
|
205
|
-
/**
|
|
274
|
+
/**
|
|
275
|
+
* Category for built-in login methods (email, phone, anonymous).
|
|
276
|
+
*/
|
|
206
277
|
declare const DEFAULT_FIREBASE_LOGIN_METHOD_CATEGORY = "default";
|
|
207
|
-
/**
|
|
278
|
+
/**
|
|
279
|
+
* Category for OAuth-based login methods (Google, Facebook, etc.).
|
|
280
|
+
*/
|
|
208
281
|
declare const OAUTH_FIREBASE_LOGIN_METHOD_CATEGORY = "oauth";
|
|
209
|
-
/**
|
|
282
|
+
/**
|
|
283
|
+
* Known categories for Firebase login methods.
|
|
284
|
+
*/
|
|
210
285
|
type KnownFirebaseLoginMethodCategory = typeof DEFAULT_FIREBASE_LOGIN_METHOD_CATEGORY | typeof OAUTH_FIREBASE_LOGIN_METHOD_CATEGORY;
|
|
211
|
-
/**
|
|
212
|
-
|
|
286
|
+
/**
|
|
287
|
+
* Mode for the login UI — either signing in or creating a new account.
|
|
288
|
+
*/
|
|
289
|
+
type DbxFirebaseLoginMode = 'login' | 'register' | 'link';
|
|
213
290
|
|
|
214
|
-
/**
|
|
291
|
+
/**
|
|
292
|
+
* Password validation configuration for Firebase email/password login forms.
|
|
293
|
+
*/
|
|
215
294
|
type DbxFirebaseAuthLoginPasswordConfig = TextPasswordFieldPasswordParameters;
|
|
216
|
-
/**
|
|
295
|
+
/**
|
|
296
|
+
* Default password config requiring a minimum of 6 characters (Firebase Auth minimum).
|
|
297
|
+
*/
|
|
217
298
|
declare const DEFAULT_FIREBASE_AUTH_LOGIN_PASSWORD_CONFIG: DbxFirebaseAuthLoginPasswordConfig;
|
|
218
299
|
|
|
219
300
|
/**
|
|
@@ -279,9 +360,14 @@ interface DbxFirebaseAuthLoginProvider<D = unknown> {
|
|
|
279
360
|
*/
|
|
280
361
|
readonly componentClass: Type<unknown>;
|
|
281
362
|
/**
|
|
282
|
-
* Custom registration type to use instead. If false, registration is not
|
|
363
|
+
* Custom registration type to use instead. If false, registration is not allowed for this type.
|
|
283
364
|
*/
|
|
284
365
|
readonly registrationComponentClass?: Type<unknown> | false;
|
|
366
|
+
/**
|
|
367
|
+
* Whether this provider supports linking to an existing account. Defaults to true.
|
|
368
|
+
* Set to false to exclude this provider in link mode (e.g., email, anonymous).
|
|
369
|
+
*/
|
|
370
|
+
readonly allowLinking?: Maybe<boolean>;
|
|
285
371
|
/**
|
|
286
372
|
* Custom data available to the components.
|
|
287
373
|
*
|
|
@@ -309,12 +395,28 @@ interface DbxFirebaseAuthLoginProviderAssets {
|
|
|
309
395
|
* Log in text to display next to the logo.
|
|
310
396
|
*/
|
|
311
397
|
readonly loginText?: string;
|
|
398
|
+
/**
|
|
399
|
+
* Display name of the provider (e.g., "Google", "Facebook").
|
|
400
|
+
*/
|
|
401
|
+
readonly providerName?: string;
|
|
402
|
+
/**
|
|
403
|
+
* Text to display for the link action. Defaults to "Connect " + providerName.
|
|
404
|
+
*/
|
|
405
|
+
readonly linkText?: string;
|
|
406
|
+
/**
|
|
407
|
+
* Text to display for the unlink action. Defaults to "Disconnect " + providerName.
|
|
408
|
+
*/
|
|
409
|
+
readonly unlinkText?: string;
|
|
410
|
+
/**
|
|
411
|
+
* Optional CSS filter to apply to the logo image (e.g., 'brightness(0) invert(1)' to make a black SVG white).
|
|
412
|
+
*/
|
|
413
|
+
readonly logoFilter?: string;
|
|
312
414
|
/**
|
|
313
415
|
* Optional background color to apply.
|
|
314
416
|
*/
|
|
315
417
|
readonly backgroundColor?: string;
|
|
316
418
|
/**
|
|
317
|
-
* Optional
|
|
419
|
+
* Optional text color to apply.
|
|
318
420
|
*/
|
|
319
421
|
readonly textColor?: string;
|
|
320
422
|
}
|
|
@@ -334,8 +436,9 @@ declare class DbxFirebaseAuthLoginService {
|
|
|
334
436
|
/**
|
|
335
437
|
* Used to register a provider. If a provider is already registered, this will override it by default.
|
|
336
438
|
*
|
|
337
|
-
* @param provider
|
|
338
|
-
* @param override
|
|
439
|
+
* @param provider - The login provider to register.
|
|
440
|
+
* @param override - Whether to override an existing provider of the same type. Defaults to true.
|
|
441
|
+
* @returns True if the provider was registered, false if it already existed and override was false.
|
|
339
442
|
*/
|
|
340
443
|
register(provider: DbxFirebaseAuthLoginProvider, override?: boolean): boolean;
|
|
341
444
|
/**
|
|
@@ -347,6 +450,8 @@ declare class DbxFirebaseAuthLoginService {
|
|
|
347
450
|
updateAssetsForProvider(type: FirebaseLoginMethodType, assets: Partial<DbxFirebaseAuthLoginProviderAssets>): void;
|
|
348
451
|
/**
|
|
349
452
|
* Enables all providers and any providers that will be registered.
|
|
453
|
+
*
|
|
454
|
+
* @param enableAll - Whether to enable all providers. Defaults to true.
|
|
350
455
|
*/
|
|
351
456
|
setEnableAll(enableAll?: boolean): void;
|
|
352
457
|
clearEnabled(): void;
|
|
@@ -363,6 +468,13 @@ declare class DbxFirebaseAuthLoginService {
|
|
|
363
468
|
getLoginProviders(types: Iterable<FirebaseLoginMethodType>): DbxFirebaseAuthLoginProvider[];
|
|
364
469
|
getRegisterProvider(type: FirebaseLoginMethodType): Maybe<DbxFirebaseAuthLoginProvider>;
|
|
365
470
|
getRegisterProviders(types: Iterable<FirebaseLoginMethodType>): DbxFirebaseAuthLoginProvider[];
|
|
471
|
+
getLinkProviders(types: Iterable<FirebaseLoginMethodType>): DbxFirebaseAuthLoginProvider[];
|
|
472
|
+
/**
|
|
473
|
+
* Returns all registered provider assets.
|
|
474
|
+
*
|
|
475
|
+
* @returns A map of login method types to their asset configurations.
|
|
476
|
+
*/
|
|
477
|
+
getAllProviderAssets(): Map<FirebaseLoginMethodType, DbxFirebaseAuthLoginProviderAssets>;
|
|
366
478
|
getProviderAssets(type: FirebaseLoginMethodType): Maybe<DbxFirebaseAuthLoginProviderAssets>;
|
|
367
479
|
getPasswordConfig(): Partial<Pick<dist_packages_dbx_form_types_dereekb_dbx_form.TextFieldConfig, "maxLength" | "minLength" | "pattern">>;
|
|
368
480
|
setPasswordConfig(passwordConfig: DbxFirebaseAuthLoginPasswordConfig): void;
|
|
@@ -376,11 +488,14 @@ declare class DbxFirebaseAuthLoginService {
|
|
|
376
488
|
declare abstract class DbxFirebaseLoginContext extends DbxInjectionContext {
|
|
377
489
|
}
|
|
378
490
|
|
|
379
|
-
/**
|
|
491
|
+
/**
|
|
492
|
+
* Configuration for a login button's appearance and action handler.
|
|
493
|
+
*/
|
|
380
494
|
interface DbxFirebaseLoginButtonConfig {
|
|
381
495
|
text: string;
|
|
382
496
|
iconUrl?: string;
|
|
383
497
|
icon?: string;
|
|
498
|
+
iconFilter?: string;
|
|
384
499
|
buttonColor?: string;
|
|
385
500
|
buttonTextColor?: string;
|
|
386
501
|
handleLogin: () => Promise<unknown>;
|
|
@@ -394,6 +509,7 @@ declare class DbxFirebaseLoginButtonComponent {
|
|
|
394
509
|
readonly config: i0.ModelSignal<Maybe<DbxFirebaseLoginButtonConfig>>;
|
|
395
510
|
readonly iconUrlSignal: i0.Signal<string | undefined>;
|
|
396
511
|
readonly iconSignal: i0.Signal<string | undefined>;
|
|
512
|
+
readonly iconFilterSignal: i0.Signal<string | undefined>;
|
|
397
513
|
readonly textSignal: i0.Signal<string>;
|
|
398
514
|
readonly buttonColorSignal: i0.Signal<string>;
|
|
399
515
|
readonly buttonTextColorSignal: i0.Signal<string | undefined>;
|
|
@@ -403,36 +519,81 @@ declare class DbxFirebaseLoginButtonComponent {
|
|
|
403
519
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFirebaseLoginButtonComponent, never>;
|
|
404
520
|
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFirebaseLoginButtonComponent, "dbx-firebase-login-button", never, { "config": { "alias": "config"; "required": false; "isSignal": true; }; }, { "config": "configChange"; }, never, never, true, never>;
|
|
405
521
|
}
|
|
406
|
-
/**
|
|
522
|
+
/**
|
|
523
|
+
* Container component that wraps login button content with consistent spacing.
|
|
524
|
+
*/
|
|
407
525
|
declare class DbxFirebaseLoginButtonContainerComponent {
|
|
408
526
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFirebaseLoginButtonContainerComponent, never>;
|
|
409
527
|
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFirebaseLoginButtonContainerComponent, "dbx-firebase-login-button-container", never, {}, {}, never, ["*"], true, never>;
|
|
410
528
|
}
|
|
411
|
-
/**
|
|
529
|
+
/**
|
|
530
|
+
* Default template for configured login button components.
|
|
531
|
+
*/
|
|
412
532
|
declare const DEFAULT_CONFIGURED_DBX_FIREBASE_LOGIN_BUTTON_TEMPLATE = "\n <dbx-firebase-login-button-container>\n <dbx-firebase-login-button [config]=\"configSignal()\"></dbx-firebase-login-button>\n </dbx-firebase-login-button-container>\n";
|
|
413
|
-
/**
|
|
533
|
+
/**
|
|
534
|
+
* Shared component configuration for OAuth-style login button components.
|
|
535
|
+
*/
|
|
414
536
|
declare const DBX_CONFIGURED_DBX_FIREBASE_LOGIN_BUTTON_COMPONENT_CONFIGURATION: Pick<Component, 'template' | 'imports' | 'changeDetection'>;
|
|
537
|
+
/**
|
|
538
|
+
* Data passed to login button components via {@link DBX_INJECTION_COMPONENT_DATA} from the login list.
|
|
539
|
+
*/
|
|
540
|
+
interface DbxFirebaseLoginButtonInjectionData {
|
|
541
|
+
/**
|
|
542
|
+
* The current login mode for this button instance.
|
|
543
|
+
*/
|
|
544
|
+
readonly loginMode: DbxFirebaseLoginMode;
|
|
545
|
+
}
|
|
415
546
|
/**
|
|
416
547
|
* Abstract base directive for login provider buttons that auto-configures appearance
|
|
417
548
|
* from the registered provider assets and delegates login handling to subclasses.
|
|
549
|
+
*
|
|
550
|
+
* Supports login, register, and link modes. In link mode, the button text is derived from
|
|
551
|
+
* the provider's `linkText` or defaults to "Connect " + `providerName`.
|
|
552
|
+
*
|
|
553
|
+
* @example
|
|
554
|
+
* ```typescript
|
|
555
|
+
* export class MyProviderComponent extends AbstractConfiguredDbxFirebaseLoginButtonDirective {
|
|
556
|
+
* readonly loginProvider = 'myprovider';
|
|
557
|
+
* handleLogin() { return this.dbxFirebaseAuthService.logInWithPopup(new MyProvider()); }
|
|
558
|
+
* handleLink() { return this.dbxFirebaseAuthService.linkWithPopup(new MyProvider()); }
|
|
559
|
+
* }
|
|
560
|
+
* ```
|
|
418
561
|
*/
|
|
419
562
|
declare abstract class AbstractConfiguredDbxFirebaseLoginButtonDirective implements OnInit {
|
|
420
563
|
abstract readonly loginProvider: FirebaseLoginMethodType;
|
|
421
564
|
readonly dbxFirebaseAuthService: DbxFirebaseAuthService;
|
|
422
565
|
readonly dbxFirebaseAuthLoginService: DbxFirebaseAuthLoginService;
|
|
423
566
|
readonly dbxFirebaseLoginContext: DbxFirebaseLoginContext;
|
|
567
|
+
private readonly _injectionData;
|
|
424
568
|
private readonly _config;
|
|
425
569
|
readonly configSignal: i0.Signal<DbxFirebaseLoginButtonConfig | null>;
|
|
570
|
+
/**
|
|
571
|
+
* The effective login mode, derived from injection data or defaulting to 'login'.
|
|
572
|
+
*
|
|
573
|
+
* @returns The login mode for this button instance.
|
|
574
|
+
*/
|
|
575
|
+
get effectiveLoginMode(): DbxFirebaseLoginMode;
|
|
426
576
|
ngOnInit(): void;
|
|
427
577
|
abstract handleLogin(): Promise<unknown>;
|
|
578
|
+
/**
|
|
579
|
+
* Handles the link action. Override in subclasses that support linking.
|
|
580
|
+
* Throws by default for providers that do not support linking.
|
|
581
|
+
*
|
|
582
|
+
* @returns A promise that resolves when the link action completes.
|
|
583
|
+
*/
|
|
584
|
+
handleLink(): Promise<unknown>;
|
|
428
585
|
get providerConfig(): Maybe<_dereekb_dbx_firebase.DbxFirebaseAuthLoginProvider<unknown>>;
|
|
429
|
-
get assetConfig():
|
|
586
|
+
get assetConfig(): DbxFirebaseAuthLoginProviderAssets;
|
|
430
587
|
get config(): DbxFirebaseLoginButtonConfig;
|
|
588
|
+
private _textForMode;
|
|
589
|
+
private _handleAction;
|
|
431
590
|
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractConfiguredDbxFirebaseLoginButtonDirective, never>;
|
|
432
591
|
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractConfiguredDbxFirebaseLoginButtonDirective, never, never, {}, {}, never, never, true, never>;
|
|
433
592
|
}
|
|
434
593
|
|
|
435
|
-
/**
|
|
594
|
+
/**
|
|
595
|
+
* Login button component for anonymous (guest) authentication.
|
|
596
|
+
*/
|
|
436
597
|
declare class DbxFirebaseLoginAnonymousComponent extends AbstractConfiguredDbxFirebaseLoginButtonDirective {
|
|
437
598
|
readonly loginProvider = "anonymous";
|
|
438
599
|
handleLogin(): Promise<_firebase_auth.UserCredential>;
|
|
@@ -440,10 +601,13 @@ declare class DbxFirebaseLoginAnonymousComponent extends AbstractConfiguredDbxFi
|
|
|
440
601
|
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFirebaseLoginAnonymousComponent, "dbx-firebase-login-anonymous", never, {}, {}, never, never, true, never>;
|
|
441
602
|
}
|
|
442
603
|
|
|
443
|
-
/**
|
|
604
|
+
/**
|
|
605
|
+
* Login button component for Apple OAuth authentication.
|
|
606
|
+
*/
|
|
444
607
|
declare class DbxFirebaseLoginAppleComponent extends AbstractConfiguredDbxFirebaseLoginButtonDirective {
|
|
445
608
|
readonly loginProvider = "apple";
|
|
446
609
|
handleLogin(): Promise<_firebase_auth.UserCredential>;
|
|
610
|
+
handleLink(): Promise<_firebase_auth.UserCredential>;
|
|
447
611
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFirebaseLoginAppleComponent, never>;
|
|
448
612
|
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFirebaseLoginAppleComponent, "dbx-firebase-login-apple", never, {}, {}, never, never, true, never>;
|
|
449
613
|
}
|
|
@@ -460,7 +624,9 @@ declare class DbxFirebaseLoginComponent {
|
|
|
460
624
|
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFirebaseLoginComponent, "dbx-firebase-login", never, { "loginMode": { "alias": "loginMode"; "required": false; "isSignal": true; }; "providerTypes": { "alias": "providerTypes"; "required": false; "isSignal": true; }; "omitProviderTypes": { "alias": "omitProviderTypes"; "required": false; "isSignal": true; }; "providerCategories": { "alias": "providerCategories"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
461
625
|
}
|
|
462
626
|
|
|
463
|
-
/**
|
|
627
|
+
/**
|
|
628
|
+
* Navigation component that allows users to return to the login method selection list.
|
|
629
|
+
*/
|
|
464
630
|
declare class DbxFirebaseLoginContextBackButtonComponent {
|
|
465
631
|
readonly cancelLogin: i0.OutputEmitterRef<void>;
|
|
466
632
|
readonly anchor: ClickableAnchor;
|
|
@@ -478,7 +644,9 @@ declare class DbxFirebaseLoginContextDirective extends AbstractForwardDbxInjecti
|
|
|
478
644
|
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxFirebaseLoginContextDirective, "[dbxFirebaseLoginContext]", never, {}, {}, never, never, true, never>;
|
|
479
645
|
}
|
|
480
646
|
|
|
481
|
-
/**
|
|
647
|
+
/**
|
|
648
|
+
* Login button component for email/password authentication. Opens the email login context on click.
|
|
649
|
+
*/
|
|
482
650
|
declare class DbxFirebaseLoginEmailComponent extends AbstractConfiguredDbxFirebaseLoginButtonDirective {
|
|
483
651
|
readonly loginProvider = "email";
|
|
484
652
|
handleLogin(): Promise<boolean>;
|
|
@@ -486,20 +654,28 @@ declare class DbxFirebaseLoginEmailComponent extends AbstractConfiguredDbxFireba
|
|
|
486
654
|
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFirebaseLoginEmailComponent, "dbx-firebase-login-email", never, {}, {}, never, never, true, never>;
|
|
487
655
|
}
|
|
488
656
|
|
|
489
|
-
/**
|
|
657
|
+
/**
|
|
658
|
+
* Form value for the password recovery form containing the email address.
|
|
659
|
+
*/
|
|
490
660
|
interface DbxFirebaseEmailRecoveryFormValue {
|
|
491
661
|
email: string;
|
|
492
662
|
}
|
|
493
|
-
/**
|
|
663
|
+
/**
|
|
664
|
+
* Formly-based form component for password recovery, containing a single email field.
|
|
665
|
+
*/
|
|
494
666
|
declare class DbxFirebaseEmailRecoveryFormComponent extends AbstractSyncFormlyFormDirective<DbxFirebaseEmailRecoveryFormValue> {
|
|
495
667
|
readonly fields: FormlyFieldConfig[];
|
|
496
668
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFirebaseEmailRecoveryFormComponent, never>;
|
|
497
669
|
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFirebaseEmailRecoveryFormComponent, "dbx-firebase-email-recovery-form", never, {}, {}, never, never, true, never>;
|
|
498
670
|
}
|
|
499
671
|
|
|
500
|
-
/**
|
|
672
|
+
/**
|
|
673
|
+
* Form value containing email (username) and password fields.
|
|
674
|
+
*/
|
|
501
675
|
type DbxFirebaseEmailFormValue = DefaultUsernameLoginFieldsValue;
|
|
502
|
-
/**
|
|
676
|
+
/**
|
|
677
|
+
* Configuration for the email login form, specifying mode and optional password constraints.
|
|
678
|
+
*/
|
|
503
679
|
interface DbxFirebaseEmailFormConfig {
|
|
504
680
|
readonly loginMode: DbxFirebaseLoginMode;
|
|
505
681
|
readonly passwordConfig?: TextPasswordFieldConfig;
|
|
@@ -515,11 +691,15 @@ declare class DbxFirebaseEmailFormComponent extends AbstractConfigAsyncFormlyFor
|
|
|
515
691
|
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFirebaseEmailFormComponent, "dbx-firebase-email-form", never, {}, {}, never, never, true, never>;
|
|
516
692
|
}
|
|
517
693
|
|
|
518
|
-
/**
|
|
694
|
+
/**
|
|
695
|
+
* Configuration for the email login content component, specifying mode and password rules.
|
|
696
|
+
*/
|
|
519
697
|
interface DbxFirebaseLoginEmailContentComponentConfig extends DbxFirebaseEmailFormConfig {
|
|
520
698
|
readonly loginMode: DbxFirebaseLoginMode;
|
|
521
699
|
}
|
|
522
|
-
/**
|
|
700
|
+
/**
|
|
701
|
+
* UI state of the email login content: login form, password recovery form, or recovery sent confirmation.
|
|
702
|
+
*/
|
|
523
703
|
type DbxFirebaseLoginEmailContentMode = 'login' | 'recover' | 'recoversent';
|
|
524
704
|
/**
|
|
525
705
|
* Full email login/registration flow component with login form, password recovery, and recovery confirmation states.
|
|
@@ -554,31 +734,42 @@ declare class DbxFirebaseLoginEmailContentComponent {
|
|
|
554
734
|
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFirebaseLoginEmailContentComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
555
735
|
}
|
|
556
736
|
|
|
557
|
-
/**
|
|
737
|
+
/**
|
|
738
|
+
* Login button component for Facebook OAuth authentication.
|
|
739
|
+
*/
|
|
558
740
|
declare class DbxFirebaseLoginFacebookComponent extends AbstractConfiguredDbxFirebaseLoginButtonDirective {
|
|
559
741
|
readonly loginProvider = "facebook";
|
|
560
742
|
handleLogin(): Promise<_firebase_auth.UserCredential>;
|
|
743
|
+
handleLink(): Promise<_firebase_auth.UserCredential>;
|
|
561
744
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFirebaseLoginFacebookComponent, never>;
|
|
562
745
|
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFirebaseLoginFacebookComponent, "dbx-firebase-login-facebook", never, {}, {}, never, never, true, never>;
|
|
563
746
|
}
|
|
564
747
|
|
|
565
|
-
/**
|
|
748
|
+
/**
|
|
749
|
+
* Login button component for GitHub OAuth authentication.
|
|
750
|
+
*/
|
|
566
751
|
declare class DbxFirebaseLoginGitHubComponent extends AbstractConfiguredDbxFirebaseLoginButtonDirective {
|
|
567
752
|
readonly loginProvider = "github";
|
|
568
753
|
handleLogin(): Promise<_firebase_auth.UserCredential>;
|
|
754
|
+
handleLink(): Promise<_firebase_auth.UserCredential>;
|
|
569
755
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFirebaseLoginGitHubComponent, never>;
|
|
570
756
|
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFirebaseLoginGitHubComponent, "dbx-firebase-login-github", never, {}, {}, never, never, true, never>;
|
|
571
757
|
}
|
|
572
758
|
|
|
573
|
-
/**
|
|
759
|
+
/**
|
|
760
|
+
* Login button component for Google OAuth authentication.
|
|
761
|
+
*/
|
|
574
762
|
declare class DbxFirebaseLoginGoogleComponent extends AbstractConfiguredDbxFirebaseLoginButtonDirective {
|
|
575
763
|
readonly loginProvider = "google";
|
|
576
764
|
handleLogin(): Promise<_firebase_auth.UserCredential>;
|
|
765
|
+
handleLink(): Promise<_firebase_auth.UserCredential>;
|
|
577
766
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFirebaseLoginGoogleComponent, never>;
|
|
578
767
|
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFirebaseLoginGoogleComponent, "dbx-firebase-login-google", never, {}, {}, never, never, true, never>;
|
|
579
768
|
}
|
|
580
769
|
|
|
581
|
-
/**
|
|
770
|
+
/**
|
|
771
|
+
* Injection config for a single login list item, enriched with the login method type for tracking.
|
|
772
|
+
*/
|
|
582
773
|
type DbxFirebaseLoginListItemInjectionComponentConfig = DbxInjectionComponentConfig & Pick<DbxFirebaseAuthLoginProvider, 'loginMethodType'>;
|
|
583
774
|
/**
|
|
584
775
|
* Renders a list of login provider buttons, filtered by enabled types and categories.
|
|
@@ -598,15 +789,20 @@ declare class DbxFirebaseLoginListComponent {
|
|
|
598
789
|
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFirebaseLoginListComponent, "dbx-firebase-login-list", never, { "loginMode": { "alias": "loginMode"; "required": false; "isSignal": true; }; "providerTypes": { "alias": "providerTypes"; "required": false; "isSignal": true; }; "omitProviderTypes": { "alias": "omitProviderTypes"; "required": false; "isSignal": true; }; "providerCategories": { "alias": "providerCategories"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
599
790
|
}
|
|
600
791
|
|
|
601
|
-
/**
|
|
792
|
+
/**
|
|
793
|
+
* Login button component for Microsoft OAuth authentication.
|
|
794
|
+
*/
|
|
602
795
|
declare class DbxFirebaseLoginMicrosoftComponent extends AbstractConfiguredDbxFirebaseLoginButtonDirective {
|
|
603
796
|
readonly loginProvider = "microsoft";
|
|
604
797
|
handleLogin(): Promise<_firebase_auth.UserCredential>;
|
|
798
|
+
handleLink(): Promise<_firebase_auth.UserCredential>;
|
|
605
799
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFirebaseLoginMicrosoftComponent, never>;
|
|
606
800
|
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFirebaseLoginMicrosoftComponent, "dbx-firebase-login-microsoft", never, {}, {}, never, never, true, never>;
|
|
607
801
|
}
|
|
608
802
|
|
|
609
|
-
/**
|
|
803
|
+
/**
|
|
804
|
+
* Renders the configured terms of service component via dynamic injection from the login service.
|
|
805
|
+
*/
|
|
610
806
|
declare class DbxFirebaseLoginTermsComponent {
|
|
611
807
|
readonly dbxFirebaseAuthLoginService: DbxFirebaseAuthLoginService;
|
|
612
808
|
readonly config: DbxInjectionComponentConfig;
|
|
@@ -614,7 +810,9 @@ declare class DbxFirebaseLoginTermsComponent {
|
|
|
614
810
|
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFirebaseLoginTermsComponent, "dbx-firebase-login-terms", never, {}, {}, never, never, true, never>;
|
|
615
811
|
}
|
|
616
812
|
|
|
617
|
-
/**
|
|
813
|
+
/**
|
|
814
|
+
* Default terms of service display component with links to Terms and Privacy Policy URLs.
|
|
815
|
+
*/
|
|
618
816
|
declare class DbxFirebaseLoginTermsSimpleComponent {
|
|
619
817
|
readonly dbxFirebaseLoginTermsConfig: DbxFirebaseLoginTermsOfServiceUrlsConfig;
|
|
620
818
|
readonly tosAnchor: ClickableAnchor;
|
|
@@ -623,14 +821,117 @@ declare class DbxFirebaseLoginTermsSimpleComponent {
|
|
|
623
821
|
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFirebaseLoginTermsSimpleComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
624
822
|
}
|
|
625
823
|
|
|
626
|
-
/**
|
|
824
|
+
/**
|
|
825
|
+
* Login button component for X (formerly Twitter) OAuth authentication.
|
|
826
|
+
*/
|
|
627
827
|
declare class DbxFirebaseLoginTwitterComponent extends AbstractConfiguredDbxFirebaseLoginButtonDirective {
|
|
628
828
|
readonly loginProvider = "twitter";
|
|
629
829
|
handleLogin(): Promise<_firebase_auth.UserCredential>;
|
|
830
|
+
handleLink(): Promise<_firebase_auth.UserCredential>;
|
|
630
831
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFirebaseLoginTwitterComponent, never>;
|
|
631
832
|
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFirebaseLoginTwitterComponent, "dbx-firebase-login-twitter", never, {}, {}, never, never, true, never>;
|
|
632
833
|
}
|
|
633
834
|
|
|
835
|
+
/**
|
|
836
|
+
* Map of Firebase provider IDs to known login method types.
|
|
837
|
+
*
|
|
838
|
+
* @example
|
|
839
|
+
* ```ts
|
|
840
|
+
* FIREBASE_PROVIDER_ID_TO_LOGIN_METHOD_TYPE_MAP['google.com']; // 'google'
|
|
841
|
+
* ```
|
|
842
|
+
*/
|
|
843
|
+
declare const FIREBASE_PROVIDER_ID_TO_LOGIN_METHOD_TYPE_MAP: Record<string, KnownFirebaseLoginMethodType>;
|
|
844
|
+
/**
|
|
845
|
+
* Map of known login method types to Firebase provider IDs.
|
|
846
|
+
*
|
|
847
|
+
* @example
|
|
848
|
+
* ```ts
|
|
849
|
+
* LOGIN_METHOD_TYPE_TO_FIREBASE_PROVIDER_ID_MAP['google']; // 'google.com'
|
|
850
|
+
* ```
|
|
851
|
+
*/
|
|
852
|
+
declare const LOGIN_METHOD_TYPE_TO_FIREBASE_PROVIDER_ID_MAP: Record<string, string>;
|
|
853
|
+
/**
|
|
854
|
+
* Converts a Firebase provider ID (e.g., 'google.com') to its corresponding login method type (e.g., 'google').
|
|
855
|
+
*
|
|
856
|
+
* @param providerId - The Firebase provider ID.
|
|
857
|
+
* @returns The matching login method type, or undefined if unknown.
|
|
858
|
+
*
|
|
859
|
+
* @example
|
|
860
|
+
* ```ts
|
|
861
|
+
* firebaseProviderIdToLoginMethodType('google.com'); // 'google'
|
|
862
|
+
* firebaseProviderIdToLoginMethodType('unknown.com'); // undefined
|
|
863
|
+
* ```
|
|
864
|
+
*/
|
|
865
|
+
declare function firebaseProviderIdToLoginMethodType(providerId: string): Maybe<FirebaseLoginMethodType>;
|
|
866
|
+
/**
|
|
867
|
+
* Converts a login method type (e.g., 'google') to its corresponding Firebase provider ID (e.g., 'google.com').
|
|
868
|
+
*
|
|
869
|
+
* @param type - The login method type.
|
|
870
|
+
* @returns The matching Firebase provider ID, or undefined if unknown.
|
|
871
|
+
*
|
|
872
|
+
* @example
|
|
873
|
+
* ```ts
|
|
874
|
+
* loginMethodTypeToFirebaseProviderId('google'); // 'google.com'
|
|
875
|
+
* loginMethodTypeToFirebaseProviderId('unknown'); // undefined
|
|
876
|
+
* ```
|
|
877
|
+
*/
|
|
878
|
+
declare function loginMethodTypeToFirebaseProviderId(type: FirebaseLoginMethodType): Maybe<string>;
|
|
879
|
+
|
|
880
|
+
/**
|
|
881
|
+
* Represents a linked provider in the manage providers view.
|
|
882
|
+
*/
|
|
883
|
+
interface DbxFirebaseManageAuthLinkedProviderInfo {
|
|
884
|
+
/**
|
|
885
|
+
* Firebase provider ID (e.g., 'google.com').
|
|
886
|
+
*/
|
|
887
|
+
readonly providerId: string;
|
|
888
|
+
/**
|
|
889
|
+
* Login method type (e.g., 'google').
|
|
890
|
+
*/
|
|
891
|
+
readonly loginMethodType: Maybe<FirebaseLoginMethodType>;
|
|
892
|
+
/**
|
|
893
|
+
* Display name for this provider.
|
|
894
|
+
*/
|
|
895
|
+
readonly providerName: string;
|
|
896
|
+
/**
|
|
897
|
+
* Text for the unlink/disconnect button.
|
|
898
|
+
*/
|
|
899
|
+
readonly unlinkText: string;
|
|
900
|
+
/**
|
|
901
|
+
* Provider assets for display.
|
|
902
|
+
*/
|
|
903
|
+
readonly assets: Maybe<DbxFirebaseAuthLoginProviderAssets>;
|
|
904
|
+
}
|
|
905
|
+
/**
|
|
906
|
+
* Component for managing linked authentication providers on a user account.
|
|
907
|
+
*
|
|
908
|
+
* Displays two sections:
|
|
909
|
+
* - **Connected Providers**: Shows currently linked providers with disconnect buttons.
|
|
910
|
+
* - **Connect Provider**: Shows available OAuth providers that can be linked.
|
|
911
|
+
*
|
|
912
|
+
* @example
|
|
913
|
+
* ```html
|
|
914
|
+
* <dbx-firebase-manage-auth-providers></dbx-firebase-manage-auth-providers>
|
|
915
|
+
* ```
|
|
916
|
+
*/
|
|
917
|
+
declare class DbxFirebaseManageAuthProvidersComponent {
|
|
918
|
+
readonly dbxFirebaseAuthService: DbxFirebaseAuthService;
|
|
919
|
+
readonly dbxFirebaseAuthLoginService: DbxFirebaseAuthLoginService;
|
|
920
|
+
private readonly _linkedProviderIds;
|
|
921
|
+
readonly linkedProvidersSignal: i0.Signal<DbxFirebaseManageAuthLinkedProviderInfo[]>;
|
|
922
|
+
readonly linkedMethodTypesSignal: i0.Signal<string[]>;
|
|
923
|
+
readonly showLinkSectionSignal: i0.Signal<boolean>;
|
|
924
|
+
/**
|
|
925
|
+
* Creates a work handler for unlinking a specific provider.
|
|
926
|
+
*
|
|
927
|
+
* @param providerId - The Firebase provider ID to unlink (e.g., 'google.com').
|
|
928
|
+
* @returns A {@link WorkUsingContext} handler that unlinking the provider on execution.
|
|
929
|
+
*/
|
|
930
|
+
makeUnlinkHandler(providerId: string): WorkUsingContext;
|
|
931
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFirebaseManageAuthProvidersComponent, never>;
|
|
932
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFirebaseManageAuthProvidersComponent, "dbx-firebase-manage-auth-providers", never, {}, {}, never, never, true, never>;
|
|
933
|
+
}
|
|
934
|
+
|
|
634
935
|
/**
|
|
635
936
|
* Pre-configured register component that displays all configured login types and their registration components.
|
|
636
937
|
*/
|
|
@@ -642,7 +943,9 @@ declare class DbxFirebaseRegisterComponent {
|
|
|
642
943
|
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFirebaseRegisterComponent, "dbx-firebase-register", never, { "providerTypes": { "alias": "providerTypes"; "required": false; "isSignal": true; }; "omitProviderTypes": { "alias": "omitProviderTypes"; "required": false; "isSignal": true; }; "providerCategories": { "alias": "providerCategories"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
643
944
|
}
|
|
644
945
|
|
|
645
|
-
/**
|
|
946
|
+
/**
|
|
947
|
+
* Registration button component for email/password. Opens the email login context in register mode.
|
|
948
|
+
*/
|
|
646
949
|
declare class DbxFirebaseRegisterEmailComponent extends AbstractConfiguredDbxFirebaseLoginButtonDirective {
|
|
647
950
|
readonly loginProvider = "email";
|
|
648
951
|
handleLogin(): Promise<boolean>;
|
|
@@ -658,6 +961,13 @@ declare class DbxFirebaseRegisterEmailComponent extends AbstractConfiguredDbxFir
|
|
|
658
961
|
*/
|
|
659
962
|
declare function authUserStateFromFirebaseAuthServiceFunction(stateForLoggedInUser?: AuthUserStateObsFunction): AuthUserStateObsFunction;
|
|
660
963
|
type StateFromTokenFunction = (token: IdTokenResult$1) => ObservableOrValue<AuthUserState>;
|
|
964
|
+
/**
|
|
965
|
+
* Creates an AuthUserStateObsFunction that derives the user state from the current ID token using the provided mapping function.
|
|
966
|
+
*
|
|
967
|
+
* @param stateFromToken - Function that maps an IdTokenResult to an AuthUserState.
|
|
968
|
+
* @param defaultState - The fallback state when no token is available. Defaults to 'user'.
|
|
969
|
+
* @returns An AuthUserStateObsFunction that reads state from the ID token.
|
|
970
|
+
*/
|
|
661
971
|
declare function stateFromTokenForLoggedInUserFunction(stateFromToken: StateFromTokenFunction, defaultState?: AuthUserState): AuthUserStateObsFunction;
|
|
662
972
|
/**
|
|
663
973
|
* Convenience function to read a value from an IdTokenResult off of the current user.
|
|
@@ -687,8 +997,24 @@ interface AuthRolesObsWithClaimsServiceConfig<T extends AuthClaimsObject> extend
|
|
|
687
997
|
*/
|
|
688
998
|
readonly addAuthUserStateToRoles?: boolean;
|
|
689
999
|
}
|
|
1000
|
+
/**
|
|
1001
|
+
* Creates a function that derives an {@link AuthRoleSet} observable from the current user's ID token claims using the configured claims service.
|
|
1002
|
+
*
|
|
1003
|
+
* Optionally adds the current AuthUserState to the role set.
|
|
1004
|
+
*
|
|
1005
|
+
* @param config - Configuration specifying the claims service and optional auth user state inclusion.
|
|
1006
|
+
* @returns A function that, given a DbxFirebaseAuthService, returns an Observable of the decoded AuthRoleSet.
|
|
1007
|
+
*/
|
|
690
1008
|
declare function authRolesObsWithClaimsService<T extends AuthClaimsObject>(config: AuthRolesObsWithClaimsServiceConfig<T>): (dbxFirebaseAuthService: DbxFirebaseAuthService) => Observable<AuthRoleSet>;
|
|
691
1009
|
type DefaultDbxFirebaseAuthServiceDelegateWithClaimsServiceConfig<T extends AuthClaimsObject> = AuthRolesObsWithClaimsServiceConfig<T>;
|
|
1010
|
+
/**
|
|
1011
|
+
* Creates a {@link DbxFirebaseAuthServiceDelegate} that derives auth roles and user state from the given claims service configuration.
|
|
1012
|
+
*
|
|
1013
|
+
* Only one of `stateForLoggedInUser`, `stateForLoggedInUserToken`, or `authUserStateObs` may be specified.
|
|
1014
|
+
*
|
|
1015
|
+
* @param config - Configuration with the claims service and optional auth state customization.
|
|
1016
|
+
* @returns A DbxFirebaseAuthServiceDelegate configured for claims-based auth.
|
|
1017
|
+
*/
|
|
692
1018
|
declare function defaultDbxFirebaseAuthServiceDelegateWithClaimsService<T extends AuthClaimsObject>(config: DefaultDbxFirebaseAuthServiceDelegateWithClaimsServiceConfig<T>): DbxFirebaseAuthServiceDelegate;
|
|
693
1019
|
|
|
694
1020
|
/**
|
|
@@ -776,17 +1102,19 @@ declare const DEFAULT_FIREBASE_DEVELOPMENT_WIDGET_PROVIDERS_TOKEN: InjectionToke
|
|
|
776
1102
|
declare class DbxFirebaseDevelopmentWidgetService {
|
|
777
1103
|
readonly dbxWidgetService: DbxWidgetService;
|
|
778
1104
|
private readonly _entries;
|
|
779
|
-
|
|
1105
|
+
private readonly _defaultEntries;
|
|
1106
|
+
constructor();
|
|
780
1107
|
/**
|
|
781
1108
|
* Used to register a provider. If a provider is already registered, this will override it by default.
|
|
782
1109
|
*
|
|
783
|
-
* @param provider
|
|
784
|
-
* @param override
|
|
1110
|
+
* @param provider - The development widget entry to register.
|
|
1111
|
+
* @param override - Whether to override an existing entry of the same type. Defaults to true.
|
|
1112
|
+
* @returns True if the entry was registered, false if it already existed and override was false.
|
|
785
1113
|
*/
|
|
786
1114
|
register(provider: DbxFirebaseDevelopmentWidgetEntry, override?: boolean): boolean;
|
|
787
1115
|
getEntryWidgetIdentifiers(): DbxWidgetType[];
|
|
788
1116
|
getEntries(): DbxFirebaseDevelopmentWidgetEntry[];
|
|
789
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFirebaseDevelopmentWidgetService,
|
|
1117
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFirebaseDevelopmentWidgetService, never>;
|
|
790
1118
|
static ɵprov: i0.ɵɵInjectableDeclaration<DbxFirebaseDevelopmentWidgetService>;
|
|
791
1119
|
}
|
|
792
1120
|
|
|
@@ -934,6 +1262,11 @@ declare class DbxFirebaseDevelopmentPopupComponent extends AbstractPopupDirectiv
|
|
|
934
1262
|
}
|
|
935
1263
|
|
|
936
1264
|
declare const DEVELOPMENT_FIREBASE_SERVER_SCHEDULER_WIDGET_KEY = "DEVELOPMENT_FIREBASE_SERVER_SCHEDULER_WIDGET";
|
|
1265
|
+
/**
|
|
1266
|
+
* Creates a development widget entry for the Firebase server scheduler, allowing scheduled tasks to be triggered from the development UI.
|
|
1267
|
+
*
|
|
1268
|
+
* @returns A DbxFirebaseDevelopmentWidgetEntry for the scheduler widget.
|
|
1269
|
+
*/
|
|
937
1270
|
declare function developmentFirebaseServerSchedulerWidgetEntry(): DbxFirebaseDevelopmentWidgetEntry;
|
|
938
1271
|
declare class DbxFirebaseDevelopmentSchedulerWidgetComponent {
|
|
939
1272
|
readonly dbxFirebaseDevelopmentSchedulerService: DbxFirebaseDevelopmentSchedulerService;
|
|
@@ -1332,6 +1665,13 @@ interface DbxFirebaseCollectionChangeWatcherInstance<S extends DbxFirebaseCollec
|
|
|
1332
1665
|
*/
|
|
1333
1666
|
setMode(mode: DbxFirebaseCollectionChangeWatcherTriggerMode): void;
|
|
1334
1667
|
}
|
|
1668
|
+
/**
|
|
1669
|
+
* Creates a {@link DbxFirebaseCollectionChangeWatcherInstance} that monitors a store's query for document changes and can trigger actions based on those changes.
|
|
1670
|
+
*
|
|
1671
|
+
* @param store - The collection loader accessor to watch for changes.
|
|
1672
|
+
* @param initialMode - The initial trigger mode ('auto' or 'off'). Defaults to 'off'.
|
|
1673
|
+
* @returns A new change watcher instance with observable change state and configurable trigger mode.
|
|
1674
|
+
*/
|
|
1335
1675
|
declare function dbxFirebaseCollectionChangeWatcher<S extends DbxFirebaseCollectionLoaderAccessor<any>>(store: S, initialMode?: DbxFirebaseCollectionChangeWatcherTriggerMode): DbxFirebaseCollectionChangeWatcherInstance<S>;
|
|
1336
1676
|
|
|
1337
1677
|
type DbxFirebaseCollectionChangeTriggerFunction<S extends DbxFirebaseCollectionLoaderAccessor<any>> = (instance: DbxFirebaseCollectionChangeTriggerInstance<S>) => ObservableOrValue<void>;
|
|
@@ -1385,7 +1725,20 @@ declare class DbxFirebaseCollectionChangeTriggerInstance<S extends DbxFirebaseCo
|
|
|
1385
1725
|
* @returns
|
|
1386
1726
|
*/
|
|
1387
1727
|
declare function dbxFirebaseCollectionChangeTriggerForStore<S extends DbxFirebaseCollectionLoaderAccessor<any>>(store: S, triggerFunction?: Maybe<DbxFirebaseCollectionChangeTriggerFunction<S>>): DbxFirebaseCollectionChangeTriggerInstance<S>;
|
|
1728
|
+
/**
|
|
1729
|
+
* Creates a {@link DbxFirebaseCollectionChangeTriggerInstance} for an existing watcher without taking ownership of its lifecycle.
|
|
1730
|
+
*
|
|
1731
|
+
* @param watcher - The collection change watcher to attach the trigger to.
|
|
1732
|
+
* @param triggerFunction - Optional custom trigger function. Defaults to restarting the store.
|
|
1733
|
+
* @returns A new trigger instance bound to the given watcher.
|
|
1734
|
+
*/
|
|
1388
1735
|
declare function dbxFirebaseCollectionChangeTriggerForWatcher<S extends DbxFirebaseCollectionLoaderAccessor<any>>(watcher: DbxFirebaseCollectionChangeWatcher<S>, triggerFunction?: Maybe<DbxFirebaseCollectionChangeTriggerFunction<S>>): DbxFirebaseCollectionChangeTriggerInstance<S>;
|
|
1736
|
+
/**
|
|
1737
|
+
* Creates a new {@link DbxFirebaseCollectionChangeTriggerInstance} from the provided configuration.
|
|
1738
|
+
*
|
|
1739
|
+
* @param config - Configuration specifying the watcher, lifecycle options, and trigger function.
|
|
1740
|
+
* @returns A new trigger instance ready to be initialized.
|
|
1741
|
+
*/
|
|
1389
1742
|
declare function dbxFirebaseCollectionChangeTrigger<S extends DbxFirebaseCollectionLoaderAccessor<any>>(config: DbxFirebaseCollectionChangeTriggerInstanceConfig<S>): DbxFirebaseCollectionChangeTriggerInstance<S>;
|
|
1390
1743
|
|
|
1391
1744
|
/**
|
|
@@ -1491,7 +1844,19 @@ declare class DbxFirebaseCollectionLoaderInstance<T = unknown, D extends Firesto
|
|
|
1491
1844
|
loadToPage(page: PageNumber): Observable<PageNumber>;
|
|
1492
1845
|
loadAllResults(): Observable<PageNumber>;
|
|
1493
1846
|
}
|
|
1847
|
+
/**
|
|
1848
|
+
* Creates a new {@link DbxFirebaseCollectionLoaderInstance} from the given configuration.
|
|
1849
|
+
*
|
|
1850
|
+
* @param config - Initial configuration including collection, constraints, pagination, and mode settings.
|
|
1851
|
+
* @returns A new collection loader instance.
|
|
1852
|
+
*/
|
|
1494
1853
|
declare function dbxFirebaseCollectionLoaderInstance<T, D extends FirestoreDocument<T> = FirestoreDocument<T>>(config: DbxFirebaseCollectionLoaderInstanceInitConfig<T, D>): DbxFirebaseCollectionLoaderInstance<T, D>;
|
|
1854
|
+
/**
|
|
1855
|
+
* Convenience function that creates a {@link DbxFirebaseCollectionLoaderInstance} initialized with the given Firestore collection.
|
|
1856
|
+
*
|
|
1857
|
+
* @param collection - The Firestore collection to load from.
|
|
1858
|
+
* @returns A new collection loader instance using the specified collection.
|
|
1859
|
+
*/
|
|
1495
1860
|
declare function dbxFirebaseCollectionLoaderInstanceWithCollection<T, D extends FirestoreDocument<T> = FirestoreDocument<T>>(collection: Maybe<FirestoreCollectionLike<T, D>>): DbxFirebaseCollectionLoaderInstance<T, D>;
|
|
1496
1861
|
|
|
1497
1862
|
/**
|
|
@@ -1600,12 +1965,36 @@ declare class DbxLimitedFirebaseDocumentLoaderInstance<T = unknown, D extends Fi
|
|
|
1600
1965
|
setRefs(refs: Maybe<ObservableOrValue<ArrayOrValue<DocumentReference<T>>>>): void;
|
|
1601
1966
|
setDocuments(docs: Maybe<ObservableOrValue<ArrayOrValue<D>>>): void;
|
|
1602
1967
|
}
|
|
1968
|
+
/**
|
|
1969
|
+
* Creates a new {@link DbxLimitedFirebaseDocumentLoaderInstance} from the given configuration.
|
|
1970
|
+
*
|
|
1971
|
+
* @param config - Configuration providing the limited document accessor.
|
|
1972
|
+
* @returns A new limited document loader instance.
|
|
1973
|
+
*/
|
|
1603
1974
|
declare function dbxLimitedFirebaseDocumentLoaderInstance<T, D extends FirestoreDocument<T> = FirestoreDocument<T>, A extends LimitedFirestoreDocumentAccessor<T, D> = LimitedFirestoreDocumentAccessor<T, D>>(config: DbxFirebaseDocumentLoaderInstanceInitConfig<T, D, A>): DbxLimitedFirebaseDocumentLoaderInstance<T, D, A>;
|
|
1975
|
+
/**
|
|
1976
|
+
* Convenience function that creates a {@link DbxLimitedFirebaseDocumentLoaderInstance} initialized with the given accessor.
|
|
1977
|
+
*
|
|
1978
|
+
* @param accessor - The limited Firestore document accessor to use.
|
|
1979
|
+
* @returns A new limited document loader instance.
|
|
1980
|
+
*/
|
|
1604
1981
|
declare function dbxLimitedFirebaseDocumentLoaderInstanceWithAccessor<T, D extends FirestoreDocument<T> = FirestoreDocument<T>, A extends LimitedFirestoreDocumentAccessor<T, D> = LimitedFirestoreDocumentAccessor<T, D>>(accessor: A): DbxLimitedFirebaseDocumentLoaderInstance<T, D, A>;
|
|
1605
1982
|
declare class DbxFirebaseDocumentLoaderInstance<T = unknown, D extends FirestoreDocument<T> = FirestoreDocument<T>, A extends FirestoreDocumentAccessor<T, D> = FirestoreDocumentAccessor<T, D>> extends DbxLimitedFirebaseDocumentLoaderInstance<T, D, A> implements DbxFirebaseDocumentLoader<T>, Destroyable {
|
|
1606
1983
|
setIds(ids: Maybe<ObservableOrValue<ArrayOrValue<FirestoreModelKey>>>): void;
|
|
1607
1984
|
}
|
|
1985
|
+
/**
|
|
1986
|
+
* Creates a new {@link DbxFirebaseDocumentLoaderInstance} from the given configuration.
|
|
1987
|
+
*
|
|
1988
|
+
* @param config - Configuration providing the full document accessor.
|
|
1989
|
+
* @returns A new document loader instance with full accessor capabilities.
|
|
1990
|
+
*/
|
|
1608
1991
|
declare function dbxFirebaseDocumentLoaderInstance<T, D extends FirestoreDocument<T> = FirestoreDocument<T>, A extends FirestoreDocumentAccessor<T, D> = FirestoreDocumentAccessor<T, D>>(config: DbxFirebaseDocumentLoaderInstanceInitConfig<T, D, A>): DbxFirebaseDocumentLoaderInstance<T, D, A>;
|
|
1992
|
+
/**
|
|
1993
|
+
* Convenience function that creates a {@link DbxFirebaseDocumentLoaderInstance} initialized with the given accessor.
|
|
1994
|
+
*
|
|
1995
|
+
* @param accessor - The full Firestore document accessor to use.
|
|
1996
|
+
* @returns A new document loader instance.
|
|
1997
|
+
*/
|
|
1609
1998
|
declare function dbxFirebaseDocumentLoaderInstanceWithAccessor<T, D extends FirestoreDocument<T> = FirestoreDocument<T>, A extends FirestoreDocumentAccessor<T, D> = FirestoreDocumentAccessor<T, D>>(accessor: A): DbxFirebaseDocumentLoaderInstance<T, D, A>;
|
|
1610
1999
|
|
|
1611
2000
|
/**
|
|
@@ -1639,6 +2028,12 @@ interface DbxFirebaseInContextFirebaseModelInfoServiceInstance<D extends Firesto
|
|
|
1639
2028
|
}
|
|
1640
2029
|
|
|
1641
2030
|
type DbxFirebaseInContextFirebaseModelServiceInstanceFactory<S extends InContextFirebaseModelsService<any>, C extends FirebasePermissionErrorContext = FirebasePermissionErrorContext> = <D extends FirestoreDocument<any>, R extends GrantedRole = GrantedRole>(type: S extends InContextFirebaseModelsService<infer Y> ? (Y extends FirebaseModelsService<infer X, infer C> ? keyof X : never) : never, keyObs: ObservableOrValue<ModelKey>) => DbxFirebaseInContextFirebaseModelServiceInstance<D, R, C>;
|
|
2031
|
+
/**
|
|
2032
|
+
* Factory function that creates typed model service instance accessors from an observable context.
|
|
2033
|
+
*
|
|
2034
|
+
* @param context$ - Observable of the in-context Firebase models service.
|
|
2035
|
+
* @returns A factory function for creating model service instances by type and key.
|
|
2036
|
+
*/
|
|
1642
2037
|
declare function dbxFirebaseInContextFirebaseModelServiceInstanceFactory<S extends InContextFirebaseModelsService<any>, C extends FirebasePermissionErrorContext = FirebasePermissionErrorContext>(context$: Observable<S>): DbxFirebaseInContextFirebaseModelServiceInstanceFactory<S, C>;
|
|
1643
2038
|
interface DbxFirebaseInContextFirebaseModelServiceInstance<D extends FirestoreDocument<any>, R extends GrantedRole = GrantedRole, C extends FirebasePermissionErrorContext = FirebasePermissionErrorContext> extends DbxFirebaseInContextFirebaseModelInfoServiceInstance<D, R> {
|
|
1644
2039
|
readonly modelService$: Observable<InModelContextFirebaseModelService<C, FirestoreDocumentData<D>, D, R>>;
|
|
@@ -1647,6 +2042,9 @@ interface DbxFirebaseInContextFirebaseModelServiceInstance<D extends FirestoreDo
|
|
|
1647
2042
|
* Creates a new DbxFirebaseInContextFirebaseModelServiceInstance.
|
|
1648
2043
|
*
|
|
1649
2044
|
* Wraps an InModelContextFirebaseModelService observable and provides different piped observables.
|
|
2045
|
+
*
|
|
2046
|
+
* @param modelService$ - Observable of the in-model-context Firebase model service to wrap.
|
|
2047
|
+
* @returns A DbxFirebaseInContextFirebaseModelServiceInstance with derived observables for model data, roles, and permissions.
|
|
1650
2048
|
*/
|
|
1651
2049
|
declare function dbxFirebaseInContextFirebaseModelServiceInstance<D extends FirestoreDocument<any>, R extends GrantedRole = GrantedRole, C extends FirebasePermissionErrorContext = FirebasePermissionErrorContext>(modelService$: Observable<InModelContextFirebaseModelService<C, FirestoreDocumentData<D>, D, R>>): DbxFirebaseInContextFirebaseModelServiceInstance<D, R, C>;
|
|
1652
2050
|
|
|
@@ -1666,6 +2064,12 @@ interface DbxFirebaseModelContextServiceInfoInstanceFactoryConfig<S extends InCo
|
|
|
1666
2064
|
readonly modelService: DbxFirebaseInContextFirebaseModelServiceInstanceFactory<S, C>;
|
|
1667
2065
|
readonly entityMap$: Observable<FirestoreModelIdentityTypeMap>;
|
|
1668
2066
|
}
|
|
2067
|
+
/**
|
|
2068
|
+
* Creates a factory that resolves model info instances by looking up the collection type from a model key and delegating to the model service.
|
|
2069
|
+
*
|
|
2070
|
+
* @param config - Configuration providing the model service factory and entity map observable.
|
|
2071
|
+
* @returns A factory function that creates model info instances from observable model keys.
|
|
2072
|
+
*/
|
|
1669
2073
|
declare function dbxFirebaseModelContextServiceInfoInstanceFactory<S extends InContextFirebaseModelsService<any>, C extends FirebasePermissionErrorContext = FirebasePermissionErrorContext>(config: DbxFirebaseModelContextServiceInfoInstanceFactoryConfig<S, C>): DbxFirebaseModelContextServiceInfoInstanceFactory;
|
|
1670
2074
|
/**
|
|
1671
2075
|
* Operator function that builds a FirestoreModelIdentityTypeMap from the input context and shares the replay.
|
|
@@ -1728,7 +2132,8 @@ type DbxFirebaseModelTypesMap = DbxModelTypesMap<DbxFirebaseModelTypeInfo>;
|
|
|
1728
2132
|
declare class DbxFirebaseModelTypesService {
|
|
1729
2133
|
readonly dbxFirebaseModelContextService: DbxFirebaseModelContextService;
|
|
1730
2134
|
readonly dbxModelTypesService: DbxModelTypesService<any>;
|
|
1731
|
-
|
|
2135
|
+
private readonly _initialConfig;
|
|
2136
|
+
constructor();
|
|
1732
2137
|
getDisplayInfo<T>(typeInfo: DbxFirebaseModelTypeInfo<T>, data: T): DbxFirebaseModelDisplayInfo;
|
|
1733
2138
|
getDefaultDisplayInfo<T = unknown>(typeInfo: DbxFirebaseModelTypeInfo<T>): {
|
|
1734
2139
|
title: string;
|
|
@@ -1752,6 +2157,12 @@ interface DbxFirebaseModelTypesServiceInstancePair<D extends FirestoreDocument<a
|
|
|
1752
2157
|
readonly segueRef: Maybe<ClickableAnchorLinkSegueRef>;
|
|
1753
2158
|
}
|
|
1754
2159
|
type DbxFirebaseModelTypesServiceInstancePairForKeysFactory = (keys: ArrayOrValue<ObservableOrValue<FirestoreModelKey>>) => Observable<DbxFirebaseModelTypesServiceInstancePair[]>;
|
|
2160
|
+
/**
|
|
2161
|
+
* Creates a factory function that produces an observable of instance pairs for the given model keys.
|
|
2162
|
+
*
|
|
2163
|
+
* @param service - The model types service used to resolve type info and instances.
|
|
2164
|
+
* @returns A factory that accepts model keys and returns an Observable of instance pairs with display info and segue refs.
|
|
2165
|
+
*/
|
|
1755
2166
|
declare function dbxFirebaseModelTypesServiceInstancePairForKeysFactory(service: DbxFirebaseModelTypesService): DbxFirebaseModelTypesServiceInstancePairForKeysFactory;
|
|
1756
2167
|
/**
|
|
1757
2168
|
* DbxFirebaseModelTypesService instance
|
|
@@ -1771,6 +2182,13 @@ interface DbxFirebaseModelTypesServiceInstance<D extends FirestoreDocument<any>
|
|
|
1771
2182
|
readonly safeInstancePair$: Observable<Maybe<DbxFirebaseModelTypesServiceInstancePair>>;
|
|
1772
2183
|
readonly instancePair$: Observable<DbxFirebaseModelTypesServiceInstancePair>;
|
|
1773
2184
|
}
|
|
2185
|
+
/**
|
|
2186
|
+
* Creates a {@link DbxFirebaseModelTypesServiceInstance} that provides observables for type info, display info, segue refs, and instance pairs for a single model.
|
|
2187
|
+
*
|
|
2188
|
+
* @param modelInfoInstance$ - Observable of the model info service instance providing data and role access.
|
|
2189
|
+
* @param dbxFirebaseModelTypesService - The model types service for resolving type configurations and display info.
|
|
2190
|
+
* @returns A DbxFirebaseModelTypesServiceInstance with derived observables.
|
|
2191
|
+
*/
|
|
1774
2192
|
declare function dbxFirebaseModelTypesServiceInstance<D extends FirestoreDocument<any> = any, R extends GrantedRole = GrantedRole>(modelInfoInstance$: Observable<DbxFirebaseInContextFirebaseModelInfoServiceInstance<D, R>>, dbxFirebaseModelTypesService: DbxFirebaseModelTypesService): DbxFirebaseModelTypesServiceInstance<D, R>;
|
|
1775
2193
|
|
|
1776
2194
|
interface DbxFirebaseModelTrackerFilterItem {
|
|
@@ -2299,7 +2717,9 @@ declare class DbxFirebaseModelEntitiesComponent {
|
|
|
2299
2717
|
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFirebaseModelEntitiesComponent, "dbx-firebase-model-entities", never, { "multi": { "alias": "multi"; "required": false; "isSignal": true; }; "onlyShowRegisteredTypes": { "alias": "onlyShowRegisteredTypes"; "required": false; "isSignal": true; }; "entities": { "alias": "entities"; "required": false; "isSignal": true; }; }, {}, never, ["[empty]"], true, never>;
|
|
2300
2718
|
}
|
|
2301
2719
|
|
|
2302
|
-
/**
|
|
2720
|
+
/**
|
|
2721
|
+
* Configuration for the model entities popover, specifying display options and data source.
|
|
2722
|
+
*/
|
|
2303
2723
|
interface DbxFirebaseModelEntitiesPopoverConfig {
|
|
2304
2724
|
/**
|
|
2305
2725
|
* Custom icon
|
|
@@ -2340,7 +2760,9 @@ interface DbxFirebaseModelEntitiesPopoverConfig {
|
|
|
2340
2760
|
}
|
|
2341
2761
|
type DbxFirebaseModelEntitiesPopoverConfigWithoutOrigin = Omit<DbxFirebaseModelEntitiesPopoverConfig, 'origin' | 'entities$'>;
|
|
2342
2762
|
declare const DEFAULT_DBX_FIREBASE_MODEL_ENTITIES_COMPONENT_POPOVER_KEY = "entities";
|
|
2343
|
-
/**
|
|
2763
|
+
/**
|
|
2764
|
+
* Popover component that displays model entities in a scrollable panel with configurable header and empty text.
|
|
2765
|
+
*/
|
|
2344
2766
|
declare class DbxFirebaseModelEntitiesPopoverComponent extends AbstractPopoverDirective<unknown, DbxFirebaseModelEntitiesPopoverConfig> {
|
|
2345
2767
|
readonly entities$: Observable<LoadingState<DbxFirebaseModelEntity[]>> | undefined;
|
|
2346
2768
|
static openPopover(popupService: DbxPopoverService, config: DbxFirebaseModelEntitiesPopoverConfig, popoverKey?: DbxPopoverKey): NgPopoverRef;
|
|
@@ -2353,7 +2775,9 @@ declare class DbxFirebaseModelEntitiesPopoverComponent extends AbstractPopoverDi
|
|
|
2353
2775
|
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFirebaseModelEntitiesPopoverComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
2354
2776
|
}
|
|
2355
2777
|
|
|
2356
|
-
/**
|
|
2778
|
+
/**
|
|
2779
|
+
* Configuration for the entities popover button, combining popover config with button display options.
|
|
2780
|
+
*/
|
|
2357
2781
|
interface DbxFirebaseModelEntitiesPopoverButtonConfig extends DbxFirebaseModelEntitiesPopoverConfigWithoutOrigin {
|
|
2358
2782
|
/**
|
|
2359
2783
|
* The display configuration for the button.
|
|
@@ -2364,7 +2788,9 @@ interface DbxFirebaseModelEntitiesPopoverButtonConfig extends DbxFirebaseModelEn
|
|
|
2364
2788
|
*/
|
|
2365
2789
|
readonly buttonStyle?: Maybe<DbxButtonStyle>;
|
|
2366
2790
|
}
|
|
2367
|
-
/**
|
|
2791
|
+
/**
|
|
2792
|
+
* Button component that opens an entities popover showing model entities from the injected source.
|
|
2793
|
+
*/
|
|
2368
2794
|
declare class DbxFirebaseModelEntitiesPopoverButtonComponent extends AbstractPopoverRefDirective<unknown, unknown> {
|
|
2369
2795
|
private readonly _dbxPopoverService;
|
|
2370
2796
|
readonly entitiesSource: DbxFirebaseModelEntitiesSource;
|
|
@@ -2456,9 +2882,14 @@ declare class DbxFirebaseDocumentStoreContextStore extends ComponentStore<DbxFir
|
|
|
2456
2882
|
/**
|
|
2457
2883
|
* Factory that creates a {@link DbxFirebaseModelEntitiesSource} from a {@link DbxFirebaseDocumentStoreContextStore},
|
|
2458
2884
|
* mapping its entries into model entities grouped by identity.
|
|
2885
|
+
*
|
|
2886
|
+
* @param storeContextStore - The document store context store providing entries grouped by identity.
|
|
2887
|
+
* @returns A DbxFirebaseModelEntitiesSource backed by the given store context.
|
|
2459
2888
|
*/
|
|
2460
2889
|
declare const dbxFirebaseDocumentStoreContextModelEntitiesSourceFactory: (storeContextStore: DbxFirebaseDocumentStoreContextStore) => DbxFirebaseModelEntitiesSource;
|
|
2461
|
-
/**
|
|
2890
|
+
/**
|
|
2891
|
+
* Directive that provides a {@link DbxFirebaseModelEntitiesSource} from the current document store context.
|
|
2892
|
+
*/
|
|
2462
2893
|
declare class DbxFirebaseDocumentStoreContextModelEntitiesSourceDirective {
|
|
2463
2894
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFirebaseDocumentStoreContextModelEntitiesSourceDirective, never>;
|
|
2464
2895
|
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxFirebaseDocumentStoreContextModelEntitiesSourceDirective, "[dbxFirebaseDocumentStoreContextModelEntitiesSource]", never, {}, {}, never, never, true, never>;
|
|
@@ -2561,6 +2992,9 @@ declare abstract class DbxFirebaseDocumentStoreTwoWayKeyProvider {
|
|
|
2561
2992
|
}
|
|
2562
2993
|
/**
|
|
2563
2994
|
* Configures Providers for a DbxFirebaseDocumentStoreTwoWayKeyProvider.
|
|
2995
|
+
*
|
|
2996
|
+
* @param sourceType - The type to register as the DbxFirebaseDocumentStoreTwoWayKeyProvider.
|
|
2997
|
+
* @returns Array of Angular providers for the two-way key provider.
|
|
2564
2998
|
*/
|
|
2565
2999
|
declare function provideDbxFirebaseDocumentStoreTwoWayKeyProvider<S extends DbxFirebaseDocumentStoreTwoWayKeyProvider>(sourceType: Type<S>): Provider[];
|
|
2566
3000
|
|
|
@@ -2604,6 +3038,8 @@ declare abstract class DbxFirebaseDocumentStoreDirective<T = unknown, D extends
|
|
|
2604
3038
|
setStreamMode(streamMode: FirestoreAccessorStreamMode): void;
|
|
2605
3039
|
/**
|
|
2606
3040
|
* Replaces the internal store.
|
|
3041
|
+
*
|
|
3042
|
+
* @param store - The new document store to use.
|
|
2607
3043
|
*/
|
|
2608
3044
|
replaceStore(store: S): void;
|
|
2609
3045
|
useRouteModelIdParamsObservable(idFromParams: Observable<Maybe<ModelKey>>): Subscription;
|
|
@@ -2616,7 +3052,8 @@ declare abstract class DbxFirebaseDocumentStoreDirective<T = unknown, D extends
|
|
|
2616
3052
|
*
|
|
2617
3053
|
* Can optionally also provide the actual store type to include in the providers array so it is instantiated by Angular.
|
|
2618
3054
|
*
|
|
2619
|
-
* @param sourceType
|
|
3055
|
+
* @param sourceType - The directive type to register as the DbxFirebaseDocumentStoreDirective provider.
|
|
3056
|
+
* @returns Array of Angular providers for the directive and its route delegates.
|
|
2620
3057
|
*/
|
|
2621
3058
|
declare function provideDbxFirebaseDocumentStoreDirective<S extends DbxFirebaseDocumentStoreDirective<any, any, any>>(sourceType: Type<S>): Provider[];
|
|
2622
3059
|
declare function provideDbxFirebaseDocumentStoreDirective<S extends DbxFirebaseDocumentStore<any, any>, C extends DbxFirebaseDocumentStoreDirective<any, any, S> = DbxFirebaseDocumentStoreDirective<any, any, S>>(sourceType: Type<C>, storeType: Type<S>): Provider[];
|
|
@@ -2749,6 +3186,8 @@ declare abstract class DbxFirebaseCollectionStoreDirective<T = unknown, D extend
|
|
|
2749
3186
|
get store(): S;
|
|
2750
3187
|
/**
|
|
2751
3188
|
* Replaces the internal store.
|
|
3189
|
+
*
|
|
3190
|
+
* @param store - The new collection store to use.
|
|
2752
3191
|
*/
|
|
2753
3192
|
replaceStore(store: S): void;
|
|
2754
3193
|
setCollectionMode(collectionMode: DbxFirebaseCollectionMode): void;
|
|
@@ -2768,7 +3207,8 @@ declare abstract class DbxFirebaseCollectionStoreDirective<T = unknown, D extend
|
|
|
2768
3207
|
*
|
|
2769
3208
|
* Can optionally also provide the actual store type to include in the providers array so it is instantiated by Angular.
|
|
2770
3209
|
*
|
|
2771
|
-
* @param sourceType
|
|
3210
|
+
* @param sourceType - The directive type to register as the DbxFirebaseCollectionStoreDirective provider.
|
|
3211
|
+
* @returns Array of Angular providers for the directive.
|
|
2772
3212
|
*/
|
|
2773
3213
|
declare function provideDbxFirebaseCollectionStoreDirective<S extends DbxFirebaseCollectionStoreDirective<any, any, any>>(sourceType: Type<S>): Provider[];
|
|
2774
3214
|
declare function provideDbxFirebaseCollectionStoreDirective<S extends DbxFirebaseCollectionStore<any, any>, C extends DbxFirebaseCollectionStoreDirective<any, any, S> = DbxFirebaseCollectionStoreDirective<any, any, S>>(sourceType: Type<C>, storeType?: Type<S>): Provider[];
|
|
@@ -2963,7 +3403,7 @@ interface DbxFirebaseDocumentStoreContextState<T, D extends FirestoreDocument<T>
|
|
|
2963
3403
|
* Optional configuration for store CRUD wrapper functions.
|
|
2964
3404
|
*
|
|
2965
3405
|
* Provides an `onResult` callback that fires after the wrapped function resolves.
|
|
2966
|
-
* Useful for capturing one-time values (e.g
|
|
3406
|
+
* Useful for capturing one-time values (e.g., `client_secret`) from the response.
|
|
2967
3407
|
*/
|
|
2968
3408
|
interface FirebaseDocumentStoreFunctionConfig<I, O = unknown> {
|
|
2969
3409
|
/**
|
|
@@ -2975,10 +3415,10 @@ type DbxFirebaseDocumentStoreCreateFunction<I, O extends OnCallCreateModelResult
|
|
|
2975
3415
|
/**
|
|
2976
3416
|
* Creates a function for a store that DbxFirebaseDocumentStore captures the ModelFirebaseCreateFunction result and sets the key of the created value.
|
|
2977
3417
|
*
|
|
2978
|
-
* @param store
|
|
2979
|
-
* @param fn
|
|
3418
|
+
* @param store - The document store to capture the created model's key into.
|
|
3419
|
+
* @param fn - The Firebase create function to wrap.
|
|
2980
3420
|
* @param config - Optional config with an `onResult` callback.
|
|
2981
|
-
* @returns
|
|
3421
|
+
* @returns A function that executes the create and sets the resulting key on the store.
|
|
2982
3422
|
*/
|
|
2983
3423
|
declare function firebaseDocumentStoreCreateFunction<I, O extends OnCallCreateModelResult = OnCallCreateModelResult>(store: DbxFirebaseDocumentStore<any, any>, fn: ModelFirebaseCreateFunction<I, O>, config?: FirebaseDocumentStoreFunctionConfig<I, O>): DbxFirebaseDocumentStoreCreateFunction<I, O>;
|
|
2984
3424
|
type DbxFirebaseDocumentStoreCrudFunction<I, O = void> = (input: I) => Observable<LoadingState<O>>;
|
|
@@ -3015,9 +3455,10 @@ declare function firebaseDocumentStoreReadFunction<I extends DbxFirebaseDocument
|
|
|
3015
3455
|
*
|
|
3016
3456
|
* The store's current key is always injected into the params of the request.
|
|
3017
3457
|
*
|
|
3018
|
-
* @param store
|
|
3019
|
-
* @param fn
|
|
3020
|
-
* @
|
|
3458
|
+
* @param store - The document store whose current key is injected into the request params.
|
|
3459
|
+
* @param fn - The Firebase update function to wrap.
|
|
3460
|
+
* @param config - Optional config with an `onResult` callback.
|
|
3461
|
+
* @returns A function that executes the update with the store's key injected.
|
|
3021
3462
|
*/
|
|
3022
3463
|
declare function firebaseDocumentStoreUpdateFunction<I extends DbxFirebaseDocumentStoreFunctionParams, O = void>(store: DbxFirebaseDocumentStore<any, any>, fn: ModelFirebaseUpdateFunction<I, O>, config?: FirebaseDocumentStoreFunctionConfig<DbxFirebaseDocumentStoreFunctionParamsInput<I>, O>): DbxFirebaseDocumentStoreFunction<I, O>;
|
|
3023
3464
|
/**
|
|
@@ -3047,6 +3488,12 @@ interface DbxFirebaseComponentStoreWithParent<T, PT, D extends FirestoreDocument
|
|
|
3047
3488
|
readonly _setParentDocument: (() => void) | ((observableOrValue: ObservableOrValue<Maybe<PD>>) => Subscription);
|
|
3048
3489
|
readonly setFirestoreCollection: (() => void) | ((observableOrValue: ObservableOrValue<Maybe<A>>) => Subscription);
|
|
3049
3490
|
}
|
|
3491
|
+
/**
|
|
3492
|
+
* Creates a component store effect that links a parent document store to a subcollection store, propagating the parent document and lock set.
|
|
3493
|
+
*
|
|
3494
|
+
* @param store - The subcollection component store to connect to a parent store.
|
|
3495
|
+
* @returns An effect function that accepts an observable parent document store and manages the subscription lifecycle.
|
|
3496
|
+
*/
|
|
3050
3497
|
declare function setParentStoreEffect<T, PT, D extends FirestoreDocument<T> = FirestoreDocument<T>, PD extends FirestoreDocument<PT> = FirestoreDocument<PT>, A extends FirestoreCollectionLike<T, D> = FirestoreCollectionLike<T, D>>(store: DbxFirebaseComponentStoreWithParent<T, PT, D, PD, A>): DbxFirebaseComponentStoreWithParentSetParentStoreEffectFunction<PT, PD>;
|
|
3051
3498
|
|
|
3052
3499
|
/**
|
|
@@ -3171,7 +3618,8 @@ declare abstract class DbxFirebaseCollectionWithParentStoreDirective<T, PT, D ex
|
|
|
3171
3618
|
*
|
|
3172
3619
|
* Can optionally also provide the actual store type to include in the providers array so it is instantiated by Angular.
|
|
3173
3620
|
*
|
|
3174
|
-
* @param sourceType
|
|
3621
|
+
* @param sourceType - The directive type to register as the provider.
|
|
3622
|
+
* @returns Array of Angular providers for the subcollection directive and its parent collection directive.
|
|
3175
3623
|
*/
|
|
3176
3624
|
declare function provideDbxFirebaseCollectionWithParentStoreDirective<S extends DbxFirebaseCollectionWithParentStoreDirective<any, any, any, any, any>>(sourceType: Type<S>): Provider[];
|
|
3177
3625
|
declare function provideDbxFirebaseCollectionWithParentStoreDirective<S extends DbxFirebaseCollectionWithParentStore<any, any, any, any>, C extends DbxFirebaseCollectionWithParentStoreDirective<any, any, any, any, S> = DbxFirebaseCollectionWithParentStoreDirective<any, any, any, any, S>>(sourceType: Type<C>, storeType?: Type<S>): Provider[];
|
|
@@ -3182,12 +3630,16 @@ declare function provideDbxFirebaseCollectionWithParentStoreDirective<S extends
|
|
|
3182
3630
|
declare const DBX_FIREBASE_DOCUMENT_STORE_CONTEXT_STORE_TOKEN: InjectionToken<DbxFirebaseDocumentStoreContextStore[]>;
|
|
3183
3631
|
/**
|
|
3184
3632
|
* Provides the DbxFirebaseDocumentStoreContextStore.
|
|
3633
|
+
*
|
|
3634
|
+
* @returns Array of Angular providers that create and register a DbxFirebaseDocumentStoreContextStore.
|
|
3185
3635
|
*/
|
|
3186
3636
|
declare function provideDbxFirebaseDocumentStoreContextStore(): Provider[];
|
|
3187
3637
|
/**
|
|
3188
3638
|
* Links a DbxFirebaseDocumentStore to parent DbxFirebaseDocumentStoreContextStore instances.
|
|
3189
3639
|
*
|
|
3190
3640
|
* This should be called in an Angular injection context.
|
|
3641
|
+
*
|
|
3642
|
+
* @param store - The document store to register with all available parent context stores.
|
|
3191
3643
|
*/
|
|
3192
3644
|
declare function linkDocumentStoreToParentContextStores(store: DbxFirebaseDocumentStore<any, any>): void;
|
|
3193
3645
|
|
|
@@ -3199,21 +3651,27 @@ declare class DbxFirebaseDocumentStoreContextStoreDirective {
|
|
|
3199
3651
|
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxFirebaseDocumentStoreContextStoreDirective, "[dbxFirebaseDocumentStoreContextStore]", never, {}, {}, never, never, true, never>;
|
|
3200
3652
|
}
|
|
3201
3653
|
|
|
3202
|
-
/**
|
|
3654
|
+
/**
|
|
3655
|
+
* Collection store for querying SystemState documents.
|
|
3656
|
+
*/
|
|
3203
3657
|
declare class SystemStateCollectionStore extends AbstractDbxFirebaseCollectionStore<SystemState, SystemStateDocument> {
|
|
3204
3658
|
constructor();
|
|
3205
3659
|
static ɵfac: i0.ɵɵFactoryDeclaration<SystemStateCollectionStore, never>;
|
|
3206
3660
|
static ɵprov: i0.ɵɵInjectableDeclaration<SystemStateCollectionStore>;
|
|
3207
3661
|
}
|
|
3208
3662
|
|
|
3209
|
-
/**
|
|
3663
|
+
/**
|
|
3664
|
+
* Directive providing a {@link SystemStateCollectionStore} for querying system state documents.
|
|
3665
|
+
*/
|
|
3210
3666
|
declare class DbxFirebaseSystemStateCollectionStoreDirective extends DbxFirebaseCollectionStoreDirective<SystemState, SystemStateDocument, SystemStateCollectionStore> {
|
|
3211
3667
|
constructor();
|
|
3212
3668
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFirebaseSystemStateCollectionStoreDirective, never>;
|
|
3213
3669
|
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxFirebaseSystemStateCollectionStoreDirective, "[dbxFirebaseSystemStateCollection]", never, {}, {}, never, never, true, never>;
|
|
3214
3670
|
}
|
|
3215
3671
|
|
|
3216
|
-
/**
|
|
3672
|
+
/**
|
|
3673
|
+
* Document store for a single typed SystemState document.
|
|
3674
|
+
*/
|
|
3217
3675
|
declare class SystemStateDocumentStore<T extends SystemStateStoredData = SystemStateStoredData> extends AbstractDbxFirebaseDocumentStore<SystemState<T>, SystemStateDocument<T>> {
|
|
3218
3676
|
constructor();
|
|
3219
3677
|
static ɵfac: i0.ɵɵFactoryDeclaration<SystemStateDocumentStore<any>, never>;
|
|
@@ -3232,11 +3690,13 @@ declare abstract class AbstractSystemStateDocumentStoreAccessor<T extends System
|
|
|
3232
3690
|
readonly doesNotExist$: Observable<boolean>;
|
|
3233
3691
|
readonly type$: Observable<SystemStateTypeIdentifier>;
|
|
3234
3692
|
constructor(type: SystemStateTypeIdentifier);
|
|
3235
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractSystemStateDocumentStoreAccessor<any>,
|
|
3693
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractSystemStateDocumentStoreAccessor<any>, never>;
|
|
3236
3694
|
static ɵprov: i0.ɵɵInjectableDeclaration<AbstractSystemStateDocumentStoreAccessor<any>>;
|
|
3237
3695
|
}
|
|
3238
3696
|
|
|
3239
|
-
/**
|
|
3697
|
+
/**
|
|
3698
|
+
* Directive providing a {@link SystemStateDocumentStore} for accessing a single system state document.
|
|
3699
|
+
*/
|
|
3240
3700
|
declare class DbxFirebaseSystemStateDocumentStoreDirective<T extends SystemStateStoredData = SystemStateStoredData> extends DbxFirebaseDocumentStoreDirective<SystemState<T>, SystemStateDocument<T>, SystemStateDocumentStore<T>> {
|
|
3241
3701
|
constructor();
|
|
3242
3702
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFirebaseSystemStateDocumentStoreDirective<any>, never>;
|
|
@@ -3244,6 +3704,11 @@ declare class DbxFirebaseSystemStateDocumentStoreDirective<T extends SystemState
|
|
|
3244
3704
|
}
|
|
3245
3705
|
|
|
3246
3706
|
declare const DBX_FIREBASE_MODEL_DOES_NOT_EXIST_ERROR = "DOES_NOT_EXIST";
|
|
3707
|
+
/**
|
|
3708
|
+
* Creates a readable error indicating that the requested Firebase model document does not exist.
|
|
3709
|
+
*
|
|
3710
|
+
* @returns A readable error with the 'DOES_NOT_EXIST' code and a descriptive message.
|
|
3711
|
+
*/
|
|
3247
3712
|
declare function modelDoesNotExistError(): _dereekb_util.ReadableErrorWithCode<_dereekb_util.ReadableError>;
|
|
3248
3713
|
|
|
3249
3714
|
declare class DbxFirebaseModelModule {
|
|
@@ -3262,21 +3727,29 @@ declare class DbxFirebaseNotificationTemplateService {
|
|
|
3262
3727
|
static ɵprov: i0.ɵɵInjectableDeclaration<DbxFirebaseNotificationTemplateService>;
|
|
3263
3728
|
}
|
|
3264
3729
|
|
|
3265
|
-
/**
|
|
3730
|
+
/**
|
|
3731
|
+
* A notification item wrapped with list selection state.
|
|
3732
|
+
*/
|
|
3266
3733
|
type NotificationItemWithSelection = DbxValueAsListItem<NotificationItem>;
|
|
3267
|
-
/**
|
|
3734
|
+
/**
|
|
3735
|
+
* Selection list wrapper for notification items with view-only default selection mode.
|
|
3736
|
+
*/
|
|
3268
3737
|
declare class DbxFirebaseNotificationItemListComponent extends AbstractDbxSelectionListWrapperDirective<NotificationItem> {
|
|
3269
3738
|
constructor();
|
|
3270
3739
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFirebaseNotificationItemListComponent, never>;
|
|
3271
3740
|
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFirebaseNotificationItemListComponent, "dbx-firebase-notificationitem-list", never, {}, {}, never, ["[top]", "[bottom]", "[empty]", "[emptyLoading]", "[end]"], true, never>;
|
|
3272
3741
|
}
|
|
3273
|
-
/**
|
|
3742
|
+
/**
|
|
3743
|
+
* List view component that renders notification items using the selection list pattern.
|
|
3744
|
+
*/
|
|
3274
3745
|
declare class DbxFirebaseNotificationItemListViewComponent extends AbstractDbxSelectionListViewDirective<NotificationItem> {
|
|
3275
3746
|
readonly config: DbxSelectionValueListViewConfig<NotificationItemWithSelection>;
|
|
3276
3747
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFirebaseNotificationItemListViewComponent, never>;
|
|
3277
3748
|
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFirebaseNotificationItemListViewComponent, "dbx-firebase-notificationitem-list-view", never, {}, {}, never, never, true, never>;
|
|
3278
3749
|
}
|
|
3279
|
-
/**
|
|
3750
|
+
/**
|
|
3751
|
+
* Individual list view item component rendering a notification's subject, message, and date.
|
|
3752
|
+
*/
|
|
3280
3753
|
declare class DbxFirebaseNotificationItemListViewItemComponent extends AbstractDbxValueListViewItemComponent<NotificationItem> {
|
|
3281
3754
|
readonly dbxFirebaseNotificationTemplateService: DbxFirebaseNotificationTemplateService;
|
|
3282
3755
|
readonly pairGetter: _dereekb_util.CachedFactoryWithInput<_dereekb_firebase.NotificationItemSubjectMessagePair<{}>, unknown>;
|
|
@@ -3287,7 +3760,9 @@ declare class DbxFirebaseNotificationItemListViewItemComponent extends AbstractD
|
|
|
3287
3760
|
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFirebaseNotificationItemListViewItemComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
3288
3761
|
}
|
|
3289
3762
|
|
|
3290
|
-
/**
|
|
3763
|
+
/**
|
|
3764
|
+
* Presentational component for notification item content, displaying subject, message, and date.
|
|
3765
|
+
*/
|
|
3291
3766
|
declare class DbxFirebaseNotificationItemContentComponent {
|
|
3292
3767
|
readonly subject: i0.InputSignal<Maybe<string>>;
|
|
3293
3768
|
readonly message: i0.InputSignal<Maybe<string>>;
|
|
@@ -3318,7 +3793,9 @@ declare abstract class AbstractDbxFirebaseNotificationItemWidgetComponent<D exte
|
|
|
3318
3793
|
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractDbxFirebaseNotificationItemWidgetComponent<any>, never, never, {}, {}, never, never, true, never>;
|
|
3319
3794
|
}
|
|
3320
3795
|
|
|
3321
|
-
/**
|
|
3796
|
+
/**
|
|
3797
|
+
* Default notification item view component that renders subject, message, and creation date.
|
|
3798
|
+
*/
|
|
3322
3799
|
declare class DbxFirebaseNotificationItemDefaultViewComponent extends AbstractDbxFirebaseNotificationItemWidgetComponent {
|
|
3323
3800
|
get subject(): _dereekb_util.Maybe<string>;
|
|
3324
3801
|
get message(): _dereekb_util.Maybe<string>;
|
|
@@ -3406,7 +3883,9 @@ declare class DbxFirebaseNotificationItemStore extends ComponentStore<DbxFirebas
|
|
|
3406
3883
|
static ɵprov: i0.ɵɵInjectableDeclaration<DbxFirebaseNotificationItemStore>;
|
|
3407
3884
|
}
|
|
3408
3885
|
|
|
3409
|
-
/**
|
|
3886
|
+
/**
|
|
3887
|
+
* Document store for a single Notification, providing derived observables for creation date, send state, and update functions.
|
|
3888
|
+
*/
|
|
3410
3889
|
declare class NotificationDocumentStore extends AbstractDbxFirebaseDocumentWithParentStore<Notification, NotificationBox, NotificationDocument, NotificationBoxDocument> {
|
|
3411
3890
|
readonly notificationFunctions: NotificationFunctions;
|
|
3412
3891
|
constructor();
|
|
@@ -3420,28 +3899,36 @@ declare class NotificationDocumentStore extends AbstractDbxFirebaseDocumentWithP
|
|
|
3420
3899
|
static ɵprov: i0.ɵɵInjectableDeclaration<NotificationDocumentStore>;
|
|
3421
3900
|
}
|
|
3422
3901
|
|
|
3423
|
-
/**
|
|
3902
|
+
/**
|
|
3903
|
+
* Directive providing a {@link NotificationDocumentStore} for accessing a single notification document.
|
|
3904
|
+
*/
|
|
3424
3905
|
declare class DbxFirebaseNotificationDocumentStoreDirective extends DbxFirebaseDocumentStoreDirective<Notification, NotificationDocument, NotificationDocumentStore> {
|
|
3425
3906
|
constructor();
|
|
3426
3907
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFirebaseNotificationDocumentStoreDirective, never>;
|
|
3427
3908
|
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxFirebaseNotificationDocumentStoreDirective, "[dbxFirebaseNotificationDocument]", never, {}, {}, never, never, true, never>;
|
|
3428
3909
|
}
|
|
3429
3910
|
|
|
3430
|
-
/**
|
|
3911
|
+
/**
|
|
3912
|
+
* Collection store for Notification documents, scoped to a parent NotificationBox when available.
|
|
3913
|
+
*/
|
|
3431
3914
|
declare class NotificationCollectionStore extends AbstractDbxFirebaseCollectionWithParentStore<Notification, NotificationBox, NotificationDocument, NotificationBoxDocument> {
|
|
3432
3915
|
constructor();
|
|
3433
3916
|
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationCollectionStore, never>;
|
|
3434
3917
|
static ɵprov: i0.ɵɵInjectableDeclaration<NotificationCollectionStore>;
|
|
3435
3918
|
}
|
|
3436
3919
|
|
|
3437
|
-
/**
|
|
3920
|
+
/**
|
|
3921
|
+
* Directive providing a {@link NotificationCollectionStore} for querying notifications within a template.
|
|
3922
|
+
*/
|
|
3438
3923
|
declare class DbxFirebaseNotificationCollectionStoreDirective extends DbxFirebaseCollectionWithParentStoreDirective<Notification, NotificationBox, NotificationDocument, NotificationBoxDocument, NotificationCollectionStore> {
|
|
3439
3924
|
constructor();
|
|
3440
3925
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFirebaseNotificationCollectionStoreDirective, never>;
|
|
3441
3926
|
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxFirebaseNotificationCollectionStoreDirective, "[dbxFirebaseNotificationCollection]", never, {}, {}, never, never, true, never>;
|
|
3442
3927
|
}
|
|
3443
3928
|
|
|
3444
|
-
/**
|
|
3929
|
+
/**
|
|
3930
|
+
* Document store for a single NotificationBox, providing derived observables for creation date, recipients, and update functions.
|
|
3931
|
+
*/
|
|
3445
3932
|
declare class NotificationBoxDocumentStore extends AbstractDbxFirebaseDocumentStore<NotificationBox, NotificationBoxDocument> {
|
|
3446
3933
|
readonly notificationFunctions: NotificationFunctions;
|
|
3447
3934
|
constructor();
|
|
@@ -3453,42 +3940,54 @@ declare class NotificationBoxDocumentStore extends AbstractDbxFirebaseDocumentSt
|
|
|
3453
3940
|
static ɵprov: i0.ɵɵInjectableDeclaration<NotificationBoxDocumentStore>;
|
|
3454
3941
|
}
|
|
3455
3942
|
|
|
3456
|
-
/**
|
|
3943
|
+
/**
|
|
3944
|
+
* Directive providing a {@link NotificationBoxDocumentStore} for accessing a single notification box document.
|
|
3945
|
+
*/
|
|
3457
3946
|
declare class DbxFirebaseNotificationBoxDocumentStoreDirective extends DbxFirebaseDocumentStoreDirective<NotificationBox, NotificationBoxDocument, NotificationBoxDocumentStore> {
|
|
3458
3947
|
constructor();
|
|
3459
3948
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFirebaseNotificationBoxDocumentStoreDirective, never>;
|
|
3460
3949
|
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxFirebaseNotificationBoxDocumentStoreDirective, "[dbxFirebaseNotificationBoxDocument]", never, {}, {}, never, never, true, never>;
|
|
3461
3950
|
}
|
|
3462
3951
|
|
|
3463
|
-
/**
|
|
3952
|
+
/**
|
|
3953
|
+
* Collection store for querying NotificationBox documents.
|
|
3954
|
+
*/
|
|
3464
3955
|
declare class NotificationBoxCollectionStore extends AbstractDbxFirebaseCollectionStore<NotificationBox, NotificationBoxDocument> {
|
|
3465
3956
|
constructor();
|
|
3466
3957
|
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationBoxCollectionStore, never>;
|
|
3467
3958
|
static ɵprov: i0.ɵɵInjectableDeclaration<NotificationBoxCollectionStore>;
|
|
3468
3959
|
}
|
|
3469
3960
|
|
|
3470
|
-
/**
|
|
3961
|
+
/**
|
|
3962
|
+
* Directive providing a {@link NotificationBoxCollectionStore} for querying notification boxes.
|
|
3963
|
+
*/
|
|
3471
3964
|
declare class DbxFirebaseNotificationBoxCollectionStoreDirective extends DbxFirebaseCollectionStoreDirective<NotificationBox, NotificationBoxDocument, NotificationBoxCollectionStore> {
|
|
3472
3965
|
constructor();
|
|
3473
3966
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFirebaseNotificationBoxCollectionStoreDirective, never>;
|
|
3474
3967
|
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxFirebaseNotificationBoxCollectionStoreDirective, "[dbxFirebaseNotificationBoxCollection]", never, {}, {}, never, never, true, never>;
|
|
3475
3968
|
}
|
|
3476
3969
|
|
|
3477
|
-
/**
|
|
3970
|
+
/**
|
|
3971
|
+
* Collection store for querying NotificationSummary documents.
|
|
3972
|
+
*/
|
|
3478
3973
|
declare class NotificationSummaryCollectionStore extends AbstractDbxFirebaseCollectionStore<NotificationSummary, NotificationSummaryDocument> {
|
|
3479
3974
|
constructor();
|
|
3480
3975
|
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationSummaryCollectionStore, never>;
|
|
3481
3976
|
static ɵprov: i0.ɵɵInjectableDeclaration<NotificationSummaryCollectionStore>;
|
|
3482
3977
|
}
|
|
3483
3978
|
|
|
3484
|
-
/**
|
|
3979
|
+
/**
|
|
3980
|
+
* Directive providing a {@link NotificationSummaryCollectionStore} for querying notification summaries.
|
|
3981
|
+
*/
|
|
3485
3982
|
declare class DbxFirebaseNotificationSummaryCollectionStoreDirective extends DbxFirebaseCollectionStoreDirective<NotificationSummary, NotificationSummaryDocument, NotificationSummaryCollectionStore> {
|
|
3486
3983
|
constructor();
|
|
3487
3984
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFirebaseNotificationSummaryCollectionStoreDirective, never>;
|
|
3488
3985
|
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxFirebaseNotificationSummaryCollectionStoreDirective, "[dbxFirebaseNotificationSummaryCollection]", never, {}, {}, never, never, true, never>;
|
|
3489
3986
|
}
|
|
3490
3987
|
|
|
3491
|
-
/**
|
|
3988
|
+
/**
|
|
3989
|
+
* Document store for a single NotificationSummary, providing derived observables for items, timestamps, sync state, and update functions.
|
|
3990
|
+
*/
|
|
3492
3991
|
declare class NotificationSummaryDocumentStore extends AbstractDbxFirebaseDocumentStore<NotificationSummary, NotificationSummaryDocument> {
|
|
3493
3992
|
readonly notificationFunctions: NotificationFunctions;
|
|
3494
3993
|
constructor();
|
|
@@ -3505,28 +4004,36 @@ declare class NotificationSummaryDocumentStore extends AbstractDbxFirebaseDocume
|
|
|
3505
4004
|
static ɵprov: i0.ɵɵInjectableDeclaration<NotificationSummaryDocumentStore>;
|
|
3506
4005
|
}
|
|
3507
4006
|
|
|
3508
|
-
/**
|
|
4007
|
+
/**
|
|
4008
|
+
* Directive providing a {@link NotificationSummaryDocumentStore} for accessing a single notification summary.
|
|
4009
|
+
*/
|
|
3509
4010
|
declare class DbxFirebaseNotificationSummaryDocumentStoreDirective extends DbxFirebaseDocumentStoreDirective<NotificationSummary, NotificationSummaryDocument, NotificationSummaryDocumentStore> {
|
|
3510
4011
|
constructor();
|
|
3511
4012
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFirebaseNotificationSummaryDocumentStoreDirective, never>;
|
|
3512
4013
|
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxFirebaseNotificationSummaryDocumentStoreDirective, "[dbxFirebaseNotificationSummaryDocument]", never, {}, {}, never, never, true, never>;
|
|
3513
4014
|
}
|
|
3514
4015
|
|
|
3515
|
-
/**
|
|
4016
|
+
/**
|
|
4017
|
+
* Collection store for querying NotificationUser documents.
|
|
4018
|
+
*/
|
|
3516
4019
|
declare class NotificationUserCollectionStore extends AbstractDbxFirebaseCollectionStore<NotificationUser, NotificationUserDocument> {
|
|
3517
4020
|
constructor();
|
|
3518
4021
|
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationUserCollectionStore, never>;
|
|
3519
4022
|
static ɵprov: i0.ɵɵInjectableDeclaration<NotificationUserCollectionStore>;
|
|
3520
4023
|
}
|
|
3521
4024
|
|
|
3522
|
-
/**
|
|
4025
|
+
/**
|
|
4026
|
+
* Directive providing a {@link NotificationUserCollectionStore} for querying notification user documents.
|
|
4027
|
+
*/
|
|
3523
4028
|
declare class DbxFirebaseNotificationUserCollectionStoreDirective extends DbxFirebaseCollectionStoreDirective<NotificationUser, NotificationUserDocument, NotificationUserCollectionStore> {
|
|
3524
4029
|
constructor();
|
|
3525
4030
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFirebaseNotificationUserCollectionStoreDirective, never>;
|
|
3526
4031
|
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxFirebaseNotificationUserCollectionStoreDirective, "[dbxFirebaseNotificationUserCollection]", never, {}, {}, never, never, true, never>;
|
|
3527
4032
|
}
|
|
3528
4033
|
|
|
3529
|
-
/**
|
|
4034
|
+
/**
|
|
4035
|
+
* Document store for a single NotificationUser with update and resync functions.
|
|
4036
|
+
*/
|
|
3530
4037
|
declare class NotificationUserDocumentStore extends AbstractDbxFirebaseDocumentStore<NotificationUser, NotificationUserDocument> {
|
|
3531
4038
|
readonly notificationFunctions: NotificationFunctions;
|
|
3532
4039
|
constructor();
|
|
@@ -3536,7 +4043,9 @@ declare class NotificationUserDocumentStore extends AbstractDbxFirebaseDocumentS
|
|
|
3536
4043
|
static ɵprov: i0.ɵɵInjectableDeclaration<NotificationUserDocumentStore>;
|
|
3537
4044
|
}
|
|
3538
4045
|
|
|
3539
|
-
/**
|
|
4046
|
+
/**
|
|
4047
|
+
* Directive providing a {@link NotificationUserDocumentStore} for accessing a single notification user document.
|
|
4048
|
+
*/
|
|
3540
4049
|
declare class DbxFirebaseNotificationUserDocumentStoreDirective extends DbxFirebaseDocumentStoreDirective<NotificationUser, NotificationUserDocument, NotificationUserDocumentStore> {
|
|
3541
4050
|
constructor();
|
|
3542
4051
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFirebaseNotificationUserDocumentStoreDirective, never>;
|
|
@@ -3550,6 +4059,12 @@ declare class DbxFirebaseNotificationUserDocumentStoreDirective extends DbxFireb
|
|
|
3550
4059
|
*/
|
|
3551
4060
|
declare const FIREBASE_NOTIFICATION_ITEM_WIDGET_TYPE_PREFIX: string;
|
|
3552
4061
|
declare const DEFAULT_FIREBASE_NOTIFICATION_ITEM_WIDGET_TYPE: DbxWidgetType;
|
|
4062
|
+
/**
|
|
4063
|
+
* Derives the widget type string for a given notification template type by prepending the standard prefix.
|
|
4064
|
+
*
|
|
4065
|
+
* @param notificationTemplateType - The notification template type to generate a widget type for.
|
|
4066
|
+
* @returns The prefixed widget type string.
|
|
4067
|
+
*/
|
|
3553
4068
|
declare function dbxWidgetTypeForNotificationTemplateType(notificationTemplateType: NotificationTemplateType): DbxWidgetType;
|
|
3554
4069
|
/**
|
|
3555
4070
|
* Used for registering a DbxFirebaseNotificationItemWidgetEntry.
|
|
@@ -3578,8 +4093,9 @@ declare class DbxFirebaseNotificationItemWidgetService {
|
|
|
3578
4093
|
/**
|
|
3579
4094
|
* Used to register a item widget. If widget for the given type is already registered, this will override it by default.
|
|
3580
4095
|
*
|
|
3581
|
-
* @param provider
|
|
3582
|
-
* @param override
|
|
4096
|
+
* @param provider - The notification item widget entry to register.
|
|
4097
|
+
* @param override - Whether to override an existing widget for the same notification template type. Defaults to true.
|
|
4098
|
+
* @returns True if the widget was registered, false if it already existed and override was false or the template type was unknown.
|
|
3583
4099
|
*/
|
|
3584
4100
|
register(provider: DbxFirebaseNotificationItemWidgetEntryRegistration, override?: boolean): boolean;
|
|
3585
4101
|
registerDefaultWidget(entry: Omit<DbxWidgetEntry, 'type'>, override?: boolean): boolean;
|
|
@@ -3644,8 +4160,8 @@ declare class DbxFirebaseStorageFileDownloadStorage {
|
|
|
3644
4160
|
*
|
|
3645
4161
|
* The pair may be expired.
|
|
3646
4162
|
*
|
|
3647
|
-
* @param key
|
|
3648
|
-
* @returns
|
|
4163
|
+
* @param input - The Firestore model ID or key identifying the storage file.
|
|
4164
|
+
* @returns Observable that emits the cached download URL pair, or undefined if not found.
|
|
3649
4165
|
*/
|
|
3650
4166
|
getDownloadUrlPair(input: FirestoreModelIdInput): Observable<DbxFirebaseStorageFileDownloadUrlPair | undefined>;
|
|
3651
4167
|
getAllDownloadUrlPairsRecord(uid: FirebaseAuthUserId): Observable<DbxFirebaseStorageFileDownloadUrlPairsRecord>;
|
|
@@ -3672,6 +4188,12 @@ interface DbxFirebaseStorageFileDownloadServiceCustomSource {
|
|
|
3672
4188
|
*/
|
|
3673
4189
|
downloadStorageFileResult: DbxFirebaseStorageFileDownloadServiceCustomSourceDownloadFunction;
|
|
3674
4190
|
}
|
|
4191
|
+
/**
|
|
4192
|
+
* Creates a {@link DbxFirebaseStorageFileDownloadServiceCustomSource} from a function that returns a LoadingState observable.
|
|
4193
|
+
*
|
|
4194
|
+
* @param obsForInput - Function that produces a LoadingState observable for the given download params and storage file ID.
|
|
4195
|
+
* @returns A custom source adapter that bridges observable-based downloads to the promise-based interface.
|
|
4196
|
+
*/
|
|
3675
4197
|
declare function dbxFirebaseStorageFileDownloadServiceCustomSourceFromObs(obsForInput: (params: DownloadStorageFileParams, storageFileId: StorageFileId) => Observable<LoadingState<DownloadStorageFileResult>>): DbxFirebaseStorageFileDownloadServiceCustomSource;
|
|
3676
4198
|
/**
|
|
3677
4199
|
* Service used for retrieving download links for StorageFiles.
|
|
@@ -3712,12 +4234,15 @@ declare class DbxFirebaseStorageFileDownloadService {
|
|
|
3712
4234
|
*
|
|
3713
4235
|
* These URLs are cached locally to prevent extra/redundant calls to the server.
|
|
3714
4236
|
*
|
|
3715
|
-
* @param storageFileIdOrKey
|
|
3716
|
-
* @
|
|
4237
|
+
* @param storageFileIdOrKey - The storage file ID or key to download.
|
|
4238
|
+
* @param source - Optional custom download source. Falls back to the default internal source if not provided.
|
|
4239
|
+
* @returns Observable that emits the cached or freshly downloaded URL pair.
|
|
3717
4240
|
*/
|
|
3718
4241
|
downloadPairForStorageFileUsingSource(storageFileIdOrKey: StorageFileId | StorageFileKey, source: Maybe<DbxFirebaseStorageFileDownloadServiceCustomSource>): Observable<DbxFirebaseStorageFileDownloadUrlPair>;
|
|
3719
4242
|
/**
|
|
3720
4243
|
* Adds the given download URL pair to the cache.
|
|
4244
|
+
*
|
|
4245
|
+
* @param downloadUrlPair - The download URL pair to store in the local cache.
|
|
3721
4246
|
*/
|
|
3722
4247
|
addPairForStorageFileToCache(downloadUrlPair: DbxFirebaseStorageFileDownloadUrlPair): void;
|
|
3723
4248
|
/**
|
|
@@ -4158,6 +4683,9 @@ interface StorageFileUploadHandlerConfig {
|
|
|
4158
4683
|
}
|
|
4159
4684
|
/**
|
|
4160
4685
|
* Default implementation of StorageFileUploadHandler.
|
|
4686
|
+
*
|
|
4687
|
+
* @param config - Configuration providing the storage service and file upload config factory.
|
|
4688
|
+
* @returns A StorageFileUploadHandler that manages resumable file uploads.
|
|
4161
4689
|
*/
|
|
4162
4690
|
declare function storageFileUploadHandler(config: StorageFileUploadHandlerConfig): StorageFileUploadHandler;
|
|
4163
4691
|
interface StorageFileUploadFilesInput {
|
|
@@ -4362,7 +4890,7 @@ declare class DbxFirebaseStorageFileUploadSyncDirective {
|
|
|
4362
4890
|
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxFirebaseStorageFileUploadSyncDirective, "[dbxFirebaseStorageFileUploadSync]", ["dbxFirebaseStorageFileUploadSync"], {}, {}, never, never, true, never>;
|
|
4363
4891
|
}
|
|
4364
4892
|
|
|
4365
|
-
declare const
|
|
4893
|
+
declare const IMPORTS_AND_EXPORTS: (typeof DbxActionModule | typeof DbxLoadingComponent | typeof DbxActionSnackbarErrorDirective | typeof DbxFirebaseStorageFileCollectionStoreDirective | typeof DbxFirebaseStorageFileDocumentStoreDirective | typeof DbxFirebaseStorageFileUploadActionHandlerDirective | typeof DbxFirebaseStorageFileUploadInitializeDocumentDirective | typeof DbxFirebaseStorageFileUploadStoreDirective | typeof DbxFirebaseStorageFileUploadSyncDirective | typeof DbxFileUploadComponent | typeof DbxActionLoadingContextDirective | typeof DbxFileUploadActionSyncDirective)[];
|
|
4366
4894
|
/**
|
|
4367
4895
|
* Convenience module for importing various modules/components that are relevant to the storage file upload feature.
|
|
4368
4896
|
*
|
|
@@ -4381,13 +4909,16 @@ declare class DbxFirebaseStorageFileUploadModule {
|
|
|
4381
4909
|
}
|
|
4382
4910
|
|
|
4383
4911
|
/**
|
|
4384
|
-
* Factory function for creating a StorageAccessor for the
|
|
4912
|
+
* Factory function for creating a StorageAccessor for the storage file download cache.
|
|
4913
|
+
*
|
|
4914
|
+
* @param storageAccessorFactory - The factory used to create prefixed storage accessors.
|
|
4915
|
+
* @returns A StorageAccessor scoped to the storage file download cache.
|
|
4385
4916
|
*/
|
|
4386
4917
|
declare function defaultDbxFirebaseStorageFileDownloadStorageAccessorFactory(storageAccessorFactory: SimpleStorageAccessorFactory): StorageAccessor<DbxFirebaseStorageFileDownloadUserCache>;
|
|
4387
4918
|
/**
|
|
4388
|
-
* Creates EnvironmentProviders for
|
|
4919
|
+
* Creates EnvironmentProviders for the storage file download service and its dependencies.
|
|
4389
4920
|
*
|
|
4390
|
-
* @returns EnvironmentProviders
|
|
4921
|
+
* @returns EnvironmentProviders that register the storage file download storage accessor, storage, and service.
|
|
4391
4922
|
*/
|
|
4392
4923
|
declare function provideDbxFirebaseStorageFileService(): EnvironmentProviders;
|
|
4393
4924
|
|
|
@@ -4459,7 +4990,21 @@ interface DbxFirebaseIdRouteParamRedirectInstance extends DbxFirebaseIdRoutePara
|
|
|
4459
4990
|
setDecider(decider: string | SwitchMapToDefaultFilterFunction<ModelKey>): void;
|
|
4460
4991
|
setParamValue(value: MaybeObservableOrValueGetter<string>): void;
|
|
4461
4992
|
}
|
|
4993
|
+
/**
|
|
4994
|
+
* Creates a {@link DbxFirebaseIdRouteParamRedirectInstance} configured to read a model key from route params.
|
|
4995
|
+
*
|
|
4996
|
+
* @param dbxRouterService - The router service used to read route parameters.
|
|
4997
|
+
* @param defaultParamKey - The route parameter key to read. Defaults to 'key'.
|
|
4998
|
+
* @returns A new route param redirect instance for model keys.
|
|
4999
|
+
*/
|
|
4462
5000
|
declare function dbxFirebaseKeyRouteParamRedirect(dbxRouterService: DbxRouterService, defaultParamKey?: string): DbxFirebaseIdRouteParamRedirectInstance;
|
|
5001
|
+
/**
|
|
5002
|
+
* Creates a {@link DbxFirebaseIdRouteParamRedirectInstance} that reads a model ID from route params and optionally redirects to a default value.
|
|
5003
|
+
*
|
|
5004
|
+
* @param dbxRouterService - The router service used to read route parameters.
|
|
5005
|
+
* @param defaultParamKey - The route parameter key to read. Defaults to 'id'.
|
|
5006
|
+
* @returns A new route param redirect instance for model IDs with configurable redirect behavior.
|
|
5007
|
+
*/
|
|
4463
5008
|
declare function dbxFirebaseIdRouteParamRedirect(dbxRouterService: DbxRouterService, defaultParamKey?: string): DbxFirebaseIdRouteParamRedirectInstance;
|
|
4464
5009
|
|
|
4465
5010
|
/**
|
|
@@ -4571,5 +5116,5 @@ interface ProvideDbxFirebaseConfig<T, M extends FirebaseFunctionsMap = FirebaseF
|
|
|
4571
5116
|
*/
|
|
4572
5117
|
declare function provideDbxFirebase<T, M extends FirebaseFunctionsMap = FirebaseFunctionsMap>(config: ProvideDbxFirebaseConfig<T, M>): EnvironmentProviders;
|
|
4573
5118
|
|
|
4574
|
-
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, DbxFirebaseDevelopmentPopupContentFormComponent, DbxFirebaseDevelopmentSchedulerListComponent, DbxFirebaseDevelopmentSchedulerListViewComponent, DbxFirebaseDevelopmentSchedulerListViewItemComponent, DbxFirebaseDevelopmentSchedulerService, DbxFirebaseDevelopmentSchedulerWidgetComponent, DbxFirebaseDevelopmentService, DbxFirebaseDevelopmentWidgetService, DbxFirebaseDocumentLoaderInstance, DbxFirebaseDocumentStoreContextModelEntitiesSourceDirective, DbxFirebaseDocumentStoreContextStore, DbxFirebaseDocumentStoreContextStoreDirective, DbxFirebaseDocumentStoreDirective, DbxFirebaseDocumentStoreIdFromTwoWayModelKeyDirective, DbxFirebaseDocumentStoreTwoWayKeyProvider, DbxFirebaseDocumentStoreTwoWayModelKeySourceDirective, DbxFirebaseEmailFormComponent, DbxFirebaseEmailRecoveryFormComponent, DbxFirebaseEmulatorService, DbxFirebaseLoginAnonymousComponent, DbxFirebaseLoginAppleComponent, DbxFirebaseLoginButtonComponent, DbxFirebaseLoginButtonContainerComponent, DbxFirebaseLoginComponent, DbxFirebaseLoginContext, DbxFirebaseLoginContextBackButtonComponent, DbxFirebaseLoginContextDirective, DbxFirebaseLoginEmailComponent, DbxFirebaseLoginEmailContentComponent, DbxFirebaseLoginFacebookComponent, DbxFirebaseLoginGitHubComponent, DbxFirebaseLoginGoogleComponent, DbxFirebaseLoginListComponent, DbxFirebaseLoginMicrosoftComponent, DbxFirebaseLoginTermsComponent, DbxFirebaseLoginTermsSimpleComponent, DbxFirebaseLoginTwitterComponent, 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, DbxFirebaseRegisterComponent, DbxFirebaseRegisterEmailComponent, DbxFirebaseStorageFileCollectionStoreDirective, DbxFirebaseStorageFileDocumentStoreDirective, DbxFirebaseStorageFileDownloadButtonComponent, DbxFirebaseStorageFileDownloadService, DbxFirebaseStorageFileDownloadStorage, DbxFirebaseStorageFileGroupDocumentStoreDirective, DbxFirebaseStorageFileUploadActionHandlerDirective, DbxFirebaseStorageFileUploadInitializeDocumentDirective, DbxFirebaseStorageFileUploadModule, DbxFirebaseStorageFileUploadStore, DbxFirebaseStorageFileUploadStoreDirective, DbxFirebaseStorageFileUploadSyncDirective, DbxFirebaseStorageService, DbxFirebaseSystemStateCollectionStoreDirective, DbxFirebaseSystemStateDocumentStoreDirective, DbxFirestoreContextService, DbxLimitedFirebaseDocumentLoaderInstance, FIREBASE_NOTIFICATION_ITEM_WIDGET_TYPE_PREFIX, FlatFirestoreModelKeyPipe, 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, firebaseAuthTokenFromUser, firebaseCollectionStoreCreateFunction, firebaseCollectionStoreCrudFunction, firebaseContextServiceEntityMap, firebaseDocumentStoreCreateFunction, firebaseDocumentStoreCrudFunction, firebaseDocumentStoreDeleteFunction, firebaseDocumentStoreReadFunction, firebaseDocumentStoreUpdateFunction, importsAndExports, isDbxFirebaseModelEntityWithStore, linkDocumentStoreToParentContextStores, 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 };
|
|
4575
|
-
export type { AuthRolesObsWithClaimsServiceConfig, AuthUserInfo, AuthUserStateObsFunction, DbxFirebaseAnalyticsUserPropertiesFactory, DbxFirebaseAppCheckConfig, DbxFirebaseAppOptions, DbxFirebaseAuthContextInfo, DbxFirebaseAuthLoginPasswordConfig, DbxFirebaseAuthLoginProvider, DbxFirebaseAuthLoginProviderAssets, DbxFirebaseCollectionChangeTrigger, DbxFirebaseCollectionChangeTriggerFunction, DbxFirebaseCollectionChangeTriggerInstanceConfig, DbxFirebaseCollectionChangeWatcher, DbxFirebaseCollectionChangeWatcherEvent, DbxFirebaseCollectionChangeWatcherInstance, DbxFirebaseCollectionChangeWatcherTriggerMode, DbxFirebaseCollectionHasChangeDirectiveMode, DbxFirebaseCollectionLoader, DbxFirebaseCollectionLoaderAccessor, DbxFirebaseCollectionLoaderAccessorWithAccumulator, DbxFirebaseCollectionLoaderInstanceData, DbxFirebaseCollectionLoaderInstanceInitConfig, DbxFirebaseCollectionLoaderWithAccumulator, DbxFirebaseCollectionMode, DbxFirebaseCollectionStore, DbxFirebaseCollectionStoreContextState, DbxFirebaseCollectionStoreCreateFunction, DbxFirebaseCollectionStoreCrudFunction, DbxFirebaseCollectionWithParentStore, DbxFirebaseCollectionWithParentStoreContextState, DbxFirebaseComponentStoreSetParentEffectFunction, DbxFirebaseComponentStoreWithParent, DbxFirebaseComponentStoreWithParentContextState, DbxFirebaseComponentStoreWithParentSetParentEffectFunction, DbxFirebaseComponentStoreWithParentSetParentSourceModeFunction, DbxFirebaseComponentStoreWithParentSetParentStoreEffectFunction, DbxFirebaseComponentStoreWithParentSourceMode, DbxFirebaseDevelopmentPopupContentFormInput, DbxFirebaseDevelopmentPopupContentFormValue, DbxFirebaseDevelopmentWidgetEntry, DbxFirebaseDocumentLoader, DbxFirebaseDocumentLoaderInstanceInitConfig, DbxFirebaseDocumentReadOnlyStore, DbxFirebaseDocumentStore, DbxFirebaseDocumentStoreContextState, DbxFirebaseDocumentStoreContextStoreEntry, DbxFirebaseDocumentStoreContextStoreEntryNumber, DbxFirebaseDocumentStoreContextStoreEntryWithIdentity, DbxFirebaseDocumentStoreContextStoreState, DbxFirebaseDocumentStoreCreateFunction, DbxFirebaseDocumentStoreCrudFunction, DbxFirebaseDocumentStoreFunction, DbxFirebaseDocumentStoreFunctionParams, DbxFirebaseDocumentStoreFunctionParamsInput, DbxFirebaseDocumentWithParentStore, DbxFirebaseDocumentWithParentStoreContextState, DbxFirebaseEmailFormConfig, DbxFirebaseEmailFormValue, DbxFirebaseEmailRecoveryFormValue, DbxFirebaseEmulatorConfig, DbxFirebaseEmulatorsConfig, DbxFirebaseEnvironmentOptions, DbxFirebaseIdRouteParamRedirect, DbxFirebaseIdRouteParamRedirectInstance, DbxFirebaseInContextFirebaseModelInfoServiceInstance, DbxFirebaseInContextFirebaseModelRolesServiceInstance, DbxFirebaseInContextFirebaseModelServiceInstance, DbxFirebaseInContextFirebaseModelServiceInstanceFactory, DbxFirebaseLoginButtonConfig, DbxFirebaseLoginEmailContentComponentConfig, DbxFirebaseLoginEmailContentMode, DbxFirebaseLoginListItemInjectionComponentConfig, DbxFirebaseLoginMode, DbxFirebaseModelContextServiceFactory, DbxFirebaseModelContextServiceInfoInstanceFactory, DbxFirebaseModelContextServiceInfoInstanceFactoryConfig, DbxFirebaseModelDisplayInfo, DbxFirebaseModelEntitiesPopoverButtonConfig, DbxFirebaseModelEntitiesPopoverConfig, DbxFirebaseModelEntitiesPopoverConfigWithoutOrigin, DbxFirebaseModelEntitiesWidgetEntry, DbxFirebaseModelEntitiesWidgetInjectionConfig, DbxFirebaseModelEntitiesWidgetInjectionConfigFactory, DbxFirebaseModelEntitiesWidgetServiceConfigFactory, DbxFirebaseModelEntity, DbxFirebaseModelEntityWithKey, DbxFirebaseModelEntityWithKeyAndStore, DbxFirebaseModelEntityWithStore, DbxFirebaseModelHistoryPopoverButtonConfig, DbxFirebaseModelHistoryPopoverConfig, DbxFirebaseModelHistoryPopoverConfigWithoutOrigin, DbxFirebaseModelTrackerFilterItem, DbxFirebaseModelTrackerHistoryFilter, DbxFirebaseModelTypeInfo, DbxFirebaseModelTypeInstanceListItem, DbxFirebaseModelTypesMap, DbxFirebaseModelTypesServiceEntry, DbxFirebaseModelTypesServiceInstance, DbxFirebaseModelTypesServiceInstancePair, DbxFirebaseModelTypesServiceInstancePairForKeysFactory, DbxFirebaseNotificationItemStorePopoverButtonConfig, DbxFirebaseNotificationItemStorePopoverParams, DbxFirebaseNotificationItemStoreState, DbxFirebaseNotificationItemWidgetEntry, DbxFirebaseNotificationItemWidgetEntryRegistration, DbxFirebaseSourceSelectLoadSourceConfig, DbxFirebaseStorageContextConfigFactory, DbxFirebaseStorageFileDownloadButtonConfig, DbxFirebaseStorageFileDownloadButtonSource, DbxFirebaseStorageFileDownloadDetails, DbxFirebaseStorageFileDownloadServiceCustomSource, DbxFirebaseStorageFileDownloadServiceCustomSourceDownloadFunction, DbxFirebaseStorageFileDownloadUrlPair, DbxFirebaseStorageFileDownloadUrlPairString, DbxFirebaseStorageFileDownloadUrlPairsRecord, DbxFirebaseStorageFileDownloadUserCache, DbxFirebaseStorageFileUploadStoreAllowedTypes, DbxFirebaseStorageFileUploadStoreFileProgress, DbxFirebaseStorageFileUploadStoreState, DbxFirebaseStorageFileUploadStoreUploadStage, DbxLimitedFirebaseDocumentLoader, DefaultDbxFirebaseAuthServiceDelegateWithClaimsServiceConfig, FirebaseDocumentStoreFunctionConfig, FirebaseLoginMethodCategory, FirebaseLoginMethodType, KnownFirebaseLoginMethodCategory, KnownFirebaseLoginMethodType, NotificationItemWithSelection, ProvideDbxFirebaseAppConfig, ProvideDbxFirebaseAuthConfig, ProvideDbxFirebaseConfig, ProvideDbxFirebaseDevelopmentConfig, ProvideDbxFirebaseEmulatorsConfig, ProvideDbxFirebaseFirestoreCollectionConfig, ProvideDbxFirebaseFunctionsConfig, ProvideDbxFirebaseLoginConfig, ProvideDbxFirebaseModelContextServiceConfig, ProvideDbxFirebaseModelEntitiesWidgetServiceConfig, ProvideDbxFirebaseNotificationsConfig, ProvideDbxFirebaseStorageConfig, ScheduledFunctionDevelopmentFirebaseFunctionListEntryWithSelection, StateFromTokenFunction, StorageFileUploadConfig, StorageFileUploadConfigFactory, StorageFileUploadConfigOptions, StorageFileUploadFilesEvent, StorageFileUploadFilesFinalFileResult, StorageFileUploadFilesFinalResult, StorageFileUploadFilesInput, StorageFileUploadFilesInstance, StorageFileUploadHandler, StorageFileUploadHandlerConfig, StorageFileUploadHandlerFunction, StorageFileUploadHandlerInstance };
|
|
5119
|
+
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, DbxFirebaseDevelopmentPopupContentFormComponent, DbxFirebaseDevelopmentSchedulerListComponent, DbxFirebaseDevelopmentSchedulerListViewComponent, DbxFirebaseDevelopmentSchedulerListViewItemComponent, DbxFirebaseDevelopmentSchedulerService, DbxFirebaseDevelopmentSchedulerWidgetComponent, DbxFirebaseDevelopmentService, DbxFirebaseDevelopmentWidgetService, DbxFirebaseDocumentLoaderInstance, DbxFirebaseDocumentStoreContextModelEntitiesSourceDirective, DbxFirebaseDocumentStoreContextStore, DbxFirebaseDocumentStoreContextStoreDirective, DbxFirebaseDocumentStoreDirective, DbxFirebaseDocumentStoreIdFromTwoWayModelKeyDirective, DbxFirebaseDocumentStoreTwoWayKeyProvider, DbxFirebaseDocumentStoreTwoWayModelKeySourceDirective, DbxFirebaseEmailFormComponent, DbxFirebaseEmailRecoveryFormComponent, 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, DbxFirebaseRegisterComponent, DbxFirebaseRegisterEmailComponent, DbxFirebaseStorageFileCollectionStoreDirective, DbxFirebaseStorageFileDocumentStoreDirective, DbxFirebaseStorageFileDownloadButtonComponent, DbxFirebaseStorageFileDownloadService, DbxFirebaseStorageFileDownloadStorage, DbxFirebaseStorageFileGroupDocumentStoreDirective, DbxFirebaseStorageFileUploadActionHandlerDirective, DbxFirebaseStorageFileUploadInitializeDocumentDirective, DbxFirebaseStorageFileUploadModule, DbxFirebaseStorageFileUploadStore, DbxFirebaseStorageFileUploadStoreDirective, DbxFirebaseStorageFileUploadSyncDirective, DbxFirebaseStorageService, DbxFirebaseSystemStateCollectionStoreDirective, DbxFirebaseSystemStateDocumentStoreDirective, DbxFirestoreContextService, DbxLimitedFirebaseDocumentLoaderInstance, FIREBASE_NOTIFICATION_ITEM_WIDGET_TYPE_PREFIX, FIREBASE_PROVIDER_ID_TO_LOGIN_METHOD_TYPE_MAP, 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, firebaseAuthTokenFromUser, firebaseCollectionStoreCreateFunction, firebaseCollectionStoreCrudFunction, firebaseContextServiceEntityMap, firebaseDocumentStoreCreateFunction, firebaseDocumentStoreCrudFunction, firebaseDocumentStoreDeleteFunction, firebaseDocumentStoreReadFunction, firebaseDocumentStoreUpdateFunction, 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 };
|
|
5120
|
+
export type { AuthRolesObsWithClaimsServiceConfig, AuthUserInfo, AuthUserStateObsFunction, DbxFirebaseAnalyticsUserPropertiesFactory, DbxFirebaseAppCheckConfig, DbxFirebaseAppOptions, DbxFirebaseAuthContextInfo, DbxFirebaseAuthLoginPasswordConfig, DbxFirebaseAuthLoginProvider, DbxFirebaseAuthLoginProviderAssets, DbxFirebaseCollectionChangeTrigger, DbxFirebaseCollectionChangeTriggerFunction, DbxFirebaseCollectionChangeTriggerInstanceConfig, DbxFirebaseCollectionChangeWatcher, DbxFirebaseCollectionChangeWatcherEvent, DbxFirebaseCollectionChangeWatcherInstance, DbxFirebaseCollectionChangeWatcherTriggerMode, DbxFirebaseCollectionHasChangeDirectiveMode, DbxFirebaseCollectionLoader, DbxFirebaseCollectionLoaderAccessor, DbxFirebaseCollectionLoaderAccessorWithAccumulator, DbxFirebaseCollectionLoaderInstanceData, DbxFirebaseCollectionLoaderInstanceInitConfig, DbxFirebaseCollectionLoaderWithAccumulator, DbxFirebaseCollectionMode, DbxFirebaseCollectionStore, DbxFirebaseCollectionStoreContextState, DbxFirebaseCollectionStoreCreateFunction, DbxFirebaseCollectionStoreCrudFunction, DbxFirebaseCollectionWithParentStore, DbxFirebaseCollectionWithParentStoreContextState, DbxFirebaseComponentStoreSetParentEffectFunction, DbxFirebaseComponentStoreWithParent, DbxFirebaseComponentStoreWithParentContextState, DbxFirebaseComponentStoreWithParentSetParentEffectFunction, DbxFirebaseComponentStoreWithParentSetParentSourceModeFunction, DbxFirebaseComponentStoreWithParentSetParentStoreEffectFunction, DbxFirebaseComponentStoreWithParentSourceMode, DbxFirebaseDevelopmentPopupContentFormInput, DbxFirebaseDevelopmentPopupContentFormValue, DbxFirebaseDevelopmentWidgetEntry, DbxFirebaseDocumentLoader, DbxFirebaseDocumentLoaderInstanceInitConfig, DbxFirebaseDocumentReadOnlyStore, DbxFirebaseDocumentStore, DbxFirebaseDocumentStoreContextState, DbxFirebaseDocumentStoreContextStoreEntry, DbxFirebaseDocumentStoreContextStoreEntryNumber, DbxFirebaseDocumentStoreContextStoreEntryWithIdentity, DbxFirebaseDocumentStoreContextStoreState, DbxFirebaseDocumentStoreCreateFunction, DbxFirebaseDocumentStoreCrudFunction, DbxFirebaseDocumentStoreFunction, DbxFirebaseDocumentStoreFunctionParams, DbxFirebaseDocumentStoreFunctionParamsInput, DbxFirebaseDocumentWithParentStore, DbxFirebaseDocumentWithParentStoreContextState, DbxFirebaseEmailFormConfig, DbxFirebaseEmailFormValue, DbxFirebaseEmailRecoveryFormValue, DbxFirebaseEmulatorConfig, DbxFirebaseEmulatorsConfig, DbxFirebaseEnvironmentOptions, DbxFirebaseIdRouteParamRedirect, DbxFirebaseIdRouteParamRedirectInstance, DbxFirebaseInContextFirebaseModelInfoServiceInstance, DbxFirebaseInContextFirebaseModelRolesServiceInstance, DbxFirebaseInContextFirebaseModelServiceInstance, DbxFirebaseInContextFirebaseModelServiceInstanceFactory, DbxFirebaseLoginButtonConfig, DbxFirebaseLoginButtonInjectionData, DbxFirebaseLoginEmailContentComponentConfig, DbxFirebaseLoginEmailContentMode, DbxFirebaseLoginListItemInjectionComponentConfig, DbxFirebaseLoginMode, DbxFirebaseManageAuthLinkedProviderInfo, DbxFirebaseModelContextServiceFactory, DbxFirebaseModelContextServiceInfoInstanceFactory, DbxFirebaseModelContextServiceInfoInstanceFactoryConfig, DbxFirebaseModelDisplayInfo, DbxFirebaseModelEntitiesPopoverButtonConfig, DbxFirebaseModelEntitiesPopoverConfig, DbxFirebaseModelEntitiesPopoverConfigWithoutOrigin, DbxFirebaseModelEntitiesWidgetEntry, DbxFirebaseModelEntitiesWidgetInjectionConfig, DbxFirebaseModelEntitiesWidgetInjectionConfigFactory, DbxFirebaseModelEntitiesWidgetServiceConfigFactory, DbxFirebaseModelEntity, DbxFirebaseModelEntityWithKey, DbxFirebaseModelEntityWithKeyAndStore, DbxFirebaseModelEntityWithStore, DbxFirebaseModelHistoryPopoverButtonConfig, DbxFirebaseModelHistoryPopoverConfig, DbxFirebaseModelHistoryPopoverConfigWithoutOrigin, DbxFirebaseModelTrackerFilterItem, DbxFirebaseModelTrackerHistoryFilter, DbxFirebaseModelTypeInfo, DbxFirebaseModelTypeInstanceListItem, DbxFirebaseModelTypesMap, DbxFirebaseModelTypesServiceEntry, DbxFirebaseModelTypesServiceInstance, DbxFirebaseModelTypesServiceInstancePair, DbxFirebaseModelTypesServiceInstancePairForKeysFactory, DbxFirebaseNotificationItemStorePopoverButtonConfig, DbxFirebaseNotificationItemStorePopoverParams, DbxFirebaseNotificationItemStoreState, DbxFirebaseNotificationItemWidgetEntry, DbxFirebaseNotificationItemWidgetEntryRegistration, DbxFirebaseSourceSelectLoadSourceConfig, DbxFirebaseStorageContextConfigFactory, DbxFirebaseStorageFileDownloadButtonConfig, DbxFirebaseStorageFileDownloadButtonSource, DbxFirebaseStorageFileDownloadDetails, DbxFirebaseStorageFileDownloadServiceCustomSource, DbxFirebaseStorageFileDownloadServiceCustomSourceDownloadFunction, DbxFirebaseStorageFileDownloadUrlPair, DbxFirebaseStorageFileDownloadUrlPairString, DbxFirebaseStorageFileDownloadUrlPairsRecord, DbxFirebaseStorageFileDownloadUserCache, DbxFirebaseStorageFileUploadStoreAllowedTypes, DbxFirebaseStorageFileUploadStoreFileProgress, DbxFirebaseStorageFileUploadStoreState, DbxFirebaseStorageFileUploadStoreUploadStage, DbxLimitedFirebaseDocumentLoader, DefaultDbxFirebaseAuthServiceDelegateWithClaimsServiceConfig, FirebaseDocumentStoreFunctionConfig, FirebaseLoginMethodCategory, FirebaseLoginMethodType, KnownFirebaseLoginMethodCategory, KnownFirebaseLoginMethodType, NotificationItemWithSelection, ProvideDbxFirebaseAppConfig, ProvideDbxFirebaseAuthConfig, ProvideDbxFirebaseConfig, ProvideDbxFirebaseDevelopmentConfig, ProvideDbxFirebaseEmulatorsConfig, ProvideDbxFirebaseFirestoreCollectionConfig, ProvideDbxFirebaseFunctionsConfig, ProvideDbxFirebaseLoginConfig, ProvideDbxFirebaseModelContextServiceConfig, ProvideDbxFirebaseModelEntitiesWidgetServiceConfig, ProvideDbxFirebaseNotificationsConfig, ProvideDbxFirebaseStorageConfig, ScheduledFunctionDevelopmentFirebaseFunctionListEntryWithSelection, StateFromTokenFunction, StorageFileUploadConfig, StorageFileUploadConfigFactory, StorageFileUploadConfigOptions, StorageFileUploadFilesEvent, StorageFileUploadFilesFinalFileResult, StorageFileUploadFilesFinalResult, StorageFileUploadFilesInput, StorageFileUploadFilesInstance, StorageFileUploadHandler, StorageFileUploadHandlerConfig, StorageFileUploadHandlerFunction, StorageFileUploadHandlerInstance };
|