@firebase/firestore 3.7.3-canary.ab3f16cba → 3.7.3-canary.fde5adf63
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/lite/index.d.ts +1 -1
- package/dist/firestore/src/api/filter.d.ts +1 -1
- package/dist/firestore/src/api.d.ts +1 -1
- package/dist/firestore/src/core/bound.d.ts +49 -0
- package/dist/firestore/src/core/filter.d.ts +134 -0
- package/dist/firestore/src/core/order_by.d.ts +35 -0
- package/dist/firestore/src/core/query.d.ts +5 -6
- package/dist/firestore/src/core/target.d.ts +4 -120
- package/dist/firestore/src/lite-api/query.d.ts +273 -66
- package/dist/firestore/src/local/indexeddb_index_manager.d.ts +2 -0
- package/dist/firestore/src/protos/firestore_proto_api.d.ts +1 -1
- package/dist/firestore/src/remote/serializer.d.ts +10 -3
- package/dist/firestore/src/util/logic_utils.d.ts +52 -0
- package/dist/firestore/test/unit/core/filter.test.d.ts +17 -0
- package/dist/firestore/test/unit/util/logic_utils.test.d.ts +17 -0
- package/dist/firestore/test/util/helpers.d.ts +5 -1
- package/dist/index.d.ts +138 -62
- package/dist/index.esm2017.js +4046 -3512
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +4366 -3816
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +1291 -555
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.node.mjs +1284 -556
- package/dist/index.node.mjs.map +1 -1
- package/dist/index.rn.js +4145 -3611
- package/dist/index.rn.js.map +1 -1
- package/dist/internal.d.ts +320 -65
- package/dist/lite/firestore/lite/index.d.ts +1 -1
- package/dist/lite/firestore/src/api/filter.d.ts +1 -1
- package/dist/lite/firestore/src/api.d.ts +1 -1
- package/dist/lite/firestore/src/core/bound.d.ts +49 -0
- package/dist/lite/firestore/src/core/filter.d.ts +134 -0
- package/dist/lite/firestore/src/core/order_by.d.ts +35 -0
- package/dist/lite/firestore/src/core/query.d.ts +5 -6
- package/dist/lite/firestore/src/core/target.d.ts +4 -120
- package/dist/lite/firestore/src/lite-api/query.d.ts +273 -66
- package/dist/lite/firestore/src/local/indexeddb_index_manager.d.ts +2 -0
- package/dist/lite/firestore/src/protos/firestore_proto_api.d.ts +1 -1
- package/dist/lite/firestore/src/remote/serializer.d.ts +10 -3
- package/dist/lite/firestore/src/util/logic_utils.d.ts +52 -0
- package/dist/lite/firestore/test/unit/core/filter.test.d.ts +17 -0
- package/dist/lite/firestore/test/unit/util/logic_utils.test.d.ts +17 -0
- package/dist/lite/firestore/test/util/helpers.d.ts +5 -1
- package/dist/lite/index.browser.esm2017.js +2119 -1843
- package/dist/lite/index.browser.esm2017.js.map +1 -1
- package/dist/lite/index.browser.esm5.js +1957 -1737
- package/dist/lite/index.browser.esm5.js.map +1 -1
- package/dist/lite/index.d.ts +138 -62
- package/dist/lite/index.node.cjs.js +2093 -1717
- package/dist/lite/index.node.cjs.js.map +1 -1
- package/dist/lite/index.node.mjs +2086 -1718
- package/dist/lite/index.node.mjs.map +1 -1
- package/dist/lite/index.rn.esm2017.js +2118 -1841
- package/dist/lite/index.rn.esm2017.js.map +1 -1
- package/dist/lite/internal.d.ts +320 -65
- package/dist/lite/packages/firestore/dist/lite/index.browser.esm2017.d.ts +320 -175
- package/dist/lite/packages/firestore/lite/index.d.ts +1 -1
- package/dist/lite/packages/firestore/src/api/filter.d.ts +1 -1
- package/dist/lite/packages/firestore/src/api.d.ts +1 -1
- package/dist/lite/packages/firestore/src/core/bound.d.ts +49 -0
- package/dist/lite/packages/firestore/src/core/filter.d.ts +134 -0
- package/dist/lite/packages/firestore/src/core/order_by.d.ts +35 -0
- package/dist/lite/packages/firestore/src/core/query.d.ts +5 -6
- package/dist/lite/packages/firestore/src/core/target.d.ts +4 -120
- package/dist/lite/packages/firestore/src/lite-api/query.d.ts +273 -66
- package/dist/lite/packages/firestore/src/local/indexeddb_index_manager.d.ts +2 -0
- package/dist/lite/packages/firestore/src/protos/firestore_proto_api.d.ts +1 -1
- package/dist/lite/packages/firestore/src/remote/serializer.d.ts +10 -3
- package/dist/lite/packages/firestore/src/util/logic_utils.d.ts +52 -0
- package/dist/lite/packages/firestore/test/unit/core/filter.test.d.ts +17 -0
- package/dist/lite/packages/firestore/test/unit/util/logic_utils.test.d.ts +17 -0
- package/dist/lite/packages/firestore/test/util/helpers.d.ts +5 -1
- package/dist/lite/private.d.ts +232 -65
- package/dist/packages/firestore/dist/index.esm2017.d.ts +333 -209
- package/dist/packages/firestore/lite/index.d.ts +1 -1
- package/dist/packages/firestore/src/api/filter.d.ts +1 -1
- package/dist/packages/firestore/src/api.d.ts +1 -1
- package/dist/packages/firestore/src/core/bound.d.ts +49 -0
- package/dist/packages/firestore/src/core/filter.d.ts +134 -0
- package/dist/packages/firestore/src/core/order_by.d.ts +35 -0
- package/dist/packages/firestore/src/core/query.d.ts +5 -6
- package/dist/packages/firestore/src/core/target.d.ts +4 -120
- package/dist/packages/firestore/src/lite-api/query.d.ts +273 -66
- package/dist/packages/firestore/src/local/indexeddb_index_manager.d.ts +2 -0
- package/dist/packages/firestore/src/protos/firestore_proto_api.d.ts +1 -1
- package/dist/packages/firestore/src/remote/serializer.d.ts +10 -3
- package/dist/packages/firestore/src/util/logic_utils.d.ts +52 -0
- package/dist/packages/firestore/test/unit/core/filter.test.d.ts +17 -0
- package/dist/packages/firestore/test/unit/util/logic_utils.test.d.ts +17 -0
- package/dist/packages/firestore/test/util/helpers.d.ts +5 -1
- package/dist/private.d.ts +232 -65
- package/package.json +11 -9
|
@@ -1,28 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2020 Google LLC
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
17
|
-
/**
|
|
18
|
-
* Converts Firestore's internal types to the JavaScript types that we expose
|
|
19
|
-
* to the user.
|
|
20
|
-
*
|
|
21
|
-
* @internal
|
|
22
|
-
*/ declare class tl {
|
|
1
|
+
declare class Pl {
|
|
23
2
|
convertValue(t: any, e?: string): any;
|
|
24
3
|
convertObject(t: any, e: any): {};
|
|
25
|
-
convertGeoPoint(t: any):
|
|
4
|
+
convertGeoPoint(t: any): Rh;
|
|
26
5
|
convertArray(t: any, e: any): any;
|
|
27
6
|
convertServerTimestamp(t: any, e: any): any;
|
|
28
7
|
convertTimestamp(t: any): nt;
|
|
@@ -47,13 +26,13 @@
|
|
|
47
26
|
/**
|
|
48
27
|
* Represents an aggregation that can be performed by Firestore.
|
|
49
28
|
*/
|
|
50
|
-
declare class
|
|
29
|
+
declare class Sa {
|
|
51
30
|
/** A type string to uniquely identify instances of this class. */
|
|
52
31
|
type: string;
|
|
53
32
|
}
|
|
54
33
|
/**
|
|
55
34
|
* The results of executing an aggregation query.
|
|
56
|
-
*/ declare class
|
|
35
|
+
*/ declare class Da {
|
|
57
36
|
/** @hideconstructor */
|
|
58
37
|
constructor(t: any, e: any);
|
|
59
38
|
_data: any;
|
|
@@ -107,18 +86,18 @@ declare class aa {
|
|
|
107
86
|
/**
|
|
108
87
|
* An immutable object representing an array of bytes.
|
|
109
88
|
*/
|
|
110
|
-
declare class
|
|
89
|
+
declare class Ih {
|
|
111
90
|
/**
|
|
112
91
|
* Creates a new `Bytes` object from the given Base64 string, converting it to
|
|
113
92
|
* bytes.
|
|
114
93
|
*
|
|
115
94
|
* @param base64 - The Base64 string used to create the `Bytes` object.
|
|
116
|
-
*/ static fromBase64String(t: any):
|
|
95
|
+
*/ static fromBase64String(t: any): Ih;
|
|
117
96
|
/**
|
|
118
97
|
* Creates a new `Bytes` object from the given Uint8Array.
|
|
119
98
|
*
|
|
120
99
|
* @param array - The Uint8Array used to create the `Bytes` object.
|
|
121
|
-
*/ static fromUint8Array(t: any):
|
|
100
|
+
*/ static fromUint8Array(t: any): Ih;
|
|
122
101
|
/** @hideconstructor */
|
|
123
102
|
constructor(t: any);
|
|
124
103
|
_byteString: any;
|
|
@@ -160,11 +139,11 @@ declare class th {
|
|
|
160
139
|
* See the License for the specific language governing permissions and
|
|
161
140
|
* limitations under the License.
|
|
162
141
|
*/
|
|
163
|
-
/** DOMException error code constants. */ declare const
|
|
142
|
+
/** DOMException error code constants. */ declare const sh: -1;
|
|
164
143
|
/**
|
|
165
144
|
* A `CollectionReference` object can be used for adding documents, getting
|
|
166
145
|
* document references, and querying for documents (using {@link query}).
|
|
167
|
-
*/ declare class
|
|
146
|
+
*/ declare class Ia extends pa {
|
|
168
147
|
_path: any;
|
|
169
148
|
/** The collection's identifier. */ get id(): any;
|
|
170
149
|
/**
|
|
@@ -174,8 +153,8 @@ declare class th {
|
|
|
174
153
|
/**
|
|
175
154
|
* A reference to the containing `DocumentReference` if this is a
|
|
176
155
|
* subcollection. If this isn't a subcollection, the reference is null.
|
|
177
|
-
*/ get parent():
|
|
178
|
-
withConverter(t: any):
|
|
156
|
+
*/ get parent(): ya | null;
|
|
157
|
+
withConverter(t: any): Ia;
|
|
179
158
|
}
|
|
180
159
|
/**
|
|
181
160
|
* @license
|
|
@@ -197,7 +176,7 @@ declare class th {
|
|
|
197
176
|
* A `DocumentReference` refers to a document location in a Firestore database
|
|
198
177
|
* and can be used to write, read, or listen to the location. The document at
|
|
199
178
|
* the referenced location may or may not exist.
|
|
200
|
-
*/ declare class
|
|
179
|
+
*/ declare class ya {
|
|
201
180
|
/** @hideconstructor */
|
|
202
181
|
constructor(t: any, e: any, n: any);
|
|
203
182
|
converter: any;
|
|
@@ -215,8 +194,8 @@ declare class th {
|
|
|
215
194
|
*/ get path(): any;
|
|
216
195
|
/**
|
|
217
196
|
* The collection this `DocumentReference` belongs to.
|
|
218
|
-
*/ get parent():
|
|
219
|
-
withConverter(t: any):
|
|
197
|
+
*/ get parent(): Ia;
|
|
198
|
+
withConverter(t: any): ya;
|
|
220
199
|
}
|
|
221
200
|
/**
|
|
222
201
|
* A `DocumentSnapshot` contains data read from a document in your Firestore
|
|
@@ -226,7 +205,7 @@ declare class th {
|
|
|
226
205
|
* For a `DocumentSnapshot` that points to a non-existing document, any data
|
|
227
206
|
* access will return 'undefined'. You can use the `exists()` method to
|
|
228
207
|
* explicitly verify a document's existence.
|
|
229
|
-
*/ declare class
|
|
208
|
+
*/ declare class Dl extends Yh {
|
|
230
209
|
/** @hideconstructor protected */
|
|
231
210
|
constructor(t: any, e: any, n: any, s: any, i: any, r: any);
|
|
232
211
|
_firestoreImpl: any;
|
|
@@ -286,7 +265,7 @@ declare class th {
|
|
|
286
265
|
*
|
|
287
266
|
* Create a `FieldPath` by providing field names. If more than one field
|
|
288
267
|
* name is provided, the path will point to a nested field in a document.
|
|
289
|
-
*/ declare class
|
|
268
|
+
*/ declare class Th {
|
|
290
269
|
/**
|
|
291
270
|
* Creates a `FieldPath` from the provided field names. If more than one field
|
|
292
271
|
* name is provided, the path will point to a nested field in a document.
|
|
@@ -321,7 +300,7 @@ declare class th {
|
|
|
321
300
|
/**
|
|
322
301
|
* Sentinel values that can be used when writing document fields with `set()`
|
|
323
302
|
* or `update()`.
|
|
324
|
-
*/ declare class
|
|
303
|
+
*/ declare class Ah {
|
|
325
304
|
/**
|
|
326
305
|
* @param _methodName - The public API endpoint that returns this class.
|
|
327
306
|
* @hideconstructor
|
|
@@ -334,8 +313,8 @@ declare class th {
|
|
|
334
313
|
*
|
|
335
314
|
* Do not call this constructor directly. Instead, use {@link (getFirestore:1)}.
|
|
336
315
|
*/
|
|
337
|
-
declare class
|
|
338
|
-
_queue:
|
|
316
|
+
declare class ih extends ma {
|
|
317
|
+
_queue: th;
|
|
339
318
|
_persistenceKey: any;
|
|
340
319
|
_terminate(): any;
|
|
341
320
|
}
|
|
@@ -367,7 +346,7 @@ declare class $a extends Jc {
|
|
|
367
346
|
*
|
|
368
347
|
* Latitude values are in the range of [-90, 90].
|
|
369
348
|
* Longitude values are in the range of [-180, 180].
|
|
370
|
-
*/ declare class
|
|
349
|
+
*/ declare class Rh {
|
|
371
350
|
/**
|
|
372
351
|
* Creates a new immutable `GeoPoint` object with the provided latitude and
|
|
373
352
|
* longitude values.
|
|
@@ -398,9 +377,9 @@ declare class $a extends Jc {
|
|
|
398
377
|
* with an underscore.
|
|
399
378
|
*/ _compareTo(t: any): 0 | 1 | -1;
|
|
400
379
|
}
|
|
401
|
-
declare class
|
|
380
|
+
declare class nh {
|
|
402
381
|
_progressObserver: {};
|
|
403
|
-
_taskCompletionResolver:
|
|
382
|
+
_taskCompletionResolver: q;
|
|
404
383
|
_lastProgress: {
|
|
405
384
|
taskState: string;
|
|
406
385
|
totalBytes: number;
|
|
@@ -450,7 +429,7 @@ declare class Ma {
|
|
|
450
429
|
/**
|
|
451
430
|
* A `Query` refers to a query which you can read or listen to. You can also
|
|
452
431
|
* construct refined `Query` objects by adding filters and ordering.
|
|
453
|
-
*/ declare class
|
|
432
|
+
*/ declare class pa {
|
|
454
433
|
/** @hideconstructor protected */
|
|
455
434
|
constructor(t: any, e: any, n: any);
|
|
456
435
|
converter: any;
|
|
@@ -458,16 +437,37 @@ declare class Ma {
|
|
|
458
437
|
/** The type of this Firestore reference. */
|
|
459
438
|
type: string;
|
|
460
439
|
firestore: any;
|
|
461
|
-
withConverter(t: any):
|
|
440
|
+
withConverter(t: any): pa;
|
|
441
|
+
}
|
|
442
|
+
/**
|
|
443
|
+
* A `QueryCompositeFilterConstraint` is used to narrow the set of documents
|
|
444
|
+
* returned by a Firestore query by performing the logical OR or AND of multiple
|
|
445
|
+
* {@link QueryFieldFilterConstraint}s or {@link QueryCompositeFilterConstraint}s.
|
|
446
|
+
* `QueryCompositeFilterConstraint`s are created by invoking {@link or} or
|
|
447
|
+
* {@link and} and can then be passed to {@link query} to create a new query
|
|
448
|
+
* instance that also contains the `QueryCompositeFilterConstraint`.
|
|
449
|
+
* @internal TODO remove this internal tag with OR Query support in the server
|
|
450
|
+
*/ declare class ol extends el {
|
|
451
|
+
static _create(t: any, e: any): ol;
|
|
452
|
+
/**
|
|
453
|
+
* @internal
|
|
454
|
+
*/
|
|
455
|
+
constructor(t: any, e: any);
|
|
456
|
+
type: any;
|
|
457
|
+
_queryConstraints: any;
|
|
458
|
+
_parse(t: any): any;
|
|
459
|
+
_apply(t: any): any;
|
|
460
|
+
_getQueryConstraints(): any;
|
|
461
|
+
_getOperator(): "and" | "or";
|
|
462
462
|
}
|
|
463
463
|
/**
|
|
464
464
|
* A `QueryConstraint` is used to narrow the set of documents returned by a
|
|
465
465
|
* Firestore query. `QueryConstraint`s are created by invoking {@link where},
|
|
466
|
-
* {@link orderBy}, {@link
|
|
467
|
-
* endBefore
|
|
466
|
+
* {@link orderBy}, {@link startAt}, {@link startAfter}, {@link
|
|
467
|
+
* endBefore}, {@link endAt}, {@link limit}, {@link limitToLast} and
|
|
468
468
|
* can then be passed to {@link query} to create a new query instance that
|
|
469
469
|
* also contains this `QueryConstraint`.
|
|
470
|
-
*/ declare class
|
|
470
|
+
*/ declare class nl extends el {
|
|
471
471
|
}
|
|
472
472
|
/**
|
|
473
473
|
* A `QueryDocumentSnapshot` contains data read from a document in your
|
|
@@ -479,7 +479,81 @@ declare class Ma {
|
|
|
479
479
|
* `DocumentSnapshot`. Since query results contain only existing documents, the
|
|
480
480
|
* `exists` property will always be true and `data()` will never return
|
|
481
481
|
* 'undefined'.
|
|
482
|
-
*/ declare class
|
|
482
|
+
*/ declare class Cl extends Dl {
|
|
483
|
+
}
|
|
484
|
+
/**
|
|
485
|
+
* A `QueryEndAtConstraint` is used to exclude documents from the end of a
|
|
486
|
+
* result set returned by a Firestore query.
|
|
487
|
+
* `QueryEndAtConstraint`s are created by invoking {@link (endAt:1)} or
|
|
488
|
+
* {@link (endBefore:1)} and can then be passed to {@link query} to create a new
|
|
489
|
+
* query instance that also contains this `QueryEndAtConstraint`.
|
|
490
|
+
*/ declare class gl extends nl {
|
|
491
|
+
static _create(t: any, e: any, n: any): gl;
|
|
492
|
+
/**
|
|
493
|
+
* @internal
|
|
494
|
+
*/
|
|
495
|
+
constructor(t: any, e: any, n: any);
|
|
496
|
+
type: any;
|
|
497
|
+
_docOrFields: any;
|
|
498
|
+
_inclusive: any;
|
|
499
|
+
_apply(t: any): pa;
|
|
500
|
+
}
|
|
501
|
+
/**
|
|
502
|
+
* A `QueryFieldFilterConstraint` is used to narrow the set of documents returned by
|
|
503
|
+
* a Firestore query by filtering on one or more document fields.
|
|
504
|
+
* `QueryFieldFilterConstraint`s are created by invoking {@link where} and can then
|
|
505
|
+
* be passed to {@link query} to create a new query instance that also contains
|
|
506
|
+
* this `QueryFieldFilterConstraint`.
|
|
507
|
+
*/ declare class il extends nl {
|
|
508
|
+
static _create(t: any, e: any, n: any): il;
|
|
509
|
+
/**
|
|
510
|
+
* @internal
|
|
511
|
+
*/
|
|
512
|
+
constructor(t: any, e: any, n: any);
|
|
513
|
+
_field: any;
|
|
514
|
+
_op: any;
|
|
515
|
+
_value: any;
|
|
516
|
+
/** The type of this query constraint */
|
|
517
|
+
type: string;
|
|
518
|
+
_apply(t: any): pa;
|
|
519
|
+
_parse(t: any): Re | Oe | qe;
|
|
520
|
+
}
|
|
521
|
+
/**
|
|
522
|
+
* A `QueryLimitConstraint` is used to limit the number of documents returned by
|
|
523
|
+
* a Firestore query.
|
|
524
|
+
* `QueryLimitConstraint`s are created by invoking {@link limit} or
|
|
525
|
+
* {@link limitToLast} and can then be passed to {@link query} to create a new
|
|
526
|
+
* query instance that also contains this `QueryLimitConstraint`.
|
|
527
|
+
*/ declare class ll extends nl {
|
|
528
|
+
static _create(t: any, e: any, n: any): ll;
|
|
529
|
+
/**
|
|
530
|
+
* @internal
|
|
531
|
+
*/
|
|
532
|
+
constructor(t: any, e: any, n: any);
|
|
533
|
+
type: any;
|
|
534
|
+
_limit: any;
|
|
535
|
+
_limitType: any;
|
|
536
|
+
_apply(t: any): pa;
|
|
537
|
+
}
|
|
538
|
+
/**
|
|
539
|
+
* A `QueryOrderByConstraint` is used to sort the set of documents returned by a
|
|
540
|
+
* Firestore query. `QueryOrderByConstraint`s are created by invoking
|
|
541
|
+
* {@link orderBy} and can then be passed to {@link query} to create a new query
|
|
542
|
+
* instance that also contains this `QueryOrderByConstraint`.
|
|
543
|
+
*
|
|
544
|
+
* Note: Documents that do not contain the orderBy field will not be present in
|
|
545
|
+
* the query result.
|
|
546
|
+
*/ declare class al extends nl {
|
|
547
|
+
static _create(t: any, e: any): al;
|
|
548
|
+
/**
|
|
549
|
+
* @internal
|
|
550
|
+
*/
|
|
551
|
+
constructor(t: any, e: any);
|
|
552
|
+
_field: any;
|
|
553
|
+
_direction: any;
|
|
554
|
+
/** The type of this query constraint */
|
|
555
|
+
type: string;
|
|
556
|
+
_apply(t: any): pa;
|
|
483
557
|
}
|
|
484
558
|
/**
|
|
485
559
|
* A `QuerySnapshot` contains zero or more `DocumentSnapshot` objects
|
|
@@ -487,13 +561,13 @@ declare class Ma {
|
|
|
487
561
|
* array via the `docs` property or enumerated using the `forEach` method. The
|
|
488
562
|
* number of documents can be determined via the `empty` and `size`
|
|
489
563
|
* properties.
|
|
490
|
-
*/ declare class
|
|
564
|
+
*/ declare class xl {
|
|
491
565
|
/** @hideconstructor */
|
|
492
566
|
constructor(t: any, e: any, n: any, s: any);
|
|
493
567
|
_firestore: any;
|
|
494
568
|
_userDataWriter: any;
|
|
495
569
|
_snapshot: any;
|
|
496
|
-
metadata:
|
|
570
|
+
metadata: Sl;
|
|
497
571
|
query: any;
|
|
498
572
|
/** An array of all the documents in the `QuerySnapshot`. */ get docs(): any[];
|
|
499
573
|
/** The number of documents in the `QuerySnapshot`. */ get size(): any;
|
|
@@ -517,6 +591,23 @@ declare class Ma {
|
|
|
517
591
|
_cachedChanges: any;
|
|
518
592
|
_cachedChangesIncludeMetadataChanges: any;
|
|
519
593
|
}
|
|
594
|
+
/**
|
|
595
|
+
* A `QueryStartAtConstraint` is used to exclude documents from the start of a
|
|
596
|
+
* result set returned by a Firestore query.
|
|
597
|
+
* `QueryStartAtConstraint`s are created by invoking {@link (startAt:1)} or
|
|
598
|
+
* {@link (startAfter:1)} and can then be passed to {@link query} to create a
|
|
599
|
+
* new query instance that also contains this `QueryStartAtConstraint`.
|
|
600
|
+
*/ declare class _l extends nl {
|
|
601
|
+
static _create(t: any, e: any, n: any): _l;
|
|
602
|
+
/**
|
|
603
|
+
* @internal
|
|
604
|
+
*/
|
|
605
|
+
constructor(t: any, e: any, n: any);
|
|
606
|
+
type: any;
|
|
607
|
+
_docOrFields: any;
|
|
608
|
+
_inclusive: any;
|
|
609
|
+
_apply(t: any): pa;
|
|
610
|
+
}
|
|
520
611
|
/**
|
|
521
612
|
* @license
|
|
522
613
|
* Copyright 2020 Google LLC
|
|
@@ -535,7 +626,7 @@ declare class Ma {
|
|
|
535
626
|
*/
|
|
536
627
|
/**
|
|
537
628
|
* Metadata about a snapshot, describing the state of the snapshot.
|
|
538
|
-
*/ declare class
|
|
629
|
+
*/ declare class Sl {
|
|
539
630
|
/** @hideconstructor */
|
|
540
631
|
constructor(t: any, e: any);
|
|
541
632
|
hasPendingWrites: any;
|
|
@@ -644,11 +735,11 @@ declare class nt {
|
|
|
644
735
|
* to be compared using the `>`, `<=`, `>=` and `>` operators.
|
|
645
736
|
*/ valueOf(): string;
|
|
646
737
|
}
|
|
647
|
-
declare const
|
|
738
|
+
declare const ef_base: {
|
|
648
739
|
new (t: any, e: any): {
|
|
649
740
|
_firestore: any;
|
|
650
741
|
_transaction: any;
|
|
651
|
-
_dataReader:
|
|
742
|
+
_dataReader: Dh;
|
|
652
743
|
/**
|
|
653
744
|
* Reads the document referenced by the provided {@link DocumentReference}.
|
|
654
745
|
*
|
|
@@ -711,7 +802,7 @@ declare const Sl_base: {
|
|
|
711
802
|
* the methods to read and write data within the transaction context. See
|
|
712
803
|
* {@link runTransaction}.
|
|
713
804
|
*/
|
|
714
|
-
declare class
|
|
805
|
+
declare class ef extends ef_base {
|
|
715
806
|
}
|
|
716
807
|
/**
|
|
717
808
|
* @license
|
|
@@ -737,22 +828,22 @@ declare class Sl extends Sl_base {
|
|
|
737
828
|
* will be committed (or visible locally) until {@link WriteBatch.commit} is
|
|
738
829
|
* called.
|
|
739
830
|
*/
|
|
740
|
-
declare class
|
|
831
|
+
declare class Zl {
|
|
741
832
|
/** @hideconstructor */
|
|
742
833
|
constructor(t: any, e: any);
|
|
743
834
|
_firestore: any;
|
|
744
835
|
_commitHandler: any;
|
|
745
836
|
_mutations: any[];
|
|
746
837
|
_committed: boolean;
|
|
747
|
-
_dataReader:
|
|
748
|
-
set(t: any, e: any, n: any):
|
|
749
|
-
update(t: any, e: any, n: any, ...s: any[]):
|
|
838
|
+
_dataReader: Dh;
|
|
839
|
+
set(t: any, e: any, n: any): Zl;
|
|
840
|
+
update(t: any, e: any, n: any, ...s: any[]): Zl;
|
|
750
841
|
/**
|
|
751
842
|
* Deletes the document referred to by the provided {@link DocumentReference}.
|
|
752
843
|
*
|
|
753
844
|
* @param documentRef - A reference to the document to be deleted.
|
|
754
845
|
* @returns This `WriteBatch` instance. Used for chaining method calls.
|
|
755
|
-
*/ delete(t: any):
|
|
846
|
+
*/ delete(t: any): Zl;
|
|
756
847
|
/**
|
|
757
848
|
* Commits all of the writes in this write batch as a single atomic unit.
|
|
758
849
|
*
|
|
@@ -772,8 +863,8 @@ declare class vl {
|
|
|
772
863
|
* Represents the database ID a Firestore client is associated with.
|
|
773
864
|
* @internal
|
|
774
865
|
*/
|
|
775
|
-
declare class
|
|
776
|
-
static empty():
|
|
866
|
+
declare class Ft {
|
|
867
|
+
static empty(): Ft;
|
|
777
868
|
constructor(t: any, e: any);
|
|
778
869
|
projectId: any;
|
|
779
870
|
database: any;
|
|
@@ -866,7 +957,7 @@ declare class ne {
|
|
|
866
957
|
* Returns true if this field references the key of a document.
|
|
867
958
|
*/ isKeyField(): boolean;
|
|
868
959
|
}
|
|
869
|
-
declare function
|
|
960
|
+
declare function fa(t: any, e: any): any;
|
|
870
961
|
/**
|
|
871
962
|
* Fails if the given assertion condition is false, throwing an Error with the
|
|
872
963
|
* given message if it did.
|
|
@@ -895,14 +986,14 @@ declare function jc(t: any, e: any): any;
|
|
|
895
986
|
*/
|
|
896
987
|
/** Converts a Base64 encoded string to a binary string. */
|
|
897
988
|
/** True if and only if the Base64 conversion functions are available. */
|
|
898
|
-
declare function
|
|
989
|
+
declare function Gt(): boolean;
|
|
899
990
|
/**
|
|
900
991
|
* @internal
|
|
901
992
|
*/ declare function N(t: any, ...e: any[]): void;
|
|
902
993
|
/**
|
|
903
994
|
* Validates that two boolean options are not set at the same time.
|
|
904
995
|
* @internal
|
|
905
|
-
*/ declare function
|
|
996
|
+
*/ declare function ca(t: any, e: any, n: any, s: any): void;
|
|
906
997
|
/**
|
|
907
998
|
* Add a new document to specified `CollectionReference` with the given data,
|
|
908
999
|
* assigning it a document ID automatically.
|
|
@@ -912,7 +1003,7 @@ declare function jt(): boolean;
|
|
|
912
1003
|
* @returns A `Promise` resolved with a `DocumentReference` pointing to the
|
|
913
1004
|
* newly created document after it has been written to the backend (Note that it
|
|
914
1005
|
* won't resolve while you're offline).
|
|
915
|
-
*/ declare function
|
|
1006
|
+
*/ declare function Ql(t: any, e: any): Promise<ya>;
|
|
916
1007
|
/**
|
|
917
1008
|
* @license
|
|
918
1009
|
* Copyright 2022 Google LLC
|
|
@@ -940,7 +1031,17 @@ declare function jt(): boolean;
|
|
|
940
1031
|
*
|
|
941
1032
|
* @returns `true` if the objects are "equal", as defined above, or `false`
|
|
942
1033
|
* otherwise.
|
|
943
|
-
*/ declare function
|
|
1034
|
+
*/ declare function Jl(t: any, e: any): boolean;
|
|
1035
|
+
/**
|
|
1036
|
+
* Creates a {@link QueryCompositeFilterConstraint} that performs a logical AND
|
|
1037
|
+
* of all the provided {@link QueryFilterConstraint}s.
|
|
1038
|
+
*
|
|
1039
|
+
* @param queryConstraints - Optional. The {@link QueryFilterConstraint}s
|
|
1040
|
+
* for AND operation. These must be created with calls to {@link where},
|
|
1041
|
+
* {@link or}, or {@link and}.
|
|
1042
|
+
* @returns The created {@link QueryCompositeFilterConstraint}.
|
|
1043
|
+
* @internal TODO remove this internal tag with OR Query support in the server
|
|
1044
|
+
*/ declare function cl(...t: any[]): ol;
|
|
944
1045
|
/**
|
|
945
1046
|
* Returns a special value that can be used with {@link (setDoc:1)} or {@link
|
|
946
1047
|
* updateDoc:1} that tells the server to remove the given elements from any
|
|
@@ -951,7 +1052,7 @@ declare function jt(): boolean;
|
|
|
951
1052
|
* @param elements - The elements to remove from the array.
|
|
952
1053
|
* @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
|
|
953
1054
|
* `updateDoc()`
|
|
954
|
-
*/ declare function
|
|
1055
|
+
*/ declare function uf(...t: any[]): Fh;
|
|
955
1056
|
/**
|
|
956
1057
|
* Returns a special value that can be used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link
|
|
957
1058
|
* @firebase/firestore/lite#(updateDoc:1)} that tells the server to union the given elements with any array
|
|
@@ -963,9 +1064,9 @@ declare function jt(): boolean;
|
|
|
963
1064
|
* @param elements - The elements to union into the array.
|
|
964
1065
|
* @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
|
|
965
1066
|
* `updateDoc()`.
|
|
966
|
-
*/ declare function
|
|
967
|
-
declare function
|
|
968
|
-
declare function
|
|
1067
|
+
*/ declare function of(...t: any[]): Mh;
|
|
1068
|
+
declare function fh(t: any): Promise<any>;
|
|
1069
|
+
declare function Ta(t: any, e: any, ...n: any[]): Ia;
|
|
969
1070
|
/**
|
|
970
1071
|
* Creates and returns a new `Query` instance that includes all documents in the
|
|
971
1072
|
* database that are contained in a collection or subcollection with the
|
|
@@ -976,7 +1077,7 @@ declare function ea(t: any, e: any, ...n: any[]): ta;
|
|
|
976
1077
|
* collection or subcollection with this ID as the last segment of its path
|
|
977
1078
|
* will be included. Cannot contain a slash.
|
|
978
1079
|
* @returns The created `Query`.
|
|
979
|
-
*/ declare function
|
|
1080
|
+
*/ declare function Ea(t: any, e: any): pa;
|
|
980
1081
|
/**
|
|
981
1082
|
* Modify this instance to communicate with the Cloud Firestore emulator.
|
|
982
1083
|
*
|
|
@@ -989,14 +1090,14 @@ declare function ea(t: any, e: any, ...n: any[]): ta;
|
|
|
989
1090
|
* @param port - the emulator port (ex: 9000).
|
|
990
1091
|
* @param options.mockUserToken - the mock auth token to use for unit testing
|
|
991
1092
|
* Security Rules.
|
|
992
|
-
*/ declare function
|
|
1093
|
+
*/ declare function ga(t: any, e: any, n: any, s?: {}): void;
|
|
993
1094
|
/**
|
|
994
1095
|
* Deletes the document referred to by the specified `DocumentReference`.
|
|
995
1096
|
*
|
|
996
1097
|
* @param reference - A reference to the document to delete.
|
|
997
1098
|
* @returns A Promise resolved once the document has been successfully
|
|
998
1099
|
* deleted from the backend (note that it won't resolve while you're offline).
|
|
999
|
-
*/ declare function
|
|
1100
|
+
*/ declare function Gl(t: any): Promise<any>;
|
|
1000
1101
|
/**
|
|
1001
1102
|
* @license
|
|
1002
1103
|
* Copyright 2020 Google LLC
|
|
@@ -1016,7 +1117,7 @@ declare function ea(t: any, e: any, ...n: any[]): ta;
|
|
|
1016
1117
|
/**
|
|
1017
1118
|
* Returns a sentinel for use with {@link @firebase/firestore/lite#(updateDoc:1)} or
|
|
1018
1119
|
* {@link @firebase/firestore/lite#(setDoc:1)} with `{merge: true}` to mark a field for deletion.
|
|
1019
|
-
*/ declare function
|
|
1120
|
+
*/ declare function sf(): Nh;
|
|
1020
1121
|
/**
|
|
1021
1122
|
* Disables network usage for this instance. It can be re-enabled via {@link
|
|
1022
1123
|
* enableNetwork}. While the network is disabled, any snapshot listeners,
|
|
@@ -1024,12 +1125,12 @@ declare function ea(t: any, e: any, ...n: any[]): ta;
|
|
|
1024
1125
|
* operations will be queued until the network is restored.
|
|
1025
1126
|
*
|
|
1026
1127
|
* @returns A `Promise` that is resolved once the network has been disabled.
|
|
1027
|
-
*/ declare function
|
|
1028
|
-
declare function
|
|
1128
|
+
*/ declare function wh(t: any): any;
|
|
1129
|
+
declare function Aa(t: any, e: any, ...n: any[]): ya;
|
|
1029
1130
|
/**
|
|
1030
1131
|
* Returns a special sentinel `FieldPath` to refer to the ID of a document.
|
|
1031
1132
|
* It can be used in queries to sort or filter by the document ID.
|
|
1032
|
-
*/ declare function
|
|
1133
|
+
*/ declare function Eh(): Th;
|
|
1033
1134
|
/**
|
|
1034
1135
|
* Attempts to enable persistent storage, if possible.
|
|
1035
1136
|
*
|
|
@@ -1052,7 +1153,7 @@ declare function sa(t: any, e: any, ...n: any[]): Xc;
|
|
|
1052
1153
|
* @param persistenceSettings - Optional settings object to configure
|
|
1053
1154
|
* persistence.
|
|
1054
1155
|
* @returns A `Promise` that represents successfully enabling persistent storage.
|
|
1055
|
-
*/ declare function
|
|
1156
|
+
*/ declare function ah(t: any, e: any): any;
|
|
1056
1157
|
/**
|
|
1057
1158
|
* Attempts to enable multi-tab persistent storage, if possible. If enabled
|
|
1058
1159
|
* across all tabs, all operations share access to local persistence, including
|
|
@@ -1074,22 +1175,22 @@ declare function sa(t: any, e: any, ...n: any[]): Xc;
|
|
|
1074
1175
|
* @param firestore - The {@link Firestore} instance to enable persistence for.
|
|
1075
1176
|
* @returns A `Promise` that represents successfully enabling persistent
|
|
1076
1177
|
* storage.
|
|
1077
|
-
*/ declare function
|
|
1178
|
+
*/ declare function hh(t: any): any;
|
|
1078
1179
|
/**
|
|
1079
1180
|
* Re-enables use of the network for this {@link Firestore} instance after a prior
|
|
1080
1181
|
* call to {@link disableNetwork}.
|
|
1081
1182
|
*
|
|
1082
1183
|
* @returns A `Promise` that is resolved once the network has been enabled.
|
|
1083
|
-
*/ declare function
|
|
1084
|
-
declare function
|
|
1085
|
-
declare function
|
|
1184
|
+
*/ declare function _h(t: any): any;
|
|
1185
|
+
declare function pl(...t: any[]): gl;
|
|
1186
|
+
declare function yl(...t: any[]): gl;
|
|
1086
1187
|
/**
|
|
1087
1188
|
* @internal
|
|
1088
|
-
*/ declare function
|
|
1189
|
+
*/ declare function uh(t: any): any;
|
|
1089
1190
|
/**
|
|
1090
1191
|
* Locally writes `mutations` on the async queue.
|
|
1091
1192
|
* @internal
|
|
1092
|
-
*/ declare function
|
|
1193
|
+
*/ declare function zl(t: any, e: any): Promise<any>;
|
|
1093
1194
|
/**
|
|
1094
1195
|
* @license
|
|
1095
1196
|
* Copyright 2022 Google LLC
|
|
@@ -1126,7 +1227,7 @@ declare function zh(...t: any[]): Wh;
|
|
|
1126
1227
|
* @returns A Promise that will be resolved with the count; the count can be
|
|
1127
1228
|
* retrieved from `snapshot.data().count`, where `snapshot` is the
|
|
1128
1229
|
* `AggregateQuerySnapshot` to which the returned Promise resolves.
|
|
1129
|
-
*/ declare function
|
|
1230
|
+
*/ declare function Yl(t: any): Promise<any>;
|
|
1130
1231
|
/**
|
|
1131
1232
|
* @license
|
|
1132
1233
|
* Copyright 2020 Google LLC
|
|
@@ -1154,21 +1255,21 @@ declare function zh(...t: any[]): Wh;
|
|
|
1154
1255
|
* @param reference - The reference of the document to fetch.
|
|
1155
1256
|
* @returns A Promise resolved with a `DocumentSnapshot` containing the
|
|
1156
1257
|
* current document contents.
|
|
1157
|
-
*/ declare function
|
|
1258
|
+
*/ declare function Ol(t: any): Promise<Dl>;
|
|
1158
1259
|
/**
|
|
1159
1260
|
* Reads the document referred to by this `DocumentReference` from cache.
|
|
1160
1261
|
* Returns an error if the document is not currently cached.
|
|
1161
1262
|
*
|
|
1162
1263
|
* @returns A `Promise` resolved with a `DocumentSnapshot` containing the
|
|
1163
1264
|
* current document contents.
|
|
1164
|
-
*/ declare function
|
|
1265
|
+
*/ declare function Fl(t: any): Promise<Dl>;
|
|
1165
1266
|
/**
|
|
1166
1267
|
* Reads the document referred to by this `DocumentReference` from the server.
|
|
1167
1268
|
* Returns an error if the network is not available.
|
|
1168
1269
|
*
|
|
1169
1270
|
* @returns A `Promise` resolved with a `DocumentSnapshot` containing the
|
|
1170
1271
|
* current document contents.
|
|
1171
|
-
*/ declare function
|
|
1272
|
+
*/ declare function $l(t: any): Promise<Dl>;
|
|
1172
1273
|
/**
|
|
1173
1274
|
* Executes the query and returns the results as a `QuerySnapshot`.
|
|
1174
1275
|
*
|
|
@@ -1178,20 +1279,20 @@ declare function zh(...t: any[]): Wh;
|
|
|
1178
1279
|
* invoke {@link getDocsFromCache} or {@link getDocsFromServer}.
|
|
1179
1280
|
*
|
|
1180
1281
|
* @returns A `Promise` that will be resolved with the results of the query.
|
|
1181
|
-
*/ declare function
|
|
1282
|
+
*/ declare function Bl(t: any): Promise<xl>;
|
|
1182
1283
|
/**
|
|
1183
1284
|
* Executes the query and returns the results as a `QuerySnapshot` from cache.
|
|
1184
1285
|
* Returns an error if the document is not currently cached.
|
|
1185
1286
|
*
|
|
1186
1287
|
* @returns A `Promise` that will be resolved with the results of the query.
|
|
1187
|
-
*/ declare function
|
|
1288
|
+
*/ declare function Ll(t: any): Promise<xl>;
|
|
1188
1289
|
/**
|
|
1189
1290
|
* Executes the query and returns the results as a `QuerySnapshot` from the
|
|
1190
1291
|
* server. Returns an error if the network is not available.
|
|
1191
1292
|
*
|
|
1192
1293
|
* @returns A `Promise` that will be resolved with the results of the query.
|
|
1193
|
-
*/ declare function
|
|
1194
|
-
declare function
|
|
1294
|
+
*/ declare function ql(t: any): Promise<xl>;
|
|
1295
|
+
declare function oh(e: any, n: any): import("../src").Firestore;
|
|
1195
1296
|
/**
|
|
1196
1297
|
* Returns a special value that can be used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link
|
|
1197
1298
|
* @firebase/firestore/lite#(updateDoc:1)} that tells the server to increment the field's current value by
|
|
@@ -1210,7 +1311,7 @@ declare function La(e: any, n: any): import("../src").Firestore;
|
|
|
1210
1311
|
* @param n - The value to increment by.
|
|
1211
1312
|
* @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
|
|
1212
1313
|
* `updateDoc()`
|
|
1213
|
-
*/ declare function
|
|
1314
|
+
*/ declare function cf(t: any): $h;
|
|
1214
1315
|
/**
|
|
1215
1316
|
* Initializes a new instance of {@link Firestore} with the provided settings.
|
|
1216
1317
|
* Can only be called before any other function, including
|
|
@@ -1222,22 +1323,24 @@ declare function La(e: any, n: any): import("../src").Firestore;
|
|
|
1222
1323
|
* @param settings - A settings object to configure the {@link Firestore} instance.
|
|
1223
1324
|
* @param databaseId - The name of database.
|
|
1224
1325
|
* @returns A newly initialized {@link Firestore} instance.
|
|
1225
|
-
*/ declare function
|
|
1326
|
+
*/ declare function rh(t: any, e: any, n: any): import("../src").Firestore;
|
|
1226
1327
|
/**
|
|
1227
|
-
* Creates a {@link
|
|
1328
|
+
* Creates a {@link QueryLimitConstraint} that only returns the first matching
|
|
1329
|
+
* documents.
|
|
1228
1330
|
*
|
|
1229
1331
|
* @param limit - The maximum number of items to return.
|
|
1230
|
-
* @returns The created {@link
|
|
1231
|
-
*/ declare function
|
|
1332
|
+
* @returns The created {@link QueryLimitConstraint}.
|
|
1333
|
+
*/ declare function fl(t: any): ll;
|
|
1232
1334
|
/**
|
|
1233
|
-
* Creates a {@link
|
|
1335
|
+
* Creates a {@link QueryLimitConstraint} that only returns the last matching
|
|
1336
|
+
* documents.
|
|
1234
1337
|
*
|
|
1235
1338
|
* You must specify at least one `orderBy` clause for `limitToLast` queries,
|
|
1236
1339
|
* otherwise an exception will be thrown during execution.
|
|
1237
1340
|
*
|
|
1238
1341
|
* @param limit - The maximum number of items to return.
|
|
1239
|
-
* @returns The created {@link
|
|
1240
|
-
*/ declare function
|
|
1342
|
+
* @returns The created {@link QueryLimitConstraint}.
|
|
1343
|
+
*/ declare function dl(t: any): ll;
|
|
1241
1344
|
/**
|
|
1242
1345
|
* Loads a Firestore bundle into the local cache.
|
|
1243
1346
|
*
|
|
@@ -1248,7 +1351,7 @@ declare function La(e: any, n: any): import("../src").Firestore;
|
|
|
1248
1351
|
* @returns A `LoadBundleTask` object, which notifies callers with progress
|
|
1249
1352
|
* updates, and completion or error events. It can be used as a
|
|
1250
1353
|
* `Promise<LoadBundleTaskProgress>`.
|
|
1251
|
-
*/ declare function
|
|
1354
|
+
*/ declare function gh(t: any, e: any): nh;
|
|
1252
1355
|
/**
|
|
1253
1356
|
* Reads a Firestore {@link Query} from local cache, identified by the given
|
|
1254
1357
|
* name.
|
|
@@ -1260,27 +1363,32 @@ declare function La(e: any, n: any): import("../src").Firestore;
|
|
|
1260
1363
|
* @param firestore - The {@link Firestore} instance to read the query from.
|
|
1261
1364
|
* @param name - The name of the query.
|
|
1262
1365
|
* @returns A `Promise` that is resolved with the Query or `null`.
|
|
1263
|
-
*/ declare function
|
|
1264
|
-
declare function
|
|
1265
|
-
declare function
|
|
1366
|
+
*/ declare function yh(t: any, e: any): any;
|
|
1367
|
+
declare function jl(t: any, ...e: any[]): () => void;
|
|
1368
|
+
declare function Wl(t: any, e: any): () => void;
|
|
1266
1369
|
/**
|
|
1267
|
-
* Creates a {@link
|
|
1370
|
+
* Creates a {@link QueryCompositeFilterConstraint} that performs a logical OR
|
|
1371
|
+
* of all the provided {@link QueryFilterConstraint}s.
|
|
1372
|
+
*
|
|
1373
|
+
* @param queryConstraints - Optional. The {@link QueryFilterConstraint}s
|
|
1374
|
+
* for OR operation. These must be created with calls to {@link where},
|
|
1375
|
+
* {@link or}, or {@link and}.
|
|
1376
|
+
* @returns The created {@link QueryCompositeFilterConstraint}.
|
|
1377
|
+
* @internal TODO remove this internal tag with OR Query support in the server
|
|
1378
|
+
*/ declare function ul(...t: any[]): ol;
|
|
1379
|
+
/**
|
|
1380
|
+
* Creates a {@link QueryOrderByConstraint} that sorts the query result by the
|
|
1268
1381
|
* specified field, optionally in descending order instead of ascending.
|
|
1269
1382
|
*
|
|
1383
|
+
* Note: Documents that do not contain the specified field will not be present
|
|
1384
|
+
* in the query result.
|
|
1385
|
+
*
|
|
1270
1386
|
* @param fieldPath - The field to sort by.
|
|
1271
1387
|
* @param directionStr - Optional direction to sort by ('asc' or 'desc'). If
|
|
1272
1388
|
* not specified, order will be ascending.
|
|
1273
|
-
* @returns The created {@link
|
|
1274
|
-
*/ declare function
|
|
1275
|
-
|
|
1276
|
-
* Creates a new immutable instance of {@link Query} that is extended to also include
|
|
1277
|
-
* additional query constraints.
|
|
1278
|
-
*
|
|
1279
|
-
* @param query - The {@link Query} instance to use as a base for the new constraints.
|
|
1280
|
-
* @param queryConstraints - The list of {@link QueryConstraint}s to apply.
|
|
1281
|
-
* @throws if any of the provided query constraints cannot be combined with the
|
|
1282
|
-
* existing or new constraints.
|
|
1283
|
-
*/ declare function Mh(t: any, ...e: any[]): any;
|
|
1389
|
+
* @returns The created {@link QueryOrderByConstraint}.
|
|
1390
|
+
*/ declare function hl(t: any, e?: string): al;
|
|
1391
|
+
declare function sl(t: any, e: any, ...n: any[]): any;
|
|
1284
1392
|
/**
|
|
1285
1393
|
* Returns true if the provided queries point to the same collection and apply
|
|
1286
1394
|
* the same constraints.
|
|
@@ -1289,7 +1397,7 @@ declare function Tl(t: any, e: any): () => void;
|
|
|
1289
1397
|
* @param right - A `Query` to compare.
|
|
1290
1398
|
* @returns true if the references point to the same location in the same
|
|
1291
1399
|
* Firestore database.
|
|
1292
|
-
*/ declare function
|
|
1400
|
+
*/ declare function ba(t: any, e: any): boolean;
|
|
1293
1401
|
/**
|
|
1294
1402
|
* Returns true if the provided references are equal.
|
|
1295
1403
|
*
|
|
@@ -1297,7 +1405,7 @@ declare function Tl(t: any, e: any): () => void;
|
|
|
1297
1405
|
* @param right - A reference to compare.
|
|
1298
1406
|
* @returns true if the references point to the same location in the same
|
|
1299
1407
|
* Firestore database.
|
|
1300
|
-
*/ declare function
|
|
1408
|
+
*/ declare function Ra(t: any, e: any): boolean;
|
|
1301
1409
|
/**
|
|
1302
1410
|
* Executes the given `updateFunction` and then attempts to commit the changes
|
|
1303
1411
|
* applied within the transaction. If any document read within the transaction
|
|
@@ -1316,12 +1424,12 @@ declare function Tl(t: any, e: any): () => void;
|
|
|
1316
1424
|
* (the `updateFunction` returned a failed promise), the promise returned by the
|
|
1317
1425
|
* `updateFunction `is returned here. Otherwise, if the transaction failed, a
|
|
1318
1426
|
* rejected promise with the corresponding failure error is returned.
|
|
1319
|
-
*/ declare function
|
|
1427
|
+
*/ declare function nf(t: any, e: any, n: any): Promise<any>;
|
|
1320
1428
|
/**
|
|
1321
1429
|
* Returns a sentinel used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link @firebase/firestore/lite#(updateDoc:1)} to
|
|
1322
1430
|
* include a server-generated timestamp in the written data.
|
|
1323
|
-
*/ declare function
|
|
1324
|
-
declare function
|
|
1431
|
+
*/ declare function rf(): Oh;
|
|
1432
|
+
declare function Ul(t: any, e: any, n: any): Promise<any>;
|
|
1325
1433
|
/**
|
|
1326
1434
|
* @license
|
|
1327
1435
|
* Copyright 2021 Google LLC
|
|
@@ -1337,7 +1445,7 @@ declare function ml(t: any, e: any, n: any): Promise<any>;
|
|
|
1337
1445
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1338
1446
|
* See the License for the specific language governing permissions and
|
|
1339
1447
|
* limitations under the License.
|
|
1340
|
-
*/ declare function
|
|
1448
|
+
*/ declare function hf(t: any, e: any): Promise<any>;
|
|
1341
1449
|
/**
|
|
1342
1450
|
* Sets the verbosity of Cloud Firestore logs (debug, error, or silent).
|
|
1343
1451
|
*
|
|
@@ -1357,9 +1465,9 @@ declare function ml(t: any, e: any, n: any): Promise<any>;
|
|
|
1357
1465
|
* @param left - A snapshot to compare.
|
|
1358
1466
|
* @param right - A snapshot to compare.
|
|
1359
1467
|
* @returns true if the snapshots are equal.
|
|
1360
|
-
*/ declare function
|
|
1361
|
-
declare function
|
|
1362
|
-
declare function
|
|
1468
|
+
*/ declare function kl(t: any, e: any): any;
|
|
1469
|
+
declare function ml(...t: any[]): _l;
|
|
1470
|
+
declare function wl(...t: any[]): _l;
|
|
1363
1471
|
/**
|
|
1364
1472
|
* Terminates the provided {@link Firestore} instance.
|
|
1365
1473
|
*
|
|
@@ -1381,8 +1489,8 @@ declare function Qh(...t: any[]): Gh;
|
|
|
1381
1489
|
*
|
|
1382
1490
|
* @returns A `Promise` that is resolved when the instance has been successfully
|
|
1383
1491
|
* terminated.
|
|
1384
|
-
*/ declare function
|
|
1385
|
-
declare function
|
|
1492
|
+
*/ declare function mh(t: any): any;
|
|
1493
|
+
declare function Kl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
1386
1494
|
/**
|
|
1387
1495
|
* Waits until all currently pending writes for the active user have been
|
|
1388
1496
|
* acknowledged by the backend.
|
|
@@ -1398,18 +1506,18 @@ declare function gl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1398
1506
|
*
|
|
1399
1507
|
* @returns A `Promise` which resolves when all currently pending writes have been
|
|
1400
1508
|
* acknowledged by the backend.
|
|
1401
|
-
*/ declare function
|
|
1509
|
+
*/ declare function dh(t: any): Promise<any>;
|
|
1402
1510
|
/**
|
|
1403
|
-
* Creates a {@link
|
|
1404
|
-
* specified field and that the value should satisfy the
|
|
1405
|
-
* provided.
|
|
1511
|
+
* Creates a {@link QueryFieldFilterConstraint} that enforces that documents
|
|
1512
|
+
* must contain the specified field and that the value should satisfy the
|
|
1513
|
+
* relation constraint provided.
|
|
1406
1514
|
*
|
|
1407
1515
|
* @param fieldPath - The path to compare
|
|
1408
1516
|
* @param opStr - The operation string (e.g "<", "<=", "==", "<",
|
|
1409
1517
|
* "<=", "!=").
|
|
1410
1518
|
* @param value - The value for comparison
|
|
1411
|
-
* @returns The created {@link
|
|
1412
|
-
*/ declare function
|
|
1519
|
+
* @returns The created {@link QueryFieldFilterConstraint}.
|
|
1520
|
+
*/ declare function rl(t: any, e: any, n: any): il;
|
|
1413
1521
|
/**
|
|
1414
1522
|
* @license
|
|
1415
1523
|
* Copyright 2020 Google LLC
|
|
@@ -1436,7 +1544,7 @@ declare function gl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1436
1544
|
*
|
|
1437
1545
|
* @returns A {@link WriteBatch} that can be used to atomically execute multiple
|
|
1438
1546
|
* writes.
|
|
1439
|
-
*/ declare function
|
|
1547
|
+
*/ declare function af(t: any): Zl;
|
|
1440
1548
|
/**
|
|
1441
1549
|
* @license
|
|
1442
1550
|
* Copyright 2020 Google LLC
|
|
@@ -1461,7 +1569,7 @@ declare function gl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1461
1569
|
* For a `DocumentSnapshot` that points to a non-existing document, any data
|
|
1462
1570
|
* access will return 'undefined'. You can use the `exists()` method to
|
|
1463
1571
|
* explicitly verify a document's existence.
|
|
1464
|
-
*/ declare class
|
|
1572
|
+
*/ declare class Yh {
|
|
1465
1573
|
/** @hideconstructor protected */
|
|
1466
1574
|
constructor(t: any, e: any, n: any, s: any, i: any);
|
|
1467
1575
|
_firestore: any;
|
|
@@ -1472,7 +1580,7 @@ declare function gl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1472
1580
|
/** Property of the `DocumentSnapshot` that provides the document's ID. */ get id(): any;
|
|
1473
1581
|
/**
|
|
1474
1582
|
* The `DocumentReference` for the document included in the `DocumentSnapshot`.
|
|
1475
|
-
*/ get ref():
|
|
1583
|
+
*/ get ref(): ya;
|
|
1476
1584
|
/**
|
|
1477
1585
|
* Signals whether or not the document at the snapshot's location exists.
|
|
1478
1586
|
*
|
|
@@ -1516,7 +1624,7 @@ declare function gl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1516
1624
|
* The Cloud Firestore service interface.
|
|
1517
1625
|
*
|
|
1518
1626
|
* Do not call this constructor directly. Instead, use {@link (getFirestore:1)}.
|
|
1519
|
-
*/ declare class
|
|
1627
|
+
*/ declare class ma {
|
|
1520
1628
|
/** @hideconstructor */
|
|
1521
1629
|
constructor(t: any, e: any, n: any, s: any);
|
|
1522
1630
|
_authCredentials: any;
|
|
@@ -1528,7 +1636,7 @@ declare function gl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1528
1636
|
*/
|
|
1529
1637
|
type: string;
|
|
1530
1638
|
_persistenceKey: string;
|
|
1531
|
-
_settings:
|
|
1639
|
+
_settings: wa;
|
|
1532
1640
|
_settingsFrozen: boolean;
|
|
1533
1641
|
/**
|
|
1534
1642
|
* The {@link @firebase/app#FirebaseApp} associated with this `Firestore` service
|
|
@@ -1537,14 +1645,14 @@ declare function gl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1537
1645
|
get _initialized(): boolean;
|
|
1538
1646
|
get _terminated(): boolean;
|
|
1539
1647
|
_setSettings(t: any): void;
|
|
1540
|
-
_getSettings():
|
|
1541
|
-
_freezeSettings():
|
|
1648
|
+
_getSettings(): wa;
|
|
1649
|
+
_freezeSettings(): wa;
|
|
1542
1650
|
_delete(): Promise<void>;
|
|
1543
1651
|
_terminateTask: Promise<void> | undefined;
|
|
1544
1652
|
/** Returns a JSON-serializable representation of this `Firestore` instance. */ toJSON(): {
|
|
1545
1653
|
app: any;
|
|
1546
1654
|
databaseId: any;
|
|
1547
|
-
settings:
|
|
1655
|
+
settings: wa;
|
|
1548
1656
|
};
|
|
1549
1657
|
/**
|
|
1550
1658
|
* Terminates all components used by this client. Subclasses can override
|
|
@@ -1554,16 +1662,16 @@ declare function gl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1554
1662
|
* Only ever called once.
|
|
1555
1663
|
*/ _terminate(): Promise<void>;
|
|
1556
1664
|
}
|
|
1557
|
-
declare class
|
|
1665
|
+
declare class th {
|
|
1558
1666
|
Bc: Promise<void>;
|
|
1559
1667
|
Lc: any[];
|
|
1560
|
-
|
|
1561
|
-
|
|
1668
|
+
qc: boolean;
|
|
1669
|
+
Uc: any[];
|
|
1562
1670
|
Kc: any;
|
|
1563
1671
|
Gc: boolean;
|
|
1564
1672
|
Qc: boolean;
|
|
1565
1673
|
jc: any[];
|
|
1566
|
-
xo:
|
|
1674
|
+
xo: Iu;
|
|
1567
1675
|
Wc: () => void;
|
|
1568
1676
|
get isShuttingDown(): boolean;
|
|
1569
1677
|
/**
|
|
@@ -1579,7 +1687,7 @@ declare class ka {
|
|
|
1579
1687
|
* reschedules with backoff.
|
|
1580
1688
|
*/ Jc(): Promise<void>;
|
|
1581
1689
|
Hc(t: any): Promise<any>;
|
|
1582
|
-
enqueueAfterDelay(t: any, e: any, n: any):
|
|
1690
|
+
enqueueAfterDelay(t: any, e: any, n: any): nc;
|
|
1583
1691
|
zc(): void;
|
|
1584
1692
|
verifyOperationInProgress(): void;
|
|
1585
1693
|
/**
|
|
@@ -1618,20 +1726,50 @@ import { FirebaseError as c } from "@firebase/util/dist/src/errors";
|
|
|
1618
1726
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1619
1727
|
* See the License for the specific language governing permissions and
|
|
1620
1728
|
* limitations under the License.
|
|
1621
|
-
*/ declare class
|
|
1729
|
+
*/ declare class q {
|
|
1622
1730
|
promise: Promise<any>;
|
|
1623
1731
|
resolve: (value: any) => void;
|
|
1624
1732
|
reject: (reason?: any) => void;
|
|
1625
1733
|
}
|
|
1734
|
+
/**
|
|
1735
|
+
* An `AppliableConstraint` is an abstraction of a constraint that can be applied
|
|
1736
|
+
* to a Firestore query.
|
|
1737
|
+
*/ declare class el {
|
|
1738
|
+
}
|
|
1739
|
+
declare class Re extends Ae {
|
|
1740
|
+
/**
|
|
1741
|
+
* Creates a filter based on the provided arguments.
|
|
1742
|
+
*/ static create(t: any, e: any, n: any): Re | Oe | qe;
|
|
1743
|
+
static createKeyFieldInFilter(t: any, e: any, n: any): Oe | Me;
|
|
1744
|
+
constructor(t: any, e: any, n: any);
|
|
1745
|
+
field: any;
|
|
1746
|
+
op: any;
|
|
1747
|
+
value: any;
|
|
1748
|
+
matches(t: any): boolean | void;
|
|
1749
|
+
matchesComparison(t: any): boolean | void;
|
|
1750
|
+
isInequality(): boolean;
|
|
1751
|
+
getFlattenedFilters(): Re[];
|
|
1752
|
+
getFilters(): Re[];
|
|
1753
|
+
getFirstInequalityField(): any;
|
|
1754
|
+
}
|
|
1755
|
+
/** Filter that matches on key fields within an array. */ declare class Oe extends Re {
|
|
1756
|
+
constructor(t: any, e: any);
|
|
1757
|
+
keys: any;
|
|
1758
|
+
matches(t: any): any;
|
|
1759
|
+
}
|
|
1760
|
+
/** A Filter that implements the array-contains-any operator. */ declare class qe extends Re {
|
|
1761
|
+
constructor(t: any, e: any);
|
|
1762
|
+
matches(t: any): any;
|
|
1763
|
+
}
|
|
1626
1764
|
/**
|
|
1627
1765
|
* Helper for parsing raw user input (provided via the API) into internal model
|
|
1628
1766
|
* classes.
|
|
1629
|
-
*/ declare class
|
|
1767
|
+
*/ declare class Dh {
|
|
1630
1768
|
constructor(t: any, e: any, n: any);
|
|
1631
1769
|
databaseId: any;
|
|
1632
1770
|
ignoreUndefinedProperties: any;
|
|
1633
|
-
|
|
1634
|
-
/** Creates a new top-level parse context. */ da(t: any, e: any, n: any, s?: boolean):
|
|
1771
|
+
yt: any;
|
|
1772
|
+
/** Creates a new top-level parse context. */ da(t: any, e: any, n: any, s?: boolean): Sh;
|
|
1635
1773
|
}
|
|
1636
1774
|
declare class z {
|
|
1637
1775
|
constructor(t: any);
|
|
@@ -1679,68 +1817,32 @@ declare class it {
|
|
|
1679
1817
|
forEach(t: any): void;
|
|
1680
1818
|
toArray(): any;
|
|
1681
1819
|
}
|
|
1682
|
-
declare class
|
|
1820
|
+
declare class Fh extends Ah {
|
|
1683
1821
|
constructor(t: any, e: any);
|
|
1684
1822
|
_a: any;
|
|
1685
|
-
_toFieldTransform(t: any):
|
|
1823
|
+
_toFieldTransform(t: any): Un;
|
|
1686
1824
|
isEqual(t: any): boolean;
|
|
1687
1825
|
}
|
|
1688
|
-
declare class
|
|
1826
|
+
declare class Mh extends Ah {
|
|
1689
1827
|
constructor(t: any, e: any);
|
|
1690
1828
|
_a: any;
|
|
1691
|
-
_toFieldTransform(t: any):
|
|
1829
|
+
_toFieldTransform(t: any): Un;
|
|
1692
1830
|
isEqual(t: any): boolean;
|
|
1693
1831
|
}
|
|
1694
|
-
declare class
|
|
1832
|
+
declare class Nh extends Ah {
|
|
1695
1833
|
_toFieldTransform(t: any): null;
|
|
1696
1834
|
isEqual(t: any): boolean;
|
|
1697
1835
|
}
|
|
1698
|
-
declare class
|
|
1699
|
-
constructor(t: any, e: any, n: any);
|
|
1700
|
-
type: any;
|
|
1701
|
-
Ea: any;
|
|
1702
|
-
Aa: any;
|
|
1703
|
-
_apply(t: any): Zc;
|
|
1704
|
-
}
|
|
1705
|
-
declare class yh extends sh {
|
|
1836
|
+
declare class $h extends Ah {
|
|
1706
1837
|
constructor(t: any, e: any);
|
|
1707
1838
|
wa: any;
|
|
1708
|
-
_toFieldTransform(t: any):
|
|
1839
|
+
_toFieldTransform(t: any): Un;
|
|
1709
1840
|
isEqual(t: any): boolean;
|
|
1710
1841
|
}
|
|
1711
|
-
declare class
|
|
1712
|
-
|
|
1713
|
-
type: any;
|
|
1714
|
-
Ia: any;
|
|
1715
|
-
Ta: any;
|
|
1716
|
-
_apply(t: any): Zc;
|
|
1717
|
-
}
|
|
1718
|
-
declare class Bh extends Oh {
|
|
1719
|
-
constructor(t: any, e: any);
|
|
1720
|
-
ma: any;
|
|
1721
|
-
pa: any;
|
|
1722
|
-
type: string;
|
|
1723
|
-
_apply(t: any): Zc;
|
|
1724
|
-
}
|
|
1725
|
-
declare class wh extends sh {
|
|
1726
|
-
_toFieldTransform(t: any): xn;
|
|
1842
|
+
declare class Oh extends Ah {
|
|
1843
|
+
_toFieldTransform(t: any): Un;
|
|
1727
1844
|
isEqual(t: any): boolean;
|
|
1728
1845
|
}
|
|
1729
|
-
declare class Gh extends Oh {
|
|
1730
|
-
constructor(t: any, e: any, n: any);
|
|
1731
|
-
type: any;
|
|
1732
|
-
Ea: any;
|
|
1733
|
-
Aa: any;
|
|
1734
|
-
_apply(t: any): Zc;
|
|
1735
|
-
}
|
|
1736
|
-
declare class Fh extends Oh {
|
|
1737
|
-
constructor(t: any, e: any, n: any);
|
|
1738
|
-
ma: any;
|
|
1739
|
-
ga: any;
|
|
1740
|
-
ya: any;
|
|
1741
|
-
type: string;
|
|
1742
|
-
_apply(t: any): Zc;
|
|
1743
|
-
}
|
|
1744
1846
|
/**
|
|
1745
1847
|
* An instance map that ensures only one Datastore exists per Firestore
|
|
1746
1848
|
* instance.
|
|
@@ -1750,7 +1852,7 @@ declare class Fh extends Oh {
|
|
|
1750
1852
|
* user-supplied `FirestoreSettings` object. This is a separate type so that
|
|
1751
1853
|
* defaults can be supplied and the value can be checked for equality.
|
|
1752
1854
|
*/
|
|
1753
|
-
declare class
|
|
1855
|
+
declare class wa {
|
|
1754
1856
|
constructor(t: any);
|
|
1755
1857
|
host: any;
|
|
1756
1858
|
ssl: any;
|
|
@@ -1774,7 +1876,7 @@ declare class Hc {
|
|
|
1774
1876
|
* base delay. This prevents clients from accidentally synchronizing their
|
|
1775
1877
|
* delays causing spikes of load to the backend.
|
|
1776
1878
|
*/
|
|
1777
|
-
declare class
|
|
1879
|
+
declare class Iu {
|
|
1778
1880
|
constructor(t: any, e: any, n?: number, s?: number, i?: number);
|
|
1779
1881
|
Hs: any;
|
|
1780
1882
|
timerId: any;
|
|
@@ -1832,7 +1934,7 @@ declare class tu {
|
|
|
1832
1934
|
* in newer versions of TypeScript defines `finally`, which is not available in
|
|
1833
1935
|
* IE.
|
|
1834
1936
|
*/
|
|
1835
|
-
declare class
|
|
1937
|
+
declare class nc {
|
|
1836
1938
|
/**
|
|
1837
1939
|
* Creates and returns a DelayedOperation that has been scheduled to be
|
|
1838
1940
|
* executed on the provided asyncQueue after the provided delayMs.
|
|
@@ -1846,14 +1948,14 @@ declare class Mu {
|
|
|
1846
1948
|
* from its delayedOperations list.
|
|
1847
1949
|
* PORTING NOTE: This exists to prevent making removeDelayedOperation() and
|
|
1848
1950
|
* the DelayedOperation class public.
|
|
1849
|
-
*/ static createAndSchedule(t: any, e: any, n: any, s: any, i: any):
|
|
1951
|
+
*/ static createAndSchedule(t: any, e: any, n: any, s: any, i: any): nc;
|
|
1850
1952
|
constructor(t: any, e: any, n: any, s: any, i: any);
|
|
1851
1953
|
asyncQueue: any;
|
|
1852
1954
|
timerId: any;
|
|
1853
1955
|
targetTimeMs: any;
|
|
1854
1956
|
op: any;
|
|
1855
1957
|
removalCallback: any;
|
|
1856
|
-
deferred:
|
|
1958
|
+
deferred: q;
|
|
1857
1959
|
then: <TResult1 = any, TResult2 = never>(onfulfilled?: ((value: any) => TResult1 | PromiseLike<TResult1>) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null | undefined) => Promise<TResult1 | TResult2>;
|
|
1858
1960
|
/**
|
|
1859
1961
|
* Starts the timer. This is called immediately after construction by
|
|
@@ -1874,7 +1976,29 @@ declare class Mu {
|
|
|
1874
1976
|
handleDelayElapsed(): void;
|
|
1875
1977
|
clearTimeout(): void;
|
|
1876
1978
|
}
|
|
1877
|
-
/**
|
|
1979
|
+
/**
|
|
1980
|
+
* @license
|
|
1981
|
+
* Copyright 2022 Google LLC
|
|
1982
|
+
*
|
|
1983
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
1984
|
+
* you may not use this file except in compliance with the License.
|
|
1985
|
+
* You may obtain a copy of the License at
|
|
1986
|
+
*
|
|
1987
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
1988
|
+
*
|
|
1989
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
1990
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
1991
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1992
|
+
* See the License for the specific language governing permissions and
|
|
1993
|
+
* limitations under the License.
|
|
1994
|
+
*/ declare class Ae {
|
|
1995
|
+
}
|
|
1996
|
+
/** Filter that matches on key fields not present within an array. */ declare class Me extends Re {
|
|
1997
|
+
constructor(t: any, e: any);
|
|
1998
|
+
keys: any;
|
|
1999
|
+
matches(t: any): boolean;
|
|
2000
|
+
}
|
|
2001
|
+
/** A "context" object passed around while parsing user data. */ declare class Sh {
|
|
1878
2002
|
/**
|
|
1879
2003
|
* Initializes a ParseContext with the given source and path.
|
|
1880
2004
|
*
|
|
@@ -1896,16 +2020,16 @@ declare class Mu {
|
|
|
1896
2020
|
constructor(t: any, e: any, n: any, s: any, i: any, r: any);
|
|
1897
2021
|
settings: any;
|
|
1898
2022
|
databaseId: any;
|
|
1899
|
-
|
|
2023
|
+
yt: any;
|
|
1900
2024
|
ignoreUndefinedProperties: any;
|
|
1901
2025
|
fieldTransforms: any;
|
|
1902
2026
|
fieldMask: any;
|
|
1903
2027
|
get path(): any;
|
|
1904
2028
|
get sa(): any;
|
|
1905
|
-
/** Returns a new context with the specified settings overwritten. */ ia(t: any):
|
|
1906
|
-
ra(t: any):
|
|
1907
|
-
ca(t: any):
|
|
1908
|
-
aa(t: any):
|
|
2029
|
+
/** Returns a new context with the specified settings overwritten. */ ia(t: any): Sh;
|
|
2030
|
+
ra(t: any): Sh;
|
|
2031
|
+
ca(t: any): Sh;
|
|
2032
|
+
aa(t: any): Sh;
|
|
1909
2033
|
ha(t: any): L;
|
|
1910
2034
|
/** Returns 'true' if 'fieldPath' was traversed when creating this context. */ contains(t: any): boolean;
|
|
1911
2035
|
na(): void;
|
|
@@ -1927,9 +2051,9 @@ declare class Mu {
|
|
|
1927
2051
|
* See the License for the specific language governing permissions and
|
|
1928
2052
|
* limitations under the License.
|
|
1929
2053
|
*/
|
|
1930
|
-
/** A field path and the TransformOperation to perform upon it. */ declare class
|
|
2054
|
+
/** A field path and the TransformOperation to perform upon it. */ declare class Un {
|
|
1931
2055
|
constructor(t: any, e: any);
|
|
1932
2056
|
field: any;
|
|
1933
2057
|
transform: any;
|
|
1934
2058
|
}
|
|
1935
|
-
export {
|
|
2059
|
+
export { Pl as AbstractUserDataWriter, Sa as AggregateField, Da as AggregateQuerySnapshot, Ih as Bytes, sh as CACHE_SIZE_UNLIMITED, Ia as CollectionReference, ya as DocumentReference, Dl as DocumentSnapshot, Th as FieldPath, Ah as FieldValue, ih as Firestore, L as FirestoreError, Rh as GeoPoint, nh as LoadBundleTask, pa as Query, ol as QueryCompositeFilterConstraint, nl as QueryConstraint, Cl as QueryDocumentSnapshot, gl as QueryEndAtConstraint, il as QueryFieldFilterConstraint, ll as QueryLimitConstraint, al as QueryOrderByConstraint, xl as QuerySnapshot, _l as QueryStartAtConstraint, Sl as SnapshotMetadata, nt as Timestamp, ef as Transaction, Zl as WriteBatch, Ft as _DatabaseId, ct as _DocumentKey, J as _EmptyAppCheckTokenProvider, K as _EmptyAuthCredentialsProvider, ut as _FieldPath, fa as _cast, F as _debugAssert, Gt as _isBase64Available, N as _logWarn, ca as _validateIsNotUsedTogether, Ql as addDoc, Jl as aggregateQuerySnapshotEqual, cl as and, uf as arrayRemove, of as arrayUnion, fh as clearIndexedDbPersistence, Ta as collection, Ea as collectionGroup, ga as connectFirestoreEmulator, Gl as deleteDoc, sf as deleteField, wh as disableNetwork, Aa as doc, Eh as documentId, ah as enableIndexedDbPersistence, hh as enableMultiTabIndexedDbPersistence, _h as enableNetwork, pl as endAt, yl as endBefore, uh as ensureFirestoreConfigured, zl as executeWrite, Yl as getCountFromServer, Ol as getDoc, Fl as getDocFromCache, $l as getDocFromServer, Bl as getDocs, Ll as getDocsFromCache, ql as getDocsFromServer, oh as getFirestore, cf as increment, rh as initializeFirestore, fl as limit, dl as limitToLast, gh as loadBundle, yh as namedQuery, jl as onSnapshot, Wl as onSnapshotsInSync, ul as or, hl as orderBy, sl as query, ba as queryEqual, Ra as refEqual, nf as runTransaction, rf as serverTimestamp, Ul as setDoc, hf as setIndexConfiguration, D as setLogLevel, kl as snapshotEqual, ml as startAfter, wl as startAt, mh as terminate, Kl as updateDoc, dh as waitForPendingWrites, rl as where, af as writeBatch };
|