@rebasepro/client-firebase 0.0.1-canary.bbcb8b4 → 0.0.1-canary.c53f5db
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/dist/index.es.js
CHANGED
|
@@ -548,9 +548,9 @@ function removeCurrentAppCheckDiv() {
|
|
|
548
548
|
div.remove();
|
|
549
549
|
}
|
|
550
550
|
}
|
|
551
|
-
function buildCollectionId(idOrPath,
|
|
552
|
-
if (!
|
|
553
|
-
return [...
|
|
551
|
+
function buildCollectionId(idOrPath, parentCollectionSlugs, parentEntityIds) {
|
|
552
|
+
if (!parentCollectionSlugs) return stripCollectionPath(idOrPath);
|
|
553
|
+
return [...parentCollectionSlugs.map(stripCollectionPath), stripCollectionPath(idOrPath)].join(COLLECTION_PATH_SEPARATOR);
|
|
554
554
|
}
|
|
555
555
|
const docsToCollectionTree = (docs) => {
|
|
556
556
|
const collectionsMap = docs.map((doc2) => {
|