@firebase/firestore 3.4.3 → 3.4.4-canary.0482aa5b7

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 (125) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/dist/firestore/src/api/database.d.ts +14 -9
  3. package/dist/firestore/src/api/{query.d.ts → filter.d.ts} +0 -0
  4. package/dist/firestore/src/api/index_configuration.d.ts +117 -0
  5. package/dist/firestore/src/api/snapshot.d.ts +1 -2
  6. package/dist/firestore/src/api.d.ts +2 -1
  7. package/dist/firestore/src/core/database_info.d.ts +1 -0
  8. package/dist/firestore/src/core/firestore_client.d.ts +2 -0
  9. package/dist/firestore/src/core/target.d.ts +34 -5
  10. package/dist/firestore/src/lite-api/query.d.ts +2 -2
  11. package/dist/firestore/src/local/index_manager.d.ts +52 -0
  12. package/dist/firestore/src/local/indexeddb_index_manager.d.ts +11 -0
  13. package/dist/firestore/src/local/indexeddb_schema.d.ts +121 -7
  14. package/dist/firestore/src/local/local_serializer.d.ts +1 -1
  15. package/dist/firestore/src/local/memory_index_manager.d.ts +11 -0
  16. package/dist/firestore/src/local/remote_document_change_buffer.d.ts +3 -12
  17. package/dist/firestore/src/model/document.d.ts +7 -0
  18. package/dist/firestore/src/model/document_key.d.ts +1 -0
  19. package/dist/firestore/src/model/field_index.d.ts +156 -0
  20. package/dist/firestore/src/model/values.d.ts +7 -0
  21. package/dist/firestore/test/integration/api/index_configuration.test.d.ts +17 -0
  22. package/dist/firestore/test/unit/local/test_remote_document_cache.d.ts +1 -1
  23. package/dist/firestore/test/unit/model/field_index.test.d.ts +17 -0
  24. package/dist/firestore/test/unit/model/target.test.d.ts +17 -0
  25. package/dist/firestore/test/util/helpers.d.ts +8 -2
  26. package/dist/index.d.ts +16 -11
  27. package/dist/index.esm2017.js +2979 -2671
  28. package/dist/index.esm2017.js.map +1 -1
  29. package/dist/index.esm5.js +3036 -2815
  30. package/dist/index.esm5.js.map +1 -1
  31. package/dist/index.node.cjs.js +644 -235
  32. package/dist/index.node.cjs.js.map +1 -1
  33. package/dist/index.node.mjs +644 -236
  34. package/dist/index.node.mjs.map +1 -1
  35. package/dist/index.rn.js +2761 -2449
  36. package/dist/index.rn.js.map +1 -1
  37. package/dist/internal.d.ts +303 -25
  38. package/dist/lite/firestore/src/api/database.d.ts +14 -9
  39. package/dist/lite/firestore/src/api/{query.d.ts → filter.d.ts} +0 -0
  40. package/dist/lite/firestore/src/api/index_configuration.d.ts +117 -0
  41. package/dist/lite/firestore/src/api/snapshot.d.ts +1 -2
  42. package/dist/lite/firestore/src/api.d.ts +2 -1
  43. package/dist/lite/firestore/src/core/database_info.d.ts +1 -0
  44. package/dist/lite/firestore/src/core/firestore_client.d.ts +2 -0
  45. package/dist/lite/firestore/src/core/target.d.ts +34 -5
  46. package/dist/lite/firestore/src/lite-api/query.d.ts +2 -2
  47. package/dist/lite/firestore/src/local/index_manager.d.ts +52 -0
  48. package/dist/lite/firestore/src/local/indexeddb_index_manager.d.ts +11 -0
  49. package/dist/lite/firestore/src/local/indexeddb_schema.d.ts +121 -7
  50. package/dist/lite/firestore/src/local/local_serializer.d.ts +1 -1
  51. package/dist/lite/firestore/src/local/memory_index_manager.d.ts +11 -0
  52. package/dist/lite/firestore/src/local/remote_document_change_buffer.d.ts +3 -12
  53. package/dist/lite/firestore/src/model/document.d.ts +7 -0
  54. package/dist/lite/firestore/src/model/document_key.d.ts +1 -0
  55. package/dist/lite/firestore/src/model/field_index.d.ts +156 -0
  56. package/dist/lite/firestore/src/model/values.d.ts +7 -0
  57. package/dist/lite/firestore/test/integration/api/index_configuration.test.d.ts +17 -0
  58. package/dist/lite/firestore/test/unit/local/test_remote_document_cache.d.ts +1 -1
  59. package/dist/lite/firestore/test/unit/model/field_index.test.d.ts +17 -0
  60. package/dist/lite/firestore/test/unit/model/target.test.d.ts +17 -0
  61. package/dist/lite/firestore/test/util/helpers.d.ts +8 -2
  62. package/dist/lite/index.browser.esm2017.js +352 -338
  63. package/dist/lite/index.browser.esm2017.js.map +1 -1
  64. package/dist/lite/index.browser.esm5.js +334 -326
  65. package/dist/lite/index.browser.esm5.js.map +1 -1
  66. package/dist/lite/index.node.cjs.js +53 -34
  67. package/dist/lite/index.node.cjs.js.map +1 -1
  68. package/dist/lite/index.node.mjs +53 -34
  69. package/dist/lite/index.node.mjs.map +1 -1
  70. package/dist/lite/index.rn.esm2017.js +318 -304
  71. package/dist/lite/index.rn.esm2017.js.map +1 -1
  72. package/dist/lite/internal.d.ts +11 -2
  73. package/dist/lite/packages/firestore/dist/lite/index.browser.esm2017.d.ts +98 -97
  74. package/dist/lite/packages/firestore/src/api/database.d.ts +14 -9
  75. package/dist/lite/packages/firestore/src/api/{query.d.ts → filter.d.ts} +0 -0
  76. package/dist/lite/packages/firestore/src/api/index_configuration.d.ts +117 -0
  77. package/dist/lite/packages/firestore/src/api/snapshot.d.ts +1 -2
  78. package/dist/lite/packages/firestore/src/api.d.ts +2 -1
  79. package/dist/lite/packages/firestore/src/core/database_info.d.ts +1 -0
  80. package/dist/lite/packages/firestore/src/core/firestore_client.d.ts +2 -0
  81. package/dist/lite/packages/firestore/src/core/target.d.ts +34 -5
  82. package/dist/lite/packages/firestore/src/lite-api/query.d.ts +2 -2
  83. package/dist/lite/packages/firestore/src/local/index_manager.d.ts +52 -0
  84. package/dist/lite/packages/firestore/src/local/indexeddb_index_manager.d.ts +11 -0
  85. package/dist/lite/packages/firestore/src/local/indexeddb_schema.d.ts +121 -7
  86. package/dist/lite/packages/firestore/src/local/local_serializer.d.ts +1 -1
  87. package/dist/lite/packages/firestore/src/local/memory_index_manager.d.ts +11 -0
  88. package/dist/lite/packages/firestore/src/local/remote_document_change_buffer.d.ts +3 -12
  89. package/dist/lite/packages/firestore/src/model/document.d.ts +7 -0
  90. package/dist/lite/packages/firestore/src/model/document_key.d.ts +1 -0
  91. package/dist/lite/packages/firestore/src/model/field_index.d.ts +156 -0
  92. package/dist/lite/packages/firestore/src/model/values.d.ts +7 -0
  93. package/dist/lite/packages/firestore/test/integration/api/index_configuration.test.d.ts +17 -0
  94. package/dist/lite/packages/firestore/test/unit/local/test_remote_document_cache.d.ts +1 -1
  95. package/dist/lite/packages/firestore/test/unit/model/field_index.test.d.ts +17 -0
  96. package/dist/lite/packages/firestore/test/unit/model/target.test.d.ts +17 -0
  97. package/dist/lite/packages/firestore/test/util/helpers.d.ts +8 -2
  98. package/dist/lite/private.d.ts +9 -2
  99. package/dist/packages/firestore/dist/index.esm2017.d.ts +214 -191
  100. package/dist/packages/firestore/src/api/database.d.ts +14 -9
  101. package/dist/packages/firestore/src/api/{query.d.ts → filter.d.ts} +0 -0
  102. package/dist/packages/firestore/src/api/index_configuration.d.ts +117 -0
  103. package/dist/packages/firestore/src/api/snapshot.d.ts +1 -2
  104. package/dist/packages/firestore/src/api.d.ts +2 -1
  105. package/dist/packages/firestore/src/core/database_info.d.ts +1 -0
  106. package/dist/packages/firestore/src/core/firestore_client.d.ts +2 -0
  107. package/dist/packages/firestore/src/core/target.d.ts +34 -5
  108. package/dist/packages/firestore/src/lite-api/query.d.ts +2 -2
  109. package/dist/packages/firestore/src/local/index_manager.d.ts +52 -0
  110. package/dist/packages/firestore/src/local/indexeddb_index_manager.d.ts +11 -0
  111. package/dist/packages/firestore/src/local/indexeddb_schema.d.ts +121 -7
  112. package/dist/packages/firestore/src/local/local_serializer.d.ts +1 -1
  113. package/dist/packages/firestore/src/local/memory_index_manager.d.ts +11 -0
  114. package/dist/packages/firestore/src/local/remote_document_change_buffer.d.ts +3 -12
  115. package/dist/packages/firestore/src/model/document.d.ts +7 -0
  116. package/dist/packages/firestore/src/model/document_key.d.ts +1 -0
  117. package/dist/packages/firestore/src/model/field_index.d.ts +156 -0
  118. package/dist/packages/firestore/src/model/values.d.ts +7 -0
  119. package/dist/packages/firestore/test/integration/api/index_configuration.test.d.ts +17 -0
  120. package/dist/packages/firestore/test/unit/local/test_remote_document_cache.d.ts +1 -1
  121. package/dist/packages/firestore/test/unit/model/field_index.test.d.ts +17 -0
  122. package/dist/packages/firestore/test/unit/model/target.test.d.ts +17 -0
  123. package/dist/packages/firestore/test/util/helpers.d.ts +8 -2
  124. package/dist/private.d.ts +205 -25
  125. package/package.json +10 -10
