@firebase/firestore 3.4.13 → 3.4.14-canary.04dcdbb0f

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 (102) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/firestore/src/api/credentials.d.ts +13 -3
  3. package/dist/firestore/src/api/database.d.ts +34 -3
  4. package/dist/firestore/src/api/index_configuration.d.ts +7 -8
  5. package/dist/firestore/src/api.d.ts +1 -1
  6. package/dist/firestore/src/core/database_info.d.ts +4 -0
  7. package/dist/firestore/src/lite-api/database.d.ts +51 -7
  8. package/dist/firestore/src/local/indexeddb_schema.d.ts +1 -3
  9. package/dist/firestore/src/local/local_store_impl.d.ts +2 -0
  10. package/dist/firestore/src/util/array.d.ts +18 -0
  11. package/dist/firestore/test/integration/api/provider.test.d.ts +17 -0
  12. package/dist/firestore/test/integration/util/firebase_export.d.ts +2 -1
  13. package/dist/firestore/test/integration/util/helpers.d.ts +1 -0
  14. package/dist/firestore/test/unit/local/counting_query_engine.d.ts +11 -0
  15. package/dist/firestore/test/unit/local/local_store_indexeddb.test.d.ts +17 -0
  16. package/dist/firestore/test/unit/specs/index_spec.test.d.ts +17 -0
  17. package/dist/firestore/test/unit/specs/spec_builder.d.ts +5 -0
  18. package/dist/firestore/test/unit/specs/spec_test_runner.d.ts +8 -0
  19. package/dist/firestore/test/unit/util/array.test.d.ts +17 -0
  20. package/dist/index.d.ts +15 -4
  21. package/dist/index.esm2017.js +3793 -3646
  22. package/dist/index.esm2017.js.map +1 -1
  23. package/dist/index.esm5.js +3762 -3648
  24. package/dist/index.esm5.js.map +1 -1
  25. package/dist/index.node.cjs.js +295 -93
  26. package/dist/index.node.cjs.js.map +1 -1
  27. package/dist/index.node.mjs +295 -93
  28. package/dist/index.node.mjs.map +1 -1
  29. package/dist/index.rn.js +3732 -3586
  30. package/dist/index.rn.js.map +1 -1
  31. package/dist/internal.d.ts +53 -19
  32. package/dist/lite/firestore/src/api/credentials.d.ts +13 -3
  33. package/dist/lite/firestore/src/api/database.d.ts +34 -3
  34. package/dist/lite/firestore/src/api/index_configuration.d.ts +7 -8
  35. package/dist/lite/firestore/src/api.d.ts +1 -1
  36. package/dist/lite/firestore/src/core/database_info.d.ts +4 -0
  37. package/dist/lite/firestore/src/lite-api/database.d.ts +51 -7
  38. package/dist/lite/firestore/src/local/indexeddb_schema.d.ts +1 -3
  39. package/dist/lite/firestore/src/local/local_store_impl.d.ts +2 -0
  40. package/dist/lite/firestore/src/util/array.d.ts +18 -0
  41. package/dist/lite/firestore/test/integration/api/provider.test.d.ts +17 -0
  42. package/dist/lite/firestore/test/integration/util/firebase_export.d.ts +2 -1
  43. package/dist/lite/firestore/test/integration/util/helpers.d.ts +1 -0
  44. package/dist/lite/firestore/test/unit/local/counting_query_engine.d.ts +11 -0
  45. package/dist/lite/firestore/test/unit/local/local_store_indexeddb.test.d.ts +17 -0
  46. package/dist/lite/firestore/test/unit/specs/index_spec.test.d.ts +17 -0
  47. package/dist/lite/firestore/test/unit/specs/spec_builder.d.ts +5 -0
  48. package/dist/lite/firestore/test/unit/specs/spec_test_runner.d.ts +8 -0
  49. package/dist/lite/firestore/test/unit/util/array.test.d.ts +17 -0
  50. package/dist/lite/index.browser.esm2017.js +273 -277
  51. package/dist/lite/index.browser.esm2017.js.map +1 -1
  52. package/dist/lite/index.browser.esm5.js +506 -493
  53. package/dist/lite/index.browser.esm5.js.map +1 -1
  54. package/dist/lite/index.d.ts +15 -4
  55. package/dist/lite/index.node.cjs.js +71 -61
  56. package/dist/lite/index.node.cjs.js.map +1 -1
  57. package/dist/lite/index.node.mjs +71 -61
  58. package/dist/lite/index.node.mjs.map +1 -1
  59. package/dist/lite/index.rn.esm2017.js +273 -277
  60. package/dist/lite/index.rn.esm2017.js.map +1 -1
  61. package/dist/lite/internal.d.ts +58 -7
  62. package/dist/lite/packages/firestore/dist/lite/index.browser.esm2017.d.ts +29 -66
  63. package/dist/lite/packages/firestore/src/api/credentials.d.ts +13 -3
  64. package/dist/lite/packages/firestore/src/api/database.d.ts +34 -3
  65. package/dist/lite/packages/firestore/src/api/index_configuration.d.ts +7 -8
  66. package/dist/lite/packages/firestore/src/api.d.ts +1 -1
  67. package/dist/lite/packages/firestore/src/core/database_info.d.ts +4 -0
  68. package/dist/lite/packages/firestore/src/lite-api/database.d.ts +51 -7
  69. package/dist/lite/packages/firestore/src/local/indexeddb_schema.d.ts +1 -3
  70. package/dist/lite/packages/firestore/src/local/local_store_impl.d.ts +2 -0
  71. package/dist/lite/packages/firestore/src/util/array.d.ts +18 -0
  72. package/dist/lite/packages/firestore/test/integration/api/provider.test.d.ts +17 -0
  73. package/dist/lite/packages/firestore/test/integration/util/firebase_export.d.ts +2 -1
  74. package/dist/lite/packages/firestore/test/integration/util/helpers.d.ts +1 -0
  75. package/dist/lite/packages/firestore/test/unit/local/counting_query_engine.d.ts +11 -0
  76. package/dist/lite/packages/firestore/test/unit/local/local_store_indexeddb.test.d.ts +17 -0
  77. package/dist/lite/packages/firestore/test/unit/specs/index_spec.test.d.ts +17 -0
  78. package/dist/lite/packages/firestore/test/unit/specs/spec_builder.d.ts +5 -0
  79. package/dist/lite/packages/firestore/test/unit/specs/spec_test_runner.d.ts +8 -0
  80. package/dist/lite/packages/firestore/test/unit/util/array.test.d.ts +17 -0
  81. package/dist/lite/private.d.ts +25 -7
  82. package/dist/packages/firestore/dist/index.esm2017.d.ts +208 -203
  83. package/dist/packages/firestore/src/api/credentials.d.ts +13 -3
  84. package/dist/packages/firestore/src/api/database.d.ts +34 -3
  85. package/dist/packages/firestore/src/api/index_configuration.d.ts +7 -8
  86. package/dist/packages/firestore/src/api.d.ts +1 -1
  87. package/dist/packages/firestore/src/core/database_info.d.ts +4 -0
  88. package/dist/packages/firestore/src/lite-api/database.d.ts +51 -7
  89. package/dist/packages/firestore/src/local/indexeddb_schema.d.ts +1 -3
  90. package/dist/packages/firestore/src/local/local_store_impl.d.ts +2 -0
  91. package/dist/packages/firestore/src/util/array.d.ts +18 -0
  92. package/dist/packages/firestore/test/integration/api/provider.test.d.ts +17 -0
  93. package/dist/packages/firestore/test/integration/util/firebase_export.d.ts +2 -1
  94. package/dist/packages/firestore/test/integration/util/helpers.d.ts +1 -0
  95. package/dist/packages/firestore/test/unit/local/counting_query_engine.d.ts +11 -0
  96. package/dist/packages/firestore/test/unit/local/local_store_indexeddb.test.d.ts +17 -0
  97. package/dist/packages/firestore/test/unit/specs/index_spec.test.d.ts +17 -0
  98. package/dist/packages/firestore/test/unit/specs/spec_builder.d.ts +5 -0
  99. package/dist/packages/firestore/test/unit/specs/spec_test_runner.d.ts +8 -0
  100. package/dist/packages/firestore/test/unit/util/array.test.d.ts +17 -0
  101. package/dist/private.d.ts +25 -8
  102. package/package.json +11 -9
