@firebase/firestore 3.4.2 → 3.4.3

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 (170) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/firestore/src/api/snapshot.d.ts +6 -6
  3. package/dist/firestore/src/lite-api/snapshot.d.ts +2 -2
  4. package/dist/firestore/test/integration/bootstrap.d.ts +0 -1
  5. package/dist/firestore/test/integration/util/events_accumulator.d.ts +2 -2
  6. package/dist/firestore/test/integration/util/firebase_export.d.ts +6 -14
  7. package/dist/firestore/test/integration/util/helpers.d.ts +18 -18
  8. package/dist/firestore/test/integration/util/internal_helpers.d.ts +3 -3
  9. package/dist/firestore/test/integration/util/settings.d.ts +2 -2
  10. package/dist/firestore/test/unit/api/{blob.test.d.ts → bytes.test.d.ts} +0 -0
  11. package/dist/firestore/test/util/api_helpers.d.ts +1 -1
  12. package/dist/firestore/test/util/helpers.d.ts +4 -6
  13. package/dist/index.d.ts +6 -6
  14. package/dist/index.esm2017.js +869 -869
  15. package/dist/index.esm2017.js.map +1 -1
  16. package/dist/index.esm5.js +1257 -1257
  17. package/dist/index.esm5.js.map +1 -1
  18. package/dist/index.node.cjs.js +2674 -24
  19. package/dist/index.node.cjs.js.map +1 -1
  20. package/dist/index.node.mjs +2675 -25
  21. package/dist/index.node.mjs.map +1 -1
  22. package/dist/index.rn.js +1068 -1068
  23. package/dist/index.rn.js.map +1 -1
  24. package/dist/internal.d.ts +8 -8
  25. package/dist/lite/firestore/src/api/snapshot.d.ts +6 -6
  26. package/dist/lite/firestore/src/lite-api/snapshot.d.ts +2 -2
  27. package/dist/lite/firestore/test/integration/bootstrap.d.ts +0 -1
  28. package/dist/lite/firestore/test/integration/util/events_accumulator.d.ts +2 -2
  29. package/dist/lite/firestore/test/integration/util/firebase_export.d.ts +6 -14
  30. package/dist/lite/firestore/test/integration/util/helpers.d.ts +18 -18
  31. package/dist/lite/firestore/test/integration/util/internal_helpers.d.ts +3 -3
  32. package/dist/lite/firestore/test/integration/util/settings.d.ts +2 -2
  33. package/dist/lite/firestore/test/unit/api/{blob.test.d.ts → bytes.test.d.ts} +0 -0
  34. package/dist/lite/firestore/test/util/api_helpers.d.ts +1 -1
  35. package/dist/lite/firestore/test/util/helpers.d.ts +4 -6
  36. package/dist/lite/index.browser.esm2017.js +1136 -1136
  37. package/dist/lite/index.browser.esm2017.js.map +1 -1
  38. package/dist/lite/index.browser.esm5.js +105 -105
  39. package/dist/lite/index.browser.esm5.js.map +1 -1
  40. package/dist/lite/index.d.ts +2 -2
  41. package/dist/lite/index.node.cjs.js +11 -12
  42. package/dist/lite/index.node.cjs.js.map +1 -1
  43. package/dist/lite/index.node.mjs +11 -12
  44. package/dist/lite/index.node.mjs.map +1 -1
  45. package/dist/lite/index.rn.esm2017.js +148 -148
  46. package/dist/lite/index.rn.esm2017.js.map +1 -1
  47. package/dist/lite/internal.d.ts +2 -2
  48. package/dist/lite/packages/firestore/dist/lite/index.browser.esm2017.d.ts +107 -107
  49. package/dist/lite/packages/firestore/src/api/snapshot.d.ts +6 -6
  50. package/dist/lite/packages/firestore/src/lite-api/snapshot.d.ts +2 -2
  51. package/dist/lite/packages/firestore/test/integration/bootstrap.d.ts +0 -1
  52. package/dist/lite/packages/firestore/test/integration/util/events_accumulator.d.ts +2 -2
  53. package/dist/lite/packages/firestore/test/integration/util/firebase_export.d.ts +6 -14
  54. package/dist/lite/packages/firestore/test/integration/util/helpers.d.ts +18 -18
  55. package/dist/lite/packages/firestore/test/integration/util/internal_helpers.d.ts +3 -3
  56. package/dist/lite/packages/firestore/test/integration/util/settings.d.ts +2 -2
  57. package/dist/lite/packages/firestore/test/unit/api/{blob.test.d.ts → bytes.test.d.ts} +0 -0
  58. package/dist/lite/packages/firestore/test/util/api_helpers.d.ts +1 -1
  59. package/dist/lite/packages/firestore/test/util/helpers.d.ts +4 -6
  60. package/dist/lite/private.d.ts +2 -2
  61. package/dist/packages/firestore/dist/index.esm2017.d.ts +105 -105
  62. package/dist/packages/firestore/src/api/snapshot.d.ts +6 -6
  63. package/dist/packages/firestore/src/lite-api/snapshot.d.ts +2 -2
  64. package/dist/packages/firestore/test/integration/bootstrap.d.ts +0 -1
  65. package/dist/packages/firestore/test/integration/util/events_accumulator.d.ts +2 -2
  66. package/dist/packages/firestore/test/integration/util/firebase_export.d.ts +6 -14
  67. package/dist/packages/firestore/test/integration/util/helpers.d.ts +18 -18
  68. package/dist/packages/firestore/test/integration/util/internal_helpers.d.ts +3 -3
  69. package/dist/packages/firestore/test/integration/util/settings.d.ts +2 -2
  70. package/dist/packages/firestore/test/unit/api/{blob.test.d.ts → bytes.test.d.ts} +0 -0
  71. package/dist/packages/firestore/test/util/api_helpers.d.ts +1 -1
  72. package/dist/packages/firestore/test/util/helpers.d.ts +4 -6
  73. package/dist/private.d.ts +8 -8
  74. package/package.json +4 -7
  75. package/dist/firestore/compat/api/blob.d.ts +0 -29
  76. package/dist/firestore/compat/api/database.d.ts +0 -228
  77. package/dist/firestore/compat/api/field_path.d.ts +0 -36
  78. package/dist/firestore/compat/api/field_value.d.ts +0 -29
  79. package/dist/firestore/compat/api/geo_point.d.ts +0 -17
  80. package/dist/firestore/compat/api/observer.d.ts +0 -29
  81. package/dist/firestore/compat/api/timestamp.d.ts +0 -17
  82. package/dist/firestore/compat/config.d.ts +0 -28
  83. package/dist/firestore/compat/index.console.d.ts +0 -42
  84. package/dist/firestore/compat/index.d.ts +0 -49
  85. package/dist/firestore/compat/index.node.d.ts +0 -22
  86. package/dist/firestore/compat/index.rn.d.ts +0 -22
  87. package/dist/firestore/compat/register-module.d.ts +0 -42
  88. package/dist/firestore/compat/util/input_validation.d.ts +0 -18
  89. package/dist/lite/firestore/compat/api/blob.d.ts +0 -29
  90. package/dist/lite/firestore/compat/api/database.d.ts +0 -228
  91. package/dist/lite/firestore/compat/api/field_path.d.ts +0 -36
  92. package/dist/lite/firestore/compat/api/field_value.d.ts +0 -29
  93. package/dist/lite/firestore/compat/api/geo_point.d.ts +0 -17
  94. package/dist/lite/firestore/compat/api/observer.d.ts +0 -29
  95. package/dist/lite/firestore/compat/api/timestamp.d.ts +0 -17
  96. package/dist/lite/firestore/compat/config.d.ts +0 -28
  97. package/dist/lite/firestore/compat/index.console.d.ts +0 -42
  98. package/dist/lite/firestore/compat/index.d.ts +0 -49
  99. package/dist/lite/firestore/compat/index.node.d.ts +0 -22
  100. package/dist/lite/firestore/compat/index.rn.d.ts +0 -22
  101. package/dist/lite/firestore/compat/register-module.d.ts +0 -42
  102. package/dist/lite/firestore/compat/util/input_validation.d.ts +0 -18
  103. package/dist/lite/packages/firestore/compat/api/blob.d.ts +0 -29
  104. package/dist/lite/packages/firestore/compat/api/database.d.ts +0 -228
  105. package/dist/lite/packages/firestore/compat/api/field_path.d.ts +0 -36
  106. package/dist/lite/packages/firestore/compat/api/field_value.d.ts +0 -29
  107. package/dist/lite/packages/firestore/compat/api/geo_point.d.ts +0 -17
  108. package/dist/lite/packages/firestore/compat/api/observer.d.ts +0 -29
  109. package/dist/lite/packages/firestore/compat/api/timestamp.d.ts +0 -17
  110. package/dist/lite/packages/firestore/compat/config.d.ts +0 -28
  111. package/dist/lite/packages/firestore/compat/index.console.d.ts +0 -42
  112. package/dist/lite/packages/firestore/compat/index.d.ts +0 -49
  113. package/dist/lite/packages/firestore/compat/index.node.d.ts +0 -22
  114. package/dist/lite/packages/firestore/compat/index.rn.d.ts +0 -22
  115. package/dist/lite/packages/firestore/compat/register-module.d.ts +0 -42
  116. package/dist/lite/packages/firestore/compat/util/input_validation.d.ts +0 -18
  117. package/dist/lite/src/protos/README.md +0 -2
  118. package/dist/lite/src/protos/firestore/bundle.proto +0 -121
  119. package/dist/lite/src/protos/firestore_bundle_proto.ts +0 -93
  120. package/dist/lite/src/protos/firestore_proto_api.ts +0 -1259
  121. package/dist/lite/src/protos/google/api/annotations.proto +0 -31
  122. package/dist/lite/src/protos/google/api/http.proto +0 -370
  123. package/dist/lite/src/protos/google/firestore/v1/common.proto +0 -84
  124. package/dist/lite/src/protos/google/firestore/v1/document.proto +0 -151
  125. package/dist/lite/src/protos/google/firestore/v1/firestore.proto +0 -761
  126. package/dist/lite/src/protos/google/firestore/v1/query.proto +0 -302
  127. package/dist/lite/src/protos/google/firestore/v1/write.proto +0 -264
  128. package/dist/lite/src/protos/google/protobuf/any.proto +0 -155
  129. package/dist/lite/src/protos/google/protobuf/descriptor.proto +0 -882
  130. package/dist/lite/src/protos/google/protobuf/empty.proto +0 -52
  131. package/dist/lite/src/protos/google/protobuf/struct.proto +0 -96
  132. package/dist/lite/src/protos/google/protobuf/timestamp.proto +0 -137
  133. package/dist/lite/src/protos/google/protobuf/wrappers.proto +0 -123
  134. package/dist/lite/src/protos/google/rpc/status.proto +0 -92
  135. package/dist/lite/src/protos/google/type/latlng.proto +0 -71
  136. package/dist/lite/src/protos/update.sh +0 -61
  137. package/dist/packages/firestore/compat/api/blob.d.ts +0 -29
  138. package/dist/packages/firestore/compat/api/database.d.ts +0 -228
  139. package/dist/packages/firestore/compat/api/field_path.d.ts +0 -36
  140. package/dist/packages/firestore/compat/api/field_value.d.ts +0 -29
  141. package/dist/packages/firestore/compat/api/geo_point.d.ts +0 -17
  142. package/dist/packages/firestore/compat/api/observer.d.ts +0 -29
  143. package/dist/packages/firestore/compat/api/timestamp.d.ts +0 -17
  144. package/dist/packages/firestore/compat/config.d.ts +0 -28
  145. package/dist/packages/firestore/compat/index.console.d.ts +0 -42
  146. package/dist/packages/firestore/compat/index.d.ts +0 -49
  147. package/dist/packages/firestore/compat/index.node.d.ts +0 -22
  148. package/dist/packages/firestore/compat/index.rn.d.ts +0 -22
  149. package/dist/packages/firestore/compat/register-module.d.ts +0 -42
  150. package/dist/packages/firestore/compat/util/input_validation.d.ts +0 -18
  151. package/dist/src/protos/README.md +0 -2
  152. package/dist/src/protos/firestore/bundle.proto +0 -121
  153. package/dist/src/protos/firestore_bundle_proto.ts +0 -93
  154. package/dist/src/protos/firestore_proto_api.ts +0 -1259
  155. package/dist/src/protos/google/api/annotations.proto +0 -31
  156. package/dist/src/protos/google/api/http.proto +0 -370
  157. package/dist/src/protos/google/firestore/v1/common.proto +0 -84
  158. package/dist/src/protos/google/firestore/v1/document.proto +0 -151
  159. package/dist/src/protos/google/firestore/v1/firestore.proto +0 -761
  160. package/dist/src/protos/google/firestore/v1/query.proto +0 -302
  161. package/dist/src/protos/google/firestore/v1/write.proto +0 -264
  162. package/dist/src/protos/google/protobuf/any.proto +0 -155
  163. package/dist/src/protos/google/protobuf/descriptor.proto +0 -882
  164. package/dist/src/protos/google/protobuf/empty.proto +0 -52
  165. package/dist/src/protos/google/protobuf/struct.proto +0 -96
  166. package/dist/src/protos/google/protobuf/timestamp.proto +0 -137
  167. package/dist/src/protos/google/protobuf/wrappers.proto +0 -123
  168. package/dist/src/protos/google/rpc/status.proto +0 -92
  169. package/dist/src/protos/google/type/latlng.proto +0 -71
  170. package/dist/src/protos/update.sh +0 -61
