@firebase/firestore 3.4.4-canary.f5ac47fb1 → 3.4.5

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.
Files changed (151) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/firestore/src/api/credentials.d.ts +1 -0
  3. package/dist/firestore/src/index/index_byte_encoder.d.ts +18 -1
  4. package/dist/firestore/src/index/index_entry.d.ts +26 -0
  5. package/dist/firestore/src/local/document_overlay_cache.d.ts +72 -0
  6. package/dist/firestore/src/local/indexeddb_document_overlay_cache.d.ts +45 -0
  7. package/dist/firestore/src/local/indexeddb_index_manager.d.ts +29 -2
  8. package/dist/firestore/src/local/indexeddb_persistence.d.ts +6 -4
  9. package/dist/firestore/src/local/indexeddb_remote_document_cache.d.ts +2 -8
  10. package/dist/firestore/src/local/indexeddb_schema.d.ts +83 -9
  11. package/dist/firestore/src/local/local_documents_view.d.ts +0 -1
  12. package/dist/firestore/src/local/local_serializer.d.ts +18 -2
  13. package/dist/firestore/src/local/memory_document_overlay_cache.d.ts +37 -0
  14. package/dist/firestore/src/local/memory_persistence.d.ts +6 -2
  15. package/dist/firestore/src/local/memory_remote_document_cache.d.ts +1 -3
  16. package/dist/firestore/src/local/persistence.d.ts +8 -2
  17. package/dist/firestore/src/local/remote_document_cache.d.ts +7 -9
  18. package/dist/firestore/src/model/document_key.d.ts +5 -0
  19. package/dist/firestore/src/model/field_index.d.ts +2 -2
  20. package/dist/firestore/src/model/overlay.d.ts +32 -0
  21. package/dist/firestore/src/model/target_index_matcher.d.ts +70 -0
  22. package/dist/firestore/src/platform/node/grpc_connection.d.ts +2 -2
  23. package/dist/firestore/src/platform/node/load_protos.d.ts +2 -2
  24. package/dist/firestore/src/util/sorted_set.d.ts +18 -0
  25. package/dist/firestore/test/unit/local/counting_query_engine.d.ts +3 -3
  26. package/dist/firestore/test/unit/local/document_overlay_cache.test.d.ts +1 -0
  27. package/dist/firestore/test/unit/local/persistence_test_helpers.d.ts +1 -0
  28. package/dist/firestore/test/unit/local/test_document_overlay_cache.d.ts +38 -0
  29. package/dist/firestore/test/unit/local/test_index_manager.d.ts +11 -0
  30. package/dist/firestore/test/unit/local/test_remote_document_cache.d.ts +4 -2
  31. package/dist/firestore/test/unit/local/test_remote_document_change_buffer.d.ts +1 -1
  32. package/dist/firestore/test/unit/model/target_index_matcher.test.d.ts +17 -0
  33. package/dist/index.esm2017.js +4367 -3517
  34. package/dist/index.esm2017.js.map +1 -1
  35. package/dist/index.esm5.js +4226 -3437
  36. package/dist/index.esm5.js.map +1 -1
  37. package/dist/index.node.cjs.js +1519 -242
  38. package/dist/index.node.cjs.js.map +1 -1
  39. package/dist/index.node.mjs +1501 -245
  40. package/dist/index.node.mjs.map +1 -1
  41. package/dist/index.rn.js +4355 -3509
  42. package/dist/index.rn.js.map +1 -1
  43. package/dist/internal.d.ts +84 -12
  44. package/dist/lite/firestore/src/api/credentials.d.ts +1 -0
  45. package/dist/lite/firestore/src/index/index_byte_encoder.d.ts +18 -1
  46. package/dist/lite/firestore/src/index/index_entry.d.ts +26 -0
  47. package/dist/lite/firestore/src/local/document_overlay_cache.d.ts +72 -0
  48. package/dist/lite/firestore/src/local/indexeddb_document_overlay_cache.d.ts +45 -0
  49. package/dist/lite/firestore/src/local/indexeddb_index_manager.d.ts +29 -2
  50. package/dist/lite/firestore/src/local/indexeddb_persistence.d.ts +6 -4
  51. package/dist/lite/firestore/src/local/indexeddb_remote_document_cache.d.ts +2 -8
  52. package/dist/lite/firestore/src/local/indexeddb_schema.d.ts +83 -9
  53. package/dist/lite/firestore/src/local/local_documents_view.d.ts +0 -1
  54. package/dist/lite/firestore/src/local/local_serializer.d.ts +18 -2
  55. package/dist/lite/firestore/src/local/memory_document_overlay_cache.d.ts +37 -0
  56. package/dist/lite/firestore/src/local/memory_persistence.d.ts +6 -2
  57. package/dist/lite/firestore/src/local/memory_remote_document_cache.d.ts +1 -3
  58. package/dist/lite/firestore/src/local/persistence.d.ts +8 -2
  59. package/dist/lite/firestore/src/local/remote_document_cache.d.ts +7 -9
  60. package/dist/lite/firestore/src/model/document_key.d.ts +5 -0
  61. package/dist/lite/firestore/src/model/field_index.d.ts +2 -2
  62. package/dist/lite/firestore/src/model/overlay.d.ts +32 -0
  63. package/dist/lite/firestore/src/model/target_index_matcher.d.ts +70 -0
  64. package/dist/lite/firestore/src/platform/node/grpc_connection.d.ts +2 -2
  65. package/dist/lite/firestore/src/platform/node/load_protos.d.ts +2 -2
  66. package/dist/lite/firestore/src/util/sorted_set.d.ts +18 -0
  67. package/dist/lite/firestore/test/unit/local/counting_query_engine.d.ts +3 -3
  68. package/dist/lite/firestore/test/unit/local/document_overlay_cache.test.d.ts +1 -0
  69. package/dist/lite/firestore/test/unit/local/persistence_test_helpers.d.ts +1 -0
  70. package/dist/lite/firestore/test/unit/local/test_document_overlay_cache.d.ts +38 -0
  71. package/dist/lite/firestore/test/unit/local/test_index_manager.d.ts +11 -0
  72. package/dist/lite/firestore/test/unit/local/test_remote_document_cache.d.ts +4 -2
  73. package/dist/lite/firestore/test/unit/local/test_remote_document_change_buffer.d.ts +1 -1
  74. package/dist/lite/firestore/test/unit/model/target_index_matcher.test.d.ts +17 -0
  75. package/dist/lite/index.browser.esm2017.js +1121 -1112
  76. package/dist/lite/index.browser.esm2017.js.map +1 -1
  77. package/dist/lite/index.browser.esm5.js +60 -48
  78. package/dist/lite/index.browser.esm5.js.map +1 -1
  79. package/dist/lite/index.node.cjs.js +13 -2
  80. package/dist/lite/index.node.cjs.js.map +1 -1
  81. package/dist/lite/index.node.mjs +13 -2
  82. package/dist/lite/index.node.mjs.map +1 -1
  83. package/dist/lite/index.rn.esm2017.js +46 -37
  84. package/dist/lite/index.rn.esm2017.js.map +1 -1
  85. package/dist/lite/internal.d.ts +5 -0
  86. package/dist/lite/packages/firestore/dist/lite/index.browser.esm2017.d.ts +112 -112
  87. package/dist/lite/packages/firestore/src/api/credentials.d.ts +1 -0
  88. package/dist/lite/packages/firestore/src/index/index_byte_encoder.d.ts +18 -1
  89. package/dist/lite/packages/firestore/src/index/index_entry.d.ts +26 -0
  90. package/dist/lite/packages/firestore/src/local/document_overlay_cache.d.ts +72 -0
  91. package/dist/lite/packages/firestore/src/local/indexeddb_document_overlay_cache.d.ts +45 -0
  92. package/dist/lite/packages/firestore/src/local/indexeddb_index_manager.d.ts +29 -2
  93. package/dist/lite/packages/firestore/src/local/indexeddb_persistence.d.ts +6 -4
  94. package/dist/lite/packages/firestore/src/local/indexeddb_remote_document_cache.d.ts +2 -8
  95. package/dist/lite/packages/firestore/src/local/indexeddb_schema.d.ts +83 -9
  96. package/dist/lite/packages/firestore/src/local/local_documents_view.d.ts +0 -1
  97. package/dist/lite/packages/firestore/src/local/local_serializer.d.ts +18 -2
  98. package/dist/lite/packages/firestore/src/local/memory_document_overlay_cache.d.ts +37 -0
  99. package/dist/lite/packages/firestore/src/local/memory_persistence.d.ts +6 -2
  100. package/dist/lite/packages/firestore/src/local/memory_remote_document_cache.d.ts +1 -3
  101. package/dist/lite/packages/firestore/src/local/persistence.d.ts +8 -2
  102. package/dist/lite/packages/firestore/src/local/remote_document_cache.d.ts +7 -9
  103. package/dist/lite/packages/firestore/src/model/document_key.d.ts +5 -0
  104. package/dist/lite/packages/firestore/src/model/field_index.d.ts +2 -2
  105. package/dist/lite/packages/firestore/src/model/overlay.d.ts +32 -0
  106. package/dist/lite/packages/firestore/src/model/target_index_matcher.d.ts +70 -0
  107. package/dist/lite/packages/firestore/src/platform/node/grpc_connection.d.ts +2 -2
  108. package/dist/lite/packages/firestore/src/platform/node/load_protos.d.ts +2 -2
  109. package/dist/lite/packages/firestore/src/util/sorted_set.d.ts +18 -0
  110. package/dist/lite/packages/firestore/test/unit/local/counting_query_engine.d.ts +3 -3
  111. package/dist/lite/packages/firestore/test/unit/local/document_overlay_cache.test.d.ts +1 -0
  112. package/dist/lite/packages/firestore/test/unit/local/persistence_test_helpers.d.ts +1 -0
  113. package/dist/lite/packages/firestore/test/unit/local/test_document_overlay_cache.d.ts +38 -0
  114. package/dist/lite/packages/firestore/test/unit/local/test_index_manager.d.ts +11 -0
  115. package/dist/lite/packages/firestore/test/unit/local/test_remote_document_cache.d.ts +4 -2
  116. package/dist/lite/packages/firestore/test/unit/local/test_remote_document_change_buffer.d.ts +1 -1
  117. package/dist/lite/packages/firestore/test/unit/model/target_index_matcher.test.d.ts +17 -0
  118. package/dist/packages/firestore/dist/index.esm2017.d.ts +187 -184
  119. package/dist/packages/firestore/src/api/credentials.d.ts +1 -0
  120. package/dist/packages/firestore/src/index/index_byte_encoder.d.ts +18 -1
  121. package/dist/packages/firestore/src/index/index_entry.d.ts +26 -0
  122. package/dist/packages/firestore/src/local/document_overlay_cache.d.ts +72 -0
  123. package/dist/packages/firestore/src/local/indexeddb_document_overlay_cache.d.ts +45 -0
  124. package/dist/packages/firestore/src/local/indexeddb_index_manager.d.ts +29 -2
  125. package/dist/packages/firestore/src/local/indexeddb_persistence.d.ts +6 -4
  126. package/dist/packages/firestore/src/local/indexeddb_remote_document_cache.d.ts +2 -8
  127. package/dist/packages/firestore/src/local/indexeddb_schema.d.ts +83 -9
  128. package/dist/packages/firestore/src/local/local_documents_view.d.ts +0 -1
  129. package/dist/packages/firestore/src/local/local_serializer.d.ts +18 -2
  130. package/dist/packages/firestore/src/local/memory_document_overlay_cache.d.ts +37 -0
  131. package/dist/packages/firestore/src/local/memory_persistence.d.ts +6 -2
  132. package/dist/packages/firestore/src/local/memory_remote_document_cache.d.ts +1 -3
  133. package/dist/packages/firestore/src/local/persistence.d.ts +8 -2
  134. package/dist/packages/firestore/src/local/remote_document_cache.d.ts +7 -9
  135. package/dist/packages/firestore/src/model/document_key.d.ts +5 -0
  136. package/dist/packages/firestore/src/model/field_index.d.ts +2 -2
  137. package/dist/packages/firestore/src/model/overlay.d.ts +32 -0
  138. package/dist/packages/firestore/src/model/target_index_matcher.d.ts +70 -0
  139. package/dist/packages/firestore/src/platform/node/grpc_connection.d.ts +2 -2
  140. package/dist/packages/firestore/src/platform/node/load_protos.d.ts +2 -2
  141. package/dist/packages/firestore/src/util/sorted_set.d.ts +18 -0
  142. package/dist/packages/firestore/test/unit/local/counting_query_engine.d.ts +3 -3
  143. package/dist/packages/firestore/test/unit/local/document_overlay_cache.test.d.ts +1 -0
  144. package/dist/packages/firestore/test/unit/local/persistence_test_helpers.d.ts +1 -0
  145. package/dist/packages/firestore/test/unit/local/test_document_overlay_cache.d.ts +38 -0
  146. package/dist/packages/firestore/test/unit/local/test_index_manager.d.ts +11 -0
  147. package/dist/packages/firestore/test/unit/local/test_remote_document_cache.d.ts +4 -2
  148. package/dist/packages/firestore/test/unit/local/test_remote_document_change_buffer.d.ts +1 -1
  149. package/dist/packages/firestore/test/unit/model/target_index_matcher.test.d.ts +17 -0
  150. package/dist/private.d.ts +79 -12
  151. package/package.json +9 -9