@@ -20,10 +20,10 @@
20
20
  *
21
21
  * @internal
22
22
  */
23
- declare class ol {
23
+ declare class cl {
24
24
  convertValue(t: any, e?: string): any;
25
25
  convertObject(t: any, e: any): {};
26
- convertGeoPoint(t: any): sh;
26
+ convertGeoPoint(t: any): rh;
27
27
  convertArray(t: any, e: any): any;
28
28
  convertServerTimestamp(t: any, e: any): any;
29
29
  convertTimestamp(t: any): ut;
@@ -47,18 +47,18 @@ declare class ol {
47
47
  */
48
48
  /**
49
49
  * An immutable object representing an array of bytes.
50
- */ declare class eh {
50
+ */ declare class sh {
51
51
  /**
52
52
  * Creates a new `Bytes` object from the given Base64 string, converting it to
53
53
  * bytes.
54
54
  *
55
55
  * @param base64 - The Base64 string used to create the `Bytes` object.
56
- */ static fromBase64String(t: any): eh;
56
+ */ static fromBase64String(t: any): sh;
57
57
  /**
58
58
  * Creates a new `Bytes` object from the given Uint8Array.
59
59
  *
60
60
  * @param array - The Uint8Array used to create the `Bytes` object.
61
- */ static fromUint8Array(t: any): eh;
61
+ */ static fromUint8Array(t: any): sh;
62
62
  /** @hideconstructor */
63
63
  constructor(t: any);
64
64
  _byteString: any;
@@ -100,11 +100,11 @@ declare class ol {
100
100
  * See the License for the specific language governing permissions and
101
101
  * limitations under the License.
102
102
  */
103
- /** DOMException error code constants. */ declare const Ma: -1;
103
+ /** DOMException error code constants. */ declare const $a: -1;
104
104
  /**
105
105
  * A `CollectionReference` object can be used for adding documents, getting
106
106
  * document references, and querying for documents (using {@link query}).
107
- */ declare class va extends Pa {
107
+ */ declare class Sa extends Va {
108
108
  _path: any;
109
109
  /** The collection's identifier. */ get id(): any;
110
110
  /**
@@ -114,7 +114,7 @@ declare class ol {
114
114
  /**
115
115
  * A reference to the containing `DocumentReference` if this is a
116
116
  * subcollection. If this isn't a subcollection, the reference is null.
117
- */ get parent(): ba | null;
117
+ */ get parent(): va | null;
118
118
  }
119
119
  /**
120
120
  * @license
@@ -136,7 +136,7 @@ declare class ol {
136
136
  * A `DocumentReference` refers to a document location in a Firestore database
137
137
  * and can be used to write, read, or listen to the location. The document at
138
138
  * the referenced location may or may not exist.
139
- */ declare class ba {
139
+ */ declare class va {
140
140
  /** @hideconstructor */
141
141
  constructor(t: any, e: any, n: any);
142
142
  converter: any;
@@ -154,8 +154,8 @@ declare class ol {
154
154
  */ get path(): any;
155
155
  /**
156
156
  * The collection this `DocumentReference` belongs to.
157
- */ get parent(): va;
158
- withConverter(t: any): ba;
157
+ */ get parent(): Sa;
158
+ withConverter(t: any): va;
159
159
  }
160
160
  /**
161
161
  * A `DocumentSnapshot` contains data read from a document in your Firestore
@@ -165,7 +165,7 @@ declare class ol {
165
165
  * For a `DocumentSnapshot` that points to a non-existing document, any data
166
166
  * access will return 'undefined'. You can use the `exists()` method to
167
167
  * explicitly verify a document's existence.
168
- */ declare class kh extends Dh {
168
+ */ declare class Oh extends xh {
169
169
  /** @hideconstructor protected */
170
170
  constructor(t: any, e: any, n: any, s: any, i: any, r: any);
171
171
  _firestoreImpl: any;
@@ -211,7 +211,7 @@ declare class ol {
211
211
  * Create a `FieldPath` by providing field names. If more than one field
212
212
  * name is provided, the path will point to a nested field in a document.
213
213
  */
214
- declare class Za {
214
+ declare class eh {
215
215
  /**
216
216
  * Creates a `FieldPath` from the provided field names. If more than one field
217
217
  * name is provided, the path will point to a nested field in a document.
@@ -246,7 +246,7 @@ declare class Za {
246
246
  /**
247
247
  * Sentinel values that can be used when writing document fields with `set()`
248
248
  * or `update()`.
249
- */ declare class nh {
249
+ */ declare class ih {
250
250
  /**
251
251
  * @param _methodName - The public API endpoint that returns this class.
252
252
  * @hideconstructor
@@ -259,8 +259,8 @@ declare class Za {
259
259
  *
260
260
  * Do not call this constructor directly. Instead, use {@link getFirestore}.
261
261
  */
262
- declare class Fa extends Aa {
263
- _queue: Na;
262
+ declare class Ba extends ba {
263
+ _queue: Ma;
264
264
  }
265
265
  /** An error returned by a Firestore operation. */ declare class Q extends c {
266
266
  /** @hideconstructor */
@@ -288,7 +288,7 @@ declare class Fa extends Aa {
288
288
  *
289
289
  * Latitude values are in the range of [-90, 90].
290
290
  * Longitude values are in the range of [-180, 180].
291
- */ declare class sh {
291
+ */ declare class rh {
292
292
  /**
293
293
  * Creates a new immutable `GeoPoint` object with the provided latitude and
294
294
  * longitude values.
@@ -319,7 +319,7 @@ declare class Fa extends Aa {
319
319
  * with an underscore.
320
320
  */ _compareTo(t: any): 0 | 1 | -1;
321
321
  }
322
- declare class Oa {
322
+ declare class Fa {
323
323
  _progressObserver: {};
324
324
  _taskCompletionResolver: j;
325
325
  _lastProgress: {
@@ -371,7 +371,7 @@ declare class Oa {
371
371
  /**
372
372
  * A `Query` refers to a query which you can read or listen to. You can also
373
373
  * construct refined `Query` objects by adding filters and ordering.
374
- */ declare class Pa {
374
+ */ declare class Va {
375
375
  /** @hideconstructor protected */
376
376
  constructor(t: any, e: any, n: any);
377
377
  converter: any;
@@ -379,7 +379,7 @@ declare class Oa {
379
379
  /** The type of this Firestore reference. */
380
380
  type: string;
381
381
  firestore: any;
382
- withConverter(t: any): Pa;
382
+ withConverter(t: any): Va;
383
383
  }
384
384
  /**
385
385
  * A `QueryConstraint` is used to narrow the set of documents returned by a
@@ -388,7 +388,7 @@ declare class Oa {
388
388
  * endBefore:1}, {@link (endAt:1)}, {@link limit} or {@link limitToLast} and
389
389
  * can then be passed to {@link query} to create a new query instance that
390
390
  * also contains this `QueryConstraint`.
391
- */ declare class Lh {
391
+ */ declare class qh {
392
392
  }
393
393
  /**
394
394
  * A `QueryDocumentSnapshot` contains data read from a document in your
@@ -400,7 +400,7 @@ declare class Oa {
400
400
  * `DocumentSnapshot`. Since query results contain only existing documents, the
401
401
  * `exists` property will always be true and `data()` will never return
402
402
  * 'undefined'.
403
- */ declare class Oh extends kh {
403
+ */ declare class Fh extends Oh {
404
404
  }
405
405
  /**
406
406
  * A `QuerySnapshot` contains zero or more `DocumentSnapshot` objects
@@ -408,13 +408,13 @@ declare class Oa {
408
408
  * array via the `docs` property or enumerated using the `forEach` method. The
409
409
  * number of documents can be determined via the `empty` and `size`
410
410
  * properties.
411
- */ declare class Mh {
411
+ */ declare class $h {
412
412
  /** @hideconstructor */
413
413
  constructor(t: any, e: any, n: any, s: any);
414
414
  _firestore: any;
415
415
  _userDataWriter: any;
416
416
  _snapshot: any;
417
- metadata: Nh;
417
+ metadata: Mh;
418
418
  query: any;
419
419
  /** An array of all the documents in the `QuerySnapshot`. */ get docs(): any[];
420
420
  /** The number of documents in the `QuerySnapshot`. */ get size(): any;
@@ -456,7 +456,7 @@ declare class Oa {
456
456
  */
457
457
  /**
458
458
  * Metadata about a snapshot, describing the state of the snapshot.
459
- */ declare class Nh {
459
+ */ declare class Mh {
460
460
  /** @hideconstructor */
461
461
  constructor(t: any, e: any);
462
462
  hasPendingWrites: any;
@@ -565,11 +565,11 @@ declare class ut {
565
565
  * to be compared using the `>`, `<=`, `>=` and `>` operators.
566
566
  */ valueOf(): string;
567
567
  }
568
- declare const Pl_base: {
568
+ declare const Vl_base: {
569
569
  new (t: any, e: any): {
570
570
  _firestore: any;
571
571
  _transaction: any;
572
- _dataReader: ah;
572
+ _dataReader: lh;
573
573
  /**
574
574
  * Reads the document referenced by the provided {@link DocumentReference}.
575
575
  *
@@ -608,7 +608,7 @@ declare const Pl_base: {
608
608
  * The `Transaction` object passed to a transaction's `updateFunction` provides
609
609
  * the methods to read and write data within the transaction context. See
610
610
  * {@link runTransaction}.
611
- */ declare class Pl extends Pl_base {
611
+ */ declare class Vl extends Vl_base {
612
612
  }
613
613
  /**
614
614
  * @license
@@ -633,22 +633,22 @@ declare const Pl_base: {
633
633
  * provides methods for adding writes to the write batch. None of the writes
634
634
  * will be committed (or visible locally) until {@link WriteBatch.commit} is
635
635
  * called.
636
- */ declare class al {
636
+ */ declare class ll {
637
637
  /** @hideconstructor */
638
638
  constructor(t: any, e: any);
639
639
  _firestore: any;
640
640
  _commitHandler: any;
641
641
  _mutations: any[];
642
642
  _committed: boolean;
643
- _dataReader: ah;
644
- set(t: any, e: any, n: any): al;
645
- update(t: any, e: any, n: any, ...s: any[]): al;
643
+ _dataReader: lh;
644
+ set(t: any, e: any, n: any): ll;
645
+ update(t: any, e: any, n: any, ...s: any[]): ll;
646
646
  /**
647
647
  * Deletes the document referred to by the provided {@link DocumentReference}.
648
648
  *
649
649
  * @param documentRef - A reference to the document to be deleted.
650
650
  * @returns This `WriteBatch` instance. Used for chaining method calls.
651
- */ delete(t: any): al;
651
+ */ delete(t: any): ll;
652
652
  /**
653
653
  * Commits all of the writes in this write batch as a single atomic unit.
654
654
  *
@@ -668,8 +668,8 @@ declare const Pl_base: {
668
668
  * Represents the database ID a Firestore client is associated with.
669
669
  * @internal
670
670
  */
671
- declare class re {
672
- static empty(): re;
671
+ declare class ue {
672
+ static empty(): ue;
673
673
  constructor(t: any, e: any);
674
674
  projectId: any;
675
675
  database: any;
@@ -762,7 +762,7 @@ declare class re {
762
762
  * Returns true if this field references the key of a document.
763
763
  */ isKeyField(): boolean;
764
764
  }
765
- declare function Ia(t: any, e: any): any;
765
+ declare function Ea(t: any, e: any): any;
766
766
  /**
767
767
  * Fails if the given assertion condition is false, throwing an Error with the
768
768
  * given message if it did.
@@ -791,30 +791,14 @@ declare function Ia(t: any, e: any): any;
791
791
  */
792
792
  /** Converts a Base64 encoded string to a binary string. */
793
793
  /** True if and only if the Base64 conversion functions are available. */
794
- declare function Ht(): boolean;
794
+ declare function Yt(): boolean;
795
795
  /**
796
796
  * @internal
797
797
  */ declare function $(t: any, ...e: any[]): void;
798
- /**
799
- * @license
800
- * Copyright 2021 Google LLC
801
- *
802
- * Licensed under the Apache License, Version 2.0 (the "License");
803
- * you may not use this file except in compliance with the License.
804
- * You may obtain a copy of the License at
805
- *
806
- * http://www.apache.org/licenses/LICENSE-2.0
807
- *
808
- * Unless required by applicable law or agreed to in writing, software
809
- * distributed under the License is distributed on an "AS IS" BASIS,
810
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
811
- * See the License for the specific language governing permissions and
812
- * limitations under the License.
813
- */ declare function kl(t: any, e: any): Promise<void>;
814
798
  /**
815
799
  * Validates that two boolean options are not set at the same time.
816
800
  * @internal
817
- */ declare function ma(t: any, e: any, n: any, s: any): void;
801
+ */ declare function ya(t: any, e: any, n: any, s: any): void;
818
802
  /**
819
803
  * Add a new document to specified `CollectionReference` with the given data,
820
804
  * assigning it a document ID automatically.
@@ -824,7 +808,7 @@ declare function Ht(): boolean;
824
808
  * @returns A `Promise` resolved with a `DocumentReference` pointing to the
825
809
  * newly created document after it has been written to the backend (Note that it
826
810
  * won't resolve while you're offline).
827
- */ declare function Tl(t: any, e: any): Promise<ba>;
811
+ */ declare function Al(t: any, e: any): Promise<va>;
828
812
  /**
829
813
  * Returns a special value that can be used with {@link (setDoc:1)} or {@link
830
814
  * updateDoc:1} that tells the server to remove the given elements from any
@@ -835,7 +819,7 @@ declare function Ht(): boolean;
835
819
  * @param elements - The elements to remove from the array.
836
820
  * @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
837
821
  * `updateDoc()`
838
- */ declare function Cl(...t: any[]): mh;
822
+ */ declare function Nl(...t: any[]): yh;
839
823
  /**
840
824
  * Returns a special value that can be used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link
841
825
  * @firebase/firestore/lite#(updateDoc:1)} that tells the server to union the given elements with any array
@@ -847,9 +831,9 @@ declare function Ht(): boolean;
847
831
  * @param elements - The elements to union into the array.
848
832
  * @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
849
833
  * `updateDoc()`.
850
- */ declare function Dl(...t: any[]): wh;
851
- declare function Qa(t: any): Promise<any>;
852
- declare function Va(t: any, e: any, ...n: any[]): va;
834
+ */ declare function xl(...t: any[]): gh;
835
+ declare function Wa(t: any): Promise<any>;
836
+ declare function Da(t: any, e: any, ...n: any[]): Sa;
853
837
  /**
854
838
  * Creates and returns a new `Query` instance that includes all documents in the
855
839
  * database that are contained in a collection or subcollection with the
@@ -860,15 +844,27 @@ declare function Va(t: any, e: any, ...n: any[]): va;
860
844
  * collection or subcollection with this ID as the last segment of its path
861
845
  * will be included. Cannot contain a slash.
862
846
  * @returns The created `Query`.
863
- */ declare function Sa(t: any, e: any): Pa;
864
- declare function Ra(t: any, e: any, n: any, s?: {}): void;
847
+ */ declare function Ca(t: any, e: any): Va;
848
+ /**
849
+ * Modify this instance to communicate with the Cloud Firestore emulator.
850
+ *
851
+ * Note: This must be called before this instance has been used to do any
852
+ * operations.
853
+ *
854
+ * @param firestore - The `Firestore` instance to configure to connect to the
855
+ * emulator.
856
+ * @param host - the emulator host (ex: localhost).
857
+ * @param port - the emulator port (ex: 9000).
858
+ * @param options.mockUserToken - the mock auth token to use for unit testing
859
+ * Security Rules.
860
+ */ declare function Pa(t: any, e: any, n: any, s?: {}): void;
865
861
  /**
866
862
  * Deletes the document referred to by the specified `DocumentReference`.
867
863
  *
868
864
  * @param reference - A reference to the document to delete.
869
865
  * @returns A Promise resolved once the document has been successfully
870
866
  * deleted from the backend (note that it won't resolve while you're offline).
871
- */ declare function Il(t: any): Promise<any>;
867
+ */ declare function El(t: any): Promise<any>;
872
868
  /**
873
869
  * @license
874
870
  * Copyright 2020 Google LLC
@@ -888,7 +884,7 @@ declare function Ra(t: any, e: any, n: any, s?: {}): void;
888
884
  /**
889
885
  * Returns a sentinel for use with {@link @firebase/firestore/lite#(updateDoc:1)} or
890
886
  * {@link @firebase/firestore/lite#(setDoc:1)} with `{merge: true}` to mark a field for deletion.
891
- */ declare function Vl(): fh;
887
+ */ declare function Dl(): _h;
892
888
  /**
893
889
  * Disables network usage for this instance. It can be re-enabled via {@link
894
890
  * enableNetwork}. While the network is disabled, any snapshot listeners,
@@ -896,12 +892,12 @@ declare function Ra(t: any, e: any, n: any, s?: {}): void;
896
892
  * operations will be queued until the network is restored.
897
893
  *
898
894
  * @returns A `Promise` that is resolved once the network has been disabled.
899
- */ declare function za(t: any): any;
900
- declare function Da(t: any, e: any, ...n: any[]): ba;
895
+ */ declare function Ja(t: any): any;
896
+ declare function xa(t: any, e: any, ...n: any[]): va;
901
897
  /**
902
898
  * Returns a special sentinel `FieldPath` to refer to the ID of a document.
903
899
  * It can be used in queries to sort or filter by the document ID.
904
- */ declare function th(): Za;
900
+ */ declare function nh(): eh;
905
901
  /**
906
902
  * Attempts to enable persistent storage, if possible.
907
903
  *
@@ -924,7 +920,7 @@ declare function Da(t: any, e: any, ...n: any[]): ba;
924
920
  * @param persistenceSettings - Optional settings object to configure
925
921
  * persistence.
926
922
  * @returns A `Promise` that represents successfully enabling persistent storage.
927
- */ declare function qa(t: any, e: any): any;
923
+ */ declare function Ga(t: any, e: any): any;
928
924
  /**
929
925
  * Attempts to enable multi-tab persistent storage, if possible. If enabled
930
926
  * across all tabs, all operations share access to local persistence, including
@@ -946,22 +942,22 @@ declare function Da(t: any, e: any, ...n: any[]): ba;
946
942
  * @param firestore - The {@link Firestore} instance to enable persistence for.
947
943
  * @returns A `Promise` that represents successfully enabling persistent
948
944
  * storage.
949
- */ declare function Ka(t: any): any;
945
+ */ declare function Qa(t: any): any;
950
946
  /**
951
947
  * Re-enables use of the network for this {@link Firestore} instance after a prior
952
948
  * call to {@link disableNetwork}.
953
949
  *
954
950
  * @returns A `Promise` that is resolved once the network has been enabled.
955
- */ declare function Wa(t: any): any;
956
- declare function tl(...t: any[]): Xh;
957
- declare function Zh(...t: any[]): Xh;
951
+ */ declare function Ha(t: any): any;
952
+ declare function nl(...t: any[]): tl;
953
+ declare function el(...t: any[]): tl;
958
954
  /**
959
955
  * @internal
960
- */ declare function La(t: any): any;
956
+ */ declare function qa(t: any): any;
961
957
  /**
962
958
  * Locally writes `mutations` on the async queue.
963
959
  * @internal
964
- */ declare function Rl(t: any, e: any): Promise<any>;
960
+ */ declare function Pl(t: any, e: any): Promise<any>;
965
961
  /**
966
962
  * @license
967
963
  * Copyright 2020 Google LLC
@@ -1013,21 +1009,21 @@ declare function Zh(...t: any[]): Xh;
1013
1009
  * @returns A Promise resolved with a `DocumentSnapshot` containing the
1014
1010
  * current document contents.
1015
1011
  */
1016
- declare function ll(t: any): Promise<kh>;
1012
+ declare function dl(t: any): Promise<Oh>;
1017
1013
  /**
1018
1014
  * Reads the document referred to by this `DocumentReference` from cache.
1019
1015
  * Returns an error if the document is not currently cached.
1020
1016
  *
1021
1017
  * @returns A `Promise` resolved with a `DocumentSnapshot` containing the
1022
1018
  * current document contents.
1023
- */ declare function dl(t: any): Promise<kh>;
1019
+ */ declare function wl(t: any): Promise<Oh>;
1024
1020
  /**
1025
1021
  * Reads the document referred to by this `DocumentReference` from the server.
1026
1022
  * Returns an error if the network is not available.
1027
1023
  *
1028
1024
  * @returns A `Promise` resolved with a `DocumentSnapshot` containing the
1029
1025
  * current document contents.
1030
- */ declare function _l(t: any): Promise<kh>;
1026
+ */ declare function ml(t: any): Promise<Oh>;
1031
1027
  /**
1032
1028
  * Executes the query and returns the results as a `QuerySnapshot`.
1033
1029
  *
@@ -1037,28 +1033,20 @@ declare function ll(t: any): Promise<kh>;
1037
1033
  * invoke {@link getDocsFromCache} or {@link getDocsFromServer}.
1038
1034
  *
1039
1035
  * @returns A `Promise` that will be resolved with the results of the query.
1040
- */ declare function wl(t: any): Promise<Mh>;
1036
+ */ declare function gl(t: any): Promise<$h>;
1041
1037
  /**
1042
1038
  * Executes the query and returns the results as a `QuerySnapshot` from cache.
1043
1039
  * Returns an error if the document is not currently cached.
1044
1040
  *
1045
1041
  * @returns A `Promise` that will be resolved with the results of the query.
1046
- */ declare function ml(t: any): Promise<Mh>;
1042
+ */ declare function yl(t: any): Promise<$h>;
1047
1043
  /**
1048
1044
  * Executes the query and returns the results as a `QuerySnapshot` from the
1049
1045
  * server. Returns an error if the network is not available.
1050
1046
  *
1051
1047
  * @returns A `Promise` that will be resolved with the results of the query.
1052
- */ declare function gl(t: any): Promise<Mh>;
1053
- /**
1054
- * Returns the existing {@link Firestore} instance that is associated with the
1055
- * provided {@link @firebase/app#FirebaseApp}. If no instance exists, initializes a new
1056
- * instance with default settings.
1057
- *
1058
- * @param app - The {@link @firebase/app#FirebaseApp} instance that the returned {@link Firestore}
1059
- * instance is associated with.
1060
- * @returns The {@link Firestore} instance of the provided app.
1061
- */ declare function Ba(e?: import("@firebase/app").FirebaseApp): import("../src").Firestore;
1048
+ */ declare function pl(t: any): Promise<$h>;
1049
+ declare function Ua(e: any, n: any): import("../src").Firestore;
1062
1050
  /**
1063
1051
  * Returns a special value that can be used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link
1064
1052
  * @firebase/firestore/lite#(updateDoc:1)} that tells the server to increment the field's current value by
@@ -1077,7 +1065,7 @@ declare function ll(t: any): Promise<kh>;
1077
1065
  * @param n - The value to increment by.
1078
1066
  * @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
1079
1067
  * `updateDoc()`
1080
- */ declare function xl(t: any): gh;
1068
+ */ declare function kl(t: any): ph;
1081
1069
  /**
1082
1070
  * Initializes a new instance of {@link Firestore} with the provided settings.
1083
1071
  * Can only be called before any other function, including
@@ -1087,14 +1075,15 @@ declare function ll(t: any): Promise<kh>;
1087
1075
  * @param app - The {@link @firebase/app#FirebaseApp} with which the {@link Firestore} instance will
1088
1076
  * be associated.
1089
1077
  * @param settings - A settings object to configure the {@link Firestore} instance.
1078
+ * @param databaseId - The name of database.
1090
1079
  * @returns A newly initialized {@link Firestore} instance.
1091
- */ declare function $a(t: any, e: any): import("../src").Firestore;
1080
+ */ declare function La(t: any, e: any, n: any): import("../src").Firestore;
1092
1081
  /**
1093
1082
  * Creates a {@link QueryConstraint} that only returns the first matching documents.
1094
1083
  *
1095
1084
  * @param limit - The maximum number of items to return.
1096
1085
  * @returns The created {@link Query}.
1097
- */ declare function Wh(t: any): jh;
1086
+ */ declare function Hh(t: any): zh;
1098
1087
  /**
1099
1088
  * Creates a {@link QueryConstraint} that only returns the last matching documents.
1100
1089
  *
@@ -1103,7 +1092,7 @@ declare function ll(t: any): Promise<kh>;
1103
1092
  *
1104
1093
  * @param limit - The maximum number of items to return.
1105
1094
  * @returns The created {@link Query}.
1106
- */ declare function zh(t: any): jh;
1095
+ */ declare function Jh(t: any): zh;
1107
1096
  /**
1108
1097
  * Loads a Firestore bundle into the local cache.
1109
1098
  *
@@ -1114,7 +1103,7 @@ declare function ll(t: any): Promise<kh>;
1114
1103
  * @returns A `LoadBundleTask` object, which notifies callers with progress
1115
1104
  * updates, and completion or error events. It can be used as a
1116
1105
  * `Promise<LoadBundleTaskProgress>`.
1117
- */ declare function Ja(t: any, e: any): Oa;
1106
+ */ declare function Xa(t: any, e: any): Fa;
1118
1107
  /**
1119
1108
  * Reads a Firestore {@link Query} from local cache, identified by the given
1120
1109
  * name.
@@ -1126,9 +1115,9 @@ declare function ll(t: any): Promise<kh>;
1126
1115
  * @param firestore - The {@link Firestore} instance to read the query from.
1127
1116
  * @param name - The name of the query.
1128
1117
  * @returns A `Promise` that is resolved with the Query or `null`.
1129
- */ declare function Ya(t: any, e: any): any;
1130
- declare function El(t: any, ...e: any[]): () => void;
1131
- declare function Al(t: any, e: any): () => void;
1118
+ */ declare function Za(t: any, e: any): any;
1119
+ declare function Rl(t: any, ...e: any[]): () => void;
1120
+ declare function bl(t: any, e: any): () => void;
1132
1121
  /**
1133
1122
  * Creates a {@link QueryConstraint} that sorts the query result by the
1134
1123
  * specified field, optionally in descending order instead of ascending.
@@ -1137,7 +1126,7 @@ declare function Al(t: any, e: any): () => void;
1137
1126
  * @param directionStr - Optional direction to sort by ('asc' or 'desc'). If
1138
1127
  * not specified, order will be ascending.
1139
1128
  * @returns The created {@link Query}.
1140
- */ declare function Qh(t: any, e?: string): Gh;
1129
+ */ declare function Wh(t: any, e?: string): jh;
1141
1130
  /**
1142
1131
  * Creates a new immutable instance of {@link Query} that is extended to also include
1143
1132
  * additional query constraints.
@@ -1146,7 +1135,7 @@ declare function Al(t: any, e: any): () => void;
1146
1135
  * @param queryConstraints - The list of {@link QueryConstraint}s to apply.
1147
1136
  * @throws if any of the provided query constraints cannot be combined with the
1148
1137
  * existing or new constraints.
1149
- */ declare function Uh(t: any, ...e: any[]): any;
1138
+ */ declare function Kh(t: any, ...e: any[]): any;
1150
1139
  /**
1151
1140
  * Returns true if the provided queries point to the same collection and apply
1152
1141
  * the same constraints.
@@ -1155,7 +1144,7 @@ declare function Al(t: any, e: any): () => void;
1155
1144
  * @param right - A `Query` to compare.
1156
1145
  * @returns true if the references point to the same location in the same
1157
1146
  * Firestore database.
1158
- */ declare function xa(t: any, e: any): boolean;
1147
+ */ declare function ka(t: any, e: any): boolean;
1159
1148
  /**
1160
1149
  * Returns true if the provided references are equal.
1161
1150
  *
@@ -1163,7 +1152,7 @@ declare function Al(t: any, e: any): () => void;
1163
1152
  * @param right - A reference to compare.
1164
1153
  * @returns true if the references point to the same location in the same
1165
1154
  * Firestore database.
1166
- */ declare function Ca(t: any, e: any): boolean;
1155
+ */ declare function Na(t: any, e: any): boolean;
1167
1156
  /**
1168
1157
  * Executes the given `updateFunction` and then attempts to commit the changes
1169
1158
  * applied within the transaction. If any document read within the transaction
@@ -1182,12 +1171,28 @@ declare function Al(t: any, e: any): () => void;
1182
1171
  * (the `updateFunction` returned a failed promise), the promise returned by the
1183
1172
  * `updateFunction `is returned here. Otherwise, if the transaction failed, a
1184
1173
  * rejected promise with the corresponding failure error is returned.
1185
- */ declare function vl(t: any, e: any, n: any): Promise<any>;
1174
+ */ declare function Sl(t: any, e: any, n: any): Promise<any>;
1186
1175
  /**
1187
1176
  * Returns a sentinel used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link @firebase/firestore/lite#(updateDoc:1)} to
1188
1177
  * include a server-generated timestamp in the written data.
1189
- */ declare function Sl(): _h;
1190
- declare function yl(t: any, e: any, n: any): Promise<any>;
1178
+ */ declare function Cl(): mh;
1179
+ declare function Il(t: any, e: any, n: any): Promise<any>;
1180
+ /**
1181
+ * @license
1182
+ * Copyright 2021 Google LLC
1183
+ *
1184
+ * Licensed under the Apache License, Version 2.0 (the "License");
1185
+ * you may not use this file except in compliance with the License.
1186
+ * You may obtain a copy of the License at
1187
+ *
1188
+ * http://www.apache.org/licenses/LICENSE-2.0
1189
+ *
1190
+ * Unless required by applicable law or agreed to in writing, software
1191
+ * distributed under the License is distributed on an "AS IS" BASIS,
1192
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1193
+ * See the License for the specific language governing permissions and
1194
+ * limitations under the License.
1195
+ */ declare function Ol(t: any, e: any): Promise<any>;
1191
1196
  /**
1192
1197
  * Sets the verbosity of Cloud Firestore logs (debug, error, or silent).
1193
1198
  *
@@ -1200,16 +1205,16 @@ declare function yl(t: any, e: any, n: any): Promise<any>;
1200
1205
  * <li>`error` to log errors only.</li>
1201
1206
  * <li><code>`silent` to turn off logging.</li>
1202
1207
  * </ul>
1203
- */ declare function O(t: any): void;
1208
+ */ declare function M(t: any): void;
1204
1209
  /**
1205
1210
  * Returns true if the provided snapshots are equal.
1206
1211
  *
1207
1212
  * @param left - A snapshot to compare.
1208
1213
  * @param right - A snapshot to compare.
1209
1214
  * @returns true if the snapshots are equal.
1210
- */ declare function $h(t: any, e: any): any;
1211
- declare function Yh(...t: any[]): Hh;
1212
- declare function Jh(...t: any[]): Hh;
1215
+ */ declare function Lh(t: any, e: any): any;
1216
+ declare function Zh(...t: any[]): Yh;
1217
+ declare function Xh(...t: any[]): Yh;
1213
1218
  /**
1214
1219
  * Terminates the provided {@link Firestore} instance.
1215
1220
  *
@@ -1231,8 +1236,8 @@ declare function Jh(...t: any[]): Hh;
1231
1236
  *
1232
1237
  * @returns A `Promise` that is resolved when the instance has been successfully
1233
1238
  * terminated.
1234
- */ declare function Ha(t: any): any;
1235
- declare function pl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1239
+ */ declare function Ya(t: any): any;
1240
+ declare function Tl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1236
1241
  /**
1237
1242
  * Waits until all currently pending writes for the active user have been
1238
1243
  * acknowledged by the backend.
@@ -1248,7 +1253,7 @@ declare function pl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1248
1253
  *
1249
1254
  * @returns A `Promise` which resolves when all currently pending writes have been
1250
1255
  * acknowledged by the backend.
1251
- */ declare function ja(t: any): Promise<any>;
1256
+ */ declare function za(t: any): Promise<any>;
1252
1257
  /**
1253
1258
  * Creates a {@link QueryConstraint} that enforces that documents must contain the
1254
1259
  * specified field and that the value should satisfy the relation constraint
@@ -1259,7 +1264,7 @@ declare function pl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1259
1264
  * "&lt;=", "!=").
1260
1265
  * @param value - The value for comparison
1261
1266
  * @returns The created {@link Query}.
1262
- */ declare function Kh(t: any, e: any, n: any): qh;
1267
+ */ declare function Qh(t: any, e: any, n: any): Gh;
1263
1268
  /**
1264
1269
  * @license
1265
1270
  * Copyright 2020 Google LLC
@@ -1286,7 +1291,7 @@ declare function pl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1286
1291
  *
1287
1292
  * @returns A {@link WriteBatch} that can be used to atomically execute multiple
1288
1293
  * writes.
1289
- */ declare function Nl(t: any): al;
1294
+ */ declare function Ml(t: any): ll;
1290
1295
  /**
1291
1296
  * @license
1292
1297
  * Copyright 2020 Google LLC
@@ -1311,7 +1316,7 @@ declare function pl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1311
1316
  * For a `DocumentSnapshot` that points to a non-existing document, any data
1312
1317
  * access will return 'undefined'. You can use the `exists()` method to
1313
1318
  * explicitly verify a document's existence.
1314
- */ declare class Dh {
1319
+ */ declare class xh {
1315
1320
  /** @hideconstructor protected */
1316
1321
  constructor(t: any, e: any, n: any, s: any, i: any);
1317
1322
  _firestore: any;
@@ -1322,7 +1327,7 @@ declare function pl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1322
1327
  /** Property of the `DocumentSnapshot` that provides the document's ID. */ get id(): any;
1323
1328
  /**
1324
1329
  * The `DocumentReference` for the document included in the `DocumentSnapshot`.
1325
- */ get ref(): ba;
1330
+ */ get ref(): va;
1326
1331
  /**
1327
1332
  * Signals whether or not the document at the snapshot's location exists.
1328
1333
  *
@@ -1366,20 +1371,20 @@ declare function pl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1366
1371
  * The Cloud Firestore service interface.
1367
1372
  *
1368
1373
  * Do not call this constructor directly. Instead, use {@link getFirestore}.
1369
- */ declare class Aa {
1374
+ */ declare class ba {
1370
1375
  /** @hideconstructor */
1371
- constructor(t: any, e: any, n: any);
1376
+ constructor(t: any, e: any, n: any, s: any);
1372
1377
  _authCredentials: any;
1373
1378
  _appCheckCredentials: any;
1379
+ _databaseId: any;
1380
+ _app: any;
1374
1381
  /**
1375
1382
  * Whether it's a Firestore or Firestore Lite instance.
1376
1383
  */
1377
1384
  type: string;
1378
1385
  _persistenceKey: string;
1379
- _settings: Ea;
1386
+ _settings: Ra;
1380
1387
  _settingsFrozen: boolean;
1381
- _databaseId: re;
1382
- _app: any;
1383
1388
  /**
1384
1389
  * The {@link @firebase/app#FirebaseApp} associated with this `Firestore` service
1385
1390
  * instance.
@@ -1387,14 +1392,14 @@ declare function pl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1387
1392
  get _initialized(): boolean;
1388
1393
  get _terminated(): boolean;
1389
1394
  _setSettings(t: any): void;
1390
- _getSettings(): Ea;
1391
- _freezeSettings(): Ea;
1395
+ _getSettings(): Ra;
1396
+ _freezeSettings(): Ra;
1392
1397
  _delete(): Promise<void>;
1393
1398
  _terminateTask: Promise<void> | undefined;
1394
1399
  /** Returns a JSON-serializable representation of this `Firestore` instance. */ toJSON(): {
1395
1400
  app: any;
1396
- databaseId: re;
1397
- settings: Ea;
1401
+ databaseId: any;
1402
+ settings: Ra;
1398
1403
  };
1399
1404
  /**
1400
1405
  * Terminates all components used by this client. Subclasses can override
@@ -1419,17 +1424,17 @@ declare function pl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1419
1424
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1420
1425
  * See the License for the specific language governing permissions and
1421
1426
  * limitations under the License.
1422
- */ declare class Na {
1423
- Oc: Promise<void>;
1424
- Mc: any[];
1425
- Fc: boolean;
1426
- $c: any[];
1427
- Bc: any;
1427
+ */ declare class Ma {
1428
+ $c: Promise<void>;
1429
+ Bc: any[];
1428
1430
  Lc: boolean;
1429
- Uc: boolean;
1430
- qc: any[];
1431
- So: su;
1432
- Kc: () => void;
1431
+ Uc: any[];
1432
+ qc: any;
1433
+ Kc: boolean;
1434
+ Gc: boolean;
1435
+ Qc: any[];
1436
+ xo: ru;
1437
+ jc: () => void;
1433
1438
  get isShuttingDown(): boolean;
1434
1439
  /**
1435
1440
  * Adds a new operation to the queue without waiting for it to complete (i.e.
@@ -1442,30 +1447,30 @@ declare function pl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1442
1447
  /**
1443
1448
  * Runs the next operation from the retryable queue. If the operation fails,
1444
1449
  * reschedules with backoff.
1445
- */ jc(): Promise<void>;
1446
- Qc(t: any): Promise<any>;
1447
- enqueueAfterDelay(t: any, e: any, n: any): $u;
1448
- Gc(): void;
1450
+ */ Hc(): Promise<void>;
1451
+ zc(t: any): Promise<any>;
1452
+ enqueueAfterDelay(t: any, e: any, n: any): Lu;
1453
+ Wc(): void;
1449
1454
  verifyOperationInProgress(): void;
1450
1455
  /**
1451
1456
  * Waits until all currently queued tasks are finished executing. Delayed
1452
1457
  * operations are not run.
1453
- */ zc(): Promise<void>;
1458
+ */ Yc(): Promise<void>;
1454
1459
  /**
1455
1460
  * For Tests: Determine if a delayed operation with a particular TimerId
1456
1461
  * exists.
1457
- */ Hc(t: any): boolean;
1462
+ */ Xc(t: any): boolean;
1458
1463
  /**
1459
1464
  * For Tests: Runs some or all delayed operations early.
1460
1465
  *
1461
1466
  * @param lastTimerId - Delayed operations up to and including this TimerId
1462
1467
  * will be drained. Pass TimerId.All to run all delayed operations.
1463
1468
  * @returns a Promise that resolves once all operations have been run.
1464
- */ Jc(t: any): Promise<void>;
1469
+ */ Zc(t: any): Promise<void>;
1465
1470
  /**
1466
1471
  * For Tests: Skip all subsequent delays for a timer id.
1467
- */ Yc(t: any): void;
1468
- /** Called once a DelayedOperation is run or canceled. */ Wc(t: any): void;
1472
+ */ ta(t: any): void;
1473
+ /** Called once a DelayedOperation is run or canceled. */ Jc(t: any): void;
1469
1474
  }
1470
1475
  import { FirebaseError as c } from "@firebase/util/dist/src/errors";
1471
1476
  /**
@@ -1491,12 +1496,12 @@ import { FirebaseError as c } from "@firebase/util/dist/src/errors";
1491
1496
  /**
1492
1497
  * Helper for parsing raw user input (provided via the API) into internal model
1493
1498
  * classes.
1494
- */ declare class ah {
1499
+ */ declare class lh {
1495
1500
  constructor(t: any, e: any, n: any);
1496
1501
  databaseId: any;
1497
1502
  ignoreUndefinedProperties: any;
1498
- wt: any;
1499
- /** Creates a new top-level parse context. */ aa(t: any, e: any, n: any, s?: boolean): ch;
1503
+ It: any;
1504
+ /** Creates a new top-level parse context. */ fa(t: any, e: any, n: any, s?: boolean): hh;
1500
1505
  }
1501
1506
  declare class Z {
1502
1507
  constructor(t: any);
@@ -1544,67 +1549,67 @@ declare class at {
1544
1549
  forEach(t: any): void;
1545
1550
  toArray(): any;
1546
1551
  }
1547
- declare class mh extends nh {
1552
+ declare class yh extends ih {
1548
1553
  constructor(t: any, e: any);
1549
- ha: any;
1550
- _toFieldTransform(t: any): On;
1554
+ da: any;
1555
+ _toFieldTransform(t: any): Fn;
1551
1556
  isEqual(t: any): boolean;
1552
1557
  }
1553
- declare class wh extends nh {
1558
+ declare class gh extends ih {
1554
1559
  constructor(t: any, e: any);
1555
- ha: any;
1556
- _toFieldTransform(t: any): On;
1560
+ da: any;
1561
+ _toFieldTransform(t: any): Fn;
1557
1562
  isEqual(t: any): boolean;
1558
1563
  }
1559
- declare class fh extends nh {
1564
+ declare class _h extends ih {
1560
1565
  _toFieldTransform(t: any): null;
1561
1566
  isEqual(t: any): boolean;
1562
1567
  }
1563
- declare class Xh extends Lh {
1568
+ declare class tl extends qh {
1564
1569
  constructor(t: any, e: any, n: any);
1565
1570
  type: any;
1566
- ya: any;
1567
- pa: any;
1568
- _apply(t: any): Pa;
1571
+ Ta: any;
1572
+ Ea: any;
1573
+ _apply(t: any): Va;
1569
1574
  }
1570
- declare class gh extends nh {
1575
+ declare class ph extends ih {
1571
1576
  constructor(t: any, e: any);
1572
- la: any;
1573
- _toFieldTransform(t: any): On;
1577
+ _a: any;
1578
+ _toFieldTransform(t: any): Fn;
1574
1579
  isEqual(t: any): boolean;
1575
1580
  }
1576
- declare class jh extends Lh {
1581
+ declare class zh extends qh {
1577
1582
  constructor(t: any, e: any, n: any);
1578
1583
  type: any;
1579
- ma: any;
1580
- ga: any;
1581
- _apply(t: any): Pa;
1584
+ pa: any;
1585
+ Ia: any;
1586
+ _apply(t: any): Va;
1582
1587
  }
1583
- declare class Gh extends Lh {
1588
+ declare class jh extends qh {
1584
1589
  constructor(t: any, e: any);
1585
- fa: any;
1586
1590
  wa: any;
1591
+ ya: any;
1587
1592
  type: string;
1588
- _apply(t: any): Pa;
1593
+ _apply(t: any): Va;
1589
1594
  }
1590
- declare class _h extends nh {
1591
- _toFieldTransform(t: any): On;
1595
+ declare class mh extends ih {
1596
+ _toFieldTransform(t: any): Fn;
1592
1597
  isEqual(t: any): boolean;
1593
1598
  }
1594
- declare class Hh extends Lh {
1599
+ declare class Yh extends qh {
1595
1600
  constructor(t: any, e: any, n: any);
1596
1601
  type: any;
1597
- ya: any;
1598
- pa: any;
1599
- _apply(t: any): Pa;
1602
+ Ta: any;
1603
+ Ea: any;
1604
+ _apply(t: any): Va;
1600
1605
  }
1601
- declare class qh extends Lh {
1606
+ declare class Gh extends qh {
1602
1607
  constructor(t: any, e: any, n: any);
1603
- fa: any;
1604
- da: any;
1605
- _a: any;
1608
+ wa: any;
1609
+ ma: any;
1610
+ ga: any;
1606
1611
  type: string;
1607
- _apply(t: any): Pa;
1612
+ _apply(t: any): Va;
1608
1613
  }
1609
1614
  /**
1610
1615
  * @license
@@ -1627,7 +1632,7 @@ declare class qh extends Lh {
1627
1632
  * user-supplied `FirestoreSettings` object. This is a separate type so that
1628
1633
  * defaults can be supplied and the value can be checked for equality.
1629
1634
  */
1630
- declare class Ea {
1635
+ declare class Ra {
1631
1636
  constructor(t: any);
1632
1637
  host: any;
1633
1638
  ssl: any;
@@ -1651,17 +1656,17 @@ declare class Ea {
1651
1656
  * base delay. This prevents clients from accidentally synchronizing their
1652
1657
  * delays causing spikes of load to the backend.
1653
1658
  */
1654
- declare class su {
1659
+ declare class ru {
1655
1660
  constructor(t: any, e: any, n?: number, s?: number, i?: number);
1656
- js: any;
1661
+ Hs: any;
1657
1662
  timerId: any;
1658
- lo: number;
1659
- fo: number;
1660
- _o: number;
1661
1663
  wo: number;
1662
- mo: any;
1663
- /** The last backoff attempt, as epoch milliseconds. */
1664
+ mo: number;
1664
1665
  yo: number;
1666
+ po: number;
1667
+ Io: any;
1668
+ /** The last backoff attempt, as epoch milliseconds. */
1669
+ To: number;
1665
1670
  /**
1666
1671
  * Resets the backoff delay.
1667
1672
  *
@@ -1672,15 +1677,15 @@ declare class su {
1672
1677
  /**
1673
1678
  * Resets the backoff delay to the maximum delay (e.g. for use after a
1674
1679
  * RESOURCE_EXHAUSTED error).
1675
- */ po(): void;
1680
+ */ Eo(): void;
1676
1681
  /**
1677
1682
  * Returns a promise that resolves after currentDelayMs, and increases the
1678
1683
  * delay for any subsequent attempts. If there was a pending backoff operation
1679
1684
  * already, it will be canceled.
1680
- */ Io(t: any): void;
1681
- Eo(): void;
1685
+ */ Ao(t: any): void;
1686
+ bo(): void;
1682
1687
  cancel(): void;
1683
- /** Returns a random value in the range [-currentBaseMs/2, currentBaseMs/2] */ To(): number;
1688
+ /** Returns a random value in the range [-currentBaseMs/2, currentBaseMs/2] */ Ro(): number;
1684
1689
  }
1685
1690
  /**
1686
1691
  * @license
@@ -1709,7 +1714,7 @@ declare class su {
1709
1714
  * in newer versions of TypeScript defines `finally`, which is not available in
1710
1715
  * IE.
1711
1716
  */
1712
- declare class $u {
1717
+ declare class Lu {
1713
1718
  /**
1714
1719
  * Creates and returns a DelayedOperation that has been scheduled to be
1715
1720
  * executed on the provided asyncQueue after the provided delayMs.
@@ -1723,7 +1728,7 @@ declare class $u {
1723
1728
  * from its delayedOperations list.
1724
1729
  * PORTING NOTE: This exists to prevent making removeDelayedOperation() and
1725
1730
  * the DelayedOperation class public.
1726
- */ static createAndSchedule(t: any, e: any, n: any, s: any, i: any): $u;
1731
+ */ static createAndSchedule(t: any, e: any, n: any, s: any, i: any): Lu;
1727
1732
  constructor(t: any, e: any, n: any, s: any, i: any);
1728
1733
  asyncQueue: any;
1729
1734
  timerId: any;
@@ -1751,7 +1756,7 @@ declare class $u {
1751
1756
  handleDelayElapsed(): void;
1752
1757
  clearTimeout(): void;
1753
1758
  }
1754
- /** A "context" object passed around while parsing user data. */ declare class ch {
1759
+ /** A "context" object passed around while parsing user data. */ declare class hh {
1755
1760
  /**
1756
1761
  * Initializes a ParseContext with the given source and path.
1757
1762
  *
@@ -1773,20 +1778,20 @@ declare class $u {
1773
1778
  constructor(t: any, e: any, n: any, s: any, i: any, r: any);
1774
1779
  settings: any;
1775
1780
  databaseId: any;
1776
- wt: any;
1781
+ It: any;
1777
1782
  ignoreUndefinedProperties: any;
1778
1783
  fieldTransforms: any;
1779
1784
  fieldMask: any;
1780
1785
  get path(): any;
1781
- get Zc(): any;
1782
- /** Returns a new context with the specified settings overwritten. */ ta(t: any): ch;
1783
- ea(t: any): ch;
1784
- ia(t: any): ch;
1785
- ra(t: any): ch;
1786
- oa(t: any): Q;
1786
+ get na(): any;
1787
+ /** Returns a new context with the specified settings overwritten. */ sa(t: any): hh;
1788
+ ia(t: any): hh;
1789
+ ua(t: any): hh;
1790
+ ca(t: any): hh;
1791
+ aa(t: any): Q;
1787
1792
  /** Returns 'true' if 'fieldPath' was traversed when creating this context. */ contains(t: any): boolean;
1788
- Xc(): void;
1789
- sa(t: any): void;
1793
+ ea(): void;
1794
+ oa(t: any): void;
1790
1795
  }
1791
1796
  /**
1792
1797
  * @license
@@ -1804,9 +1809,9 @@ declare class $u {
1804
1809
  * See the License for the specific language governing permissions and
1805
1810
  * limitations under the License.
1806
1811
  */
1807
- /** A field path and the TransformOperation to perform upon it. */ declare class On {
1812
+ /** A field path and the TransformOperation to perform upon it. */ declare class Fn {
1808
1813
  constructor(t: any, e: any);
1809
1814
  field: any;
1810
1815
  transform: any;
1811
1816
  }
1812
- export { ol as AbstractUserDataWriter, eh as Bytes, Ma as CACHE_SIZE_UNLIMITED, va as CollectionReference, ba as DocumentReference, kh as DocumentSnapshot, Za as FieldPath, nh as FieldValue, Fa as Firestore, Q as FirestoreError, sh as GeoPoint, Oa as LoadBundleTask, Pa as Query, Lh as QueryConstraint, Oh as QueryDocumentSnapshot, Mh as QuerySnapshot, Nh as SnapshotMetadata, ut as Timestamp, Pl as Transaction, al as WriteBatch, re as _DatabaseId, dt as _DocumentKey, et as _EmptyAppCheckTokenProvider, z as _EmptyAuthCredentialsProvider, ft as _FieldPath, Ia as _cast, q as _debugAssert, Ht as _isBase64Available, $ as _logWarn, kl as _setIndexConfiguration, ma as _validateIsNotUsedTogether, Tl as addDoc, Cl as arrayRemove, Dl as arrayUnion, Qa as clearIndexedDbPersistence, Va as collection, Sa as collectionGroup, Ra as connectFirestoreEmulator, Il as deleteDoc, Vl as deleteField, za as disableNetwork, Da as doc, th as documentId, qa as enableIndexedDbPersistence, Ka as enableMultiTabIndexedDbPersistence, Wa as enableNetwork, tl as endAt, Zh as endBefore, La as ensureFirestoreConfigured, Rl as executeWrite, ll as getDoc, dl as getDocFromCache, _l as getDocFromServer, wl as getDocs, ml as getDocsFromCache, gl as getDocsFromServer, Ba as getFirestore, xl as increment, $a as initializeFirestore, Wh as limit, zh as limitToLast, Ja as loadBundle, Ya as namedQuery, El as onSnapshot, Al as onSnapshotsInSync, Qh as orderBy, Uh as query, xa as queryEqual, Ca as refEqual, vl as runTransaction, Sl as serverTimestamp, yl as setDoc, O as setLogLevel, $h as snapshotEqual, Yh as startAfter, Jh as startAt, Ha as terminate, pl as updateDoc, ja as waitForPendingWrites, Kh as where, Nl as writeBatch };
1817
+ export { cl as AbstractUserDataWriter, sh as Bytes, $a as CACHE_SIZE_UNLIMITED, Sa as CollectionReference, va as DocumentReference, Oh as DocumentSnapshot, eh as FieldPath, ih as FieldValue, Ba as Firestore, Q as FirestoreError, rh as GeoPoint, Fa as LoadBundleTask, Va as Query, qh as QueryConstraint, Fh as QueryDocumentSnapshot, $h as QuerySnapshot, Mh as SnapshotMetadata, ut as Timestamp, Vl as Transaction, ll as WriteBatch, ue as _DatabaseId, dt as _DocumentKey, et as _EmptyAppCheckTokenProvider, z as _EmptyAuthCredentialsProvider, ft as _FieldPath, Ea as _cast, q as _debugAssert, Yt as _isBase64Available, $ as _logWarn, ya as _validateIsNotUsedTogether, Al as addDoc, Nl as arrayRemove, xl as arrayUnion, Wa as clearIndexedDbPersistence, Da as collection, Ca as collectionGroup, Pa as connectFirestoreEmulator, El as deleteDoc, Dl as deleteField, Ja as disableNetwork, xa as doc, nh as documentId, Ga as enableIndexedDbPersistence, Qa as enableMultiTabIndexedDbPersistence, Ha as enableNetwork, nl as endAt, el as endBefore, qa as ensureFirestoreConfigured, Pl as executeWrite, dl as getDoc, wl as getDocFromCache, ml as getDocFromServer, gl as getDocs, yl as getDocsFromCache, pl as getDocsFromServer, Ua as getFirestore, kl as increment, La as initializeFirestore, Hh as limit, Jh as limitToLast, Xa as loadBundle, Za as namedQuery, Rl as onSnapshot, bl as onSnapshotsInSync, Wh as orderBy, Kh as query, ka as queryEqual, Na as refEqual, Sl as runTransaction, Cl as serverTimestamp, Il as setDoc, Ol as setIndexConfiguration, M as setLogLevel, Lh as snapshotEqual, Zh as startAfter, Xh as startAt, Ya as terminate, Tl as updateDoc, za as waitForPendingWrites, Qh as where, Ml as writeBatch };