@firebase/firestore 3.11.0 → 3.12.0-20230511201449
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/CHANGELOG.md +13 -0
- package/dist/firestore/src/api/long_polling_options.d.ts +55 -0
- package/dist/firestore/src/api/settings.d.ts +16 -2
- package/dist/firestore/src/api.d.ts +1 -0
- package/dist/firestore/src/core/database_info.d.ts +4 -1
- package/dist/firestore/src/lite-api/settings.d.ts +3 -0
- package/dist/firestore/src/platform/browser/webchannel_connection.d.ts +1 -0
- package/dist/firestore/test/unit/api/long_polling_options.test.d.ts +17 -0
- package/dist/index.cjs.js +1222 -1181
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +61 -2
- package/dist/index.esm2017.js +1137 -1096
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +1041 -1021
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +71 -6
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.node.mjs +71 -6
- package/dist/index.node.mjs.map +1 -1
- package/dist/index.rn.js +868 -827
- package/dist/index.rn.js.map +1 -1
- package/dist/internal.d.ts +67 -3
- package/dist/lite/firestore/src/api/long_polling_options.d.ts +55 -0
- package/dist/lite/firestore/src/api/settings.d.ts +16 -2
- package/dist/lite/firestore/src/api.d.ts +1 -0
- package/dist/lite/firestore/src/core/database_info.d.ts +4 -1
- package/dist/lite/firestore/src/lite-api/settings.d.ts +3 -0
- package/dist/lite/firestore/src/platform/browser/webchannel_connection.d.ts +1 -0
- package/dist/lite/firestore/test/unit/api/long_polling_options.test.d.ts +17 -0
- package/dist/lite/index.browser.esm2017.js +756 -716
- package/dist/lite/index.browser.esm2017.js.map +1 -1
- package/dist/lite/index.browser.esm5.js +764 -745
- package/dist/lite/index.browser.esm5.js.map +1 -1
- package/dist/lite/index.cjs.js +756 -716
- package/dist/lite/index.cjs.js.map +1 -1
- package/dist/lite/index.node.cjs.js +71 -6
- package/dist/lite/index.node.cjs.js.map +1 -1
- package/dist/lite/index.node.mjs +71 -6
- package/dist/lite/index.node.mjs.map +1 -1
- package/dist/lite/index.rn.esm2017.js +763 -723
- package/dist/lite/index.rn.esm2017.js.map +1 -1
- package/dist/lite/internal.d.ts +52 -1
- package/dist/lite/packages/firestore/dist/lite/index.browser.esm2017.d.ts +127 -144
- package/dist/lite/packages/firestore/src/api/long_polling_options.d.ts +55 -0
- package/dist/lite/packages/firestore/src/api/settings.d.ts +16 -2
- package/dist/lite/packages/firestore/src/api.d.ts +1 -0
- package/dist/lite/packages/firestore/src/core/database_info.d.ts +4 -1
- package/dist/lite/packages/firestore/src/lite-api/settings.d.ts +3 -0
- package/dist/lite/packages/firestore/src/platform/browser/webchannel_connection.d.ts +1 -0
- package/dist/lite/packages/firestore/test/unit/api/long_polling_options.test.d.ts +17 -0
- package/dist/lite/private.d.ts +52 -1
- package/dist/packages/firestore/dist/index.esm2017.d.ts +275 -292
- package/dist/packages/firestore/src/api/long_polling_options.d.ts +55 -0
- package/dist/packages/firestore/src/api/settings.d.ts +16 -2
- package/dist/packages/firestore/src/api.d.ts +1 -0
- package/dist/packages/firestore/src/core/database_info.d.ts +4 -1
- package/dist/packages/firestore/src/lite-api/settings.d.ts +3 -0
- package/dist/packages/firestore/src/platform/browser/webchannel_connection.d.ts +1 -0
- package/dist/packages/firestore/test/unit/api/long_polling_options.test.d.ts +17 -0
- package/dist/private.d.ts +67 -3
- package/package.json +5 -5
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
/**
|
|
34
34
|
* Represents an aggregation that can be performed by Firestore.
|
|
35
35
|
*/
|
|
36
|
-
declare class
|
|
36
|
+
declare class $n {
|
|
37
37
|
/**
|
|
38
38
|
* Create a new AggregateField<T>
|
|
39
39
|
* @param _aggregateType Specifies the type of aggregation operation to perform.
|
|
@@ -48,7 +48,7 @@ declare class Vn {
|
|
|
48
48
|
}
|
|
49
49
|
/**
|
|
50
50
|
* The results of executing an aggregation query.
|
|
51
|
-
*/ declare class
|
|
51
|
+
*/ declare class Nn {
|
|
52
52
|
/** @hideconstructor */
|
|
53
53
|
constructor(t: any, e: any, n: any);
|
|
54
54
|
_userDataWriter: any;
|
|
@@ -86,18 +86,18 @@ declare class Vn {
|
|
|
86
86
|
*/
|
|
87
87
|
/**
|
|
88
88
|
* An immutable object representing an array of bytes.
|
|
89
|
-
*/ declare class
|
|
89
|
+
*/ declare class Mn {
|
|
90
90
|
/**
|
|
91
91
|
* Creates a new `Bytes` object from the given Base64 string, converting it to
|
|
92
92
|
* bytes.
|
|
93
93
|
*
|
|
94
94
|
* @param base64 - The Base64 string used to create the `Bytes` object.
|
|
95
|
-
*/ static fromBase64String(t: any):
|
|
95
|
+
*/ static fromBase64String(t: any): Mn;
|
|
96
96
|
/**
|
|
97
97
|
* Creates a new `Bytes` object from the given Uint8Array.
|
|
98
98
|
*
|
|
99
99
|
* @param array - The Uint8Array used to create the `Bytes` object.
|
|
100
|
-
*/ static fromUint8Array(t: any):
|
|
100
|
+
*/ static fromUint8Array(t: any): Mn;
|
|
101
101
|
/** @hideconstructor */
|
|
102
102
|
constructor(t: any);
|
|
103
103
|
_byteString: any;
|
|
@@ -126,7 +126,7 @@ declare class Vn {
|
|
|
126
126
|
/**
|
|
127
127
|
* A `CollectionReference` object can be used for adding documents, getting
|
|
128
128
|
* document references, and querying for documents (using {@link (query:1)}).
|
|
129
|
-
*/ declare class
|
|
129
|
+
*/ declare class xn extends Fn {
|
|
130
130
|
_path: any;
|
|
131
131
|
/** The collection's identifier. */ get id(): any;
|
|
132
132
|
/**
|
|
@@ -137,7 +137,7 @@ declare class Vn {
|
|
|
137
137
|
* A reference to the containing `DocumentReference` if this is a
|
|
138
138
|
* subcollection. If this isn't a subcollection, the reference is null.
|
|
139
139
|
*/ get parent(): Dn | null;
|
|
140
|
-
withConverter(t: any):
|
|
140
|
+
withConverter(t: any): xn;
|
|
141
141
|
}
|
|
142
142
|
/**
|
|
143
143
|
* @license
|
|
@@ -177,7 +177,7 @@ declare class Vn {
|
|
|
177
177
|
*/ get path(): any;
|
|
178
178
|
/**
|
|
179
179
|
* The collection this `DocumentReference` belongs to.
|
|
180
|
-
*/ get parent():
|
|
180
|
+
*/ get parent(): xn;
|
|
181
181
|
withConverter(t: any): Dn;
|
|
182
182
|
}
|
|
183
183
|
/**
|
|
@@ -204,7 +204,7 @@ declare class Vn {
|
|
|
204
204
|
* For a `DocumentSnapshot` that points to a non-existing document, any data
|
|
205
205
|
* access will return 'undefined'. You can use the `exists()` method to
|
|
206
206
|
* explicitly verify a document's existence.
|
|
207
|
-
*/ declare class
|
|
207
|
+
*/ declare class pr {
|
|
208
208
|
/** @hideconstructor protected */
|
|
209
209
|
constructor(t: any, e: any, n: any, r: any, s: any);
|
|
210
210
|
_firestore: any;
|
|
@@ -262,7 +262,7 @@ declare class Vn {
|
|
|
262
262
|
*
|
|
263
263
|
* Create a `FieldPath` by providing field names. If more than one field
|
|
264
264
|
* name is provided, the path will point to a nested field in a document.
|
|
265
|
-
*/ declare class
|
|
265
|
+
*/ declare class Ln {
|
|
266
266
|
/**
|
|
267
267
|
* Creates a `FieldPath` from the provided field names. If more than one field
|
|
268
268
|
* name is provided, the path will point to a nested field in a document.
|
|
@@ -297,7 +297,7 @@ declare class Vn {
|
|
|
297
297
|
/**
|
|
298
298
|
* Sentinel values that can be used when writing document fields with `set()`
|
|
299
299
|
* or `update()`.
|
|
300
|
-
*/ declare class
|
|
300
|
+
*/ declare class jn {
|
|
301
301
|
/**
|
|
302
302
|
* @param _methodName - The public API endpoint that returns this class.
|
|
303
303
|
* @hideconstructor
|
|
@@ -305,27 +305,7 @@ declare class Vn {
|
|
|
305
305
|
constructor(t: any);
|
|
306
306
|
_methodName: any;
|
|
307
307
|
}
|
|
308
|
-
|
|
309
|
-
* @license
|
|
310
|
-
* Copyright 2020 Google LLC
|
|
311
|
-
*
|
|
312
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
313
|
-
* you may not use this file except in compliance with the License.
|
|
314
|
-
* You may obtain a copy of the License at
|
|
315
|
-
*
|
|
316
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
317
|
-
*
|
|
318
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
319
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
320
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
321
|
-
* See the License for the specific language governing permissions and
|
|
322
|
-
* limitations under the License.
|
|
323
|
-
*/
|
|
324
|
-
/**
|
|
325
|
-
* The Cloud Firestore service interface.
|
|
326
|
-
*
|
|
327
|
-
* Do not call this constructor directly. Instead, use {@link (getFirestore:1)}.
|
|
328
|
-
*/ declare class In {
|
|
308
|
+
declare class Tn {
|
|
329
309
|
/** @hideconstructor */
|
|
330
310
|
constructor(t: any, e: any, n: any, r: any);
|
|
331
311
|
_authCredentials: any;
|
|
@@ -337,7 +317,7 @@ declare class Vn {
|
|
|
337
317
|
*/
|
|
338
318
|
type: string;
|
|
339
319
|
_persistenceKey: string;
|
|
340
|
-
_settings:
|
|
320
|
+
_settings: In;
|
|
341
321
|
_settingsFrozen: boolean;
|
|
342
322
|
/**
|
|
343
323
|
* The {@link @firebase/app#FirebaseApp} associated with this `Firestore` service
|
|
@@ -346,14 +326,14 @@ declare class Vn {
|
|
|
346
326
|
get _initialized(): boolean;
|
|
347
327
|
get _terminated(): boolean;
|
|
348
328
|
_setSettings(t: any): void;
|
|
349
|
-
_getSettings():
|
|
350
|
-
_freezeSettings():
|
|
329
|
+
_getSettings(): In;
|
|
330
|
+
_freezeSettings(): In;
|
|
351
331
|
_delete(): Promise<void>;
|
|
352
332
|
_terminateTask: Promise<void> | undefined;
|
|
353
333
|
/** Returns a JSON-serializable representation of this `Firestore` instance. */ toJSON(): {
|
|
354
334
|
app: any;
|
|
355
335
|
databaseId: any;
|
|
356
|
-
settings:
|
|
336
|
+
settings: In;
|
|
357
337
|
};
|
|
358
338
|
/**
|
|
359
339
|
* Terminates all components used by this client. Subclasses can override
|
|
@@ -391,7 +371,7 @@ declare class Vn {
|
|
|
391
371
|
*
|
|
392
372
|
* Latitude values are in the range of [-90, 90].
|
|
393
373
|
* Longitude values are in the range of [-180, 180].
|
|
394
|
-
*/ declare class
|
|
374
|
+
*/ declare class Bn {
|
|
395
375
|
/**
|
|
396
376
|
* Creates a new immutable `GeoPoint` object with the provided latitude and
|
|
397
377
|
* longitude values.
|
|
@@ -425,7 +405,7 @@ declare class Vn {
|
|
|
425
405
|
/**
|
|
426
406
|
* A `Query` refers to a query which you can read or listen to. You can also
|
|
427
407
|
* construct refined `Query` objects by adding filters and ordering.
|
|
428
|
-
*/ declare class
|
|
408
|
+
*/ declare class Fn {
|
|
429
409
|
/** @hideconstructor protected */
|
|
430
410
|
constructor(t: any, e: any, n: any);
|
|
431
411
|
converter: any;
|
|
@@ -433,7 +413,7 @@ declare class Vn {
|
|
|
433
413
|
/** The type of this Firestore reference. */
|
|
434
414
|
type: string;
|
|
435
415
|
firestore: any;
|
|
436
|
-
withConverter(t: any):
|
|
416
|
+
withConverter(t: any): Fn;
|
|
437
417
|
}
|
|
438
418
|
/**
|
|
439
419
|
* A `QueryCompositeFilterConstraint` is used to narrow the set of documents
|
|
@@ -442,8 +422,8 @@ declare class Vn {
|
|
|
442
422
|
* `QueryCompositeFilterConstraint`s are created by invoking {@link or} or
|
|
443
423
|
* {@link and} and can then be passed to {@link (query:1)} to create a new query
|
|
444
424
|
* instance that also contains the `QueryCompositeFilterConstraint`.
|
|
445
|
-
*/ declare class
|
|
446
|
-
static _create(t: any, e: any):
|
|
425
|
+
*/ declare class Rr extends br {
|
|
426
|
+
static _create(t: any, e: any): Rr;
|
|
447
427
|
/**
|
|
448
428
|
* @internal
|
|
449
429
|
*/
|
|
@@ -462,7 +442,7 @@ declare class Vn {
|
|
|
462
442
|
* (endBefore:1)}, {@link (endAt:1)}, {@link limit}, {@link limitToLast} and
|
|
463
443
|
* can then be passed to {@link (query:1)} to create a new query instance that
|
|
464
444
|
* also contains this `QueryConstraint`.
|
|
465
|
-
*/ declare class
|
|
445
|
+
*/ declare class Er extends br {
|
|
466
446
|
}
|
|
467
447
|
/**
|
|
468
448
|
* A `QueryDocumentSnapshot` contains data read from a document in your
|
|
@@ -474,7 +454,7 @@ declare class Vn {
|
|
|
474
454
|
* `DocumentSnapshot`. Since query results contain only existing documents, the
|
|
475
455
|
* `exists` property will always be true and `data()` will never return
|
|
476
456
|
* 'undefined'.
|
|
477
|
-
*/ declare class
|
|
457
|
+
*/ declare class yr extends pr {
|
|
478
458
|
}
|
|
479
459
|
/**
|
|
480
460
|
* A `QueryEndAtConstraint` is used to exclude documents from the end of a
|
|
@@ -482,8 +462,8 @@ declare class Vn {
|
|
|
482
462
|
* `QueryEndAtConstraint`s are created by invoking {@link (endAt:1)} or
|
|
483
463
|
* {@link (endBefore:1)} and can then be passed to {@link (query:1)} to create a new
|
|
484
464
|
* query instance that also contains this `QueryEndAtConstraint`.
|
|
485
|
-
*/ declare class
|
|
486
|
-
static _create(t: any, e: any, n: any):
|
|
465
|
+
*/ declare class kr extends Er {
|
|
466
|
+
static _create(t: any, e: any, n: any): kr;
|
|
487
467
|
/**
|
|
488
468
|
* @internal
|
|
489
469
|
*/
|
|
@@ -491,7 +471,7 @@ declare class Vn {
|
|
|
491
471
|
type: any;
|
|
492
472
|
_docOrFields: any;
|
|
493
473
|
_inclusive: any;
|
|
494
|
-
_apply(t: any):
|
|
474
|
+
_apply(t: any): Fn;
|
|
495
475
|
}
|
|
496
476
|
/**
|
|
497
477
|
* A `QueryFieldFilterConstraint` is used to narrow the set of documents returned by
|
|
@@ -499,8 +479,8 @@ declare class Vn {
|
|
|
499
479
|
* `QueryFieldFilterConstraint`s are created by invoking {@link where} and can then
|
|
500
480
|
* be passed to {@link (query:1)} to create a new query instance that also contains
|
|
501
481
|
* this `QueryFieldFilterConstraint`.
|
|
502
|
-
*/ declare class
|
|
503
|
-
static _create(t: any, e: any, n: any):
|
|
482
|
+
*/ declare class Tr extends Er {
|
|
483
|
+
static _create(t: any, e: any, n: any): Tr;
|
|
504
484
|
/**
|
|
505
485
|
* @internal
|
|
506
486
|
*/
|
|
@@ -510,8 +490,8 @@ declare class Vn {
|
|
|
510
490
|
_value: any;
|
|
511
491
|
/** The type of this query constraint */
|
|
512
492
|
type: string;
|
|
513
|
-
_apply(t: any):
|
|
514
|
-
_parse(t: any):
|
|
493
|
+
_apply(t: any): Fn;
|
|
494
|
+
_parse(t: any): Xt | ne | ce;
|
|
515
495
|
}
|
|
516
496
|
/**
|
|
517
497
|
* A `QueryLimitConstraint` is used to limit the number of documents returned by
|
|
@@ -519,7 +499,7 @@ declare class Vn {
|
|
|
519
499
|
* `QueryLimitConstraint`s are created by invoking {@link limit} or
|
|
520
500
|
* {@link limitToLast} and can then be passed to {@link (query:1)} to create a new
|
|
521
501
|
* query instance that also contains this `QueryLimitConstraint`.
|
|
522
|
-
*/ declare class Dr extends
|
|
502
|
+
*/ declare class Dr extends Er {
|
|
523
503
|
static _create(t: any, e: any, n: any): Dr;
|
|
524
504
|
/**
|
|
525
505
|
* @internal
|
|
@@ -528,7 +508,7 @@ declare class Vn {
|
|
|
528
508
|
type: any;
|
|
529
509
|
_limit: any;
|
|
530
510
|
_limitType: any;
|
|
531
|
-
_apply(t: any):
|
|
511
|
+
_apply(t: any): Fn;
|
|
532
512
|
}
|
|
533
513
|
/**
|
|
534
514
|
* A `QueryOrderByConstraint` is used to sort the set of documents returned by a
|
|
@@ -538,8 +518,8 @@ declare class Vn {
|
|
|
538
518
|
*
|
|
539
519
|
* Note: Documents that do not contain the orderBy field will not be present in
|
|
540
520
|
* the query result.
|
|
541
|
-
*/ declare class
|
|
542
|
-
static _create(t: any, e: any):
|
|
521
|
+
*/ declare class $r extends Er {
|
|
522
|
+
static _create(t: any, e: any): $r;
|
|
543
523
|
/**
|
|
544
524
|
* @internal
|
|
545
525
|
*/
|
|
@@ -548,7 +528,7 @@ declare class Vn {
|
|
|
548
528
|
_direction: any;
|
|
549
529
|
/** The type of this query constraint */
|
|
550
530
|
type: string;
|
|
551
|
-
_apply(t: any):
|
|
531
|
+
_apply(t: any): Fn;
|
|
552
532
|
}
|
|
553
533
|
/**
|
|
554
534
|
* A `QuerySnapshot` contains zero or more `DocumentSnapshot` objects
|
|
@@ -556,7 +536,7 @@ declare class Vn {
|
|
|
556
536
|
* array via the `docs` property or enumerated using the `forEach` method. The
|
|
557
537
|
* number of documents can be determined via the `empty` and `size`
|
|
558
538
|
* properties.
|
|
559
|
-
*/ declare class
|
|
539
|
+
*/ declare class gr {
|
|
560
540
|
/** @hideconstructor */
|
|
561
541
|
constructor(t: any, e: any);
|
|
562
542
|
_docs: any;
|
|
@@ -578,8 +558,8 @@ declare class Vn {
|
|
|
578
558
|
* `QueryStartAtConstraint`s are created by invoking {@link (startAt:1)} or
|
|
579
559
|
* {@link (startAfter:1)} and can then be passed to {@link (query:1)} to create a
|
|
580
560
|
* new query instance that also contains this `QueryStartAtConstraint`.
|
|
581
|
-
*/ declare class
|
|
582
|
-
static _create(t: any, e: any, n: any):
|
|
561
|
+
*/ declare class Sr extends Er {
|
|
562
|
+
static _create(t: any, e: any, n: any): Sr;
|
|
583
563
|
/**
|
|
584
564
|
* @internal
|
|
585
565
|
*/
|
|
@@ -587,7 +567,7 @@ declare class Vn {
|
|
|
587
567
|
type: any;
|
|
588
568
|
_docOrFields: any;
|
|
589
569
|
_inclusive: any;
|
|
590
|
-
_apply(t: any):
|
|
570
|
+
_apply(t: any): Fn;
|
|
591
571
|
}
|
|
592
572
|
/**
|
|
593
573
|
* @license
|
|
@@ -619,19 +599,19 @@ declare class Vn {
|
|
|
619
599
|
* For examples and further specifications, refer to the
|
|
620
600
|
* {@link https://github.com/google/protobuf/blob/master/src/google/protobuf/timestamp.proto | Timestamp definition}.
|
|
621
601
|
*/
|
|
622
|
-
declare class
|
|
602
|
+
declare class xt {
|
|
623
603
|
/**
|
|
624
604
|
* Creates a new timestamp with the current date, with millisecond precision.
|
|
625
605
|
*
|
|
626
606
|
* @returns a new timestamp representing the current date.
|
|
627
|
-
*/ static now():
|
|
607
|
+
*/ static now(): xt;
|
|
628
608
|
/**
|
|
629
609
|
* Creates a new timestamp from the given date.
|
|
630
610
|
*
|
|
631
611
|
* @param date - The date to initialize the `Timestamp` from.
|
|
632
612
|
* @returns A new `Timestamp` representing the same point in time as the given
|
|
633
613
|
* date.
|
|
634
|
-
*/ static fromDate(t: any):
|
|
614
|
+
*/ static fromDate(t: any): xt;
|
|
635
615
|
/**
|
|
636
616
|
* Creates a new timestamp from the given number of milliseconds.
|
|
637
617
|
*
|
|
@@ -639,7 +619,7 @@ declare class Ft {
|
|
|
639
619
|
* 1970-01-01T00:00:00Z.
|
|
640
620
|
* @returns A new `Timestamp` representing the same point in time as the given
|
|
641
621
|
* number of milliseconds.
|
|
642
|
-
*/ static fromMillis(t: any):
|
|
622
|
+
*/ static fromMillis(t: any): xt;
|
|
643
623
|
/**
|
|
644
624
|
* Creates a new timestamp.
|
|
645
625
|
*
|
|
@@ -686,26 +666,26 @@ declare class Ft {
|
|
|
686
666
|
* to be compared using the `>`, `<=`, `>=` and `>` operators.
|
|
687
667
|
*/ valueOf(): string;
|
|
688
668
|
}
|
|
689
|
-
declare class
|
|
669
|
+
declare class bs {
|
|
690
670
|
/** @hideconstructor */
|
|
691
671
|
constructor(t: any, e: any);
|
|
692
672
|
_firestore: any;
|
|
693
673
|
_transaction: any;
|
|
694
|
-
_dataReader:
|
|
674
|
+
_dataReader: Yn;
|
|
695
675
|
/**
|
|
696
676
|
* Reads the document referenced by the provided {@link DocumentReference}.
|
|
697
677
|
*
|
|
698
678
|
* @param documentRef - A reference to the document to be read.
|
|
699
679
|
* @returns A `DocumentSnapshot` with the read data.
|
|
700
680
|
*/ get(t: any): any;
|
|
701
|
-
set(t: any, e: any, n: any):
|
|
702
|
-
update(t: any, e: any, n: any, ...r: any[]):
|
|
681
|
+
set(t: any, e: any, n: any): bs;
|
|
682
|
+
update(t: any, e: any, n: any, ...r: any[]): bs;
|
|
703
683
|
/**
|
|
704
684
|
* Deletes the document referred to by the provided {@link DocumentReference}.
|
|
705
685
|
*
|
|
706
686
|
* @param documentRef - A reference to the document to be deleted.
|
|
707
687
|
* @returns This `Transaction` instance. Used for chaining method calls.
|
|
708
|
-
*/ delete(t: any):
|
|
688
|
+
*/ delete(t: any): bs;
|
|
709
689
|
}
|
|
710
690
|
/**
|
|
711
691
|
* @license
|
|
@@ -730,22 +710,22 @@ declare class vs {
|
|
|
730
710
|
* provides methods for adding writes to the write batch. None of the writes
|
|
731
711
|
* will be committed (or visible locally) until {@link WriteBatch.commit} is
|
|
732
712
|
* called.
|
|
733
|
-
*/ declare class
|
|
713
|
+
*/ declare class fs {
|
|
734
714
|
/** @hideconstructor */
|
|
735
715
|
constructor(t: any, e: any);
|
|
736
716
|
_firestore: any;
|
|
737
717
|
_commitHandler: any;
|
|
738
718
|
_mutations: any[];
|
|
739
719
|
_committed: boolean;
|
|
740
|
-
_dataReader:
|
|
741
|
-
set(t: any, e: any, n: any):
|
|
742
|
-
update(t: any, e: any, n: any, ...r: any[]):
|
|
720
|
+
_dataReader: Yn;
|
|
721
|
+
set(t: any, e: any, n: any): fs;
|
|
722
|
+
update(t: any, e: any, n: any, ...r: any[]): fs;
|
|
743
723
|
/**
|
|
744
724
|
* Deletes the document referred to by the provided {@link DocumentReference}.
|
|
745
725
|
*
|
|
746
726
|
* @param documentRef - A reference to the document to be deleted.
|
|
747
727
|
* @returns This `WriteBatch` instance. Used for chaining method calls.
|
|
748
|
-
*/ delete(t: any):
|
|
728
|
+
*/ delete(t: any): fs;
|
|
749
729
|
/**
|
|
750
730
|
* Commits all of the writes in this write batch as a single atomic unit.
|
|
751
731
|
*
|
|
@@ -774,14 +754,14 @@ declare class vs {
|
|
|
774
754
|
* @throws Error - If the provided input is not a valid Firestore document.
|
|
775
755
|
* @returns A `Promise` resolved with a `DocumentReference` pointing to the
|
|
776
756
|
* newly created document after it has been written to the backend.
|
|
777
|
-
*/ declare function
|
|
757
|
+
*/ declare function Zr(t: any, e: any): Promise<Dn>;
|
|
778
758
|
/**
|
|
779
759
|
* Compares two 'AggregateField` instances for equality.
|
|
780
760
|
*
|
|
781
761
|
* @param left Compare this AggregateField to the `right`.
|
|
782
762
|
* @param right Compare this AggregateField to the `left`.
|
|
783
763
|
* @internal TODO (sum/avg) remove when public
|
|
784
|
-
*/ declare function
|
|
764
|
+
*/ declare function is(t: any, e: any): boolean;
|
|
785
765
|
/**
|
|
786
766
|
* Compares two `AggregateQuerySnapshot` instances for equality.
|
|
787
767
|
*
|
|
@@ -793,7 +773,7 @@ declare class vs {
|
|
|
793
773
|
*
|
|
794
774
|
* @returns `true` if the objects are "equal", as defined above, or `false`
|
|
795
775
|
* otherwise.
|
|
796
|
-
*/ declare function
|
|
776
|
+
*/ declare function os(t: any, e: any): boolean;
|
|
797
777
|
/**
|
|
798
778
|
* Creates a new {@link QueryCompositeFilterConstraint} that is a conjunction of
|
|
799
779
|
* the given filter constraints. A conjunction filter includes a document if it
|
|
@@ -803,7 +783,7 @@ declare class vs {
|
|
|
803
783
|
* {@link QueryFilterConstraint}s to perform a conjunction for. These must be
|
|
804
784
|
* created with calls to {@link where}, {@link or}, or {@link and}.
|
|
805
785
|
* @returns The newly created {@link QueryCompositeFilterConstraint}.
|
|
806
|
-
*/ declare function
|
|
786
|
+
*/ declare function Vr(...t: any[]): Rr;
|
|
807
787
|
/**
|
|
808
788
|
* Returns a special value that can be used with {@link (setDoc:1)} or {@link
|
|
809
789
|
* updateDoc:1} that tells the server to remove the given elements from any
|
|
@@ -814,7 +794,7 @@ declare class vs {
|
|
|
814
794
|
* @param elements - The elements to remove from the array.
|
|
815
795
|
* @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
|
|
816
796
|
* `updateDoc()`
|
|
817
|
-
*/ declare function
|
|
797
|
+
*/ declare function hs(...t: any[]): nr;
|
|
818
798
|
/**
|
|
819
799
|
* Returns a special value that can be used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link
|
|
820
800
|
* @firebase/firestore/lite#(updateDoc:1)} that tells the server to union the given elements with any array
|
|
@@ -826,14 +806,14 @@ declare class vs {
|
|
|
826
806
|
* @param elements - The elements to union into the array.
|
|
827
807
|
* @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
|
|
828
808
|
* `updateDoc()`.
|
|
829
|
-
*/ declare function
|
|
809
|
+
*/ declare function as(...t: any[]): er;
|
|
830
810
|
/**
|
|
831
811
|
* Create an AggregateField object that can be used to compute the average of
|
|
832
812
|
* a specified field over a range of documents in the result set of a query.
|
|
833
813
|
* @param field Specifies the field to average across the result set.
|
|
834
814
|
* @internal TODO (sum/avg) remove when public
|
|
835
|
-
*/ declare function
|
|
836
|
-
declare function
|
|
815
|
+
*/ declare function rs(t: any): $n;
|
|
816
|
+
declare function Sn(t: any, e: any, ...n: any[]): xn;
|
|
837
817
|
/**
|
|
838
818
|
* Creates and returns a new `Query` instance that includes all documents in the
|
|
839
819
|
* database that are contained in a collection or subcollection with the
|
|
@@ -844,7 +824,7 @@ declare function xn(t: any, e: any, ...n: any[]): Fn;
|
|
|
844
824
|
* collection or subcollection with this ID as the last segment of its path
|
|
845
825
|
* will be included. Cannot contain a slash.
|
|
846
826
|
* @returns The created `Query`.
|
|
847
|
-
*/ declare function
|
|
827
|
+
*/ declare function qn(t: any, e: any): Fn;
|
|
848
828
|
/**
|
|
849
829
|
* Modify this instance to communicate with the Cloud Firestore emulator.
|
|
850
830
|
*
|
|
@@ -857,12 +837,12 @@ declare function xn(t: any, e: any, ...n: any[]): Fn;
|
|
|
857
837
|
* @param port - the emulator port (ex: 9000).
|
|
858
838
|
* @param options.mockUserToken - the mock auth token to use for unit testing
|
|
859
839
|
* Security Rules.
|
|
860
|
-
*/ declare function
|
|
840
|
+
*/ declare function Pn(t: any, e: any, n: any, r?: {}): void;
|
|
861
841
|
/**
|
|
862
842
|
* Create an AggregateField object that can be used to compute the count of
|
|
863
843
|
* documents in the result set of a query.
|
|
864
844
|
* @internal TODO (sum/avg) remove when public
|
|
865
|
-
*/ declare function
|
|
845
|
+
*/ declare function ss(): $n;
|
|
866
846
|
/**
|
|
867
847
|
* Deletes the document referred to by the specified `DocumentReference`.
|
|
868
848
|
*
|
|
@@ -874,7 +854,7 @@ declare function xn(t: any, e: any, ...n: any[]): Fn;
|
|
|
874
854
|
* @param reference - A reference to the document to delete.
|
|
875
855
|
* @returns A `Promise` resolved once the document has been successfully
|
|
876
856
|
* deleted from the backend.
|
|
877
|
-
*/ declare function
|
|
857
|
+
*/ declare function Xr(t: any): Promise<void>;
|
|
878
858
|
/**
|
|
879
859
|
* @license
|
|
880
860
|
* Copyright 2020 Google LLC
|
|
@@ -894,14 +874,14 @@ declare function xn(t: any, e: any, ...n: any[]): Fn;
|
|
|
894
874
|
/**
|
|
895
875
|
* Returns a sentinel for use with {@link @firebase/firestore/lite#(updateDoc:1)} or
|
|
896
876
|
* {@link @firebase/firestore/lite#(setDoc:1)} with `{merge: true}` to mark a field for deletion.
|
|
897
|
-
*/ declare function
|
|
898
|
-
declare function
|
|
877
|
+
*/ declare function us(): Xn;
|
|
878
|
+
declare function On(t: any, e: any, ...n: any[]): Dn;
|
|
899
879
|
/**
|
|
900
880
|
* Returns a special sentinel `FieldPath` to refer to the ID of a document.
|
|
901
881
|
* It can be used in queries to sort or filter by the document ID.
|
|
902
|
-
*/ declare function
|
|
903
|
-
declare function
|
|
904
|
-
declare function
|
|
882
|
+
*/ declare function Un(): Ln;
|
|
883
|
+
declare function Mr(...t: any[]): kr;
|
|
884
|
+
declare function Cr(...t: any[]): kr;
|
|
905
885
|
/**
|
|
906
886
|
* Calculates the specified aggregations over the documents in the result
|
|
907
887
|
* set of the given query, without actually downloading the documents.
|
|
@@ -928,7 +908,7 @@ declare function kr(...t: any[]): Or;
|
|
|
928
908
|
* const averageScore: number | null = aggregateSnapshot.data().averageScore;
|
|
929
909
|
* ```
|
|
930
910
|
* @internal TODO (sum/avg) remove when public
|
|
931
|
-
*/ declare function
|
|
911
|
+
*/ declare function es(t: any, e: any): Promise<Nn>;
|
|
932
912
|
/**
|
|
933
913
|
* @license
|
|
934
914
|
* Copyright 2022 Google LLC
|
|
@@ -958,7 +938,7 @@ declare function kr(...t: any[]): Or;
|
|
|
958
938
|
* @returns A Promise that will be resolved with the count; the count can be
|
|
959
939
|
* retrieved from `snapshot.data().count`, where `snapshot` is the
|
|
960
940
|
* `AggregateQuerySnapshot` to which the returned Promise resolves.
|
|
961
|
-
*/ declare function
|
|
941
|
+
*/ declare function ts(t: any): Promise<Nn>;
|
|
962
942
|
/**
|
|
963
943
|
* Reads the document referred to by the specified document reference.
|
|
964
944
|
*
|
|
@@ -971,7 +951,7 @@ declare function kr(...t: any[]): Or;
|
|
|
971
951
|
* @param reference - The reference of the document to fetch.
|
|
972
952
|
* @returns A Promise resolved with a `DocumentSnapshot` containing the current
|
|
973
953
|
* document contents.
|
|
974
|
-
*/ declare function
|
|
954
|
+
*/ declare function Kr(t: any): Promise<pr>;
|
|
975
955
|
/**
|
|
976
956
|
* Executes the query and returns the results as a {@link QuerySnapshot}.
|
|
977
957
|
*
|
|
@@ -983,8 +963,8 @@ declare function kr(...t: any[]): Or;
|
|
|
983
963
|
*
|
|
984
964
|
* @param query - The `Query` to execute.
|
|
985
965
|
* @returns A Promise that will be resolved with the results of the query.
|
|
986
|
-
*/ declare function
|
|
987
|
-
declare function
|
|
966
|
+
*/ declare function Yr(t: any): Promise<gr>;
|
|
967
|
+
declare function Rn(e: any, n: any): import("../../lite").Firestore;
|
|
988
968
|
/**
|
|
989
969
|
* Returns a special value that can be used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link
|
|
990
970
|
* @firebase/firestore/lite#(updateDoc:1)} that tells the server to increment the field's current value by
|
|
@@ -1003,15 +983,15 @@ declare function An(e: any, n: any): import("../../lite").Firestore;
|
|
|
1003
983
|
* @param n - The value to increment by.
|
|
1004
984
|
* @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
|
|
1005
985
|
* `updateDoc()`
|
|
1006
|
-
*/ declare function
|
|
1007
|
-
declare function
|
|
986
|
+
*/ declare function ls(t: any): rr;
|
|
987
|
+
declare function An(t: any, e: any, n: any): import("../../lite").Firestore;
|
|
1008
988
|
/**
|
|
1009
989
|
* Creates a {@link QueryLimitConstraint} that only returns the first matching
|
|
1010
990
|
* documents.
|
|
1011
991
|
*
|
|
1012
992
|
* @param limit - The maximum number of items to return.
|
|
1013
993
|
* @returns The created {@link QueryLimitConstraint}.
|
|
1014
|
-
*/ declare function
|
|
994
|
+
*/ declare function Fr(t: any): Dr;
|
|
1015
995
|
/**
|
|
1016
996
|
* Creates a {@link QueryLimitConstraint} that only returns the last matching
|
|
1017
997
|
* documents.
|
|
@@ -1021,7 +1001,7 @@ declare function Tn(t: any, e: any, n: any): import("../../lite").Firestore;
|
|
|
1021
1001
|
*
|
|
1022
1002
|
* @param limit - The maximum number of items to return.
|
|
1023
1003
|
* @returns The created {@link QueryLimitConstraint}.
|
|
1024
|
-
*/ declare function
|
|
1004
|
+
*/ declare function xr(t: any): Dr;
|
|
1025
1005
|
/**
|
|
1026
1006
|
* Creates a new {@link QueryCompositeFilterConstraint} that is a disjunction of
|
|
1027
1007
|
* the given filter constraints. A disjunction filter includes a document if it
|
|
@@ -1031,7 +1011,7 @@ declare function Tn(t: any, e: any, n: any): import("../../lite").Firestore;
|
|
|
1031
1011
|
* {@link QueryFilterConstraint}s to perform a disjunction for. These must be
|
|
1032
1012
|
* created with calls to {@link where}, {@link or}, or {@link and}.
|
|
1033
1013
|
* @returns The newly created {@link QueryCompositeFilterConstraint}.
|
|
1034
|
-
*/ declare function
|
|
1014
|
+
*/ declare function Pr(...t: any[]): Rr;
|
|
1035
1015
|
/**
|
|
1036
1016
|
* Creates a {@link QueryOrderByConstraint} that sorts the query result by the
|
|
1037
1017
|
* specified field, optionally in descending order instead of ascending.
|
|
@@ -1043,8 +1023,8 @@ declare function Tn(t: any, e: any, n: any): import("../../lite").Firestore;
|
|
|
1043
1023
|
* @param directionStr - Optional direction to sort by ('asc' or 'desc'). If
|
|
1044
1024
|
* not specified, order will be ascending.
|
|
1045
1025
|
* @returns The created {@link QueryOrderByConstraint}.
|
|
1046
|
-
*/ declare function
|
|
1047
|
-
declare function
|
|
1026
|
+
*/ declare function Nr(t: any, e?: string): $r;
|
|
1027
|
+
declare function Ir(t: any, e: any, ...n: any[]): any;
|
|
1048
1028
|
/**
|
|
1049
1029
|
* Returns true if the provided queries point to the same collection and apply
|
|
1050
1030
|
* the same constraints.
|
|
@@ -1053,7 +1033,7 @@ declare function Er(t: any, e: any, ...n: any[]): any;
|
|
|
1053
1033
|
* @param right - A `Query` to compare.
|
|
1054
1034
|
* @returns true if the references point to the same location in the same
|
|
1055
1035
|
* Firestore database.
|
|
1056
|
-
*/ declare function
|
|
1036
|
+
*/ declare function Cn(t: any, e: any): boolean;
|
|
1057
1037
|
/**
|
|
1058
1038
|
* Returns true if the provided references are equal.
|
|
1059
1039
|
*
|
|
@@ -1061,7 +1041,7 @@ declare function Er(t: any, e: any, ...n: any[]): any;
|
|
|
1061
1041
|
* @param right - A reference to compare.
|
|
1062
1042
|
* @returns true if the references point to the same location in the same
|
|
1063
1043
|
* Firestore database.
|
|
1064
|
-
*/ declare function
|
|
1044
|
+
*/ declare function kn(t: any, e: any): boolean;
|
|
1065
1045
|
/**
|
|
1066
1046
|
* Executes the given `updateFunction` and then attempts to commit the changes
|
|
1067
1047
|
* applied within the transaction. If any document read within the transaction
|
|
@@ -1080,12 +1060,12 @@ declare function Er(t: any, e: any, ...n: any[]): any;
|
|
|
1080
1060
|
* (the `updateFunction` returned a failed promise), the promise returned by the
|
|
1081
1061
|
* `updateFunction `is returned here. Otherwise, if the transaction failed, a
|
|
1082
1062
|
* rejected promise with the corresponding failure error is returned.
|
|
1083
|
-
*/ declare function
|
|
1063
|
+
*/ declare function Es(t: any, e: any, n: any): Promise<any>;
|
|
1084
1064
|
/**
|
|
1085
1065
|
* Returns a sentinel used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link @firebase/firestore/lite#(updateDoc:1)} to
|
|
1086
1066
|
* include a server-generated timestamp in the written data.
|
|
1087
|
-
*/ declare function
|
|
1088
|
-
declare function
|
|
1067
|
+
*/ declare function cs(): tr;
|
|
1068
|
+
declare function Hr(t: any, e: any, n: any): Promise<void>;
|
|
1089
1069
|
/**
|
|
1090
1070
|
* Sets the verbosity of Cloud Firestore logs (debug, error, or silent).
|
|
1091
1071
|
*
|
|
@@ -1105,10 +1085,10 @@ declare function Yr(t: any, e: any, n: any): Promise<void>;
|
|
|
1105
1085
|
* @param left - A snapshot to compare.
|
|
1106
1086
|
* @param right - A snapshot to compare.
|
|
1107
1087
|
* @returns true if the snapshots are equal.
|
|
1108
|
-
*/ declare function
|
|
1109
|
-
declare function
|
|
1110
|
-
declare function
|
|
1111
|
-
declare function
|
|
1088
|
+
*/ declare function _r(t: any, e: any): any;
|
|
1089
|
+
declare function Or(...t: any[]): Sr;
|
|
1090
|
+
declare function qr(...t: any[]): Sr;
|
|
1091
|
+
declare function ns(t: any): $n;
|
|
1112
1092
|
/**
|
|
1113
1093
|
* Terminates the provided `Firestore` instance.
|
|
1114
1094
|
*
|
|
@@ -1128,8 +1108,8 @@ declare function es(t: any): Vn;
|
|
|
1128
1108
|
* @param firestore - The `Firestore` instance to terminate.
|
|
1129
1109
|
* @returns A `Promise` that is resolved when the instance has been successfully
|
|
1130
1110
|
* terminated.
|
|
1131
|
-
*/ declare function
|
|
1132
|
-
declare function
|
|
1111
|
+
*/ declare function Vn(t: any): any;
|
|
1112
|
+
declare function Jr(t: any, e: any, n: any, ...r: any[]): Promise<void>;
|
|
1133
1113
|
/**
|
|
1134
1114
|
* Creates a {@link QueryFieldFilterConstraint} that enforces that documents
|
|
1135
1115
|
* must contain the specified field and that the value should satisfy the
|
|
@@ -1140,7 +1120,7 @@ declare function Hr(t: any, e: any, n: any, ...r: any[]): Promise<void>;
|
|
|
1140
1120
|
* "<=", "!=").
|
|
1141
1121
|
* @param value - The value for comparison
|
|
1142
1122
|
* @returns The created {@link QueryFieldFilterConstraint}.
|
|
1143
|
-
*/ declare function
|
|
1123
|
+
*/ declare function Ar(t: any, e: any, n: any): Tr;
|
|
1144
1124
|
/**
|
|
1145
1125
|
* Creates a write batch, used for performing multiple writes as a single
|
|
1146
1126
|
* atomic operation. The maximum number of writes allowed in a single WriteBatch
|
|
@@ -1153,7 +1133,7 @@ declare function Hr(t: any, e: any, n: any, ...r: any[]): Promise<void>;
|
|
|
1153
1133
|
*
|
|
1154
1134
|
* @returns A `WriteBatch` that can be used to atomically execute multiple
|
|
1155
1135
|
* writes.
|
|
1156
|
-
*/ declare function
|
|
1136
|
+
*/ declare function ws(t: any): fs;
|
|
1157
1137
|
/**
|
|
1158
1138
|
* A dot-separated path for navigating sub-objects within a document.
|
|
1159
1139
|
* @internal
|
|
@@ -1192,7 +1172,7 @@ declare function Hr(t: any, e: any, n: any, ...r: any[]): Promise<void>;
|
|
|
1192
1172
|
* user-supplied `FirestoreSettings` object. This is a separate type so that
|
|
1193
1173
|
* defaults can be supplied and the value can be checked for equality.
|
|
1194
1174
|
*/
|
|
1195
|
-
declare class
|
|
1175
|
+
declare class In {
|
|
1196
1176
|
constructor(t: any);
|
|
1197
1177
|
host: any;
|
|
1198
1178
|
ssl: any;
|
|
@@ -1202,6 +1182,9 @@ declare class En {
|
|
|
1202
1182
|
cacheSizeBytes: any;
|
|
1203
1183
|
experimentalForceLongPolling: boolean;
|
|
1204
1184
|
experimentalAutoDetectLongPolling: boolean;
|
|
1185
|
+
experimentalLongPollingOptions: {
|
|
1186
|
+
timeoutSeconds: any;
|
|
1187
|
+
};
|
|
1205
1188
|
useFetchStreams: boolean;
|
|
1206
1189
|
isEqual(t: any): boolean;
|
|
1207
1190
|
}
|
|
@@ -1226,13 +1209,13 @@ import { FirebaseError as c } from "@firebase/util/dist/src/errors";
|
|
|
1226
1209
|
* An `AppliableConstraint` is an abstraction of a constraint that can be applied
|
|
1227
1210
|
* to a Firestore query.
|
|
1228
1211
|
*/
|
|
1229
|
-
declare class
|
|
1212
|
+
declare class br {
|
|
1230
1213
|
}
|
|
1231
|
-
declare class
|
|
1214
|
+
declare class Xt extends Jt {
|
|
1232
1215
|
/**
|
|
1233
1216
|
* Creates a filter based on the provided arguments.
|
|
1234
|
-
*/ static create(t: any, e: any, n: any):
|
|
1235
|
-
static createKeyFieldInFilter(t: any, e: any, n: any):
|
|
1217
|
+
*/ static create(t: any, e: any, n: any): Xt | ne | ce;
|
|
1218
|
+
static createKeyFieldInFilter(t: any, e: any, n: any): ne | re;
|
|
1236
1219
|
constructor(t: any, e: any, n: any);
|
|
1237
1220
|
field: any;
|
|
1238
1221
|
op: any;
|
|
@@ -1240,53 +1223,53 @@ declare class Jt extends Ht {
|
|
|
1240
1223
|
matches(t: any): boolean | void;
|
|
1241
1224
|
matchesComparison(t: any): boolean | void;
|
|
1242
1225
|
isInequality(): boolean;
|
|
1243
|
-
getFlattenedFilters():
|
|
1244
|
-
getFilters():
|
|
1226
|
+
getFlattenedFilters(): Xt[];
|
|
1227
|
+
getFilters(): Xt[];
|
|
1245
1228
|
getFirstInequalityField(): any;
|
|
1246
1229
|
}
|
|
1247
|
-
/** Filter that matches on key fields within an array. */ declare class
|
|
1230
|
+
/** Filter that matches on key fields within an array. */ declare class ne extends Xt {
|
|
1248
1231
|
constructor(t: any, e: any);
|
|
1249
1232
|
keys: any;
|
|
1250
1233
|
matches(t: any): any;
|
|
1251
1234
|
}
|
|
1252
|
-
/** A Filter that implements the array-contains-any operator. */ declare class
|
|
1235
|
+
/** A Filter that implements the array-contains-any operator. */ declare class ce extends Xt {
|
|
1253
1236
|
constructor(t: any, e: any);
|
|
1254
1237
|
matches(t: any): any;
|
|
1255
1238
|
}
|
|
1256
1239
|
/**
|
|
1257
1240
|
* Helper for parsing raw user input (provided via the API) into internal model
|
|
1258
1241
|
* classes.
|
|
1259
|
-
*/ declare class
|
|
1242
|
+
*/ declare class Yn {
|
|
1260
1243
|
constructor(t: any, e: any, n: any);
|
|
1261
1244
|
databaseId: any;
|
|
1262
1245
|
ignoreUndefinedProperties: any;
|
|
1263
1246
|
serializer: any;
|
|
1264
|
-
/** Creates a new top-level parse context. */ lt(t: any, e: any, n: any, r?: boolean):
|
|
1247
|
+
/** Creates a new top-level parse context. */ lt(t: any, e: any, n: any, r?: boolean): Kn;
|
|
1265
1248
|
}
|
|
1266
|
-
declare class
|
|
1249
|
+
declare class nr extends jn {
|
|
1267
1250
|
constructor(t: any, e: any);
|
|
1268
1251
|
ft: any;
|
|
1269
|
-
_toFieldTransform(t: any):
|
|
1252
|
+
_toFieldTransform(t: any): Oe;
|
|
1270
1253
|
isEqual(t: any): boolean;
|
|
1271
1254
|
}
|
|
1272
|
-
declare class
|
|
1255
|
+
declare class er extends jn {
|
|
1273
1256
|
constructor(t: any, e: any);
|
|
1274
1257
|
ft: any;
|
|
1275
|
-
_toFieldTransform(t: any):
|
|
1258
|
+
_toFieldTransform(t: any): Oe;
|
|
1276
1259
|
isEqual(t: any): boolean;
|
|
1277
1260
|
}
|
|
1278
|
-
declare class
|
|
1261
|
+
declare class Xn extends jn {
|
|
1279
1262
|
_toFieldTransform(t: any): null;
|
|
1280
1263
|
isEqual(t: any): boolean;
|
|
1281
1264
|
}
|
|
1282
|
-
declare class
|
|
1265
|
+
declare class rr extends jn {
|
|
1283
1266
|
constructor(t: any, e: any);
|
|
1284
1267
|
dt: any;
|
|
1285
|
-
_toFieldTransform(t: any):
|
|
1268
|
+
_toFieldTransform(t: any): Oe;
|
|
1286
1269
|
isEqual(t: any): boolean;
|
|
1287
1270
|
}
|
|
1288
|
-
declare class
|
|
1289
|
-
_toFieldTransform(t: any):
|
|
1271
|
+
declare class tr extends jn {
|
|
1272
|
+
_toFieldTransform(t: any): Oe;
|
|
1290
1273
|
isEqual(t: any): boolean;
|
|
1291
1274
|
}
|
|
1292
1275
|
/**
|
|
@@ -1328,14 +1311,14 @@ declare class Z {
|
|
|
1328
1311
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1329
1312
|
* See the License for the specific language governing permissions and
|
|
1330
1313
|
* limitations under the License.
|
|
1331
|
-
*/ declare class
|
|
1314
|
+
*/ declare class Jt {
|
|
1332
1315
|
}
|
|
1333
|
-
/** Filter that matches on key fields not present within an array. */ declare class
|
|
1316
|
+
/** Filter that matches on key fields not present within an array. */ declare class re extends Xt {
|
|
1334
1317
|
constructor(t: any, e: any);
|
|
1335
1318
|
keys: any;
|
|
1336
1319
|
matches(t: any): boolean;
|
|
1337
1320
|
}
|
|
1338
|
-
/** A "context" object passed around while parsing user data. */ declare class
|
|
1321
|
+
/** A "context" object passed around while parsing user data. */ declare class Kn {
|
|
1339
1322
|
/**
|
|
1340
1323
|
* Initializes a ParseContext with the given source and path.
|
|
1341
1324
|
*
|
|
@@ -1363,10 +1346,10 @@ declare class Z {
|
|
|
1363
1346
|
fieldMask: any;
|
|
1364
1347
|
get path(): any;
|
|
1365
1348
|
get et(): any;
|
|
1366
|
-
/** Returns a new context with the specified settings overwritten. */ nt(t: any):
|
|
1367
|
-
rt(t: any):
|
|
1368
|
-
ot(t: any):
|
|
1369
|
-
ut(t: any):
|
|
1349
|
+
/** Returns a new context with the specified settings overwritten. */ nt(t: any): Kn;
|
|
1350
|
+
rt(t: any): Kn;
|
|
1351
|
+
ot(t: any): Kn;
|
|
1352
|
+
ut(t: any): Kn;
|
|
1370
1353
|
ct(t: any): U;
|
|
1371
1354
|
/** Returns 'true' if 'fieldPath' was traversed when creating this context. */ contains(t: any): boolean;
|
|
1372
1355
|
tt(): void;
|
|
@@ -1388,9 +1371,9 @@ declare class Z {
|
|
|
1388
1371
|
* See the License for the specific language governing permissions and
|
|
1389
1372
|
* limitations under the License.
|
|
1390
1373
|
*/
|
|
1391
|
-
/** A field path and the TransformOperation to perform upon it. */ declare class
|
|
1374
|
+
/** A field path and the TransformOperation to perform upon it. */ declare class Oe {
|
|
1392
1375
|
constructor(t: any, e: any);
|
|
1393
1376
|
field: any;
|
|
1394
1377
|
transform: any;
|
|
1395
1378
|
}
|
|
1396
|
-
export {
|
|
1379
|
+
export { $n as AggregateField, Nn as AggregateQuerySnapshot, Mn as Bytes, xn as CollectionReference, Dn as DocumentReference, pr as DocumentSnapshot, Ln as FieldPath, jn as FieldValue, Tn as Firestore, U as FirestoreError, Bn as GeoPoint, Fn as Query, Rr as QueryCompositeFilterConstraint, Er as QueryConstraint, yr as QueryDocumentSnapshot, kr as QueryEndAtConstraint, Tr as QueryFieldFilterConstraint, Dr as QueryLimitConstraint, $r as QueryOrderByConstraint, gr as QuerySnapshot, Sr as QueryStartAtConstraint, xt as Timestamp, bs as Transaction, fs as WriteBatch, Zr as addDoc, is as aggregateFieldEqual, os as aggregateQuerySnapshotEqual, Vr as and, hs as arrayRemove, as as arrayUnion, rs as average, Sn as collection, qn as collectionGroup, Pn as connectFirestoreEmulator, ss as count, Xr as deleteDoc, us as deleteField, On as doc, Un as documentId, Mr as endAt, Cr as endBefore, es as getAggregate, ts as getCount, Kr as getDoc, Yr as getDocs, Rn as getFirestore, ls as increment, An as initializeFirestore, Fr as limit, xr as limitToLast, Pr as or, Nr as orderBy, Ir as query, Cn as queryEqual, kn as refEqual, Es as runTransaction, cs as serverTimestamp, Hr as setDoc, p as setLogLevel, _r as snapshotEqual, Or as startAfter, qr as startAt, ns as sum, Vn as terminate, Jr as updateDoc, Ar as where, ws as writeBatch };
|