@firebase/firestore 4.7.5 → 4.7.6-canary.144bc3709
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/firestore/src/global_index.d.ts +8 -0
- package/dist/firestore/src/model/path.d.ts +8 -0
- package/dist/index.cjs.js +219 -197
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm2017.js +219 -197
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.node.cjs.js +48 -13
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.node.mjs +48 -13
- package/dist/index.node.mjs.map +1 -1
- package/dist/index.rn.js +317 -295
- package/dist/index.rn.js.map +1 -1
- package/dist/internal.d.ts +8 -0
- package/dist/lite/firestore/src/model/path.d.ts +8 -0
- package/dist/lite/index.browser.esm2017.js +193 -176
- package/dist/lite/index.browser.esm2017.js.map +1 -1
- package/dist/lite/index.cjs.js +193 -176
- package/dist/lite/index.cjs.js.map +1 -1
- package/dist/lite/index.node.cjs.js +41 -12
- package/dist/lite/index.node.cjs.js.map +1 -1
- package/dist/lite/index.node.mjs +41 -12
- package/dist/lite/index.node.mjs.map +1 -1
- package/dist/lite/index.rn.esm2017.js +181 -163
- package/dist/lite/index.rn.esm2017.js.map +1 -1
- package/dist/lite/internal.d.ts +8 -0
- package/dist/lite/private.d.ts +8 -0
- package/dist/packages/firestore/src/model/path.d.ts +8 -0
- package/dist/private.d.ts +8 -0
- package/package.json +9 -9
|
@@ -950,7 +950,15 @@ declare abstract class BasePath<B extends BasePath<B>> {
|
|
|
950
950
|
isImmediateParentOf(potentialChild: this): boolean;
|
|
951
951
|
forEach(fn: (segment: string) => void): void;
|
|
952
952
|
toArray(): string[];
|
|
953
|
+
/**
|
|
954
|
+
* Compare 2 paths segment by segment, prioritizing numeric IDs
|
|
955
|
+
* (e.g., "__id123__") in numeric ascending order, followed by string
|
|
956
|
+
* segments in lexicographical order.
|
|
957
|
+
*/
|
|
953
958
|
static comparator<T extends BasePath<T>>(p1: BasePath<T>, p2: BasePath<T>): number;
|
|
959
|
+
private static compareSegments;
|
|
960
|
+
private static isNumericId;
|
|
961
|
+
private static extractNumericId;
|
|
954
962
|
}
|
|
955
963
|
/**
|
|
956
964
|
* A slash-separated path for navigating resources (documents and collections)
|
|
@@ -50,7 +50,15 @@ declare abstract class BasePath<B extends BasePath<B>> {
|
|
|
50
50
|
isImmediateParentOf(potentialChild: this): boolean;
|
|
51
51
|
forEach(fn: (segment: string) => void): void;
|
|
52
52
|
toArray(): string[];
|
|
53
|
+
/**
|
|
54
|
+
* Compare 2 paths segment by segment, prioritizing numeric IDs
|
|
55
|
+
* (e.g., "__id123__") in numeric ascending order, followed by string
|
|
56
|
+
* segments in lexicographical order.
|
|
57
|
+
*/
|
|
53
58
|
static comparator<T extends BasePath<T>>(p1: BasePath<T>, p2: BasePath<T>): number;
|
|
59
|
+
private static compareSegments;
|
|
60
|
+
private static isNumericId;
|
|
61
|
+
private static extractNumericId;
|
|
54
62
|
}
|
|
55
63
|
/**
|
|
56
64
|
* A slash-separated path for navigating resources (documents and collections)
|