@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
package/dist/internal.d.ts
CHANGED
|
@@ -322,7 +322,15 @@ declare abstract class BasePath<B extends BasePath<B>> {
|
|
|
322
322
|
isImmediateParentOf(potentialChild: this): boolean;
|
|
323
323
|
forEach(fn: (segment: string) => void): void;
|
|
324
324
|
toArray(): string[];
|
|
325
|
+
/**
|
|
326
|
+
* Compare 2 paths segment by segment, prioritizing numeric IDs
|
|
327
|
+
* (e.g., "__id123__") in numeric ascending order, followed by string
|
|
328
|
+
* segments in lexicographical order.
|
|
329
|
+
*/
|
|
325
330
|
static comparator<T extends BasePath<T>>(p1: BasePath<T>, p2: BasePath<T>): number;
|
|
331
|
+
private static compareSegments;
|
|
332
|
+
private static isNumericId;
|
|
333
|
+
private static extractNumericId;
|
|
326
334
|
}
|
|
327
335
|
|
|
328
336
|
/**
|
|
@@ -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)
|