@firebase/firestore 3.4.4-canary.2dd99ae2d → 3.4.4-canary.3e9f3e253

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 (160) hide show
  1. package/dist/firestore/src/api/credentials.d.ts +1 -0
  2. package/dist/firestore/src/api/snapshot.d.ts +1 -2
  3. package/dist/firestore/src/core/target.d.ts +8 -4
  4. package/dist/firestore/src/lite-api/query.d.ts +2 -2
  5. package/dist/firestore/src/local/document_overlay_cache.d.ts +72 -0
  6. package/dist/firestore/src/local/index_manager.d.ts +52 -0
  7. package/dist/firestore/src/local/indexeddb_document_overlay_cache.d.ts +45 -0
  8. package/dist/firestore/src/local/indexeddb_index_manager.d.ts +21 -2
  9. package/dist/firestore/src/local/indexeddb_persistence.d.ts +6 -4
  10. package/dist/firestore/src/local/indexeddb_remote_document_cache.d.ts +2 -8
  11. package/dist/firestore/src/local/indexeddb_schema.d.ts +193 -7
  12. package/dist/firestore/src/local/local_documents_view.d.ts +0 -1
  13. package/dist/firestore/src/local/local_serializer.d.ts +18 -2
  14. package/dist/firestore/src/local/memory_document_overlay_cache.d.ts +37 -0
  15. package/dist/firestore/src/local/memory_index_manager.d.ts +11 -0
  16. package/dist/firestore/src/local/memory_persistence.d.ts +6 -2
  17. package/dist/firestore/src/local/memory_remote_document_cache.d.ts +1 -3
  18. package/dist/firestore/src/local/persistence.d.ts +8 -2
  19. package/dist/firestore/src/local/remote_document_cache.d.ts +7 -9
  20. package/dist/firestore/src/local/simple_db.d.ts +1 -0
  21. package/dist/firestore/src/model/document_key.d.ts +4 -0
  22. package/dist/firestore/src/model/field_index.d.ts +2 -2
  23. package/dist/firestore/src/model/overlay.d.ts +32 -0
  24. package/dist/firestore/src/model/target_index_matcher.d.ts +70 -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/firestore/test/util/helpers.d.ts +1 -1
  34. package/dist/index.d.ts +1 -2
  35. package/dist/index.esm2017.js +3864 -3349
  36. package/dist/index.esm2017.js.map +1 -1
  37. package/dist/index.esm5.js +3879 -3455
  38. package/dist/index.esm5.js.map +1 -1
  39. package/dist/index.node.cjs.js +878 -221
  40. package/dist/index.node.cjs.js.map +1 -1
  41. package/dist/index.node.mjs +878 -221
  42. package/dist/index.node.mjs.map +1 -1
  43. package/dist/index.rn.js +3973 -3458
  44. package/dist/index.rn.js.map +1 -1
  45. package/dist/internal.d.ts +252 -14
  46. package/dist/lite/firestore/src/api/credentials.d.ts +1 -0
  47. package/dist/lite/firestore/src/api/snapshot.d.ts +1 -2
  48. package/dist/lite/firestore/src/core/target.d.ts +8 -4
  49. package/dist/lite/firestore/src/lite-api/query.d.ts +2 -2
  50. package/dist/lite/firestore/src/local/document_overlay_cache.d.ts +72 -0
  51. package/dist/lite/firestore/src/local/index_manager.d.ts +52 -0
  52. package/dist/lite/firestore/src/local/indexeddb_document_overlay_cache.d.ts +45 -0
  53. package/dist/lite/firestore/src/local/indexeddb_index_manager.d.ts +21 -2
  54. package/dist/lite/firestore/src/local/indexeddb_persistence.d.ts +6 -4
  55. package/dist/lite/firestore/src/local/indexeddb_remote_document_cache.d.ts +2 -8
  56. package/dist/lite/firestore/src/local/indexeddb_schema.d.ts +193 -7
  57. package/dist/lite/firestore/src/local/local_documents_view.d.ts +0 -1
  58. package/dist/lite/firestore/src/local/local_serializer.d.ts +18 -2
  59. package/dist/lite/firestore/src/local/memory_document_overlay_cache.d.ts +37 -0
  60. package/dist/lite/firestore/src/local/memory_index_manager.d.ts +11 -0
  61. package/dist/lite/firestore/src/local/memory_persistence.d.ts +6 -2
  62. package/dist/lite/firestore/src/local/memory_remote_document_cache.d.ts +1 -3
  63. package/dist/lite/firestore/src/local/persistence.d.ts +8 -2
  64. package/dist/lite/firestore/src/local/remote_document_cache.d.ts +7 -9
  65. package/dist/lite/firestore/src/local/simple_db.d.ts +1 -0
  66. package/dist/lite/firestore/src/model/document_key.d.ts +4 -0
  67. package/dist/lite/firestore/src/model/field_index.d.ts +2 -2
  68. package/dist/lite/firestore/src/model/overlay.d.ts +32 -0
  69. package/dist/lite/firestore/src/model/target_index_matcher.d.ts +70 -0
  70. package/dist/lite/firestore/test/unit/local/counting_query_engine.d.ts +3 -3
  71. package/dist/lite/firestore/test/unit/local/document_overlay_cache.test.d.ts +1 -0
  72. package/dist/lite/firestore/test/unit/local/persistence_test_helpers.d.ts +1 -0
  73. package/dist/lite/firestore/test/unit/local/test_document_overlay_cache.d.ts +38 -0
  74. package/dist/lite/firestore/test/unit/local/test_index_manager.d.ts +11 -0
  75. package/dist/lite/firestore/test/unit/local/test_remote_document_cache.d.ts +4 -2
  76. package/dist/lite/firestore/test/unit/local/test_remote_document_change_buffer.d.ts +1 -1
  77. package/dist/lite/firestore/test/unit/model/target_index_matcher.test.d.ts +17 -0
  78. package/dist/lite/firestore/test/util/helpers.d.ts +1 -1
  79. package/dist/lite/index.browser.esm2017.js +1152 -1143
  80. package/dist/lite/index.browser.esm2017.js.map +1 -1
  81. package/dist/lite/index.browser.esm5.js +348 -341
  82. package/dist/lite/index.browser.esm5.js.map +1 -1
  83. package/dist/lite/index.node.cjs.js +44 -29
  84. package/dist/lite/index.node.cjs.js.map +1 -1
  85. package/dist/lite/index.node.mjs +44 -29
  86. package/dist/lite/index.node.mjs.map +1 -1
  87. package/dist/lite/index.rn.esm2017.js +1180 -1171
  88. package/dist/lite/index.rn.esm2017.js.map +1 -1
  89. package/dist/lite/internal.d.ts +6 -2
  90. package/dist/lite/packages/firestore/dist/lite/index.browser.esm2017.d.ts +121 -121
  91. package/dist/lite/packages/firestore/src/api/credentials.d.ts +1 -0
  92. package/dist/lite/packages/firestore/src/api/snapshot.d.ts +1 -2
  93. package/dist/lite/packages/firestore/src/core/target.d.ts +8 -4
  94. package/dist/lite/packages/firestore/src/lite-api/query.d.ts +2 -2
  95. package/dist/lite/packages/firestore/src/local/document_overlay_cache.d.ts +72 -0
  96. package/dist/lite/packages/firestore/src/local/index_manager.d.ts +52 -0
  97. package/dist/lite/packages/firestore/src/local/indexeddb_document_overlay_cache.d.ts +45 -0
  98. package/dist/lite/packages/firestore/src/local/indexeddb_index_manager.d.ts +21 -2
  99. package/dist/lite/packages/firestore/src/local/indexeddb_persistence.d.ts +6 -4
  100. package/dist/lite/packages/firestore/src/local/indexeddb_remote_document_cache.d.ts +2 -8
  101. package/dist/lite/packages/firestore/src/local/indexeddb_schema.d.ts +193 -7
  102. package/dist/lite/packages/firestore/src/local/local_documents_view.d.ts +0 -1
  103. package/dist/lite/packages/firestore/src/local/local_serializer.d.ts +18 -2
  104. package/dist/lite/packages/firestore/src/local/memory_document_overlay_cache.d.ts +37 -0
  105. package/dist/lite/packages/firestore/src/local/memory_index_manager.d.ts +11 -0
  106. package/dist/lite/packages/firestore/src/local/memory_persistence.d.ts +6 -2
  107. package/dist/lite/packages/firestore/src/local/memory_remote_document_cache.d.ts +1 -3
  108. package/dist/lite/packages/firestore/src/local/persistence.d.ts +8 -2
  109. package/dist/lite/packages/firestore/src/local/remote_document_cache.d.ts +7 -9
  110. package/dist/lite/packages/firestore/src/local/simple_db.d.ts +1 -0
  111. package/dist/lite/packages/firestore/src/model/document_key.d.ts +4 -0
  112. package/dist/lite/packages/firestore/src/model/field_index.d.ts +2 -2
  113. package/dist/lite/packages/firestore/src/model/overlay.d.ts +32 -0
  114. package/dist/lite/packages/firestore/src/model/target_index_matcher.d.ts +70 -0
  115. package/dist/lite/packages/firestore/test/unit/local/counting_query_engine.d.ts +3 -3
  116. package/dist/lite/packages/firestore/test/unit/local/document_overlay_cache.test.d.ts +1 -0
  117. package/dist/lite/packages/firestore/test/unit/local/persistence_test_helpers.d.ts +1 -0
  118. package/dist/lite/packages/firestore/test/unit/local/test_document_overlay_cache.d.ts +38 -0
  119. package/dist/lite/packages/firestore/test/unit/local/test_index_manager.d.ts +11 -0
  120. package/dist/lite/packages/firestore/test/unit/local/test_remote_document_cache.d.ts +4 -2
  121. package/dist/lite/packages/firestore/test/unit/local/test_remote_document_change_buffer.d.ts +1 -1
  122. package/dist/lite/packages/firestore/test/unit/model/target_index_matcher.test.d.ts +17 -0
  123. package/dist/lite/packages/firestore/test/util/helpers.d.ts +1 -1
  124. package/dist/lite/private.d.ts +2 -2
  125. package/dist/packages/firestore/dist/index.esm2017.d.ts +181 -179
  126. package/dist/packages/firestore/src/api/credentials.d.ts +1 -0
  127. package/dist/packages/firestore/src/api/snapshot.d.ts +1 -2
  128. package/dist/packages/firestore/src/core/target.d.ts +8 -4
  129. package/dist/packages/firestore/src/lite-api/query.d.ts +2 -2
  130. package/dist/packages/firestore/src/local/document_overlay_cache.d.ts +72 -0
  131. package/dist/packages/firestore/src/local/index_manager.d.ts +52 -0
  132. package/dist/packages/firestore/src/local/indexeddb_document_overlay_cache.d.ts +45 -0
  133. package/dist/packages/firestore/src/local/indexeddb_index_manager.d.ts +21 -2
  134. package/dist/packages/firestore/src/local/indexeddb_persistence.d.ts +6 -4
  135. package/dist/packages/firestore/src/local/indexeddb_remote_document_cache.d.ts +2 -8
  136. package/dist/packages/firestore/src/local/indexeddb_schema.d.ts +193 -7
  137. package/dist/packages/firestore/src/local/local_documents_view.d.ts +0 -1
  138. package/dist/packages/firestore/src/local/local_serializer.d.ts +18 -2
  139. package/dist/packages/firestore/src/local/memory_document_overlay_cache.d.ts +37 -0
  140. package/dist/packages/firestore/src/local/memory_index_manager.d.ts +11 -0
  141. package/dist/packages/firestore/src/local/memory_persistence.d.ts +6 -2
  142. package/dist/packages/firestore/src/local/memory_remote_document_cache.d.ts +1 -3
  143. package/dist/packages/firestore/src/local/persistence.d.ts +8 -2
  144. package/dist/packages/firestore/src/local/remote_document_cache.d.ts +7 -9
  145. package/dist/packages/firestore/src/local/simple_db.d.ts +1 -0
  146. package/dist/packages/firestore/src/model/document_key.d.ts +4 -0
  147. package/dist/packages/firestore/src/model/field_index.d.ts +2 -2
  148. package/dist/packages/firestore/src/model/overlay.d.ts +32 -0
  149. package/dist/packages/firestore/src/model/target_index_matcher.d.ts +70 -0
  150. package/dist/packages/firestore/test/unit/local/counting_query_engine.d.ts +3 -3
  151. package/dist/packages/firestore/test/unit/local/document_overlay_cache.test.d.ts +1 -0
  152. package/dist/packages/firestore/test/unit/local/persistence_test_helpers.d.ts +1 -0
  153. package/dist/packages/firestore/test/unit/local/test_document_overlay_cache.d.ts +38 -0
  154. package/dist/packages/firestore/test/unit/local/test_index_manager.d.ts +11 -0
  155. package/dist/packages/firestore/test/unit/local/test_remote_document_cache.d.ts +4 -2
  156. package/dist/packages/firestore/test/unit/local/test_remote_document_change_buffer.d.ts +1 -1
  157. package/dist/packages/firestore/test/unit/model/target_index_matcher.test.d.ts +17 -0
  158. package/dist/packages/firestore/test/util/helpers.d.ts +1 -1
  159. package/dist/private.d.ts +248 -14
  160. 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 Th {
23
23
  convertValue(t: any, e?: string): any;
24
24
  convertObject(t: any, e: any): {};
25
- convertGeoPoint(t: any): au;
25
+ convertGeoPoint(t: any): ya;
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 ma {
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): ma;
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): ma;
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 Yu: -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 Uu extends qu {
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(): Bu | 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 Bu {
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(): Uu;
157
+ withConverter(t: any): Bu;
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 Ha extends ja {
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 wa {
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 ga {
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: Fa;
261
+ declare class Xu extends Mu {
262
+ _queue: zu;
263
263
  }
264
- /** An error returned by a Firestore operation. */ declare class Q 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 ya {
291
291
  /**
292
292
  * Creates a new immutable `GeoPoint` object with the provided latitude and
293
293
  * longitude values.
@@ -318,9 +318,9 @@ 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 Ju {
322
322
  _progressObserver: {};
323
- _taskCompletionResolver: W;
323
+ _taskCompletionResolver: Q;
324
324
  _lastProgress: {
325
325
  taskState: string;
326
326
  totalBytes: number;
@@ -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 qu {
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): qu;
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 Qu {
390
+ */ declare class eh {
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 Ja extends Ha {
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 Ya {
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: Fu;
416
+ metadata: za;
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 Fu {
458
+ */ declare class za {
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 Bh_base: {
568
568
  new (t: any, e: any): {
569
569
  _firestore: any;
570
570
  _transaction: any;
571
- _dataReader: wu;
571
+ _dataReader: Ra;
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 Bh extends Bh_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 Ah {
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: Ra;
643
+ set(t: any, e: any, n: any): Ah;
644
+ update(t: any, e: any, n: any, ...s: any[]): Ah;
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): Ah;
651
651
  /**
652
652
  * Commits all of the writes in this write batch as a single atomic unit.
653
653
  *
@@ -708,6 +708,8 @@ declare class Vt {
708
708
  constructor(t: any);
709
709
  path: any;
710
710
  /** Returns true if the document is in the specified collectionId. */ hasCollectionId(t: any): boolean;
711
+ /** Returns the collection group (i.e. the name of the parent collection) for this key. */ getCollectionGroup(): any;
712
+ /** Returns the fully qualified path to the parent collection. */ getCollectionPath(): any;
711
713
  isEqual(t: any): boolean;
712
714
  toString(): any;
713
715
  }
@@ -758,7 +760,7 @@ declare class Vt {
758
760
  * Returns true if this field references the key of a document.
759
761
  */ isKeyField(): boolean;
760
762
  }
761
- declare function ba(t: any, e: any): any;
763
+ declare function Ou(t: any, e: any): any;
762
764
  /**
763
765
  * Fails if the given assertion condition is false, throwing an Error with the
764
766
  * given message if it did.
@@ -768,7 +770,7 @@ declare function ba(t: any, e: any): any;
768
770
  * happen in this case.
769
771
  *
770
772
  * @internal
771
- */ declare function q(t: any, e: any): void;
773
+ */ declare function U(t: any, e: any): void;
772
774
  /**
773
775
  * @license
774
776
  * Copyright 2020 Google LLC
@@ -790,7 +792,7 @@ declare function ba(t: any, e: any): any;
790
792
  declare function yt(): boolean;
791
793
  /**
792
794
  * @internal
793
- */ declare function F(t: any, ...e: any[]): void;
795
+ */ declare function M(t: any, ...e: any[]): void;
794
796
  /**
795
797
  * @license
796
798
  * Copyright 2021 Google LLC
@@ -806,11 +808,11 @@ declare function yt(): boolean;
806
808
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
807
809
  * See the License for the specific language governing permissions and
808
810
  * limitations under the License.
809
- */ declare function Fh(t: any, e: any): Promise<void>;
811
+ */ declare function zh(t: any, e: any): Promise<void>;
810
812
  /**
811
813
  * Validates that two boolean options are not set at the same time.
812
814
  * @internal
813
- */ declare function Ea(t: any, e: any, n: any, s: any): void;
815
+ */ declare function Cu(t: any, e: any, n: any, s: any): void;
814
816
  /**
815
817
  * Add a new document to specified `CollectionReference` with the given data,
816
818
  * assigning it a document ID automatically.
@@ -820,7 +822,7 @@ declare function yt(): boolean;
820
822
  * @returns A `Promise` resolved with a `DocumentReference` pointing to the
821
823
  * newly created document after it has been written to the backend (Note that it
822
824
  * won't resolve while you're offline).
823
- */ declare function bh(t: any, e: any): Promise<Da>;
825
+ */ declare function Oh(t: any, e: any): Promise<Bu>;
824
826
  /**
825
827
  * Returns a special value that can be used with {@link (setDoc:1)} or {@link
826
828
  * updateDoc:1} that tells the server to remove the given elements from any
@@ -831,7 +833,7 @@ declare function yt(): boolean;
831
833
  * @param elements - The elements to remove from the array.
832
834
  * @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
833
835
  * `updateDoc()`
834
- */ declare function $h(...t: any[]): Eu;
836
+ */ declare function jh(...t: any[]): Ca;
835
837
  /**
836
838
  * Returns a special value that can be used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link
837
839
  * @firebase/firestore/lite#(updateDoc:1)} that tells the server to union the given elements with any array
@@ -843,9 +845,9 @@ declare function yt(): boolean;
843
845
  * @param elements - The elements to union into the array.
844
846
  * @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
845
847
  * `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;
848
+ */ declare function Gh(...t: any[]): Da;
849
+ declare function oa(t: any): Promise<any>;
850
+ declare function Ku(t: any, e: any, ...n: any[]): Uu;
849
851
  /**
850
852
  * Creates and returns a new `Query` instance that includes all documents in the
851
853
  * database that are contained in a collection or subcollection with the
@@ -856,15 +858,15 @@ declare function ka(t: any, e: any, ...n: any[]): Na;
856
858
  * collection or subcollection with this ID as the last segment of its path
857
859
  * will be included. Cannot contain a slash.
858
860
  * @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;
861
+ */ declare function Gu(t: any, e: any): qu;
862
+ declare function Lu(t: any, e: any, n: any, s?: {}): void;
861
863
  /**
862
864
  * Deletes the document referred to by the specified `DocumentReference`.
863
865
  *
864
866
  * @param reference - A reference to the document to delete.
865
867
  * @returns A Promise resolved once the document has been successfully
866
868
  * deleted from the backend (note that it won't resolve while you're offline).
867
- */ declare function Rh(t: any): Promise<any>;
869
+ */ declare function kh(t: any): Promise<any>;
868
870
  /**
869
871
  * @license
870
872
  * Copyright 2020 Google LLC
@@ -884,7 +886,7 @@ declare function Sa(t: any, e: any, n: any, s?: {}): void;
884
886
  /**
885
887
  * Returns a sentinel for use with {@link @firebase/firestore/lite#(updateDoc:1)} or
886
888
  * {@link @firebase/firestore/lite#(setDoc:1)} with `{merge: true}` to mark a field for deletion.
887
- */ declare function Nh(): gu;
889
+ */ declare function Uh(): Pa;
888
890
  /**
889
891
  * Disables network usage for this instance. It can be re-enabled via {@link
890
892
  * enableNetwork}. While the network is disabled, any snapshot listeners,
@@ -892,12 +894,12 @@ declare function Sa(t: any, e: any, n: any, s?: {}): void;
892
894
  * operations will be queued until the network is restored.
893
895
  *
894
896
  * @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;
897
+ */ declare function aa(t: any): any;
898
+ declare function ju(t: any, e: any, ...n: any[]): Bu;
897
899
  /**
898
900
  * Returns a special sentinel `FieldPath` to refer to the ID of a document.
899
901
  * It can be used in queries to sort or filter by the document ID.
900
- */ declare function ru(): iu;
902
+ */ declare function _a(): wa;
901
903
  /**
902
904
  * Attempts to enable persistent storage, if possible.
903
905
  *
@@ -920,7 +922,7 @@ declare function $a(t: any, e: any, ...n: any[]): Da;
920
922
  * @param persistenceSettings - Optional settings object to configure
921
923
  * persistence.
922
924
  * @returns A `Promise` that represents successfully enabling persistent storage.
923
- */ declare function Ga(t: any, e: any): any;
925
+ */ declare function sa(t: any, e: any): any;
924
926
  /**
925
927
  * Attempts to enable multi-tab persistent storage, if possible. If enabled
926
928
  * across all tabs, all operations share access to local persistence, including
@@ -942,22 +944,22 @@ declare function $a(t: any, e: any, ...n: any[]): Da;
942
944
  * @param firestore - The {@link Firestore} instance to enable persistence for.
943
945
  * @returns A `Promise` that represents successfully enabling persistent
944
946
  * storage.
945
- */ declare function za(t: any): any;
947
+ */ declare function ia(t: any): any;
946
948
  /**
947
949
  * Re-enables use of the network for this {@link Firestore} instance after a prior
948
950
  * call to {@link disableNetwork}.
949
951
  *
950
952
  * @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;
953
+ */ declare function ua(t: any): any;
954
+ declare function _h(...t: any[]): dh;
955
+ declare function wh(...t: any[]): dh;
954
956
  /**
955
957
  * @internal
956
- */ declare function Qa(t: any): any;
958
+ */ declare function ea(t: any): any;
957
959
  /**
958
960
  * Locally writes `mutations` on the async queue.
959
961
  * @internal
960
- */ declare function Vh(t: any, e: any): Promise<any>;
962
+ */ declare function Mh(t: any, e: any): Promise<any>;
961
963
  /**
962
964
  * @license
963
965
  * Copyright 2020 Google LLC
@@ -1009,21 +1011,21 @@ declare function ih(...t: any[]): sh;
1009
1011
  * @returns A Promise resolved with a `DocumentSnapshot` containing the
1010
1012
  * current document contents.
1011
1013
  */
1012
- declare function _h(t: any): Promise<Lu>;
1014
+ declare function vh(t: any): Promise<Ha>;
1013
1015
  /**
1014
1016
  * Reads the document referred to by this `DocumentReference` from cache.
1015
1017
  * Returns an error if the document is not currently cached.
1016
1018
  *
1017
1019
  * @returns A `Promise` resolved with a `DocumentSnapshot` containing the
1018
1020
  * current document contents.
1019
- */ declare function gh(t: any): Promise<Lu>;
1021
+ */ declare function Ph(t: any): Promise<Ha>;
1020
1022
  /**
1021
1023
  * Reads the document referred to by this `DocumentReference` from the server.
1022
1024
  * Returns an error if the network is not available.
1023
1025
  *
1024
1026
  * @returns A `Promise` resolved with a `DocumentSnapshot` containing the
1025
1027
  * current document contents.
1026
- */ declare function yh(t: any): Promise<Lu>;
1028
+ */ declare function Vh(t: any): Promise<Ha>;
1027
1029
  /**
1028
1030
  * Executes the query and returns the results as a `QuerySnapshot`.
1029
1031
  *
@@ -1033,19 +1035,19 @@ declare function _h(t: any): Promise<Lu>;
1033
1035
  * invoke {@link getDocsFromCache} or {@link getDocsFromServer}.
1034
1036
  *
1035
1037
  * @returns A `Promise` that will be resolved with the results of the query.
1036
- */ declare function ph(t: any): Promise<Uu>;
1038
+ */ declare function Sh(t: any): Promise<Ya>;
1037
1039
  /**
1038
1040
  * Executes the query and returns the results as a `QuerySnapshot` from cache.
1039
1041
  * Returns an error if the document is not currently cached.
1040
1042
  *
1041
1043
  * @returns A `Promise` that will be resolved with the results of the query.
1042
- */ declare function Th(t: any): Promise<Uu>;
1044
+ */ declare function Dh(t: any): Promise<Ya>;
1043
1045
  /**
1044
1046
  * Executes the query and returns the results as a `QuerySnapshot` from the
1045
1047
  * server. Returns an error if the network is not available.
1046
1048
  *
1047
1049
  * @returns A `Promise` that will be resolved with the results of the query.
1048
- */ declare function Eh(t: any): Promise<Uu>;
1050
+ */ declare function Ch(t: any): Promise<Ya>;
1049
1051
  /**
1050
1052
  * Returns the existing {@link Firestore} instance that is associated with the
1051
1053
  * provided {@link @firebase/app#FirebaseApp}. If no instance exists, initializes a new
@@ -1054,7 +1056,7 @@ declare function _h(t: any): Promise<Lu>;
1054
1056
  * @param app - The {@link @firebase/app#FirebaseApp} instance that the returned {@link Firestore}
1055
1057
  * instance is associated with.
1056
1058
  * @returns The {@link Firestore} instance of the provided app.
1057
- */ declare function ja(e?: import("@firebase/app").FirebaseApp): import("../src").Firestore;
1059
+ */ declare function ta(e?: import("@firebase/app").FirebaseApp): import("../src").Firestore;
1058
1060
  /**
1059
1061
  * Returns a special value that can be used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link
1060
1062
  * @firebase/firestore/lite#(updateDoc:1)} that tells the server to increment the field's current value by
@@ -1073,7 +1075,7 @@ declare function _h(t: any): Promise<Lu>;
1073
1075
  * @param n - The value to increment by.
1074
1076
  * @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
1075
1077
  * `updateDoc()`
1076
- */ declare function Oh(t: any): Iu;
1078
+ */ declare function Qh(t: any): Na;
1077
1079
  /**
1078
1080
  * Initializes a new instance of {@link Firestore} with the provided settings.
1079
1081
  * Can only be called before any other function, including
@@ -1084,13 +1086,13 @@ declare function _h(t: any): Promise<Lu>;
1084
1086
  * be associated.
1085
1087
  * @param settings - A settings object to configure the {@link Firestore} instance.
1086
1088
  * @returns A newly initialized {@link Firestore} instance.
1087
- */ declare function Ka(t: any, e: any): import("../src").Firestore;
1089
+ */ declare function Zu(t: any, e: any): import("../src").Firestore;
1088
1090
  /**
1089
1091
  * Creates a {@link QueryConstraint} that only returns the first matching documents.
1090
1092
  *
1091
1093
  * @param limit - The maximum number of items to return.
1092
1094
  * @returns The created {@link Query}.
1093
- */ declare function Xu(t: any): Yu;
1095
+ */ declare function uh(t: any): ch;
1094
1096
  /**
1095
1097
  * Creates a {@link QueryConstraint} that only returns the last matching documents.
1096
1098
  *
@@ -1099,7 +1101,7 @@ declare function _h(t: any): Promise<Lu>;
1099
1101
  *
1100
1102
  * @param limit - The maximum number of items to return.
1101
1103
  * @returns The created {@link Query}.
1102
- */ declare function Zu(t: any): Yu;
1104
+ */ declare function ah(t: any): ch;
1103
1105
  /**
1104
1106
  * Loads a Firestore bundle into the local cache.
1105
1107
  *
@@ -1110,7 +1112,7 @@ declare function _h(t: any): Promise<Lu>;
1110
1112
  * @returns A `LoadBundleTask` object, which notifies callers with progress
1111
1113
  * updates, and completion or error events. It can be used as a
1112
1114
  * `Promise<LoadBundleTaskProgress>`.
1113
- */ declare function eu(t: any, e: any): Ba;
1115
+ */ declare function la(t: any, e: any): Ju;
1114
1116
  /**
1115
1117
  * Reads a Firestore {@link Query} from local cache, identified by the given
1116
1118
  * name.
@@ -1122,9 +1124,9 @@ declare function _h(t: any): Promise<Lu>;
1122
1124
  * @param firestore - The {@link Firestore} instance to read the query from.
1123
1125
  * @param name - The name of the query.
1124
1126
  * @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;
1127
+ */ declare function fa(t: any, e: any): any;
1128
+ declare function Fh(t: any, ...e: any[]): () => void;
1129
+ declare function $h(t: any, e: any): () => void;
1128
1130
  /**
1129
1131
  * Creates a {@link QueryConstraint} that sorts the query result by the
1130
1132
  * specified field, optionally in descending order instead of ascending.
@@ -1133,7 +1135,7 @@ declare function vh(t: any, e: any): () => void;
1133
1135
  * @param directionStr - Optional direction to sort by ('asc' or 'desc'). If
1134
1136
  * not specified, order will be ascending.
1135
1137
  * @returns The created {@link Query}.
1136
- */ declare function Ju(t: any, e?: string): Hu;
1138
+ */ declare function oh(t: any, e?: string): rh;
1137
1139
  /**
1138
1140
  * Creates a new immutable instance of {@link Query} that is extended to also include
1139
1141
  * additional query constraints.
@@ -1142,7 +1144,7 @@ declare function vh(t: any, e: any): () => void;
1142
1144
  * @param queryConstraints - The list of {@link QueryConstraint}s to apply.
1143
1145
  * @throws if any of the provided query constraints cannot be combined with the
1144
1146
  * existing or new constraints.
1145
- */ declare function Wu(t: any, ...e: any[]): any;
1147
+ */ declare function nh(t: any, ...e: any[]): any;
1146
1148
  /**
1147
1149
  * Returns true if the provided queries point to the same collection and apply
1148
1150
  * the same constraints.
@@ -1151,7 +1153,7 @@ declare function vh(t: any, e: any): () => void;
1151
1153
  * @param right - A `Query` to compare.
1152
1154
  * @returns true if the references point to the same location in the same
1153
1155
  * Firestore database.
1154
- */ declare function Ma(t: any, e: any): boolean;
1156
+ */ declare function Wu(t: any, e: any): boolean;
1155
1157
  /**
1156
1158
  * Returns true if the provided references are equal.
1157
1159
  *
@@ -1159,7 +1161,7 @@ declare function vh(t: any, e: any): () => void;
1159
1161
  * @param right - A reference to compare.
1160
1162
  * @returns true if the references point to the same location in the same
1161
1163
  * Firestore database.
1162
- */ declare function Oa(t: any, e: any): boolean;
1164
+ */ declare function Qu(t: any, e: any): boolean;
1163
1165
  /**
1164
1166
  * Executes the given `updateFunction` and then attempts to commit the changes
1165
1167
  * applied within the transaction. If any document read within the transaction
@@ -1176,12 +1178,12 @@ declare function vh(t: any, e: any): () => void;
1176
1178
  * (the `updateFunction` returned a failed promise), the promise returned by the
1177
1179
  * `updateFunction `is returned here. Otherwise, if the transaction failed, a
1178
1180
  * rejected promise with the corresponding failure error is returned.
1179
- */ declare function Ch(t: any, e: any): Promise<any>;
1181
+ */ declare function qh(t: any, e: any): Promise<any>;
1180
1182
  /**
1181
1183
  * Returns a sentinel used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link @firebase/firestore/lite#(updateDoc:1)} to
1182
1184
  * 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>;
1185
+ */ declare function Kh(): Sa;
1186
+ declare function Nh(t: any, e: any, n: any): Promise<any>;
1185
1187
  /**
1186
1188
  * Sets the verbosity of Cloud Firestore logs (debug, error, or silent).
1187
1189
  *
@@ -1194,16 +1196,16 @@ declare function Ih(t: any, e: any, n: any): Promise<any>;
1194
1196
  * <li>`error` to log errors only.</li>
1195
1197
  * <li><code>`silent` to turn off logging.</li>
1196
1198
  * </ul>
1197
- */ declare function $(t: any): void;
1199
+ */ declare function O(t: any): void;
1198
1200
  /**
1199
1201
  * Returns true if the provided snapshots are equal.
1200
1202
  *
1201
1203
  * @param left - A snapshot to compare.
1202
1204
  * @param right - A snapshot to compare.
1203
1205
  * @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;
1206
+ */ declare function Za(t: any, e: any): any;
1207
+ declare function fh(...t: any[]): hh;
1208
+ declare function lh(...t: any[]): hh;
1207
1209
  /**
1208
1210
  * Terminates the provided {@link Firestore} instance.
1209
1211
  *
@@ -1225,8 +1227,8 @@ declare function eh(...t: any[]): th;
1225
1227
  *
1226
1228
  * @returns A `Promise` that is resolved when the instance has been successfully
1227
1229
  * terminated.
1228
- */ declare function tu(t: any): any;
1229
- declare function Ah(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1230
+ */ declare function ha(t: any): any;
1231
+ declare function xh(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1230
1232
  /**
1231
1233
  * Waits until all currently pending writes for the active user have been
1232
1234
  * acknowledged by the backend.
@@ -1242,7 +1244,7 @@ declare function Ah(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1242
1244
  *
1243
1245
  * @returns A `Promise` which resolves when all currently pending writes have been
1244
1246
  * acknowledged by the backend.
1245
- */ declare function Ya(t: any): Promise<any>;
1247
+ */ declare function ca(t: any): Promise<any>;
1246
1248
  /**
1247
1249
  * Creates a {@link QueryConstraint} that enforces that documents must contain the
1248
1250
  * specified field and that the value should satisfy the relation constraint
@@ -1253,7 +1255,7 @@ declare function Ah(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1253
1255
  * "&lt;=", "!=").
1254
1256
  * @param value - The value for comparison
1255
1257
  * @returns The created {@link Query}.
1256
- */ declare function zu(t: any, e: any, n: any): Gu;
1258
+ */ declare function ih(t: any, e: any, n: any): sh;
1257
1259
  /**
1258
1260
  * @license
1259
1261
  * Copyright 2020 Google LLC
@@ -1280,7 +1282,7 @@ declare function Ah(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1280
1282
  *
1281
1283
  * @returns A {@link WriteBatch} that can be used to atomically execute multiple
1282
1284
  * writes.
1283
- */ declare function Mh(t: any): dh;
1285
+ */ declare function Wh(t: any): Ah;
1284
1286
  /**
1285
1287
  * @license
1286
1288
  * Copyright 2020 Google LLC
@@ -1305,7 +1307,7 @@ declare function Ah(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1305
1307
  * For a `DocumentSnapshot` that points to a non-existing document, any data
1306
1308
  * access will return 'undefined'. You can use the `exists()` method to
1307
1309
  * explicitly verify a document's existence.
1308
- */ declare class $u {
1310
+ */ declare class ja {
1309
1311
  /** @hideconstructor protected */
1310
1312
  constructor(t: any, e: any, n: any, s: any, i: any);
1311
1313
  _firestore: any;
@@ -1316,7 +1318,7 @@ declare function Ah(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1316
1318
  /** Property of the `DocumentSnapshot` that provides the document's ID. */ get id(): any;
1317
1319
  /**
1318
1320
  * The `DocumentReference` for the document included in the `DocumentSnapshot`.
1319
- */ get ref(): Da;
1321
+ */ get ref(): Bu;
1320
1322
  /**
1321
1323
  * Signals whether or not the document at the snapshot's location exists.
1322
1324
  *
@@ -1360,7 +1362,7 @@ declare function Ah(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1360
1362
  * The Cloud Firestore service interface.
1361
1363
  *
1362
1364
  * Do not call this constructor directly. Instead, use {@link getFirestore}.
1363
- */ declare class Va {
1365
+ */ declare class Mu {
1364
1366
  /** @hideconstructor */
1365
1367
  constructor(t: any, e: any, n: any);
1366
1368
  _authCredentials: any;
@@ -1370,7 +1372,7 @@ declare function Ah(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1370
1372
  */
1371
1373
  type: string;
1372
1374
  _persistenceKey: string;
1373
- _settings: va;
1375
+ _settings: $u;
1374
1376
  _settingsFrozen: boolean;
1375
1377
  _databaseId: Vt;
1376
1378
  _app: any;
@@ -1381,14 +1383,14 @@ declare function Ah(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1381
1383
  get _initialized(): boolean;
1382
1384
  get _terminated(): boolean;
1383
1385
  _setSettings(t: any): void;
1384
- _getSettings(): va;
1385
- _freezeSettings(): va;
1386
+ _getSettings(): $u;
1387
+ _freezeSettings(): $u;
1386
1388
  _delete(): Promise<void>;
1387
1389
  _terminateTask: Promise<void> | undefined;
1388
1390
  /** Returns a JSON-serializable representation of this `Firestore` instance. */ toJSON(): {
1389
1391
  app: any;
1390
1392
  databaseId: Vt;
1391
- settings: va;
1393
+ settings: $u;
1392
1394
  };
1393
1395
  /**
1394
1396
  * Terminates all components used by this client. Subclasses can override
@@ -1413,17 +1415,17 @@ declare function Ah(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1413
1415
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1414
1416
  * See the License for the specific language governing permissions and
1415
1417
  * limitations under the License.
1416
- */ declare class Fa {
1418
+ */ declare class zu {
1417
1419
  Ec: Promise<void>;
1418
- Ic: any[];
1419
- Ac: boolean;
1420
- Rc: any[];
1420
+ Ac: any[];
1421
+ Rc: boolean;
1422
+ vc: any[];
1421
1423
  bc: any;
1422
1424
  Pc: boolean;
1423
- vc: boolean;
1424
- Vc: any[];
1425
- wr: co;
1426
- Sc: () => void;
1425
+ Vc: boolean;
1426
+ Sc: any[];
1427
+ _r: yo;
1428
+ Dc: () => void;
1427
1429
  get isShuttingDown(): boolean;
1428
1430
  /**
1429
1431
  * Adds a new operation to the queue without waiting for it to complete (i.e.
@@ -1436,32 +1438,32 @@ declare function Ah(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1436
1438
  /**
1437
1439
  * Runs the next operation from the retryable queue. If the operation fails,
1438
1440
  * reschedules with backoff.
1439
- */ Nc(): Promise<void>;
1440
- Cc(t: any): Promise<any>;
1441
- enqueueAfterDelay(t: any, e: any, n: any): Ko;
1442
- Dc(): void;
1441
+ */ xc(): Promise<void>;
1442
+ Nc(t: any): Promise<any>;
1443
+ enqueueAfterDelay(t: any, e: any, n: any): Zo;
1444
+ Cc(): void;
1443
1445
  verifyOperationInProgress(): void;
1444
1446
  /**
1445
1447
  * Waits until all currently queued tasks are finished executing. Delayed
1446
1448
  * operations are not run.
1447
- */ xc(): Promise<void>;
1449
+ */ Oc(): Promise<void>;
1448
1450
  /**
1449
1451
  * For Tests: Determine if a delayed operation with a particular TimerId
1450
1452
  * exists.
1451
- */ $c(t: any): boolean;
1453
+ */ Fc(t: any): boolean;
1452
1454
  /**
1453
1455
  * For Tests: Runs some or all delayed operations early.
1454
1456
  *
1455
1457
  * @param lastTimerId - Delayed operations up to and including this TimerId
1456
1458
  * will be drained. Pass TimerId.All to run all delayed operations.
1457
1459
  * @returns a Promise that resolves once all operations have been run.
1458
- */ Oc(t: any): Promise<void>;
1460
+ */ $c(t: any): Promise<void>;
1459
1461
  /**
1460
1462
  * For Tests: Skip all subsequent delays for a timer id.
1461
1463
  */ Mc(t: any): void;
1462
1464
  /** Called once a DelayedOperation is run or canceled. */ kc(t: any): void;
1463
1465
  }
1464
- import { FirebaseError as a } from "@firebase/util/dist/src/errors";
1466
+ import { FirebaseError as u } from "@firebase/util/dist/src/errors";
1465
1467
  /**
1466
1468
  * @license
1467
1469
  * Copyright 2017 Google LLC
@@ -1477,7 +1479,7 @@ import { FirebaseError as a } from "@firebase/util/dist/src/errors";
1477
1479
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1478
1480
  * See the License for the specific language governing permissions and
1479
1481
  * limitations under the License.
1480
- */ declare class W {
1482
+ */ declare class Q {
1481
1483
  promise: Promise<any>;
1482
1484
  resolve: (value: any) => void;
1483
1485
  reject: (reason?: any) => void;
@@ -1485,12 +1487,12 @@ import { FirebaseError as a } from "@firebase/util/dist/src/errors";
1485
1487
  /**
1486
1488
  * Helper for parsing raw user input (provided via the API) into internal model
1487
1489
  * classes.
1488
- */ declare class wu {
1490
+ */ declare class Ra {
1489
1491
  constructor(t: any, e: any, n: any);
1490
1492
  databaseId: any;
1491
1493
  ignoreUndefinedProperties: any;
1492
- F: any;
1493
- /** Creates a new top-level parse context. */ Hc(t: any, e: any, n: any, s?: boolean): du;
1494
+ O: any;
1495
+ /** Creates a new top-level parse context. */ Jc(t: any, e: any, n: any, s?: boolean): Aa;
1494
1496
  }
1495
1497
  declare class Z {
1496
1498
  constructor(t: any);
@@ -1538,67 +1540,67 @@ declare class dt {
1538
1540
  forEach(t: any): void;
1539
1541
  toArray(): any;
1540
1542
  }
1541
- declare class Eu extends cu {
1543
+ declare class Ca extends ga {
1542
1544
  constructor(t: any, e: any);
1543
- Jc: any;
1544
- _toFieldTransform(t: any): tn;
1545
+ Yc: any;
1546
+ _toFieldTransform(t: any): Xe;
1545
1547
  isEqual(t: any): boolean;
1546
1548
  }
1547
- declare class Tu extends cu {
1549
+ declare class Da extends ga {
1548
1550
  constructor(t: any, e: any);
1549
- Jc: any;
1550
- _toFieldTransform(t: any): tn;
1551
+ Yc: any;
1552
+ _toFieldTransform(t: any): Xe;
1551
1553
  isEqual(t: any): boolean;
1552
1554
  }
1553
- declare class gu extends cu {
1555
+ declare class Pa extends ga {
1554
1556
  _toFieldTransform(t: any): null;
1555
1557
  isEqual(t: any): boolean;
1556
1558
  }
1557
- declare class sh extends Qu {
1559
+ declare class dh extends eh {
1558
1560
  constructor(t: any, e: any, n: any);
1559
1561
  type: any;
1560
- ia: any;
1561
- ra: any;
1562
- _apply(t: any): Ca;
1562
+ ru: any;
1563
+ ou: any;
1564
+ _apply(t: any): qu;
1563
1565
  }
1564
- declare class Iu extends cu {
1566
+ declare class Na extends ga {
1565
1567
  constructor(t: any, e: any);
1566
- Yc: any;
1567
- _toFieldTransform(t: any): tn;
1568
+ Xc: any;
1569
+ _toFieldTransform(t: any): Xe;
1568
1570
  isEqual(t: any): boolean;
1569
1571
  }
1570
- declare class Yu extends Qu {
1572
+ declare class ch extends eh {
1571
1573
  constructor(t: any, e: any, n: any);
1572
1574
  type: any;
1573
- na: any;
1574
- sa: any;
1575
- _apply(t: any): Ca;
1575
+ su: any;
1576
+ iu: any;
1577
+ _apply(t: any): qu;
1576
1578
  }
1577
- declare class Hu extends Qu {
1579
+ declare class rh extends eh {
1578
1580
  constructor(t: any, e: any);
1579
- Xc: any;
1580
- ea: any;
1581
+ Zc: any;
1582
+ nu: any;
1581
1583
  type: string;
1582
- _apply(t: any): Ca;
1584
+ _apply(t: any): qu;
1583
1585
  }
1584
- declare class pu extends cu {
1585
- _toFieldTransform(t: any): tn;
1586
+ declare class Sa extends ga {
1587
+ _toFieldTransform(t: any): Xe;
1586
1588
  isEqual(t: any): boolean;
1587
1589
  }
1588
- declare class th extends Qu {
1590
+ declare class hh extends eh {
1589
1591
  constructor(t: any, e: any, n: any);
1590
1592
  type: any;
1591
- ia: any;
1592
- ra: any;
1593
- _apply(t: any): Ca;
1593
+ ru: any;
1594
+ ou: any;
1595
+ _apply(t: any): qu;
1594
1596
  }
1595
- declare class Gu extends Qu {
1597
+ declare class sh extends eh {
1596
1598
  constructor(t: any, e: any, n: any);
1597
- Xc: any;
1598
1599
  Zc: any;
1599
- ta: any;
1600
+ tu: any;
1601
+ eu: any;
1600
1602
  type: string;
1601
- _apply(t: any): Ca;
1603
+ _apply(t: any): qu;
1602
1604
  }
1603
1605
  /**
1604
1606
  * @license
@@ -1621,7 +1623,7 @@ declare class Gu extends Qu {
1621
1623
  * user-supplied `FirestoreSettings` object. This is a separate type so that
1622
1624
  * defaults can be supplied and the value can be checked for equality.
1623
1625
  */
1624
- declare class va {
1626
+ declare class $u {
1625
1627
  constructor(t: any);
1626
1628
  host: any;
1627
1629
  ssl: any;
@@ -1645,17 +1647,17 @@ declare class va {
1645
1647
  * base delay. This prevents clients from accidentally synchronizing their
1646
1648
  * delays causing spikes of load to the backend.
1647
1649
  */
1648
- declare class co {
1650
+ declare class yo {
1649
1651
  constructor(t: any, e: any, n?: number, s?: number, i?: number);
1650
- Ue: any;
1652
+ Be: any;
1651
1653
  timerId: any;
1652
- Ji: number;
1653
1654
  Yi: number;
1654
1655
  Xi: number;
1655
1656
  Zi: number;
1656
- tr: any;
1657
+ tr: number;
1658
+ er: any;
1657
1659
  /** The last backoff attempt, as epoch milliseconds. */
1658
- er: number;
1660
+ nr: number;
1659
1661
  /**
1660
1662
  * Resets the backoff delay.
1661
1663
  *
@@ -1666,15 +1668,15 @@ declare class co {
1666
1668
  /**
1667
1669
  * Resets the backoff delay to the maximum delay (e.g. for use after a
1668
1670
  * RESOURCE_EXHAUSTED error).
1669
- */ nr(): void;
1671
+ */ sr(): void;
1670
1672
  /**
1671
1673
  * Returns a promise that resolves after currentDelayMs, and increases the
1672
1674
  * delay for any subsequent attempts. If there was a pending backoff operation
1673
1675
  * already, it will be canceled.
1674
- */ sr(t: any): void;
1675
- rr(): void;
1676
+ */ ir(t: any): void;
1677
+ cr(): void;
1676
1678
  cancel(): void;
1677
- /** Returns a random value in the range [-currentBaseMs/2, currentBaseMs/2] */ ir(): number;
1679
+ /** Returns a random value in the range [-currentBaseMs/2, currentBaseMs/2] */ rr(): number;
1678
1680
  }
1679
1681
  /**
1680
1682
  * @license
@@ -1703,7 +1705,7 @@ declare class co {
1703
1705
  * in newer versions of TypeScript defines `finally`, which is not available in
1704
1706
  * IE.
1705
1707
  */
1706
- declare class Ko {
1708
+ declare class Zo {
1707
1709
  /**
1708
1710
  * Creates and returns a DelayedOperation that has been scheduled to be
1709
1711
  * executed on the provided asyncQueue after the provided delayMs.
@@ -1717,14 +1719,14 @@ declare class Ko {
1717
1719
  * from its delayedOperations list.
1718
1720
  * PORTING NOTE: This exists to prevent making removeDelayedOperation() and
1719
1721
  * the DelayedOperation class public.
1720
- */ static createAndSchedule(t: any, e: any, n: any, s: any, i: any): Ko;
1722
+ */ static createAndSchedule(t: any, e: any, n: any, s: any, i: any): Zo;
1721
1723
  constructor(t: any, e: any, n: any, s: any, i: any);
1722
1724
  asyncQueue: any;
1723
1725
  timerId: any;
1724
1726
  targetTimeMs: any;
1725
1727
  op: any;
1726
1728
  removalCallback: any;
1727
- deferred: W;
1729
+ deferred: Q;
1728
1730
  then: <TResult1 = any, TResult2 = never>(onfulfilled?: ((value: any) => TResult1 | PromiseLike<TResult1>) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null | undefined) => Promise<TResult1 | TResult2>;
1729
1731
  /**
1730
1732
  * Starts the timer. This is called immediately after construction by
@@ -1745,7 +1747,7 @@ declare class Ko {
1745
1747
  handleDelayElapsed(): void;
1746
1748
  clearTimeout(): void;
1747
1749
  }
1748
- /** A "context" object passed around while parsing user data. */ declare class du {
1750
+ /** A "context" object passed around while parsing user data. */ declare class Aa {
1749
1751
  /**
1750
1752
  * Initializes a ParseContext with the given source and path.
1751
1753
  *
@@ -1767,20 +1769,20 @@ declare class Ko {
1767
1769
  constructor(t: any, e: any, n: any, s: any, i: any, r: any);
1768
1770
  settings: any;
1769
1771
  databaseId: any;
1770
- F: any;
1772
+ O: any;
1771
1773
  ignoreUndefinedProperties: any;
1772
1774
  fieldTransforms: any;
1773
1775
  fieldMask: any;
1774
1776
  get path(): any;
1775
- get Lc(): any;
1776
- /** Returns a new context with the specified settings overwritten. */ Bc(t: any): du;
1777
- Uc(t: any): du;
1778
- jc(t: any): du;
1779
- Qc(t: any): du;
1780
- Wc(t: any): Q;
1777
+ get Bc(): any;
1778
+ /** Returns a new context with the specified settings overwritten. */ qc(t: any): Aa;
1779
+ Uc(t: any): Aa;
1780
+ jc(t: any): Aa;
1781
+ Qc(t: any): Aa;
1782
+ Wc(t: any): j;
1781
1783
  /** Returns 'true' if 'fieldPath' was traversed when creating this context. */ contains(t: any): boolean;
1782
- Fc(): void;
1783
- Kc(t: any): void;
1784
+ Lc(): void;
1785
+ Gc(t: any): void;
1784
1786
  }
1785
1787
  /**
1786
1788
  * @license
@@ -1798,9 +1800,9 @@ declare class Ko {
1798
1800
  * See the License for the specific language governing permissions and
1799
1801
  * limitations under the License.
1800
1802
  */
1801
- /** A field path and the TransformOperation to perform upon it. */ declare class tn {
1803
+ /** A field path and the TransformOperation to perform upon it. */ declare class Xe {
1802
1804
  constructor(t: any, e: any);
1803
1805
  field: any;
1804
1806
  transform: any;
1805
1807
  }
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, Q as FirestoreError, au as GeoPoint, Ba as LoadBundleTask, Ca as Query, Qu as QueryConstraint, Bu as QueryDocumentSnapshot, Uu as QuerySnapshot, Fu 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, F as _logWarn, Fh 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, Ga as enableIndexedDbPersistence, za as enableMultiTabIndexedDbPersistence, Xa as enableNetwork, rh as endAt, ih as endBefore, Qa 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, Wu as query, Ma 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, Mh as writeBatch };
1808
+ export { Th as AbstractUserDataWriter, ma as Bytes, Yu as CACHE_SIZE_UNLIMITED, Uu as CollectionReference, Bu as DocumentReference, Ha as DocumentSnapshot, wa as FieldPath, ga as FieldValue, Xu as Firestore, j as FirestoreError, ya as GeoPoint, Ju as LoadBundleTask, qu as Query, eh as QueryConstraint, Ja as QueryDocumentSnapshot, Ya as QuerySnapshot, za as SnapshotMetadata, ut as Timestamp, Bh as Transaction, Ah as WriteBatch, Vt as _DatabaseId, Nt as _DocumentKey, et as _EmptyAppCheckTokenProvider, z as _EmptyAuthCredentialsProvider, mt as _FieldPath, Ou as _cast, U as _debugAssert, yt as _isBase64Available, M as _logWarn, zh as _setIndexConfiguration, Cu as _validateIsNotUsedTogether, Oh as addDoc, jh as arrayRemove, Gh as arrayUnion, oa as clearIndexedDbPersistence, Ku as collection, Gu as collectionGroup, Lu as connectFirestoreEmulator, kh as deleteDoc, Uh as deleteField, aa as disableNetwork, ju as doc, _a as documentId, sa as enableIndexedDbPersistence, ia as enableMultiTabIndexedDbPersistence, ua as enableNetwork, _h as endAt, wh as endBefore, ea as ensureFirestoreConfigured, Mh as executeWrite, vh as getDoc, Ph as getDocFromCache, Vh as getDocFromServer, Sh as getDocs, Dh as getDocsFromCache, Ch as getDocsFromServer, ta as getFirestore, Qh as increment, Zu as initializeFirestore, uh as limit, ah as limitToLast, la as loadBundle, fa as namedQuery, Fh as onSnapshot, $h as onSnapshotsInSync, oh as orderBy, nh as query, Wu as queryEqual, Qu as refEqual, qh as runTransaction, Kh as serverTimestamp, Nh as setDoc, O as setLogLevel, Za as snapshotEqual, fh as startAfter, lh as startAt, ha as terminate, xh as updateDoc, ca as waitForPendingWrites, ih as where, Wh as writeBatch };