@@ -19,14 +19,14 @@
19
19
  * to the user.
20
20
  *
21
21
  * @internal
22
- */ declare class oh {
22
+ */ declare class hh {
23
23
  convertValue(t: any, e?: string): any;
24
24
  convertObject(t: any, e: any): {};
25
- convertGeoPoint(t: any): iu;
25
+ convertGeoPoint(t: any): cu;
26
26
  convertArray(t: any, e: any): any;
27
27
  convertServerTimestamp(t: any, e: any): any;
28
- convertTimestamp(t: any): at;
29
- convertDocumentKey(t: any, e: any): Dt;
28
+ convertTimestamp(t: any): ct;
29
+ convertDocumentKey(t: any, e: any): Nt;
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 nu {
49
+ */ declare class ou {
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): nu;
55
+ */ static fromBase64String(t: any): ou;
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): nu;
60
+ */ static fromUint8Array(t: any): ou;
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 Ma: -1;
102
+ /** DOMException error code constants. */ declare const Uc: -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 Va extends va {
106
+ */ declare class Nc extends Cc {
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(): Pa | null;
116
+ */ get parent(): Dc | 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 Pa {
138
+ */ declare class Dc {
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(): Va;
157
- withConverter(t: any): Pa;
156
+ */ get parent(): Nc;
157
+ withConverter(t: any): Dc;
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 $u extends Cu {
167
+ */ declare class Lu extends $u {
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 tu {
213
+ declare class iu {
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 tu {
245
245
  /**
246
246
  * Sentinel values that can be used when writing document fields with `set()`
247
247
  * or `update()`.
248
- */ declare class su {
248
+ */ declare class au {
249
249
  /**
250
250
  * @param _methodName - The public API endpoint that returns this class.
251
251
  * @hideconstructor
@@ -258,10 +258,10 @@ declare class tu {
258
258
  *
259
259
  * Do not call this constructor directly. Instead, use {@link getFirestore}.
260
260
  */
261
- declare class Fa extends Ra {
262
- _queue: xa;
261
+ declare class qc extends Vc {
262
+ _queue: Mc;
263
263
  }
264
- /** An error returned by a Firestore operation. */ declare class Q extends a {
264
+ /** An error returned by a Firestore operation. */ declare class G extends c {
265
265
  /** @hideconstructor */
266
266
  constructor(t: any, e: any);
267
267
  }
@@ -287,7 +287,7 @@ declare class Fa extends Ra {
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 iu {
290
+ */ declare class cu {
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 Fa extends Ra {
318
318
  * with an underscore.
319
319
  */ _compareTo(t: any): 0 | 1 | -1;
320
320
  }
321
- declare class Oa {
321
+ declare class Bc {
322
322
  _progressObserver: {};
323
- _taskCompletionResolver: W;
323
+ _taskCompletionResolver: Q;
324
324
  _lastProgress: {
325
325
  taskState: string;
326
326
  totalBytes: number;
@@ -370,7 +370,7 @@ declare class Oa {
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 va {
373
+ */ declare class Cc {
374
374
  /** @hideconstructor protected */
375
375
  constructor(t: any, e: any, n: any);
376
376
  converter: any;
@@ -378,7 +378,7 @@ declare class Oa {
378
378
  /** The type of this Firestore reference. */
379
379
  type: string;
380
380
  firestore: any;
381
- withConverter(t: any): va;
381
+ withConverter(t: any): Cc;
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 Oa {
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 Uu {
390
+ */ declare class Gu {
391
391
  }
392
392
  /**
393
393
  * A `QueryDocumentSnapshot` contains data read from a document in your
@@ -399,7 +399,7 @@ declare class Oa {
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 Ou extends $u {
402
+ */ declare class Bu extends Lu {
403
403
  }
404
404
  /**
405
405
  * A `QuerySnapshot` contains zero or more `DocumentSnapshot` objects
@@ -407,13 +407,13 @@ declare class Oa {
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 Mu {
410
+ */ declare class Uu {
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: xu;
416
+ metadata: Mu;
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 Oa {
455
455
  */
456
456
  /**
457
457
  * Metadata about a snapshot, describing the state of the snapshot.
458
- */ declare class xu {
458
+ */ declare class Mu {
459
459
  /** @hideconstructor */
460
460
  constructor(t: any, e: any);
461
461
  hasPendingWrites: any;
@@ -497,19 +497,19 @@ declare class Oa {
497
497
  * For examples and further specifications, refer to the
498
498
  * {@link https://github.com/google/protobuf/blob/master/src/google/protobuf/timestamp.proto | Timestamp definition}.
499
499
  */
500
- declare class at {
500
+ declare class ct {
501
501
  /**
502
502
  * Creates a new timestamp with the current date, with millisecond precision.
503
503
  *
504
504
  * @returns a new timestamp representing the current date.
505
- */ static now(): at;
505
+ */ static now(): ct;
506
506
  /**
507
507
  * Creates a new timestamp from the given date.
508
508
  *
509
509
  * @param date - The date to initialize the `Timestamp` from.
510
510
  * @returns A new `Timestamp` representing the same point in time as the given
511
511
  * date.
512
- */ static fromDate(t: any): at;
512
+ */ static fromDate(t: any): ct;
513
513
  /**
514
514
  * Creates a new timestamp from the given number of milliseconds.
515
515
  *
@@ -517,7 +517,7 @@ declare class at {
517
517
  * 1970-01-01T00:00:00Z.
518
518
  * @returns A new `Timestamp` representing the same point in time as the given
519
519
  * number of milliseconds.
520
- */ static fromMillis(t: any): at;
520
+ */ static fromMillis(t: any): ct;
521
521
  /**
522
522
  * Creates a new timestamp.
523
523
  *
@@ -564,11 +564,11 @@ declare class at {
564
564
  * to be compared using the `>`, `<=`, `>=` and `>` operators.
565
565
  */ valueOf(): string;
566
566
  }
567
- declare const Ph_base: {
567
+ declare const Dh_base: {
568
568
  new (t: any, e: any): {
569
569
  _firestore: any;
570
570
  _transaction: any;
571
- _dataReader: hu;
571
+ _dataReader: wu;
572
572
  /**
573
573
  * Reads the document referenced by the provided {@link DocumentReference}.
574
574
  *
@@ -607,7 +607,7 @@ declare const Ph_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 Ph extends Ph_base {
610
+ */ declare class Dh extends Dh_base {
611
611
  }
612
612
  /**
613
613
  * @license
@@ -632,22 +632,22 @@ declare const Ph_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 uh {
635
+ */ declare class dh {
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: hu;
643
- set(t: any, e: any, n: any): uh;
644
- update(t: any, e: any, n: any, ...s: any[]): uh;
642
+ _dataReader: wu;
643
+ set(t: any, e: any, n: any): dh;
644
+ update(t: any, e: any, n: any, ...s: any[]): dh;
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): uh;
650
+ */ delete(t: any): dh;
651
651
  /**
652
652
  * Commits all of the writes in this write batch as a single atomic unit.
653
653
  *
@@ -667,7 +667,8 @@ declare const Ph_base: {
667
667
  * Represents the database ID a Firestore client is associated with.
668
668
  * @internal
669
669
  */
670
- declare class wa {
670
+ declare class Vt {
671
+ static empty(): Vt;
671
672
  constructor(t: any, e: any);
672
673
  projectId: any;
673
674
  database: any;
@@ -692,9 +693,10 @@ declare class wa {
692
693
  */
693
694
  /**
694
695
  * @internal
695
- */ declare class Dt {
696
- static fromPath(t: any): Dt;
697
- static fromName(t: any): Dt;
696
+ */ declare class Nt {
697
+ static fromPath(t: any): Nt;
698
+ static fromName(t: any): Nt;
699
+ static empty(): Nt;
698
700
  static comparator(t: any, e: any): 0 | 1 | -1;
699
701
  static isDocumentKey(t: any): boolean;
700
702
  /**
@@ -702,7 +704,7 @@ declare class wa {
702
704
  *
703
705
  * @param segments - The segments of the path to the document
704
706
  * @returns A new instance of DocumentKey
705
- */ static fromSegments(t: any): Dt;
707
+ */ static fromSegments(t: any): Nt;
706
708
  constructor(t: any);
707
709
  path: any;
708
710
  /** Returns true if the document is in the specified collectionId. */ hasCollectionId(t: any): boolean;
@@ -756,7 +758,7 @@ declare class wa {
756
758
  * Returns true if this field references the key of a document.
757
759
  */ isKeyField(): boolean;
758
760
  }
759
- declare function Ea(t: any, e: any): any;
761
+ declare function bc(t: any, e: any): any;
760
762
  /**
761
763
  * Fails if the given assertion condition is false, throwing an Error with the
762
764
  * given message if it did.
@@ -788,11 +790,27 @@ declare function Ea(t: any, e: any): any;
788
790
  declare function yt(): boolean;
789
791
  /**
790
792
  * @internal
791
- */ declare function F(t: any, ...e: any[]): void;
793
+ */ declare function M(t: any, ...e: any[]): void;
794
+ /**
795
+ * @license
796
+ * Copyright 2021 Google LLC
797
+ *
798
+ * Licensed under the Apache License, Version 2.0 (the "License");
799
+ * you may not use this file except in compliance with the License.
800
+ * You may obtain a copy of the License at
801
+ *
802
+ * http://www.apache.org/licenses/LICENSE-2.0
803
+ *
804
+ * Unless required by applicable law or agreed to in writing, software
805
+ * distributed under the License is distributed on an "AS IS" BASIS,
806
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
807
+ * See the License for the specific language governing permissions and
808
+ * limitations under the License.
809
+ */ declare function Mh(t: any, e: any): Promise<void>;
792
810
  /**
793
811
  * Validates that two boolean options are not set at the same time.
794
812
  * @internal
795
- */ declare function ga(t: any, e: any, n: any, s: any): void;
813
+ */ declare function Ec(t: any, e: any, n: any, s: any): void;
796
814
  /**
797
815
  * Add a new document to specified `CollectionReference` with the given data,
798
816
  * assigning it a document ID automatically.
@@ -802,7 +820,7 @@ declare function yt(): boolean;
802
820
  * @returns A `Promise` resolved with a `DocumentReference` pointing to the
803
821
  * newly created document after it has been written to the backend (Note that it
804
822
  * won't resolve while you're offline).
805
- */ declare function Eh(t: any, e: any): Promise<Pa>;
823
+ */ declare function bh(t: any, e: any): Promise<Dc>;
806
824
  /**
807
825
  * Returns a special value that can be used with {@link (setDoc:1)} or {@link
808
826
  * updateDoc:1} that tells the server to remove the given elements from any
@@ -813,7 +831,7 @@ declare function yt(): boolean;
813
831
  * @param elements - The elements to remove from the array.
814
832
  * @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
815
833
  * `updateDoc()`
816
- */ declare function Ch(...t: any[]): gu;
834
+ */ declare function $h(...t: any[]): Eu;
817
835
  /**
818
836
  * Returns a special value that can be used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link
819
837
  * @firebase/firestore/lite#(updateDoc:1)} that tells the server to union the given elements with any array
@@ -825,9 +843,9 @@ declare function yt(): boolean;
825
843
  * @param elements - The elements to union into the array.
826
844
  * @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
827
845
  * `updateDoc()`.
828
- */ declare function Dh(...t: any[]): mu;
829
- declare function Wa(t: any): Promise<any>;
830
- declare function Sa(t: any, e: any, ...n: any[]): Va;
846
+ */ declare function xh(...t: any[]): Tu;
847
+ declare function Jc(t: any): Promise<any>;
848
+ declare function kc(t: any, e: any, ...n: any[]): Nc;
831
849
  /**
832
850
  * Creates and returns a new `Query` instance that includes all documents in the
833
851
  * database that are contained in a collection or subcollection with the
@@ -838,15 +856,15 @@ declare function Sa(t: any, e: any, ...n: any[]): Va;
838
856
  * collection or subcollection with this ID as the last segment of its path
839
857
  * will be included. Cannot contain a slash.
840
858
  * @returns The created `Query`.
841
- */ declare function Da(t: any, e: any): va;
842
- declare function ba(t: any, e: any, n: any, s?: {}): void;
859
+ */ declare function xc(t: any, e: any): Cc;
860
+ declare function Sc(t: any, e: any, n: any, s?: {}): void;
843
861
  /**
844
862
  * Deletes the document referred to by the specified `DocumentReference`.
845
863
  *
846
864
  * @param reference - A reference to the document to delete.
847
865
  * @returns A Promise resolved once the document has been successfully
848
866
  * deleted from the backend (note that it won't resolve while you're offline).
849
- */ declare function Th(t: any): Promise<any>;
867
+ */ declare function Rh(t: any): Promise<any>;
850
868
  /**
851
869
  * @license
852
870
  * Copyright 2020 Google LLC
@@ -866,7 +884,7 @@ declare function ba(t: any, e: any, n: any, s?: {}): void;
866
884
  /**
867
885
  * Returns a sentinel for use with {@link @firebase/firestore/lite#(updateDoc:1)} or
868
886
  * {@link @firebase/firestore/lite#(setDoc:1)} with `{merge: true}` to mark a field for deletion.
869
- */ declare function Vh(): du;
887
+ */ declare function Nh(): gu;
870
888
  /**
871
889
  * Disables network usage for this instance. It can be re-enabled via {@link
872
890
  * enableNetwork}. While the network is disabled, any snapshot listeners,
@@ -874,12 +892,12 @@ declare function ba(t: any, e: any, n: any, s?: {}): void;
874
892
  * operations will be queued until the network is restored.
875
893
  *
876
894
  * @returns A `Promise` that is resolved once the network has been disabled.
877
- */ declare function Ha(t: any): any;
878
- declare function Ca(t: any, e: any, ...n: any[]): Pa;
895
+ */ declare function Zc(t: any): any;
896
+ declare function $c(t: any, e: any, ...n: any[]): Dc;
879
897
  /**
880
898
  * Returns a special sentinel `FieldPath` to refer to the ID of a document.
881
899
  * It can be used in queries to sort or filter by the document ID.
882
- */ declare function eu(): tu;
900
+ */ declare function ru(): iu;
883
901
  /**
884
902
  * Attempts to enable persistent storage, if possible.
885
903
  *
@@ -902,7 +920,7 @@ declare function Ca(t: any, e: any, ...n: any[]): Pa;
902
920
  * @param persistenceSettings - Optional settings object to configure
903
921
  * persistence.
904
922
  * @returns A `Promise` that represents successfully enabling persistent storage.
905
- */ declare function Ka(t: any, e: any): any;
923
+ */ declare function Wc(t: any, e: any): any;
906
924
  /**
907
925
  * Attempts to enable multi-tab persistent storage, if possible. If enabled
908
926
  * across all tabs, all operations share access to local persistence, including
@@ -924,22 +942,22 @@ declare function Ca(t: any, e: any, ...n: any[]): Pa;
924
942
  * @param firestore - The {@link Firestore} instance to enable persistence for.
925
943
  * @returns A `Promise` that represents successfully enabling persistent
926
944
  * storage.
927
- */ declare function ja(t: any): any;
945
+ */ declare function zc(t: any): any;
928
946
  /**
929
947
  * Re-enables use of the network for this {@link Firestore} instance after a prior
930
948
  * call to {@link disableNetwork}.
931
949
  *
932
950
  * @returns A `Promise` that is resolved once the network has been enabled.
933
- */ declare function za(t: any): any;
934
- declare function eh(...t: any[]): Zu;
935
- declare function th(...t: any[]): Zu;
951
+ */ declare function Xc(t: any): any;
952
+ declare function rh(...t: any[]): sh;
953
+ declare function ih(...t: any[]): sh;
936
954
  /**
937
955
  * @internal
938
- */ declare function Ua(t: any): any;
956
+ */ declare function Gc(t: any): any;
939
957
  /**
940
958
  * Locally writes `mutations` on the async queue.
941
959
  * @internal
942
- */ declare function Rh(t: any, e: any): Promise<any>;
960
+ */ declare function Vh(t: any, e: any): Promise<any>;
943
961
  /**
944
962
  * @license
945
963
  * Copyright 2020 Google LLC
@@ -991,21 +1009,21 @@ declare function th(...t: any[]): Zu;
991
1009
  * @returns A Promise resolved with a `DocumentSnapshot` containing the
992
1010
  * current document contents.
993
1011
  */
994
- declare function lh(t: any): Promise<$u>;
1012
+ declare function _h(t: any): Promise<Lu>;
995
1013
  /**
996
1014
  * Reads the document referred to by this `DocumentReference` from cache.
997
1015
  * Returns an error if the document is not currently cached.
998
1016
  *
999
1017
  * @returns A `Promise` resolved with a `DocumentSnapshot` containing the
1000
1018
  * current document contents.
1001
- */ declare function dh(t: any): Promise<$u>;
1019
+ */ declare function gh(t: any): Promise<Lu>;
1002
1020
  /**
1003
1021
  * Reads the document referred to by this `DocumentReference` from the server.
1004
1022
  * Returns an error if the network is not available.
1005
1023
  *
1006
1024
  * @returns A `Promise` resolved with a `DocumentSnapshot` containing the
1007
1025
  * current document contents.
1008
- */ declare function wh(t: any): Promise<$u>;
1026
+ */ declare function yh(t: any): Promise<Lu>;
1009
1027
  /**
1010
1028
  * Executes the query and returns the results as a `QuerySnapshot`.
1011
1029
  *
@@ -1015,19 +1033,19 @@ declare function lh(t: any): Promise<$u>;
1015
1033
  * invoke {@link getDocsFromCache} or {@link getDocsFromServer}.
1016
1034
  *
1017
1035
  * @returns A `Promise` that will be resolved with the results of the query.
1018
- */ declare function _h(t: any): Promise<Mu>;
1036
+ */ declare function ph(t: any): Promise<Uu>;
1019
1037
  /**
1020
1038
  * Executes the query and returns the results as a `QuerySnapshot` from cache.
1021
1039
  * Returns an error if the document is not currently cached.
1022
1040
  *
1023
1041
  * @returns A `Promise` that will be resolved with the results of the query.
1024
- */ declare function mh(t: any): Promise<Mu>;
1042
+ */ declare function Th(t: any): Promise<Uu>;
1025
1043
  /**
1026
1044
  * Executes the query and returns the results as a `QuerySnapshot` from the
1027
1045
  * server. Returns an error if the network is not available.
1028
1046
  *
1029
1047
  * @returns A `Promise` that will be resolved with the results of the query.
1030
- */ declare function gh(t: any): Promise<Mu>;
1048
+ */ declare function Eh(t: any): Promise<Uu>;
1031
1049
  /**
1032
1050
  * Returns the existing {@link Firestore} instance that is associated with the
1033
1051
  * provided {@link @firebase/app#FirebaseApp}. If no instance exists, initializes a new
@@ -1036,7 +1054,7 @@ declare function lh(t: any): Promise<$u>;
1036
1054
  * @param app - The {@link @firebase/app#FirebaseApp} instance that the returned {@link Firestore}
1037
1055
  * instance is associated with.
1038
1056
  * @returns The {@link Firestore} instance of the provided app.
1039
- */ declare function Ba(e?: import("@firebase/app").FirebaseApp): import("../src").Firestore;
1057
+ */ declare function jc(e?: import("@firebase/app").FirebaseApp): import("../src").Firestore;
1040
1058
  /**
1041
1059
  * Returns a special value that can be used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link
1042
1060
  * @firebase/firestore/lite#(updateDoc:1)} that tells the server to increment the field's current value by
@@ -1055,7 +1073,7 @@ declare function lh(t: any): Promise<$u>;
1055
1073
  * @param n - The value to increment by.
1056
1074
  * @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
1057
1075
  * `updateDoc()`
1058
- */ declare function Nh(t: any): yu;
1076
+ */ declare function Oh(t: any): Iu;
1059
1077
  /**
1060
1078
  * Initializes a new instance of {@link Firestore} with the provided settings.
1061
1079
  * Can only be called before any other function, including
@@ -1066,13 +1084,13 @@ declare function lh(t: any): Promise<$u>;
1066
1084
  * be associated.
1067
1085
  * @param settings - A settings object to configure the {@link Firestore} instance.
1068
1086
  * @returns A newly initialized {@link Firestore} instance.
1069
- */ declare function La(t: any, e: any): import("../src").Firestore;
1087
+ */ declare function Kc(t: any, e: any): import("../src").Firestore;
1070
1088
  /**
1071
1089
  * Creates a {@link QueryConstraint} that only returns the first matching documents.
1072
1090
  *
1073
1091
  * @param limit - The maximum number of items to return.
1074
1092
  * @returns The created {@link Query}.
1075
- */ declare function zu(t: any): Gu;
1093
+ */ declare function Xu(t: any): Yu;
1076
1094
  /**
1077
1095
  * Creates a {@link QueryConstraint} that only returns the last matching documents.
1078
1096
  *
@@ -1081,27 +1099,32 @@ declare function lh(t: any): Promise<$u>;
1081
1099
  *
1082
1100
  * @param limit - The maximum number of items to return.
1083
1101
  * @returns The created {@link Query}.
1084
- */ declare function Hu(t: any): Gu;
1102
+ */ declare function Zu(t: any): Yu;
1085
1103
  /**
1086
1104
  * Loads a Firestore bundle into the local cache.
1087
1105
  *
1088
- * @param firestore - The {@link Firestore} instance to load bundles for for.
1089
- * @param bundleData - An object representing the bundle to be loaded. Valid objects are
1090
- * `ArrayBuffer`, `ReadableStream<Uint8Array>` or `string`.
1106
+ * @param firestore - The {@link Firestore} instance to load bundles for.
1107
+ * @param bundleData - An object representing the bundle to be loaded. Valid
1108
+ * objects are `ArrayBuffer`, `ReadableStream<Uint8Array>` or `string`.
1091
1109
  *
1092
- * @returns
1093
- * A `LoadBundleTask` object, which notifies callers with progress updates, and completion
1094
- * or error events. It can be used as a `Promise<LoadBundleTaskProgress>`.
1095
- */ declare function Ya(t: any, e: any): Oa;
1110
+ * @returns A `LoadBundleTask` object, which notifies callers with progress
1111
+ * updates, and completion or error events. It can be used as a
1112
+ * `Promise<LoadBundleTaskProgress>`.
1113
+ */ declare function eu(t: any, e: any): Bc;
1096
1114
  /**
1097
- * Reads a Firestore {@link Query} from local cache, identified by the given name.
1115
+ * Reads a Firestore {@link Query} from local cache, identified by the given
1116
+ * name.
1098
1117
  *
1099
1118
  * The named queries are packaged into bundles on the server side (along
1100
- * with resulting documents), and loaded to local cache using `loadBundle`. Once in local
1101
- * cache, use this method to extract a {@link Query} by name.
1102
- */ declare function Xa(t: any, e: any): any;
1103
- declare function Ih(t: any, ...e: any[]): () => void;
1104
- declare function Ah(t: any, e: any): () => void;
1119
+ * with resulting documents), and loaded to local cache using `loadBundle`. Once
1120
+ * in local cache, use this method to extract a {@link Query} by name.
1121
+ *
1122
+ * @param firestore - The {@link Firestore} instance to read the query from.
1123
+ * @param name - The name of the query.
1124
+ * @returns A `Promise` that is resolved with the Query or `null`.
1125
+ */ declare function nu(t: any, e: any): any;
1126
+ declare function Ph(t: any, ...e: any[]): () => void;
1127
+ declare function vh(t: any, e: any): () => void;
1105
1128
  /**
1106
1129
  * Creates a {@link QueryConstraint} that sorts the query result by the
1107
1130
  * specified field, optionally in descending order instead of ascending.
@@ -1110,7 +1133,7 @@ declare function Ah(t: any, e: any): () => void;
1110
1133
  * @param directionStr - Optional direction to sort by ('asc' or 'desc'). If
1111
1134
  * not specified, order will be ascending.
1112
1135
  * @returns The created {@link Query}.
1113
- */ declare function Wu(t: any, e?: string): Qu;
1136
+ */ declare function Ju(t: any, e?: string): Hu;
1114
1137
  /**
1115
1138
  * Creates a new immutable instance of {@link Query} that is extended to also include
1116
1139
  * additional query constraints.
@@ -1119,7 +1142,7 @@ declare function Ah(t: any, e: any): () => void;
1119
1142
  * @param queryConstraints - The list of {@link QueryConstraint}s to apply.
1120
1143
  * @throws if any of the provided query constraints cannot be combined with the
1121
1144
  * existing or new constraints.
1122
- */ declare function qu(t: any, ...e: any[]): any;
1145
+ */ declare function Qu(t: any, ...e: any[]): any;
1123
1146
  /**
1124
1147
  * Returns true if the provided queries point to the same collection and apply
1125
1148
  * the same constraints.
@@ -1128,7 +1151,7 @@ declare function Ah(t: any, e: any): () => void;
1128
1151
  * @param right - A `Query` to compare.
1129
1152
  * @returns true if the references point to the same location in the same
1130
1153
  * Firestore database.
1131
- */ declare function ka(t: any, e: any): boolean;
1154
+ */ declare function Fc(t: any, e: any): boolean;
1132
1155
  /**
1133
1156
  * Returns true if the provided references are equal.
1134
1157
  *
@@ -1136,7 +1159,7 @@ declare function Ah(t: any, e: any): () => void;
1136
1159
  * @param right - A reference to compare.
1137
1160
  * @returns true if the references point to the same location in the same
1138
1161
  * Firestore database.
1139
- */ declare function Na(t: any, e: any): boolean;
1162
+ */ declare function Oc(t: any, e: any): boolean;
1140
1163
  /**
1141
1164
  * Executes the given `updateFunction` and then attempts to commit the changes
1142
1165
  * applied within the transaction. If any document read within the transaction
@@ -1153,12 +1176,12 @@ declare function Ah(t: any, e: any): () => void;
1153
1176
  * (the `updateFunction` returned a failed promise), the promise returned by the
1154
1177
  * `updateFunction `is returned here. Otherwise, if the transaction failed, a
1155
1178
  * rejected promise with the corresponding failure error is returned.
1156
- */ declare function vh(t: any, e: any): Promise<any>;
1179
+ */ declare function Ch(t: any, e: any): Promise<any>;
1157
1180
  /**
1158
1181
  * Returns a sentinel used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link @firebase/firestore/lite#(updateDoc:1)} to
1159
1182
  * include a server-generated timestamp in the written data.
1160
- */ declare function Sh(): _u;
1161
- declare function yh(t: any, e: any, n: any): Promise<any>;
1183
+ */ declare function kh(): pu;
1184
+ declare function Ih(t: any, e: any, n: any): Promise<any>;
1162
1185
  /**
1163
1186
  * Sets the verbosity of Cloud Firestore logs (debug, error, or silent).
1164
1187
  *
@@ -1178,9 +1201,9 @@ declare function yh(t: any, e: any, n: any): Promise<any>;
1178
1201
  * @param left - A snapshot to compare.
1179
1202
  * @param right - A snapshot to compare.
1180
1203
  * @returns true if the snapshots are equal.
1181
- */ declare function Lu(t: any, e: any): any;
1182
- declare function Xu(...t: any[]): Ju;
1183
- declare function Yu(...t: any[]): Ju;
1204
+ */ declare function Ku(t: any, e: any): any;
1205
+ declare function nh(...t: any[]): th;
1206
+ declare function eh(...t: any[]): th;
1184
1207
  /**
1185
1208
  * Terminates the provided {@link Firestore} instance.
1186
1209
  *
@@ -1202,8 +1225,8 @@ declare function Yu(...t: any[]): Ju;
1202
1225
  *
1203
1226
  * @returns A `Promise` that is resolved when the instance has been successfully
1204
1227
  * terminated.
1205
- */ declare function Ja(t: any): any;
1206
- declare function ph(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1228
+ */ declare function tu(t: any): any;
1229
+ declare function Ah(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1207
1230
  /**
1208
1231
  * Waits until all currently pending writes for the active user have been
1209
1232
  * acknowledged by the backend.
@@ -1219,7 +1242,7 @@ declare function ph(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1219
1242
  *
1220
1243
  * @returns A `Promise` which resolves when all currently pending writes have been
1221
1244
  * acknowledged by the backend.
1222
- */ declare function Ga(t: any): Promise<any>;
1245
+ */ declare function Yc(t: any): Promise<any>;
1223
1246
  /**
1224
1247
  * Creates a {@link QueryConstraint} that enforces that documents must contain the
1225
1248
  * specified field and that the value should satisfy the relation constraint
@@ -1230,7 +1253,7 @@ declare function ph(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1230
1253
  * "&lt;=", "!=").
1231
1254
  * @param value - The value for comparison
1232
1255
  * @returns The created {@link Query}.
1233
- */ declare function ju(t: any, e: any, n: any): Ku;
1256
+ */ declare function zu(t: any, e: any, n: any): Wu;
1234
1257
  /**
1235
1258
  * @license
1236
1259
  * Copyright 2020 Google LLC
@@ -1257,7 +1280,7 @@ declare function ph(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1257
1280
  *
1258
1281
  * @returns A {@link WriteBatch} that can be used to atomically execute multiple
1259
1282
  * writes.
1260
- */ declare function kh(t: any): uh;
1283
+ */ declare function Fh(t: any): dh;
1261
1284
  /**
1262
1285
  * @license
1263
1286
  * Copyright 2020 Google LLC
@@ -1282,7 +1305,7 @@ declare function ph(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1282
1305
  * For a `DocumentSnapshot` that points to a non-existing document, any data
1283
1306
  * access will return 'undefined'. You can use the `exists()` method to
1284
1307
  * explicitly verify a document's existence.
1285
- */ declare class Cu {
1308
+ */ declare class $u {
1286
1309
  /** @hideconstructor protected */
1287
1310
  constructor(t: any, e: any, n: any, s: any, i: any);
1288
1311
  _firestore: any;
@@ -1293,7 +1316,7 @@ declare function ph(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1293
1316
  /** Property of the `DocumentSnapshot` that provides the document's ID. */ get id(): any;
1294
1317
  /**
1295
1318
  * The `DocumentReference` for the document included in the `DocumentSnapshot`.
1296
- */ get ref(): Pa;
1319
+ */ get ref(): Dc;
1297
1320
  /**
1298
1321
  * Signals whether or not the document at the snapshot's location exists.
1299
1322
  *
@@ -1337,7 +1360,7 @@ declare function ph(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1337
1360
  * The Cloud Firestore service interface.
1338
1361
  *
1339
1362
  * Do not call this constructor directly. Instead, use {@link getFirestore}.
1340
- */ declare class Ra {
1363
+ */ declare class Vc {
1341
1364
  /** @hideconstructor */
1342
1365
  constructor(t: any, e: any, n: any);
1343
1366
  _authCredentials: any;
@@ -1347,9 +1370,9 @@ declare function ph(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1347
1370
  */
1348
1371
  type: string;
1349
1372
  _persistenceKey: string;
1350
- _settings: Aa;
1373
+ _settings: vc;
1351
1374
  _settingsFrozen: boolean;
1352
- _databaseId: wa;
1375
+ _databaseId: Vt;
1353
1376
  _app: any;
1354
1377
  /**
1355
1378
  * The {@link @firebase/app#FirebaseApp} associated with this `Firestore` service
@@ -1358,14 +1381,14 @@ declare function ph(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1358
1381
  get _initialized(): boolean;
1359
1382
  get _terminated(): boolean;
1360
1383
  _setSettings(t: any): void;
1361
- _getSettings(): Aa;
1362
- _freezeSettings(): Aa;
1384
+ _getSettings(): vc;
1385
+ _freezeSettings(): vc;
1363
1386
  _delete(): Promise<void>;
1364
1387
  _terminateTask: Promise<void> | undefined;
1365
1388
  /** Returns a JSON-serializable representation of this `Firestore` instance. */ toJSON(): {
1366
1389
  app: any;
1367
- databaseId: wa;
1368
- settings: Aa;
1390
+ databaseId: Vt;
1391
+ settings: vc;
1369
1392
  };
1370
1393
  /**
1371
1394
  * Terminates all components used by this client. Subclasses can override
@@ -1390,17 +1413,17 @@ declare function ph(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1390
1413
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1391
1414
  * See the License for the specific language governing permissions and
1392
1415
  * limitations under the License.
1393
- */ declare class xa {
1394
- mc: Promise<void>;
1395
- gc: any[];
1396
- yc: boolean;
1397
- Tc: any[];
1398
- Ec: any;
1399
- Ic: boolean;
1400
- Ac: boolean;
1401
- Rc: any[];
1402
- ur: no;
1403
- bc: () => void;
1416
+ */ declare class Mc {
1417
+ ma: Promise<void>;
1418
+ ga: any[];
1419
+ ya: boolean;
1420
+ pa: any[];
1421
+ Ta: any;
1422
+ Ea: boolean;
1423
+ Ia: boolean;
1424
+ Aa: any[];
1425
+ ur: ao;
1426
+ Ra: () => void;
1404
1427
  get isShuttingDown(): boolean;
1405
1428
  /**
1406
1429
  * Adds a new operation to the queue without waiting for it to complete (i.e.
@@ -1413,32 +1436,32 @@ declare function ph(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1413
1436
  /**
1414
1437
  * Runs the next operation from the retryable queue. If the operation fails,
1415
1438
  * reschedules with backoff.
1416
- */ Vc(): Promise<void>;
1417
- vc(t: any): Promise<any>;
1418
- enqueueAfterDelay(t: any, e: any, n: any): Mo;
1419
- Pc(): void;
1439
+ */ va(): Promise<void>;
1440
+ Pa(t: any): Promise<any>;
1441
+ enqueueAfterDelay(t: any, e: any, n: any): Ko;
1442
+ ba(): void;
1420
1443
  verifyOperationInProgress(): void;
1421
1444
  /**
1422
1445
  * Waits until all currently queued tasks are finished executing. Delayed
1423
1446
  * operations are not run.
1424
- */ Dc(): Promise<void>;
1447
+ */ Sa(): Promise<void>;
1425
1448
  /**
1426
1449
  * For Tests: Determine if a delayed operation with a particular TimerId
1427
1450
  * exists.
1428
- */ Cc(t: any): boolean;
1451
+ */ Da(t: any): boolean;
1429
1452
  /**
1430
1453
  * For Tests: Runs some or all delayed operations early.
1431
1454
  *
1432
1455
  * @param lastTimerId - Delayed operations up to and including this TimerId
1433
1456
  * will be drained. Pass TimerId.All to run all delayed operations.
1434
1457
  * @returns a Promise that resolves once all operations have been run.
1435
- */ Nc(t: any): Promise<void>;
1458
+ */ Ca(t: any): Promise<void>;
1436
1459
  /**
1437
1460
  * For Tests: Skip all subsequent delays for a timer id.
1438
- */ kc(t: any): void;
1439
- /** Called once a DelayedOperation is run or canceled. */ Sc(t: any): void;
1461
+ */ Na(t: any): void;
1462
+ /** Called once a DelayedOperation is run or canceled. */ Va(t: any): void;
1440
1463
  }
1441
- import { FirebaseError as a } from "@firebase/util/dist/src/errors";
1464
+ import { FirebaseError as c } from "@firebase/util/dist/src/errors";
1442
1465
  /**
1443
1466
  * @license
1444
1467
  * Copyright 2017 Google LLC
@@ -1454,7 +1477,7 @@ import { FirebaseError as a } from "@firebase/util/dist/src/errors";
1454
1477
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1455
1478
  * See the License for the specific language governing permissions and
1456
1479
  * limitations under the License.
1457
- */ declare class W {
1480
+ */ declare class Q {
1458
1481
  promise: Promise<any>;
1459
1482
  resolve: (value: any) => void;
1460
1483
  reject: (reason?: any) => void;
@@ -1462,12 +1485,12 @@ import { FirebaseError as a } from "@firebase/util/dist/src/errors";
1462
1485
  /**
1463
1486
  * Helper for parsing raw user input (provided via the API) into internal model
1464
1487
  * classes.
1465
- */ declare class hu {
1488
+ */ declare class wu {
1466
1489
  constructor(t: any, e: any, n: any);
1467
1490
  databaseId: any;
1468
1491
  ignoreUndefinedProperties: any;
1469
1492
  k: any;
1470
- /** Creates a new top-level parse context. */ Qc(t: any, e: any, n: any, s?: boolean): uu;
1493
+ /** Creates a new top-level parse context. */ ja(t: any, e: any, n: any, s?: boolean): du;
1471
1494
  }
1472
1495
  declare class Z {
1473
1496
  constructor(t: any);
@@ -1515,67 +1538,67 @@ declare class dt {
1515
1538
  forEach(t: any): void;
1516
1539
  toArray(): any;
1517
1540
  }
1518
- declare class gu extends su {
1541
+ declare class Eu extends au {
1519
1542
  constructor(t: any, e: any);
1520
- Wc: any;
1521
- _toFieldTransform(t: any): ze;
1543
+ Ga: any;
1544
+ _toFieldTransform(t: any): Xe;
1522
1545
  isEqual(t: any): boolean;
1523
1546
  }
1524
- declare class mu extends su {
1547
+ declare class Tu extends au {
1525
1548
  constructor(t: any, e: any);
1526
- Wc: any;
1527
- _toFieldTransform(t: any): ze;
1549
+ Ga: any;
1550
+ _toFieldTransform(t: any): Xe;
1528
1551
  isEqual(t: any): boolean;
1529
1552
  }
1530
- declare class du extends su {
1553
+ declare class gu extends au {
1531
1554
  _toFieldTransform(t: any): null;
1532
1555
  isEqual(t: any): boolean;
1533
1556
  }
1534
- declare class Zu extends Uu {
1557
+ declare class sh extends Gu {
1535
1558
  constructor(t: any, e: any, n: any);
1536
1559
  type: any;
1537
- ta: any;
1538
- ea: any;
1539
- _apply(t: any): va;
1560
+ Za: any;
1561
+ tc: any;
1562
+ _apply(t: any): Cc;
1540
1563
  }
1541
- declare class yu extends su {
1564
+ declare class Iu extends au {
1542
1565
  constructor(t: any, e: any);
1543
- Gc: any;
1544
- _toFieldTransform(t: any): ze;
1566
+ Qa: any;
1567
+ _toFieldTransform(t: any): Xe;
1545
1568
  isEqual(t: any): boolean;
1546
1569
  }
1547
- declare class Gu extends Uu {
1570
+ declare class Yu extends Gu {
1548
1571
  constructor(t: any, e: any, n: any);
1549
1572
  type: any;
1550
- Xc: any;
1551
- Zc: any;
1552
- _apply(t: any): va;
1573
+ Ya: any;
1574
+ Xa: any;
1575
+ _apply(t: any): Cc;
1553
1576
  }
1554
- declare class Qu extends Uu {
1577
+ declare class Hu extends Gu {
1555
1578
  constructor(t: any, e: any);
1556
- zc: any;
1557
- Yc: any;
1579
+ Wa: any;
1580
+ Ja: any;
1558
1581
  type: string;
1559
- _apply(t: any): va;
1582
+ _apply(t: any): Cc;
1560
1583
  }
1561
- declare class _u extends su {
1562
- _toFieldTransform(t: any): ze;
1584
+ declare class pu extends au {
1585
+ _toFieldTransform(t: any): Xe;
1563
1586
  isEqual(t: any): boolean;
1564
1587
  }
1565
- declare class Ju extends Uu {
1588
+ declare class th extends Gu {
1566
1589
  constructor(t: any, e: any, n: any);
1567
1590
  type: any;
1568
- ta: any;
1569
- ea: any;
1570
- _apply(t: any): va;
1591
+ Za: any;
1592
+ tc: any;
1593
+ _apply(t: any): Cc;
1571
1594
  }
1572
- declare class Ku extends Uu {
1595
+ declare class Wu extends Gu {
1573
1596
  constructor(t: any, e: any, n: any);
1574
- zc: any;
1575
- Hc: any;
1576
- Jc: any;
1597
+ Wa: any;
1598
+ za: any;
1599
+ Ha: any;
1577
1600
  type: string;
1578
- _apply(t: any): va;
1601
+ _apply(t: any): Cc;
1579
1602
  }
1580
1603
  /**
1581
1604
  * @license
@@ -1598,7 +1621,7 @@ declare class Ku extends Uu {
1598
1621
  * user-supplied `FirestoreSettings` object. This is a separate type so that
1599
1622
  * defaults can be supplied and the value can be checked for equality.
1600
1623
  */
1601
- declare class Aa {
1624
+ declare class vc {
1602
1625
  constructor(t: any);
1603
1626
  host: any;
1604
1627
  ssl: any;
@@ -1622,12 +1645,12 @@ declare class Aa {
1622
1645
  * base delay. This prevents clients from accidentally synchronizing their
1623
1646
  * delays causing spikes of load to the backend.
1624
1647
  */
1625
- declare class no {
1648
+ declare class ao {
1626
1649
  constructor(t: any, e: any, n?: number, s?: number, i?: number);
1627
- Me: any;
1650
+ Fe: any;
1628
1651
  timerId: any;
1652
+ Qi: number;
1629
1653
  Wi: number;
1630
- Gi: number;
1631
1654
  zi: number;
1632
1655
  Hi: number;
1633
1656
  Ji: any;
@@ -1680,7 +1703,7 @@ declare class no {
1680
1703
  * in newer versions of TypeScript defines `finally`, which is not available in
1681
1704
  * IE.
1682
1705
  */
1683
- declare class Mo {
1706
+ declare class Ko {
1684
1707
  /**
1685
1708
  * Creates and returns a DelayedOperation that has been scheduled to be
1686
1709
  * executed on the provided asyncQueue after the provided delayMs.
@@ -1694,14 +1717,14 @@ declare class Mo {
1694
1717
  * from its delayedOperations list.
1695
1718
  * PORTING NOTE: This exists to prevent making removeDelayedOperation() and
1696
1719
  * the DelayedOperation class public.
1697
- */ static createAndSchedule(t: any, e: any, n: any, s: any, i: any): Mo;
1720
+ */ static createAndSchedule(t: any, e: any, n: any, s: any, i: any): Ko;
1698
1721
  constructor(t: any, e: any, n: any, s: any, i: any);
1699
1722
  asyncQueue: any;
1700
1723
  timerId: any;
1701
1724
  targetTimeMs: any;
1702
1725
  op: any;
1703
1726
  removalCallback: any;
1704
- deferred: W;
1727
+ deferred: Q;
1705
1728
  then: <TResult1 = any, TResult2 = never>(onfulfilled?: ((value: any) => TResult1 | PromiseLike<TResult1>) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null | undefined) => Promise<TResult1 | TResult2>;
1706
1729
  /**
1707
1730
  * Starts the timer. This is called immediately after construction by
@@ -1722,7 +1745,7 @@ declare class Mo {
1722
1745
  handleDelayElapsed(): void;
1723
1746
  clearTimeout(): void;
1724
1747
  }
1725
- /** A "context" object passed around while parsing user data. */ declare class uu {
1748
+ /** A "context" object passed around while parsing user data. */ declare class du {
1726
1749
  /**
1727
1750
  * Initializes a ParseContext with the given source and path.
1728
1751
  *
@@ -1749,15 +1772,15 @@ declare class Mo {
1749
1772
  fieldTransforms: any;
1750
1773
  fieldMask: any;
1751
1774
  get path(): any;
1752
- get $c(): any;
1753
- /** Returns a new context with the specified settings overwritten. */ Oc(t: any): uu;
1754
- Mc(t: any): uu;
1755
- Bc(t: any): uu;
1756
- Uc(t: any): uu;
1757
- qc(t: any): Q;
1775
+ get xa(): any;
1776
+ /** Returns a new context with the specified settings overwritten. */ $a(t: any): du;
1777
+ Oa(t: any): du;
1778
+ La(t: any): du;
1779
+ Ba(t: any): du;
1780
+ Ua(t: any): G;
1758
1781
  /** Returns 'true' if 'fieldPath' was traversed when creating this context. */ contains(t: any): boolean;
1759
- xc(): void;
1760
- Lc(t: any): void;
1782
+ ka(): void;
1783
+ Ma(t: any): void;
1761
1784
  }
1762
1785
  /**
1763
1786
  * @license
@@ -1775,9 +1798,9 @@ declare class Mo {
1775
1798
  * See the License for the specific language governing permissions and
1776
1799
  * limitations under the License.
1777
1800
  */
1778
- /** A field path and the TransformOperation to perform upon it. */ declare class ze {
1801
+ /** A field path and the TransformOperation to perform upon it. */ declare class Xe {
1779
1802
  constructor(t: any, e: any);
1780
1803
  field: any;
1781
1804
  transform: any;
1782
1805
  }
1783
- export { oh as AbstractUserDataWriter, nu as Bytes, Ma as CACHE_SIZE_UNLIMITED, Va as CollectionReference, Pa as DocumentReference, $u as DocumentSnapshot, tu as FieldPath, su as FieldValue, Fa as Firestore, Q as FirestoreError, iu as GeoPoint, Oa as LoadBundleTask, va as Query, Uu as QueryConstraint, Ou as QueryDocumentSnapshot, Mu as QuerySnapshot, xu as SnapshotMetadata, at as Timestamp, Ph as Transaction, uh as WriteBatch, wa as _DatabaseId, Dt as _DocumentKey, et as _EmptyAppCheckTokenProvider, z as _EmptyAuthCredentialsProvider, mt as _FieldPath, Ea as _cast, q as _debugAssert, yt as _isBase64Available, F as _logWarn, ga as _validateIsNotUsedTogether, Eh as addDoc, Ch as arrayRemove, Dh as arrayUnion, Wa as clearIndexedDbPersistence, Sa as collection, Da as collectionGroup, ba as connectFirestoreEmulator, Th as deleteDoc, Vh as deleteField, Ha as disableNetwork, Ca as doc, eu as documentId, Ka as enableIndexedDbPersistence, ja as enableMultiTabIndexedDbPersistence, za as enableNetwork, eh as endAt, th as endBefore, Ua as ensureFirestoreConfigured, Rh as executeWrite, lh as getDoc, dh as getDocFromCache, wh as getDocFromServer, _h as getDocs, mh as getDocsFromCache, gh as getDocsFromServer, Ba as getFirestore, Nh as increment, La as initializeFirestore, zu as limit, Hu as limitToLast, Ya as loadBundle, Xa as namedQuery, Ih as onSnapshot, Ah as onSnapshotsInSync, Wu as orderBy, qu as query, ka as queryEqual, Na as refEqual, vh as runTransaction, Sh as serverTimestamp, yh as setDoc, $ as setLogLevel, Lu as snapshotEqual, Xu as startAfter, Yu as startAt, Ja as terminate, ph as updateDoc, Ga as waitForPendingWrites, ju as where, kh as writeBatch };
1806
+ export { hh as AbstractUserDataWriter, ou as Bytes, Uc as CACHE_SIZE_UNLIMITED, Nc as CollectionReference, Dc as DocumentReference, Lu as DocumentSnapshot, iu as FieldPath, au as FieldValue, qc as Firestore, G as FirestoreError, cu as GeoPoint, Bc as LoadBundleTask, Cc as Query, Gu as QueryConstraint, Bu as QueryDocumentSnapshot, Uu as QuerySnapshot, Mu as SnapshotMetadata, ct as Timestamp, Dh as Transaction, dh as WriteBatch, Vt as _DatabaseId, Nt as _DocumentKey, et as _EmptyAppCheckTokenProvider, z as _EmptyAuthCredentialsProvider, mt as _FieldPath, bc as _cast, q as _debugAssert, yt as _isBase64Available, M as _logWarn, Mh as _setIndexConfiguration, Ec as _validateIsNotUsedTogether, bh as addDoc, $h as arrayRemove, xh as arrayUnion, Jc as clearIndexedDbPersistence, kc as collection, xc as collectionGroup, Sc as connectFirestoreEmulator, Rh as deleteDoc, Nh as deleteField, Zc as disableNetwork, $c as doc, ru as documentId, Wc as enableIndexedDbPersistence, zc as enableMultiTabIndexedDbPersistence, Xc as enableNetwork, rh as endAt, ih as endBefore, Gc as ensureFirestoreConfigured, Vh as executeWrite, _h as getDoc, gh as getDocFromCache, yh as getDocFromServer, ph as getDocs, Th as getDocsFromCache, Eh as getDocsFromServer, jc as getFirestore, Oh as increment, Kc as initializeFirestore, Xu as limit, Zu as limitToLast, eu as loadBundle, nu as namedQuery, Ph as onSnapshot, vh as onSnapshotsInSync, Ju as orderBy, Qu as query, Fc as queryEqual, Oc as refEqual, Ch as runTransaction, kh as serverTimestamp, Ih as setDoc, $ as setLogLevel, Ku as snapshotEqual, nh as startAfter, eh as startAt, tu as terminate, Ah as updateDoc, Yc as waitForPendingWrites, zu as where, Fh as writeBatch };