@@ -25,7 +25,7 @@
25
25
  convertGeoPoint(t: any): iu;
26
26
  convertArray(t: any, e: any): any;
27
27
  convertServerTimestamp(t: any, e: any): any;
28
- convertTimestamp(t: any): ct;
28
+ convertTimestamp(t: any): at;
29
29
  convertDocumentKey(t: any, e: any): Dt;
30
30
  }
31
31
  /**
@@ -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 Fc: -1;
102
+ /** DOMException error code constants. */ declare const Ma: -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 Vc extends vc {
106
+ */ declare class Va extends va {
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(): Pc | null;
116
+ */ get parent(): Pa | 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 Pc {
138
+ */ declare class Pa {
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(): Vc;
157
- withConverter(t: any): Pc;
156
+ */ get parent(): Va;
157
+ withConverter(t: any): Pa;
158
158
  }
159
159
  /**
160
160
  * A `DocumentSnapshot` contains data read from a document in your Firestore
@@ -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 Mc extends Rc {
262
- _queue: xc;
261
+ declare class Fa extends Ra {
262
+ _queue: xa;
263
263
  }
264
- /** An error returned by a Firestore operation. */ declare class Q extends c {
264
+ /** An error returned by a Firestore operation. */ declare class Q extends a {
265
265
  /** @hideconstructor */
266
266
  constructor(t: any, e: any);
267
267
  }
@@ -318,7 +318,7 @@ declare class Mc extends Rc {
318
318
  * with an underscore.
319
319
  */ _compareTo(t: any): 0 | 1 | -1;
320
320
  }
321
- declare class Oc {
321
+ declare class Oa {
322
322
  _progressObserver: {};
323
323
  _taskCompletionResolver: W;
324
324
  _lastProgress: {
@@ -370,7 +370,7 @@ declare class Oc {
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 vc {
373
+ */ declare class va {
374
374
  /** @hideconstructor protected */
375
375
  constructor(t: any, e: any, n: any);
376
376
  converter: any;
@@ -378,7 +378,7 @@ declare class Oc {
378
378
  /** The type of this Firestore reference. */
379
379
  type: string;
380
380
  firestore: any;
381
- withConverter(t: any): vc;
381
+ withConverter(t: any): va;
382
382
  }
383
383
  /**
384
384
  * A `QueryConstraint` is used to narrow the set of documents returned by a
@@ -407,7 +407,7 @@ declare class Oc {
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 Fu {
410
+ */ declare class Mu {
411
411
  /** @hideconstructor */
412
412
  constructor(t: any, e: any, n: any, s: any);
413
413
  _firestore: any;
@@ -497,19 +497,19 @@ declare class Oc {
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 ct {
500
+ declare class at {
501
501
  /**
502
502
  * Creates a new timestamp with the current date, with millisecond precision.
503
503
  *
504
504
  * @returns a new timestamp representing the current date.
505
- */ static now(): ct;
505
+ */ static now(): at;
506
506
  /**
507
507
  * Creates a new timestamp from the given date.
508
508
  *
509
509
  * @param date - The date to initialize the `Timestamp` from.
510
510
  * @returns A new `Timestamp` representing the same point in time as the given
511
511
  * date.
512
- */ static fromDate(t: any): ct;
512
+ */ static fromDate(t: any): at;
513
513
  /**
514
514
  * Creates a new timestamp from the given number of milliseconds.
515
515
  *
@@ -517,7 +517,7 @@ declare class ct {
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): ct;
520
+ */ static fromMillis(t: any): at;
521
521
  /**
522
522
  * Creates a new timestamp.
523
523
  *
@@ -667,7 +667,7 @@ declare const Ph_base: {
667
667
  * Represents the database ID a Firestore client is associated with.
668
668
  * @internal
669
669
  */
670
- declare class wc {
670
+ declare class wa {
671
671
  constructor(t: any, e: any);
672
672
  projectId: any;
673
673
  database: any;
@@ -756,7 +756,7 @@ declare class wc {
756
756
  * Returns true if this field references the key of a document.
757
757
  */ isKeyField(): boolean;
758
758
  }
759
- declare function Ec(t: any, e: any): any;
759
+ declare function Ea(t: any, e: any): any;
760
760
  /**
761
761
  * Fails if the given assertion condition is false, throwing an Error with the
762
762
  * given message if it did.
@@ -788,11 +788,11 @@ declare function Ec(t: any, e: any): any;
788
788
  declare function yt(): boolean;
789
789
  /**
790
790
  * @internal
791
- */ declare function M(t: any, ...e: any[]): void;
791
+ */ declare function F(t: any, ...e: any[]): void;
792
792
  /**
793
793
  * Validates that two boolean options are not set at the same time.
794
794
  * @internal
795
- */ declare function gc(t: any, e: any, n: any, s: any): void;
795
+ */ declare function ga(t: any, e: any, n: any, s: any): void;
796
796
  /**
797
797
  * Add a new document to specified `CollectionReference` with the given data,
798
798
  * assigning it a document ID automatically.
@@ -802,7 +802,7 @@ declare function yt(): boolean;
802
802
  * @returns A `Promise` resolved with a `DocumentReference` pointing to the
803
803
  * newly created document after it has been written to the backend (Note that it
804
804
  * won't resolve while you're offline).
805
- */ declare function Eh(t: any, e: any): Promise<Pc>;
805
+ */ declare function Eh(t: any, e: any): Promise<Pa>;
806
806
  /**
807
807
  * Returns a special value that can be used with {@link (setDoc:1)} or {@link
808
808
  * updateDoc:1} that tells the server to remove the given elements from any
@@ -826,8 +826,8 @@ declare function yt(): boolean;
826
826
  * @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
827
827
  * `updateDoc()`.
828
828
  */ declare function Dh(...t: any[]): mu;
829
- declare function Wc(t: any): Promise<any>;
830
- declare function Sc(t: any, e: any, ...n: any[]): Vc;
829
+ declare function Wa(t: any): Promise<any>;
830
+ declare function Sa(t: any, e: any, ...n: any[]): Va;
831
831
  /**
832
832
  * Creates and returns a new `Query` instance that includes all documents in the
833
833
  * database that are contained in a collection or subcollection with the
@@ -838,8 +838,8 @@ declare function Sc(t: any, e: any, ...n: any[]): Vc;
838
838
  * collection or subcollection with this ID as the last segment of its path
839
839
  * will be included. Cannot contain a slash.
840
840
  * @returns The created `Query`.
841
- */ declare function Dc(t: any, e: any): vc;
842
- declare function bc(t: any, e: any, n: any, s?: {}): void;
841
+ */ declare function Da(t: any, e: any): va;
842
+ declare function ba(t: any, e: any, n: any, s?: {}): void;
843
843
  /**
844
844
  * Deletes the document referred to by the specified `DocumentReference`.
845
845
  *
@@ -874,8 +874,8 @@ declare function bc(t: any, e: any, n: any, s?: {}): void;
874
874
  * operations will be queued until the network is restored.
875
875
  *
876
876
  * @returns A `Promise` that is resolved once the network has been disabled.
877
- */ declare function Hc(t: any): any;
878
- declare function Cc(t: any, e: any, ...n: any[]): Pc;
877
+ */ declare function Ha(t: any): any;
878
+ declare function Ca(t: any, e: any, ...n: any[]): Pa;
879
879
  /**
880
880
  * Returns a special sentinel `FieldPath` to refer to the ID of a document.
881
881
  * It can be used in queries to sort or filter by the document ID.
@@ -902,7 +902,7 @@ declare function Cc(t: any, e: any, ...n: any[]): Pc;
902
902
  * @param persistenceSettings - Optional settings object to configure
903
903
  * persistence.
904
904
  * @returns A `Promise` that represents successfully enabling persistent storage.
905
- */ declare function Kc(t: any, e: any): any;
905
+ */ declare function Ka(t: any, e: any): any;
906
906
  /**
907
907
  * Attempts to enable multi-tab persistent storage, if possible. If enabled
908
908
  * across all tabs, all operations share access to local persistence, including
@@ -924,18 +924,18 @@ declare function Cc(t: any, e: any, ...n: any[]): Pc;
924
924
  * @param firestore - The {@link Firestore} instance to enable persistence for.
925
925
  * @returns A `Promise` that represents successfully enabling persistent
926
926
  * storage.
927
- */ declare function jc(t: any): any;
927
+ */ declare function ja(t: any): any;
928
928
  /**
929
929
  * Re-enables use of the network for this {@link Firestore} instance after a prior
930
930
  * call to {@link disableNetwork}.
931
931
  *
932
932
  * @returns A `Promise` that is resolved once the network has been enabled.
933
- */ declare function zc(t: any): any;
933
+ */ declare function za(t: any): any;
934
934
  declare function eh(...t: any[]): Zu;
935
935
  declare function th(...t: any[]): Zu;
936
936
  /**
937
937
  * @internal
938
- */ declare function Uc(t: any): any;
938
+ */ declare function Ua(t: any): any;
939
939
  /**
940
940
  * Locally writes `mutations` on the async queue.
941
941
  * @internal
@@ -1015,19 +1015,19 @@ declare function lh(t: any): Promise<$u>;
1015
1015
  * invoke {@link getDocsFromCache} or {@link getDocsFromServer}.
1016
1016
  *
1017
1017
  * @returns A `Promise` that will be resolved with the results of the query.
1018
- */ declare function _h(t: any): Promise<Fu>;
1018
+ */ declare function _h(t: any): Promise<Mu>;
1019
1019
  /**
1020
1020
  * Executes the query and returns the results as a `QuerySnapshot` from cache.
1021
1021
  * Returns an error if the document is not currently cached.
1022
1022
  *
1023
1023
  * @returns A `Promise` that will be resolved with the results of the query.
1024
- */ declare function mh(t: any): Promise<Fu>;
1024
+ */ declare function mh(t: any): Promise<Mu>;
1025
1025
  /**
1026
1026
  * Executes the query and returns the results as a `QuerySnapshot` from the
1027
1027
  * server. Returns an error if the network is not available.
1028
1028
  *
1029
1029
  * @returns A `Promise` that will be resolved with the results of the query.
1030
- */ declare function gh(t: any): Promise<Fu>;
1030
+ */ declare function gh(t: any): Promise<Mu>;
1031
1031
  /**
1032
1032
  * Returns the existing {@link Firestore} instance that is associated with the
1033
1033
  * provided {@link @firebase/app#FirebaseApp}. If no instance exists, initializes a new
@@ -1036,7 +1036,7 @@ declare function lh(t: any): Promise<$u>;
1036
1036
  * @param app - The {@link @firebase/app#FirebaseApp} instance that the returned {@link Firestore}
1037
1037
  * instance is associated with.
1038
1038
  * @returns The {@link Firestore} instance of the provided app.
1039
- */ declare function Bc(e?: import("@firebase/app").FirebaseApp): import("../src").Firestore;
1039
+ */ declare function Ba(e?: import("@firebase/app").FirebaseApp): import("../src").Firestore;
1040
1040
  /**
1041
1041
  * Returns a special value that can be used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link
1042
1042
  * @firebase/firestore/lite#(updateDoc:1)} that tells the server to increment the field's current value by
@@ -1066,7 +1066,7 @@ declare function lh(t: any): Promise<$u>;
1066
1066
  * be associated.
1067
1067
  * @param settings - A settings object to configure the {@link Firestore} instance.
1068
1068
  * @returns A newly initialized {@link Firestore} instance.
1069
- */ declare function Lc(t: any, e: any): import("../src").Firestore;
1069
+ */ declare function La(t: any, e: any): import("../src").Firestore;
1070
1070
  /**
1071
1071
  * Creates a {@link QueryConstraint} that only returns the first matching documents.
1072
1072
  *
@@ -1092,14 +1092,14 @@ declare function lh(t: any): Promise<$u>;
1092
1092
  * @returns
1093
1093
  * A `LoadBundleTask` object, which notifies callers with progress updates, and completion
1094
1094
  * or error events. It can be used as a `Promise<LoadBundleTaskProgress>`.
1095
- */ declare function Yc(t: any, e: any): Oc;
1095
+ */ declare function Ya(t: any, e: any): Oa;
1096
1096
  /**
1097
1097
  * Reads a Firestore {@link Query} from local cache, identified by the given name.
1098
1098
  *
1099
1099
  * The named queries are packaged into bundles on the server side (along
1100
1100
  * with resulting documents), and loaded to local cache using `loadBundle`. Once in local
1101
1101
  * cache, use this method to extract a {@link Query} by name.
1102
- */ declare function Xc(t: any, e: any): any;
1102
+ */ declare function Xa(t: any, e: any): any;
1103
1103
  declare function Ih(t: any, ...e: any[]): () => void;
1104
1104
  declare function Ah(t: any, e: any): () => void;
1105
1105
  /**
@@ -1128,7 +1128,7 @@ declare function Ah(t: any, e: any): () => void;
1128
1128
  * @param right - A `Query` to compare.
1129
1129
  * @returns true if the references point to the same location in the same
1130
1130
  * Firestore database.
1131
- */ declare function kc(t: any, e: any): boolean;
1131
+ */ declare function ka(t: any, e: any): boolean;
1132
1132
  /**
1133
1133
  * Returns true if the provided references are equal.
1134
1134
  *
@@ -1136,7 +1136,7 @@ declare function Ah(t: any, e: any): () => void;
1136
1136
  * @param right - A reference to compare.
1137
1137
  * @returns true if the references point to the same location in the same
1138
1138
  * Firestore database.
1139
- */ declare function Nc(t: any, e: any): boolean;
1139
+ */ declare function Na(t: any, e: any): boolean;
1140
1140
  /**
1141
1141
  * Executes the given `updateFunction` and then attempts to commit the changes
1142
1142
  * applied within the transaction. If any document read within the transaction
@@ -1202,7 +1202,7 @@ declare function Yu(...t: any[]): Ju;
1202
1202
  *
1203
1203
  * @returns A `Promise` that is resolved when the instance has been successfully
1204
1204
  * terminated.
1205
- */ declare function Jc(t: any): any;
1205
+ */ declare function Ja(t: any): any;
1206
1206
  declare function ph(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1207
1207
  /**
1208
1208
  * Waits until all currently pending writes for the active user have been
@@ -1219,7 +1219,7 @@ declare function ph(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1219
1219
  *
1220
1220
  * @returns A `Promise` which resolves when all currently pending writes have been
1221
1221
  * acknowledged by the backend.
1222
- */ declare function Gc(t: any): Promise<any>;
1222
+ */ declare function Ga(t: any): Promise<any>;
1223
1223
  /**
1224
1224
  * Creates a {@link QueryConstraint} that enforces that documents must contain the
1225
1225
  * specified field and that the value should satisfy the relation constraint
@@ -1293,7 +1293,7 @@ declare function ph(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1293
1293
  /** Property of the `DocumentSnapshot` that provides the document's ID. */ get id(): any;
1294
1294
  /**
1295
1295
  * The `DocumentReference` for the document included in the `DocumentSnapshot`.
1296
- */ get ref(): Pc;
1296
+ */ get ref(): Pa;
1297
1297
  /**
1298
1298
  * Signals whether or not the document at the snapshot's location exists.
1299
1299
  *
@@ -1337,7 +1337,7 @@ declare function ph(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1337
1337
  * The Cloud Firestore service interface.
1338
1338
  *
1339
1339
  * Do not call this constructor directly. Instead, use {@link getFirestore}.
1340
- */ declare class Rc {
1340
+ */ declare class Ra {
1341
1341
  /** @hideconstructor */
1342
1342
  constructor(t: any, e: any, n: any);
1343
1343
  _authCredentials: any;
@@ -1347,9 +1347,9 @@ declare function ph(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1347
1347
  */
1348
1348
  type: string;
1349
1349
  _persistenceKey: string;
1350
- _settings: Ac;
1350
+ _settings: Aa;
1351
1351
  _settingsFrozen: boolean;
1352
- _databaseId: wc;
1352
+ _databaseId: wa;
1353
1353
  _app: any;
1354
1354
  /**
1355
1355
  * The {@link @firebase/app#FirebaseApp} associated with this `Firestore` service
@@ -1358,14 +1358,14 @@ declare function ph(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1358
1358
  get _initialized(): boolean;
1359
1359
  get _terminated(): boolean;
1360
1360
  _setSettings(t: any): void;
1361
- _getSettings(): Ac;
1362
- _freezeSettings(): Ac;
1361
+ _getSettings(): Aa;
1362
+ _freezeSettings(): Aa;
1363
1363
  _delete(): Promise<void>;
1364
1364
  _terminateTask: Promise<void> | undefined;
1365
1365
  /** Returns a JSON-serializable representation of this `Firestore` instance. */ toJSON(): {
1366
1366
  app: any;
1367
- databaseId: wc;
1368
- settings: Ac;
1367
+ databaseId: wa;
1368
+ settings: Aa;
1369
1369
  };
1370
1370
  /**
1371
1371
  * Terminates all components used by this client. Subclasses can override
@@ -1390,17 +1390,17 @@ declare function ph(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1390
1390
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1391
1391
  * See the License for the specific language governing permissions and
1392
1392
  * limitations under the License.
1393
- */ declare class xc {
1394
- ma: Promise<void>;
1395
- ga: any[];
1396
- ya: boolean;
1397
- pa: any[];
1398
- Ta: any;
1399
- Ea: boolean;
1400
- Ia: boolean;
1401
- Aa: any[];
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
1402
  ur: no;
1403
- Ra: () => void;
1403
+ bc: () => void;
1404
1404
  get isShuttingDown(): boolean;
1405
1405
  /**
1406
1406
  * Adds a new operation to the queue without waiting for it to complete (i.e.
@@ -1413,32 +1413,32 @@ declare function ph(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1413
1413
  /**
1414
1414
  * Runs the next operation from the retryable queue. If the operation fails,
1415
1415
  * reschedules with backoff.
1416
- */ va(): Promise<void>;
1417
- Pa(t: any): Promise<any>;
1418
- enqueueAfterDelay(t: any, e: any, n: any): Fo;
1419
- ba(): void;
1416
+ */ Vc(): Promise<void>;
1417
+ vc(t: any): Promise<any>;
1418
+ enqueueAfterDelay(t: any, e: any, n: any): Mo;
1419
+ Pc(): void;
1420
1420
  verifyOperationInProgress(): void;
1421
1421
  /**
1422
1422
  * Waits until all currently queued tasks are finished executing. Delayed
1423
1423
  * operations are not run.
1424
- */ Sa(): Promise<void>;
1424
+ */ Dc(): Promise<void>;
1425
1425
  /**
1426
1426
  * For Tests: Determine if a delayed operation with a particular TimerId
1427
1427
  * exists.
1428
- */ Da(t: any): boolean;
1428
+ */ Cc(t: any): boolean;
1429
1429
  /**
1430
1430
  * For Tests: Runs some or all delayed operations early.
1431
1431
  *
1432
1432
  * @param lastTimerId - Delayed operations up to and including this TimerId
1433
1433
  * will be drained. Pass TimerId.All to run all delayed operations.
1434
1434
  * @returns a Promise that resolves once all operations have been run.
1435
- */ Ca(t: any): Promise<void>;
1435
+ */ Nc(t: any): Promise<void>;
1436
1436
  /**
1437
1437
  * For Tests: Skip all subsequent delays for a timer id.
1438
- */ Na(t: any): void;
1439
- /** Called once a DelayedOperation is run or canceled. */ Va(t: any): void;
1438
+ */ kc(t: any): void;
1439
+ /** Called once a DelayedOperation is run or canceled. */ Sc(t: any): void;
1440
1440
  }
1441
- import { FirebaseError as c } from "@firebase/util/dist/src/errors";
1441
+ import { FirebaseError as a } from "@firebase/util/dist/src/errors";
1442
1442
  /**
1443
1443
  * @license
1444
1444
  * Copyright 2017 Google LLC
@@ -1467,7 +1467,7 @@ import { FirebaseError as c } from "@firebase/util/dist/src/errors";
1467
1467
  databaseId: any;
1468
1468
  ignoreUndefinedProperties: any;
1469
1469
  k: any;
1470
- /** Creates a new top-level parse context. */ ja(t: any, e: any, n: any, s?: boolean): uu;
1470
+ /** Creates a new top-level parse context. */ Qc(t: any, e: any, n: any, s?: boolean): uu;
1471
1471
  }
1472
1472
  declare class Z {
1473
1473
  constructor(t: any);
@@ -1517,13 +1517,13 @@ declare class dt {
1517
1517
  }
1518
1518
  declare class gu extends su {
1519
1519
  constructor(t: any, e: any);
1520
- Qa: any;
1520
+ Wc: any;
1521
1521
  _toFieldTransform(t: any): ze;
1522
1522
  isEqual(t: any): boolean;
1523
1523
  }
1524
1524
  declare class mu extends su {
1525
1525
  constructor(t: any, e: any);
1526
- Qa: any;
1526
+ Wc: any;
1527
1527
  _toFieldTransform(t: any): ze;
1528
1528
  isEqual(t: any): boolean;
1529
1529
  }
@@ -1534,29 +1534,29 @@ declare class du extends su {
1534
1534
  declare class Zu extends Uu {
1535
1535
  constructor(t: any, e: any, n: any);
1536
1536
  type: any;
1537
- Za: any;
1538
- tc: any;
1539
- _apply(t: any): vc;
1537
+ ta: any;
1538
+ ea: any;
1539
+ _apply(t: any): va;
1540
1540
  }
1541
1541
  declare class yu extends su {
1542
1542
  constructor(t: any, e: any);
1543
- Wa: any;
1543
+ Gc: any;
1544
1544
  _toFieldTransform(t: any): ze;
1545
1545
  isEqual(t: any): boolean;
1546
1546
  }
1547
1547
  declare class Gu extends Uu {
1548
1548
  constructor(t: any, e: any, n: any);
1549
1549
  type: any;
1550
- Ya: any;
1551
- Xa: any;
1552
- _apply(t: any): vc;
1550
+ Xc: any;
1551
+ Zc: any;
1552
+ _apply(t: any): va;
1553
1553
  }
1554
1554
  declare class Qu extends Uu {
1555
1555
  constructor(t: any, e: any);
1556
- Ga: any;
1557
- Ja: any;
1556
+ zc: any;
1557
+ Yc: any;
1558
1558
  type: string;
1559
- _apply(t: any): vc;
1559
+ _apply(t: any): va;
1560
1560
  }
1561
1561
  declare class _u extends su {
1562
1562
  _toFieldTransform(t: any): ze;
@@ -1565,17 +1565,17 @@ declare class _u extends su {
1565
1565
  declare class Ju extends Uu {
1566
1566
  constructor(t: any, e: any, n: any);
1567
1567
  type: any;
1568
- Za: any;
1569
- tc: any;
1570
- _apply(t: any): vc;
1568
+ ta: any;
1569
+ ea: any;
1570
+ _apply(t: any): va;
1571
1571
  }
1572
1572
  declare class Ku extends Uu {
1573
1573
  constructor(t: any, e: any, n: any);
1574
- Ga: any;
1575
- za: any;
1576
- Ha: any;
1574
+ zc: any;
1575
+ Hc: any;
1576
+ Jc: any;
1577
1577
  type: string;
1578
- _apply(t: any): vc;
1578
+ _apply(t: any): va;
1579
1579
  }
1580
1580
  /**
1581
1581
  * @license
@@ -1598,7 +1598,7 @@ declare class Ku extends Uu {
1598
1598
  * user-supplied `FirestoreSettings` object. This is a separate type so that
1599
1599
  * defaults can be supplied and the value can be checked for equality.
1600
1600
  */
1601
- declare class Ac {
1601
+ declare class Aa {
1602
1602
  constructor(t: any);
1603
1603
  host: any;
1604
1604
  ssl: any;
@@ -1624,7 +1624,7 @@ declare class Ac {
1624
1624
  */
1625
1625
  declare class no {
1626
1626
  constructor(t: any, e: any, n?: number, s?: number, i?: number);
1627
- Fe: any;
1627
+ Me: any;
1628
1628
  timerId: any;
1629
1629
  Wi: number;
1630
1630
  Gi: number;
@@ -1680,7 +1680,7 @@ declare class no {
1680
1680
  * in newer versions of TypeScript defines `finally`, which is not available in
1681
1681
  * IE.
1682
1682
  */
1683
- declare class Fo {
1683
+ declare class Mo {
1684
1684
  /**
1685
1685
  * Creates and returns a DelayedOperation that has been scheduled to be
1686
1686
  * executed on the provided asyncQueue after the provided delayMs.
@@ -1694,7 +1694,7 @@ declare class Fo {
1694
1694
  * from its delayedOperations list.
1695
1695
  * PORTING NOTE: This exists to prevent making removeDelayedOperation() and
1696
1696
  * the DelayedOperation class public.
1697
- */ static createAndSchedule(t: any, e: any, n: any, s: any, i: any): Fo;
1697
+ */ static createAndSchedule(t: any, e: any, n: any, s: any, i: any): Mo;
1698
1698
  constructor(t: any, e: any, n: any, s: any, i: any);
1699
1699
  asyncQueue: any;
1700
1700
  timerId: any;
@@ -1749,15 +1749,15 @@ declare class Fo {
1749
1749
  fieldTransforms: any;
1750
1750
  fieldMask: any;
1751
1751
  get path(): any;
1752
- get xa(): any;
1753
- /** Returns a new context with the specified settings overwritten. */ $a(t: any): uu;
1754
- Oa(t: any): uu;
1755
- La(t: any): uu;
1756
- Ba(t: any): uu;
1757
- Ua(t: any): Q;
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;
1758
1758
  /** Returns 'true' if 'fieldPath' was traversed when creating this context. */ contains(t: any): boolean;
1759
- ka(): void;
1760
- Ma(t: any): void;
1759
+ xc(): void;
1760
+ Lc(t: any): void;
1761
1761
  }
1762
1762
  /**
1763
1763
  * @license
@@ -1780,4 +1780,4 @@ declare class Fo {
1780
1780
  field: any;
1781
1781
  transform: any;
1782
1782
  }
1783
- export { oh as AbstractUserDataWriter, nu as Bytes, Fc as CACHE_SIZE_UNLIMITED, Vc as CollectionReference, Pc as DocumentReference, $u as DocumentSnapshot, tu as FieldPath, su as FieldValue, Mc as Firestore, Q as FirestoreError, iu as GeoPoint, Oc as LoadBundleTask, vc as Query, Uu as QueryConstraint, Ou as QueryDocumentSnapshot, Fu as QuerySnapshot, xu as SnapshotMetadata, ct as Timestamp, Ph as Transaction, uh as WriteBatch, wc as _DatabaseId, Dt as _DocumentKey, et as _EmptyAppCheckTokenProvider, z as _EmptyAuthCredentialsProvider, mt as _FieldPath, Ec as _cast, q as _debugAssert, yt as _isBase64Available, M as _logWarn, gc as _validateIsNotUsedTogether, Eh as addDoc, Ch as arrayRemove, Dh as arrayUnion, Wc as clearIndexedDbPersistence, Sc as collection, Dc as collectionGroup, bc as connectFirestoreEmulator, Th as deleteDoc, Vh as deleteField, Hc as disableNetwork, Cc as doc, eu as documentId, Kc as enableIndexedDbPersistence, jc as enableMultiTabIndexedDbPersistence, zc as enableNetwork, eh as endAt, th as endBefore, Uc as ensureFirestoreConfigured, Rh as executeWrite, lh as getDoc, dh as getDocFromCache, wh as getDocFromServer, _h as getDocs, mh as getDocsFromCache, gh as getDocsFromServer, Bc as getFirestore, Nh as increment, Lc as initializeFirestore, zu as limit, Hu as limitToLast, Yc as loadBundle, Xc as namedQuery, Ih as onSnapshot, Ah as onSnapshotsInSync, Wu as orderBy, qu as query, kc as queryEqual, Nc as refEqual, vh as runTransaction, Sh as serverTimestamp, yh as setDoc, $ as setLogLevel, Lu as snapshotEqual, Xu as startAfter, Yu as startAt, Jc as terminate, ph as updateDoc, Gc as waitForPendingWrites, ju as where, kh as writeBatch };
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 };
@@ -42,12 +42,12 @@ import { SnapshotListenOptions } from './reference_impl';
42
42
  * }
43
43
  *
44
44
  * const postConverter = {
45
- * toFirestore(post: WithFieldValue<Post>): firebase.firestore.DocumentData {
45
+ * toFirestore(post: WithFieldValue<Post>): DocumentData {
46
46
  * return {title: post.title, author: post.author};
47
47
  * },
48
48
  * fromFirestore(
49
- * snapshot: firebase.firestore.QueryDocumentSnapshot,
50
- * options: firebase.firestore.SnapshotOptions
49
+ * snapshot: QueryDocumentSnapshot,
50
+ * options: SnapshotOptions
51
51
  * ): Post {
52
52
  * const data = snapshot.data(options)!;
53
53
  * return new Post(data.title, data.author);
@@ -206,7 +206,7 @@ export declare class DocumentSnapshot<T = DocumentData> extends LiteDocumentSnap
206
206
  * Retrieves all fields in the document as an `Object`. Returns `undefined` if
207
207
  * the document doesn't exist.
208
208
  *
209
- * By default, `FieldValue.serverTimestamp()` values that have not yet been
209
+ * By default, `serverTimestamp()` values that have not yet been
210
210
  * set to their final value will be returned as `null`. You can override
211
211
  * this by passing an options object.
212
212
  *
@@ -221,7 +221,7 @@ export declare class DocumentSnapshot<T = DocumentData> extends LiteDocumentSnap
221
221
  * Retrieves the field specified by `fieldPath`. Returns `undefined` if the
222
222
  * document or field doesn't exist.
223
223
  *
224
- * By default, a `FieldValue.serverTimestamp()` that has not yet been set to
224
+ * By default, a `serverTimestamp()` that has not yet been set to
225
225
  * its final value will be returned as `null`. You can override this by
226
226
  * passing an options object.
227
227
  *
@@ -250,7 +250,7 @@ export declare class QueryDocumentSnapshot<T = DocumentData> extends DocumentSna
250
250
  /**
251
251
  * Retrieves all fields in the document as an `Object`.
252
252
  *
253
- * By default, `FieldValue.serverTimestamp()` values that have not yet been
253
+ * By default, `serverTimestamp()` values that have not yet been
254
254
  * set to their final value will be returned as `null`. You can override
255
255
  * this by passing an options object.
256
256
  *
@@ -41,10 +41,10 @@ import { AbstractUserDataWriter } from './user_data_writer';
41
41
  * }
42
42
  *
43
43
  * const postConverter = {
44
- * toFirestore(post: WithFieldValue<Post>): firebase.firestore.DocumentData {
44
+ * toFirestore(post: WithFieldValue<Post>): DocumentData {
45
45
  * return {title: post.title, author: post.author};
46
46
  * },
47
- * fromFirestore(snapshot: firebase.firestore.QueryDocumentSnapshot): Post {
47
+ * fromFirestore(snapshot: QueryDocumentSnapshot): Post {
48
48
  * const data = snapshot.data(options)!;
49
49
  * return new Post(data.title, data.author);
50
50
  * }
@@ -15,4 +15,3 @@
15
15
  * limitations under the License.
16
16
  */
17
17
  import '../../src/index';
18
- import '../../compat/index';