@firebase/firestore 3.4.5 → 3.4.6-canary.3198d58dc

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 (167) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/firestore/src/core/bundle.d.ts +2 -2
  3. package/dist/firestore/src/core/bundle_impl.d.ts +2 -0
  4. package/dist/firestore/src/core/query.d.ts +7 -0
  5. package/dist/firestore/src/core/snapshot_version.d.ts +1 -0
  6. package/dist/firestore/src/core/sync_engine_impl.d.ts +1 -1
  7. package/dist/firestore/src/index/index_entry.d.ts +6 -0
  8. package/dist/firestore/src/local/document_overlay_cache.d.ts +4 -5
  9. package/dist/firestore/src/local/index_manager.d.ts +2 -2
  10. package/dist/firestore/src/local/indexeddb_document_overlay_cache.d.ts +4 -5
  11. package/dist/firestore/src/local/indexeddb_index_manager.d.ts +48 -1
  12. package/dist/firestore/src/local/indexeddb_mutation_batch_impl.d.ts +2 -1
  13. package/dist/firestore/src/local/indexeddb_remote_document_cache.d.ts +0 -17
  14. package/dist/firestore/src/local/indexeddb_schema.d.ts +47 -563
  15. package/dist/firestore/src/local/indexeddb_schema_converter.d.ts +1 -0
  16. package/dist/firestore/src/local/indexeddb_schema_legacy.d.ts +29 -0
  17. package/dist/firestore/src/local/indexeddb_sentinels.d.ts +243 -0
  18. package/dist/firestore/src/local/indexeddb_target_cache.d.ts +2 -1
  19. package/dist/firestore/src/local/local_documents_view.d.ts +3 -4
  20. package/dist/firestore/src/local/local_serializer.d.ts +3 -1
  21. package/dist/firestore/src/local/local_store_impl.d.ts +1 -7
  22. package/dist/firestore/src/local/memory_document_overlay_cache.d.ts +4 -5
  23. package/dist/firestore/src/local/memory_index_manager.d.ts +1 -1
  24. package/dist/firestore/src/local/remote_document_cache.d.ts +13 -4
  25. package/dist/firestore/src/local/shared_client_state.d.ts +6 -3
  26. package/dist/firestore/src/local/shared_client_state_schema.d.ts +1 -1
  27. package/dist/firestore/src/local/shared_client_state_syncer.d.ts +1 -1
  28. package/dist/firestore/src/local/simple_db.d.ts +11 -0
  29. package/dist/firestore/src/model/collections.d.ts +7 -0
  30. package/dist/firestore/src/model/field_index.d.ts +10 -1
  31. package/dist/firestore/src/model/type_order.d.ts +2 -1
  32. package/dist/firestore/src/platform/node/base64.d.ts +1 -0
  33. package/dist/firestore/src/util/obj_map.d.ts +3 -0
  34. package/dist/firestore/test/unit/local/test_document_overlay_cache.d.ts +4 -4
  35. package/dist/firestore/test/unit/local/test_index_manager.d.ts +1 -1
  36. package/dist/firestore/test/unit/local/test_remote_document_cache.d.ts +3 -1
  37. package/dist/index.esm2017.js +4533 -4502
  38. package/dist/index.esm2017.js.map +1 -1
  39. package/dist/index.esm5.js +4455 -4308
  40. package/dist/index.esm5.js.map +1 -1
  41. package/dist/index.node.cjs.js +1606 -1180
  42. package/dist/index.node.cjs.js.map +1 -1
  43. package/dist/index.node.mjs +1606 -1180
  44. package/dist/index.node.mjs.map +1 -1
  45. package/dist/index.rn.js +4425 -4394
  46. package/dist/index.rn.js.map +1 -1
  47. package/dist/internal.d.ts +31 -10
  48. package/dist/lite/firestore/src/core/bundle.d.ts +2 -2
  49. package/dist/lite/firestore/src/core/bundle_impl.d.ts +2 -0
  50. package/dist/lite/firestore/src/core/query.d.ts +7 -0
  51. package/dist/lite/firestore/src/core/snapshot_version.d.ts +1 -0
  52. package/dist/lite/firestore/src/core/sync_engine_impl.d.ts +1 -1
  53. package/dist/lite/firestore/src/index/index_entry.d.ts +6 -0
  54. package/dist/lite/firestore/src/local/document_overlay_cache.d.ts +4 -5
  55. package/dist/lite/firestore/src/local/index_manager.d.ts +2 -2
  56. package/dist/lite/firestore/src/local/indexeddb_document_overlay_cache.d.ts +4 -5
  57. package/dist/lite/firestore/src/local/indexeddb_index_manager.d.ts +48 -1
  58. package/dist/lite/firestore/src/local/indexeddb_mutation_batch_impl.d.ts +2 -1
  59. package/dist/lite/firestore/src/local/indexeddb_remote_document_cache.d.ts +0 -17
  60. package/dist/lite/firestore/src/local/indexeddb_schema.d.ts +47 -563
  61. package/dist/lite/firestore/src/local/indexeddb_schema_converter.d.ts +1 -0
  62. package/dist/lite/firestore/src/local/indexeddb_schema_legacy.d.ts +29 -0
  63. package/dist/lite/firestore/src/local/indexeddb_sentinels.d.ts +243 -0
  64. package/dist/lite/firestore/src/local/indexeddb_target_cache.d.ts +2 -1
  65. package/dist/lite/firestore/src/local/local_documents_view.d.ts +3 -4
  66. package/dist/lite/firestore/src/local/local_serializer.d.ts +3 -1
  67. package/dist/lite/firestore/src/local/local_store_impl.d.ts +1 -7
  68. package/dist/lite/firestore/src/local/memory_document_overlay_cache.d.ts +4 -5
  69. package/dist/lite/firestore/src/local/memory_index_manager.d.ts +1 -1
  70. package/dist/lite/firestore/src/local/remote_document_cache.d.ts +13 -4
  71. package/dist/lite/firestore/src/local/shared_client_state.d.ts +6 -3
  72. package/dist/lite/firestore/src/local/shared_client_state_schema.d.ts +1 -1
  73. package/dist/lite/firestore/src/local/shared_client_state_syncer.d.ts +1 -1
  74. package/dist/lite/firestore/src/local/simple_db.d.ts +11 -0
  75. package/dist/lite/firestore/src/model/collections.d.ts +7 -0
  76. package/dist/lite/firestore/src/model/field_index.d.ts +10 -1
  77. package/dist/lite/firestore/src/model/type_order.d.ts +2 -1
  78. package/dist/lite/firestore/src/platform/node/base64.d.ts +1 -0
  79. package/dist/lite/firestore/src/util/obj_map.d.ts +3 -0
  80. package/dist/lite/firestore/test/unit/local/test_document_overlay_cache.d.ts +4 -4
  81. package/dist/lite/firestore/test/unit/local/test_index_manager.d.ts +1 -1
  82. package/dist/lite/firestore/test/unit/local/test_remote_document_cache.d.ts +3 -1
  83. package/dist/lite/index.browser.esm2017.js +37 -24
  84. package/dist/lite/index.browser.esm2017.js.map +1 -1
  85. package/dist/lite/index.browser.esm5.js +104 -113
  86. package/dist/lite/index.browser.esm5.js.map +1 -1
  87. package/dist/lite/index.node.cjs.js +24 -9
  88. package/dist/lite/index.node.cjs.js.map +1 -1
  89. package/dist/lite/index.node.mjs +24 -9
  90. package/dist/lite/index.node.mjs.map +1 -1
  91. package/dist/lite/index.rn.esm2017.js +37 -24
  92. package/dist/lite/index.rn.esm2017.js.map +1 -1
  93. package/dist/lite/internal.d.ts +1 -0
  94. package/dist/lite/packages/firestore/src/core/bundle.d.ts +2 -2
  95. package/dist/lite/packages/firestore/src/core/bundle_impl.d.ts +2 -0
  96. package/dist/lite/packages/firestore/src/core/query.d.ts +7 -0
  97. package/dist/lite/packages/firestore/src/core/snapshot_version.d.ts +1 -0
  98. package/dist/lite/packages/firestore/src/core/sync_engine_impl.d.ts +1 -1
  99. package/dist/lite/packages/firestore/src/index/index_entry.d.ts +6 -0
  100. package/dist/lite/packages/firestore/src/local/document_overlay_cache.d.ts +4 -5
  101. package/dist/lite/packages/firestore/src/local/index_manager.d.ts +2 -2
  102. package/dist/lite/packages/firestore/src/local/indexeddb_document_overlay_cache.d.ts +4 -5
  103. package/dist/lite/packages/firestore/src/local/indexeddb_index_manager.d.ts +48 -1
  104. package/dist/lite/packages/firestore/src/local/indexeddb_mutation_batch_impl.d.ts +2 -1
  105. package/dist/lite/packages/firestore/src/local/indexeddb_remote_document_cache.d.ts +0 -17
  106. package/dist/lite/packages/firestore/src/local/indexeddb_schema.d.ts +47 -563
  107. package/dist/lite/packages/firestore/src/local/indexeddb_schema_converter.d.ts +1 -0
  108. package/dist/lite/packages/firestore/src/local/indexeddb_schema_legacy.d.ts +29 -0
  109. package/dist/lite/packages/firestore/src/local/indexeddb_sentinels.d.ts +243 -0
  110. package/dist/lite/packages/firestore/src/local/indexeddb_target_cache.d.ts +2 -1
  111. package/dist/lite/packages/firestore/src/local/local_documents_view.d.ts +3 -4
  112. package/dist/lite/packages/firestore/src/local/local_serializer.d.ts +3 -1
  113. package/dist/lite/packages/firestore/src/local/local_store_impl.d.ts +1 -7
  114. package/dist/lite/packages/firestore/src/local/memory_document_overlay_cache.d.ts +4 -5
  115. package/dist/lite/packages/firestore/src/local/memory_index_manager.d.ts +1 -1
  116. package/dist/lite/packages/firestore/src/local/remote_document_cache.d.ts +13 -4
  117. package/dist/lite/packages/firestore/src/local/shared_client_state.d.ts +6 -3
  118. package/dist/lite/packages/firestore/src/local/shared_client_state_schema.d.ts +1 -1
  119. package/dist/lite/packages/firestore/src/local/shared_client_state_syncer.d.ts +1 -1
  120. package/dist/lite/packages/firestore/src/local/simple_db.d.ts +11 -0
  121. package/dist/lite/packages/firestore/src/model/collections.d.ts +7 -0
  122. package/dist/lite/packages/firestore/src/model/field_index.d.ts +10 -1
  123. package/dist/lite/packages/firestore/src/model/type_order.d.ts +2 -1
  124. package/dist/lite/packages/firestore/src/platform/node/base64.d.ts +1 -0
  125. package/dist/lite/packages/firestore/src/util/obj_map.d.ts +3 -0
  126. package/dist/lite/packages/firestore/test/unit/local/test_document_overlay_cache.d.ts +4 -4
  127. package/dist/lite/packages/firestore/test/unit/local/test_index_manager.d.ts +1 -1
  128. package/dist/lite/packages/firestore/test/unit/local/test_remote_document_cache.d.ts +3 -1
  129. package/dist/lite/private.d.ts +1 -0
  130. package/dist/packages/firestore/dist/index.esm2017.d.ts +197 -197
  131. package/dist/packages/firestore/src/core/bundle.d.ts +2 -2
  132. package/dist/packages/firestore/src/core/bundle_impl.d.ts +2 -0
  133. package/dist/packages/firestore/src/core/query.d.ts +7 -0
  134. package/dist/packages/firestore/src/core/snapshot_version.d.ts +1 -0
  135. package/dist/packages/firestore/src/core/sync_engine_impl.d.ts +1 -1
  136. package/dist/packages/firestore/src/index/index_entry.d.ts +6 -0
  137. package/dist/packages/firestore/src/local/document_overlay_cache.d.ts +4 -5
  138. package/dist/packages/firestore/src/local/index_manager.d.ts +2 -2
  139. package/dist/packages/firestore/src/local/indexeddb_document_overlay_cache.d.ts +4 -5
  140. package/dist/packages/firestore/src/local/indexeddb_index_manager.d.ts +48 -1
  141. package/dist/packages/firestore/src/local/indexeddb_mutation_batch_impl.d.ts +2 -1
  142. package/dist/packages/firestore/src/local/indexeddb_remote_document_cache.d.ts +0 -17
  143. package/dist/packages/firestore/src/local/indexeddb_schema.d.ts +47 -563
  144. package/dist/packages/firestore/src/local/indexeddb_schema_converter.d.ts +1 -0
  145. package/dist/packages/firestore/src/local/indexeddb_schema_legacy.d.ts +29 -0
  146. package/dist/packages/firestore/src/local/indexeddb_sentinels.d.ts +243 -0
  147. package/dist/packages/firestore/src/local/indexeddb_target_cache.d.ts +2 -1
  148. package/dist/packages/firestore/src/local/local_documents_view.d.ts +3 -4
  149. package/dist/packages/firestore/src/local/local_serializer.d.ts +3 -1
  150. package/dist/packages/firestore/src/local/local_store_impl.d.ts +1 -7
  151. package/dist/packages/firestore/src/local/memory_document_overlay_cache.d.ts +4 -5
  152. package/dist/packages/firestore/src/local/memory_index_manager.d.ts +1 -1
  153. package/dist/packages/firestore/src/local/remote_document_cache.d.ts +13 -4
  154. package/dist/packages/firestore/src/local/shared_client_state.d.ts +6 -3
  155. package/dist/packages/firestore/src/local/shared_client_state_schema.d.ts +1 -1
  156. package/dist/packages/firestore/src/local/shared_client_state_syncer.d.ts +1 -1
  157. package/dist/packages/firestore/src/local/simple_db.d.ts +11 -0
  158. package/dist/packages/firestore/src/model/collections.d.ts +7 -0
  159. package/dist/packages/firestore/src/model/field_index.d.ts +10 -1
  160. package/dist/packages/firestore/src/model/type_order.d.ts +2 -1
  161. package/dist/packages/firestore/src/platform/node/base64.d.ts +1 -0
  162. package/dist/packages/firestore/src/util/obj_map.d.ts +3 -0
  163. package/dist/packages/firestore/test/unit/local/test_document_overlay_cache.d.ts +4 -4
  164. package/dist/packages/firestore/test/unit/local/test_index_manager.d.ts +1 -1
  165. package/dist/packages/firestore/test/unit/local/test_remote_document_cache.d.ts +3 -1
  166. package/dist/private.d.ts +31 -10
  167. package/package.json +9 -9
