@firebase/firestore 3.8.3-canary.d5d78cbcf → 3.8.3-canary.e2bf2eca2

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.
@@ -33,7 +33,7 @@
33
33
  /**
34
34
  * Represents an aggregation that can be performed by Firestore.
35
35
  */
36
- declare class Vn {
36
+ declare class Dn {
37
37
  /**
38
38
  * Create a new AggregateField<T>
39
39
  * @param _aggregateType Specifies the type of aggregation operation to perform.
@@ -48,7 +48,7 @@ declare class Vn {
48
48
  }
49
49
  /**
50
50
  * The results of executing an aggregation query.
51
- */ declare class $n {
51
+ */ declare class Nn {
52
52
  /** @hideconstructor */
53
53
  constructor(t: any, e: any, n: any);
54
54
  _userDataWriter: any;
@@ -86,18 +86,18 @@ declare class Vn {
86
86
  */
87
87
  /**
88
88
  * An immutable object representing an array of bytes.
89
- */ declare class Cn {
89
+ */ declare class Mn {
90
90
  /**
91
91
  * Creates a new `Bytes` object from the given Base64 string, converting it to
92
92
  * bytes.
93
93
  *
94
94
  * @param base64 - The Base64 string used to create the `Bytes` object.
95
- */ static fromBase64String(t: any): Cn;
95
+ */ static fromBase64String(t: any): Mn;
96
96
  /**
97
97
  * Creates a new `Bytes` object from the given Uint8Array.
98
98
  *
99
99
  * @param array - The Uint8Array used to create the `Bytes` object.
100
- */ static fromUint8Array(t: any): Cn;
100
+ */ static fromUint8Array(t: any): Mn;
101
101
  /** @hideconstructor */
102
102
  constructor(t: any);
103
103
  _byteString: any;
@@ -126,7 +126,7 @@ declare class Vn {
126
126
  /**
127
127
  * A `CollectionReference` object can be used for adding documents, getting
128
128
  * document references, and querying for documents (using {@link query}).
129
- */ declare class Fn extends Nn {
129
+ */ declare class Sn extends xn {
130
130
  _path: any;
131
131
  /** The collection's identifier. */ get id(): any;
132
132
  /**
@@ -136,8 +136,8 @@ declare class Vn {
136
136
  /**
137
137
  * A reference to the containing `DocumentReference` if this is a
138
138
  * subcollection. If this isn't a subcollection, the reference is null.
139
- */ get parent(): Dn | null;
140
- withConverter(t: any): Fn;
139
+ */ get parent(): Fn | null;
140
+ withConverter(t: any): Sn;
141
141
  }
142
142
  /**
143
143
  * @license
@@ -159,7 +159,7 @@ declare class Vn {
159
159
  * A `DocumentReference` refers to a document location in a Firestore database
160
160
  * and can be used to write, read, or listen to the location. The document at
161
161
  * the referenced location may or may not exist.
162
- */ declare class Dn {
162
+ */ declare class Fn {
163
163
  /** @hideconstructor */
164
164
  constructor(t: any, e: any, n: any);
165
165
  converter: any;
@@ -177,8 +177,8 @@ declare class Vn {
177
177
  */ get path(): any;
178
178
  /**
179
179
  * The collection this `DocumentReference` belongs to.
180
- */ get parent(): Fn;
181
- withConverter(t: any): Dn;
180
+ */ get parent(): Sn;
181
+ withConverter(t: any): Fn;
182
182
  }
183
183
  /**
184
184
  * @license
@@ -204,7 +204,7 @@ declare class Vn {
204
204
  * For a `DocumentSnapshot` that points to a non-existing document, any data
205
205
  * access will return 'undefined'. You can use the `exists()` method to
206
206
  * explicitly verify a document's existence.
207
- */ declare class mr {
207
+ */ declare class yr {
208
208
  /** @hideconstructor protected */
209
209
  constructor(t: any, e: any, n: any, r: any, s: any);
210
210
  _firestore: any;
@@ -215,7 +215,7 @@ declare class Vn {
215
215
  /** Property of the `DocumentSnapshot` that provides the document's ID. */ get id(): any;
216
216
  /**
217
217
  * The `DocumentReference` for the document included in the `DocumentSnapshot`.
218
- */ get ref(): Dn;
218
+ */ get ref(): Fn;
219
219
  /**
220
220
  * Signals whether or not the document at the snapshot's location exists.
221
221
  *
@@ -262,7 +262,7 @@ declare class Vn {
262
262
  *
263
263
  * Create a `FieldPath` by providing field names. If more than one field
264
264
  * name is provided, the path will point to a nested field in a document.
265
- */ declare class Ln {
265
+ */ declare class Un {
266
266
  /**
267
267
  * Creates a `FieldPath` from the provided field names. If more than one field
268
268
  * name is provided, the path will point to a nested field in a document.
@@ -297,7 +297,7 @@ declare class Vn {
297
297
  /**
298
298
  * Sentinel values that can be used when writing document fields with `set()`
299
299
  * or `update()`.
300
- */ declare class Un {
300
+ */ declare class Bn {
301
301
  /**
302
302
  * @param _methodName - The public API endpoint that returns this class.
303
303
  * @hideconstructor
@@ -325,7 +325,7 @@ declare class Vn {
325
325
  * The Cloud Firestore service interface.
326
326
  *
327
327
  * Do not call this constructor directly. Instead, use {@link (getFirestore:1)}.
328
- */ declare class An {
328
+ */ declare class Tn {
329
329
  /** @hideconstructor */
330
330
  constructor(t: any, e: any, n: any, r: any);
331
331
  _authCredentials: any;
@@ -337,7 +337,7 @@ declare class Vn {
337
337
  */
338
338
  type: string;
339
339
  _persistenceKey: string;
340
- _settings: En;
340
+ _settings: In;
341
341
  _settingsFrozen: boolean;
342
342
  /**
343
343
  * The {@link @firebase/app#FirebaseApp} associated with this `Firestore` service
@@ -346,14 +346,14 @@ declare class Vn {
346
346
  get _initialized(): boolean;
347
347
  get _terminated(): boolean;
348
348
  _setSettings(t: any): void;
349
- _getSettings(): En;
350
- _freezeSettings(): En;
349
+ _getSettings(): In;
350
+ _freezeSettings(): In;
351
351
  _delete(): Promise<void>;
352
352
  _terminateTask: Promise<void> | undefined;
353
353
  /** Returns a JSON-serializable representation of this `Firestore` instance. */ toJSON(): {
354
354
  app: any;
355
355
  databaseId: any;
356
- settings: En;
356
+ settings: In;
357
357
  };
358
358
  /**
359
359
  * Terminates all components used by this client. Subclasses can override
@@ -391,7 +391,7 @@ declare class Vn {
391
391
  *
392
392
  * Latitude values are in the range of [-90, 90].
393
393
  * Longitude values are in the range of [-180, 180].
394
- */ declare class jn {
394
+ */ declare class zn {
395
395
  /**
396
396
  * Creates a new immutable `GeoPoint` object with the provided latitude and
397
397
  * longitude values.
@@ -425,7 +425,7 @@ declare class Vn {
425
425
  /**
426
426
  * A `Query` refers to a query which you can read or listen to. You can also
427
427
  * construct refined `Query` objects by adding filters and ordering.
428
- */ declare class Nn {
428
+ */ declare class xn {
429
429
  /** @hideconstructor protected */
430
430
  constructor(t: any, e: any, n: any);
431
431
  converter: any;
@@ -433,7 +433,7 @@ declare class Vn {
433
433
  /** The type of this Firestore reference. */
434
434
  type: string;
435
435
  firestore: any;
436
- withConverter(t: any): Nn;
436
+ withConverter(t: any): xn;
437
437
  }
438
438
  /**
439
439
  * A `QueryCompositeFilterConstraint` is used to narrow the set of documents
@@ -443,8 +443,8 @@ declare class Vn {
443
443
  * {@link and} and can then be passed to {@link query} to create a new query
444
444
  * instance that also contains the `QueryCompositeFilterConstraint`.
445
445
  * @internal TODO remove this internal tag with OR Query support in the server
446
- */ declare class Tr extends vr {
447
- static _create(t: any, e: any): Tr;
446
+ */ declare class Pr extends Er {
447
+ static _create(t: any, e: any): Pr;
448
448
  /**
449
449
  * @internal
450
450
  */
@@ -463,7 +463,7 @@ declare class Vn {
463
463
  * endBefore}, {@link endAt}, {@link limit}, {@link limitToLast} and
464
464
  * can then be passed to {@link query} to create a new query instance that
465
465
  * also contains this `QueryConstraint`.
466
- */ declare class br extends vr {
466
+ */ declare class Ar extends Er {
467
467
  }
468
468
  /**
469
469
  * A `QueryDocumentSnapshot` contains data read from a document in your
@@ -475,7 +475,7 @@ declare class Vn {
475
475
  * `DocumentSnapshot`. Since query results contain only existing documents, the
476
476
  * `exists` property will always be true and `data()` will never return
477
477
  * 'undefined'.
478
- */ declare class pr extends mr {
478
+ */ declare class gr extends yr {
479
479
  }
480
480
  /**
481
481
  * A `QueryEndAtConstraint` is used to exclude documents from the end of a
@@ -483,8 +483,8 @@ declare class Vn {
483
483
  * `QueryEndAtConstraint`s are created by invoking {@link (endAt:1)} or
484
484
  * {@link (endBefore:1)} and can then be passed to {@link query} to create a new
485
485
  * query instance that also contains this `QueryEndAtConstraint`.
486
- */ declare class Or extends br {
487
- static _create(t: any, e: any, n: any): Or;
486
+ */ declare class Cr extends Ar {
487
+ static _create(t: any, e: any, n: any): Cr;
488
488
  /**
489
489
  * @internal
490
490
  */
@@ -492,7 +492,7 @@ declare class Vn {
492
492
  type: any;
493
493
  _docOrFields: any;
494
494
  _inclusive: any;
495
- _apply(t: any): Nn;
495
+ _apply(t: any): xn;
496
496
  }
497
497
  /**
498
498
  * A `QueryFieldFilterConstraint` is used to narrow the set of documents returned by
@@ -500,8 +500,8 @@ declare class Vn {
500
500
  * `QueryFieldFilterConstraint`s are created by invoking {@link where} and can then
501
501
  * be passed to {@link query} to create a new query instance that also contains
502
502
  * this `QueryFieldFilterConstraint`.
503
- */ declare class Ar extends br {
504
- static _create(t: any, e: any, n: any): Ar;
503
+ */ declare class Tr extends Ar {
504
+ static _create(t: any, e: any, n: any): Tr;
505
505
  /**
506
506
  * @internal
507
507
  */
@@ -511,8 +511,8 @@ declare class Vn {
511
511
  _value: any;
512
512
  /** The type of this query constraint */
513
513
  type: string;
514
- _apply(t: any): Nn;
515
- _parse(t: any): Zt | ee | ue;
514
+ _apply(t: any): xn;
515
+ _parse(t: any): Xt | re | ae;
516
516
  }
517
517
  /**
518
518
  * A `QueryLimitConstraint` is used to limit the number of documents returned by
@@ -520,8 +520,8 @@ declare class Vn {
520
520
  * `QueryLimitConstraint`s are created by invoking {@link limit} or
521
521
  * {@link limitToLast} and can then be passed to {@link query} to create a new
522
522
  * query instance that also contains this `QueryLimitConstraint`.
523
- */ declare class Dr extends br {
524
- static _create(t: any, e: any, n: any): Dr;
523
+ */ declare class Fr extends Ar {
524
+ static _create(t: any, e: any, n: any): Fr;
525
525
  /**
526
526
  * @internal
527
527
  */
@@ -529,7 +529,7 @@ declare class Vn {
529
529
  type: any;
530
530
  _limit: any;
531
531
  _limitType: any;
532
- _apply(t: any): Nn;
532
+ _apply(t: any): xn;
533
533
  }
534
534
  /**
535
535
  * A `QueryOrderByConstraint` is used to sort the set of documents returned by a
@@ -539,8 +539,8 @@ declare class Vn {
539
539
  *
540
540
  * Note: Documents that do not contain the orderBy field will not be present in
541
541
  * the query result.
542
- */ declare class Vr extends br {
543
- static _create(t: any, e: any): Vr;
542
+ */ declare class Dr extends Ar {
543
+ static _create(t: any, e: any): Dr;
544
544
  /**
545
545
  * @internal
546
546
  */
@@ -549,7 +549,7 @@ declare class Vn {
549
549
  _direction: any;
550
550
  /** The type of this query constraint */
551
551
  type: string;
552
- _apply(t: any): Nn;
552
+ _apply(t: any): xn;
553
553
  }
554
554
  /**
555
555
  * A `QuerySnapshot` contains zero or more `DocumentSnapshot` objects
@@ -557,7 +557,7 @@ declare class Vn {
557
557
  * array via the `docs` property or enumerated using the `forEach` method. The
558
558
  * number of documents can be determined via the `empty` and `size`
559
559
  * properties.
560
- */ declare class yr {
560
+ */ declare class _r {
561
561
  /** @hideconstructor */
562
562
  constructor(t: any, e: any);
563
563
  _docs: any;
@@ -579,8 +579,8 @@ declare class Vn {
579
579
  * `QueryStartAtConstraint`s are created by invoking {@link (startAt:1)} or
580
580
  * {@link (startAfter:1)} and can then be passed to {@link query} to create a
581
581
  * new query instance that also contains this `QueryStartAtConstraint`.
582
- */ declare class xr extends br {
583
- static _create(t: any, e: any, n: any): xr;
582
+ */ declare class qr extends Ar {
583
+ static _create(t: any, e: any, n: any): qr;
584
584
  /**
585
585
  * @internal
586
586
  */
@@ -588,7 +588,7 @@ declare class Vn {
588
588
  type: any;
589
589
  _docOrFields: any;
590
590
  _inclusive: any;
591
- _apply(t: any): Nn;
591
+ _apply(t: any): xn;
592
592
  }
593
593
  /**
594
594
  * @license
@@ -620,19 +620,19 @@ declare class Vn {
620
620
  * For examples and further specifications, refer to the
621
621
  * {@link https://github.com/google/protobuf/blob/master/src/google/protobuf/timestamp.proto | Timestamp definition}.
622
622
  */
623
- declare class Ft {
623
+ declare class St {
624
624
  /**
625
625
  * Creates a new timestamp with the current date, with millisecond precision.
626
626
  *
627
627
  * @returns a new timestamp representing the current date.
628
- */ static now(): Ft;
628
+ */ static now(): St;
629
629
  /**
630
630
  * Creates a new timestamp from the given date.
631
631
  *
632
632
  * @param date - The date to initialize the `Timestamp` from.
633
633
  * @returns A new `Timestamp` representing the same point in time as the given
634
634
  * date.
635
- */ static fromDate(t: any): Ft;
635
+ */ static fromDate(t: any): St;
636
636
  /**
637
637
  * Creates a new timestamp from the given number of milliseconds.
638
638
  *
@@ -640,7 +640,7 @@ declare class Ft {
640
640
  * 1970-01-01T00:00:00Z.
641
641
  * @returns A new `Timestamp` representing the same point in time as the given
642
642
  * number of milliseconds.
643
- */ static fromMillis(t: any): Ft;
643
+ */ static fromMillis(t: any): St;
644
644
  /**
645
645
  * Creates a new timestamp.
646
646
  *
@@ -687,26 +687,26 @@ declare class Ft {
687
687
  * to be compared using the `>`, `<=`, `>=` and `>` operators.
688
688
  */ valueOf(): string;
689
689
  }
690
- declare class vs {
690
+ declare class Es {
691
691
  /** @hideconstructor */
692
692
  constructor(t: any, e: any);
693
693
  _firestore: any;
694
694
  _transaction: any;
695
- _dataReader: Kn;
695
+ _dataReader: Hn;
696
696
  /**
697
697
  * Reads the document referenced by the provided {@link DocumentReference}.
698
698
  *
699
699
  * @param documentRef - A reference to the document to be read.
700
700
  * @returns A `DocumentSnapshot` with the read data.
701
701
  */ get(t: any): any;
702
- set(t: any, e: any, n: any): vs;
703
- update(t: any, e: any, n: any, ...r: any[]): vs;
702
+ set(t: any, e: any, n: any): Es;
703
+ update(t: any, e: any, n: any, ...r: any[]): Es;
704
704
  /**
705
705
  * Deletes the document referred to by the provided {@link DocumentReference}.
706
706
  *
707
707
  * @param documentRef - A reference to the document to be deleted.
708
708
  * @returns This `Transaction` instance. Used for chaining method calls.
709
- */ delete(t: any): vs;
709
+ */ delete(t: any): Es;
710
710
  }
711
711
  /**
712
712
  * @license
@@ -731,22 +731,22 @@ declare class vs {
731
731
  * provides methods for adding writes to the write batch. None of the writes
732
732
  * will be committed (or visible locally) until {@link WriteBatch.commit} is
733
733
  * called.
734
- */ declare class ls {
734
+ */ declare class ds {
735
735
  /** @hideconstructor */
736
736
  constructor(t: any, e: any);
737
737
  _firestore: any;
738
738
  _commitHandler: any;
739
739
  _mutations: any[];
740
740
  _committed: boolean;
741
- _dataReader: Kn;
742
- set(t: any, e: any, n: any): ls;
743
- update(t: any, e: any, n: any, ...r: any[]): ls;
741
+ _dataReader: Hn;
742
+ set(t: any, e: any, n: any): ds;
743
+ update(t: any, e: any, n: any, ...r: any[]): ds;
744
744
  /**
745
745
  * Deletes the document referred to by the provided {@link DocumentReference}.
746
746
  *
747
747
  * @param documentRef - A reference to the document to be deleted.
748
748
  * @returns This `WriteBatch` instance. Used for chaining method calls.
749
- */ delete(t: any): ls;
749
+ */ delete(t: any): ds;
750
750
  /**
751
751
  * Commits all of the writes in this write batch as a single atomic unit.
752
752
  *
@@ -775,14 +775,14 @@ declare class vs {
775
775
  * @throws Error - If the provided input is not a valid Firestore document.
776
776
  * @returns A `Promise` resolved with a `DocumentReference` pointing to the
777
777
  * newly created document after it has been written to the backend.
778
- */ declare function Jr(t: any, e: any): Promise<Dn>;
778
+ */ declare function ts(t: any, e: any): Promise<Fn>;
779
779
  /**
780
780
  * Compares two 'AggregateField` instances for equality.
781
781
  *
782
782
  * @param left Compare this AggregateField to the `right`.
783
783
  * @param right Compare this AggregateField to the `left`.
784
784
  * @internal TODO (sum/avg) remove when public
785
- */ declare function ss(t: any, e: any): boolean;
785
+ */ declare function os(t: any, e: any): boolean;
786
786
  /**
787
787
  * Compares two `AggregateQuerySnapshot` instances for equality.
788
788
  *
@@ -794,7 +794,7 @@ declare class vs {
794
794
  *
795
795
  * @returns `true` if the objects are "equal", as defined above, or `false`
796
796
  * otherwise.
797
- */ declare function is(t: any, e: any): boolean;
797
+ */ declare function us(t: any, e: any): boolean;
798
798
  /**
799
799
  * Creates a new {@link QueryCompositeFilterConstraint} that is a conjunction of
800
800
  * the given filter constraints. A conjunction filter includes a document if it
@@ -805,7 +805,7 @@ declare class vs {
805
805
  * created with calls to {@link where}, {@link or}, or {@link and}.
806
806
  * @returns The newly created {@link QueryCompositeFilterConstraint}.
807
807
  * @internal TODO remove this internal tag with OR Query support in the server
808
- */ declare function Pr(...t: any[]): Tr;
808
+ */ declare function $r(...t: any[]): Pr;
809
809
  /**
810
810
  * Returns a special value that can be used with {@link (setDoc:1)} or {@link
811
811
  * updateDoc:1} that tells the server to remove the given elements from any
@@ -816,7 +816,7 @@ declare class vs {
816
816
  * @param elements - The elements to remove from the array.
817
817
  * @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
818
818
  * `updateDoc()`
819
- */ declare function as(...t: any[]): er;
819
+ */ declare function ls(...t: any[]): rr;
820
820
  /**
821
821
  * Returns a special value that can be used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link
822
822
  * @firebase/firestore/lite#(updateDoc:1)} that tells the server to union the given elements with any array
@@ -828,14 +828,14 @@ declare class vs {
828
828
  * @param elements - The elements to union into the array.
829
829
  * @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
830
830
  * `updateDoc()`.
831
- */ declare function cs(...t: any[]): tr;
831
+ */ declare function hs(...t: any[]): nr;
832
832
  /**
833
833
  * Create an AggregateField object that can be used to compute the average of
834
834
  * a specified field over a range of documents in the result set of a query.
835
835
  * @param field Specifies the field to average across the result set.
836
836
  * @internal TODO (sum/avg) remove when public
837
- */ declare function ns(t: any): Vn;
838
- declare function xn(t: any, e: any, ...n: any[]): Fn;
837
+ */ declare function ss(t: any): Dn;
838
+ declare function qn(t: any, e: any, ...n: any[]): Sn;
839
839
  /**
840
840
  * Creates and returns a new `Query` instance that includes all documents in the
841
841
  * database that are contained in a collection or subcollection with the
@@ -846,7 +846,7 @@ declare function xn(t: any, e: any, ...n: any[]): Fn;
846
846
  * collection or subcollection with this ID as the last segment of its path
847
847
  * will be included. Cannot contain a slash.
848
848
  * @returns The created `Query`.
849
- */ declare function Sn(t: any, e: any): Nn;
849
+ */ declare function On(t: any, e: any): xn;
850
850
  /**
851
851
  * Modify this instance to communicate with the Cloud Firestore emulator.
852
852
  *
@@ -859,12 +859,12 @@ declare function xn(t: any, e: any, ...n: any[]): Fn;
859
859
  * @param port - the emulator port (ex: 9000).
860
860
  * @param options.mockUserToken - the mock auth token to use for unit testing
861
861
  * Security Rules.
862
- */ declare function Rn(t: any, e: any, n: any, r?: {}): void;
862
+ */ declare function Vn(t: any, e: any, n: any, r?: {}): void;
863
863
  /**
864
864
  * Create an AggregateField object that can be used to compute the count of
865
865
  * documents in the result set of a query.
866
866
  * @internal TODO (sum/avg) remove when public
867
- */ declare function rs(): Vn;
867
+ */ declare function is(): Dn;
868
868
  /**
869
869
  * Deletes the document referred to by the specified `DocumentReference`.
870
870
  *
@@ -876,7 +876,7 @@ declare function xn(t: any, e: any, ...n: any[]): Fn;
876
876
  * @param reference - A reference to the document to delete.
877
877
  * @returns A `Promise` resolved once the document has been successfully
878
878
  * deleted from the backend.
879
- */ declare function Zr(t: any): Promise<void>;
879
+ */ declare function Xr(t: any): Promise<void>;
880
880
  /**
881
881
  * @license
882
882
  * Copyright 2020 Google LLC
@@ -896,14 +896,14 @@ declare function xn(t: any, e: any, ...n: any[]): Fn;
896
896
  /**
897
897
  * Returns a sentinel for use with {@link @firebase/firestore/lite#(updateDoc:1)} or
898
898
  * {@link @firebase/firestore/lite#(setDoc:1)} with `{merge: true}` to mark a field for deletion.
899
- */ declare function os(): Zn;
900
- declare function qn(t: any, e: any, ...n: any[]): Dn;
899
+ */ declare function cs(): Xn;
900
+ declare function kn(t: any, e: any, ...n: any[]): Fn;
901
901
  /**
902
902
  * Returns a special sentinel `FieldPath` to refer to the ID of a document.
903
903
  * It can be used in queries to sort or filter by the document ID.
904
- */ declare function Mn(): Ln;
905
- declare function Cr(...t: any[]): Or;
906
- declare function kr(...t: any[]): Or;
904
+ */ declare function jn(): Un;
905
+ declare function Mr(...t: any[]): Cr;
906
+ declare function Lr(...t: any[]): Cr;
907
907
  /**
908
908
  * Calculates the specified aggregations over the documents in the result
909
909
  * set of the given query, without actually downloading the documents.
@@ -930,7 +930,7 @@ declare function kr(...t: any[]): Or;
930
930
  * const averageScore: number | null = aggregateSnapshot.data().averageScore;
931
931
  * ```
932
932
  * @internal TODO (sum/avg) remove when public
933
- */ declare function ts(t: any, e: any): Promise<$n>;
933
+ */ declare function ns(t: any, e: any): Promise<Nn>;
934
934
  /**
935
935
  * @license
936
936
  * Copyright 2022 Google LLC
@@ -960,7 +960,7 @@ declare function kr(...t: any[]): Or;
960
960
  * @returns A Promise that will be resolved with the count; the count can be
961
961
  * retrieved from `snapshot.data().count`, where `snapshot` is the
962
962
  * `AggregateQuerySnapshot` to which the returned Promise resolves.
963
- */ declare function Xr(t: any): Promise<$n>;
963
+ */ declare function es(t: any): Promise<Nn>;
964
964
  /**
965
965
  * Reads the document referred to by the specified document reference.
966
966
  *
@@ -973,7 +973,7 @@ declare function kr(...t: any[]): Or;
973
973
  * @param reference - The reference of the document to fetch.
974
974
  * @returns A Promise resolved with a `DocumentSnapshot` containing the current
975
975
  * document contents.
976
- */ declare function Gr(t: any): Promise<mr>;
976
+ */ declare function Yr(t: any): Promise<yr>;
977
977
  /**
978
978
  * Executes the query and returns the results as a {@link QuerySnapshot}.
979
979
  *
@@ -985,8 +985,8 @@ declare function kr(...t: any[]): Or;
985
985
  *
986
986
  * @param query - The `Query` to execute.
987
987
  * @returns A Promise that will be resolved with the results of the query.
988
- */ declare function Kr(t: any): Promise<yr>;
989
- declare function Tn(e: any, n: any): import("../../lite").Firestore;
988
+ */ declare function Hr(t: any): Promise<_r>;
989
+ declare function Pn(e: any, n: any): import("../../lite").Firestore;
990
990
  /**
991
991
  * Returns a special value that can be used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link
992
992
  * @firebase/firestore/lite#(updateDoc:1)} that tells the server to increment the field's current value by
@@ -1005,15 +1005,15 @@ declare function Tn(e: any, n: any): import("../../lite").Firestore;
1005
1005
  * @param n - The value to increment by.
1006
1006
  * @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
1007
1007
  * `updateDoc()`
1008
- */ declare function hs(t: any): nr;
1009
- declare function In(t: any, e: any, n: any): import("../../lite").Firestore;
1008
+ */ declare function fs(t: any): sr;
1009
+ declare function Rn(t: any, e: any, n: any): import("../../lite").Firestore;
1010
1010
  /**
1011
1011
  * Creates a {@link QueryLimitConstraint} that only returns the first matching
1012
1012
  * documents.
1013
1013
  *
1014
1014
  * @param limit - The maximum number of items to return.
1015
1015
  * @returns The created {@link QueryLimitConstraint}.
1016
- */ declare function Nr(t: any): Dr;
1016
+ */ declare function xr(t: any): Fr;
1017
1017
  /**
1018
1018
  * Creates a {@link QueryLimitConstraint} that only returns the last matching
1019
1019
  * documents.
@@ -1023,7 +1023,7 @@ declare function In(t: any, e: any, n: any): import("../../lite").Firestore;
1023
1023
  *
1024
1024
  * @param limit - The maximum number of items to return.
1025
1025
  * @returns The created {@link QueryLimitConstraint}.
1026
- */ declare function Fr(t: any): Dr;
1026
+ */ declare function Sr(t: any): Fr;
1027
1027
  /**
1028
1028
  * Creates a new {@link QueryCompositeFilterConstraint} that is a disjunction of
1029
1029
  * the given filter constraints. A disjunction filter includes a document if it
@@ -1034,7 +1034,7 @@ declare function In(t: any, e: any, n: any): import("../../lite").Firestore;
1034
1034
  * created with calls to {@link where}, {@link or}, or {@link and}.
1035
1035
  * @returns The newly created {@link QueryCompositeFilterConstraint}.
1036
1036
  * @internal TODO remove this internal tag with OR Query support in the server
1037
- */ declare function Rr(...t: any[]): Tr;
1037
+ */ declare function Vr(...t: any[]): Pr;
1038
1038
  /**
1039
1039
  * Creates a {@link QueryOrderByConstraint} that sorts the query result by the
1040
1040
  * specified field, optionally in descending order instead of ascending.
@@ -1046,8 +1046,8 @@ declare function In(t: any, e: any, n: any): import("../../lite").Firestore;
1046
1046
  * @param directionStr - Optional direction to sort by ('asc' or 'desc'). If
1047
1047
  * not specified, order will be ascending.
1048
1048
  * @returns The created {@link QueryOrderByConstraint}.
1049
- */ declare function $r(t: any, e?: string): Vr;
1050
- declare function Er(t: any, e: any, ...n: any[]): any;
1049
+ */ declare function Nr(t: any, e?: string): Dr;
1050
+ declare function Ir(t: any, e: any, ...n: any[]): any;
1051
1051
  /**
1052
1052
  * Returns true if the provided queries point to the same collection and apply
1053
1053
  * the same constraints.
@@ -1056,7 +1056,7 @@ declare function Er(t: any, e: any, ...n: any[]): any;
1056
1056
  * @param right - A `Query` to compare.
1057
1057
  * @returns true if the references point to the same location in the same
1058
1058
  * Firestore database.
1059
- */ declare function kn(t: any, e: any): boolean;
1059
+ */ declare function Ln(t: any, e: any): boolean;
1060
1060
  /**
1061
1061
  * Returns true if the provided references are equal.
1062
1062
  *
@@ -1064,7 +1064,7 @@ declare function Er(t: any, e: any, ...n: any[]): any;
1064
1064
  * @param right - A reference to compare.
1065
1065
  * @returns true if the references point to the same location in the same
1066
1066
  * Firestore database.
1067
- */ declare function On(t: any, e: any): boolean;
1067
+ */ declare function Cn(t: any, e: any): boolean;
1068
1068
  /**
1069
1069
  * Executes the given `updateFunction` and then attempts to commit the changes
1070
1070
  * applied within the transaction. If any document read within the transaction
@@ -1083,12 +1083,12 @@ declare function Er(t: any, e: any, ...n: any[]): any;
1083
1083
  * (the `updateFunction` returned a failed promise), the promise returned by the
1084
1084
  * `updateFunction `is returned here. Otherwise, if the transaction failed, a
1085
1085
  * rejected promise with the corresponding failure error is returned.
1086
- */ declare function bs(t: any, e: any, n: any): Promise<any>;
1086
+ */ declare function As(t: any, e: any, n: any): Promise<any>;
1087
1087
  /**
1088
1088
  * Returns a sentinel used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link @firebase/firestore/lite#(updateDoc:1)} to
1089
1089
  * include a server-generated timestamp in the written data.
1090
- */ declare function us(): Xn;
1091
- declare function Yr(t: any, e: any, n: any): Promise<void>;
1090
+ */ declare function as(): er;
1091
+ declare function Zr(t: any, e: any, n: any): Promise<void>;
1092
1092
  /**
1093
1093
  * Sets the verbosity of Cloud Firestore logs (debug, error, or silent).
1094
1094
  *
@@ -1108,10 +1108,10 @@ declare function Yr(t: any, e: any, n: any): Promise<void>;
1108
1108
  * @param left - A snapshot to compare.
1109
1109
  * @param right - A snapshot to compare.
1110
1110
  * @returns true if the snapshots are equal.
1111
- */ declare function gr(t: any, e: any): any;
1112
- declare function qr(...t: any[]): xr;
1113
- declare function Sr(...t: any[]): xr;
1114
- declare function es(t: any): Vn;
1111
+ */ declare function vr(t: any, e: any): any;
1112
+ declare function kr(...t: any[]): qr;
1113
+ declare function Or(...t: any[]): qr;
1114
+ declare function rs(t: any): Dn;
1115
1115
  /**
1116
1116
  * Terminates the provided `Firestore` instance.
1117
1117
  *
@@ -1131,8 +1131,8 @@ declare function es(t: any): Vn;
1131
1131
  * @param firestore - The `Firestore` instance to terminate.
1132
1132
  * @returns A `Promise` that is resolved when the instance has been successfully
1133
1133
  * terminated.
1134
- */ declare function Pn(t: any): any;
1135
- declare function Hr(t: any, e: any, n: any, ...r: any[]): Promise<void>;
1134
+ */ declare function $n(t: any): any;
1135
+ declare function Jr(t: any, e: any, n: any, ...r: any[]): Promise<void>;
1136
1136
  /**
1137
1137
  * Creates a {@link QueryFieldFilterConstraint} that enforces that documents
1138
1138
  * must contain the specified field and that the value should satisfy the
@@ -1143,7 +1143,7 @@ declare function Hr(t: any, e: any, n: any, ...r: any[]): Promise<void>;
1143
1143
  * "&lt;=", "!=").
1144
1144
  * @param value - The value for comparison
1145
1145
  * @returns The created {@link QueryFieldFilterConstraint}.
1146
- */ declare function Ir(t: any, e: any, n: any): Ar;
1146
+ */ declare function Rr(t: any, e: any, n: any): Tr;
1147
1147
  /**
1148
1148
  * Creates a write batch, used for performing multiple writes as a single
1149
1149
  * atomic operation. The maximum number of writes allowed in a single WriteBatch
@@ -1156,7 +1156,7 @@ declare function Hr(t: any, e: any, n: any, ...r: any[]): Promise<void>;
1156
1156
  *
1157
1157
  * @returns A `WriteBatch` that can be used to atomically execute multiple
1158
1158
  * writes.
1159
- */ declare function ds(t: any): ls;
1159
+ */ declare function ms(t: any): ds;
1160
1160
  /**
1161
1161
  * A dot-separated path for navigating sub-objects within a document.
1162
1162
  * @internal
@@ -1195,7 +1195,7 @@ declare function Hr(t: any, e: any, n: any, ...r: any[]): Promise<void>;
1195
1195
  * user-supplied `FirestoreSettings` object. This is a separate type so that
1196
1196
  * defaults can be supplied and the value can be checked for equality.
1197
1197
  */
1198
- declare class En {
1198
+ declare class In {
1199
1199
  constructor(t: any);
1200
1200
  host: any;
1201
1201
  ssl: any;
@@ -1228,13 +1228,13 @@ import { FirebaseError as c } from "@firebase/util/dist/src/errors";
1228
1228
  * An `AppliableConstraint` is an abstraction of a constraint that can be applied
1229
1229
  * to a Firestore query.
1230
1230
  */
1231
- declare class vr {
1231
+ declare class Er {
1232
1232
  }
1233
- declare class Zt extends Ht {
1233
+ declare class Xt extends Jt {
1234
1234
  /**
1235
1235
  * Creates a filter based on the provided arguments.
1236
- */ static create(t: any, e: any, n: any): Zt | ee | ue;
1237
- static createKeyFieldInFilter(t: any, e: any, n: any): ee | ne;
1236
+ */ static create(t: any, e: any, n: any): Xt | re | ae;
1237
+ static createKeyFieldInFilter(t: any, e: any, n: any): re | se;
1238
1238
  constructor(t: any, e: any, n: any);
1239
1239
  field: any;
1240
1240
  op: any;
@@ -1242,53 +1242,53 @@ declare class Zt extends Ht {
1242
1242
  matches(t: any): boolean | void;
1243
1243
  matchesComparison(t: any): boolean | void;
1244
1244
  isInequality(): boolean;
1245
- getFlattenedFilters(): Zt[];
1246
- getFilters(): Zt[];
1245
+ getFlattenedFilters(): Xt[];
1246
+ getFilters(): Xt[];
1247
1247
  getFirstInequalityField(): any;
1248
1248
  }
1249
- /** Filter that matches on key fields within an array. */ declare class ee extends Zt {
1249
+ /** Filter that matches on key fields within an array. */ declare class re extends Xt {
1250
1250
  constructor(t: any, e: any);
1251
1251
  keys: any;
1252
1252
  matches(t: any): any;
1253
1253
  }
1254
- /** A Filter that implements the array-contains-any operator. */ declare class ue extends Zt {
1254
+ /** A Filter that implements the array-contains-any operator. */ declare class ae extends Xt {
1255
1255
  constructor(t: any, e: any);
1256
1256
  matches(t: any): any;
1257
1257
  }
1258
1258
  /**
1259
1259
  * Helper for parsing raw user input (provided via the API) into internal model
1260
1260
  * classes.
1261
- */ declare class Kn {
1261
+ */ declare class Hn {
1262
1262
  constructor(t: any, e: any, n: any);
1263
1263
  databaseId: any;
1264
1264
  ignoreUndefinedProperties: any;
1265
1265
  M: any;
1266
- /** Creates a new top-level parse context. */ wt(t: any, e: any, n: any, r?: boolean): Gn;
1266
+ /** Creates a new top-level parse context. */ wt(t: any, e: any, n: any, r?: boolean): Yn;
1267
1267
  }
1268
- declare class er extends Un {
1268
+ declare class rr extends Bn {
1269
1269
  constructor(t: any, e: any);
1270
1270
  yt: any;
1271
- _toFieldTransform(t: any): qe;
1271
+ _toFieldTransform(t: any): ke;
1272
1272
  isEqual(t: any): boolean;
1273
1273
  }
1274
- declare class tr extends Un {
1274
+ declare class nr extends Bn {
1275
1275
  constructor(t: any, e: any);
1276
1276
  yt: any;
1277
- _toFieldTransform(t: any): qe;
1277
+ _toFieldTransform(t: any): ke;
1278
1278
  isEqual(t: any): boolean;
1279
1279
  }
1280
- declare class Zn extends Un {
1280
+ declare class Xn extends Bn {
1281
1281
  _toFieldTransform(t: any): null;
1282
1282
  isEqual(t: any): boolean;
1283
1283
  }
1284
- declare class nr extends Un {
1284
+ declare class sr extends Bn {
1285
1285
  constructor(t: any, e: any);
1286
1286
  gt: any;
1287
- _toFieldTransform(t: any): qe;
1287
+ _toFieldTransform(t: any): ke;
1288
1288
  isEqual(t: any): boolean;
1289
1289
  }
1290
- declare class Xn extends Un {
1291
- _toFieldTransform(t: any): qe;
1290
+ declare class er extends Bn {
1291
+ _toFieldTransform(t: any): ke;
1292
1292
  isEqual(t: any): boolean;
1293
1293
  }
1294
1294
  /**
@@ -1330,14 +1330,14 @@ declare class X {
1330
1330
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1331
1331
  * See the License for the specific language governing permissions and
1332
1332
  * limitations under the License.
1333
- */ declare class Ht {
1333
+ */ declare class Jt {
1334
1334
  }
1335
- /** Filter that matches on key fields not present within an array. */ declare class ne extends Zt {
1335
+ /** Filter that matches on key fields not present within an array. */ declare class se extends Xt {
1336
1336
  constructor(t: any, e: any);
1337
1337
  keys: any;
1338
1338
  matches(t: any): boolean;
1339
1339
  }
1340
- /** A "context" object passed around while parsing user data. */ declare class Gn {
1340
+ /** A "context" object passed around while parsing user data. */ declare class Yn {
1341
1341
  /**
1342
1342
  * Initializes a ParseContext with the given source and path.
1343
1343
  *
@@ -1365,10 +1365,10 @@ declare class X {
1365
1365
  fieldMask: any;
1366
1366
  get path(): any;
1367
1367
  get st(): any;
1368
- /** Returns a new context with the specified settings overwritten. */ it(t: any): Gn;
1369
- ot(t: any): Gn;
1370
- at(t: any): Gn;
1371
- ht(t: any): Gn;
1368
+ /** Returns a new context with the specified settings overwritten. */ it(t: any): Yn;
1369
+ ot(t: any): Yn;
1370
+ at(t: any): Yn;
1371
+ ht(t: any): Yn;
1372
1372
  lt(t: any): U;
1373
1373
  /** Returns 'true' if 'fieldPath' was traversed when creating this context. */ contains(t: any): boolean;
1374
1374
  rt(): void;
@@ -1390,9 +1390,9 @@ declare class X {
1390
1390
  * See the License for the specific language governing permissions and
1391
1391
  * limitations under the License.
1392
1392
  */
1393
- /** A field path and the TransformOperation to perform upon it. */ declare class qe {
1393
+ /** A field path and the TransformOperation to perform upon it. */ declare class ke {
1394
1394
  constructor(t: any, e: any);
1395
1395
  field: any;
1396
1396
  transform: any;
1397
1397
  }
1398
- export { Vn as AggregateField, $n as AggregateQuerySnapshot, Cn as Bytes, Fn as CollectionReference, Dn as DocumentReference, mr as DocumentSnapshot, Ln as FieldPath, Un as FieldValue, An as Firestore, U as FirestoreError, jn as GeoPoint, Nn as Query, Tr as QueryCompositeFilterConstraint, br as QueryConstraint, pr as QueryDocumentSnapshot, Or as QueryEndAtConstraint, Ar as QueryFieldFilterConstraint, Dr as QueryLimitConstraint, Vr as QueryOrderByConstraint, yr as QuerySnapshot, xr as QueryStartAtConstraint, Ft as Timestamp, vs as Transaction, ls as WriteBatch, Jr as addDoc, ss as aggregateFieldEqual, is as aggregateQuerySnapshotEqual, Pr as and, as as arrayRemove, cs as arrayUnion, ns as average, xn as collection, Sn as collectionGroup, Rn as connectFirestoreEmulator, rs as count, Zr as deleteDoc, os as deleteField, qn as doc, Mn as documentId, Cr as endAt, kr as endBefore, ts as getAggregate, Xr as getCount, Gr as getDoc, Kr as getDocs, Tn as getFirestore, hs as increment, In as initializeFirestore, Nr as limit, Fr as limitToLast, Rr as or, $r as orderBy, Er as query, kn as queryEqual, On as refEqual, bs as runTransaction, us as serverTimestamp, Yr as setDoc, p as setLogLevel, gr as snapshotEqual, qr as startAfter, Sr as startAt, es as sum, Pn as terminate, Hr as updateDoc, Ir as where, ds as writeBatch };
1398
+ export { Dn as AggregateField, Nn as AggregateQuerySnapshot, Mn as Bytes, Sn as CollectionReference, Fn as DocumentReference, yr as DocumentSnapshot, Un as FieldPath, Bn as FieldValue, Tn as Firestore, U as FirestoreError, zn as GeoPoint, xn as Query, Pr as QueryCompositeFilterConstraint, Ar as QueryConstraint, gr as QueryDocumentSnapshot, Cr as QueryEndAtConstraint, Tr as QueryFieldFilterConstraint, Fr as QueryLimitConstraint, Dr as QueryOrderByConstraint, _r as QuerySnapshot, qr as QueryStartAtConstraint, St as Timestamp, Es as Transaction, ds as WriteBatch, ts as addDoc, os as aggregateFieldEqual, us as aggregateQuerySnapshotEqual, $r as and, ls as arrayRemove, hs as arrayUnion, ss as average, qn as collection, On as collectionGroup, Vn as connectFirestoreEmulator, is as count, Xr as deleteDoc, cs as deleteField, kn as doc, jn as documentId, Mr as endAt, Lr as endBefore, ns as getAggregate, es as getCount, Yr as getDoc, Hr as getDocs, Pn as getFirestore, fs as increment, Rn as initializeFirestore, xr as limit, Sr as limitToLast, Vr as or, Nr as orderBy, Ir as query, Ln as queryEqual, Cn as refEqual, As as runTransaction, as as serverTimestamp, Zr as setDoc, p as setLogLevel, vr as snapshotEqual, kr as startAfter, Or as startAt, rs as sum, $n as terminate, Jr as updateDoc, Rr as where, ms as writeBatch };