@dereekb/dbx-firebase 9.20.19 → 9.21.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/esm2020/lib/firebase/firebase.module.mjs +16 -4
- package/esm2020/lib/firebase/options.mjs +1 -1
- package/esm2020/lib/model/modules/store/store.collection.list.directive.mjs +12 -4
- package/fesm2015/dereekb-dbx-firebase.mjs +26 -7
- package/fesm2015/dereekb-dbx-firebase.mjs.map +1 -1
- package/fesm2020/dereekb-dbx-firebase.mjs +25 -7
- package/fesm2020/dereekb-dbx-firebase.mjs.map +1 -1
- package/lib/firebase/options.d.ts +12 -0
- package/lib/model/modules/store/store.collection.list.directive.d.ts +4 -1
- package/package.json +5 -5
|
@@ -14,4 +14,16 @@ export interface DbxFirebaseOptions extends FirebaseOptions, Pick<DbxFirebaseLog
|
|
|
14
14
|
* Passed to the Functions initialization to set the domain to use when sending requests.
|
|
15
15
|
*/
|
|
16
16
|
functionsRegionOrCustomDomain?: string | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* Whether or not to call enableMultiTabIndexedDbPersistence() for firestore at setup time.
|
|
19
|
+
*
|
|
20
|
+
* True by default.
|
|
21
|
+
*/
|
|
22
|
+
enableMultiTabIndexedDbPersistence?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Whether or not to call enableIndexedDbPersistence() for firestore at setup time.
|
|
25
|
+
*
|
|
26
|
+
* True by default if enableMultiTabIndexedDbPersistence is false.
|
|
27
|
+
*/
|
|
28
|
+
enableIndexedDbPersistence?: boolean;
|
|
17
29
|
}
|
|
@@ -1,13 +1,16 @@
|
|
|
1
|
+
import { AbstractSubscriptionDirective } from '@dereekb/dbx-core';
|
|
1
2
|
import { DbxListViewWrapper } from '@dereekb/dbx-web';
|
|
3
|
+
import { OnInit } from '@angular/core';
|
|
2
4
|
import { DbxFirebaseCollectionStoreDirective } from './store.collection.directive';
|
|
3
5
|
import * as i0 from "@angular/core";
|
|
4
6
|
/**
|
|
5
7
|
* Directive that connects a host DbxListView to a DbxFirebaseCollectionStoreDirective to pass data for rendering items from a collection and query parameters.
|
|
6
8
|
*/
|
|
7
|
-
export declare class DbxFirebaseCollectionListDirective<T> {
|
|
9
|
+
export declare class DbxFirebaseCollectionListDirective<T> extends AbstractSubscriptionDirective implements OnInit {
|
|
8
10
|
readonly dbxFirebaseCollectionStoreDirective: DbxFirebaseCollectionStoreDirective<T>;
|
|
9
11
|
readonly dbxListViewWrapper: DbxListViewWrapper<T>;
|
|
10
12
|
constructor(dbxFirebaseCollectionStoreDirective: DbxFirebaseCollectionStoreDirective<T>, dbxListViewWrapper: DbxListViewWrapper<T>);
|
|
13
|
+
ngOnInit(): void;
|
|
11
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFirebaseCollectionListDirective<any>, [null, { host: true; }]>;
|
|
12
15
|
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxFirebaseCollectionListDirective<any>, "[dbxFirebaseCollectionList]", never, {}, {}, never, never, false>;
|
|
13
16
|
}
|
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dereekb/dbx-firebase",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.21.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^14.0.0",
|
|
6
6
|
"@angular/core": "^14.0.0",
|
|
7
|
-
"@dereekb/dbx-analytics": "9.
|
|
7
|
+
"@dereekb/dbx-analytics": "9.21.0",
|
|
8
8
|
"firebase": "^9.9.2",
|
|
9
9
|
"@angular/fire": "^7.4.1",
|
|
10
|
-
"@dereekb/firebase": "9.
|
|
10
|
+
"@dereekb/firebase": "9.21.0",
|
|
11
11
|
"@angular/material": "^14.2.0",
|
|
12
|
-
"@dereekb/dbx-web": "9.
|
|
13
|
-
"@dereekb/dbx-form": "9.
|
|
12
|
+
"@dereekb/dbx-web": "9.21.0",
|
|
13
|
+
"@dereekb/dbx-form": "9.21.0"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"tslib": "^2.3.0"
|