@@ -19,14 +19,14 @@
19
19
  * to the user.
20
20
  *
21
21
  * @internal
22
- */ declare class xh {
22
+ */ declare class jh {
23
23
  convertValue(t: any, e?: string): any;
24
24
  convertObject(t: any, e: any): {};
25
- convertGeoPoint(t: any): Ca;
25
+ convertGeoPoint(t: any): Kc;
26
26
  convertArray(t: any, e: any): any;
27
27
  convertServerTimestamp(t: any, e: any): any;
28
- convertTimestamp(t: any): ut;
29
- convertDocumentKey(t: any, e: any): Nt;
28
+ convertTimestamp(t: any): at;
29
+ convertDocumentKey(t: any, e: any): xt;
30
30
  }
31
31
  /**
32
32
  * @license
@@ -46,18 +46,18 @@
46
46
  */
47
47
  /**
48
48
  * An immutable object representing an array of bytes.
49
- */ declare class Sa {
49
+ */ declare class qc {
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): Sa;
55
+ */ static fromBase64String(t: any): qc;
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): Sa;
60
+ */ static fromUint8Array(t: any): qc;
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 ha: -1;
102
+ /** DOMException error code constants. */ declare const Ac: -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 ea extends ta {
106
+ */ declare class _c extends dc {
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(): Zu | null;
116
+ */ get parent(): fc | 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 Zu {
138
+ */ declare class fc {
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(): ea;
157
- withConverter(t: any): Zu;
156
+ */ get parent(): _c;
157
+ withConverter(t: any): fc;
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 uh extends ih {
167
+ */ declare class Th extends gh {
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 va {
213
+ declare class Lc {
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 va {
245
245
  /**
246
246
  * Sentinel values that can be used when writing document fields with `set()`
247
247
  * or `update()`.
248
- */ declare class Da {
248
+ */ declare class Gc {
249
249
  /**
250
250
  * @param _methodName - The public API endpoint that returns this class.
251
251
  * @hideconstructor
@@ -258,10 +258,10 @@ declare class va {
258
258
  *
259
259
  * Do not call this constructor directly. Instead, use {@link getFirestore}.
260
260
  */
261
- declare class la extends Yu {
262
- _queue: ca;
261
+ declare class Rc extends hc {
262
+ _queue: Ic;
263
263
  }
264
- /** An error returned by a Firestore operation. */ declare class j extends u {
264
+ /** An error returned by a Firestore operation. */ declare class Q extends a {
265
265
  /** @hideconstructor */
266
266
  constructor(t: any, e: any);
267
267
  }
@@ -287,7 +287,7 @@ declare class la extends Yu {
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 Ca {
290
+ */ declare class Kc {
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 la extends Yu {
318
318
  * with an underscore.
319
319
  */ _compareTo(t: any): 0 | 1 | -1;
320
320
  }
321
- declare class aa {
321
+ declare class Ec {
322
322
  _progressObserver: {};
323
- _taskCompletionResolver: Q;
323
+ _taskCompletionResolver: j;
324
324
  _lastProgress: {
325
325
  taskState: string;
326
326
  totalBytes: number;
@@ -370,7 +370,7 @@ declare class aa {
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 ta {
373
+ */ declare class dc {
374
374
  /** @hideconstructor protected */
375
375
  constructor(t: any, e: any, n: any);
376
376
  converter: any;
@@ -378,7 +378,7 @@ declare class aa {
378
378
  /** The type of this Firestore reference. */
379
379
  type: string;
380
380
  firestore: any;
381
- withConverter(t: any): ta;
381
+ withConverter(t: any): dc;
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 aa {
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 _h {
390
+ */ declare class Vh {
391
391
  }
392
392
  /**
393
393
  * A `QueryDocumentSnapshot` contains data read from a document in your
@@ -399,7 +399,7 @@ declare class aa {
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 ah extends uh {
402
+ */ declare class Eh extends Th {
403
403
  }
404
404
  /**
405
405
  * A `QuerySnapshot` contains zero or more `DocumentSnapshot` objects
@@ -407,13 +407,13 @@ declare class aa {
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 hh {
410
+ */ declare class Ah {
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: ch;
416
+ metadata: Ih;
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 aa {
455
455
  */
456
456
  /**
457
457
  * Metadata about a snapshot, describing the state of the snapshot.
458
- */ declare class ch {
458
+ */ declare class Ih {
459
459
  /** @hideconstructor */
460
460
  constructor(t: any, e: any);
461
461
  hasPendingWrites: any;
@@ -497,19 +497,19 @@ declare class aa {
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 ut {
500
+ declare class at {
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(): ut;
505
+ */ static now(): at;
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): ut;
512
+ */ static fromDate(t: any): at;
513
513
  /**
514
514
  * Creates a new timestamp from the given number of milliseconds.
515
515
  *
@@ -517,7 +517,7 @@ declare class ut {
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): ut;
520
+ */ static fromMillis(t: any): at;
521
521
  /**
522
522
  * Creates a new timestamp.
523
523
  *
@@ -564,11 +564,11 @@ declare class ut {
564
564
  * to be compared using the `>`, `<=`, `>=` and `>` operators.
565
565
  */ valueOf(): string;
566
566
  }
567
- declare const Zh_base: {
567
+ declare const fl_base: {
568
568
  new (t: any, e: any): {
569
569
  _firestore: any;
570
570
  _transaction: any;
571
- _dataReader: $a;
571
+ _dataReader: Jc;
572
572
  /**
573
573
  * Reads the document referenced by the provided {@link DocumentReference}.
574
574
  *
@@ -607,7 +607,7 @@ declare const Zh_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 Zh extends Zh_base {
610
+ */ declare class fl extends fl_base {
611
611
  }
612
612
  /**
613
613
  * @license
@@ -632,22 +632,22 @@ declare const Zh_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 Mh {
635
+ */ declare class Hh {
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: $a;
643
- set(t: any, e: any, n: any): Mh;
644
- update(t: any, e: any, n: any, ...s: any[]): Mh;
642
+ _dataReader: Jc;
643
+ set(t: any, e: any, n: any): Hh;
644
+ update(t: any, e: any, n: any, ...s: any[]): Hh;
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): Mh;
650
+ */ delete(t: any): Hh;
651
651
  /**
652
652
  * Commits all of the writes in this write batch as a single atomic unit.
653
653
  *
@@ -667,8 +667,8 @@ declare const Zh_base: {
667
667
  * Represents the database ID a Firestore client is associated with.
668
668
  * @internal
669
669
  */
670
- declare class Vt {
671
- static empty(): Vt;
670
+ declare class vt {
671
+ static empty(): vt;
672
672
  constructor(t: any, e: any);
673
673
  projectId: any;
674
674
  database: any;
@@ -693,10 +693,10 @@ declare class Vt {
693
693
  */
694
694
  /**
695
695
  * @internal
696
- */ declare class Nt {
697
- static fromPath(t: any): Nt;
698
- static fromName(t: any): Nt;
699
- static empty(): Nt;
696
+ */ declare class xt {
697
+ static fromPath(t: any): xt;
698
+ static fromName(t: any): xt;
699
+ static empty(): xt;
700
700
  static comparator(t: any, e: any): 0 | 1 | -1;
701
701
  static isDocumentKey(t: any): boolean;
702
702
  /**
@@ -704,7 +704,7 @@ declare class Vt {
704
704
  *
705
705
  * @param segments - The segments of the path to the document
706
706
  * @returns A new instance of DocumentKey
707
- */ static fromSegments(t: any): Nt;
707
+ */ static fromSegments(t: any): xt;
708
708
  constructor(t: any);
709
709
  path: any;
710
710
  get collectionGroup(): any;
@@ -761,7 +761,7 @@ declare class Vt {
761
761
  * Returns true if this field references the key of a document.
762
762
  */ isKeyField(): boolean;
763
763
  }
764
- declare function zu(t: any, e: any): any;
764
+ declare function uc(t: any, e: any): any;
765
765
  /**
766
766
  * Fails if the given assertion condition is false, throwing an Error with the
767
767
  * given message if it did.
@@ -793,7 +793,7 @@ declare function zu(t: any, e: any): any;
793
793
  declare function yt(): boolean;
794
794
  /**
795
795
  * @internal
796
- */ declare function F(t: any, ...e: any[]): void;
796
+ */ declare function $(t: any, ...e: any[]): void;
797
797
  /**
798
798
  * @license
799
799
  * Copyright 2021 Google LLC
@@ -809,11 +809,11 @@ declare function yt(): boolean;
809
809
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
810
810
  * See the License for the specific language governing permissions and
811
811
  * limitations under the License.
812
- */ declare function cl(t: any, e: any): Promise<void>;
812
+ */ declare function Il(t: any, e: any): Promise<void>;
813
813
  /**
814
814
  * Validates that two boolean options are not set at the same time.
815
815
  * @internal
816
- */ declare function Gu(t: any, e: any, n: any, s: any): void;
816
+ */ declare function sc(t: any, e: any, n: any, s: any): void;
817
817
  /**
818
818
  * Add a new document to specified `CollectionReference` with the given data,
819
819
  * assigning it a document ID automatically.
@@ -823,7 +823,7 @@ declare function yt(): boolean;
823
823
  * @returns A `Promise` resolved with a `DocumentReference` pointing to the
824
824
  * newly created document after it has been written to the backend (Note that it
825
825
  * won't resolve while you're offline).
826
- */ declare function zh(t: any, e: any): Promise<Zu>;
826
+ */ declare function ul(t: any, e: any): Promise<fc>;
827
827
  /**
828
828
  * Returns a special value that can be used with {@link (setDoc:1)} or {@link
829
829
  * updateDoc:1} that tells the server to remove the given elements from any
@@ -834,7 +834,7 @@ declare function yt(): boolean;
834
834
  * @param elements - The elements to remove from the array.
835
835
  * @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
836
836
  * `updateDoc()`
837
- */ declare function il(...t: any[]): Ga;
837
+ */ declare function gl(...t: any[]): sh;
838
838
  /**
839
839
  * Returns a special value that can be used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link
840
840
  * @firebase/firestore/lite#(updateDoc:1)} that tells the server to union the given elements with any array
@@ -846,9 +846,9 @@ declare function yt(): boolean;
846
846
  * @param elements - The elements to union into the array.
847
847
  * @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
848
848
  * `updateDoc()`.
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
+ */ declare function ml(...t: any[]): nh;
850
+ declare function xc(t: any): Promise<any>;
851
+ declare function wc(t: any, e: any, ...n: any[]): _c;
852
852
  /**
853
853
  * Creates and returns a new `Query` instance that includes all documents in the
854
854
  * database that are contained in a collection or subcollection with the
@@ -859,15 +859,15 @@ declare function na(t: any, e: any, ...n: any[]): ea;
859
859
  * collection or subcollection with this ID as the last segment of its path
860
860
  * will be included. Cannot contain a slash.
861
861
  * @returns The created `Query`.
862
- */ declare function sa(t: any, e: any): ta;
863
- declare function Xu(t: any, e: any, n: any, s?: {}): void;
862
+ */ declare function mc(t: any, e: any): dc;
863
+ declare function lc(t: any, e: any, n: any, s?: {}): void;
864
864
  /**
865
865
  * Deletes the document referred to by the specified `DocumentReference`.
866
866
  *
867
867
  * @param reference - A reference to the document to delete.
868
868
  * @returns A Promise resolved once the document has been successfully
869
869
  * deleted from the backend (note that it won't resolve while you're offline).
870
- */ declare function Wh(t: any): Promise<any>;
870
+ */ declare function ol(t: any): Promise<any>;
871
871
  /**
872
872
  * @license
873
873
  * Copyright 2020 Google LLC
@@ -887,7 +887,7 @@ declare function Xu(t: any, e: any, n: any, s?: {}): void;
887
887
  /**
888
888
  * Returns a sentinel for use with {@link @firebase/firestore/lite#(updateDoc:1)} or
889
889
  * {@link @firebase/firestore/lite#(setDoc:1)} with `{merge: true}` to mark a field for deletion.
890
- */ declare function el(): La;
890
+ */ declare function _l(): Zc;
891
891
  /**
892
892
  * Disables network usage for this instance. It can be re-enabled via {@link
893
893
  * enableNetwork}. While the network is disabled, any snapshot listeners,
@@ -895,12 +895,12 @@ declare function Xu(t: any, e: any, n: any, s?: {}): void;
895
895
  * operations will be queued until the network is restored.
896
896
  *
897
897
  * @returns A `Promise` that is resolved once the network has been disabled.
898
- */ declare function Ta(t: any): any;
899
- declare function ia(t: any, e: any, ...n: any[]): Zu;
898
+ */ declare function Mc(t: any): any;
899
+ declare function gc(t: any, e: any, ...n: any[]): fc;
900
900
  /**
901
901
  * Returns a special sentinel `FieldPath` to refer to the ID of a document.
902
902
  * It can be used in queries to sort or filter by the document ID.
903
- */ declare function Va(): va;
903
+ */ declare function Uc(): Lc;
904
904
  /**
905
905
  * Attempts to enable persistent storage, if possible.
906
906
  *
@@ -923,7 +923,7 @@ declare function ia(t: any, e: any, ...n: any[]): Zu;
923
923
  * @param persistenceSettings - Optional settings object to configure
924
924
  * persistence.
925
925
  * @returns A `Promise` that represents successfully enabling persistent storage.
926
- */ declare function ma(t: any, e: any): any;
926
+ */ declare function Sc(t: any, e: any): any;
927
927
  /**
928
928
  * Attempts to enable multi-tab persistent storage, if possible. If enabled
929
929
  * across all tabs, all operations share access to local persistence, including
@@ -945,22 +945,22 @@ declare function ia(t: any, e: any, ...n: any[]): Zu;
945
945
  * @param firestore - The {@link Firestore} instance to enable persistence for.
946
946
  * @returns A `Promise` that represents successfully enabling persistent
947
947
  * storage.
948
- */ declare function ga(t: any): any;
948
+ */ declare function Dc(t: any): any;
949
949
  /**
950
950
  * Re-enables use of the network for this {@link Firestore} instance after a prior
951
951
  * call to {@link disableNetwork}.
952
952
  *
953
953
  * @returns A `Promise` that is resolved once the network has been enabled.
954
- */ declare function Ea(t: any): any;
955
- declare function Vh(...t: any[]): bh;
956
- declare function vh(...t: any[]): bh;
954
+ */ declare function kc(t: any): any;
955
+ declare function Uh(...t: any[]): Bh;
956
+ declare function Lh(...t: any[]): Bh;
957
957
  /**
958
958
  * @internal
959
- */ declare function _a(t: any): any;
959
+ */ declare function Vc(t: any): any;
960
960
  /**
961
961
  * Locally writes `mutations` on the async queue.
962
962
  * @internal
963
- */ declare function Yh(t: any, e: any): Promise<any>;
963
+ */ declare function hl(t: any, e: any): Promise<any>;
964
964
  /**
965
965
  * @license
966
966
  * Copyright 2020 Google LLC
@@ -1012,21 +1012,21 @@ declare function vh(...t: any[]): bh;
1012
1012
  * @returns A Promise resolved with a `DocumentSnapshot` containing the
1013
1013
  * current document contents.
1014
1014
  */
1015
- declare function Fh(t: any): Promise<uh>;
1015
+ declare function Yh(t: any): Promise<Th>;
1016
1016
  /**
1017
1017
  * Reads the document referred to by this `DocumentReference` from cache.
1018
1018
  * Returns an error if the document is not currently cached.
1019
1019
  *
1020
1020
  * @returns A `Promise` resolved with a `DocumentSnapshot` containing the
1021
1021
  * current document contents.
1022
- */ declare function Lh(t: any): Promise<uh>;
1022
+ */ declare function Zh(t: any): Promise<Th>;
1023
1023
  /**
1024
1024
  * Reads the document referred to by this `DocumentReference` from the server.
1025
1025
  * Returns an error if the network is not available.
1026
1026
  *
1027
1027
  * @returns A `Promise` resolved with a `DocumentSnapshot` containing the
1028
1028
  * current document contents.
1029
- */ declare function Uh(t: any): Promise<uh>;
1029
+ */ declare function tl(t: any): Promise<Th>;
1030
1030
  /**
1031
1031
  * Executes the query and returns the results as a `QuerySnapshot`.
1032
1032
  *
@@ -1036,19 +1036,19 @@ declare function Fh(t: any): Promise<uh>;
1036
1036
  * invoke {@link getDocsFromCache} or {@link getDocsFromServer}.
1037
1037
  *
1038
1038
  * @returns A `Promise` that will be resolved with the results of the query.
1039
- */ declare function qh(t: any): Promise<hh>;
1039
+ */ declare function el(t: any): Promise<Ah>;
1040
1040
  /**
1041
1041
  * Executes the query and returns the results as a `QuerySnapshot` from cache.
1042
1042
  * Returns an error if the document is not currently cached.
1043
1043
  *
1044
1044
  * @returns A `Promise` that will be resolved with the results of the query.
1045
- */ declare function Kh(t: any): Promise<hh>;
1045
+ */ declare function nl(t: any): Promise<Ah>;
1046
1046
  /**
1047
1047
  * Executes the query and returns the results as a `QuerySnapshot` from the
1048
1048
  * server. Returns an error if the network is not available.
1049
1049
  *
1050
1050
  * @returns A `Promise` that will be resolved with the results of the query.
1051
- */ declare function Gh(t: any): Promise<hh>;
1051
+ */ declare function sl(t: any): Promise<Ah>;
1052
1052
  /**
1053
1053
  * Returns the existing {@link Firestore} instance that is associated with the
1054
1054
  * provided {@link @firebase/app#FirebaseApp}. If no instance exists, initializes a new
@@ -1057,7 +1057,7 @@ declare function Fh(t: any): Promise<uh>;
1057
1057
  * @param app - The {@link @firebase/app#FirebaseApp} instance that the returned {@link Firestore}
1058
1058
  * instance is associated with.
1059
1059
  * @returns The {@link Firestore} instance of the provided app.
1060
- */ declare function da(e?: import("@firebase/app").FirebaseApp): import("../src").Firestore;
1060
+ */ declare function Pc(e?: import("@firebase/app").FirebaseApp): import("../src").Firestore;
1061
1061
  /**
1062
1062
  * Returns a special value that can be used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link
1063
1063
  * @firebase/firestore/lite#(updateDoc:1)} that tells the server to increment the field's current value by
@@ -1076,7 +1076,7 @@ declare function Fh(t: any): Promise<uh>;
1076
1076
  * @param n - The value to increment by.
1077
1077
  * @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
1078
1078
  * `updateDoc()`
1079
- */ declare function rl(t: any): ja;
1079
+ */ declare function yl(t: any): ih;
1080
1080
  /**
1081
1081
  * Initializes a new instance of {@link Firestore} with the provided settings.
1082
1082
  * Can only be called before any other function, including
@@ -1087,13 +1087,13 @@ declare function Fh(t: any): Promise<uh>;
1087
1087
  * be associated.
1088
1088
  * @param settings - A settings object to configure the {@link Firestore} instance.
1089
1089
  * @returns A newly initialized {@link Firestore} instance.
1090
- */ declare function fa(t: any, e: any): import("../src").Firestore;
1090
+ */ declare function bc(t: any, e: any): import("../src").Firestore;
1091
1091
  /**
1092
1092
  * Creates a {@link QueryConstraint} that only returns the first matching documents.
1093
1093
  *
1094
1094
  * @param limit - The maximum number of items to return.
1095
1095
  * @returns The created {@link Query}.
1096
- */ declare function Eh(t: any): Ih;
1096
+ */ declare function kh(t: any): Nh;
1097
1097
  /**
1098
1098
  * Creates a {@link QueryConstraint} that only returns the last matching documents.
1099
1099
  *
@@ -1102,7 +1102,7 @@ declare function Fh(t: any): Promise<uh>;
1102
1102
  *
1103
1103
  * @param limit - The maximum number of items to return.
1104
1104
  * @returns The created {@link Query}.
1105
- */ declare function Th(t: any): Ih;
1105
+ */ declare function Mh(t: any): Nh;
1106
1106
  /**
1107
1107
  * Loads a Firestore bundle into the local cache.
1108
1108
  *
@@ -1113,7 +1113,7 @@ declare function Fh(t: any): Promise<uh>;
1113
1113
  * @returns A `LoadBundleTask` object, which notifies callers with progress
1114
1114
  * updates, and completion or error events. It can be used as a
1115
1115
  * `Promise<LoadBundleTaskProgress>`.
1116
- */ declare function Ra(t: any, e: any): aa;
1116
+ */ declare function Fc(t: any, e: any): Ec;
1117
1117
  /**
1118
1118
  * Reads a Firestore {@link Query} from local cache, identified by the given
1119
1119
  * name.
@@ -1125,9 +1125,9 @@ declare function Fh(t: any): Promise<uh>;
1125
1125
  * @param firestore - The {@link Firestore} instance to read the query from.
1126
1126
  * @param name - The name of the query.
1127
1127
  * @returns A `Promise` that is resolved with the Query or `null`.
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
+ */ declare function $c(t: any, e: any): any;
1129
+ declare function al(t: any, ...e: any[]): () => void;
1130
+ declare function cl(t: any, e: any): () => void;
1131
1131
  /**
1132
1132
  * Creates a {@link QueryConstraint} that sorts the query result by the
1133
1133
  * specified field, optionally in descending order instead of ascending.
@@ -1136,7 +1136,7 @@ declare function Jh(t: any, e: any): () => void;
1136
1136
  * @param directionStr - Optional direction to sort by ('asc' or 'desc'). If
1137
1137
  * not specified, order will be ascending.
1138
1138
  * @returns The created {@link Query}.
1139
- */ declare function ph(t: any, e?: string): yh;
1139
+ */ declare function xh(t: any, e?: string): Ch;
1140
1140
  /**
1141
1141
  * Creates a new immutable instance of {@link Query} that is extended to also include
1142
1142
  * additional query constraints.
@@ -1145,7 +1145,7 @@ declare function Jh(t: any, e: any): () => void;
1145
1145
  * @param queryConstraints - The list of {@link QueryConstraint}s to apply.
1146
1146
  * @throws if any of the provided query constraints cannot be combined with the
1147
1147
  * existing or new constraints.
1148
- */ declare function wh(t: any, ...e: any[]): any;
1148
+ */ declare function vh(t: any, ...e: any[]): any;
1149
1149
  /**
1150
1150
  * Returns true if the provided queries point to the same collection and apply
1151
1151
  * the same constraints.
@@ -1154,7 +1154,7 @@ declare function Jh(t: any, e: any): () => void;
1154
1154
  * @param right - A `Query` to compare.
1155
1155
  * @returns true if the references point to the same location in the same
1156
1156
  * Firestore database.
1157
- */ declare function oa(t: any, e: any): boolean;
1157
+ */ declare function pc(t: any, e: any): boolean;
1158
1158
  /**
1159
1159
  * Returns true if the provided references are equal.
1160
1160
  *
@@ -1162,7 +1162,7 @@ declare function Jh(t: any, e: any): () => void;
1162
1162
  * @param right - A reference to compare.
1163
1163
  * @returns true if the references point to the same location in the same
1164
1164
  * Firestore database.
1165
- */ declare function ra(t: any, e: any): boolean;
1165
+ */ declare function yc(t: any, e: any): boolean;
1166
1166
  /**
1167
1167
  * Executes the given `updateFunction` and then attempts to commit the changes
1168
1168
  * applied within the transaction. If any document read within the transaction
@@ -1179,12 +1179,12 @@ declare function Jh(t: any, e: any): () => void;
1179
1179
  * (the `updateFunction` returned a failed promise), the promise returned by the
1180
1180
  * `updateFunction `is returned here. Otherwise, if the transaction failed, a
1181
1181
  * rejected promise with the corresponding failure error is returned.
1182
- */ declare function tl(t: any, e: any): Promise<any>;
1182
+ */ declare function dl(t: any, e: any): Promise<any>;
1183
1183
  /**
1184
1184
  * Returns a sentinel used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link @firebase/firestore/lite#(updateDoc:1)} to
1185
1185
  * include a server-generated timestamp in the written data.
1186
- */ declare function nl(): qa;
1187
- declare function jh(t: any, e: any, n: any): Promise<any>;
1186
+ */ declare function wl(): eh;
1187
+ declare function il(t: any, e: any, n: any): Promise<any>;
1188
1188
  /**
1189
1189
  * Sets the verbosity of Cloud Firestore logs (debug, error, or silent).
1190
1190
  *
@@ -1197,16 +1197,16 @@ declare function jh(t: any, e: any, n: any): Promise<any>;
1197
1197
  * <li>`error` to log errors only.</li>
1198
1198
  * <li><code>`silent` to turn off logging.</li>
1199
1199
  * </ul>
1200
- */ declare function O(t: any): void;
1200
+ */ declare function M(t: any): void;
1201
1201
  /**
1202
1202
  * Returns true if the provided snapshots are equal.
1203
1203
  *
1204
1204
  * @param left - A snapshot to compare.
1205
1205
  * @param right - A snapshot to compare.
1206
1206
  * @returns true if the snapshots are equal.
1207
- */ declare function fh(t: any, e: any): any;
1208
- declare function Ph(...t: any[]): Ah;
1209
- declare function Rh(...t: any[]): Ah;
1207
+ */ declare function bh(t: any, e: any): any;
1208
+ declare function $h(...t: any[]): Oh;
1209
+ declare function Fh(...t: any[]): Oh;
1210
1210
  /**
1211
1211
  * Terminates the provided {@link Firestore} instance.
1212
1212
  *
@@ -1228,8 +1228,8 @@ declare function Rh(...t: any[]): Ah;
1228
1228
  *
1229
1229
  * @returns A `Promise` that is resolved when the instance has been successfully
1230
1230
  * terminated.
1231
- */ declare function Aa(t: any): any;
1232
- declare function Qh(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1231
+ */ declare function Oc(t: any): any;
1232
+ declare function rl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1233
1233
  /**
1234
1234
  * Waits until all currently pending writes for the active user have been
1235
1235
  * acknowledged by the backend.
@@ -1245,7 +1245,7 @@ declare function Qh(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1245
1245
  *
1246
1246
  * @returns A `Promise` which resolves when all currently pending writes have been
1247
1247
  * acknowledged by the backend.
1248
- */ declare function Ia(t: any): Promise<any>;
1248
+ */ declare function Nc(t: any): Promise<any>;
1249
1249
  /**
1250
1250
  * Creates a {@link QueryConstraint} that enforces that documents must contain the
1251
1251
  * specified field and that the value should satisfy the relation constraint
@@ -1256,7 +1256,7 @@ declare function Qh(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1256
1256
  * "&lt;=", "!=").
1257
1257
  * @param value - The value for comparison
1258
1258
  * @returns The created {@link Query}.
1259
- */ declare function gh(t: any, e: any, n: any): mh;
1259
+ */ declare function Dh(t: any, e: any, n: any): Sh;
1260
1260
  /**
1261
1261
  * @license
1262
1262
  * Copyright 2020 Google LLC
@@ -1283,7 +1283,7 @@ declare function Qh(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1283
1283
  *
1284
1284
  * @returns A {@link WriteBatch} that can be used to atomically execute multiple
1285
1285
  * writes.
1286
- */ declare function ol(t: any): Mh;
1286
+ */ declare function pl(t: any): Hh;
1287
1287
  /**
1288
1288
  * @license
1289
1289
  * Copyright 2020 Google LLC
@@ -1308,7 +1308,7 @@ declare function Qh(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1308
1308
  * For a `DocumentSnapshot` that points to a non-existing document, any data
1309
1309
  * access will return 'undefined'. You can use the `exists()` method to
1310
1310
  * explicitly verify a document's existence.
1311
- */ declare class ih {
1311
+ */ declare class gh {
1312
1312
  /** @hideconstructor protected */
1313
1313
  constructor(t: any, e: any, n: any, s: any, i: any);
1314
1314
  _firestore: any;
@@ -1319,7 +1319,7 @@ declare function Qh(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1319
1319
  /** Property of the `DocumentSnapshot` that provides the document's ID. */ get id(): any;
1320
1320
  /**
1321
1321
  * The `DocumentReference` for the document included in the `DocumentSnapshot`.
1322
- */ get ref(): Zu;
1322
+ */ get ref(): fc;
1323
1323
  /**
1324
1324
  * Signals whether or not the document at the snapshot's location exists.
1325
1325
  *
@@ -1363,7 +1363,7 @@ declare function Qh(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1363
1363
  * The Cloud Firestore service interface.
1364
1364
  *
1365
1365
  * Do not call this constructor directly. Instead, use {@link getFirestore}.
1366
- */ declare class Yu {
1366
+ */ declare class hc {
1367
1367
  /** @hideconstructor */
1368
1368
  constructor(t: any, e: any, n: any);
1369
1369
  _authCredentials: any;
@@ -1373,9 +1373,9 @@ declare function Qh(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1373
1373
  */
1374
1374
  type: string;
1375
1375
  _persistenceKey: string;
1376
- _settings: Ju;
1376
+ _settings: cc;
1377
1377
  _settingsFrozen: boolean;
1378
- _databaseId: Vt;
1378
+ _databaseId: vt;
1379
1379
  _app: any;
1380
1380
  /**
1381
1381
  * The {@link @firebase/app#FirebaseApp} associated with this `Firestore` service
@@ -1384,14 +1384,14 @@ declare function Qh(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1384
1384
  get _initialized(): boolean;
1385
1385
  get _terminated(): boolean;
1386
1386
  _setSettings(t: any): void;
1387
- _getSettings(): Ju;
1388
- _freezeSettings(): Ju;
1387
+ _getSettings(): cc;
1388
+ _freezeSettings(): cc;
1389
1389
  _delete(): Promise<void>;
1390
1390
  _terminateTask: Promise<void> | undefined;
1391
1391
  /** Returns a JSON-serializable representation of this `Firestore` instance. */ toJSON(): {
1392
1392
  app: any;
1393
- databaseId: Vt;
1394
- settings: Ju;
1393
+ databaseId: vt;
1394
+ settings: cc;
1395
1395
  };
1396
1396
  /**
1397
1397
  * Terminates all components used by this client. Subclasses can override
@@ -1416,17 +1416,17 @@ declare function Qh(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1416
1416
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1417
1417
  * See the License for the specific language governing permissions and
1418
1418
  * limitations under the License.
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;
1419
+ */ declare class Ic {
1420
+ Na: Promise<void>;
1421
+ ka: any[];
1422
+ Ma: boolean;
1423
+ Oa: any[];
1424
+ Fa: any;
1425
+ $a: boolean;
1426
+ Ba: boolean;
1427
+ La: any[];
1428
+ So: Ko;
1429
+ Ua: () => void;
1430
1430
  get isShuttingDown(): boolean;
1431
1431
  /**
1432
1432
  * Adds a new operation to the queue without waiting for it to complete (i.e.
@@ -1439,32 +1439,32 @@ declare function Qh(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1439
1439
  /**
1440
1440
  * Runs the next operation from the retryable queue. If the operation fails,
1441
1441
  * reschedules with backoff.
1442
- */ Eu(): Promise<void>;
1443
- Iu(t: any): Promise<any>;
1444
- enqueueAfterDelay(t: any, e: any, n: any): fc;
1445
- pu(): void;
1442
+ */ Ka(): Promise<void>;
1443
+ Ga(t: any): Promise<any>;
1444
+ enqueueAfterDelay(t: any, e: any, n: any): bu;
1445
+ qa(): void;
1446
1446
  verifyOperationInProgress(): void;
1447
1447
  /**
1448
1448
  * Waits until all currently queued tasks are finished executing. Delayed
1449
1449
  * operations are not run.
1450
- */ Au(): Promise<void>;
1450
+ */ ja(): Promise<void>;
1451
1451
  /**
1452
1452
  * For Tests: Determine if a delayed operation with a particular TimerId
1453
1453
  * exists.
1454
- */ Ru(t: any): boolean;
1454
+ */ Wa(t: any): boolean;
1455
1455
  /**
1456
1456
  * For Tests: Runs some or all delayed operations early.
1457
1457
  *
1458
1458
  * @param lastTimerId - Delayed operations up to and including this TimerId
1459
1459
  * will be drained. Pass TimerId.All to run all delayed operations.
1460
1460
  * @returns a Promise that resolves once all operations have been run.
1461
- */ Pu(t: any): Promise<void>;
1461
+ */ za(t: any): Promise<void>;
1462
1462
  /**
1463
1463
  * For Tests: Skip all subsequent delays for a timer id.
1464
- */ bu(t: any): void;
1465
- /** Called once a DelayedOperation is run or canceled. */ Tu(t: any): void;
1464
+ */ Ha(t: any): void;
1465
+ /** Called once a DelayedOperation is run or canceled. */ Qa(t: any): void;
1466
1466
  }
1467
- import { FirebaseError as u } from "@firebase/util/dist/src/errors";
1467
+ import { FirebaseError as a } from "@firebase/util/dist/src/errors";
1468
1468
  /**
1469
1469
  * @license
1470
1470
  * Copyright 2017 Google LLC
@@ -1480,7 +1480,7 @@ import { FirebaseError as u } from "@firebase/util/dist/src/errors";
1480
1480
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1481
1481
  * See the License for the specific language governing permissions and
1482
1482
  * limitations under the License.
1483
- */ declare class Q {
1483
+ */ declare class j {
1484
1484
  promise: Promise<any>;
1485
1485
  resolve: (value: any) => void;
1486
1486
  reject: (reason?: any) => void;
@@ -1488,12 +1488,12 @@ import { FirebaseError as u } from "@firebase/util/dist/src/errors";
1488
1488
  /**
1489
1489
  * Helper for parsing raw user input (provided via the API) into internal model
1490
1490
  * classes.
1491
- */ declare class $a {
1491
+ */ declare class Jc {
1492
1492
  constructor(t: any, e: any, n: any);
1493
1493
  databaseId: any;
1494
1494
  ignoreUndefinedProperties: any;
1495
- O: any;
1496
- /** Creates a new top-level parse context. */ Fu(t: any, e: any, n: any, s?: boolean): Ma;
1495
+ M: any;
1496
+ /** Creates a new top-level parse context. */ uc(t: any, e: any, n: any, s?: boolean): Hc;
1497
1497
  }
1498
1498
  declare class Z {
1499
1499
  constructor(t: any);
@@ -1541,67 +1541,67 @@ declare class dt {
1541
1541
  forEach(t: any): void;
1542
1542
  toArray(): any;
1543
1543
  }
1544
- declare class Ga extends Da {
1544
+ declare class sh extends Gc {
1545
1545
  constructor(t: any, e: any);
1546
- Bu: any;
1547
- _toFieldTransform(t: any): Ze;
1546
+ ac: any;
1547
+ _toFieldTransform(t: any): ln;
1548
1548
  isEqual(t: any): boolean;
1549
1549
  }
1550
- declare class Ka extends Da {
1550
+ declare class nh extends Gc {
1551
1551
  constructor(t: any, e: any);
1552
- Bu: any;
1553
- _toFieldTransform(t: any): Ze;
1552
+ ac: any;
1553
+ _toFieldTransform(t: any): ln;
1554
1554
  isEqual(t: any): boolean;
1555
1555
  }
1556
- declare class La extends Da {
1556
+ declare class Zc extends Gc {
1557
1557
  _toFieldTransform(t: any): null;
1558
1558
  isEqual(t: any): boolean;
1559
1559
  }
1560
- declare class bh extends _h {
1560
+ declare class Bh extends Vh {
1561
1561
  constructor(t: any, e: any, n: any);
1562
1562
  type: any;
1563
- Wu: any;
1564
- zu: any;
1565
- _apply(t: any): ta;
1563
+ mc: any;
1564
+ gc: any;
1565
+ _apply(t: any): dc;
1566
1566
  }
1567
- declare class ja extends Da {
1567
+ declare class ih extends Gc {
1568
1568
  constructor(t: any, e: any);
1569
- Lu: any;
1570
- _toFieldTransform(t: any): Ze;
1569
+ cc: any;
1570
+ _toFieldTransform(t: any): ln;
1571
1571
  isEqual(t: any): boolean;
1572
1572
  }
1573
- declare class Ih extends _h {
1573
+ declare class Nh extends Vh {
1574
1574
  constructor(t: any, e: any, n: any);
1575
1575
  type: any;
1576
- ju: any;
1577
- Qu: any;
1578
- _apply(t: any): ta;
1576
+ _c: any;
1577
+ wc: any;
1578
+ _apply(t: any): dc;
1579
1579
  }
1580
- declare class yh extends _h {
1580
+ declare class Ch extends Vh {
1581
1581
  constructor(t: any, e: any);
1582
- Uu: any;
1583
- Gu: any;
1582
+ hc: any;
1583
+ dc: any;
1584
1584
  type: string;
1585
- _apply(t: any): ta;
1585
+ _apply(t: any): dc;
1586
1586
  }
1587
- declare class qa extends Da {
1588
- _toFieldTransform(t: any): Ze;
1587
+ declare class eh extends Gc {
1588
+ _toFieldTransform(t: any): ln;
1589
1589
  isEqual(t: any): boolean;
1590
1590
  }
1591
- declare class Ah extends _h {
1591
+ declare class Oh extends Vh {
1592
1592
  constructor(t: any, e: any, n: any);
1593
1593
  type: any;
1594
- Wu: any;
1595
- zu: any;
1596
- _apply(t: any): ta;
1594
+ mc: any;
1595
+ gc: any;
1596
+ _apply(t: any): dc;
1597
1597
  }
1598
- declare class mh extends _h {
1598
+ declare class Sh extends Vh {
1599
1599
  constructor(t: any, e: any, n: any);
1600
- Uu: any;
1601
- qu: any;
1602
- Ku: any;
1600
+ hc: any;
1601
+ lc: any;
1602
+ fc: any;
1603
1603
  type: string;
1604
- _apply(t: any): ta;
1604
+ _apply(t: any): dc;
1605
1605
  }
1606
1606
  /**
1607
1607
  * @license
@@ -1624,7 +1624,7 @@ declare class mh extends _h {
1624
1624
  * user-supplied `FirestoreSettings` object. This is a separate type so that
1625
1625
  * defaults can be supplied and the value can be checked for equality.
1626
1626
  */
1627
- declare class Ju {
1627
+ declare class cc {
1628
1628
  constructor(t: any);
1629
1629
  host: any;
1630
1630
  ssl: any;
@@ -1648,17 +1648,17 @@ declare class Ju {
1648
1648
  * base delay. This prevents clients from accidentally synchronizing their
1649
1649
  * delays causing spikes of load to the backend.
1650
1650
  */
1651
- declare class Co {
1651
+ declare class Ko {
1652
1652
  constructor(t: any, e: any, n?: number, s?: number, i?: number);
1653
- Sn: any;
1653
+ Jn: any;
1654
1654
  timerId: any;
1655
- qr: number;
1656
- Kr: number;
1657
- Gr: number;
1658
- jr: number;
1659
- Qr: any;
1655
+ lo: number;
1656
+ fo: number;
1657
+ _o: number;
1658
+ wo: number;
1659
+ mo: any;
1660
1660
  /** The last backoff attempt, as epoch milliseconds. */
1661
- Wr: number;
1661
+ yo: number;
1662
1662
  /**
1663
1663
  * Resets the backoff delay.
1664
1664
  *
@@ -1669,15 +1669,15 @@ declare class Co {
1669
1669
  /**
1670
1670
  * Resets the backoff delay to the maximum delay (e.g. for use after a
1671
1671
  * RESOURCE_EXHAUSTED error).
1672
- */ zr(): void;
1672
+ */ po(): void;
1673
1673
  /**
1674
1674
  * Returns a promise that resolves after currentDelayMs, and increases the
1675
1675
  * delay for any subsequent attempts. If there was a pending backoff operation
1676
1676
  * already, it will be canceled.
1677
- */ Hr(t: any): void;
1678
- Yr(): void;
1677
+ */ Io(t: any): void;
1678
+ Eo(): void;
1679
1679
  cancel(): void;
1680
- /** Returns a random value in the range [-currentBaseMs/2, currentBaseMs/2] */ Jr(): number;
1680
+ /** Returns a random value in the range [-currentBaseMs/2, currentBaseMs/2] */ To(): number;
1681
1681
  }
1682
1682
  /**
1683
1683
  * @license
@@ -1706,7 +1706,7 @@ declare class Co {
1706
1706
  * in newer versions of TypeScript defines `finally`, which is not available in
1707
1707
  * IE.
1708
1708
  */
1709
- declare class fc {
1709
+ declare class bu {
1710
1710
  /**
1711
1711
  * Creates and returns a DelayedOperation that has been scheduled to be
1712
1712
  * executed on the provided asyncQueue after the provided delayMs.
@@ -1720,14 +1720,14 @@ declare class fc {
1720
1720
  * from its delayedOperations list.
1721
1721
  * PORTING NOTE: This exists to prevent making removeDelayedOperation() and
1722
1722
  * the DelayedOperation class public.
1723
- */ static createAndSchedule(t: any, e: any, n: any, s: any, i: any): fc;
1723
+ */ static createAndSchedule(t: any, e: any, n: any, s: any, i: any): bu;
1724
1724
  constructor(t: any, e: any, n: any, s: any, i: any);
1725
1725
  asyncQueue: any;
1726
1726
  timerId: any;
1727
1727
  targetTimeMs: any;
1728
1728
  op: any;
1729
1729
  removalCallback: any;
1730
- deferred: Q;
1730
+ deferred: j;
1731
1731
  then: <TResult1 = any, TResult2 = never>(onfulfilled?: ((value: any) => TResult1 | PromiseLike<TResult1>) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null | undefined) => Promise<TResult1 | TResult2>;
1732
1732
  /**
1733
1733
  * Starts the timer. This is called immediately after construction by
@@ -1748,7 +1748,7 @@ declare class fc {
1748
1748
  handleDelayElapsed(): void;
1749
1749
  clearTimeout(): void;
1750
1750
  }
1751
- /** A "context" object passed around while parsing user data. */ declare class Ma {
1751
+ /** A "context" object passed around while parsing user data. */ declare class Hc {
1752
1752
  /**
1753
1753
  * Initializes a ParseContext with the given source and path.
1754
1754
  *
@@ -1770,20 +1770,20 @@ declare class fc {
1770
1770
  constructor(t: any, e: any, n: any, s: any, i: any, r: any);
1771
1771
  settings: any;
1772
1772
  databaseId: any;
1773
- O: any;
1773
+ M: any;
1774
1774
  ignoreUndefinedProperties: any;
1775
1775
  fieldTransforms: any;
1776
1776
  fieldMask: any;
1777
1777
  get path(): any;
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;
1778
+ get Ya(): any;
1779
+ /** Returns a new context with the specified settings overwritten. */ Xa(t: any): Hc;
1780
+ Za(t: any): Hc;
1781
+ nc(t: any): Hc;
1782
+ sc(t: any): Hc;
1783
+ ic(t: any): Q;
1784
1784
  /** Returns 'true' if 'fieldPath' was traversed when creating this context. */ contains(t: any): boolean;
1785
- vu(): void;
1786
- Nu(t: any): void;
1785
+ Ja(): void;
1786
+ ec(t: any): void;
1787
1787
  }
1788
1788
  /**
1789
1789
  * @license
@@ -1801,9 +1801,9 @@ declare class fc {
1801
1801
  * See the License for the specific language governing permissions and
1802
1802
  * limitations under the License.
1803
1803
  */
1804
- /** A field path and the TransformOperation to perform upon it. */ declare class Ze {
1804
+ /** A field path and the TransformOperation to perform upon it. */ declare class ln {
1805
1805
  constructor(t: any, e: any);
1806
1806
  field: any;
1807
1807
  transform: any;
1808
1808
  }
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 };
1809
+ export { jh as AbstractUserDataWriter, qc as Bytes, Ac as CACHE_SIZE_UNLIMITED, _c as CollectionReference, fc as DocumentReference, Th as DocumentSnapshot, Lc as FieldPath, Gc as FieldValue, Rc as Firestore, Q as FirestoreError, Kc as GeoPoint, Ec as LoadBundleTask, dc as Query, Vh as QueryConstraint, Eh as QueryDocumentSnapshot, Ah as QuerySnapshot, Ih as SnapshotMetadata, at as Timestamp, fl as Transaction, Hh as WriteBatch, vt as _DatabaseId, xt as _DocumentKey, et as _EmptyAppCheckTokenProvider, z as _EmptyAuthCredentialsProvider, mt as _FieldPath, uc as _cast, q as _debugAssert, yt as _isBase64Available, $ as _logWarn, Il as _setIndexConfiguration, sc as _validateIsNotUsedTogether, ul as addDoc, gl as arrayRemove, ml as arrayUnion, xc as clearIndexedDbPersistence, wc as collection, mc as collectionGroup, lc as connectFirestoreEmulator, ol as deleteDoc, _l as deleteField, Mc as disableNetwork, gc as doc, Uc as documentId, Sc as enableIndexedDbPersistence, Dc as enableMultiTabIndexedDbPersistence, kc as enableNetwork, Uh as endAt, Lh as endBefore, Vc as ensureFirestoreConfigured, hl as executeWrite, Yh as getDoc, Zh as getDocFromCache, tl as getDocFromServer, el as getDocs, nl as getDocsFromCache, sl as getDocsFromServer, Pc as getFirestore, yl as increment, bc as initializeFirestore, kh as limit, Mh as limitToLast, Fc as loadBundle, $c as namedQuery, al as onSnapshot, cl as onSnapshotsInSync, xh as orderBy, vh as query, pc as queryEqual, yc as refEqual, dl as runTransaction, wl as serverTimestamp, il as setDoc, M as setLogLevel, bh as snapshotEqual, $h as startAfter, Fh as startAt, Oc as terminate, rl as updateDoc, Nc as waitForPendingWrites, Dh as where, pl as writeBatch };