@firebase/firestore 3.4.8 → 3.4.9-canary.0197076b8

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 (163) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/dist/firestore/lite/index.d.ts +1 -0
  3. package/dist/firestore/src/api/transaction.d.ts +4 -1
  4. package/dist/firestore/src/api/transaction_options.d.ts +17 -0
  5. package/dist/firestore/src/api.d.ts +1 -0
  6. package/dist/firestore/src/core/firestore_client.d.ts +2 -1
  7. package/dist/firestore/src/core/query.d.ts +2 -4
  8. package/dist/firestore/src/core/target.d.ts +6 -4
  9. package/dist/firestore/src/core/transaction_options.d.ts +25 -0
  10. package/dist/firestore/src/core/transaction_runner.d.ts +3 -2
  11. package/dist/firestore/src/lite-api/transaction.d.ts +4 -1
  12. package/dist/firestore/src/lite-api/transaction_options.d.ts +23 -0
  13. package/dist/firestore/src/local/document_overlay_cache.d.ts +5 -0
  14. package/dist/firestore/src/local/index_manager.d.ts +24 -3
  15. package/dist/firestore/src/local/indexeddb_document_overlay_cache.d.ts +1 -0
  16. package/dist/firestore/src/local/indexeddb_index_manager.d.ts +4 -7
  17. package/dist/firestore/src/local/indexeddb_schema.d.ts +4 -2
  18. package/dist/firestore/src/local/indexeddb_schema_converter.d.ts +1 -0
  19. package/dist/firestore/src/local/indexeddb_sentinels.d.ts +1 -0
  20. package/dist/firestore/src/local/local_documents_view.d.ts +47 -8
  21. package/dist/firestore/src/local/memory_document_overlay_cache.d.ts +1 -0
  22. package/dist/firestore/src/local/memory_index_manager.d.ts +3 -2
  23. package/dist/firestore/src/local/overlayed_document.d.ts +36 -0
  24. package/dist/firestore/src/local/query_engine.d.ts +44 -5
  25. package/dist/firestore/src/model/collections.d.ts +3 -1
  26. package/dist/firestore/src/model/field_mask.d.ts +6 -0
  27. package/dist/firestore/src/model/mutation.d.ts +19 -1
  28. package/dist/firestore/src/model/mutation_batch.d.ts +9 -4
  29. package/dist/firestore/src/model/values.d.ts +14 -2
  30. package/dist/firestore/src/tsdoc-metadata.json +11 -11
  31. package/dist/firestore/src/util/misc.d.ts +3 -0
  32. package/dist/firestore/test/unit/local/counting_query_engine.d.ts +2 -1
  33. package/dist/firestore/test/unit/local/test_document_overlay_cache.d.ts +1 -0
  34. package/dist/firestore/test/unit/local/test_index_manager.d.ts +2 -2
  35. package/dist/firestore/test/util/helpers.d.ts +12 -0
  36. package/dist/index.d.ts +28 -3
  37. package/dist/index.esm2017.js +9384 -9023
  38. package/dist/index.esm2017.js.map +1 -1
  39. package/dist/index.esm5.js +7406 -7016
  40. package/dist/index.esm5.js.map +1 -1
  41. package/dist/index.node.cjs.js +5607 -5089
  42. package/dist/index.node.cjs.js.map +1 -1
  43. package/dist/index.node.mjs +5607 -5089
  44. package/dist/index.node.mjs.map +1 -1
  45. package/dist/index.rn.js +7162 -6801
  46. package/dist/index.rn.js.map +1 -1
  47. package/dist/internal.d.ts +6007 -5918
  48. package/dist/lite/firestore/lite/index.d.ts +1 -0
  49. package/dist/lite/firestore/src/api/transaction.d.ts +4 -1
  50. package/dist/lite/firestore/src/api/transaction_options.d.ts +17 -0
  51. package/dist/lite/firestore/src/api.d.ts +1 -0
  52. package/dist/lite/firestore/src/core/firestore_client.d.ts +2 -1
  53. package/dist/lite/firestore/src/core/query.d.ts +2 -4
  54. package/dist/lite/firestore/src/core/target.d.ts +6 -4
  55. package/dist/lite/firestore/src/core/transaction_options.d.ts +25 -0
  56. package/dist/lite/firestore/src/core/transaction_runner.d.ts +3 -2
  57. package/dist/lite/firestore/src/lite-api/transaction.d.ts +4 -1
  58. package/dist/lite/firestore/src/lite-api/transaction_options.d.ts +23 -0
  59. package/dist/lite/firestore/src/local/document_overlay_cache.d.ts +5 -0
  60. package/dist/lite/firestore/src/local/index_manager.d.ts +24 -3
  61. package/dist/lite/firestore/src/local/indexeddb_document_overlay_cache.d.ts +1 -0
  62. package/dist/lite/firestore/src/local/indexeddb_index_manager.d.ts +4 -7
  63. package/dist/lite/firestore/src/local/indexeddb_schema.d.ts +4 -2
  64. package/dist/lite/firestore/src/local/indexeddb_schema_converter.d.ts +1 -0
  65. package/dist/lite/firestore/src/local/indexeddb_sentinels.d.ts +1 -0
  66. package/dist/lite/firestore/src/local/local_documents_view.d.ts +47 -8
  67. package/dist/lite/firestore/src/local/memory_document_overlay_cache.d.ts +1 -0
  68. package/dist/lite/firestore/src/local/memory_index_manager.d.ts +3 -2
  69. package/dist/lite/firestore/src/local/overlayed_document.d.ts +36 -0
  70. package/dist/lite/firestore/src/local/query_engine.d.ts +44 -5
  71. package/dist/lite/firestore/src/model/collections.d.ts +3 -1
  72. package/dist/lite/firestore/src/model/field_mask.d.ts +6 -0
  73. package/dist/lite/firestore/src/model/mutation.d.ts +19 -1
  74. package/dist/lite/firestore/src/model/mutation_batch.d.ts +9 -4
  75. package/dist/lite/firestore/src/model/values.d.ts +14 -2
  76. package/dist/lite/firestore/src/util/misc.d.ts +3 -0
  77. package/dist/lite/firestore/test/unit/local/counting_query_engine.d.ts +2 -1
  78. package/dist/lite/firestore/test/unit/local/test_document_overlay_cache.d.ts +1 -0
  79. package/dist/lite/firestore/test/unit/local/test_index_manager.d.ts +2 -2
  80. package/dist/lite/firestore/test/util/helpers.d.ts +12 -0
  81. package/dist/lite/index.browser.esm2017.js +1209 -698
  82. package/dist/lite/index.browser.esm2017.js.map +1 -1
  83. package/dist/lite/index.browser.esm5.js +1213 -813
  84. package/dist/lite/index.browser.esm5.js.map +1 -1
  85. package/dist/lite/index.d.ts +26 -1
  86. package/dist/lite/index.node.cjs.js +709 -15
  87. package/dist/lite/index.node.cjs.js.map +1 -1
  88. package/dist/lite/index.node.mjs +709 -15
  89. package/dist/lite/index.node.mjs.map +1 -1
  90. package/dist/lite/index.rn.esm2017.js +1828 -1317
  91. package/dist/lite/index.rn.esm2017.js.map +1 -1
  92. package/dist/lite/internal.d.ts +2912 -2874
  93. package/dist/lite/packages/firestore/dist/lite/index.browser.esm2017.d.ts +103 -101
  94. package/dist/lite/packages/firestore/lite/index.d.ts +1 -0
  95. package/dist/lite/packages/firestore/src/api/transaction.d.ts +4 -1
  96. package/dist/lite/packages/firestore/src/api/transaction_options.d.ts +17 -0
  97. package/dist/lite/packages/firestore/src/api.d.ts +1 -0
  98. package/dist/lite/packages/firestore/src/core/firestore_client.d.ts +2 -1
  99. package/dist/lite/packages/firestore/src/core/query.d.ts +2 -4
  100. package/dist/lite/packages/firestore/src/core/target.d.ts +6 -4
  101. package/dist/lite/packages/firestore/src/core/transaction_options.d.ts +25 -0
  102. package/dist/lite/packages/firestore/src/core/transaction_runner.d.ts +3 -2
  103. package/dist/lite/packages/firestore/src/lite-api/transaction.d.ts +4 -1
  104. package/dist/lite/packages/firestore/src/lite-api/transaction_options.d.ts +23 -0
  105. package/dist/lite/packages/firestore/src/local/document_overlay_cache.d.ts +5 -0
  106. package/dist/lite/packages/firestore/src/local/index_manager.d.ts +24 -3
  107. package/dist/lite/packages/firestore/src/local/indexeddb_document_overlay_cache.d.ts +1 -0
  108. package/dist/lite/packages/firestore/src/local/indexeddb_index_manager.d.ts +4 -7
  109. package/dist/lite/packages/firestore/src/local/indexeddb_schema.d.ts +4 -2
  110. package/dist/lite/packages/firestore/src/local/indexeddb_schema_converter.d.ts +1 -0
  111. package/dist/lite/packages/firestore/src/local/indexeddb_sentinels.d.ts +1 -0
  112. package/dist/lite/packages/firestore/src/local/local_documents_view.d.ts +47 -8
  113. package/dist/lite/packages/firestore/src/local/memory_document_overlay_cache.d.ts +1 -0
  114. package/dist/lite/packages/firestore/src/local/memory_index_manager.d.ts +3 -2
  115. package/dist/lite/packages/firestore/src/local/overlayed_document.d.ts +36 -0
  116. package/dist/lite/packages/firestore/src/local/query_engine.d.ts +44 -5
  117. package/dist/lite/packages/firestore/src/model/collections.d.ts +3 -1
  118. package/dist/lite/packages/firestore/src/model/field_mask.d.ts +6 -0
  119. package/dist/lite/packages/firestore/src/model/mutation.d.ts +19 -1
  120. package/dist/lite/packages/firestore/src/model/mutation_batch.d.ts +9 -4
  121. package/dist/lite/packages/firestore/src/model/values.d.ts +14 -2
  122. package/dist/lite/packages/firestore/src/util/misc.d.ts +3 -0
  123. package/dist/lite/packages/firestore/test/unit/local/counting_query_engine.d.ts +2 -1
  124. package/dist/lite/packages/firestore/test/unit/local/test_document_overlay_cache.d.ts +1 -0
  125. package/dist/lite/packages/firestore/test/unit/local/test_index_manager.d.ts +2 -2
  126. package/dist/lite/packages/firestore/test/util/helpers.d.ts +12 -0
  127. package/dist/lite/private.d.ts +2772 -2734
  128. package/dist/packages/firestore/dist/index.esm2017.d.ts +197 -194
  129. package/dist/packages/firestore/lite/index.d.ts +1 -0
  130. package/dist/packages/firestore/src/api/transaction.d.ts +4 -1
  131. package/dist/packages/firestore/src/api/transaction_options.d.ts +17 -0
  132. package/dist/packages/firestore/src/api.d.ts +1 -0
  133. package/dist/packages/firestore/src/core/firestore_client.d.ts +2 -1
  134. package/dist/packages/firestore/src/core/query.d.ts +2 -4
  135. package/dist/packages/firestore/src/core/target.d.ts +6 -4
  136. package/dist/packages/firestore/src/core/transaction_options.d.ts +25 -0
  137. package/dist/packages/firestore/src/core/transaction_runner.d.ts +3 -2
  138. package/dist/packages/firestore/src/lite-api/transaction.d.ts +4 -1
  139. package/dist/packages/firestore/src/lite-api/transaction_options.d.ts +23 -0
  140. package/dist/packages/firestore/src/local/document_overlay_cache.d.ts +5 -0
  141. package/dist/packages/firestore/src/local/index_manager.d.ts +24 -3
  142. package/dist/packages/firestore/src/local/indexeddb_document_overlay_cache.d.ts +1 -0
  143. package/dist/packages/firestore/src/local/indexeddb_index_manager.d.ts +4 -7
  144. package/dist/packages/firestore/src/local/indexeddb_schema.d.ts +4 -2
  145. package/dist/packages/firestore/src/local/indexeddb_schema_converter.d.ts +1 -0
  146. package/dist/packages/firestore/src/local/indexeddb_sentinels.d.ts +1 -0
  147. package/dist/packages/firestore/src/local/local_documents_view.d.ts +47 -8
  148. package/dist/packages/firestore/src/local/memory_document_overlay_cache.d.ts +1 -0
  149. package/dist/packages/firestore/src/local/memory_index_manager.d.ts +3 -2
  150. package/dist/packages/firestore/src/local/overlayed_document.d.ts +36 -0
  151. package/dist/packages/firestore/src/local/query_engine.d.ts +44 -5
  152. package/dist/packages/firestore/src/model/collections.d.ts +3 -1
  153. package/dist/packages/firestore/src/model/field_mask.d.ts +6 -0
  154. package/dist/packages/firestore/src/model/mutation.d.ts +19 -1
  155. package/dist/packages/firestore/src/model/mutation_batch.d.ts +9 -4
  156. package/dist/packages/firestore/src/model/values.d.ts +14 -2
  157. package/dist/packages/firestore/src/util/misc.d.ts +3 -0
  158. package/dist/packages/firestore/test/unit/local/counting_query_engine.d.ts +2 -1
  159. package/dist/packages/firestore/test/unit/local/test_document_overlay_cache.d.ts +1 -0
  160. package/dist/packages/firestore/test/unit/local/test_index_manager.d.ts +2 -2
  161. package/dist/packages/firestore/test/util/helpers.d.ts +12 -0
  162. package/dist/private.d.ts +5715 -5626
  163. package/package.json +20 -18
