@firebase/firestore 3.4.13 → 3.4.14-20220804201204
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 +11 -0
- package/dist/firestore/src/api/index_configuration.d.ts +2 -8
- package/dist/firestore/src/api.d.ts +1 -1
- package/dist/firestore/src/local/indexeddb_schema.d.ts +1 -3
- package/dist/firestore/src/local/local_store_impl.d.ts +2 -0
- package/dist/firestore/src/util/array.d.ts +18 -0
- package/dist/firestore/test/unit/local/counting_query_engine.d.ts +11 -0
- package/dist/firestore/test/unit/local/local_store_indexeddb.test.d.ts +17 -0
- package/dist/firestore/test/unit/specs/index_spec.test.d.ts +17 -0
- package/dist/firestore/test/unit/specs/spec_builder.d.ts +5 -0
- package/dist/firestore/test/unit/specs/spec_test_runner.d.ts +8 -0
- package/dist/firestore/test/unit/util/array.test.d.ts +17 -0
- package/dist/index.d.ts +91 -1
- package/dist/index.esm2017.js +2525 -2387
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +2383 -2282
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +216 -37
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.node.mjs +216 -37
- package/dist/index.node.mjs.map +1 -1
- package/dist/index.rn.js +2448 -2311
- package/dist/index.rn.js.map +1 -1
- package/dist/internal.d.ts +5 -13
- package/dist/lite/firestore/src/api/index_configuration.d.ts +2 -8
- package/dist/lite/firestore/src/api.d.ts +1 -1
- package/dist/lite/firestore/src/local/indexeddb_schema.d.ts +1 -3
- package/dist/lite/firestore/src/local/local_store_impl.d.ts +2 -0
- package/dist/lite/firestore/src/util/array.d.ts +18 -0
- package/dist/lite/firestore/test/unit/local/counting_query_engine.d.ts +11 -0
- package/dist/lite/firestore/test/unit/local/local_store_indexeddb.test.d.ts +17 -0
- package/dist/lite/firestore/test/unit/specs/index_spec.test.d.ts +17 -0
- package/dist/lite/firestore/test/unit/specs/spec_builder.d.ts +5 -0
- package/dist/lite/firestore/test/unit/specs/spec_test_runner.d.ts +8 -0
- package/dist/lite/firestore/test/unit/util/array.test.d.ts +17 -0
- package/dist/lite/index.browser.esm2017.js +2 -2
- package/dist/lite/index.browser.esm2017.js.map +1 -1
- package/dist/lite/index.browser.esm5.js +2 -2
- package/dist/lite/index.browser.esm5.js.map +1 -1
- package/dist/lite/index.node.cjs.js +2 -2
- package/dist/lite/index.node.cjs.js.map +1 -1
- package/dist/lite/index.node.mjs +2 -2
- package/dist/lite/index.node.mjs.map +1 -1
- package/dist/lite/index.rn.esm2017.js +2 -2
- package/dist/lite/index.rn.esm2017.js.map +1 -1
- package/dist/lite/packages/firestore/src/api/index_configuration.d.ts +2 -8
- package/dist/lite/packages/firestore/src/api.d.ts +1 -1
- package/dist/lite/packages/firestore/src/local/indexeddb_schema.d.ts +1 -3
- package/dist/lite/packages/firestore/src/local/local_store_impl.d.ts +2 -0
- package/dist/lite/packages/firestore/src/util/array.d.ts +18 -0
- package/dist/lite/packages/firestore/test/unit/local/counting_query_engine.d.ts +11 -0
- package/dist/lite/packages/firestore/test/unit/local/local_store_indexeddb.test.d.ts +17 -0
- package/dist/lite/packages/firestore/test/unit/specs/index_spec.test.d.ts +17 -0
- package/dist/lite/packages/firestore/test/unit/specs/spec_builder.d.ts +5 -0
- package/dist/lite/packages/firestore/test/unit/specs/spec_test_runner.d.ts +8 -0
- package/dist/lite/packages/firestore/test/unit/util/array.test.d.ts +17 -0
- package/dist/packages/firestore/dist/index.esm2017.d.ts +150 -150
- package/dist/packages/firestore/src/api/index_configuration.d.ts +2 -8
- package/dist/packages/firestore/src/api.d.ts +1 -1
- package/dist/packages/firestore/src/local/indexeddb_schema.d.ts +1 -3
- package/dist/packages/firestore/src/local/local_store_impl.d.ts +2 -0
- package/dist/packages/firestore/src/util/array.d.ts +18 -0
- package/dist/packages/firestore/test/unit/local/counting_query_engine.d.ts +11 -0
- package/dist/packages/firestore/test/unit/local/local_store_indexeddb.test.d.ts +17 -0
- package/dist/packages/firestore/test/unit/specs/index_spec.test.d.ts +17 -0
- package/dist/packages/firestore/test/unit/specs/spec_builder.d.ts +5 -0
- package/dist/packages/firestore/test/unit/specs/spec_test_runner.d.ts +8 -0
- package/dist/packages/firestore/test/unit/util/array.test.d.ts +17 -0
- package/dist/private.d.ts +92 -4
- package/package.json +5 -4
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
*
|
|
21
21
|
* @internal
|
|
22
22
|
*/
|
|
23
|
-
declare class
|
|
23
|
+
declare class cl {
|
|
24
24
|
convertValue(t: any, e?: string): any;
|
|
25
25
|
convertObject(t: any, e: any): {};
|
|
26
|
-
convertGeoPoint(t: any):
|
|
26
|
+
convertGeoPoint(t: any): rh;
|
|
27
27
|
convertArray(t: any, e: any): any;
|
|
28
28
|
convertServerTimestamp(t: any, e: any): any;
|
|
29
29
|
convertTimestamp(t: any): ut;
|
|
@@ -47,18 +47,18 @@ declare class ol {
|
|
|
47
47
|
*/
|
|
48
48
|
/**
|
|
49
49
|
* An immutable object representing an array of bytes.
|
|
50
|
-
*/ declare class
|
|
50
|
+
*/ declare class sh {
|
|
51
51
|
/**
|
|
52
52
|
* Creates a new `Bytes` object from the given Base64 string, converting it to
|
|
53
53
|
* bytes.
|
|
54
54
|
*
|
|
55
55
|
* @param base64 - The Base64 string used to create the `Bytes` object.
|
|
56
|
-
*/ static fromBase64String(t: any):
|
|
56
|
+
*/ static fromBase64String(t: any): sh;
|
|
57
57
|
/**
|
|
58
58
|
* Creates a new `Bytes` object from the given Uint8Array.
|
|
59
59
|
*
|
|
60
60
|
* @param array - The Uint8Array used to create the `Bytes` object.
|
|
61
|
-
*/ static fromUint8Array(t: any):
|
|
61
|
+
*/ static fromUint8Array(t: any): sh;
|
|
62
62
|
/** @hideconstructor */
|
|
63
63
|
constructor(t: any);
|
|
64
64
|
_byteString: any;
|
|
@@ -100,11 +100,11 @@ declare class ol {
|
|
|
100
100
|
* See the License for the specific language governing permissions and
|
|
101
101
|
* limitations under the License.
|
|
102
102
|
*/
|
|
103
|
-
/** DOMException error code constants. */ declare const
|
|
103
|
+
/** DOMException error code constants. */ declare const $a: -1;
|
|
104
104
|
/**
|
|
105
105
|
* A `CollectionReference` object can be used for adding documents, getting
|
|
106
106
|
* document references, and querying for documents (using {@link query}).
|
|
107
|
-
*/ declare class
|
|
107
|
+
*/ declare class Sa extends Va {
|
|
108
108
|
_path: any;
|
|
109
109
|
/** The collection's identifier. */ get id(): any;
|
|
110
110
|
/**
|
|
@@ -114,7 +114,7 @@ declare class ol {
|
|
|
114
114
|
/**
|
|
115
115
|
* A reference to the containing `DocumentReference` if this is a
|
|
116
116
|
* subcollection. If this isn't a subcollection, the reference is null.
|
|
117
|
-
*/ get parent():
|
|
117
|
+
*/ get parent(): va | null;
|
|
118
118
|
}
|
|
119
119
|
/**
|
|
120
120
|
* @license
|
|
@@ -136,7 +136,7 @@ declare class ol {
|
|
|
136
136
|
* A `DocumentReference` refers to a document location in a Firestore database
|
|
137
137
|
* and can be used to write, read, or listen to the location. The document at
|
|
138
138
|
* the referenced location may or may not exist.
|
|
139
|
-
*/ declare class
|
|
139
|
+
*/ declare class va {
|
|
140
140
|
/** @hideconstructor */
|
|
141
141
|
constructor(t: any, e: any, n: any);
|
|
142
142
|
converter: any;
|
|
@@ -154,8 +154,8 @@ declare class ol {
|
|
|
154
154
|
*/ get path(): any;
|
|
155
155
|
/**
|
|
156
156
|
* The collection this `DocumentReference` belongs to.
|
|
157
|
-
*/ get parent():
|
|
158
|
-
withConverter(t: any):
|
|
157
|
+
*/ get parent(): Sa;
|
|
158
|
+
withConverter(t: any): va;
|
|
159
159
|
}
|
|
160
160
|
/**
|
|
161
161
|
* A `DocumentSnapshot` contains data read from a document in your Firestore
|
|
@@ -165,7 +165,7 @@ declare class ol {
|
|
|
165
165
|
* For a `DocumentSnapshot` that points to a non-existing document, any data
|
|
166
166
|
* access will return 'undefined'. You can use the `exists()` method to
|
|
167
167
|
* explicitly verify a document's existence.
|
|
168
|
-
*/ declare class
|
|
168
|
+
*/ declare class Oh extends xh {
|
|
169
169
|
/** @hideconstructor protected */
|
|
170
170
|
constructor(t: any, e: any, n: any, s: any, i: any, r: any);
|
|
171
171
|
_firestoreImpl: any;
|
|
@@ -211,7 +211,7 @@ declare class ol {
|
|
|
211
211
|
* Create a `FieldPath` by providing field names. If more than one field
|
|
212
212
|
* name is provided, the path will point to a nested field in a document.
|
|
213
213
|
*/
|
|
214
|
-
declare class
|
|
214
|
+
declare class eh {
|
|
215
215
|
/**
|
|
216
216
|
* Creates a `FieldPath` from the provided field names. If more than one field
|
|
217
217
|
* name is provided, the path will point to a nested field in a document.
|
|
@@ -246,7 +246,7 @@ declare class Za {
|
|
|
246
246
|
/**
|
|
247
247
|
* Sentinel values that can be used when writing document fields with `set()`
|
|
248
248
|
* or `update()`.
|
|
249
|
-
*/ declare class
|
|
249
|
+
*/ declare class ih {
|
|
250
250
|
/**
|
|
251
251
|
* @param _methodName - The public API endpoint that returns this class.
|
|
252
252
|
* @hideconstructor
|
|
@@ -259,8 +259,8 @@ declare class Za {
|
|
|
259
259
|
*
|
|
260
260
|
* Do not call this constructor directly. Instead, use {@link getFirestore}.
|
|
261
261
|
*/
|
|
262
|
-
declare class
|
|
263
|
-
_queue:
|
|
262
|
+
declare class Ba extends ba {
|
|
263
|
+
_queue: Ma;
|
|
264
264
|
}
|
|
265
265
|
/** An error returned by a Firestore operation. */ declare class Q extends c {
|
|
266
266
|
/** @hideconstructor */
|
|
@@ -288,7 +288,7 @@ declare class Fa extends Aa {
|
|
|
288
288
|
*
|
|
289
289
|
* Latitude values are in the range of [-90, 90].
|
|
290
290
|
* Longitude values are in the range of [-180, 180].
|
|
291
|
-
*/ declare class
|
|
291
|
+
*/ declare class rh {
|
|
292
292
|
/**
|
|
293
293
|
* Creates a new immutable `GeoPoint` object with the provided latitude and
|
|
294
294
|
* longitude values.
|
|
@@ -319,7 +319,7 @@ declare class Fa extends Aa {
|
|
|
319
319
|
* with an underscore.
|
|
320
320
|
*/ _compareTo(t: any): 0 | 1 | -1;
|
|
321
321
|
}
|
|
322
|
-
declare class
|
|
322
|
+
declare class Fa {
|
|
323
323
|
_progressObserver: {};
|
|
324
324
|
_taskCompletionResolver: j;
|
|
325
325
|
_lastProgress: {
|
|
@@ -371,7 +371,7 @@ declare class Oa {
|
|
|
371
371
|
/**
|
|
372
372
|
* A `Query` refers to a query which you can read or listen to. You can also
|
|
373
373
|
* construct refined `Query` objects by adding filters and ordering.
|
|
374
|
-
*/ declare class
|
|
374
|
+
*/ declare class Va {
|
|
375
375
|
/** @hideconstructor protected */
|
|
376
376
|
constructor(t: any, e: any, n: any);
|
|
377
377
|
converter: any;
|
|
@@ -379,7 +379,7 @@ declare class Oa {
|
|
|
379
379
|
/** The type of this Firestore reference. */
|
|
380
380
|
type: string;
|
|
381
381
|
firestore: any;
|
|
382
|
-
withConverter(t: any):
|
|
382
|
+
withConverter(t: any): Va;
|
|
383
383
|
}
|
|
384
384
|
/**
|
|
385
385
|
* A `QueryConstraint` is used to narrow the set of documents returned by a
|
|
@@ -388,7 +388,7 @@ declare class Oa {
|
|
|
388
388
|
* endBefore:1}, {@link (endAt:1)}, {@link limit} or {@link limitToLast} and
|
|
389
389
|
* can then be passed to {@link query} to create a new query instance that
|
|
390
390
|
* also contains this `QueryConstraint`.
|
|
391
|
-
*/ declare class
|
|
391
|
+
*/ declare class qh {
|
|
392
392
|
}
|
|
393
393
|
/**
|
|
394
394
|
* A `QueryDocumentSnapshot` contains data read from a document in your
|
|
@@ -400,7 +400,7 @@ declare class Oa {
|
|
|
400
400
|
* `DocumentSnapshot`. Since query results contain only existing documents, the
|
|
401
401
|
* `exists` property will always be true and `data()` will never return
|
|
402
402
|
* 'undefined'.
|
|
403
|
-
*/ declare class
|
|
403
|
+
*/ declare class Fh extends Oh {
|
|
404
404
|
}
|
|
405
405
|
/**
|
|
406
406
|
* A `QuerySnapshot` contains zero or more `DocumentSnapshot` objects
|
|
@@ -408,13 +408,13 @@ declare class Oa {
|
|
|
408
408
|
* array via the `docs` property or enumerated using the `forEach` method. The
|
|
409
409
|
* number of documents can be determined via the `empty` and `size`
|
|
410
410
|
* properties.
|
|
411
|
-
*/ declare class
|
|
411
|
+
*/ declare class $h {
|
|
412
412
|
/** @hideconstructor */
|
|
413
413
|
constructor(t: any, e: any, n: any, s: any);
|
|
414
414
|
_firestore: any;
|
|
415
415
|
_userDataWriter: any;
|
|
416
416
|
_snapshot: any;
|
|
417
|
-
metadata:
|
|
417
|
+
metadata: Mh;
|
|
418
418
|
query: any;
|
|
419
419
|
/** An array of all the documents in the `QuerySnapshot`. */ get docs(): any[];
|
|
420
420
|
/** The number of documents in the `QuerySnapshot`. */ get size(): any;
|
|
@@ -456,7 +456,7 @@ declare class Oa {
|
|
|
456
456
|
*/
|
|
457
457
|
/**
|
|
458
458
|
* Metadata about a snapshot, describing the state of the snapshot.
|
|
459
|
-
*/ declare class
|
|
459
|
+
*/ declare class Mh {
|
|
460
460
|
/** @hideconstructor */
|
|
461
461
|
constructor(t: any, e: any);
|
|
462
462
|
hasPendingWrites: any;
|
|
@@ -565,11 +565,11 @@ declare class ut {
|
|
|
565
565
|
* to be compared using the `>`, `<=`, `>=` and `>` operators.
|
|
566
566
|
*/ valueOf(): string;
|
|
567
567
|
}
|
|
568
|
-
declare const
|
|
568
|
+
declare const Vl_base: {
|
|
569
569
|
new (t: any, e: any): {
|
|
570
570
|
_firestore: any;
|
|
571
571
|
_transaction: any;
|
|
572
|
-
_dataReader:
|
|
572
|
+
_dataReader: lh;
|
|
573
573
|
/**
|
|
574
574
|
* Reads the document referenced by the provided {@link DocumentReference}.
|
|
575
575
|
*
|
|
@@ -608,7 +608,7 @@ declare const Pl_base: {
|
|
|
608
608
|
* The `Transaction` object passed to a transaction's `updateFunction` provides
|
|
609
609
|
* the methods to read and write data within the transaction context. See
|
|
610
610
|
* {@link runTransaction}.
|
|
611
|
-
*/ declare class
|
|
611
|
+
*/ declare class Vl extends Vl_base {
|
|
612
612
|
}
|
|
613
613
|
/**
|
|
614
614
|
* @license
|
|
@@ -633,22 +633,22 @@ declare const Pl_base: {
|
|
|
633
633
|
* provides methods for adding writes to the write batch. None of the writes
|
|
634
634
|
* will be committed (or visible locally) until {@link WriteBatch.commit} is
|
|
635
635
|
* called.
|
|
636
|
-
*/ declare class
|
|
636
|
+
*/ declare class ll {
|
|
637
637
|
/** @hideconstructor */
|
|
638
638
|
constructor(t: any, e: any);
|
|
639
639
|
_firestore: any;
|
|
640
640
|
_commitHandler: any;
|
|
641
641
|
_mutations: any[];
|
|
642
642
|
_committed: boolean;
|
|
643
|
-
_dataReader:
|
|
644
|
-
set(t: any, e: any, n: any):
|
|
645
|
-
update(t: any, e: any, n: any, ...s: any[]):
|
|
643
|
+
_dataReader: lh;
|
|
644
|
+
set(t: any, e: any, n: any): ll;
|
|
645
|
+
update(t: any, e: any, n: any, ...s: any[]): ll;
|
|
646
646
|
/**
|
|
647
647
|
* Deletes the document referred to by the provided {@link DocumentReference}.
|
|
648
648
|
*
|
|
649
649
|
* @param documentRef - A reference to the document to be deleted.
|
|
650
650
|
* @returns This `WriteBatch` instance. Used for chaining method calls.
|
|
651
|
-
*/ delete(t: any):
|
|
651
|
+
*/ delete(t: any): ll;
|
|
652
652
|
/**
|
|
653
653
|
* Commits all of the writes in this write batch as a single atomic unit.
|
|
654
654
|
*
|
|
@@ -668,8 +668,8 @@ declare const Pl_base: {
|
|
|
668
668
|
* Represents the database ID a Firestore client is associated with.
|
|
669
669
|
* @internal
|
|
670
670
|
*/
|
|
671
|
-
declare class
|
|
672
|
-
static empty():
|
|
671
|
+
declare class ue {
|
|
672
|
+
static empty(): ue;
|
|
673
673
|
constructor(t: any, e: any);
|
|
674
674
|
projectId: any;
|
|
675
675
|
database: any;
|
|
@@ -762,7 +762,7 @@ declare class re {
|
|
|
762
762
|
* Returns true if this field references the key of a document.
|
|
763
763
|
*/ isKeyField(): boolean;
|
|
764
764
|
}
|
|
765
|
-
declare function
|
|
765
|
+
declare function Ea(t: any, e: any): any;
|
|
766
766
|
/**
|
|
767
767
|
* Fails if the given assertion condition is false, throwing an Error with the
|
|
768
768
|
* given message if it did.
|
|
@@ -791,30 +791,14 @@ declare function Ia(t: any, e: any): any;
|
|
|
791
791
|
*/
|
|
792
792
|
/** Converts a Base64 encoded string to a binary string. */
|
|
793
793
|
/** True if and only if the Base64 conversion functions are available. */
|
|
794
|
-
declare function
|
|
794
|
+
declare function Yt(): boolean;
|
|
795
795
|
/**
|
|
796
796
|
* @internal
|
|
797
797
|
*/ declare function $(t: any, ...e: any[]): void;
|
|
798
|
-
/**
|
|
799
|
-
* @license
|
|
800
|
-
* Copyright 2021 Google LLC
|
|
801
|
-
*
|
|
802
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
803
|
-
* you may not use this file except in compliance with the License.
|
|
804
|
-
* You may obtain a copy of the License at
|
|
805
|
-
*
|
|
806
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
807
|
-
*
|
|
808
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
809
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
810
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
811
|
-
* See the License for the specific language governing permissions and
|
|
812
|
-
* limitations under the License.
|
|
813
|
-
*/ declare function kl(t: any, e: any): Promise<void>;
|
|
814
798
|
/**
|
|
815
799
|
* Validates that two boolean options are not set at the same time.
|
|
816
800
|
* @internal
|
|
817
|
-
*/ declare function
|
|
801
|
+
*/ declare function ya(t: any, e: any, n: any, s: any): void;
|
|
818
802
|
/**
|
|
819
803
|
* Add a new document to specified `CollectionReference` with the given data,
|
|
820
804
|
* assigning it a document ID automatically.
|
|
@@ -824,7 +808,7 @@ declare function Ht(): boolean;
|
|
|
824
808
|
* @returns A `Promise` resolved with a `DocumentReference` pointing to the
|
|
825
809
|
* newly created document after it has been written to the backend (Note that it
|
|
826
810
|
* won't resolve while you're offline).
|
|
827
|
-
*/ declare function
|
|
811
|
+
*/ declare function Al(t: any, e: any): Promise<va>;
|
|
828
812
|
/**
|
|
829
813
|
* Returns a special value that can be used with {@link (setDoc:1)} or {@link
|
|
830
814
|
* updateDoc:1} that tells the server to remove the given elements from any
|
|
@@ -835,7 +819,7 @@ declare function Ht(): boolean;
|
|
|
835
819
|
* @param elements - The elements to remove from the array.
|
|
836
820
|
* @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
|
|
837
821
|
* `updateDoc()`
|
|
838
|
-
*/ declare function
|
|
822
|
+
*/ declare function Nl(...t: any[]): yh;
|
|
839
823
|
/**
|
|
840
824
|
* Returns a special value that can be used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link
|
|
841
825
|
* @firebase/firestore/lite#(updateDoc:1)} that tells the server to union the given elements with any array
|
|
@@ -847,9 +831,9 @@ declare function Ht(): boolean;
|
|
|
847
831
|
* @param elements - The elements to union into the array.
|
|
848
832
|
* @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
|
|
849
833
|
* `updateDoc()`.
|
|
850
|
-
*/ declare function
|
|
851
|
-
declare function
|
|
852
|
-
declare function
|
|
834
|
+
*/ declare function xl(...t: any[]): gh;
|
|
835
|
+
declare function Wa(t: any): Promise<any>;
|
|
836
|
+
declare function Da(t: any, e: any, ...n: any[]): Sa;
|
|
853
837
|
/**
|
|
854
838
|
* Creates and returns a new `Query` instance that includes all documents in the
|
|
855
839
|
* database that are contained in a collection or subcollection with the
|
|
@@ -860,15 +844,15 @@ declare function Va(t: any, e: any, ...n: any[]): va;
|
|
|
860
844
|
* collection or subcollection with this ID as the last segment of its path
|
|
861
845
|
* will be included. Cannot contain a slash.
|
|
862
846
|
* @returns The created `Query`.
|
|
863
|
-
*/ declare function
|
|
864
|
-
declare function
|
|
847
|
+
*/ declare function Ca(t: any, e: any): Va;
|
|
848
|
+
declare function Pa(t: any, e: any, n: any, s?: {}): void;
|
|
865
849
|
/**
|
|
866
850
|
* Deletes the document referred to by the specified `DocumentReference`.
|
|
867
851
|
*
|
|
868
852
|
* @param reference - A reference to the document to delete.
|
|
869
853
|
* @returns A Promise resolved once the document has been successfully
|
|
870
854
|
* deleted from the backend (note that it won't resolve while you're offline).
|
|
871
|
-
*/ declare function
|
|
855
|
+
*/ declare function El(t: any): Promise<any>;
|
|
872
856
|
/**
|
|
873
857
|
* @license
|
|
874
858
|
* Copyright 2020 Google LLC
|
|
@@ -888,7 +872,7 @@ declare function Ra(t: any, e: any, n: any, s?: {}): void;
|
|
|
888
872
|
/**
|
|
889
873
|
* Returns a sentinel for use with {@link @firebase/firestore/lite#(updateDoc:1)} or
|
|
890
874
|
* {@link @firebase/firestore/lite#(setDoc:1)} with `{merge: true}` to mark a field for deletion.
|
|
891
|
-
*/ declare function
|
|
875
|
+
*/ declare function Dl(): _h;
|
|
892
876
|
/**
|
|
893
877
|
* Disables network usage for this instance. It can be re-enabled via {@link
|
|
894
878
|
* enableNetwork}. While the network is disabled, any snapshot listeners,
|
|
@@ -896,12 +880,12 @@ declare function Ra(t: any, e: any, n: any, s?: {}): void;
|
|
|
896
880
|
* operations will be queued until the network is restored.
|
|
897
881
|
*
|
|
898
882
|
* @returns A `Promise` that is resolved once the network has been disabled.
|
|
899
|
-
*/ declare function
|
|
900
|
-
declare function
|
|
883
|
+
*/ declare function Ja(t: any): any;
|
|
884
|
+
declare function xa(t: any, e: any, ...n: any[]): va;
|
|
901
885
|
/**
|
|
902
886
|
* Returns a special sentinel `FieldPath` to refer to the ID of a document.
|
|
903
887
|
* It can be used in queries to sort or filter by the document ID.
|
|
904
|
-
*/ declare function
|
|
888
|
+
*/ declare function nh(): eh;
|
|
905
889
|
/**
|
|
906
890
|
* Attempts to enable persistent storage, if possible.
|
|
907
891
|
*
|
|
@@ -924,7 +908,7 @@ declare function Da(t: any, e: any, ...n: any[]): ba;
|
|
|
924
908
|
* @param persistenceSettings - Optional settings object to configure
|
|
925
909
|
* persistence.
|
|
926
910
|
* @returns A `Promise` that represents successfully enabling persistent storage.
|
|
927
|
-
*/ declare function
|
|
911
|
+
*/ declare function Ga(t: any, e: any): any;
|
|
928
912
|
/**
|
|
929
913
|
* Attempts to enable multi-tab persistent storage, if possible. If enabled
|
|
930
914
|
* across all tabs, all operations share access to local persistence, including
|
|
@@ -946,22 +930,22 @@ declare function Da(t: any, e: any, ...n: any[]): ba;
|
|
|
946
930
|
* @param firestore - The {@link Firestore} instance to enable persistence for.
|
|
947
931
|
* @returns A `Promise` that represents successfully enabling persistent
|
|
948
932
|
* storage.
|
|
949
|
-
*/ declare function
|
|
933
|
+
*/ declare function Qa(t: any): any;
|
|
950
934
|
/**
|
|
951
935
|
* Re-enables use of the network for this {@link Firestore} instance after a prior
|
|
952
936
|
* call to {@link disableNetwork}.
|
|
953
937
|
*
|
|
954
938
|
* @returns A `Promise` that is resolved once the network has been enabled.
|
|
955
|
-
*/ declare function
|
|
956
|
-
declare function
|
|
957
|
-
declare function
|
|
939
|
+
*/ declare function Ha(t: any): any;
|
|
940
|
+
declare function nl(...t: any[]): tl;
|
|
941
|
+
declare function el(...t: any[]): tl;
|
|
958
942
|
/**
|
|
959
943
|
* @internal
|
|
960
|
-
*/ declare function
|
|
944
|
+
*/ declare function qa(t: any): any;
|
|
961
945
|
/**
|
|
962
946
|
* Locally writes `mutations` on the async queue.
|
|
963
947
|
* @internal
|
|
964
|
-
*/ declare function
|
|
948
|
+
*/ declare function Pl(t: any, e: any): Promise<any>;
|
|
965
949
|
/**
|
|
966
950
|
* @license
|
|
967
951
|
* Copyright 2020 Google LLC
|
|
@@ -1013,21 +997,21 @@ declare function Zh(...t: any[]): Xh;
|
|
|
1013
997
|
* @returns A Promise resolved with a `DocumentSnapshot` containing the
|
|
1014
998
|
* current document contents.
|
|
1015
999
|
*/
|
|
1016
|
-
declare function
|
|
1000
|
+
declare function dl(t: any): Promise<Oh>;
|
|
1017
1001
|
/**
|
|
1018
1002
|
* Reads the document referred to by this `DocumentReference` from cache.
|
|
1019
1003
|
* Returns an error if the document is not currently cached.
|
|
1020
1004
|
*
|
|
1021
1005
|
* @returns A `Promise` resolved with a `DocumentSnapshot` containing the
|
|
1022
1006
|
* current document contents.
|
|
1023
|
-
*/ declare function
|
|
1007
|
+
*/ declare function wl(t: any): Promise<Oh>;
|
|
1024
1008
|
/**
|
|
1025
1009
|
* Reads the document referred to by this `DocumentReference` from the server.
|
|
1026
1010
|
* Returns an error if the network is not available.
|
|
1027
1011
|
*
|
|
1028
1012
|
* @returns A `Promise` resolved with a `DocumentSnapshot` containing the
|
|
1029
1013
|
* current document contents.
|
|
1030
|
-
*/ declare function
|
|
1014
|
+
*/ declare function ml(t: any): Promise<Oh>;
|
|
1031
1015
|
/**
|
|
1032
1016
|
* Executes the query and returns the results as a `QuerySnapshot`.
|
|
1033
1017
|
*
|
|
@@ -1037,19 +1021,19 @@ declare function ll(t: any): Promise<kh>;
|
|
|
1037
1021
|
* invoke {@link getDocsFromCache} or {@link getDocsFromServer}.
|
|
1038
1022
|
*
|
|
1039
1023
|
* @returns A `Promise` that will be resolved with the results of the query.
|
|
1040
|
-
*/ declare function
|
|
1024
|
+
*/ declare function gl(t: any): Promise<$h>;
|
|
1041
1025
|
/**
|
|
1042
1026
|
* Executes the query and returns the results as a `QuerySnapshot` from cache.
|
|
1043
1027
|
* Returns an error if the document is not currently cached.
|
|
1044
1028
|
*
|
|
1045
1029
|
* @returns A `Promise` that will be resolved with the results of the query.
|
|
1046
|
-
*/ declare function
|
|
1030
|
+
*/ declare function yl(t: any): Promise<$h>;
|
|
1047
1031
|
/**
|
|
1048
1032
|
* Executes the query and returns the results as a `QuerySnapshot` from the
|
|
1049
1033
|
* server. Returns an error if the network is not available.
|
|
1050
1034
|
*
|
|
1051
1035
|
* @returns A `Promise` that will be resolved with the results of the query.
|
|
1052
|
-
*/ declare function
|
|
1036
|
+
*/ declare function pl(t: any): Promise<$h>;
|
|
1053
1037
|
/**
|
|
1054
1038
|
* Returns the existing {@link Firestore} instance that is associated with the
|
|
1055
1039
|
* provided {@link @firebase/app#FirebaseApp}. If no instance exists, initializes a new
|
|
@@ -1058,7 +1042,7 @@ declare function ll(t: any): Promise<kh>;
|
|
|
1058
1042
|
* @param app - The {@link @firebase/app#FirebaseApp} instance that the returned {@link Firestore}
|
|
1059
1043
|
* instance is associated with.
|
|
1060
1044
|
* @returns The {@link Firestore} instance of the provided app.
|
|
1061
|
-
*/ declare function
|
|
1045
|
+
*/ declare function Ua(e?: import("@firebase/app").FirebaseApp): import("../src").Firestore;
|
|
1062
1046
|
/**
|
|
1063
1047
|
* Returns a special value that can be used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link
|
|
1064
1048
|
* @firebase/firestore/lite#(updateDoc:1)} that tells the server to increment the field's current value by
|
|
@@ -1077,7 +1061,7 @@ declare function ll(t: any): Promise<kh>;
|
|
|
1077
1061
|
* @param n - The value to increment by.
|
|
1078
1062
|
* @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
|
|
1079
1063
|
* `updateDoc()`
|
|
1080
|
-
*/ declare function
|
|
1064
|
+
*/ declare function kl(t: any): ph;
|
|
1081
1065
|
/**
|
|
1082
1066
|
* Initializes a new instance of {@link Firestore} with the provided settings.
|
|
1083
1067
|
* Can only be called before any other function, including
|
|
@@ -1088,13 +1072,13 @@ declare function ll(t: any): Promise<kh>;
|
|
|
1088
1072
|
* be associated.
|
|
1089
1073
|
* @param settings - A settings object to configure the {@link Firestore} instance.
|
|
1090
1074
|
* @returns A newly initialized {@link Firestore} instance.
|
|
1091
|
-
*/ declare function
|
|
1075
|
+
*/ declare function La(t: any, e: any): import("../src").Firestore;
|
|
1092
1076
|
/**
|
|
1093
1077
|
* Creates a {@link QueryConstraint} that only returns the first matching documents.
|
|
1094
1078
|
*
|
|
1095
1079
|
* @param limit - The maximum number of items to return.
|
|
1096
1080
|
* @returns The created {@link Query}.
|
|
1097
|
-
*/ declare function
|
|
1081
|
+
*/ declare function Hh(t: any): zh;
|
|
1098
1082
|
/**
|
|
1099
1083
|
* Creates a {@link QueryConstraint} that only returns the last matching documents.
|
|
1100
1084
|
*
|
|
@@ -1103,7 +1087,7 @@ declare function ll(t: any): Promise<kh>;
|
|
|
1103
1087
|
*
|
|
1104
1088
|
* @param limit - The maximum number of items to return.
|
|
1105
1089
|
* @returns The created {@link Query}.
|
|
1106
|
-
*/ declare function
|
|
1090
|
+
*/ declare function Jh(t: any): zh;
|
|
1107
1091
|
/**
|
|
1108
1092
|
* Loads a Firestore bundle into the local cache.
|
|
1109
1093
|
*
|
|
@@ -1114,7 +1098,7 @@ declare function ll(t: any): Promise<kh>;
|
|
|
1114
1098
|
* @returns A `LoadBundleTask` object, which notifies callers with progress
|
|
1115
1099
|
* updates, and completion or error events. It can be used as a
|
|
1116
1100
|
* `Promise<LoadBundleTaskProgress>`.
|
|
1117
|
-
*/ declare function
|
|
1101
|
+
*/ declare function Xa(t: any, e: any): Fa;
|
|
1118
1102
|
/**
|
|
1119
1103
|
* Reads a Firestore {@link Query} from local cache, identified by the given
|
|
1120
1104
|
* name.
|
|
@@ -1126,9 +1110,9 @@ declare function ll(t: any): Promise<kh>;
|
|
|
1126
1110
|
* @param firestore - The {@link Firestore} instance to read the query from.
|
|
1127
1111
|
* @param name - The name of the query.
|
|
1128
1112
|
* @returns A `Promise` that is resolved with the Query or `null`.
|
|
1129
|
-
*/ declare function
|
|
1130
|
-
declare function
|
|
1131
|
-
declare function
|
|
1113
|
+
*/ declare function Za(t: any, e: any): any;
|
|
1114
|
+
declare function Rl(t: any, ...e: any[]): () => void;
|
|
1115
|
+
declare function bl(t: any, e: any): () => void;
|
|
1132
1116
|
/**
|
|
1133
1117
|
* Creates a {@link QueryConstraint} that sorts the query result by the
|
|
1134
1118
|
* specified field, optionally in descending order instead of ascending.
|
|
@@ -1137,7 +1121,7 @@ declare function Al(t: any, e: any): () => void;
|
|
|
1137
1121
|
* @param directionStr - Optional direction to sort by ('asc' or 'desc'). If
|
|
1138
1122
|
* not specified, order will be ascending.
|
|
1139
1123
|
* @returns The created {@link Query}.
|
|
1140
|
-
*/ declare function
|
|
1124
|
+
*/ declare function Wh(t: any, e?: string): jh;
|
|
1141
1125
|
/**
|
|
1142
1126
|
* Creates a new immutable instance of {@link Query} that is extended to also include
|
|
1143
1127
|
* additional query constraints.
|
|
@@ -1146,7 +1130,7 @@ declare function Al(t: any, e: any): () => void;
|
|
|
1146
1130
|
* @param queryConstraints - The list of {@link QueryConstraint}s to apply.
|
|
1147
1131
|
* @throws if any of the provided query constraints cannot be combined with the
|
|
1148
1132
|
* existing or new constraints.
|
|
1149
|
-
*/ declare function
|
|
1133
|
+
*/ declare function Kh(t: any, ...e: any[]): any;
|
|
1150
1134
|
/**
|
|
1151
1135
|
* Returns true if the provided queries point to the same collection and apply
|
|
1152
1136
|
* the same constraints.
|
|
@@ -1155,7 +1139,7 @@ declare function Al(t: any, e: any): () => void;
|
|
|
1155
1139
|
* @param right - A `Query` to compare.
|
|
1156
1140
|
* @returns true if the references point to the same location in the same
|
|
1157
1141
|
* Firestore database.
|
|
1158
|
-
*/ declare function
|
|
1142
|
+
*/ declare function ka(t: any, e: any): boolean;
|
|
1159
1143
|
/**
|
|
1160
1144
|
* Returns true if the provided references are equal.
|
|
1161
1145
|
*
|
|
@@ -1163,7 +1147,7 @@ declare function Al(t: any, e: any): () => void;
|
|
|
1163
1147
|
* @param right - A reference to compare.
|
|
1164
1148
|
* @returns true if the references point to the same location in the same
|
|
1165
1149
|
* Firestore database.
|
|
1166
|
-
*/ declare function
|
|
1150
|
+
*/ declare function Na(t: any, e: any): boolean;
|
|
1167
1151
|
/**
|
|
1168
1152
|
* Executes the given `updateFunction` and then attempts to commit the changes
|
|
1169
1153
|
* applied within the transaction. If any document read within the transaction
|
|
@@ -1182,12 +1166,28 @@ declare function Al(t: any, e: any): () => void;
|
|
|
1182
1166
|
* (the `updateFunction` returned a failed promise), the promise returned by the
|
|
1183
1167
|
* `updateFunction `is returned here. Otherwise, if the transaction failed, a
|
|
1184
1168
|
* rejected promise with the corresponding failure error is returned.
|
|
1185
|
-
*/ declare function
|
|
1169
|
+
*/ declare function Sl(t: any, e: any, n: any): Promise<any>;
|
|
1186
1170
|
/**
|
|
1187
1171
|
* Returns a sentinel used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link @firebase/firestore/lite#(updateDoc:1)} to
|
|
1188
1172
|
* include a server-generated timestamp in the written data.
|
|
1189
|
-
*/ declare function
|
|
1190
|
-
declare function
|
|
1173
|
+
*/ declare function Cl(): mh;
|
|
1174
|
+
declare function Il(t: any, e: any, n: any): Promise<any>;
|
|
1175
|
+
/**
|
|
1176
|
+
* @license
|
|
1177
|
+
* Copyright 2021 Google LLC
|
|
1178
|
+
*
|
|
1179
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
1180
|
+
* you may not use this file except in compliance with the License.
|
|
1181
|
+
* You may obtain a copy of the License at
|
|
1182
|
+
*
|
|
1183
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
1184
|
+
*
|
|
1185
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
1186
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
1187
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1188
|
+
* See the License for the specific language governing permissions and
|
|
1189
|
+
* limitations under the License.
|
|
1190
|
+
*/ declare function Ol(t: any, e: any): Promise<any>;
|
|
1191
1191
|
/**
|
|
1192
1192
|
* Sets the verbosity of Cloud Firestore logs (debug, error, or silent).
|
|
1193
1193
|
*
|
|
@@ -1200,16 +1200,16 @@ declare function yl(t: any, e: any, n: any): Promise<any>;
|
|
|
1200
1200
|
* <li>`error` to log errors only.</li>
|
|
1201
1201
|
* <li><code>`silent` to turn off logging.</li>
|
|
1202
1202
|
* </ul>
|
|
1203
|
-
*/ declare function
|
|
1203
|
+
*/ declare function M(t: any): void;
|
|
1204
1204
|
/**
|
|
1205
1205
|
* Returns true if the provided snapshots are equal.
|
|
1206
1206
|
*
|
|
1207
1207
|
* @param left - A snapshot to compare.
|
|
1208
1208
|
* @param right - A snapshot to compare.
|
|
1209
1209
|
* @returns true if the snapshots are equal.
|
|
1210
|
-
*/ declare function
|
|
1211
|
-
declare function
|
|
1212
|
-
declare function
|
|
1210
|
+
*/ declare function Lh(t: any, e: any): any;
|
|
1211
|
+
declare function Zh(...t: any[]): Yh;
|
|
1212
|
+
declare function Xh(...t: any[]): Yh;
|
|
1213
1213
|
/**
|
|
1214
1214
|
* Terminates the provided {@link Firestore} instance.
|
|
1215
1215
|
*
|
|
@@ -1231,8 +1231,8 @@ declare function Jh(...t: any[]): Hh;
|
|
|
1231
1231
|
*
|
|
1232
1232
|
* @returns A `Promise` that is resolved when the instance has been successfully
|
|
1233
1233
|
* terminated.
|
|
1234
|
-
*/ declare function
|
|
1235
|
-
declare function
|
|
1234
|
+
*/ declare function Ya(t: any): any;
|
|
1235
|
+
declare function Tl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
1236
1236
|
/**
|
|
1237
1237
|
* Waits until all currently pending writes for the active user have been
|
|
1238
1238
|
* acknowledged by the backend.
|
|
@@ -1248,7 +1248,7 @@ declare function pl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1248
1248
|
*
|
|
1249
1249
|
* @returns A `Promise` which resolves when all currently pending writes have been
|
|
1250
1250
|
* acknowledged by the backend.
|
|
1251
|
-
*/ declare function
|
|
1251
|
+
*/ declare function za(t: any): Promise<any>;
|
|
1252
1252
|
/**
|
|
1253
1253
|
* Creates a {@link QueryConstraint} that enforces that documents must contain the
|
|
1254
1254
|
* specified field and that the value should satisfy the relation constraint
|
|
@@ -1259,7 +1259,7 @@ declare function pl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1259
1259
|
* "<=", "!=").
|
|
1260
1260
|
* @param value - The value for comparison
|
|
1261
1261
|
* @returns The created {@link Query}.
|
|
1262
|
-
*/ declare function
|
|
1262
|
+
*/ declare function Qh(t: any, e: any, n: any): Gh;
|
|
1263
1263
|
/**
|
|
1264
1264
|
* @license
|
|
1265
1265
|
* Copyright 2020 Google LLC
|
|
@@ -1286,7 +1286,7 @@ declare function pl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1286
1286
|
*
|
|
1287
1287
|
* @returns A {@link WriteBatch} that can be used to atomically execute multiple
|
|
1288
1288
|
* writes.
|
|
1289
|
-
*/ declare function
|
|
1289
|
+
*/ declare function Ml(t: any): ll;
|
|
1290
1290
|
/**
|
|
1291
1291
|
* @license
|
|
1292
1292
|
* Copyright 2020 Google LLC
|
|
@@ -1311,7 +1311,7 @@ declare function pl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1311
1311
|
* For a `DocumentSnapshot` that points to a non-existing document, any data
|
|
1312
1312
|
* access will return 'undefined'. You can use the `exists()` method to
|
|
1313
1313
|
* explicitly verify a document's existence.
|
|
1314
|
-
*/ declare class
|
|
1314
|
+
*/ declare class xh {
|
|
1315
1315
|
/** @hideconstructor protected */
|
|
1316
1316
|
constructor(t: any, e: any, n: any, s: any, i: any);
|
|
1317
1317
|
_firestore: any;
|
|
@@ -1322,7 +1322,7 @@ declare function pl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1322
1322
|
/** Property of the `DocumentSnapshot` that provides the document's ID. */ get id(): any;
|
|
1323
1323
|
/**
|
|
1324
1324
|
* The `DocumentReference` for the document included in the `DocumentSnapshot`.
|
|
1325
|
-
*/ get ref():
|
|
1325
|
+
*/ get ref(): va;
|
|
1326
1326
|
/**
|
|
1327
1327
|
* Signals whether or not the document at the snapshot's location exists.
|
|
1328
1328
|
*
|
|
@@ -1366,7 +1366,7 @@ declare function pl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1366
1366
|
* The Cloud Firestore service interface.
|
|
1367
1367
|
*
|
|
1368
1368
|
* Do not call this constructor directly. Instead, use {@link getFirestore}.
|
|
1369
|
-
*/ declare class
|
|
1369
|
+
*/ declare class ba {
|
|
1370
1370
|
/** @hideconstructor */
|
|
1371
1371
|
constructor(t: any, e: any, n: any);
|
|
1372
1372
|
_authCredentials: any;
|
|
@@ -1376,9 +1376,9 @@ declare function pl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1376
1376
|
*/
|
|
1377
1377
|
type: string;
|
|
1378
1378
|
_persistenceKey: string;
|
|
1379
|
-
_settings:
|
|
1379
|
+
_settings: Ra;
|
|
1380
1380
|
_settingsFrozen: boolean;
|
|
1381
|
-
_databaseId:
|
|
1381
|
+
_databaseId: ue;
|
|
1382
1382
|
_app: any;
|
|
1383
1383
|
/**
|
|
1384
1384
|
* The {@link @firebase/app#FirebaseApp} associated with this `Firestore` service
|
|
@@ -1387,14 +1387,14 @@ declare function pl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1387
1387
|
get _initialized(): boolean;
|
|
1388
1388
|
get _terminated(): boolean;
|
|
1389
1389
|
_setSettings(t: any): void;
|
|
1390
|
-
_getSettings():
|
|
1391
|
-
_freezeSettings():
|
|
1390
|
+
_getSettings(): Ra;
|
|
1391
|
+
_freezeSettings(): Ra;
|
|
1392
1392
|
_delete(): Promise<void>;
|
|
1393
1393
|
_terminateTask: Promise<void> | undefined;
|
|
1394
1394
|
/** Returns a JSON-serializable representation of this `Firestore` instance. */ toJSON(): {
|
|
1395
1395
|
app: any;
|
|
1396
|
-
databaseId:
|
|
1397
|
-
settings:
|
|
1396
|
+
databaseId: ue;
|
|
1397
|
+
settings: Ra;
|
|
1398
1398
|
};
|
|
1399
1399
|
/**
|
|
1400
1400
|
* Terminates all components used by this client. Subclasses can override
|
|
@@ -1419,16 +1419,16 @@ declare function pl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1419
1419
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1420
1420
|
* See the License for the specific language governing permissions and
|
|
1421
1421
|
* limitations under the License.
|
|
1422
|
-
*/ declare class
|
|
1423
|
-
|
|
1424
|
-
|
|
1422
|
+
*/ declare class Ma {
|
|
1423
|
+
Mc: Promise<void>;
|
|
1424
|
+
Oc: any[];
|
|
1425
1425
|
Fc: boolean;
|
|
1426
1426
|
$c: any[];
|
|
1427
1427
|
Bc: any;
|
|
1428
1428
|
Lc: boolean;
|
|
1429
1429
|
Uc: boolean;
|
|
1430
1430
|
qc: any[];
|
|
1431
|
-
So:
|
|
1431
|
+
So: ru;
|
|
1432
1432
|
Kc: () => void;
|
|
1433
1433
|
get isShuttingDown(): boolean;
|
|
1434
1434
|
/**
|
|
@@ -1444,7 +1444,7 @@ declare function pl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1444
1444
|
* reschedules with backoff.
|
|
1445
1445
|
*/ jc(): Promise<void>;
|
|
1446
1446
|
Qc(t: any): Promise<any>;
|
|
1447
|
-
enqueueAfterDelay(t: any, e: any, n: any):
|
|
1447
|
+
enqueueAfterDelay(t: any, e: any, n: any): Lu;
|
|
1448
1448
|
Gc(): void;
|
|
1449
1449
|
verifyOperationInProgress(): void;
|
|
1450
1450
|
/**
|
|
@@ -1491,12 +1491,12 @@ import { FirebaseError as c } from "@firebase/util/dist/src/errors";
|
|
|
1491
1491
|
/**
|
|
1492
1492
|
* Helper for parsing raw user input (provided via the API) into internal model
|
|
1493
1493
|
* classes.
|
|
1494
|
-
*/ declare class
|
|
1494
|
+
*/ declare class lh {
|
|
1495
1495
|
constructor(t: any, e: any, n: any);
|
|
1496
1496
|
databaseId: any;
|
|
1497
1497
|
ignoreUndefinedProperties: any;
|
|
1498
1498
|
wt: any;
|
|
1499
|
-
/** Creates a new top-level parse context. */ aa(t: any, e: any, n: any, s?: boolean):
|
|
1499
|
+
/** Creates a new top-level parse context. */ aa(t: any, e: any, n: any, s?: boolean): hh;
|
|
1500
1500
|
}
|
|
1501
1501
|
declare class Z {
|
|
1502
1502
|
constructor(t: any);
|
|
@@ -1544,67 +1544,67 @@ declare class at {
|
|
|
1544
1544
|
forEach(t: any): void;
|
|
1545
1545
|
toArray(): any;
|
|
1546
1546
|
}
|
|
1547
|
-
declare class
|
|
1547
|
+
declare class yh extends ih {
|
|
1548
1548
|
constructor(t: any, e: any);
|
|
1549
1549
|
ha: any;
|
|
1550
|
-
_toFieldTransform(t: any):
|
|
1550
|
+
_toFieldTransform(t: any): Fn;
|
|
1551
1551
|
isEqual(t: any): boolean;
|
|
1552
1552
|
}
|
|
1553
|
-
declare class
|
|
1553
|
+
declare class gh extends ih {
|
|
1554
1554
|
constructor(t: any, e: any);
|
|
1555
1555
|
ha: any;
|
|
1556
|
-
_toFieldTransform(t: any):
|
|
1556
|
+
_toFieldTransform(t: any): Fn;
|
|
1557
1557
|
isEqual(t: any): boolean;
|
|
1558
1558
|
}
|
|
1559
|
-
declare class
|
|
1559
|
+
declare class _h extends ih {
|
|
1560
1560
|
_toFieldTransform(t: any): null;
|
|
1561
1561
|
isEqual(t: any): boolean;
|
|
1562
1562
|
}
|
|
1563
|
-
declare class
|
|
1563
|
+
declare class tl extends qh {
|
|
1564
1564
|
constructor(t: any, e: any, n: any);
|
|
1565
1565
|
type: any;
|
|
1566
1566
|
ya: any;
|
|
1567
1567
|
pa: any;
|
|
1568
|
-
_apply(t: any):
|
|
1568
|
+
_apply(t: any): Va;
|
|
1569
1569
|
}
|
|
1570
|
-
declare class
|
|
1570
|
+
declare class ph extends ih {
|
|
1571
1571
|
constructor(t: any, e: any);
|
|
1572
1572
|
la: any;
|
|
1573
|
-
_toFieldTransform(t: any):
|
|
1573
|
+
_toFieldTransform(t: any): Fn;
|
|
1574
1574
|
isEqual(t: any): boolean;
|
|
1575
1575
|
}
|
|
1576
|
-
declare class
|
|
1576
|
+
declare class zh extends qh {
|
|
1577
1577
|
constructor(t: any, e: any, n: any);
|
|
1578
1578
|
type: any;
|
|
1579
1579
|
ma: any;
|
|
1580
1580
|
ga: any;
|
|
1581
|
-
_apply(t: any):
|
|
1581
|
+
_apply(t: any): Va;
|
|
1582
1582
|
}
|
|
1583
|
-
declare class
|
|
1583
|
+
declare class jh extends qh {
|
|
1584
1584
|
constructor(t: any, e: any);
|
|
1585
1585
|
fa: any;
|
|
1586
1586
|
wa: any;
|
|
1587
1587
|
type: string;
|
|
1588
|
-
_apply(t: any):
|
|
1588
|
+
_apply(t: any): Va;
|
|
1589
1589
|
}
|
|
1590
|
-
declare class
|
|
1591
|
-
_toFieldTransform(t: any):
|
|
1590
|
+
declare class mh extends ih {
|
|
1591
|
+
_toFieldTransform(t: any): Fn;
|
|
1592
1592
|
isEqual(t: any): boolean;
|
|
1593
1593
|
}
|
|
1594
|
-
declare class
|
|
1594
|
+
declare class Yh extends qh {
|
|
1595
1595
|
constructor(t: any, e: any, n: any);
|
|
1596
1596
|
type: any;
|
|
1597
1597
|
ya: any;
|
|
1598
1598
|
pa: any;
|
|
1599
|
-
_apply(t: any):
|
|
1599
|
+
_apply(t: any): Va;
|
|
1600
1600
|
}
|
|
1601
|
-
declare class
|
|
1601
|
+
declare class Gh extends qh {
|
|
1602
1602
|
constructor(t: any, e: any, n: any);
|
|
1603
1603
|
fa: any;
|
|
1604
1604
|
da: any;
|
|
1605
1605
|
_a: any;
|
|
1606
1606
|
type: string;
|
|
1607
|
-
_apply(t: any):
|
|
1607
|
+
_apply(t: any): Va;
|
|
1608
1608
|
}
|
|
1609
1609
|
/**
|
|
1610
1610
|
* @license
|
|
@@ -1627,7 +1627,7 @@ declare class qh extends Lh {
|
|
|
1627
1627
|
* user-supplied `FirestoreSettings` object. This is a separate type so that
|
|
1628
1628
|
* defaults can be supplied and the value can be checked for equality.
|
|
1629
1629
|
*/
|
|
1630
|
-
declare class
|
|
1630
|
+
declare class Ra {
|
|
1631
1631
|
constructor(t: any);
|
|
1632
1632
|
host: any;
|
|
1633
1633
|
ssl: any;
|
|
@@ -1651,7 +1651,7 @@ declare class Ea {
|
|
|
1651
1651
|
* base delay. This prevents clients from accidentally synchronizing their
|
|
1652
1652
|
* delays causing spikes of load to the backend.
|
|
1653
1653
|
*/
|
|
1654
|
-
declare class
|
|
1654
|
+
declare class ru {
|
|
1655
1655
|
constructor(t: any, e: any, n?: number, s?: number, i?: number);
|
|
1656
1656
|
js: any;
|
|
1657
1657
|
timerId: any;
|
|
@@ -1709,7 +1709,7 @@ declare class su {
|
|
|
1709
1709
|
* in newer versions of TypeScript defines `finally`, which is not available in
|
|
1710
1710
|
* IE.
|
|
1711
1711
|
*/
|
|
1712
|
-
declare class
|
|
1712
|
+
declare class Lu {
|
|
1713
1713
|
/**
|
|
1714
1714
|
* Creates and returns a DelayedOperation that has been scheduled to be
|
|
1715
1715
|
* executed on the provided asyncQueue after the provided delayMs.
|
|
@@ -1723,7 +1723,7 @@ declare class $u {
|
|
|
1723
1723
|
* from its delayedOperations list.
|
|
1724
1724
|
* PORTING NOTE: This exists to prevent making removeDelayedOperation() and
|
|
1725
1725
|
* the DelayedOperation class public.
|
|
1726
|
-
*/ static createAndSchedule(t: any, e: any, n: any, s: any, i: any):
|
|
1726
|
+
*/ static createAndSchedule(t: any, e: any, n: any, s: any, i: any): Lu;
|
|
1727
1727
|
constructor(t: any, e: any, n: any, s: any, i: any);
|
|
1728
1728
|
asyncQueue: any;
|
|
1729
1729
|
timerId: any;
|
|
@@ -1751,7 +1751,7 @@ declare class $u {
|
|
|
1751
1751
|
handleDelayElapsed(): void;
|
|
1752
1752
|
clearTimeout(): void;
|
|
1753
1753
|
}
|
|
1754
|
-
/** A "context" object passed around while parsing user data. */ declare class
|
|
1754
|
+
/** A "context" object passed around while parsing user data. */ declare class hh {
|
|
1755
1755
|
/**
|
|
1756
1756
|
* Initializes a ParseContext with the given source and path.
|
|
1757
1757
|
*
|
|
@@ -1779,10 +1779,10 @@ declare class $u {
|
|
|
1779
1779
|
fieldMask: any;
|
|
1780
1780
|
get path(): any;
|
|
1781
1781
|
get Zc(): any;
|
|
1782
|
-
/** Returns a new context with the specified settings overwritten. */ ta(t: any):
|
|
1783
|
-
ea(t: any):
|
|
1784
|
-
ia(t: any):
|
|
1785
|
-
ra(t: any):
|
|
1782
|
+
/** Returns a new context with the specified settings overwritten. */ ta(t: any): hh;
|
|
1783
|
+
ea(t: any): hh;
|
|
1784
|
+
ia(t: any): hh;
|
|
1785
|
+
ra(t: any): hh;
|
|
1786
1786
|
oa(t: any): Q;
|
|
1787
1787
|
/** Returns 'true' if 'fieldPath' was traversed when creating this context. */ contains(t: any): boolean;
|
|
1788
1788
|
Xc(): void;
|
|
@@ -1804,9 +1804,9 @@ declare class $u {
|
|
|
1804
1804
|
* See the License for the specific language governing permissions and
|
|
1805
1805
|
* limitations under the License.
|
|
1806
1806
|
*/
|
|
1807
|
-
/** A field path and the TransformOperation to perform upon it. */ declare class
|
|
1807
|
+
/** A field path and the TransformOperation to perform upon it. */ declare class Fn {
|
|
1808
1808
|
constructor(t: any, e: any);
|
|
1809
1809
|
field: any;
|
|
1810
1810
|
transform: any;
|
|
1811
1811
|
}
|
|
1812
|
-
export {
|
|
1812
|
+
export { cl as AbstractUserDataWriter, sh as Bytes, $a as CACHE_SIZE_UNLIMITED, Sa as CollectionReference, va as DocumentReference, Oh as DocumentSnapshot, eh as FieldPath, ih as FieldValue, Ba as Firestore, Q as FirestoreError, rh as GeoPoint, Fa as LoadBundleTask, Va as Query, qh as QueryConstraint, Fh as QueryDocumentSnapshot, $h as QuerySnapshot, Mh as SnapshotMetadata, ut as Timestamp, Vl as Transaction, ll as WriteBatch, ue as _DatabaseId, dt as _DocumentKey, et as _EmptyAppCheckTokenProvider, z as _EmptyAuthCredentialsProvider, ft as _FieldPath, Ea as _cast, q as _debugAssert, Yt as _isBase64Available, $ as _logWarn, ya as _validateIsNotUsedTogether, Al as addDoc, Nl as arrayRemove, xl as arrayUnion, Wa as clearIndexedDbPersistence, Da as collection, Ca as collectionGroup, Pa as connectFirestoreEmulator, El as deleteDoc, Dl as deleteField, Ja as disableNetwork, xa as doc, nh as documentId, Ga as enableIndexedDbPersistence, Qa as enableMultiTabIndexedDbPersistence, Ha as enableNetwork, nl as endAt, el as endBefore, qa as ensureFirestoreConfigured, Pl as executeWrite, dl as getDoc, wl as getDocFromCache, ml as getDocFromServer, gl as getDocs, yl as getDocsFromCache, pl as getDocsFromServer, Ua as getFirestore, kl as increment, La as initializeFirestore, Hh as limit, Jh as limitToLast, Xa as loadBundle, Za as namedQuery, Rl as onSnapshot, bl as onSnapshotsInSync, Wh as orderBy, Kh as query, ka as queryEqual, Na as refEqual, Sl as runTransaction, Cl as serverTimestamp, Il as setDoc, Ol as setIndexConfiguration, M as setLogLevel, Lh as snapshotEqual, Zh as startAfter, Xh as startAt, Ya as terminate, Tl as updateDoc, za as waitForPendingWrites, Qh as where, Ml as writeBatch };
|