@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.
- package/dist/firestore/src/util/debug_uid.d.ts +28 -0
- package/dist/index.cjs.js +1435 -1384
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm2017.js +1348 -1297
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +1351 -1274
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +82 -17
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.node.mjs +82 -17
- package/dist/index.node.mjs.map +1 -1
- package/dist/index.rn.js +1367 -1316
- package/dist/index.rn.js.map +1 -1
- package/dist/lite/firestore/src/util/debug_uid.d.ts +28 -0
- package/dist/lite/index.browser.esm2017.js +765 -717
- package/dist/lite/index.browser.esm2017.js.map +1 -1
- package/dist/lite/index.browser.esm5.js +727 -681
- package/dist/lite/index.browser.esm5.js.map +1 -1
- package/dist/lite/index.cjs.js +765 -717
- package/dist/lite/index.cjs.js.map +1 -1
- package/dist/lite/index.node.cjs.js +66 -5
- package/dist/lite/index.node.cjs.js.map +1 -1
- package/dist/lite/index.node.mjs +66 -5
- package/dist/lite/index.node.mjs.map +1 -1
- package/dist/lite/index.rn.esm2017.js +767 -719
- package/dist/lite/index.rn.esm2017.js.map +1 -1
- package/dist/lite/packages/firestore/dist/lite/index.browser.esm2017.d.ts +129 -129
- package/dist/lite/packages/firestore/src/util/debug_uid.d.ts +28 -0
- package/dist/packages/firestore/dist/index.esm2017.d.ts +148 -148
- package/dist/packages/firestore/src/util/debug_uid.d.ts +28 -0
- package/package.json +9 -9
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
declare class
|
|
1
|
+
declare class xl {
|
|
2
2
|
convertValue(t: any, e?: string): any;
|
|
3
3
|
convertObject(t: any, e: any): {};
|
|
4
|
-
convertGeoPoint(t: any):
|
|
4
|
+
convertGeoPoint(t: any): Dh;
|
|
5
5
|
convertArray(t: any, e: any): any;
|
|
6
6
|
convertServerTimestamp(t: any, e: any): any;
|
|
7
7
|
convertTimestamp(t: any): nt;
|
|
@@ -42,7 +42,7 @@ declare class Sl {
|
|
|
42
42
|
/**
|
|
43
43
|
* Represents an aggregation that can be performed by Firestore.
|
|
44
44
|
*/
|
|
45
|
-
declare class
|
|
45
|
+
declare class Rh {
|
|
46
46
|
/**
|
|
47
47
|
* Create a new AggregateField<T>
|
|
48
48
|
* @param _aggregateType Specifies the type of aggregation operation to perform.
|
|
@@ -57,7 +57,7 @@ declare class Th {
|
|
|
57
57
|
}
|
|
58
58
|
/**
|
|
59
59
|
* The results of executing an aggregation query.
|
|
60
|
-
*/ declare class
|
|
60
|
+
*/ declare class Ph {
|
|
61
61
|
/** @hideconstructor */
|
|
62
62
|
constructor(t: any, e: any, n: any);
|
|
63
63
|
_userDataWriter: any;
|
|
@@ -95,18 +95,18 @@ declare class Th {
|
|
|
95
95
|
*/
|
|
96
96
|
/**
|
|
97
97
|
* An immutable object representing an array of bytes.
|
|
98
|
-
*/ declare class
|
|
98
|
+
*/ declare class bh {
|
|
99
99
|
/**
|
|
100
100
|
* Creates a new `Bytes` object from the given Base64 string, converting it to
|
|
101
101
|
* bytes.
|
|
102
102
|
*
|
|
103
103
|
* @param base64 - The Base64 string used to create the `Bytes` object.
|
|
104
|
-
*/ static fromBase64String(t: any):
|
|
104
|
+
*/ static fromBase64String(t: any): bh;
|
|
105
105
|
/**
|
|
106
106
|
* Creates a new `Bytes` object from the given Uint8Array.
|
|
107
107
|
*
|
|
108
108
|
* @param array - The Uint8Array used to create the `Bytes` object.
|
|
109
|
-
*/ static fromUint8Array(t: any):
|
|
109
|
+
*/ static fromUint8Array(t: any): bh;
|
|
110
110
|
/** @hideconstructor */
|
|
111
111
|
constructor(t: any);
|
|
112
112
|
_byteString: any;
|
|
@@ -148,11 +148,11 @@ declare class Th {
|
|
|
148
148
|
* See the License for the specific language governing permissions and
|
|
149
149
|
* limitations under the License.
|
|
150
150
|
*/
|
|
151
|
-
/** DOMException error code constants. */ declare const
|
|
151
|
+
/** DOMException error code constants. */ declare const uh: -1;
|
|
152
152
|
/**
|
|
153
153
|
* A `CollectionReference` object can be used for adding documents, getting
|
|
154
154
|
* document references, and querying for documents (using {@link query}).
|
|
155
|
-
*/ declare class
|
|
155
|
+
*/ declare class Za extends Ya {
|
|
156
156
|
_path: any;
|
|
157
157
|
/** The collection's identifier. */ get id(): any;
|
|
158
158
|
/**
|
|
@@ -162,8 +162,8 @@ declare class Th {
|
|
|
162
162
|
/**
|
|
163
163
|
* A reference to the containing `DocumentReference` if this is a
|
|
164
164
|
* subcollection. If this isn't a subcollection, the reference is null.
|
|
165
|
-
*/ get parent():
|
|
166
|
-
withConverter(t: any):
|
|
165
|
+
*/ get parent(): Ja | null;
|
|
166
|
+
withConverter(t: any): Za;
|
|
167
167
|
}
|
|
168
168
|
/**
|
|
169
169
|
* @license
|
|
@@ -185,7 +185,7 @@ declare class Th {
|
|
|
185
185
|
* A `DocumentReference` refers to a document location in a Firestore database
|
|
186
186
|
* and can be used to write, read, or listen to the location. The document at
|
|
187
187
|
* the referenced location may or may not exist.
|
|
188
|
-
*/ declare class
|
|
188
|
+
*/ declare class Ja {
|
|
189
189
|
/** @hideconstructor */
|
|
190
190
|
constructor(t: any, e: any, n: any);
|
|
191
191
|
converter: any;
|
|
@@ -203,8 +203,8 @@ declare class Th {
|
|
|
203
203
|
*/ get path(): any;
|
|
204
204
|
/**
|
|
205
205
|
* The collection this `DocumentReference` belongs to.
|
|
206
|
-
*/ get parent():
|
|
207
|
-
withConverter(t: any):
|
|
206
|
+
*/ get parent(): Za;
|
|
207
|
+
withConverter(t: any): Ja;
|
|
208
208
|
}
|
|
209
209
|
/**
|
|
210
210
|
* A `DocumentSnapshot` contains data read from a document in your Firestore
|
|
@@ -214,7 +214,7 @@ declare class Th {
|
|
|
214
214
|
* For a `DocumentSnapshot` that points to a non-existing document, any data
|
|
215
215
|
* access will return 'undefined'. You can use the `exists()` method to
|
|
216
216
|
* explicitly verify a document's existence.
|
|
217
|
-
*/ declare class
|
|
217
|
+
*/ declare class ql extends sl {
|
|
218
218
|
/** @hideconstructor protected */
|
|
219
219
|
constructor(t: any, e: any, n: any, s: any, i: any, r: any);
|
|
220
220
|
_firestoreImpl: any;
|
|
@@ -274,7 +274,7 @@ declare class Th {
|
|
|
274
274
|
*
|
|
275
275
|
* Create a `FieldPath` by providing field names. If more than one field
|
|
276
276
|
* name is provided, the path will point to a nested field in a document.
|
|
277
|
-
*/ declare class
|
|
277
|
+
*/ declare class vh {
|
|
278
278
|
/**
|
|
279
279
|
* Creates a `FieldPath` from the provided field names. If more than one field
|
|
280
280
|
* name is provided, the path will point to a nested field in a document.
|
|
@@ -309,7 +309,7 @@ declare class Th {
|
|
|
309
309
|
/**
|
|
310
310
|
* Sentinel values that can be used when writing document fields with `set()`
|
|
311
311
|
* or `update()`.
|
|
312
|
-
*/ declare class
|
|
312
|
+
*/ declare class Sh {
|
|
313
313
|
/**
|
|
314
314
|
* @param _methodName - The public API endpoint that returns this class.
|
|
315
315
|
* @hideconstructor
|
|
@@ -322,8 +322,8 @@ declare class Th {
|
|
|
322
322
|
*
|
|
323
323
|
* Do not call this constructor directly. Instead, use {@link (getFirestore:1)}.
|
|
324
324
|
*/
|
|
325
|
-
declare class
|
|
326
|
-
_queue:
|
|
325
|
+
declare class ch extends Wa {
|
|
326
|
+
_queue: ih;
|
|
327
327
|
_persistenceKey: any;
|
|
328
328
|
_terminate(): any;
|
|
329
329
|
}
|
|
@@ -355,7 +355,7 @@ declare class rh extends Qa {
|
|
|
355
355
|
*
|
|
356
356
|
* Latitude values are in the range of [-90, 90].
|
|
357
357
|
* Longitude values are in the range of [-180, 180].
|
|
358
|
-
*/ declare class
|
|
358
|
+
*/ declare class Dh {
|
|
359
359
|
/**
|
|
360
360
|
* Creates a new immutable `GeoPoint` object with the provided latitude and
|
|
361
361
|
* longitude values.
|
|
@@ -386,7 +386,7 @@ declare class rh extends Qa {
|
|
|
386
386
|
* with an underscore.
|
|
387
387
|
*/ _compareTo(t: any): 0 | 1 | -1;
|
|
388
388
|
}
|
|
389
|
-
declare class
|
|
389
|
+
declare class oh {
|
|
390
390
|
_progressObserver: {};
|
|
391
391
|
_taskCompletionResolver: q;
|
|
392
392
|
_lastProgress: {
|
|
@@ -438,7 +438,7 @@ declare class sh {
|
|
|
438
438
|
/**
|
|
439
439
|
* A `Query` refers to a query which you can read or listen to. You can also
|
|
440
440
|
* construct refined `Query` objects by adding filters and ordering.
|
|
441
|
-
*/ declare class
|
|
441
|
+
*/ declare class Ya {
|
|
442
442
|
/** @hideconstructor protected */
|
|
443
443
|
constructor(t: any, e: any, n: any);
|
|
444
444
|
converter: any;
|
|
@@ -446,7 +446,7 @@ declare class sh {
|
|
|
446
446
|
/** The type of this Firestore reference. */
|
|
447
447
|
type: string;
|
|
448
448
|
firestore: any;
|
|
449
|
-
withConverter(t: any):
|
|
449
|
+
withConverter(t: any): Ya;
|
|
450
450
|
}
|
|
451
451
|
/**
|
|
452
452
|
* A `QueryCompositeFilterConstraint` is used to narrow the set of documents
|
|
@@ -456,8 +456,8 @@ declare class sh {
|
|
|
456
456
|
* {@link and} and can then be passed to {@link query} to create a new query
|
|
457
457
|
* instance that also contains the `QueryCompositeFilterConstraint`.
|
|
458
458
|
* @internal TODO remove this internal tag with OR Query support in the server
|
|
459
|
-
*/ declare class
|
|
460
|
-
static _create(t: any, e: any):
|
|
459
|
+
*/ declare class fl extends ul {
|
|
460
|
+
static _create(t: any, e: any): fl;
|
|
461
461
|
/**
|
|
462
462
|
* @internal
|
|
463
463
|
*/
|
|
@@ -476,7 +476,7 @@ declare class sh {
|
|
|
476
476
|
* endBefore}, {@link endAt}, {@link limit}, {@link limitToLast} and
|
|
477
477
|
* can then be passed to {@link query} to create a new query instance that
|
|
478
478
|
* also contains this `QueryConstraint`.
|
|
479
|
-
*/ declare class
|
|
479
|
+
*/ declare class cl extends ul {
|
|
480
480
|
}
|
|
481
481
|
/**
|
|
482
482
|
* A `QueryDocumentSnapshot` contains data read from a document in your
|
|
@@ -488,7 +488,7 @@ declare class sh {
|
|
|
488
488
|
* `DocumentSnapshot`. Since query results contain only existing documents, the
|
|
489
489
|
* `exists` property will always be true and `data()` will never return
|
|
490
490
|
* 'undefined'.
|
|
491
|
-
*/ declare class
|
|
491
|
+
*/ declare class Ul extends ql {
|
|
492
492
|
}
|
|
493
493
|
/**
|
|
494
494
|
* A `QueryEndAtConstraint` is used to exclude documents from the end of a
|
|
@@ -496,8 +496,8 @@ declare class sh {
|
|
|
496
496
|
* `QueryEndAtConstraint`s are created by invoking {@link (endAt:1)} or
|
|
497
497
|
* {@link (endBefore:1)} and can then be passed to {@link query} to create a new
|
|
498
498
|
* query instance that also contains this `QueryEndAtConstraint`.
|
|
499
|
-
*/ declare class
|
|
500
|
-
static _create(t: any, e: any, n: any):
|
|
499
|
+
*/ declare class Al extends cl {
|
|
500
|
+
static _create(t: any, e: any, n: any): Al;
|
|
501
501
|
/**
|
|
502
502
|
* @internal
|
|
503
503
|
*/
|
|
@@ -505,7 +505,7 @@ declare class sh {
|
|
|
505
505
|
type: any;
|
|
506
506
|
_docOrFields: any;
|
|
507
507
|
_inclusive: any;
|
|
508
|
-
_apply(t: any):
|
|
508
|
+
_apply(t: any): Ya;
|
|
509
509
|
}
|
|
510
510
|
/**
|
|
511
511
|
* A `QueryFieldFilterConstraint` is used to narrow the set of documents returned by
|
|
@@ -513,8 +513,8 @@ declare class sh {
|
|
|
513
513
|
* `QueryFieldFilterConstraint`s are created by invoking {@link where} and can then
|
|
514
514
|
* be passed to {@link query} to create a new query instance that also contains
|
|
515
515
|
* this `QueryFieldFilterConstraint`.
|
|
516
|
-
*/ declare class
|
|
517
|
-
static _create(t: any, e: any, n: any):
|
|
516
|
+
*/ declare class hl extends cl {
|
|
517
|
+
static _create(t: any, e: any, n: any): hl;
|
|
518
518
|
/**
|
|
519
519
|
* @internal
|
|
520
520
|
*/
|
|
@@ -524,7 +524,7 @@ declare class sh {
|
|
|
524
524
|
_value: any;
|
|
525
525
|
/** The type of this query constraint */
|
|
526
526
|
type: string;
|
|
527
|
-
_apply(t: any):
|
|
527
|
+
_apply(t: any): Ya;
|
|
528
528
|
_parse(t: any): Ve | Be | Qe;
|
|
529
529
|
}
|
|
530
530
|
/**
|
|
@@ -533,8 +533,8 @@ declare class sh {
|
|
|
533
533
|
* `QueryLimitConstraint`s are created by invoking {@link limit} or
|
|
534
534
|
* {@link limitToLast} and can then be passed to {@link query} to create a new
|
|
535
535
|
* query instance that also contains this `QueryLimitConstraint`.
|
|
536
|
-
*/ declare class
|
|
537
|
-
static _create(t: any, e: any, n: any):
|
|
536
|
+
*/ declare class gl extends cl {
|
|
537
|
+
static _create(t: any, e: any, n: any): gl;
|
|
538
538
|
/**
|
|
539
539
|
* @internal
|
|
540
540
|
*/
|
|
@@ -542,7 +542,7 @@ declare class sh {
|
|
|
542
542
|
type: any;
|
|
543
543
|
_limit: any;
|
|
544
544
|
_limitType: any;
|
|
545
|
-
_apply(t: any):
|
|
545
|
+
_apply(t: any): Ya;
|
|
546
546
|
}
|
|
547
547
|
/**
|
|
548
548
|
* A `QueryOrderByConstraint` is used to sort the set of documents returned by a
|
|
@@ -552,8 +552,8 @@ declare class sh {
|
|
|
552
552
|
*
|
|
553
553
|
* Note: Documents that do not contain the orderBy field will not be present in
|
|
554
554
|
* the query result.
|
|
555
|
-
*/ declare class
|
|
556
|
-
static _create(t: any, e: any):
|
|
555
|
+
*/ declare class wl extends cl {
|
|
556
|
+
static _create(t: any, e: any): wl;
|
|
557
557
|
/**
|
|
558
558
|
* @internal
|
|
559
559
|
*/
|
|
@@ -562,7 +562,7 @@ declare class sh {
|
|
|
562
562
|
_direction: any;
|
|
563
563
|
/** The type of this query constraint */
|
|
564
564
|
type: string;
|
|
565
|
-
_apply(t: any):
|
|
565
|
+
_apply(t: any): Ya;
|
|
566
566
|
}
|
|
567
567
|
/**
|
|
568
568
|
* A `QuerySnapshot` contains zero or more `DocumentSnapshot` objects
|
|
@@ -570,13 +570,13 @@ declare class sh {
|
|
|
570
570
|
* array via the `docs` property or enumerated using the `forEach` method. The
|
|
571
571
|
* number of documents can be determined via the `empty` and `size`
|
|
572
572
|
* properties.
|
|
573
|
-
*/ declare class
|
|
573
|
+
*/ declare class Kl {
|
|
574
574
|
/** @hideconstructor */
|
|
575
575
|
constructor(t: any, e: any, n: any, s: any);
|
|
576
576
|
_firestore: any;
|
|
577
577
|
_userDataWriter: any;
|
|
578
578
|
_snapshot: any;
|
|
579
|
-
metadata:
|
|
579
|
+
metadata: Ll;
|
|
580
580
|
query: any;
|
|
581
581
|
/** An array of all the documents in the `QuerySnapshot`. */ get docs(): any[];
|
|
582
582
|
/** The number of documents in the `QuerySnapshot`. */ get size(): any;
|
|
@@ -606,8 +606,8 @@ declare class sh {
|
|
|
606
606
|
* `QueryStartAtConstraint`s are created by invoking {@link (startAt:1)} or
|
|
607
607
|
* {@link (startAfter:1)} and can then be passed to {@link query} to create a
|
|
608
608
|
* new query instance that also contains this `QueryStartAtConstraint`.
|
|
609
|
-
*/ declare class
|
|
610
|
-
static _create(t: any, e: any, n: any):
|
|
609
|
+
*/ declare class Il extends cl {
|
|
610
|
+
static _create(t: any, e: any, n: any): Il;
|
|
611
611
|
/**
|
|
612
612
|
* @internal
|
|
613
613
|
*/
|
|
@@ -615,7 +615,7 @@ declare class sh {
|
|
|
615
615
|
type: any;
|
|
616
616
|
_docOrFields: any;
|
|
617
617
|
_inclusive: any;
|
|
618
|
-
_apply(t: any):
|
|
618
|
+
_apply(t: any): Ya;
|
|
619
619
|
}
|
|
620
620
|
/**
|
|
621
621
|
* @license
|
|
@@ -635,7 +635,7 @@ declare class sh {
|
|
|
635
635
|
*/
|
|
636
636
|
/**
|
|
637
637
|
* Metadata about a snapshot, describing the state of the snapshot.
|
|
638
|
-
*/ declare class
|
|
638
|
+
*/ declare class Ll {
|
|
639
639
|
/** @hideconstructor */
|
|
640
640
|
constructor(t: any, e: any);
|
|
641
641
|
hasPendingWrites: any;
|
|
@@ -744,11 +744,11 @@ declare class nt {
|
|
|
744
744
|
* to be compared using the `>`, `<=`, `>=` and `>` operators.
|
|
745
745
|
*/ valueOf(): string;
|
|
746
746
|
}
|
|
747
|
-
declare const
|
|
747
|
+
declare const df_base: {
|
|
748
748
|
new (t: any, e: any): {
|
|
749
749
|
_firestore: any;
|
|
750
750
|
_transaction: any;
|
|
751
|
-
_dataReader:
|
|
751
|
+
_dataReader: Mh;
|
|
752
752
|
/**
|
|
753
753
|
* Reads the document referenced by the provided {@link DocumentReference}.
|
|
754
754
|
*
|
|
@@ -811,7 +811,7 @@ declare const hf_base: {
|
|
|
811
811
|
* the methods to read and write data within the transaction context. See
|
|
812
812
|
* {@link runTransaction}.
|
|
813
813
|
*/
|
|
814
|
-
declare class
|
|
814
|
+
declare class df extends df_base {
|
|
815
815
|
}
|
|
816
816
|
/**
|
|
817
817
|
* @license
|
|
@@ -837,22 +837,22 @@ declare class hf extends hf_base {
|
|
|
837
837
|
* will be committed (or visible locally) until {@link WriteBatch.commit} is
|
|
838
838
|
* called.
|
|
839
839
|
*/
|
|
840
|
-
declare class
|
|
840
|
+
declare class lf {
|
|
841
841
|
/** @hideconstructor */
|
|
842
842
|
constructor(t: any, e: any);
|
|
843
843
|
_firestore: any;
|
|
844
844
|
_commitHandler: any;
|
|
845
845
|
_mutations: any[];
|
|
846
846
|
_committed: boolean;
|
|
847
|
-
_dataReader:
|
|
848
|
-
set(t: any, e: any, n: any):
|
|
849
|
-
update(t: any, e: any, n: any, ...s: any[]):
|
|
847
|
+
_dataReader: Mh;
|
|
848
|
+
set(t: any, e: any, n: any): lf;
|
|
849
|
+
update(t: any, e: any, n: any, ...s: any[]): lf;
|
|
850
850
|
/**
|
|
851
851
|
* Deletes the document referred to by the provided {@link DocumentReference}.
|
|
852
852
|
*
|
|
853
853
|
* @param documentRef - A reference to the document to be deleted.
|
|
854
854
|
* @returns This `WriteBatch` instance. Used for chaining method calls.
|
|
855
|
-
*/ delete(t: any):
|
|
855
|
+
*/ delete(t: any): lf;
|
|
856
856
|
/**
|
|
857
857
|
* Commits all of the writes in this write batch as a single atomic unit.
|
|
858
858
|
*
|
|
@@ -966,7 +966,7 @@ declare class Lt {
|
|
|
966
966
|
* Returns true if this field references the key of a document.
|
|
967
967
|
*/ isKeyField(): boolean;
|
|
968
968
|
}
|
|
969
|
-
declare function
|
|
969
|
+
declare function Qa(t: any, e: any): any;
|
|
970
970
|
/**
|
|
971
971
|
* Fails if the given assertion condition is false, throwing an Error with the
|
|
972
972
|
* given message if it did.
|
|
@@ -976,7 +976,7 @@ declare function Ua(t: any, e: any): any;
|
|
|
976
976
|
* happen in this case.
|
|
977
977
|
*
|
|
978
978
|
* @internal
|
|
979
|
-
*/ declare function
|
|
979
|
+
*/ declare function O(t: any, e: any): void;
|
|
980
980
|
/**
|
|
981
981
|
* @license
|
|
982
982
|
* Copyright 2020 Google LLC
|
|
@@ -1002,7 +1002,7 @@ declare function Wt(): boolean;
|
|
|
1002
1002
|
/**
|
|
1003
1003
|
* Validates that two boolean options are not set at the same time.
|
|
1004
1004
|
* @internal
|
|
1005
|
-
*/ declare function
|
|
1005
|
+
*/ declare function qa(t: any, e: any, n: any, s: any): void;
|
|
1006
1006
|
/**
|
|
1007
1007
|
* Add a new document to specified `CollectionReference` with the given data,
|
|
1008
1008
|
* assigning it a document ID automatically.
|
|
@@ -1012,14 +1012,14 @@ declare function Wt(): boolean;
|
|
|
1012
1012
|
* @returns A `Promise` resolved with a `DocumentReference` pointing to the
|
|
1013
1013
|
* newly created document after it has been written to the backend (Note that it
|
|
1014
1014
|
* won't resolve while you're offline).
|
|
1015
|
-
*/ declare function
|
|
1015
|
+
*/ declare function nf(t: any, e: any): Promise<Ja>;
|
|
1016
1016
|
/**
|
|
1017
1017
|
* Compares two 'AggregateField` instances for equality.
|
|
1018
1018
|
*
|
|
1019
1019
|
* @param left Compare this AggregateField to the `right`.
|
|
1020
1020
|
* @param right Compare this AggregateField to the `left`.
|
|
1021
1021
|
* @internal TODO (sum/avg) remove when public
|
|
1022
|
-
*/ declare function
|
|
1022
|
+
*/ declare function Fl(t: any, e: any): boolean;
|
|
1023
1023
|
/**
|
|
1024
1024
|
* Compares two `AggregateQuerySnapshot` instances for equality.
|
|
1025
1025
|
*
|
|
@@ -1031,7 +1031,7 @@ declare function Wt(): boolean;
|
|
|
1031
1031
|
*
|
|
1032
1032
|
* @returns `true` if the objects are "equal", as defined above, or `false`
|
|
1033
1033
|
* otherwise.
|
|
1034
|
-
*/ declare function
|
|
1034
|
+
*/ declare function Bl(t: any, e: any): boolean;
|
|
1035
1035
|
/**
|
|
1036
1036
|
* Creates a new {@link QueryCompositeFilterConstraint} that is a conjunction of
|
|
1037
1037
|
* the given filter constraints. A conjunction filter includes a document if it
|
|
@@ -1042,7 +1042,7 @@ declare function Wt(): boolean;
|
|
|
1042
1042
|
* created with calls to {@link where}, {@link or}, or {@link and}.
|
|
1043
1043
|
* @returns The newly created {@link QueryCompositeFilterConstraint}.
|
|
1044
1044
|
* @internal TODO remove this internal tag with OR Query support in the server
|
|
1045
|
-
*/ declare function
|
|
1045
|
+
*/ declare function _l(...t: any[]): fl;
|
|
1046
1046
|
/**
|
|
1047
1047
|
* Returns a special value that can be used with {@link (setDoc:1)} or {@link
|
|
1048
1048
|
* updateDoc:1} that tells the server to remove the given elements from any
|
|
@@ -1053,7 +1053,7 @@ declare function Wt(): boolean;
|
|
|
1053
1053
|
* @param elements - The elements to remove from the array.
|
|
1054
1054
|
* @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
|
|
1055
1055
|
* `updateDoc()`
|
|
1056
|
-
*/ declare function
|
|
1056
|
+
*/ declare function yf(...t: any[]): Kh;
|
|
1057
1057
|
/**
|
|
1058
1058
|
* Returns a special value that can be used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link
|
|
1059
1059
|
* @firebase/firestore/lite#(updateDoc:1)} that tells the server to union the given elements with any array
|
|
@@ -1065,15 +1065,15 @@ declare function Wt(): boolean;
|
|
|
1065
1065
|
* @param elements - The elements to union into the array.
|
|
1066
1066
|
* @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
|
|
1067
1067
|
* `updateDoc()`.
|
|
1068
|
-
*/ declare function
|
|
1068
|
+
*/ declare function gf(...t: any[]): Uh;
|
|
1069
1069
|
/**
|
|
1070
1070
|
* Create an AggregateField object that can be used to compute the average of
|
|
1071
1071
|
* a specified field over a range of documents in the result set of a query.
|
|
1072
1072
|
* @param field Specifies the field to average across the result set.
|
|
1073
1073
|
* @internal TODO (sum/avg) remove when public
|
|
1074
|
-
*/ declare function
|
|
1075
|
-
declare function
|
|
1076
|
-
declare function
|
|
1074
|
+
*/ declare function Ml(t: any): Rh;
|
|
1075
|
+
declare function mh(t: any): Promise<any>;
|
|
1076
|
+
declare function Xa(t: any, e: any, ...n: any[]): Za;
|
|
1077
1077
|
/**
|
|
1078
1078
|
* Creates and returns a new `Query` instance that includes all documents in the
|
|
1079
1079
|
* database that are contained in a collection or subcollection with the
|
|
@@ -1084,7 +1084,7 @@ declare function Ja(t: any, e: any, ...n: any[]): Ha;
|
|
|
1084
1084
|
* collection or subcollection with this ID as the last segment of its path
|
|
1085
1085
|
* will be included. Cannot contain a slash.
|
|
1086
1086
|
* @returns The created `Query`.
|
|
1087
|
-
*/ declare function
|
|
1087
|
+
*/ declare function th(t: any, e: any): Ya;
|
|
1088
1088
|
/**
|
|
1089
1089
|
* Modify this instance to communicate with the Cloud Firestore emulator.
|
|
1090
1090
|
*
|
|
@@ -1097,19 +1097,19 @@ declare function Ja(t: any, e: any, ...n: any[]): Ha;
|
|
|
1097
1097
|
* @param port - the emulator port (ex: 9000).
|
|
1098
1098
|
* @param options.mockUserToken - the mock auth token to use for unit testing
|
|
1099
1099
|
* Security Rules.
|
|
1100
|
-
*/ declare function
|
|
1100
|
+
*/ declare function Ha(t: any, e: any, n: any, s?: {}): void;
|
|
1101
1101
|
/**
|
|
1102
1102
|
* Create an AggregateField object that can be used to compute the count of
|
|
1103
1103
|
* documents in the result set of a query.
|
|
1104
1104
|
* @internal TODO (sum/avg) remove when public
|
|
1105
|
-
*/ declare function
|
|
1105
|
+
*/ declare function Ol(): Rh;
|
|
1106
1106
|
/**
|
|
1107
1107
|
* Deletes the document referred to by the specified `DocumentReference`.
|
|
1108
1108
|
*
|
|
1109
1109
|
* @param reference - A reference to the document to delete.
|
|
1110
1110
|
* @returns A Promise resolved once the document has been successfully
|
|
1111
1111
|
* deleted from the backend (note that it won't resolve while you're offline).
|
|
1112
|
-
*/ declare function
|
|
1112
|
+
*/ declare function ef(t: any): Promise<any>;
|
|
1113
1113
|
/**
|
|
1114
1114
|
* @license
|
|
1115
1115
|
* Copyright 2020 Google LLC
|
|
@@ -1129,7 +1129,7 @@ declare function Ja(t: any, e: any, ...n: any[]): Ha;
|
|
|
1129
1129
|
/**
|
|
1130
1130
|
* Returns a sentinel for use with {@link @firebase/firestore/lite#(updateDoc:1)} or
|
|
1131
1131
|
* {@link @firebase/firestore/lite#(setDoc:1)} with `{merge: true}` to mark a field for deletion.
|
|
1132
|
-
*/ declare function
|
|
1132
|
+
*/ declare function wf(): Bh;
|
|
1133
1133
|
/**
|
|
1134
1134
|
* Disables network usage for this instance. It can be re-enabled via {@link
|
|
1135
1135
|
* enableNetwork}. While the network is disabled, any snapshot listeners,
|
|
@@ -1137,12 +1137,12 @@ declare function Ja(t: any, e: any, ...n: any[]): Ha;
|
|
|
1137
1137
|
* operations will be queued until the network is restored.
|
|
1138
1138
|
*
|
|
1139
1139
|
* @returns A `Promise` that is resolved once the network has been disabled.
|
|
1140
|
-
*/ declare function
|
|
1141
|
-
declare function
|
|
1140
|
+
*/ declare function ph(t: any): any;
|
|
1141
|
+
declare function eh(t: any, e: any, ...n: any[]): Ja;
|
|
1142
1142
|
/**
|
|
1143
1143
|
* Returns a special sentinel `FieldPath` to refer to the ID of a document.
|
|
1144
1144
|
* It can be used in queries to sort or filter by the document ID.
|
|
1145
|
-
*/ declare function
|
|
1145
|
+
*/ declare function Vh(): vh;
|
|
1146
1146
|
/**
|
|
1147
1147
|
* Attempts to enable persistent storage, if possible.
|
|
1148
1148
|
*
|
|
@@ -1165,7 +1165,7 @@ declare function Za(t: any, e: any, ...n: any[]): za;
|
|
|
1165
1165
|
* @param persistenceSettings - Optional settings object to configure
|
|
1166
1166
|
* persistence.
|
|
1167
1167
|
* @returns A `Promise` that represents successfully enabling persistent storage.
|
|
1168
|
-
*/ declare function
|
|
1168
|
+
*/ declare function dh(t: any, e: any): any;
|
|
1169
1169
|
/**
|
|
1170
1170
|
* Attempts to enable multi-tab persistent storage, if possible. If enabled
|
|
1171
1171
|
* across all tabs, all operations share access to local persistence, including
|
|
@@ -1187,22 +1187,22 @@ declare function Za(t: any, e: any, ...n: any[]): za;
|
|
|
1187
1187
|
* @param firestore - The {@link Firestore} instance to enable persistence for.
|
|
1188
1188
|
* @returns A `Promise` that represents successfully enabling persistent
|
|
1189
1189
|
* storage.
|
|
1190
|
-
*/ declare function
|
|
1190
|
+
*/ declare function _h(t: any): any;
|
|
1191
1191
|
/**
|
|
1192
1192
|
* Re-enables use of the network for this {@link Firestore} instance after a prior
|
|
1193
1193
|
* call to {@link disableNetwork}.
|
|
1194
1194
|
*
|
|
1195
1195
|
* @returns A `Promise` that is resolved once the network has been enabled.
|
|
1196
|
-
*/ declare function
|
|
1197
|
-
declare function
|
|
1198
|
-
declare function
|
|
1196
|
+
*/ declare function yh(t: any): any;
|
|
1197
|
+
declare function Pl(...t: any[]): Al;
|
|
1198
|
+
declare function Rl(...t: any[]): Al;
|
|
1199
1199
|
/**
|
|
1200
1200
|
* @internal
|
|
1201
|
-
*/ declare function
|
|
1201
|
+
*/ declare function lh(t: any): any;
|
|
1202
1202
|
/**
|
|
1203
1203
|
* Locally writes `mutations` on the async queue.
|
|
1204
1204
|
* @internal
|
|
1205
|
-
*/ declare function
|
|
1205
|
+
*/ declare function of(t: any, e: any): Promise<any>;
|
|
1206
1206
|
/**
|
|
1207
1207
|
* Calculates the specified aggregations over the documents in the result
|
|
1208
1208
|
* set of the given query, without actually downloading the documents.
|
|
@@ -1236,7 +1236,7 @@ declare function Tl(...t: any[]): Il;
|
|
|
1236
1236
|
* const averageScore: number | null = aggregateSnapshot.data().averageScore;
|
|
1237
1237
|
* ```
|
|
1238
1238
|
* @internal TODO (sum/avg) remove when public
|
|
1239
|
-
*/ declare function
|
|
1239
|
+
*/ declare function af(t: any, e: any): Promise<Ph>;
|
|
1240
1240
|
/**
|
|
1241
1241
|
* @license
|
|
1242
1242
|
* Copyright 2022 Google LLC
|
|
@@ -1273,7 +1273,7 @@ declare function Tl(...t: any[]): Il;
|
|
|
1273
1273
|
* @returns A Promise that will be resolved with the count; the count can be
|
|
1274
1274
|
* retrieved from `snapshot.data().count`, where `snapshot` is the
|
|
1275
1275
|
* `AggregateQuerySnapshot` to which the returned Promise resolves.
|
|
1276
|
-
*/ declare function
|
|
1276
|
+
*/ declare function cf(t: any): Promise<Ph>;
|
|
1277
1277
|
/**
|
|
1278
1278
|
* @license
|
|
1279
1279
|
* Copyright 2020 Google LLC
|
|
@@ -1301,21 +1301,21 @@ declare function Tl(...t: any[]): Il;
|
|
|
1301
1301
|
* @param reference - The reference of the document to fetch.
|
|
1302
1302
|
* @returns A Promise resolved with a `DocumentSnapshot` containing the
|
|
1303
1303
|
* current document contents.
|
|
1304
|
-
*/ declare function
|
|
1304
|
+
*/ declare function jl(t: any): Promise<ql>;
|
|
1305
1305
|
/**
|
|
1306
1306
|
* Reads the document referred to by this `DocumentReference` from cache.
|
|
1307
1307
|
* Returns an error if the document is not currently cached.
|
|
1308
1308
|
*
|
|
1309
1309
|
* @returns A `Promise` resolved with a `DocumentSnapshot` containing the
|
|
1310
1310
|
* current document contents.
|
|
1311
|
-
*/ declare function
|
|
1311
|
+
*/ declare function Wl(t: any): Promise<ql>;
|
|
1312
1312
|
/**
|
|
1313
1313
|
* Reads the document referred to by this `DocumentReference` from the server.
|
|
1314
1314
|
* Returns an error if the network is not available.
|
|
1315
1315
|
*
|
|
1316
1316
|
* @returns A `Promise` resolved with a `DocumentSnapshot` containing the
|
|
1317
1317
|
* current document contents.
|
|
1318
|
-
*/ declare function
|
|
1318
|
+
*/ declare function Hl(t: any): Promise<ql>;
|
|
1319
1319
|
/**
|
|
1320
1320
|
* Executes the query and returns the results as a `QuerySnapshot`.
|
|
1321
1321
|
*
|
|
@@ -1325,21 +1325,21 @@ declare function Tl(...t: any[]): Il;
|
|
|
1325
1325
|
* invoke {@link getDocsFromCache} or {@link getDocsFromServer}.
|
|
1326
1326
|
*
|
|
1327
1327
|
* @returns A `Promise` that will be resolved with the results of the query.
|
|
1328
|
-
*/ declare function
|
|
1328
|
+
*/ declare function Jl(t: any): Promise<Kl>;
|
|
1329
1329
|
/**
|
|
1330
1330
|
* Executes the query and returns the results as a `QuerySnapshot` from cache.
|
|
1331
1331
|
* Returns an empty result set if no documents matching the query are currently
|
|
1332
1332
|
* cached.
|
|
1333
1333
|
*
|
|
1334
1334
|
* @returns A `Promise` that will be resolved with the results of the query.
|
|
1335
|
-
*/ declare function
|
|
1335
|
+
*/ declare function Yl(t: any): Promise<Kl>;
|
|
1336
1336
|
/**
|
|
1337
1337
|
* Executes the query and returns the results as a `QuerySnapshot` from the
|
|
1338
1338
|
* server. Returns an error if the network is not available.
|
|
1339
1339
|
*
|
|
1340
1340
|
* @returns A `Promise` that will be resolved with the results of the query.
|
|
1341
|
-
*/ declare function
|
|
1342
|
-
declare function
|
|
1341
|
+
*/ declare function Zl(t: any): Promise<Kl>;
|
|
1342
|
+
declare function hh(e: any, n: any): import("../src").Firestore;
|
|
1343
1343
|
/**
|
|
1344
1344
|
* Returns a special value that can be used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link
|
|
1345
1345
|
* @firebase/firestore/lite#(updateDoc:1)} that tells the server to increment the field's current value by
|
|
@@ -1358,7 +1358,7 @@ declare function uh(e: any, n: any): import("../src").Firestore;
|
|
|
1358
1358
|
* @param n - The value to increment by.
|
|
1359
1359
|
* @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
|
|
1360
1360
|
* `updateDoc()`
|
|
1361
|
-
*/ declare function
|
|
1361
|
+
*/ declare function pf(t: any): Gh;
|
|
1362
1362
|
/**
|
|
1363
1363
|
* Initializes a new instance of {@link Firestore} with the provided settings.
|
|
1364
1364
|
* Can only be called before any other function, including
|
|
@@ -1370,14 +1370,14 @@ declare function uh(e: any, n: any): import("../src").Firestore;
|
|
|
1370
1370
|
* @param settings - A settings object to configure the {@link Firestore} instance.
|
|
1371
1371
|
* @param databaseId - The name of database.
|
|
1372
1372
|
* @returns A newly initialized {@link Firestore} instance.
|
|
1373
|
-
*/ declare function
|
|
1373
|
+
*/ declare function ah(t: any, e: any, n: any): import("../src").Firestore;
|
|
1374
1374
|
/**
|
|
1375
1375
|
* Creates a {@link QueryLimitConstraint} that only returns the first matching
|
|
1376
1376
|
* documents.
|
|
1377
1377
|
*
|
|
1378
1378
|
* @param limit - The maximum number of items to return.
|
|
1379
1379
|
* @returns The created {@link QueryLimitConstraint}.
|
|
1380
|
-
*/ declare function
|
|
1380
|
+
*/ declare function yl(t: any): gl;
|
|
1381
1381
|
/**
|
|
1382
1382
|
* Creates a {@link QueryLimitConstraint} that only returns the last matching
|
|
1383
1383
|
* documents.
|
|
@@ -1387,7 +1387,7 @@ declare function uh(e: any, n: any): import("../src").Firestore;
|
|
|
1387
1387
|
*
|
|
1388
1388
|
* @param limit - The maximum number of items to return.
|
|
1389
1389
|
* @returns The created {@link QueryLimitConstraint}.
|
|
1390
|
-
*/ declare function
|
|
1390
|
+
*/ declare function pl(t: any): gl;
|
|
1391
1391
|
/**
|
|
1392
1392
|
* Loads a Firestore bundle into the local cache.
|
|
1393
1393
|
*
|
|
@@ -1398,7 +1398,7 @@ declare function uh(e: any, n: any): import("../src").Firestore;
|
|
|
1398
1398
|
* @returns A `LoadBundleTask` object, which notifies callers with progress
|
|
1399
1399
|
* updates, and completion or error events. It can be used as a
|
|
1400
1400
|
* `Promise<LoadBundleTaskProgress>`.
|
|
1401
|
-
*/ declare function
|
|
1401
|
+
*/ declare function Th(t: any, e: any): oh;
|
|
1402
1402
|
/**
|
|
1403
1403
|
* Reads a Firestore {@link Query} from local cache, identified by the given
|
|
1404
1404
|
* name.
|
|
@@ -1410,9 +1410,9 @@ declare function uh(e: any, n: any): import("../src").Firestore;
|
|
|
1410
1410
|
* @param firestore - The {@link Firestore} instance to read the query from.
|
|
1411
1411
|
* @param name - The name of the query.
|
|
1412
1412
|
* @returns A `Promise` that is resolved with the Query or `null`.
|
|
1413
|
-
*/ declare function
|
|
1414
|
-
declare function
|
|
1415
|
-
declare function
|
|
1413
|
+
*/ declare function Eh(t: any, e: any): any;
|
|
1414
|
+
declare function sf(t: any, ...e: any[]): () => void;
|
|
1415
|
+
declare function rf(t: any, e: any): () => void;
|
|
1416
1416
|
/**
|
|
1417
1417
|
* Creates a new {@link QueryCompositeFilterConstraint} that is a disjunction of
|
|
1418
1418
|
* the given filter constraints. A disjunction filter includes a document if it
|
|
@@ -1423,7 +1423,7 @@ declare function ef(t: any, e: any): () => void;
|
|
|
1423
1423
|
* created with calls to {@link where}, {@link or}, or {@link and}.
|
|
1424
1424
|
* @returns The newly created {@link QueryCompositeFilterConstraint}.
|
|
1425
1425
|
* @internal TODO remove this internal tag with OR Query support in the server
|
|
1426
|
-
*/ declare function
|
|
1426
|
+
*/ declare function dl(...t: any[]): fl;
|
|
1427
1427
|
/**
|
|
1428
1428
|
* Creates a {@link QueryOrderByConstraint} that sorts the query result by the
|
|
1429
1429
|
* specified field, optionally in descending order instead of ascending.
|
|
@@ -1435,8 +1435,8 @@ declare function ef(t: any, e: any): () => void;
|
|
|
1435
1435
|
* @param directionStr - Optional direction to sort by ('asc' or 'desc'). If
|
|
1436
1436
|
* not specified, order will be ascending.
|
|
1437
1437
|
* @returns The created {@link QueryOrderByConstraint}.
|
|
1438
|
-
*/ declare function
|
|
1439
|
-
declare function
|
|
1438
|
+
*/ declare function ml(t: any, e?: string): wl;
|
|
1439
|
+
declare function al(t: any, e: any, ...n: any[]): any;
|
|
1440
1440
|
/**
|
|
1441
1441
|
* Returns true if the provided queries point to the same collection and apply
|
|
1442
1442
|
* the same constraints.
|
|
@@ -1445,7 +1445,7 @@ declare function ol(t: any, e: any, ...n: any[]): any;
|
|
|
1445
1445
|
* @param right - A `Query` to compare.
|
|
1446
1446
|
* @returns true if the references point to the same location in the same
|
|
1447
1447
|
* Firestore database.
|
|
1448
|
-
*/ declare function
|
|
1448
|
+
*/ declare function sh(t: any, e: any): boolean;
|
|
1449
1449
|
/**
|
|
1450
1450
|
* Returns true if the provided references are equal.
|
|
1451
1451
|
*
|
|
@@ -1453,7 +1453,7 @@ declare function ol(t: any, e: any, ...n: any[]): any;
|
|
|
1453
1453
|
* @param right - A reference to compare.
|
|
1454
1454
|
* @returns true if the references point to the same location in the same
|
|
1455
1455
|
* Firestore database.
|
|
1456
|
-
*/ declare function
|
|
1456
|
+
*/ declare function nh(t: any, e: any): boolean;
|
|
1457
1457
|
/**
|
|
1458
1458
|
* Executes the given `updateFunction` and then attempts to commit the changes
|
|
1459
1459
|
* applied within the transaction. If any document read within the transaction
|
|
@@ -1472,12 +1472,12 @@ declare function ol(t: any, e: any, ...n: any[]): any;
|
|
|
1472
1472
|
* (the `updateFunction` returned a failed promise), the promise returned by the
|
|
1473
1473
|
* `updateFunction `is returned here. Otherwise, if the transaction failed, a
|
|
1474
1474
|
* rejected promise with the corresponding failure error is returned.
|
|
1475
|
-
*/ declare function
|
|
1475
|
+
*/ declare function _f(t: any, e: any, n: any): Promise<any>;
|
|
1476
1476
|
/**
|
|
1477
1477
|
* Returns a sentinel used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link @firebase/firestore/lite#(updateDoc:1)} to
|
|
1478
1478
|
* include a server-generated timestamp in the written data.
|
|
1479
|
-
*/ declare function
|
|
1480
|
-
declare function
|
|
1479
|
+
*/ declare function mf(): qh;
|
|
1480
|
+
declare function Xl(t: any, e: any, n: any): Promise<any>;
|
|
1481
1481
|
/**
|
|
1482
1482
|
* @license
|
|
1483
1483
|
* Copyright 2021 Google LLC
|
|
@@ -1493,7 +1493,7 @@ declare function Jl(t: any, e: any, n: any): Promise<any>;
|
|
|
1493
1493
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1494
1494
|
* See the License for the specific language governing permissions and
|
|
1495
1495
|
* limitations under the License.
|
|
1496
|
-
*/ declare function
|
|
1496
|
+
*/ declare function Tf(t: any, e: any): Promise<any>;
|
|
1497
1497
|
/**
|
|
1498
1498
|
* Sets the verbosity of Cloud Firestore logs (debug, error, or silent).
|
|
1499
1499
|
*
|
|
@@ -1513,9 +1513,9 @@ declare function Jl(t: any, e: any, n: any): Promise<any>;
|
|
|
1513
1513
|
* @param left - A snapshot to compare.
|
|
1514
1514
|
* @param right - A snapshot to compare.
|
|
1515
1515
|
* @returns true if the snapshots are equal.
|
|
1516
|
-
*/ declare function
|
|
1517
|
-
declare function
|
|
1518
|
-
declare function
|
|
1516
|
+
*/ declare function Ql(t: any, e: any): any;
|
|
1517
|
+
declare function El(...t: any[]): Il;
|
|
1518
|
+
declare function Tl(...t: any[]): Il;
|
|
1519
1519
|
/**
|
|
1520
1520
|
* @license
|
|
1521
1521
|
* Copyright 2022 Google LLC
|
|
@@ -1537,7 +1537,7 @@ declare function yl(...t: any[]): gl;
|
|
|
1537
1537
|
* a specified field over a range of documents in the result set of a query.
|
|
1538
1538
|
* @param field Specifies the field to sum across the result set.
|
|
1539
1539
|
* @internal TODO (sum/avg) remove when public
|
|
1540
|
-
*/ declare function
|
|
1540
|
+
*/ declare function $l(t: any): Rh;
|
|
1541
1541
|
/**
|
|
1542
1542
|
* Terminates the provided {@link Firestore} instance.
|
|
1543
1543
|
*
|
|
@@ -1559,8 +1559,8 @@ declare function yl(...t: any[]): gl;
|
|
|
1559
1559
|
*
|
|
1560
1560
|
* @returns A `Promise` that is resolved when the instance has been successfully
|
|
1561
1561
|
* terminated.
|
|
1562
|
-
*/ declare function
|
|
1563
|
-
declare function
|
|
1562
|
+
*/ declare function Ih(t: any): any;
|
|
1563
|
+
declare function tf(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
1564
1564
|
/**
|
|
1565
1565
|
* Waits until all currently pending writes for the active user have been
|
|
1566
1566
|
* acknowledged by the backend.
|
|
@@ -1576,7 +1576,7 @@ declare function Yl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1576
1576
|
*
|
|
1577
1577
|
* @returns A `Promise` which resolves when all currently pending writes have been
|
|
1578
1578
|
* acknowledged by the backend.
|
|
1579
|
-
*/ declare function
|
|
1579
|
+
*/ declare function gh(t: any): Promise<any>;
|
|
1580
1580
|
/**
|
|
1581
1581
|
* Creates a {@link QueryFieldFilterConstraint} that enforces that documents
|
|
1582
1582
|
* must contain the specified field and that the value should satisfy the
|
|
@@ -1587,7 +1587,7 @@ declare function Yl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1587
1587
|
* "<=", "!=").
|
|
1588
1588
|
* @param value - The value for comparison
|
|
1589
1589
|
* @returns The created {@link QueryFieldFilterConstraint}.
|
|
1590
|
-
*/ declare function
|
|
1590
|
+
*/ declare function ll(t: any, e: any, n: any): hl;
|
|
1591
1591
|
/**
|
|
1592
1592
|
* @license
|
|
1593
1593
|
* Copyright 2020 Google LLC
|
|
@@ -1614,7 +1614,7 @@ declare function Yl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1614
1614
|
*
|
|
1615
1615
|
* @returns A {@link WriteBatch} that can be used to atomically execute multiple
|
|
1616
1616
|
* writes.
|
|
1617
|
-
*/ declare function
|
|
1617
|
+
*/ declare function If(t: any): lf;
|
|
1618
1618
|
/**
|
|
1619
1619
|
* @license
|
|
1620
1620
|
* Copyright 2020 Google LLC
|
|
@@ -1639,7 +1639,7 @@ declare function Yl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1639
1639
|
* For a `DocumentSnapshot` that points to a non-existing document, any data
|
|
1640
1640
|
* access will return 'undefined'. You can use the `exists()` method to
|
|
1641
1641
|
* explicitly verify a document's existence.
|
|
1642
|
-
*/ declare class
|
|
1642
|
+
*/ declare class sl {
|
|
1643
1643
|
/** @hideconstructor protected */
|
|
1644
1644
|
constructor(t: any, e: any, n: any, s: any, i: any);
|
|
1645
1645
|
_firestore: any;
|
|
@@ -1650,7 +1650,7 @@ declare function Yl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1650
1650
|
/** Property of the `DocumentSnapshot` that provides the document's ID. */ get id(): any;
|
|
1651
1651
|
/**
|
|
1652
1652
|
* The `DocumentReference` for the document included in the `DocumentSnapshot`.
|
|
1653
|
-
*/ get ref():
|
|
1653
|
+
*/ get ref(): Ja;
|
|
1654
1654
|
/**
|
|
1655
1655
|
* Signals whether or not the document at the snapshot's location exists.
|
|
1656
1656
|
*
|
|
@@ -1694,7 +1694,7 @@ declare function Yl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1694
1694
|
* The Cloud Firestore service interface.
|
|
1695
1695
|
*
|
|
1696
1696
|
* Do not call this constructor directly. Instead, use {@link (getFirestore:1)}.
|
|
1697
|
-
*/ declare class
|
|
1697
|
+
*/ declare class Wa {
|
|
1698
1698
|
/** @hideconstructor */
|
|
1699
1699
|
constructor(t: any, e: any, n: any, s: any);
|
|
1700
1700
|
_authCredentials: any;
|
|
@@ -1706,7 +1706,7 @@ declare function Yl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1706
1706
|
*/
|
|
1707
1707
|
type: string;
|
|
1708
1708
|
_persistenceKey: string;
|
|
1709
|
-
_settings:
|
|
1709
|
+
_settings: za;
|
|
1710
1710
|
_settingsFrozen: boolean;
|
|
1711
1711
|
/**
|
|
1712
1712
|
* The {@link @firebase/app#FirebaseApp} associated with this `Firestore` service
|
|
@@ -1715,14 +1715,14 @@ declare function Yl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1715
1715
|
get _initialized(): boolean;
|
|
1716
1716
|
get _terminated(): boolean;
|
|
1717
1717
|
_setSettings(t: any): void;
|
|
1718
|
-
_getSettings():
|
|
1719
|
-
_freezeSettings():
|
|
1718
|
+
_getSettings(): za;
|
|
1719
|
+
_freezeSettings(): za;
|
|
1720
1720
|
_delete(): Promise<void>;
|
|
1721
1721
|
_terminateTask: Promise<void> | undefined;
|
|
1722
1722
|
/** Returns a JSON-serializable representation of this `Firestore` instance. */ toJSON(): {
|
|
1723
1723
|
app: any;
|
|
1724
1724
|
databaseId: any;
|
|
1725
|
-
settings:
|
|
1725
|
+
settings: za;
|
|
1726
1726
|
};
|
|
1727
1727
|
/**
|
|
1728
1728
|
* Terminates all components used by this client. Subclasses can override
|
|
@@ -1747,7 +1747,7 @@ declare function Yl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1747
1747
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1748
1748
|
* See the License for the specific language governing permissions and
|
|
1749
1749
|
* limitations under the License.
|
|
1750
|
-
*/ declare class
|
|
1750
|
+
*/ declare class ih {
|
|
1751
1751
|
qc: Promise<void>;
|
|
1752
1752
|
Uc: any[];
|
|
1753
1753
|
Kc: boolean;
|
|
@@ -1756,7 +1756,7 @@ declare function Yl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1756
1756
|
jc: boolean;
|
|
1757
1757
|
zc: boolean;
|
|
1758
1758
|
Wc: any[];
|
|
1759
|
-
ko:
|
|
1759
|
+
ko: vu;
|
|
1760
1760
|
Hc: () => void;
|
|
1761
1761
|
get isShuttingDown(): boolean;
|
|
1762
1762
|
/**
|
|
@@ -1772,7 +1772,7 @@ declare function Yl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1772
1772
|
* reschedules with backoff.
|
|
1773
1773
|
*/ Zc(): Promise<void>;
|
|
1774
1774
|
Yc(t: any): Promise<any>;
|
|
1775
|
-
enqueueAfterDelay(t: any, e: any, n: any):
|
|
1775
|
+
enqueueAfterDelay(t: any, e: any, n: any): ac;
|
|
1776
1776
|
Jc(): void;
|
|
1777
1777
|
verifyOperationInProgress(): void;
|
|
1778
1778
|
/**
|
|
@@ -1819,9 +1819,9 @@ import { FirebaseError as c } from "@firebase/util/dist/src/errors";
|
|
|
1819
1819
|
/**
|
|
1820
1820
|
* An `AppliableConstraint` is an abstraction of a constraint that can be applied
|
|
1821
1821
|
* to a Firestore query.
|
|
1822
|
-
*/ declare class
|
|
1822
|
+
*/ declare class ul {
|
|
1823
1823
|
}
|
|
1824
|
-
declare class Ve extends
|
|
1824
|
+
declare class Ve extends ve {
|
|
1825
1825
|
/**
|
|
1826
1826
|
* Creates a filter based on the provided arguments.
|
|
1827
1827
|
*/ static create(t: any, e: any, n: any): Ve | Be | Qe;
|
|
@@ -1849,12 +1849,12 @@ declare class Ve extends Pe {
|
|
|
1849
1849
|
/**
|
|
1850
1850
|
* Helper for parsing raw user input (provided via the API) into internal model
|
|
1851
1851
|
* classes.
|
|
1852
|
-
*/ declare class
|
|
1852
|
+
*/ declare class Mh {
|
|
1853
1853
|
constructor(t: any, e: any, n: any);
|
|
1854
1854
|
databaseId: any;
|
|
1855
1855
|
ignoreUndefinedProperties: any;
|
|
1856
1856
|
Tt: any;
|
|
1857
|
-
/** Creates a new top-level parse context. */ wa(t: any, e: any, n: any, s?: boolean):
|
|
1857
|
+
/** Creates a new top-level parse context. */ wa(t: any, e: any, n: any, s?: boolean): $h;
|
|
1858
1858
|
}
|
|
1859
1859
|
declare class W {
|
|
1860
1860
|
constructor(t: any);
|
|
@@ -1902,29 +1902,29 @@ declare class it {
|
|
|
1902
1902
|
forEach(t: any): void;
|
|
1903
1903
|
toArray(): any;
|
|
1904
1904
|
}
|
|
1905
|
-
declare class
|
|
1905
|
+
declare class Kh extends Sh {
|
|
1906
1906
|
constructor(t: any, e: any);
|
|
1907
1907
|
ma: any;
|
|
1908
1908
|
_toFieldTransform(t: any): jn;
|
|
1909
1909
|
isEqual(t: any): boolean;
|
|
1910
1910
|
}
|
|
1911
|
-
declare class
|
|
1911
|
+
declare class Uh extends Sh {
|
|
1912
1912
|
constructor(t: any, e: any);
|
|
1913
1913
|
ma: any;
|
|
1914
1914
|
_toFieldTransform(t: any): jn;
|
|
1915
1915
|
isEqual(t: any): boolean;
|
|
1916
1916
|
}
|
|
1917
|
-
declare class
|
|
1917
|
+
declare class Bh extends Sh {
|
|
1918
1918
|
_toFieldTransform(t: any): null;
|
|
1919
1919
|
isEqual(t: any): boolean;
|
|
1920
1920
|
}
|
|
1921
|
-
declare class
|
|
1921
|
+
declare class Gh extends Sh {
|
|
1922
1922
|
constructor(t: any, e: any);
|
|
1923
1923
|
ga: any;
|
|
1924
1924
|
_toFieldTransform(t: any): jn;
|
|
1925
1925
|
isEqual(t: any): boolean;
|
|
1926
1926
|
}
|
|
1927
|
-
declare class
|
|
1927
|
+
declare class qh extends Sh {
|
|
1928
1928
|
_toFieldTransform(t: any): jn;
|
|
1929
1929
|
isEqual(t: any): boolean;
|
|
1930
1930
|
}
|
|
@@ -1949,7 +1949,7 @@ declare class $h extends vh {
|
|
|
1949
1949
|
* user-supplied `FirestoreSettings` object. This is a separate type so that
|
|
1950
1950
|
* defaults can be supplied and the value can be checked for equality.
|
|
1951
1951
|
*/
|
|
1952
|
-
declare class
|
|
1952
|
+
declare class za {
|
|
1953
1953
|
constructor(t: any);
|
|
1954
1954
|
host: any;
|
|
1955
1955
|
ssl: any;
|
|
@@ -1986,7 +1986,7 @@ declare class Ga {
|
|
|
1986
1986
|
* base delay. This prevents clients from accidentally synchronizing their
|
|
1987
1987
|
* delays causing spikes of load to the backend.
|
|
1988
1988
|
*/
|
|
1989
|
-
declare class
|
|
1989
|
+
declare class vu {
|
|
1990
1990
|
constructor(t: any, e: any, n?: number, s?: number, i?: number);
|
|
1991
1991
|
Ys: any;
|
|
1992
1992
|
timerId: any;
|
|
@@ -2007,15 +2007,15 @@ declare class Ru {
|
|
|
2007
2007
|
/**
|
|
2008
2008
|
* Resets the backoff delay to the maximum delay (e.g. for use after a
|
|
2009
2009
|
* RESOURCE_EXHAUSTED error).
|
|
2010
|
-
*/
|
|
2010
|
+
*/ Po(): void;
|
|
2011
2011
|
/**
|
|
2012
2012
|
* Returns a promise that resolves after currentDelayMs, and increases the
|
|
2013
2013
|
* delay for any subsequent attempts. If there was a pending backoff operation
|
|
2014
2014
|
* already, it will be canceled.
|
|
2015
|
-
*/
|
|
2015
|
+
*/ bo(t: any): void;
|
|
2016
2016
|
Vo(): void;
|
|
2017
2017
|
cancel(): void;
|
|
2018
|
-
/** Returns a random value in the range [-currentBaseMs/2, currentBaseMs/2] */
|
|
2018
|
+
/** Returns a random value in the range [-currentBaseMs/2, currentBaseMs/2] */ vo(): number;
|
|
2019
2019
|
}
|
|
2020
2020
|
/**
|
|
2021
2021
|
* @license
|
|
@@ -2044,7 +2044,7 @@ declare class Ru {
|
|
|
2044
2044
|
* in newer versions of TypeScript defines `finally`, which is not available in
|
|
2045
2045
|
* IE.
|
|
2046
2046
|
*/
|
|
2047
|
-
declare class
|
|
2047
|
+
declare class ac {
|
|
2048
2048
|
/**
|
|
2049
2049
|
* Creates and returns a DelayedOperation that has been scheduled to be
|
|
2050
2050
|
* executed on the provided asyncQueue after the provided delayMs.
|
|
@@ -2058,7 +2058,7 @@ declare class oc {
|
|
|
2058
2058
|
* from its delayedOperations list.
|
|
2059
2059
|
* PORTING NOTE: This exists to prevent making removeDelayedOperation() and
|
|
2060
2060
|
* the DelayedOperation class public.
|
|
2061
|
-
*/ static createAndSchedule(t: any, e: any, n: any, s: any, i: any):
|
|
2061
|
+
*/ static createAndSchedule(t: any, e: any, n: any, s: any, i: any): ac;
|
|
2062
2062
|
constructor(t: any, e: any, n: any, s: any, i: any);
|
|
2063
2063
|
asyncQueue: any;
|
|
2064
2064
|
timerId: any;
|
|
@@ -2101,14 +2101,14 @@ declare class oc {
|
|
|
2101
2101
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
2102
2102
|
* See the License for the specific language governing permissions and
|
|
2103
2103
|
* limitations under the License.
|
|
2104
|
-
*/ declare class
|
|
2104
|
+
*/ declare class ve {
|
|
2105
2105
|
}
|
|
2106
2106
|
/** Filter that matches on key fields not present within an array. */ declare class Le extends Ve {
|
|
2107
2107
|
constructor(t: any, e: any);
|
|
2108
2108
|
keys: any;
|
|
2109
2109
|
matches(t: any): boolean;
|
|
2110
2110
|
}
|
|
2111
|
-
/** A "context" object passed around while parsing user data. */ declare class
|
|
2111
|
+
/** A "context" object passed around while parsing user data. */ declare class $h {
|
|
2112
2112
|
/**
|
|
2113
2113
|
* Initializes a ParseContext with the given source and path.
|
|
2114
2114
|
*
|
|
@@ -2136,10 +2136,10 @@ declare class oc {
|
|
|
2136
2136
|
fieldMask: any;
|
|
2137
2137
|
get path(): any;
|
|
2138
2138
|
get ra(): any;
|
|
2139
|
-
/** Returns a new context with the specified settings overwritten. */ oa(t: any):
|
|
2140
|
-
ua(t: any):
|
|
2141
|
-
ha(t: any):
|
|
2142
|
-
la(t: any):
|
|
2139
|
+
/** Returns a new context with the specified settings overwritten. */ oa(t: any): $h;
|
|
2140
|
+
ua(t: any): $h;
|
|
2141
|
+
ha(t: any): $h;
|
|
2142
|
+
la(t: any): $h;
|
|
2143
2143
|
fa(t: any): L;
|
|
2144
2144
|
/** Returns 'true' if 'fieldPath' was traversed when creating this context. */ contains(t: any): boolean;
|
|
2145
2145
|
ia(): void;
|
|
@@ -2166,4 +2166,4 @@ declare class oc {
|
|
|
2166
2166
|
field: any;
|
|
2167
2167
|
transform: any;
|
|
2168
2168
|
}
|
|
2169
|
-
export {
|
|
2169
|
+
export { xl as AbstractUserDataWriter, Rh as AggregateField, Ph as AggregateQuerySnapshot, bh as Bytes, uh as CACHE_SIZE_UNLIMITED, Za as CollectionReference, Ja as DocumentReference, ql as DocumentSnapshot, vh as FieldPath, Sh as FieldValue, ch as Firestore, L as FirestoreError, Dh as GeoPoint, oh as LoadBundleTask, Ya as Query, fl as QueryCompositeFilterConstraint, cl as QueryConstraint, Ul as QueryDocumentSnapshot, Al as QueryEndAtConstraint, hl as QueryFieldFilterConstraint, gl as QueryLimitConstraint, wl as QueryOrderByConstraint, Kl as QuerySnapshot, Il as QueryStartAtConstraint, Ll as SnapshotMetadata, nt as Timestamp, df as Transaction, lf as WriteBatch, Lt as _DatabaseId, ct as _DocumentKey, J as _EmptyAppCheckTokenProvider, K as _EmptyAuthCredentialsProvider, ut as _FieldPath, Qa as _cast, O as _debugAssert, Wt as _isBase64Available, N as _logWarn, qa as _validateIsNotUsedTogether, nf as addDoc, Fl as aggregateFieldEqual, Bl as aggregateQuerySnapshotEqual, _l as and, yf as arrayRemove, gf as arrayUnion, Ml as average, mh as clearIndexedDbPersistence, Xa as collection, th as collectionGroup, Ha as connectFirestoreEmulator, Ol as count, ef as deleteDoc, wf as deleteField, ph as disableNetwork, eh as doc, Vh as documentId, dh as enableIndexedDbPersistence, _h as enableMultiTabIndexedDbPersistence, yh as enableNetwork, Pl as endAt, Rl as endBefore, lh as ensureFirestoreConfigured, of as executeWrite, af as getAggregateFromServer, cf as getCountFromServer, jl as getDoc, Wl as getDocFromCache, Hl as getDocFromServer, Jl as getDocs, Yl as getDocsFromCache, Zl as getDocsFromServer, hh as getFirestore, pf as increment, ah as initializeFirestore, yl as limit, pl as limitToLast, Th as loadBundle, Eh as namedQuery, sf as onSnapshot, rf as onSnapshotsInSync, dl as or, ml as orderBy, al as query, sh as queryEqual, nh as refEqual, _f as runTransaction, mf as serverTimestamp, Xl as setDoc, Tf as setIndexConfiguration, D as setLogLevel, Ql as snapshotEqual, El as startAfter, Tl as startAt, $l as sum, Ih as terminate, tf as updateDoc, gh as waitForPendingWrites, ll as where, If as writeBatch };
|