@@ -19,14 +19,15 @@
19
19
  * to the user.
20
20
  *
21
21
  * @internal
22
- */ declare class Jh {
22
+ */
23
+ declare class el {
23
24
  convertValue(t: any, e?: string): any;
24
25
  convertObject(t: any, e: any): {};
25
- convertGeoPoint(t: any): zc;
26
+ convertGeoPoint(t: any): Xc;
26
27
  convertArray(t: any, e: any): any;
27
28
  convertServerTimestamp(t: any, e: any): any;
28
29
  convertTimestamp(t: any): at;
29
- convertDocumentKey(t: any, e: any): xt;
30
+ convertDocumentKey(t: any, e: any): $t;
30
31
  }
31
32
  /**
32
33
  * @license
@@ -46,18 +47,18 @@
46
47
  */
47
48
  /**
48
49
  * An immutable object representing an array of bytes.
49
- */ declare class jc {
50
+ */ declare class Jc {
50
51
  /**
51
52
  * Creates a new `Bytes` object from the given Base64 string, converting it to
52
53
  * bytes.
53
54
  *
54
55
  * @param base64 - The Base64 string used to create the `Bytes` object.
55
- */ static fromBase64String(t: any): jc;
56
+ */ static fromBase64String(t: any): Jc;
56
57
  /**
57
58
  * Creates a new `Bytes` object from the given Uint8Array.
58
59
  *
59
60
  * @param array - The Uint8Array used to create the `Bytes` object.
60
- */ static fromUint8Array(t: any): jc;
61
+ */ static fromUint8Array(t: any): Jc;
61
62
  /** @hideconstructor */
62
63
  constructor(t: any);
63
64
  _byteString: any;
@@ -99,11 +100,11 @@
99
100
  * See the License for the specific language governing permissions and
100
101
  * limitations under the License.
101
102
  */
102
- /** DOMException error code constants. */ declare const Vc: -1;
103
+ /** DOMException error code constants. */ declare const Cc: -1;
103
104
  /**
104
105
  * A `CollectionReference` object can be used for adding documents, getting
105
106
  * document references, and querying for documents (using {@link query}).
106
- */ declare class yc extends gc {
107
+ */ declare class Ec extends Tc {
107
108
  _path: any;
108
109
  /** The collection's identifier. */ get id(): any;
109
110
  /**
@@ -113,7 +114,7 @@
113
114
  /**
114
115
  * A reference to the containing `DocumentReference` if this is a
115
116
  * subcollection. If this isn't a subcollection, the reference is null.
116
- */ get parent(): mc | null;
117
+ */ get parent(): Ic | null;
117
118
  }
118
119
  /**
119
120
  * @license
@@ -135,7 +136,7 @@
135
136
  * A `DocumentReference` refers to a document location in a Firestore database
136
137
  * and can be used to write, read, or listen to the location. The document at
137
138
  * the referenced location may or may not exist.
138
- */ declare class mc {
139
+ */ declare class Ic {
139
140
  /** @hideconstructor */
140
141
  constructor(t: any, e: any, n: any);
141
142
  converter: any;
@@ -153,8 +154,8 @@
153
154
  */ get path(): any;
154
155
  /**
155
156
  * The collection this `DocumentReference` belongs to.
156
- */ get parent(): yc;
157
- withConverter(t: any): mc;
157
+ */ get parent(): Ec;
158
+ withConverter(t: any): Ic;
158
159
  }
159
160
  /**
160
161
  * A `DocumentSnapshot` contains data read from a document in your Firestore
@@ -164,7 +165,7 @@
164
165
  * For a `DocumentSnapshot` that points to a non-existing document, any data
165
166
  * access will return 'undefined'. You can use the `exists()` method to
166
167
  * explicitly verify a document's existence.
167
- */ declare class Ph extends Th {
168
+ */ declare class Sh extends Ph {
168
169
  /** @hideconstructor protected */
169
170
  constructor(t: any, e: any, n: any, s: any, i: any, r: any);
170
171
  _firestoreImpl: any;
@@ -210,7 +211,7 @@
210
211
  * Create a `FieldPath` by providing field names. If more than one field
211
212
  * name is provided, the path will point to a nested field in a document.
212
213
  */
213
- declare class Gc {
214
+ declare class zc {
214
215
  /**
215
216
  * Creates a `FieldPath` from the provided field names. If more than one field
216
217
  * name is provided, the path will point to a nested field in a document.
@@ -218,7 +219,7 @@ declare class Gc {
218
219
  * @param fieldNames - A list of field names.
219
220
  */
220
221
  constructor(...t: any[]);
221
- _internalPath: mt;
222
+ _internalPath: Et;
222
223
  /**
223
224
  * Returns true if this `FieldPath` is equal to the provided one.
224
225
  *
@@ -245,7 +246,7 @@ declare class Gc {
245
246
  /**
246
247
  * Sentinel values that can be used when writing document fields with `set()`
247
248
  * or `update()`.
248
- */ declare class Wc {
249
+ */ declare class Yc {
249
250
  /**
250
251
  * @param _methodName - The public API endpoint that returns this class.
251
252
  * @hideconstructor
@@ -258,8 +259,8 @@ declare class Gc {
258
259
  *
259
260
  * Do not call this constructor directly. Instead, use {@link getFirestore}.
260
261
  */
261
- declare class vc extends _c {
262
- _queue: Rc;
262
+ declare class xc extends yc {
263
+ _queue: vc;
263
264
  }
264
265
  /** An error returned by a Firestore operation. */ declare class Q extends a {
265
266
  /** @hideconstructor */
@@ -287,7 +288,7 @@ declare class vc extends _c {
287
288
  *
288
289
  * Latitude values are in the range of [-90, 90].
289
290
  * Longitude values are in the range of [-180, 180].
290
- */ declare class zc {
291
+ */ declare class Xc {
291
292
  /**
292
293
  * Creates a new immutable `GeoPoint` object with the provided latitude and
293
294
  * longitude values.
@@ -318,7 +319,7 @@ declare class vc extends _c {
318
319
  * with an underscore.
319
320
  */ _compareTo(t: any): 0 | 1 | -1;
320
321
  }
321
- declare class bc {
322
+ declare class Dc {
322
323
  _progressObserver: {};
323
324
  _taskCompletionResolver: j;
324
325
  _lastProgress: {
@@ -370,7 +371,7 @@ declare class bc {
370
371
  /**
371
372
  * A `Query` refers to a query which you can read or listen to. You can also
372
373
  * construct refined `Query` objects by adding filters and ordering.
373
- */ declare class gc {
374
+ */ declare class Tc {
374
375
  /** @hideconstructor protected */
375
376
  constructor(t: any, e: any, n: any);
376
377
  converter: any;
@@ -378,7 +379,7 @@ declare class bc {
378
379
  /** The type of this Firestore reference. */
379
380
  type: string;
380
381
  firestore: any;
381
- withConverter(t: any): gc;
382
+ withConverter(t: any): Tc;
382
383
  }
383
384
  /**
384
385
  * A `QueryConstraint` is used to narrow the set of documents returned by a
@@ -387,7 +388,7 @@ declare class bc {
387
388
  * endBefore:1}, {@link (endAt:1)}, {@link limit} or {@link limitToLast} and
388
389
  * can then be passed to {@link query} to create a new query instance that
389
390
  * also contains this `QueryConstraint`.
390
- */ declare class Ch {
391
+ */ declare class Oh {
391
392
  }
392
393
  /**
393
394
  * A `QueryDocumentSnapshot` contains data read from a document in your
@@ -399,7 +400,7 @@ declare class bc {
399
400
  * `DocumentSnapshot`. Since query results contain only existing documents, the
400
401
  * `exists` property will always be true and `data()` will never return
401
402
  * 'undefined'.
402
- */ declare class bh extends Ph {
403
+ */ declare class Dh extends Sh {
403
404
  }
404
405
  /**
405
406
  * A `QuerySnapshot` contains zero or more `DocumentSnapshot` objects
@@ -407,13 +408,13 @@ declare class bc {
407
408
  * array via the `docs` property or enumerated using the `forEach` method. The
408
409
  * number of documents can be determined via the `empty` and `size`
409
410
  * properties.
410
- */ declare class Vh {
411
+ */ declare class Ch {
411
412
  /** @hideconstructor */
412
413
  constructor(t: any, e: any, n: any, s: any);
413
414
  _firestore: any;
414
415
  _userDataWriter: any;
415
416
  _snapshot: any;
416
- metadata: Rh;
417
+ metadata: vh;
417
418
  query: any;
418
419
  /** An array of all the documents in the `QuerySnapshot`. */ get docs(): any[];
419
420
  /** The number of documents in the `QuerySnapshot`. */ get size(): any;
@@ -455,7 +456,7 @@ declare class bc {
455
456
  */
456
457
  /**
457
458
  * Metadata about a snapshot, describing the state of the snapshot.
458
- */ declare class Rh {
459
+ */ declare class vh {
459
460
  /** @hideconstructor */
460
461
  constructor(t: any, e: any);
461
462
  hasPendingWrites: any;
@@ -564,11 +565,11 @@ declare class at {
564
565
  * to be compared using the `>`, `<=`, `>=` and `>` operators.
565
566
  */ valueOf(): string;
566
567
  }
567
- declare const ml_base: {
568
+ declare const Tl_base: {
568
569
  new (t: any, e: any): {
569
570
  _firestore: any;
570
571
  _transaction: any;
571
- _dataReader: th;
572
+ _dataReader: ih;
572
573
  /**
573
574
  * Reads the document referenced by the provided {@link DocumentReference}.
574
575
  *
@@ -607,7 +608,7 @@ declare const ml_base: {
607
608
  * The `Transaction` object passed to a transaction's `updateFunction` provides
608
609
  * the methods to read and write data within the transaction context. See
609
610
  * {@link runTransaction}.
610
- */ declare class ml extends ml_base {
611
+ */ declare class Tl extends Tl_base {
611
612
  }
612
613
  /**
613
614
  * @license
@@ -632,22 +633,22 @@ declare const ml_base: {
632
633
  * provides methods for adding writes to the write batch. None of the writes
633
634
  * will be committed (or visible locally) until {@link WriteBatch.commit} is
634
635
  * called.
635
- */ declare class Zh {
636
+ */ declare class il {
636
637
  /** @hideconstructor */
637
638
  constructor(t: any, e: any);
638
639
  _firestore: any;
639
640
  _commitHandler: any;
640
641
  _mutations: any[];
641
642
  _committed: boolean;
642
- _dataReader: th;
643
- set(t: any, e: any, n: any): Zh;
644
- update(t: any, e: any, n: any, ...s: any[]): Zh;
643
+ _dataReader: ih;
644
+ set(t: any, e: any, n: any): il;
645
+ update(t: any, e: any, n: any, ...s: any[]): il;
645
646
  /**
646
647
  * Deletes the document referred to by the provided {@link DocumentReference}.
647
648
  *
648
649
  * @param documentRef - A reference to the document to be deleted.
649
650
  * @returns This `WriteBatch` instance. Used for chaining method calls.
650
- */ delete(t: any): Zh;
651
+ */ delete(t: any): il;
651
652
  /**
652
653
  * Commits all of the writes in this write batch as a single atomic unit.
653
654
  *
@@ -667,8 +668,8 @@ declare const ml_base: {
667
668
  * Represents the database ID a Firestore client is associated with.
668
669
  * @internal
669
670
  */
670
- declare class vt {
671
- static empty(): vt;
671
+ declare class kt {
672
+ static empty(): kt;
672
673
  constructor(t: any, e: any);
673
674
  projectId: any;
674
675
  database: any;
@@ -693,10 +694,10 @@ declare class vt {
693
694
  */
694
695
  /**
695
696
  * @internal
696
- */ declare class xt {
697
- static fromPath(t: any): xt;
698
- static fromName(t: any): xt;
699
- static empty(): xt;
697
+ */ declare class $t {
698
+ static fromPath(t: any): $t;
699
+ static fromName(t: any): $t;
700
+ static empty(): $t;
700
701
  static comparator(t: any, e: any): 0 | 1 | -1;
701
702
  static isDocumentKey(t: any): boolean;
702
703
  /**
@@ -704,7 +705,7 @@ declare class vt {
704
705
  *
705
706
  * @param segments - The segments of the path to the document
706
707
  * @returns A new instance of DocumentKey
707
- */ static fromSegments(t: any): xt;
708
+ */ static fromSegments(t: any): $t;
708
709
  constructor(t: any);
709
710
  path: any;
710
711
  get collectionGroup(): any;
@@ -735,14 +736,14 @@ declare class vt {
735
736
  /**
736
737
  * A dot-separated path for navigating sub-objects within a document.
737
738
  * @internal
738
- */ declare class mt extends dt {
739
+ */ declare class Et extends pt {
739
740
  /**
740
741
  * Returns true if the string could be used as a segment in a field path
741
742
  * without escaping.
742
743
  */ static isValidIdentifier(t: any): boolean;
743
744
  /**
744
745
  * The field designating the key of a document.
745
- */ static keyField(): mt;
746
+ */ static keyField(): Et;
746
747
  /**
747
748
  * Parses a field string from the given server-formatted string.
748
749
  *
@@ -752,16 +753,16 @@ declare class vt {
752
753
  *
753
754
  * TODO(b/37244157): we should make this more strict. Right now, it allows
754
755
  * non-identifier path components, even if they aren't escaped.
755
- */ static fromServerFormat(t: any): mt;
756
- static emptyPath(): mt;
757
- construct(t: any, e: any, n: any): mt;
756
+ */ static fromServerFormat(t: any): Et;
757
+ static emptyPath(): Et;
758
+ construct(t: any, e: any, n: any): Et;
758
759
  canonicalString(): any;
759
760
  toString(): any;
760
761
  /**
761
762
  * Returns true if this field references the key of a document.
762
763
  */ isKeyField(): boolean;
763
764
  }
764
- declare function lc(t: any, e: any): any;
765
+ declare function wc(t: any, e: any): any;
765
766
  /**
766
767
  * Fails if the given assertion condition is false, throwing an Error with the
767
768
  * given message if it did.
@@ -790,7 +791,7 @@ declare function lc(t: any, e: any): any;
790
791
  */
791
792
  /** Converts a Base64 encoded string to a binary string. */
792
793
  /** True if and only if the Base64 conversion functions are available. */
793
- declare function yt(): boolean;
794
+ declare function Rt(): boolean;
794
795
  /**
795
796
  * @internal
796
797
  */ declare function $(t: any, ...e: any[]): void;
@@ -809,11 +810,11 @@ declare function yt(): boolean;
809
810
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
810
811
  * See the License for the specific language governing permissions and
811
812
  * limitations under the License.
812
- */ declare function Rl(t: any, e: any): Promise<void>;
813
+ */ declare function Sl(t: any, e: any): Promise<void>;
813
814
  /**
814
815
  * Validates that two boolean options are not set at the same time.
815
816
  * @internal
816
- */ declare function uc(t: any, e: any, n: any, s: any): void;
817
+ */ declare function lc(t: any, e: any, n: any, s: any): void;
817
818
  /**
818
819
  * Add a new document to specified `CollectionReference` with the given data,
819
820
  * assigning it a document ID automatically.
@@ -823,7 +824,7 @@ declare function yt(): boolean;
823
824
  * @returns A `Promise` resolved with a `DocumentReference` pointing to the
824
825
  * newly created document after it has been written to the backend (Note that it
825
826
  * won't resolve while you're offline).
826
- */ declare function ll(t: any, e: any): Promise<mc>;
827
+ */ declare function ml(t: any, e: any): Promise<Ic>;
827
828
  /**
828
829
  * Returns a special value that can be used with {@link (setDoc:1)} or {@link
829
830
  * updateDoc:1} that tells the server to remove the given elements from any
@@ -834,7 +835,7 @@ declare function yt(): boolean;
834
835
  * @param elements - The elements to remove from the array.
835
836
  * @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
836
837
  * `updateDoc()`
837
- */ declare function Tl(...t: any[]): uh;
838
+ */ declare function bl(...t: any[]): lh;
838
839
  /**
839
840
  * Returns a special value that can be used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link
840
841
  * @firebase/firestore/lite#(updateDoc:1)} that tells the server to union the given elements with any array
@@ -846,9 +847,9 @@ declare function yt(): boolean;
846
847
  * @param elements - The elements to union into the array.
847
848
  * @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
848
849
  * `updateDoc()`.
849
- */ declare function Il(...t: any[]): oh;
850
- declare function Oc(t: any): Promise<any>;
851
- declare function pc(t: any, e: any, ...n: any[]): yc;
850
+ */ declare function Pl(...t: any[]): hh;
851
+ declare function Lc(t: any): Promise<any>;
852
+ declare function Ac(t: any, e: any, ...n: any[]): Ec;
852
853
  /**
853
854
  * Creates and returns a new `Query` instance that includes all documents in the
854
855
  * database that are contained in a collection or subcollection with the
@@ -859,15 +860,15 @@ declare function pc(t: any, e: any, ...n: any[]): yc;
859
860
  * collection or subcollection with this ID as the last segment of its path
860
861
  * will be included. Cannot contain a slash.
861
862
  * @returns The created `Query`.
862
- */ declare function Ic(t: any, e: any): gc;
863
- declare function wc(t: any, e: any, n: any, s?: {}): void;
863
+ */ declare function Rc(t: any, e: any): Tc;
864
+ declare function pc(t: any, e: any, n: any, s?: {}): void;
864
865
  /**
865
866
  * Deletes the document referred to by the specified `DocumentReference`.
866
867
  *
867
868
  * @param reference - A reference to the document to delete.
868
869
  * @returns A Promise resolved once the document has been successfully
869
870
  * deleted from the backend (note that it won't resolve while you're offline).
870
- */ declare function hl(t: any): Promise<any>;
871
+ */ declare function wl(t: any): Promise<any>;
871
872
  /**
872
873
  * @license
873
874
  * Copyright 2020 Google LLC
@@ -887,7 +888,7 @@ declare function wc(t: any, e: any, n: any, s?: {}): void;
887
888
  /**
888
889
  * Returns a sentinel for use with {@link @firebase/firestore/lite#(updateDoc:1)} or
889
890
  * {@link @firebase/firestore/lite#(setDoc:1)} with `{merge: true}` to mark a field for deletion.
890
- */ declare function yl(): sh;
891
+ */ declare function Al(): uh;
891
892
  /**
892
893
  * Disables network usage for this instance. It can be re-enabled via {@link
893
894
  * enableNetwork}. While the network is disabled, any snapshot listeners,
@@ -895,12 +896,12 @@ declare function wc(t: any, e: any, n: any, s?: {}): void;
895
896
  * operations will be queued until the network is restored.
896
897
  *
897
898
  * @returns A `Promise` that is resolved once the network has been disabled.
898
- */ declare function Bc(t: any): any;
899
- declare function Tc(t: any, e: any, ...n: any[]): mc;
899
+ */ declare function Kc(t: any): any;
900
+ declare function Pc(t: any, e: any, ...n: any[]): Ic;
900
901
  /**
901
902
  * Returns a special sentinel `FieldPath` to refer to the ID of a document.
902
903
  * It can be used in queries to sort or filter by the document ID.
903
- */ declare function Qc(): Gc;
904
+ */ declare function Hc(): zc;
904
905
  /**
905
906
  * Attempts to enable persistent storage, if possible.
906
907
  *
@@ -923,7 +924,7 @@ declare function Tc(t: any, e: any, ...n: any[]): mc;
923
924
  * @param persistenceSettings - Optional settings object to configure
924
925
  * persistence.
925
926
  * @returns A `Promise` that represents successfully enabling persistent storage.
926
- */ declare function Nc(t: any, e: any): any;
927
+ */ declare function Fc(t: any, e: any): any;
927
928
  /**
928
929
  * Attempts to enable multi-tab persistent storage, if possible. If enabled
929
930
  * across all tabs, all operations share access to local persistence, including
@@ -945,22 +946,22 @@ declare function Tc(t: any, e: any, ...n: any[]): mc;
945
946
  * @param firestore - The {@link Firestore} instance to enable persistence for.
946
947
  * @returns A `Promise` that represents successfully enabling persistent
947
948
  * storage.
948
- */ declare function kc(t: any): any;
949
+ */ declare function $c(t: any): any;
949
950
  /**
950
951
  * Re-enables use of the network for this {@link Firestore} instance after a prior
951
952
  * call to {@link disableNetwork}.
952
953
  *
953
954
  * @returns A `Promise` that is resolved once the network has been enabled.
954
- */ declare function $c(t: any): any;
955
- declare function Qh(...t: any[]): Kh;
956
- declare function Gh(...t: any[]): Kh;
955
+ */ declare function qc(t: any): any;
956
+ declare function Hh(...t: any[]): Wh;
957
+ declare function zh(...t: any[]): Wh;
957
958
  /**
958
959
  * @internal
959
- */ declare function Cc(t: any): any;
960
+ */ declare function Oc(t: any): any;
960
961
  /**
961
962
  * Locally writes `mutations` on the async queue.
962
963
  * @internal
963
- */ declare function _l(t: any, e: any): Promise<any>;
964
+ */ declare function pl(t: any, e: any): Promise<any>;
964
965
  /**
965
966
  * @license
966
967
  * Copyright 2020 Google LLC
@@ -1012,21 +1013,21 @@ declare function Gh(...t: any[]): Kh;
1012
1013
  * @returns A Promise resolved with a `DocumentSnapshot` containing the
1013
1014
  * current document contents.
1014
1015
  */
1015
- declare function el(t: any): Promise<Ph>;
1016
+ declare function ol(t: any): Promise<Sh>;
1016
1017
  /**
1017
1018
  * Reads the document referred to by this `DocumentReference` from cache.
1018
1019
  * Returns an error if the document is not currently cached.
1019
1020
  *
1020
1021
  * @returns A `Promise` resolved with a `DocumentSnapshot` containing the
1021
1022
  * current document contents.
1022
- */ declare function sl(t: any): Promise<Ph>;
1023
+ */ declare function al(t: any): Promise<Sh>;
1023
1024
  /**
1024
1025
  * Reads the document referred to by this `DocumentReference` from the server.
1025
1026
  * Returns an error if the network is not available.
1026
1027
  *
1027
1028
  * @returns A `Promise` resolved with a `DocumentSnapshot` containing the
1028
1029
  * current document contents.
1029
- */ declare function il(t: any): Promise<Ph>;
1030
+ */ declare function cl(t: any): Promise<Sh>;
1030
1031
  /**
1031
1032
  * Executes the query and returns the results as a `QuerySnapshot`.
1032
1033
  *
@@ -1036,19 +1037,19 @@ declare function el(t: any): Promise<Ph>;
1036
1037
  * invoke {@link getDocsFromCache} or {@link getDocsFromServer}.
1037
1038
  *
1038
1039
  * @returns A `Promise` that will be resolved with the results of the query.
1039
- */ declare function rl(t: any): Promise<Vh>;
1040
+ */ declare function hl(t: any): Promise<Ch>;
1040
1041
  /**
1041
1042
  * Executes the query and returns the results as a `QuerySnapshot` from cache.
1042
1043
  * Returns an error if the document is not currently cached.
1043
1044
  *
1044
1045
  * @returns A `Promise` that will be resolved with the results of the query.
1045
- */ declare function ol(t: any): Promise<Vh>;
1046
+ */ declare function ll(t: any): Promise<Ch>;
1046
1047
  /**
1047
1048
  * Executes the query and returns the results as a `QuerySnapshot` from the
1048
1049
  * server. Returns an error if the network is not available.
1049
1050
  *
1050
1051
  * @returns A `Promise` that will be resolved with the results of the query.
1051
- */ declare function ul(t: any): Promise<Vh>;
1052
+ */ declare function fl(t: any): Promise<Ch>;
1052
1053
  /**
1053
1054
  * Returns the existing {@link Firestore} instance that is associated with the
1054
1055
  * provided {@link @firebase/app#FirebaseApp}. If no instance exists, initializes a new
@@ -1057,7 +1058,7 @@ declare function el(t: any): Promise<Ph>;
1057
1058
  * @param app - The {@link @firebase/app#FirebaseApp} instance that the returned {@link Firestore}
1058
1059
  * instance is associated with.
1059
1060
  * @returns The {@link Firestore} instance of the provided app.
1060
- */ declare function Dc(e?: import("@firebase/app").FirebaseApp): import("../src").Firestore;
1061
+ */ declare function kc(e?: import("@firebase/app").FirebaseApp): import("../src").Firestore;
1061
1062
  /**
1062
1063
  * Returns a special value that can be used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link
1063
1064
  * @firebase/firestore/lite#(updateDoc:1)} that tells the server to increment the field's current value by
@@ -1076,7 +1077,7 @@ declare function el(t: any): Promise<Ph>;
1076
1077
  * @param n - The value to increment by.
1077
1078
  * @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
1078
1079
  * `updateDoc()`
1079
- */ declare function El(t: any): ah;
1080
+ */ declare function Vl(t: any): fh;
1080
1081
  /**
1081
1082
  * Initializes a new instance of {@link Firestore} with the provided settings.
1082
1083
  * Can only be called before any other function, including
@@ -1087,13 +1088,13 @@ declare function el(t: any): Promise<Ph>;
1087
1088
  * be associated.
1088
1089
  * @param settings - A settings object to configure the {@link Firestore} instance.
1089
1090
  * @returns A newly initialized {@link Firestore} instance.
1090
- */ declare function Sc(t: any, e: any): import("../src").Firestore;
1091
+ */ declare function Nc(t: any, e: any): import("../src").Firestore;
1091
1092
  /**
1092
1093
  * Creates a {@link QueryConstraint} that only returns the first matching documents.
1093
1094
  *
1094
1095
  * @param limit - The maximum number of items to return.
1095
1096
  * @returns The created {@link Query}.
1096
- */ declare function $h(t: any): Fh;
1097
+ */ declare function qh(t: any): Uh;
1097
1098
  /**
1098
1099
  * Creates a {@link QueryConstraint} that only returns the last matching documents.
1099
1100
  *
@@ -1102,7 +1103,7 @@ declare function el(t: any): Promise<Ph>;
1102
1103
  *
1103
1104
  * @param limit - The maximum number of items to return.
1104
1105
  * @returns The created {@link Query}.
1105
- */ declare function Bh(t: any): Fh;
1106
+ */ declare function Kh(t: any): Uh;
1106
1107
  /**
1107
1108
  * Loads a Firestore bundle into the local cache.
1108
1109
  *
@@ -1113,7 +1114,7 @@ declare function el(t: any): Promise<Ph>;
1113
1114
  * @returns A `LoadBundleTask` object, which notifies callers with progress
1114
1115
  * updates, and completion or error events. It can be used as a
1115
1116
  * `Promise<LoadBundleTaskProgress>`.
1116
- */ declare function Uc(t: any, e: any): bc;
1117
+ */ declare function Qc(t: any, e: any): Dc;
1117
1118
  /**
1118
1119
  * Reads a Firestore {@link Query} from local cache, identified by the given
1119
1120
  * name.
@@ -1125,9 +1126,9 @@ declare function el(t: any): Promise<Ph>;
1125
1126
  * @param firestore - The {@link Firestore} instance to read the query from.
1126
1127
  * @param name - The name of the query.
1127
1128
  * @returns A `Promise` that is resolved with the Query or `null`.
1128
- */ declare function qc(t: any, e: any): any;
1129
- declare function fl(t: any, ...e: any[]): () => void;
1130
- declare function dl(t: any, e: any): () => void;
1129
+ */ declare function jc(t: any, e: any): any;
1130
+ declare function gl(t: any, ...e: any[]): () => void;
1131
+ declare function yl(t: any, e: any): () => void;
1131
1132
  /**
1132
1133
  * Creates a {@link QueryConstraint} that sorts the query result by the
1133
1134
  * specified field, optionally in descending order instead of ascending.
@@ -1136,7 +1137,7 @@ declare function dl(t: any, e: any): () => void;
1136
1137
  * @param directionStr - Optional direction to sort by ('asc' or 'desc'). If
1137
1138
  * not specified, order will be ascending.
1138
1139
  * @returns The created {@link Query}.
1139
- */ declare function Oh(t: any, e?: string): Mh;
1140
+ */ declare function Lh(t: any, e?: string): Bh;
1140
1141
  /**
1141
1142
  * Creates a new immutable instance of {@link Query} that is extended to also include
1142
1143
  * additional query constraints.
@@ -1145,7 +1146,7 @@ declare function dl(t: any, e: any): () => void;
1145
1146
  * @param queryConstraints - The list of {@link QueryConstraint}s to apply.
1146
1147
  * @throws if any of the provided query constraints cannot be combined with the
1147
1148
  * existing or new constraints.
1148
- */ declare function xh(t: any, ...e: any[]): any;
1149
+ */ declare function Mh(t: any, ...e: any[]): any;
1149
1150
  /**
1150
1151
  * Returns true if the provided queries point to the same collection and apply
1151
1152
  * the same constraints.
@@ -1154,7 +1155,7 @@ declare function dl(t: any, e: any): () => void;
1154
1155
  * @param right - A `Query` to compare.
1155
1156
  * @returns true if the references point to the same location in the same
1156
1157
  * Firestore database.
1157
- */ declare function Ac(t: any, e: any): boolean;
1158
+ */ declare function Vc(t: any, e: any): boolean;
1158
1159
  /**
1159
1160
  * Returns true if the provided references are equal.
1160
1161
  *
@@ -1162,7 +1163,7 @@ declare function dl(t: any, e: any): () => void;
1162
1163
  * @param right - A reference to compare.
1163
1164
  * @returns true if the references point to the same location in the same
1164
1165
  * Firestore database.
1165
- */ declare function Ec(t: any, e: any): boolean;
1166
+ */ declare function bc(t: any, e: any): boolean;
1166
1167
  /**
1167
1168
  * Executes the given `updateFunction` and then attempts to commit the changes
1168
1169
  * applied within the transaction. If any document read within the transaction
@@ -1175,16 +1176,18 @@ declare function dl(t: any, e: any): () => void;
1175
1176
  * transaction against.
1176
1177
  * @param updateFunction - The function to execute within the transaction
1177
1178
  * context.
1179
+ * @param options - An options object to configure maximum number of attempts to
1180
+ * commit.
1178
1181
  * @returns If the transaction completed successfully or was explicitly aborted
1179
1182
  * (the `updateFunction` returned a failed promise), the promise returned by the
1180
1183
  * `updateFunction `is returned here. Otherwise, if the transaction failed, a
1181
1184
  * rejected promise with the corresponding failure error is returned.
1182
- */ declare function gl(t: any, e: any): Promise<any>;
1185
+ */ declare function El(t: any, e: any, n: any): Promise<any>;
1183
1186
  /**
1184
1187
  * Returns a sentinel used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link @firebase/firestore/lite#(updateDoc:1)} to
1185
1188
  * include a server-generated timestamp in the written data.
1186
- */ declare function pl(): rh;
1187
- declare function al(t: any, e: any, n: any): Promise<any>;
1189
+ */ declare function Rl(): ch;
1190
+ declare function dl(t: any, e: any, n: any): Promise<any>;
1188
1191
  /**
1189
1192
  * Sets the verbosity of Cloud Firestore logs (debug, error, or silent).
1190
1193
  *
@@ -1197,16 +1200,16 @@ declare function al(t: any, e: any, n: any): Promise<any>;
1197
1200
  * <li>`error` to log errors only.</li>
1198
1201
  * <li><code>`silent` to turn off logging.</li>
1199
1202
  * </ul>
1200
- */ declare function M(t: any): void;
1203
+ */ declare function O(t: any): void;
1201
1204
  /**
1202
1205
  * Returns true if the provided snapshots are equal.
1203
1206
  *
1204
1207
  * @param left - A snapshot to compare.
1205
1208
  * @param right - A snapshot to compare.
1206
1209
  * @returns true if the snapshots are equal.
1207
- */ declare function Sh(t: any, e: any): any;
1208
- declare function qh(...t: any[]): Lh;
1209
- declare function Uh(...t: any[]): Lh;
1210
+ */ declare function Nh(t: any, e: any): any;
1211
+ declare function jh(...t: any[]): Gh;
1212
+ declare function Qh(...t: any[]): Gh;
1210
1213
  /**
1211
1214
  * Terminates the provided {@link Firestore} instance.
1212
1215
  *
@@ -1228,8 +1231,8 @@ declare function Uh(...t: any[]): Lh;
1228
1231
  *
1229
1232
  * @returns A `Promise` that is resolved when the instance has been successfully
1230
1233
  * terminated.
1231
- */ declare function Lc(t: any): any;
1232
- declare function cl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1234
+ */ declare function Gc(t: any): any;
1235
+ declare function _l(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1233
1236
  /**
1234
1237
  * Waits until all currently pending writes for the active user have been
1235
1238
  * acknowledged by the backend.
@@ -1245,7 +1248,7 @@ declare function cl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1245
1248
  *
1246
1249
  * @returns A `Promise` which resolves when all currently pending writes have been
1247
1250
  * acknowledged by the backend.
1248
- */ declare function Fc(t: any): Promise<any>;
1251
+ */ declare function Uc(t: any): Promise<any>;
1249
1252
  /**
1250
1253
  * Creates a {@link QueryConstraint} that enforces that documents must contain the
1251
1254
  * specified field and that the value should satisfy the relation constraint
@@ -1256,7 +1259,7 @@ declare function cl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1256
1259
  * "&lt;=", "!=").
1257
1260
  * @param value - The value for comparison
1258
1261
  * @returns The created {@link Query}.
1259
- */ declare function kh(t: any, e: any, n: any): Nh;
1262
+ */ declare function $h(t: any, e: any, n: any): Fh;
1260
1263
  /**
1261
1264
  * @license
1262
1265
  * Copyright 2020 Google LLC
@@ -1283,7 +1286,7 @@ declare function cl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1283
1286
  *
1284
1287
  * @returns A {@link WriteBatch} that can be used to atomically execute multiple
1285
1288
  * writes.
1286
- */ declare function Al(t: any): Zh;
1289
+ */ declare function vl(t: any): il;
1287
1290
  /**
1288
1291
  * @license
1289
1292
  * Copyright 2020 Google LLC
@@ -1308,7 +1311,7 @@ declare function cl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1308
1311
  * For a `DocumentSnapshot` that points to a non-existing document, any data
1309
1312
  * access will return 'undefined'. You can use the `exists()` method to
1310
1313
  * explicitly verify a document's existence.
1311
- */ declare class Th {
1314
+ */ declare class Ph {
1312
1315
  /** @hideconstructor protected */
1313
1316
  constructor(t: any, e: any, n: any, s: any, i: any);
1314
1317
  _firestore: any;
@@ -1319,7 +1322,7 @@ declare function cl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1319
1322
  /** Property of the `DocumentSnapshot` that provides the document's ID. */ get id(): any;
1320
1323
  /**
1321
1324
  * The `DocumentReference` for the document included in the `DocumentSnapshot`.
1322
- */ get ref(): mc;
1325
+ */ get ref(): Ic;
1323
1326
  /**
1324
1327
  * Signals whether or not the document at the snapshot's location exists.
1325
1328
  *
@@ -1363,7 +1366,7 @@ declare function cl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1363
1366
  * The Cloud Firestore service interface.
1364
1367
  *
1365
1368
  * Do not call this constructor directly. Instead, use {@link getFirestore}.
1366
- */ declare class _c {
1369
+ */ declare class yc {
1367
1370
  /** @hideconstructor */
1368
1371
  constructor(t: any, e: any, n: any);
1369
1372
  _authCredentials: any;
@@ -1373,9 +1376,9 @@ declare function cl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1373
1376
  */
1374
1377
  type: string;
1375
1378
  _persistenceKey: string;
1376
- _settings: dc;
1379
+ _settings: gc;
1377
1380
  _settingsFrozen: boolean;
1378
- _databaseId: vt;
1381
+ _databaseId: kt;
1379
1382
  _app: any;
1380
1383
  /**
1381
1384
  * The {@link @firebase/app#FirebaseApp} associated with this `Firestore` service
@@ -1384,14 +1387,14 @@ declare function cl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1384
1387
  get _initialized(): boolean;
1385
1388
  get _terminated(): boolean;
1386
1389
  _setSettings(t: any): void;
1387
- _getSettings(): dc;
1388
- _freezeSettings(): dc;
1390
+ _getSettings(): gc;
1391
+ _freezeSettings(): gc;
1389
1392
  _delete(): Promise<void>;
1390
1393
  _terminateTask: Promise<void> | undefined;
1391
1394
  /** Returns a JSON-serializable representation of this `Firestore` instance. */ toJSON(): {
1392
1395
  app: any;
1393
- databaseId: vt;
1394
- settings: dc;
1396
+ databaseId: kt;
1397
+ settings: gc;
1395
1398
  };
1396
1399
  /**
1397
1400
  * Terminates all components used by this client. Subclasses can override
@@ -1416,17 +1419,17 @@ declare function cl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1416
1419
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1417
1420
  * See the License for the specific language governing permissions and
1418
1421
  * limitations under the License.
1419
- */ declare class Rc {
1420
- ka: Promise<void>;
1421
- Ma: any[];
1422
- Oa: boolean;
1423
- Fa: any[];
1424
- $a: any;
1425
- Ba: boolean;
1426
- La: boolean;
1427
- Ua: any[];
1428
- Do: zo;
1429
- qa: () => void;
1422
+ */ declare class vc {
1423
+ Qa: Promise<void>;
1424
+ ja: any[];
1425
+ Wa: boolean;
1426
+ za: any[];
1427
+ Ha: any;
1428
+ Ja: boolean;
1429
+ Ya: boolean;
1430
+ Xa: any[];
1431
+ Uo: Xo;
1432
+ Za: () => void;
1430
1433
  get isShuttingDown(): boolean;
1431
1434
  /**
1432
1435
  * Adds a new operation to the queue without waiting for it to complete (i.e.
@@ -1439,30 +1442,30 @@ declare function cl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1439
1442
  /**
1440
1443
  * Runs the next operation from the retryable queue. If the operation fails,
1441
1444
  * reschedules with backoff.
1442
- */ Qa(): Promise<void>;
1443
- Ga(t: any): Promise<any>;
1444
- enqueueAfterDelay(t: any, e: any, n: any): Su;
1445
- Ka(): void;
1445
+ */ nc(): Promise<void>;
1446
+ ec(t: any): Promise<any>;
1447
+ enqueueAfterDelay(t: any, e: any, n: any): Nu;
1448
+ tc(): void;
1446
1449
  verifyOperationInProgress(): void;
1447
1450
  /**
1448
1451
  * Waits until all currently queued tasks are finished executing. Delayed
1449
1452
  * operations are not run.
1450
- */ Wa(): Promise<void>;
1453
+ */ ic(): Promise<void>;
1451
1454
  /**
1452
1455
  * For Tests: Determine if a delayed operation with a particular TimerId
1453
1456
  * exists.
1454
- */ za(t: any): boolean;
1457
+ */ rc(t: any): boolean;
1455
1458
  /**
1456
1459
  * For Tests: Runs some or all delayed operations early.
1457
1460
  *
1458
1461
  * @param lastTimerId - Delayed operations up to and including this TimerId
1459
1462
  * will be drained. Pass TimerId.All to run all delayed operations.
1460
1463
  * @returns a Promise that resolves once all operations have been run.
1461
- */ Ha(t: any): Promise<void>;
1464
+ */ oc(t: any): Promise<void>;
1462
1465
  /**
1463
1466
  * For Tests: Skip all subsequent delays for a timer id.
1464
- */ Ja(t: any): void;
1465
- /** Called once a DelayedOperation is run or canceled. */ ja(t: any): void;
1467
+ */ uc(t: any): void;
1468
+ /** Called once a DelayedOperation is run or canceled. */ sc(t: any): void;
1466
1469
  }
1467
1470
  import { FirebaseError as a } from "@firebase/util/dist/src/errors";
1468
1471
  /**
@@ -1488,12 +1491,12 @@ import { FirebaseError as a } from "@firebase/util/dist/src/errors";
1488
1491
  /**
1489
1492
  * Helper for parsing raw user input (provided via the API) into internal model
1490
1493
  * classes.
1491
- */ declare class th {
1494
+ */ declare class ih {
1492
1495
  constructor(t: any, e: any, n: any);
1493
1496
  databaseId: any;
1494
1497
  ignoreUndefinedProperties: any;
1495
- M: any;
1496
- /** Creates a new top-level parse context. */ ac(t: any, e: any, n: any, s?: boolean): Zc;
1498
+ O: any;
1499
+ /** Creates a new top-level parse context. */ Ic(t: any, e: any, n: any, s?: boolean): sh;
1497
1500
  }
1498
1501
  declare class Z {
1499
1502
  constructor(t: any);
@@ -1520,7 +1523,7 @@ declare class Z {
1520
1523
  /**
1521
1524
  * Path represents an ordered sequence of string segments.
1522
1525
  */
1523
- declare class dt {
1526
+ declare class pt {
1524
1527
  static comparator(t: any, e: any): 0 | 1 | -1;
1525
1528
  constructor(t: any, e: any, n: any);
1526
1529
  segments: any;
@@ -1541,67 +1544,67 @@ declare class dt {
1541
1544
  forEach(t: any): void;
1542
1545
  toArray(): any;
1543
1546
  }
1544
- declare class uh extends Wc {
1547
+ declare class lh extends Yc {
1545
1548
  constructor(t: any, e: any);
1546
- cc: any;
1547
- _toFieldTransform(t: any): wn;
1549
+ Tc: any;
1550
+ _toFieldTransform(t: any): In;
1548
1551
  isEqual(t: any): boolean;
1549
1552
  }
1550
- declare class oh extends Wc {
1553
+ declare class hh extends Yc {
1551
1554
  constructor(t: any, e: any);
1552
- cc: any;
1553
- _toFieldTransform(t: any): wn;
1555
+ Tc: any;
1556
+ _toFieldTransform(t: any): In;
1554
1557
  isEqual(t: any): boolean;
1555
1558
  }
1556
- declare class sh extends Wc {
1559
+ declare class uh extends Yc {
1557
1560
  _toFieldTransform(t: any): null;
1558
1561
  isEqual(t: any): boolean;
1559
1562
  }
1560
- declare class Kh extends Ch {
1563
+ declare class Wh extends Oh {
1561
1564
  constructor(t: any, e: any, n: any);
1562
1565
  type: any;
1563
- gc: any;
1564
- yc: any;
1565
- _apply(t: any): gc;
1566
+ Sc: any;
1567
+ Dc: any;
1568
+ _apply(t: any): Tc;
1566
1569
  }
1567
- declare class ah extends Wc {
1570
+ declare class fh extends Yc {
1568
1571
  constructor(t: any, e: any);
1569
- hc: any;
1570
- _toFieldTransform(t: any): wn;
1572
+ Ec: any;
1573
+ _toFieldTransform(t: any): In;
1571
1574
  isEqual(t: any): boolean;
1572
1575
  }
1573
- declare class Fh extends Ch {
1576
+ declare class Uh extends Oh {
1574
1577
  constructor(t: any, e: any, n: any);
1575
1578
  type: any;
1576
- wc: any;
1577
- mc: any;
1578
- _apply(t: any): gc;
1579
+ Vc: any;
1580
+ vc: any;
1581
+ _apply(t: any): Tc;
1579
1582
  }
1580
- declare class Mh extends Ch {
1583
+ declare class Bh extends Oh {
1581
1584
  constructor(t: any, e: any);
1582
- lc: any;
1583
- _c: any;
1585
+ Ac: any;
1586
+ bc: any;
1584
1587
  type: string;
1585
- _apply(t: any): gc;
1588
+ _apply(t: any): Tc;
1586
1589
  }
1587
- declare class rh extends Wc {
1588
- _toFieldTransform(t: any): wn;
1590
+ declare class ch extends Yc {
1591
+ _toFieldTransform(t: any): In;
1589
1592
  isEqual(t: any): boolean;
1590
1593
  }
1591
- declare class Lh extends Ch {
1594
+ declare class Gh extends Oh {
1592
1595
  constructor(t: any, e: any, n: any);
1593
1596
  type: any;
1594
- gc: any;
1595
- yc: any;
1596
- _apply(t: any): gc;
1597
+ Sc: any;
1598
+ Dc: any;
1599
+ _apply(t: any): Tc;
1597
1600
  }
1598
- declare class Nh extends Ch {
1601
+ declare class Fh extends Oh {
1599
1602
  constructor(t: any, e: any, n: any);
1600
- lc: any;
1601
- fc: any;
1602
- dc: any;
1603
+ Ac: any;
1604
+ Rc: any;
1605
+ Pc: any;
1603
1606
  type: string;
1604
- _apply(t: any): gc;
1607
+ _apply(t: any): Tc;
1605
1608
  }
1606
1609
  /**
1607
1610
  * @license
@@ -1624,7 +1627,7 @@ declare class Nh extends Ch {
1624
1627
  * user-supplied `FirestoreSettings` object. This is a separate type so that
1625
1628
  * defaults can be supplied and the value can be checked for equality.
1626
1629
  */
1627
- declare class dc {
1630
+ declare class gc {
1628
1631
  constructor(t: any);
1629
1632
  host: any;
1630
1633
  ssl: any;
@@ -1648,17 +1651,17 @@ declare class dc {
1648
1651
  * base delay. This prevents clients from accidentally synchronizing their
1649
1652
  * delays causing spikes of load to the backend.
1650
1653
  */
1651
- declare class zo {
1654
+ declare class Xo {
1652
1655
  constructor(t: any, e: any, n?: number, s?: number, i?: number);
1653
- Yn: any;
1656
+ si: any;
1654
1657
  timerId: any;
1655
- fo: number;
1656
- _o: number;
1657
- wo: number;
1658
- mo: number;
1659
- yo: any;
1658
+ Po: number;
1659
+ bo: number;
1660
+ Vo: number;
1661
+ vo: number;
1662
+ So: any;
1660
1663
  /** The last backoff attempt, as epoch milliseconds. */
1661
- po: number;
1664
+ Do: number;
1662
1665
  /**
1663
1666
  * Resets the backoff delay.
1664
1667
  *
@@ -1669,15 +1672,15 @@ declare class zo {
1669
1672
  /**
1670
1673
  * Resets the backoff delay to the maximum delay (e.g. for use after a
1671
1674
  * RESOURCE_EXHAUSTED error).
1672
- */ Io(): void;
1675
+ */ Co(): void;
1673
1676
  /**
1674
1677
  * Returns a promise that resolves after currentDelayMs, and increases the
1675
1678
  * delay for any subsequent attempts. If there was a pending backoff operation
1676
1679
  * already, it will be canceled.
1677
- */ To(t: any): void;
1678
- Ao(): void;
1680
+ */ xo(t: any): void;
1681
+ ko(): void;
1679
1682
  cancel(): void;
1680
- /** Returns a random value in the range [-currentBaseMs/2, currentBaseMs/2] */ Eo(): number;
1683
+ /** Returns a random value in the range [-currentBaseMs/2, currentBaseMs/2] */ No(): number;
1681
1684
  }
1682
1685
  /**
1683
1686
  * @license
@@ -1706,7 +1709,7 @@ declare class zo {
1706
1709
  * in newer versions of TypeScript defines `finally`, which is not available in
1707
1710
  * IE.
1708
1711
  */
1709
- declare class Su {
1712
+ declare class Nu {
1710
1713
  /**
1711
1714
  * Creates and returns a DelayedOperation that has been scheduled to be
1712
1715
  * executed on the provided asyncQueue after the provided delayMs.
@@ -1720,7 +1723,7 @@ declare class Su {
1720
1723
  * from its delayedOperations list.
1721
1724
  * PORTING NOTE: This exists to prevent making removeDelayedOperation() and
1722
1725
  * the DelayedOperation class public.
1723
- */ static createAndSchedule(t: any, e: any, n: any, s: any, i: any): Su;
1726
+ */ static createAndSchedule(t: any, e: any, n: any, s: any, i: any): Nu;
1724
1727
  constructor(t: any, e: any, n: any, s: any, i: any);
1725
1728
  asyncQueue: any;
1726
1729
  timerId: any;
@@ -1748,7 +1751,7 @@ declare class Su {
1748
1751
  handleDelayElapsed(): void;
1749
1752
  clearTimeout(): void;
1750
1753
  }
1751
- /** A "context" object passed around while parsing user data. */ declare class Zc {
1754
+ /** A "context" object passed around while parsing user data. */ declare class sh {
1752
1755
  /**
1753
1756
  * Initializes a ParseContext with the given source and path.
1754
1757
  *
@@ -1770,20 +1773,20 @@ declare class Su {
1770
1773
  constructor(t: any, e: any, n: any, s: any, i: any, r: any);
1771
1774
  settings: any;
1772
1775
  databaseId: any;
1773
- M: any;
1776
+ O: any;
1774
1777
  ignoreUndefinedProperties: any;
1775
1778
  fieldTransforms: any;
1776
1779
  fieldMask: any;
1777
1780
  get path(): any;
1778
- get Xa(): any;
1779
- /** Returns a new context with the specified settings overwritten. */ Za(t: any): Zc;
1780
- tc(t: any): Zc;
1781
- sc(t: any): Zc;
1782
- ic(t: any): Zc;
1783
- rc(t: any): Q;
1781
+ get cc(): any;
1782
+ /** Returns a new context with the specified settings overwritten. */ hc(t: any): sh;
1783
+ lc(t: any): sh;
1784
+ _c(t: any): sh;
1785
+ wc(t: any): sh;
1786
+ mc(t: any): Q;
1784
1787
  /** Returns 'true' if 'fieldPath' was traversed when creating this context. */ contains(t: any): boolean;
1785
- Ya(): void;
1786
- nc(t: any): void;
1788
+ ac(): void;
1789
+ dc(t: any): void;
1787
1790
  }
1788
1791
  /**
1789
1792
  * @license
@@ -1801,9 +1804,9 @@ declare class Su {
1801
1804
  * See the License for the specific language governing permissions and
1802
1805
  * limitations under the License.
1803
1806
  */
1804
- /** A field path and the TransformOperation to perform upon it. */ declare class wn {
1807
+ /** A field path and the TransformOperation to perform upon it. */ declare class In {
1805
1808
  constructor(t: any, e: any);
1806
1809
  field: any;
1807
1810
  transform: any;
1808
1811
  }
1809
- export { Jh as AbstractUserDataWriter, jc as Bytes, Vc as CACHE_SIZE_UNLIMITED, yc as CollectionReference, mc as DocumentReference, Ph as DocumentSnapshot, Gc as FieldPath, Wc as FieldValue, vc as Firestore, Q as FirestoreError, zc as GeoPoint, bc as LoadBundleTask, gc as Query, Ch as QueryConstraint, bh as QueryDocumentSnapshot, Vh as QuerySnapshot, Rh as SnapshotMetadata, at as Timestamp, ml as Transaction, Zh as WriteBatch, vt as _DatabaseId, xt as _DocumentKey, et as _EmptyAppCheckTokenProvider, z as _EmptyAuthCredentialsProvider, mt as _FieldPath, lc as _cast, q as _debugAssert, yt as _isBase64Available, $ as _logWarn, Rl as _setIndexConfiguration, uc as _validateIsNotUsedTogether, ll as addDoc, Tl as arrayRemove, Il as arrayUnion, Oc as clearIndexedDbPersistence, pc as collection, Ic as collectionGroup, wc as connectFirestoreEmulator, hl as deleteDoc, yl as deleteField, Bc as disableNetwork, Tc as doc, Qc as documentId, Nc as enableIndexedDbPersistence, kc as enableMultiTabIndexedDbPersistence, $c as enableNetwork, Qh as endAt, Gh as endBefore, Cc as ensureFirestoreConfigured, _l as executeWrite, el as getDoc, sl as getDocFromCache, il as getDocFromServer, rl as getDocs, ol as getDocsFromCache, ul as getDocsFromServer, Dc as getFirestore, El as increment, Sc as initializeFirestore, $h as limit, Bh as limitToLast, Uc as loadBundle, qc as namedQuery, fl as onSnapshot, dl as onSnapshotsInSync, Oh as orderBy, xh as query, Ac as queryEqual, Ec as refEqual, gl as runTransaction, pl as serverTimestamp, al as setDoc, M as setLogLevel, Sh as snapshotEqual, qh as startAfter, Uh as startAt, Lc as terminate, cl as updateDoc, Fc as waitForPendingWrites, kh as where, Al as writeBatch };
1812
+ export { el as AbstractUserDataWriter, Jc as Bytes, Cc as CACHE_SIZE_UNLIMITED, Ec as CollectionReference, Ic as DocumentReference, Sh as DocumentSnapshot, zc as FieldPath, Yc as FieldValue, xc as Firestore, Q as FirestoreError, Xc as GeoPoint, Dc as LoadBundleTask, Tc as Query, Oh as QueryConstraint, Dh as QueryDocumentSnapshot, Ch as QuerySnapshot, vh as SnapshotMetadata, at as Timestamp, Tl as Transaction, il as WriteBatch, kt as _DatabaseId, $t as _DocumentKey, et as _EmptyAppCheckTokenProvider, z as _EmptyAuthCredentialsProvider, Et as _FieldPath, wc as _cast, q as _debugAssert, Rt as _isBase64Available, $ as _logWarn, Sl as _setIndexConfiguration, lc as _validateIsNotUsedTogether, ml as addDoc, bl as arrayRemove, Pl as arrayUnion, Lc as clearIndexedDbPersistence, Ac as collection, Rc as collectionGroup, pc as connectFirestoreEmulator, wl as deleteDoc, Al as deleteField, Kc as disableNetwork, Pc as doc, Hc as documentId, Fc as enableIndexedDbPersistence, $c as enableMultiTabIndexedDbPersistence, qc as enableNetwork, Hh as endAt, zh as endBefore, Oc as ensureFirestoreConfigured, pl as executeWrite, ol as getDoc, al as getDocFromCache, cl as getDocFromServer, hl as getDocs, ll as getDocsFromCache, fl as getDocsFromServer, kc as getFirestore, Vl as increment, Nc as initializeFirestore, qh as limit, Kh as limitToLast, Qc as loadBundle, jc as namedQuery, gl as onSnapshot, yl as onSnapshotsInSync, Lh as orderBy, Mh as query, Vc as queryEqual, bc as refEqual, El as runTransaction, Rl as serverTimestamp, dl as setDoc, O as setLogLevel, Nh as snapshotEqual, jh as startAfter, Qh as startAt, Gc as terminate, _l as updateDoc, Uc as waitForPendingWrites, $h as where, vl as writeBatch };