@dereekb/dbx-firebase 9.24.7 → 9.24.8
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/model/loader/collection.loader.instance.mjs +8 -1
- package/fesm2015/dereekb-dbx-firebase.mjs +7 -0
- package/fesm2015/dereekb-dbx-firebase.mjs.map +1 -1
- package/fesm2020/dereekb-dbx-firebase.mjs +7 -0
- package/fesm2020/dereekb-dbx-firebase.mjs.map +1 -1
- package/lib/model/loader/collection.loader.instance.d.ts +7 -0
- package/package.json +5 -5
|
@@ -2732,6 +2732,13 @@ class DbxFirebaseCollectionLoaderInstance {
|
|
|
2732
2732
|
return documentRefs.map((y) => y.map((z) => accessor.loadDocument(z)));
|
|
2733
2733
|
}), shareReplay(1));
|
|
2734
2734
|
this.accumulator$ = this.firestoreIteration$.pipe(map((x) => firebaseQueryItemAccumulator(x)), cleanupDestroyable(), shareReplay(1));
|
|
2735
|
+
/**
|
|
2736
|
+
* Passthrough for currentAllItems$ from the accumulator.
|
|
2737
|
+
*/
|
|
2738
|
+
this.currentAccumulatorItems$ = this.accumulator$.pipe(switchMap((x) => x.currentAllItems$), shareReplay(1));
|
|
2739
|
+
/**
|
|
2740
|
+
* Passthrough for allItems$ from the accumulator.
|
|
2741
|
+
*/
|
|
2735
2742
|
this.accumulatorItems$ = this.accumulator$.pipe(switchMap((x) => x.allItems$), shareReplay(1));
|
|
2736
2743
|
this.hasDocuments$ = this.firestoreIteration$.pipe(switchMap((x) => x.firstState$.pipe(map((x) => Boolean(x.value?.length)))), shareReplay(1));
|
|
2737
2744
|
this.allDocumentRefs$ = this.snapshotAccumulatorDocumentRefs$.pipe(map((x) => x.flat()), shareReplay(1));
|