@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.
@@ -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)