@@ -19,13 +19,13 @@
19
19
  * to the user.
20
20
  *
21
21
  * @internal
22
- */ declare class hh {
22
+ */ declare class xh {
23
23
  convertValue(t: any, e?: string): any;
24
24
  convertObject(t: any, e: any): {};
25
- convertGeoPoint(t: any): au;
25
+ convertGeoPoint(t: any): Ca;
26
26
  convertArray(t: any, e: any): any;
27
27
  convertServerTimestamp(t: any, e: any): any;
28
- convertTimestamp(t: any): at;
28
+ convertTimestamp(t: any): ut;
29
29
  convertDocumentKey(t: any, e: any): Nt;
30
30
  }
31
31
  /**
@@ -46,18 +46,18 @@
46
46
  */
47
47
  /**
48
48
  * An immutable object representing an array of bytes.
49
- */ declare class ou {
49
+ */ declare class Sa {
50
50
  /**
51
51
  * Creates a new `Bytes` object from the given Base64 string, converting it to
52
52
  * bytes.
53
53
  *
54
54
  * @param base64 - The Base64 string used to create the `Bytes` object.
55
- */ static fromBase64String(t: any): ou;
55
+ */ static fromBase64String(t: any): Sa;
56
56
  /**
57
57
  * Creates a new `Bytes` object from the given Uint8Array.
58
58
  *
59
59
  * @param array - The Uint8Array used to create the `Bytes` object.
60
- */ static fromUint8Array(t: any): ou;
60
+ */ static fromUint8Array(t: any): Sa;
61
61
  /** @hideconstructor */
62
62
  constructor(t: any);
63
63
  _byteString: any;
@@ -99,11 +99,11 @@
99
99
  * See the License for the specific language governing permissions and
100
100
  * limitations under the License.
101
101
  */
102
- /** DOMException error code constants. */ declare const Ua: -1;
102
+ /** DOMException error code constants. */ declare const ha: -1;
103
103
  /**
104
104
  * A `CollectionReference` object can be used for adding documents, getting
105
105
  * document references, and querying for documents (using {@link query}).
106
- */ declare class Na extends Ca {
106
+ */ declare class ea extends ta {
107
107
  _path: any;
108
108
  /** The collection's identifier. */ get id(): any;
109
109
  /**
@@ -113,7 +113,7 @@
113
113
  /**
114
114
  * A reference to the containing `DocumentReference` if this is a
115
115
  * subcollection. If this isn't a subcollection, the reference is null.
116
- */ get parent(): Da | null;
116
+ */ get parent(): Zu | null;
117
117
  }
118
118
  /**
119
119
  * @license
@@ -135,7 +135,7 @@
135
135
  * A `DocumentReference` refers to a document location in a Firestore database
136
136
  * and can be used to write, read, or listen to the location. The document at
137
137
  * the referenced location may or may not exist.
138
- */ declare class Da {
138
+ */ declare class Zu {
139
139
  /** @hideconstructor */
140
140
  constructor(t: any, e: any, n: any);
141
141
  converter: any;
@@ -153,8 +153,8 @@
153
153
  */ get path(): any;
154
154
  /**
155
155
  * The collection this `DocumentReference` belongs to.
156
- */ get parent(): Na;
157
- withConverter(t: any): Da;
156
+ */ get parent(): ea;
157
+ withConverter(t: any): Zu;
158
158
  }
159
159
  /**
160
160
  * A `DocumentSnapshot` contains data read from a document in your Firestore
@@ -164,7 +164,7 @@
164
164
  * For a `DocumentSnapshot` that points to a non-existing document, any data
165
165
  * access will return 'undefined'. You can use the `exists()` method to
166
166
  * explicitly verify a document's existence.
167
- */ declare class Lu extends $u {
167
+ */ declare class uh extends ih {
168
168
  /** @hideconstructor protected */
169
169
  constructor(t: any, e: any, n: any, s: any, i: any, r: any);
170
170
  _firestoreImpl: any;
@@ -210,7 +210,7 @@
210
210
  * Create a `FieldPath` by providing field names. If more than one field
211
211
  * name is provided, the path will point to a nested field in a document.
212
212
  */
213
- declare class iu {
213
+ declare class va {
214
214
  /**
215
215
  * Creates a `FieldPath` from the provided field names. If more than one field
216
216
  * name is provided, the path will point to a nested field in a document.
@@ -245,7 +245,7 @@ declare class iu {
245
245
  /**
246
246
  * Sentinel values that can be used when writing document fields with `set()`
247
247
  * or `update()`.
248
- */ declare class cu {
248
+ */ declare class Da {
249
249
  /**
250
250
  * @param _methodName - The public API endpoint that returns this class.
251
251
  * @hideconstructor
@@ -258,10 +258,10 @@ declare class iu {
258
258
  *
259
259
  * Do not call this constructor directly. Instead, use {@link getFirestore}.
260
260
  */
261
- declare class qa extends Va {
262
- _queue: Ma;
261
+ declare class la extends Yu {
262
+ _queue: ca;
263
263
  }
264
- /** An error returned by a Firestore operation. */ declare class G extends a {
264
+ /** An error returned by a Firestore operation. */ declare class j extends u {
265
265
  /** @hideconstructor */
266
266
  constructor(t: any, e: any);
267
267
  }
@@ -287,7 +287,7 @@ declare class qa extends Va {
287
287
  *
288
288
  * Latitude values are in the range of [-90, 90].
289
289
  * Longitude values are in the range of [-180, 180].
290
- */ declare class au {
290
+ */ declare class Ca {
291
291
  /**
292
292
  * Creates a new immutable `GeoPoint` object with the provided latitude and
293
293
  * longitude values.
@@ -318,7 +318,7 @@ declare class qa extends Va {
318
318
  * with an underscore.
319
319
  */ _compareTo(t: any): 0 | 1 | -1;
320
320
  }
321
- declare class Ba {
321
+ declare class aa {
322
322
  _progressObserver: {};
323
323
  _taskCompletionResolver: Q;
324
324
  _lastProgress: {
@@ -370,7 +370,7 @@ declare class Ba {
370
370
  /**
371
371
  * A `Query` refers to a query which you can read or listen to. You can also
372
372
  * construct refined `Query` objects by adding filters and ordering.
373
- */ declare class Ca {
373
+ */ declare class ta {
374
374
  /** @hideconstructor protected */
375
375
  constructor(t: any, e: any, n: any);
376
376
  converter: any;
@@ -378,7 +378,7 @@ declare class Ba {
378
378
  /** The type of this Firestore reference. */
379
379
  type: string;
380
380
  firestore: any;
381
- withConverter(t: any): Ca;
381
+ withConverter(t: any): ta;
382
382
  }
383
383
  /**
384
384
  * A `QueryConstraint` is used to narrow the set of documents returned by a
@@ -387,7 +387,7 @@ declare class Ba {
387
387
  * endBefore:1}, {@link (endAt:1)}, {@link limit} or {@link limitToLast} and
388
388
  * can then be passed to {@link query} to create a new query instance that
389
389
  * also contains this `QueryConstraint`.
390
- */ declare class Gu {
390
+ */ declare class _h {
391
391
  }
392
392
  /**
393
393
  * A `QueryDocumentSnapshot` contains data read from a document in your
@@ -399,7 +399,7 @@ declare class Ba {
399
399
  * `DocumentSnapshot`. Since query results contain only existing documents, the
400
400
  * `exists` property will always be true and `data()` will never return
401
401
  * 'undefined'.
402
- */ declare class Bu extends Lu {
402
+ */ declare class ah extends uh {
403
403
  }
404
404
  /**
405
405
  * A `QuerySnapshot` contains zero or more `DocumentSnapshot` objects
@@ -407,13 +407,13 @@ declare class Ba {
407
407
  * array via the `docs` property or enumerated using the `forEach` method. The
408
408
  * number of documents can be determined via the `empty` and `size`
409
409
  * properties.
410
- */ declare class Uu {
410
+ */ declare class hh {
411
411
  /** @hideconstructor */
412
412
  constructor(t: any, e: any, n: any, s: any);
413
413
  _firestore: any;
414
414
  _userDataWriter: any;
415
415
  _snapshot: any;
416
- metadata: Mu;
416
+ metadata: ch;
417
417
  query: any;
418
418
  /** An array of all the documents in the `QuerySnapshot`. */ get docs(): any[];
419
419
  /** The number of documents in the `QuerySnapshot`. */ get size(): any;
@@ -455,7 +455,7 @@ declare class Ba {
455
455
  */
456
456
  /**
457
457
  * Metadata about a snapshot, describing the state of the snapshot.
458
- */ declare class Mu {
458
+ */ declare class ch {
459
459
  /** @hideconstructor */
460
460
  constructor(t: any, e: any);
461
461
  hasPendingWrites: any;
@@ -497,19 +497,19 @@ declare class Ba {
497
497
  * For examples and further specifications, refer to the
498
498
  * {@link https://github.com/google/protobuf/blob/master/src/google/protobuf/timestamp.proto | Timestamp definition}.
499
499
  */
500
- declare class at {
500
+ declare class ut {
501
501
  /**
502
502
  * Creates a new timestamp with the current date, with millisecond precision.
503
503
  *
504
504
  * @returns a new timestamp representing the current date.
505
- */ static now(): at;
505
+ */ static now(): ut;
506
506
  /**
507
507
  * Creates a new timestamp from the given date.
508
508
  *
509
509
  * @param date - The date to initialize the `Timestamp` from.
510
510
  * @returns A new `Timestamp` representing the same point in time as the given
511
511
  * date.
512
- */ static fromDate(t: any): at;
512
+ */ static fromDate(t: any): ut;
513
513
  /**
514
514
  * Creates a new timestamp from the given number of milliseconds.
515
515
  *
@@ -517,7 +517,7 @@ declare class at {
517
517
  * 1970-01-01T00:00:00Z.
518
518
  * @returns A new `Timestamp` representing the same point in time as the given
519
519
  * number of milliseconds.
520
- */ static fromMillis(t: any): at;
520
+ */ static fromMillis(t: any): ut;
521
521
  /**
522
522
  * Creates a new timestamp.
523
523
  *
@@ -564,11 +564,11 @@ declare class at {
564
564
  * to be compared using the `>`, `<=`, `>=` and `>` operators.
565
565
  */ valueOf(): string;
566
566
  }
567
- declare const Dh_base: {
567
+ declare const Zh_base: {
568
568
  new (t: any, e: any): {
569
569
  _firestore: any;
570
570
  _transaction: any;
571
- _dataReader: wu;
571
+ _dataReader: $a;
572
572
  /**
573
573
  * Reads the document referenced by the provided {@link DocumentReference}.
574
574
  *
@@ -607,7 +607,7 @@ declare const Dh_base: {
607
607
  * The `Transaction` object passed to a transaction's `updateFunction` provides
608
608
  * the methods to read and write data within the transaction context. See
609
609
  * {@link runTransaction}.
610
- */ declare class Dh extends Dh_base {
610
+ */ declare class Zh extends Zh_base {
611
611
  }
612
612
  /**
613
613
  * @license
@@ -632,22 +632,22 @@ declare const Dh_base: {
632
632
  * provides methods for adding writes to the write batch. None of the writes
633
633
  * will be committed (or visible locally) until {@link WriteBatch.commit} is
634
634
  * called.
635
- */ declare class dh {
635
+ */ declare class Mh {
636
636
  /** @hideconstructor */
637
637
  constructor(t: any, e: any);
638
638
  _firestore: any;
639
639
  _commitHandler: any;
640
640
  _mutations: any[];
641
641
  _committed: boolean;
642
- _dataReader: wu;
643
- set(t: any, e: any, n: any): dh;
644
- update(t: any, e: any, n: any, ...s: any[]): dh;
642
+ _dataReader: $a;
643
+ set(t: any, e: any, n: any): Mh;
644
+ update(t: any, e: any, n: any, ...s: any[]): Mh;
645
645
  /**
646
646
  * Deletes the document referred to by the provided {@link DocumentReference}.
647
647
  *
648
648
  * @param documentRef - A reference to the document to be deleted.
649
649
  * @returns This `WriteBatch` instance. Used for chaining method calls.
650
- */ delete(t: any): dh;
650
+ */ delete(t: any): Mh;
651
651
  /**
652
652
  * Commits all of the writes in this write batch as a single atomic unit.
653
653
  *
@@ -707,7 +707,10 @@ declare class Vt {
707
707
  */ static fromSegments(t: any): Nt;
708
708
  constructor(t: any);
709
709
  path: any;
710
+ get collectionGroup(): any;
710
711
  /** Returns true if the document is in the specified collectionId. */ hasCollectionId(t: any): boolean;
712
+ /** Returns the collection group (i.e. the name of the parent collection) for this key. */ getCollectionGroup(): any;
713
+ /** Returns the fully qualified path to the parent collection. */ getCollectionPath(): any;
711
714
  isEqual(t: any): boolean;
712
715
  toString(): any;
713
716
  }
@@ -758,7 +761,7 @@ declare class Vt {
758
761
  * Returns true if this field references the key of a document.
759
762
  */ isKeyField(): boolean;
760
763
  }
761
- declare function ba(t: any, e: any): any;
764
+ declare function zu(t: any, e: any): any;
762
765
  /**
763
766
  * Fails if the given assertion condition is false, throwing an Error with the
764
767
  * given message if it did.
@@ -790,7 +793,7 @@ declare function ba(t: any, e: any): any;
790
793
  declare function yt(): boolean;
791
794
  /**
792
795
  * @internal
793
- */ declare function M(t: any, ...e: any[]): void;
796
+ */ declare function F(t: any, ...e: any[]): void;
794
797
  /**
795
798
  * @license
796
799
  * Copyright 2021 Google LLC
@@ -806,11 +809,11 @@ declare function yt(): boolean;
806
809
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
807
810
  * See the License for the specific language governing permissions and
808
811
  * limitations under the License.
809
- */ declare function Mh(t: any, e: any): Promise<void>;
812
+ */ declare function cl(t: any, e: any): Promise<void>;
810
813
  /**
811
814
  * Validates that two boolean options are not set at the same time.
812
815
  * @internal
813
- */ declare function Ea(t: any, e: any, n: any, s: any): void;
816
+ */ declare function Gu(t: any, e: any, n: any, s: any): void;
814
817
  /**
815
818
  * Add a new document to specified `CollectionReference` with the given data,
816
819
  * assigning it a document ID automatically.
@@ -820,7 +823,7 @@ declare function yt(): boolean;
820
823
  * @returns A `Promise` resolved with a `DocumentReference` pointing to the
821
824
  * newly created document after it has been written to the backend (Note that it
822
825
  * won't resolve while you're offline).
823
- */ declare function bh(t: any, e: any): Promise<Da>;
826
+ */ declare function zh(t: any, e: any): Promise<Zu>;
824
827
  /**
825
828
  * Returns a special value that can be used with {@link (setDoc:1)} or {@link
826
829
  * updateDoc:1} that tells the server to remove the given elements from any
@@ -831,7 +834,7 @@ declare function yt(): boolean;
831
834
  * @param elements - The elements to remove from the array.
832
835
  * @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
833
836
  * `updateDoc()`
834
- */ declare function $h(...t: any[]): Eu;
837
+ */ declare function il(...t: any[]): Ga;
835
838
  /**
836
839
  * Returns a special value that can be used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link
837
840
  * @firebase/firestore/lite#(updateDoc:1)} that tells the server to union the given elements with any array
@@ -843,9 +846,9 @@ declare function yt(): boolean;
843
846
  * @param elements - The elements to union into the array.
844
847
  * @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
845
848
  * `updateDoc()`.
846
- */ declare function xh(...t: any[]): Tu;
847
- declare function Ja(t: any): Promise<any>;
848
- declare function ka(t: any, e: any, ...n: any[]): Na;
849
+ */ declare function sl(...t: any[]): Ka;
850
+ declare function pa(t: any): Promise<any>;
851
+ declare function na(t: any, e: any, ...n: any[]): ea;
849
852
  /**
850
853
  * Creates and returns a new `Query` instance that includes all documents in the
851
854
  * database that are contained in a collection or subcollection with the
@@ -856,15 +859,15 @@ declare function ka(t: any, e: any, ...n: any[]): Na;
856
859
  * collection or subcollection with this ID as the last segment of its path
857
860
  * will be included. Cannot contain a slash.
858
861
  * @returns The created `Query`.
859
- */ declare function xa(t: any, e: any): Ca;
860
- declare function Sa(t: any, e: any, n: any, s?: {}): void;
862
+ */ declare function sa(t: any, e: any): ta;
863
+ declare function Xu(t: any, e: any, n: any, s?: {}): void;
861
864
  /**
862
865
  * Deletes the document referred to by the specified `DocumentReference`.
863
866
  *
864
867
  * @param reference - A reference to the document to delete.
865
868
  * @returns A Promise resolved once the document has been successfully
866
869
  * deleted from the backend (note that it won't resolve while you're offline).
867
- */ declare function Rh(t: any): Promise<any>;
870
+ */ declare function Wh(t: any): Promise<any>;
868
871
  /**
869
872
  * @license
870
873
  * Copyright 2020 Google LLC
@@ -884,7 +887,7 @@ declare function Sa(t: any, e: any, n: any, s?: {}): void;
884
887
  /**
885
888
  * Returns a sentinel for use with {@link @firebase/firestore/lite#(updateDoc:1)} or
886
889
  * {@link @firebase/firestore/lite#(setDoc:1)} with `{merge: true}` to mark a field for deletion.
887
- */ declare function Nh(): gu;
890
+ */ declare function el(): La;
888
891
  /**
889
892
  * Disables network usage for this instance. It can be re-enabled via {@link
890
893
  * enableNetwork}. While the network is disabled, any snapshot listeners,
@@ -892,12 +895,12 @@ declare function Sa(t: any, e: any, n: any, s?: {}): void;
892
895
  * operations will be queued until the network is restored.
893
896
  *
894
897
  * @returns A `Promise` that is resolved once the network has been disabled.
895
- */ declare function Za(t: any): any;
896
- declare function $a(t: any, e: any, ...n: any[]): Da;
898
+ */ declare function Ta(t: any): any;
899
+ declare function ia(t: any, e: any, ...n: any[]): Zu;
897
900
  /**
898
901
  * Returns a special sentinel `FieldPath` to refer to the ID of a document.
899
902
  * It can be used in queries to sort or filter by the document ID.
900
- */ declare function ru(): iu;
903
+ */ declare function Va(): va;
901
904
  /**
902
905
  * Attempts to enable persistent storage, if possible.
903
906
  *
@@ -920,7 +923,7 @@ declare function $a(t: any, e: any, ...n: any[]): Da;
920
923
  * @param persistenceSettings - Optional settings object to configure
921
924
  * persistence.
922
925
  * @returns A `Promise` that represents successfully enabling persistent storage.
923
- */ declare function Wa(t: any, e: any): any;
926
+ */ declare function ma(t: any, e: any): any;
924
927
  /**
925
928
  * Attempts to enable multi-tab persistent storage, if possible. If enabled
926
929
  * across all tabs, all operations share access to local persistence, including
@@ -942,22 +945,22 @@ declare function $a(t: any, e: any, ...n: any[]): Da;
942
945
  * @param firestore - The {@link Firestore} instance to enable persistence for.
943
946
  * @returns A `Promise` that represents successfully enabling persistent
944
947
  * storage.
945
- */ declare function za(t: any): any;
948
+ */ declare function ga(t: any): any;
946
949
  /**
947
950
  * Re-enables use of the network for this {@link Firestore} instance after a prior
948
951
  * call to {@link disableNetwork}.
949
952
  *
950
953
  * @returns A `Promise` that is resolved once the network has been enabled.
951
- */ declare function Xa(t: any): any;
952
- declare function rh(...t: any[]): sh;
953
- declare function ih(...t: any[]): sh;
954
+ */ declare function Ea(t: any): any;
955
+ declare function Vh(...t: any[]): bh;
956
+ declare function vh(...t: any[]): bh;
954
957
  /**
955
958
  * @internal
956
- */ declare function Ga(t: any): any;
959
+ */ declare function _a(t: any): any;
957
960
  /**
958
961
  * Locally writes `mutations` on the async queue.
959
962
  * @internal
960
- */ declare function Vh(t: any, e: any): Promise<any>;
963
+ */ declare function Yh(t: any, e: any): Promise<any>;
961
964
  /**
962
965
  * @license
963
966
  * Copyright 2020 Google LLC
@@ -1009,21 +1012,21 @@ declare function ih(...t: any[]): sh;
1009
1012
  * @returns A Promise resolved with a `DocumentSnapshot` containing the
1010
1013
  * current document contents.
1011
1014
  */
1012
- declare function _h(t: any): Promise<Lu>;
1015
+ declare function Fh(t: any): Promise<uh>;
1013
1016
  /**
1014
1017
  * Reads the document referred to by this `DocumentReference` from cache.
1015
1018
  * Returns an error if the document is not currently cached.
1016
1019
  *
1017
1020
  * @returns A `Promise` resolved with a `DocumentSnapshot` containing the
1018
1021
  * current document contents.
1019
- */ declare function gh(t: any): Promise<Lu>;
1022
+ */ declare function Lh(t: any): Promise<uh>;
1020
1023
  /**
1021
1024
  * Reads the document referred to by this `DocumentReference` from the server.
1022
1025
  * Returns an error if the network is not available.
1023
1026
  *
1024
1027
  * @returns A `Promise` resolved with a `DocumentSnapshot` containing the
1025
1028
  * current document contents.
1026
- */ declare function yh(t: any): Promise<Lu>;
1029
+ */ declare function Uh(t: any): Promise<uh>;
1027
1030
  /**
1028
1031
  * Executes the query and returns the results as a `QuerySnapshot`.
1029
1032
  *
@@ -1033,19 +1036,19 @@ declare function _h(t: any): Promise<Lu>;
1033
1036
  * invoke {@link getDocsFromCache} or {@link getDocsFromServer}.
1034
1037
  *
1035
1038
  * @returns A `Promise` that will be resolved with the results of the query.
1036
- */ declare function ph(t: any): Promise<Uu>;
1039
+ */ declare function qh(t: any): Promise<hh>;
1037
1040
  /**
1038
1041
  * Executes the query and returns the results as a `QuerySnapshot` from cache.
1039
1042
  * Returns an error if the document is not currently cached.
1040
1043
  *
1041
1044
  * @returns A `Promise` that will be resolved with the results of the query.
1042
- */ declare function Th(t: any): Promise<Uu>;
1045
+ */ declare function Kh(t: any): Promise<hh>;
1043
1046
  /**
1044
1047
  * Executes the query and returns the results as a `QuerySnapshot` from the
1045
1048
  * server. Returns an error if the network is not available.
1046
1049
  *
1047
1050
  * @returns A `Promise` that will be resolved with the results of the query.
1048
- */ declare function Eh(t: any): Promise<Uu>;
1051
+ */ declare function Gh(t: any): Promise<hh>;
1049
1052
  /**
1050
1053
  * Returns the existing {@link Firestore} instance that is associated with the
1051
1054
  * provided {@link @firebase/app#FirebaseApp}. If no instance exists, initializes a new
@@ -1054,7 +1057,7 @@ declare function _h(t: any): Promise<Lu>;
1054
1057
  * @param app - The {@link @firebase/app#FirebaseApp} instance that the returned {@link Firestore}
1055
1058
  * instance is associated with.
1056
1059
  * @returns The {@link Firestore} instance of the provided app.
1057
- */ declare function ja(e?: import("@firebase/app").FirebaseApp): import("../src").Firestore;
1060
+ */ declare function da(e?: import("@firebase/app").FirebaseApp): import("../src").Firestore;
1058
1061
  /**
1059
1062
  * Returns a special value that can be used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link
1060
1063
  * @firebase/firestore/lite#(updateDoc:1)} that tells the server to increment the field's current value by
@@ -1073,7 +1076,7 @@ declare function _h(t: any): Promise<Lu>;
1073
1076
  * @param n - The value to increment by.
1074
1077
  * @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
1075
1078
  * `updateDoc()`
1076
- */ declare function Oh(t: any): Iu;
1079
+ */ declare function rl(t: any): ja;
1077
1080
  /**
1078
1081
  * Initializes a new instance of {@link Firestore} with the provided settings.
1079
1082
  * Can only be called before any other function, including
@@ -1084,13 +1087,13 @@ declare function _h(t: any): Promise<Lu>;
1084
1087
  * be associated.
1085
1088
  * @param settings - A settings object to configure the {@link Firestore} instance.
1086
1089
  * @returns A newly initialized {@link Firestore} instance.
1087
- */ declare function Ka(t: any, e: any): import("../src").Firestore;
1090
+ */ declare function fa(t: any, e: any): import("../src").Firestore;
1088
1091
  /**
1089
1092
  * Creates a {@link QueryConstraint} that only returns the first matching documents.
1090
1093
  *
1091
1094
  * @param limit - The maximum number of items to return.
1092
1095
  * @returns The created {@link Query}.
1093
- */ declare function Xu(t: any): Yu;
1096
+ */ declare function Eh(t: any): Ih;
1094
1097
  /**
1095
1098
  * Creates a {@link QueryConstraint} that only returns the last matching documents.
1096
1099
  *
@@ -1099,7 +1102,7 @@ declare function _h(t: any): Promise<Lu>;
1099
1102
  *
1100
1103
  * @param limit - The maximum number of items to return.
1101
1104
  * @returns The created {@link Query}.
1102
- */ declare function Zu(t: any): Yu;
1105
+ */ declare function Th(t: any): Ih;
1103
1106
  /**
1104
1107
  * Loads a Firestore bundle into the local cache.
1105
1108
  *
@@ -1110,7 +1113,7 @@ declare function _h(t: any): Promise<Lu>;
1110
1113
  * @returns A `LoadBundleTask` object, which notifies callers with progress
1111
1114
  * updates, and completion or error events. It can be used as a
1112
1115
  * `Promise<LoadBundleTaskProgress>`.
1113
- */ declare function eu(t: any, e: any): Ba;
1116
+ */ declare function Ra(t: any, e: any): aa;
1114
1117
  /**
1115
1118
  * Reads a Firestore {@link Query} from local cache, identified by the given
1116
1119
  * name.
@@ -1122,9 +1125,9 @@ declare function _h(t: any): Promise<Lu>;
1122
1125
  * @param firestore - The {@link Firestore} instance to read the query from.
1123
1126
  * @param name - The name of the query.
1124
1127
  * @returns A `Promise` that is resolved with the Query or `null`.
1125
- */ declare function nu(t: any, e: any): any;
1126
- declare function Ph(t: any, ...e: any[]): () => void;
1127
- declare function vh(t: any, e: any): () => void;
1128
+ */ declare function Pa(t: any, e: any): any;
1129
+ declare function Hh(t: any, ...e: any[]): () => void;
1130
+ declare function Jh(t: any, e: any): () => void;
1128
1131
  /**
1129
1132
  * Creates a {@link QueryConstraint} that sorts the query result by the
1130
1133
  * specified field, optionally in descending order instead of ascending.
@@ -1133,7 +1136,7 @@ declare function vh(t: any, e: any): () => void;
1133
1136
  * @param directionStr - Optional direction to sort by ('asc' or 'desc'). If
1134
1137
  * not specified, order will be ascending.
1135
1138
  * @returns The created {@link Query}.
1136
- */ declare function Ju(t: any, e?: string): Hu;
1139
+ */ declare function ph(t: any, e?: string): yh;
1137
1140
  /**
1138
1141
  * Creates a new immutable instance of {@link Query} that is extended to also include
1139
1142
  * additional query constraints.
@@ -1142,7 +1145,7 @@ declare function vh(t: any, e: any): () => void;
1142
1145
  * @param queryConstraints - The list of {@link QueryConstraint}s to apply.
1143
1146
  * @throws if any of the provided query constraints cannot be combined with the
1144
1147
  * existing or new constraints.
1145
- */ declare function Qu(t: any, ...e: any[]): any;
1148
+ */ declare function wh(t: any, ...e: any[]): any;
1146
1149
  /**
1147
1150
  * Returns true if the provided queries point to the same collection and apply
1148
1151
  * the same constraints.
@@ -1151,7 +1154,7 @@ declare function vh(t: any, e: any): () => void;
1151
1154
  * @param right - A `Query` to compare.
1152
1155
  * @returns true if the references point to the same location in the same
1153
1156
  * Firestore database.
1154
- */ declare function Fa(t: any, e: any): boolean;
1157
+ */ declare function oa(t: any, e: any): boolean;
1155
1158
  /**
1156
1159
  * Returns true if the provided references are equal.
1157
1160
  *
@@ -1159,7 +1162,7 @@ declare function vh(t: any, e: any): () => void;
1159
1162
  * @param right - A reference to compare.
1160
1163
  * @returns true if the references point to the same location in the same
1161
1164
  * Firestore database.
1162
- */ declare function Oa(t: any, e: any): boolean;
1165
+ */ declare function ra(t: any, e: any): boolean;
1163
1166
  /**
1164
1167
  * Executes the given `updateFunction` and then attempts to commit the changes
1165
1168
  * applied within the transaction. If any document read within the transaction
@@ -1176,12 +1179,12 @@ declare function vh(t: any, e: any): () => void;
1176
1179
  * (the `updateFunction` returned a failed promise), the promise returned by the
1177
1180
  * `updateFunction `is returned here. Otherwise, if the transaction failed, a
1178
1181
  * rejected promise with the corresponding failure error is returned.
1179
- */ declare function Ch(t: any, e: any): Promise<any>;
1182
+ */ declare function tl(t: any, e: any): Promise<any>;
1180
1183
  /**
1181
1184
  * Returns a sentinel used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link @firebase/firestore/lite#(updateDoc:1)} to
1182
1185
  * include a server-generated timestamp in the written data.
1183
- */ declare function kh(): pu;
1184
- declare function Ih(t: any, e: any, n: any): Promise<any>;
1186
+ */ declare function nl(): qa;
1187
+ declare function jh(t: any, e: any, n: any): Promise<any>;
1185
1188
  /**
1186
1189
  * Sets the verbosity of Cloud Firestore logs (debug, error, or silent).
1187
1190
  *
@@ -1194,16 +1197,16 @@ declare function Ih(t: any, e: any, n: any): Promise<any>;
1194
1197
  * <li>`error` to log errors only.</li>
1195
1198
  * <li><code>`silent` to turn off logging.</li>
1196
1199
  * </ul>
1197
- */ declare function $(t: any): void;
1200
+ */ declare function O(t: any): void;
1198
1201
  /**
1199
1202
  * Returns true if the provided snapshots are equal.
1200
1203
  *
1201
1204
  * @param left - A snapshot to compare.
1202
1205
  * @param right - A snapshot to compare.
1203
1206
  * @returns true if the snapshots are equal.
1204
- */ declare function Ku(t: any, e: any): any;
1205
- declare function nh(...t: any[]): th;
1206
- declare function eh(...t: any[]): th;
1207
+ */ declare function fh(t: any, e: any): any;
1208
+ declare function Ph(...t: any[]): Ah;
1209
+ declare function Rh(...t: any[]): Ah;
1207
1210
  /**
1208
1211
  * Terminates the provided {@link Firestore} instance.
1209
1212
  *
@@ -1225,8 +1228,8 @@ declare function eh(...t: any[]): th;
1225
1228
  *
1226
1229
  * @returns A `Promise` that is resolved when the instance has been successfully
1227
1230
  * terminated.
1228
- */ declare function tu(t: any): any;
1229
- declare function Ah(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1231
+ */ declare function Aa(t: any): any;
1232
+ declare function Qh(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1230
1233
  /**
1231
1234
  * Waits until all currently pending writes for the active user have been
1232
1235
  * acknowledged by the backend.
@@ -1242,7 +1245,7 @@ declare function Ah(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1242
1245
  *
1243
1246
  * @returns A `Promise` which resolves when all currently pending writes have been
1244
1247
  * acknowledged by the backend.
1245
- */ declare function Ya(t: any): Promise<any>;
1248
+ */ declare function Ia(t: any): Promise<any>;
1246
1249
  /**
1247
1250
  * Creates a {@link QueryConstraint} that enforces that documents must contain the
1248
1251
  * specified field and that the value should satisfy the relation constraint
@@ -1253,7 +1256,7 @@ declare function Ah(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1253
1256
  * "&lt;=", "!=").
1254
1257
  * @param value - The value for comparison
1255
1258
  * @returns The created {@link Query}.
1256
- */ declare function zu(t: any, e: any, n: any): Wu;
1259
+ */ declare function gh(t: any, e: any, n: any): mh;
1257
1260
  /**
1258
1261
  * @license
1259
1262
  * Copyright 2020 Google LLC
@@ -1280,7 +1283,7 @@ declare function Ah(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1280
1283
  *
1281
1284
  * @returns A {@link WriteBatch} that can be used to atomically execute multiple
1282
1285
  * writes.
1283
- */ declare function Fh(t: any): dh;
1286
+ */ declare function ol(t: any): Mh;
1284
1287
  /**
1285
1288
  * @license
1286
1289
  * Copyright 2020 Google LLC
@@ -1305,7 +1308,7 @@ declare function Ah(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1305
1308
  * For a `DocumentSnapshot` that points to a non-existing document, any data
1306
1309
  * access will return 'undefined'. You can use the `exists()` method to
1307
1310
  * explicitly verify a document's existence.
1308
- */ declare class $u {
1311
+ */ declare class ih {
1309
1312
  /** @hideconstructor protected */
1310
1313
  constructor(t: any, e: any, n: any, s: any, i: any);
1311
1314
  _firestore: any;
@@ -1316,7 +1319,7 @@ declare function Ah(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1316
1319
  /** Property of the `DocumentSnapshot` that provides the document's ID. */ get id(): any;
1317
1320
  /**
1318
1321
  * The `DocumentReference` for the document included in the `DocumentSnapshot`.
1319
- */ get ref(): Da;
1322
+ */ get ref(): Zu;
1320
1323
  /**
1321
1324
  * Signals whether or not the document at the snapshot's location exists.
1322
1325
  *
@@ -1360,7 +1363,7 @@ declare function Ah(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1360
1363
  * The Cloud Firestore service interface.
1361
1364
  *
1362
1365
  * Do not call this constructor directly. Instead, use {@link getFirestore}.
1363
- */ declare class Va {
1366
+ */ declare class Yu {
1364
1367
  /** @hideconstructor */
1365
1368
  constructor(t: any, e: any, n: any);
1366
1369
  _authCredentials: any;
@@ -1370,7 +1373,7 @@ declare function Ah(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1370
1373
  */
1371
1374
  type: string;
1372
1375
  _persistenceKey: string;
1373
- _settings: va;
1376
+ _settings: Ju;
1374
1377
  _settingsFrozen: boolean;
1375
1378
  _databaseId: Vt;
1376
1379
  _app: any;
@@ -1381,14 +1384,14 @@ declare function Ah(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1381
1384
  get _initialized(): boolean;
1382
1385
  get _terminated(): boolean;
1383
1386
  _setSettings(t: any): void;
1384
- _getSettings(): va;
1385
- _freezeSettings(): va;
1387
+ _getSettings(): Ju;
1388
+ _freezeSettings(): Ju;
1386
1389
  _delete(): Promise<void>;
1387
1390
  _terminateTask: Promise<void> | undefined;
1388
1391
  /** Returns a JSON-serializable representation of this `Firestore` instance. */ toJSON(): {
1389
1392
  app: any;
1390
1393
  databaseId: Vt;
1391
- settings: va;
1394
+ settings: Ju;
1392
1395
  };
1393
1396
  /**
1394
1397
  * Terminates all components used by this client. Subclasses can override
@@ -1413,17 +1416,17 @@ declare function Ah(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1413
1416
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1414
1417
  * See the License for the specific language governing permissions and
1415
1418
  * limitations under the License.
1416
- */ declare class Ma {
1417
- gc: Promise<void>;
1418
- yc: any[];
1419
- Tc: boolean;
1420
- Ec: any[];
1421
- Ic: any;
1422
- Ac: boolean;
1423
- Rc: boolean;
1424
- bc: any[];
1425
- hr: co;
1426
- Pc: () => void;
1419
+ */ declare class ca {
1420
+ hu: Promise<void>;
1421
+ lu: any[];
1422
+ fu: boolean;
1423
+ du: any[];
1424
+ _u: any;
1425
+ wu: boolean;
1426
+ mu: boolean;
1427
+ gu: any[];
1428
+ ro: Co;
1429
+ yu: () => void;
1427
1430
  get isShuttingDown(): boolean;
1428
1431
  /**
1429
1432
  * Adds a new operation to the queue without waiting for it to complete (i.e.
@@ -1436,32 +1439,32 @@ declare function Ah(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1436
1439
  /**
1437
1440
  * Runs the next operation from the retryable queue. If the operation fails,
1438
1441
  * reschedules with backoff.
1439
- */ Sc(): Promise<void>;
1440
- Vc(t: any): Promise<any>;
1441
- enqueueAfterDelay(t: any, e: any, n: any): Ko;
1442
- vc(): void;
1442
+ */ Eu(): Promise<void>;
1443
+ Iu(t: any): Promise<any>;
1444
+ enqueueAfterDelay(t: any, e: any, n: any): fc;
1445
+ pu(): void;
1443
1446
  verifyOperationInProgress(): void;
1444
1447
  /**
1445
1448
  * Waits until all currently queued tasks are finished executing. Delayed
1446
1449
  * operations are not run.
1447
- */ Cc(): Promise<void>;
1450
+ */ Au(): Promise<void>;
1448
1451
  /**
1449
1452
  * For Tests: Determine if a delayed operation with a particular TimerId
1450
1453
  * exists.
1451
- */ Nc(t: any): boolean;
1454
+ */ Ru(t: any): boolean;
1452
1455
  /**
1453
1456
  * For Tests: Runs some or all delayed operations early.
1454
1457
  *
1455
1458
  * @param lastTimerId - Delayed operations up to and including this TimerId
1456
1459
  * will be drained. Pass TimerId.All to run all delayed operations.
1457
1460
  * @returns a Promise that resolves once all operations have been run.
1458
- */ kc(t: any): Promise<void>;
1461
+ */ Pu(t: any): Promise<void>;
1459
1462
  /**
1460
1463
  * For Tests: Skip all subsequent delays for a timer id.
1461
- */ xc(t: any): void;
1462
- /** Called once a DelayedOperation is run or canceled. */ Dc(t: any): void;
1464
+ */ bu(t: any): void;
1465
+ /** Called once a DelayedOperation is run or canceled. */ Tu(t: any): void;
1463
1466
  }
1464
- import { FirebaseError as a } from "@firebase/util/dist/src/errors";
1467
+ import { FirebaseError as u } from "@firebase/util/dist/src/errors";
1465
1468
  /**
1466
1469
  * @license
1467
1470
  * Copyright 2017 Google LLC
@@ -1485,12 +1488,12 @@ import { FirebaseError as a } from "@firebase/util/dist/src/errors";
1485
1488
  /**
1486
1489
  * Helper for parsing raw user input (provided via the API) into internal model
1487
1490
  * classes.
1488
- */ declare class wu {
1491
+ */ declare class $a {
1489
1492
  constructor(t: any, e: any, n: any);
1490
1493
  databaseId: any;
1491
1494
  ignoreUndefinedProperties: any;
1492
- k: any;
1493
- /** Creates a new top-level parse context. */ Qc(t: any, e: any, n: any, s?: boolean): du;
1495
+ O: any;
1496
+ /** Creates a new top-level parse context. */ Fu(t: any, e: any, n: any, s?: boolean): Ma;
1494
1497
  }
1495
1498
  declare class Z {
1496
1499
  constructor(t: any);
@@ -1538,67 +1541,67 @@ declare class dt {
1538
1541
  forEach(t: any): void;
1539
1542
  toArray(): any;
1540
1543
  }
1541
- declare class Eu extends cu {
1544
+ declare class Ga extends Da {
1542
1545
  constructor(t: any, e: any);
1543
- Wc: any;
1544
- _toFieldTransform(t: any): Xe;
1546
+ Bu: any;
1547
+ _toFieldTransform(t: any): Ze;
1545
1548
  isEqual(t: any): boolean;
1546
1549
  }
1547
- declare class Tu extends cu {
1550
+ declare class Ka extends Da {
1548
1551
  constructor(t: any, e: any);
1549
- Wc: any;
1550
- _toFieldTransform(t: any): Xe;
1552
+ Bu: any;
1553
+ _toFieldTransform(t: any): Ze;
1551
1554
  isEqual(t: any): boolean;
1552
1555
  }
1553
- declare class gu extends cu {
1556
+ declare class La extends Da {
1554
1557
  _toFieldTransform(t: any): null;
1555
1558
  isEqual(t: any): boolean;
1556
1559
  }
1557
- declare class sh extends Gu {
1560
+ declare class bh extends _h {
1558
1561
  constructor(t: any, e: any, n: any);
1559
1562
  type: any;
1560
- ea: any;
1561
- na: any;
1562
- _apply(t: any): Ca;
1563
+ Wu: any;
1564
+ zu: any;
1565
+ _apply(t: any): ta;
1563
1566
  }
1564
- declare class Iu extends cu {
1567
+ declare class ja extends Da {
1565
1568
  constructor(t: any, e: any);
1566
- zc: any;
1567
- _toFieldTransform(t: any): Xe;
1569
+ Lu: any;
1570
+ _toFieldTransform(t: any): Ze;
1568
1571
  isEqual(t: any): boolean;
1569
1572
  }
1570
- declare class Yu extends Gu {
1573
+ declare class Ih extends _h {
1571
1574
  constructor(t: any, e: any, n: any);
1572
1575
  type: any;
1573
- Zc: any;
1574
- ta: any;
1575
- _apply(t: any): Ca;
1576
+ ju: any;
1577
+ Qu: any;
1578
+ _apply(t: any): ta;
1576
1579
  }
1577
- declare class Hu extends Gu {
1580
+ declare class yh extends _h {
1578
1581
  constructor(t: any, e: any);
1579
- Hc: any;
1580
- Xc: any;
1582
+ Uu: any;
1583
+ Gu: any;
1581
1584
  type: string;
1582
- _apply(t: any): Ca;
1585
+ _apply(t: any): ta;
1583
1586
  }
1584
- declare class pu extends cu {
1585
- _toFieldTransform(t: any): Xe;
1587
+ declare class qa extends Da {
1588
+ _toFieldTransform(t: any): Ze;
1586
1589
  isEqual(t: any): boolean;
1587
1590
  }
1588
- declare class th extends Gu {
1591
+ declare class Ah extends _h {
1589
1592
  constructor(t: any, e: any, n: any);
1590
1593
  type: any;
1591
- ea: any;
1592
- na: any;
1593
- _apply(t: any): Ca;
1594
+ Wu: any;
1595
+ zu: any;
1596
+ _apply(t: any): ta;
1594
1597
  }
1595
- declare class Wu extends Gu {
1598
+ declare class mh extends _h {
1596
1599
  constructor(t: any, e: any, n: any);
1597
- Hc: any;
1598
- Jc: any;
1599
- Yc: any;
1600
+ Uu: any;
1601
+ qu: any;
1602
+ Ku: any;
1600
1603
  type: string;
1601
- _apply(t: any): Ca;
1604
+ _apply(t: any): ta;
1602
1605
  }
1603
1606
  /**
1604
1607
  * @license
@@ -1621,7 +1624,7 @@ declare class Wu extends Gu {
1621
1624
  * user-supplied `FirestoreSettings` object. This is a separate type so that
1622
1625
  * defaults can be supplied and the value can be checked for equality.
1623
1626
  */
1624
- declare class va {
1627
+ declare class Ju {
1625
1628
  constructor(t: any);
1626
1629
  host: any;
1627
1630
  ssl: any;
@@ -1645,17 +1648,17 @@ declare class va {
1645
1648
  * base delay. This prevents clients from accidentally synchronizing their
1646
1649
  * delays causing spikes of load to the backend.
1647
1650
  */
1648
- declare class co {
1651
+ declare class Co {
1649
1652
  constructor(t: any, e: any, n?: number, s?: number, i?: number);
1650
- Me: any;
1653
+ Sn: any;
1651
1654
  timerId: any;
1652
- Wi: number;
1653
- zi: number;
1654
- Hi: number;
1655
- Ji: number;
1656
- Yi: any;
1655
+ qr: number;
1656
+ Kr: number;
1657
+ Gr: number;
1658
+ jr: number;
1659
+ Qr: any;
1657
1660
  /** The last backoff attempt, as epoch milliseconds. */
1658
- Xi: number;
1661
+ Wr: number;
1659
1662
  /**
1660
1663
  * Resets the backoff delay.
1661
1664
  *
@@ -1666,15 +1669,15 @@ declare class co {
1666
1669
  /**
1667
1670
  * Resets the backoff delay to the maximum delay (e.g. for use after a
1668
1671
  * RESOURCE_EXHAUSTED error).
1669
- */ Zi(): void;
1672
+ */ zr(): void;
1670
1673
  /**
1671
1674
  * Returns a promise that resolves after currentDelayMs, and increases the
1672
1675
  * delay for any subsequent attempts. If there was a pending backoff operation
1673
1676
  * already, it will be canceled.
1674
- */ tr(t: any): void;
1675
- nr(): void;
1677
+ */ Hr(t: any): void;
1678
+ Yr(): void;
1676
1679
  cancel(): void;
1677
- /** Returns a random value in the range [-currentBaseMs/2, currentBaseMs/2] */ er(): number;
1680
+ /** Returns a random value in the range [-currentBaseMs/2, currentBaseMs/2] */ Jr(): number;
1678
1681
  }
1679
1682
  /**
1680
1683
  * @license
@@ -1703,7 +1706,7 @@ declare class co {
1703
1706
  * in newer versions of TypeScript defines `finally`, which is not available in
1704
1707
  * IE.
1705
1708
  */
1706
- declare class Ko {
1709
+ declare class fc {
1707
1710
  /**
1708
1711
  * Creates and returns a DelayedOperation that has been scheduled to be
1709
1712
  * executed on the provided asyncQueue after the provided delayMs.
@@ -1717,7 +1720,7 @@ declare class Ko {
1717
1720
  * from its delayedOperations list.
1718
1721
  * PORTING NOTE: This exists to prevent making removeDelayedOperation() and
1719
1722
  * the DelayedOperation class public.
1720
- */ static createAndSchedule(t: any, e: any, n: any, s: any, i: any): Ko;
1723
+ */ static createAndSchedule(t: any, e: any, n: any, s: any, i: any): fc;
1721
1724
  constructor(t: any, e: any, n: any, s: any, i: any);
1722
1725
  asyncQueue: any;
1723
1726
  timerId: any;
@@ -1745,7 +1748,7 @@ declare class Ko {
1745
1748
  handleDelayElapsed(): void;
1746
1749
  clearTimeout(): void;
1747
1750
  }
1748
- /** A "context" object passed around while parsing user data. */ declare class du {
1751
+ /** A "context" object passed around while parsing user data. */ declare class Ma {
1749
1752
  /**
1750
1753
  * Initializes a ParseContext with the given source and path.
1751
1754
  *
@@ -1767,20 +1770,20 @@ declare class Ko {
1767
1770
  constructor(t: any, e: any, n: any, s: any, i: any, r: any);
1768
1771
  settings: any;
1769
1772
  databaseId: any;
1770
- k: any;
1773
+ O: any;
1771
1774
  ignoreUndefinedProperties: any;
1772
1775
  fieldTransforms: any;
1773
1776
  fieldMask: any;
1774
1777
  get path(): any;
1775
- get Oc(): any;
1776
- /** Returns a new context with the specified settings overwritten. */ Fc(t: any): du;
1777
- Mc(t: any): du;
1778
- Uc(t: any): du;
1779
- qc(t: any): du;
1780
- Kc(t: any): G;
1778
+ get Vu(): any;
1779
+ /** Returns a new context with the specified settings overwritten. */ Su(t: any): Ma;
1780
+ Du(t: any): Ma;
1781
+ xu(t: any): Ma;
1782
+ ku(t: any): Ma;
1783
+ Ou(t: any): j;
1781
1784
  /** Returns 'true' if 'fieldPath' was traversed when creating this context. */ contains(t: any): boolean;
1782
- $c(): void;
1783
- Bc(t: any): void;
1785
+ vu(): void;
1786
+ Nu(t: any): void;
1784
1787
  }
1785
1788
  /**
1786
1789
  * @license
@@ -1798,9 +1801,9 @@ declare class Ko {
1798
1801
  * See the License for the specific language governing permissions and
1799
1802
  * limitations under the License.
1800
1803
  */
1801
- /** A field path and the TransformOperation to perform upon it. */ declare class Xe {
1804
+ /** A field path and the TransformOperation to perform upon it. */ declare class Ze {
1802
1805
  constructor(t: any, e: any);
1803
1806
  field: any;
1804
1807
  transform: any;
1805
1808
  }
1806
- export { hh as AbstractUserDataWriter, ou as Bytes, Ua as CACHE_SIZE_UNLIMITED, Na as CollectionReference, Da as DocumentReference, Lu as DocumentSnapshot, iu as FieldPath, cu as FieldValue, qa as Firestore, G as FirestoreError, au as GeoPoint, Ba as LoadBundleTask, Ca as Query, Gu as QueryConstraint, Bu as QueryDocumentSnapshot, Uu as QuerySnapshot, Mu as SnapshotMetadata, at as Timestamp, Dh as Transaction, dh as WriteBatch, Vt as _DatabaseId, Nt as _DocumentKey, et as _EmptyAppCheckTokenProvider, z as _EmptyAuthCredentialsProvider, mt as _FieldPath, ba as _cast, q as _debugAssert, yt as _isBase64Available, M as _logWarn, Mh as _setIndexConfiguration, Ea as _validateIsNotUsedTogether, bh as addDoc, $h as arrayRemove, xh as arrayUnion, Ja as clearIndexedDbPersistence, ka as collection, xa as collectionGroup, Sa as connectFirestoreEmulator, Rh as deleteDoc, Nh as deleteField, Za as disableNetwork, $a as doc, ru as documentId, Wa as enableIndexedDbPersistence, za as enableMultiTabIndexedDbPersistence, Xa as enableNetwork, rh as endAt, ih as endBefore, Ga as ensureFirestoreConfigured, Vh as executeWrite, _h as getDoc, gh as getDocFromCache, yh as getDocFromServer, ph as getDocs, Th as getDocsFromCache, Eh as getDocsFromServer, ja as getFirestore, Oh as increment, Ka as initializeFirestore, Xu as limit, Zu as limitToLast, eu as loadBundle, nu as namedQuery, Ph as onSnapshot, vh as onSnapshotsInSync, Ju as orderBy, Qu as query, Fa as queryEqual, Oa as refEqual, Ch as runTransaction, kh as serverTimestamp, Ih as setDoc, $ as setLogLevel, Ku as snapshotEqual, nh as startAfter, eh as startAt, tu as terminate, Ah as updateDoc, Ya as waitForPendingWrites, zu as where, Fh as writeBatch };
1809
+ export { xh as AbstractUserDataWriter, Sa as Bytes, ha as CACHE_SIZE_UNLIMITED, ea as CollectionReference, Zu as DocumentReference, uh as DocumentSnapshot, va as FieldPath, Da as FieldValue, la as Firestore, j as FirestoreError, Ca as GeoPoint, aa as LoadBundleTask, ta as Query, _h as QueryConstraint, ah as QueryDocumentSnapshot, hh as QuerySnapshot, ch as SnapshotMetadata, ut as Timestamp, Zh as Transaction, Mh as WriteBatch, Vt as _DatabaseId, Nt as _DocumentKey, et as _EmptyAppCheckTokenProvider, z as _EmptyAuthCredentialsProvider, mt as _FieldPath, zu as _cast, q as _debugAssert, yt as _isBase64Available, F as _logWarn, cl as _setIndexConfiguration, Gu as _validateIsNotUsedTogether, zh as addDoc, il as arrayRemove, sl as arrayUnion, pa as clearIndexedDbPersistence, na as collection, sa as collectionGroup, Xu as connectFirestoreEmulator, Wh as deleteDoc, el as deleteField, Ta as disableNetwork, ia as doc, Va as documentId, ma as enableIndexedDbPersistence, ga as enableMultiTabIndexedDbPersistence, Ea as enableNetwork, Vh as endAt, vh as endBefore, _a as ensureFirestoreConfigured, Yh as executeWrite, Fh as getDoc, Lh as getDocFromCache, Uh as getDocFromServer, qh as getDocs, Kh as getDocsFromCache, Gh as getDocsFromServer, da as getFirestore, rl as increment, fa as initializeFirestore, Eh as limit, Th as limitToLast, Ra as loadBundle, Pa as namedQuery, Hh as onSnapshot, Jh as onSnapshotsInSync, ph as orderBy, wh as query, oa as queryEqual, ra as refEqual, tl as runTransaction, nl as serverTimestamp, jh as setDoc, O as setLogLevel, fh as snapshotEqual, Ph as startAfter, Rh as startAt, Aa as terminate, Qh as updateDoc, Ia as waitForPendingWrites, gh as where, ol as writeBatch };