@firebase/firestore 3.4.3 → 3.4.4-202202622812
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 +10 -0
- package/dist/firestore/src/api/database.d.ts +14 -9
- package/dist/firestore/src/api/index_configuration.d.ts +117 -0
- package/dist/firestore/src/api.d.ts +1 -0
- package/dist/firestore/src/core/firestore_client.d.ts +2 -0
- package/dist/firestore/src/model/field_index.d.ts +76 -0
- package/dist/firestore/test/integration/api/index_configuration.test.d.ts +17 -0
- package/dist/index.d.ts +15 -9
- package/dist/index.esm2017.js +663 -602
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +680 -617
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +100 -13
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.node.mjs +100 -14
- package/dist/index.node.mjs.map +1 -1
- package/dist/index.rn.js +705 -602
- package/dist/index.rn.js.map +1 -1
- package/dist/internal.d.ts +120 -9
- package/dist/lite/firestore/src/api/database.d.ts +14 -9
- package/dist/lite/firestore/src/api/index_configuration.d.ts +117 -0
- package/dist/lite/firestore/src/api.d.ts +1 -0
- package/dist/lite/firestore/src/core/firestore_client.d.ts +2 -0
- package/dist/lite/firestore/src/model/field_index.d.ts +76 -0
- package/dist/lite/firestore/test/integration/api/index_configuration.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.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/database.d.ts +14 -9
- package/dist/lite/packages/firestore/src/api/index_configuration.d.ts +117 -0
- package/dist/lite/packages/firestore/src/api.d.ts +1 -0
- package/dist/lite/packages/firestore/src/core/firestore_client.d.ts +2 -0
- package/dist/lite/packages/firestore/src/model/field_index.d.ts +76 -0
- package/dist/lite/packages/firestore/test/integration/api/index_configuration.test.d.ts +17 -0
- package/dist/packages/firestore/dist/index.esm2017.d.ts +152 -131
- package/dist/packages/firestore/src/api/database.d.ts +14 -9
- package/dist/packages/firestore/src/api/index_configuration.d.ts +117 -0
- package/dist/packages/firestore/src/api.d.ts +1 -0
- package/dist/packages/firestore/src/core/firestore_client.d.ts +2 -0
- package/dist/packages/firestore/src/model/field_index.d.ts +76 -0
- package/dist/packages/firestore/test/integration/api/index_configuration.test.d.ts +17 -0
- package/dist/private.d.ts +24 -9
- package/package.json +5 -5
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
* to the user.
|
|
20
20
|
*
|
|
21
21
|
* @internal
|
|
22
|
-
*/ declare class
|
|
22
|
+
*/ declare class ch {
|
|
23
23
|
convertValue(t: any, e?: string): any;
|
|
24
24
|
convertObject(t: any, e: any): {};
|
|
25
|
-
convertGeoPoint(t: any):
|
|
25
|
+
convertGeoPoint(t: any): ru;
|
|
26
26
|
convertArray(t: any, e: any): any;
|
|
27
27
|
convertServerTimestamp(t: any, e: any): any;
|
|
28
28
|
convertTimestamp(t: any): at;
|
|
@@ -46,18 +46,18 @@
|
|
|
46
46
|
*/
|
|
47
47
|
/**
|
|
48
48
|
* An immutable object representing an array of bytes.
|
|
49
|
-
*/ declare class
|
|
49
|
+
*/ declare class su {
|
|
50
50
|
/**
|
|
51
51
|
* Creates a new `Bytes` object from the given Base64 string, converting it to
|
|
52
52
|
* bytes.
|
|
53
53
|
*
|
|
54
54
|
* @param base64 - The Base64 string used to create the `Bytes` object.
|
|
55
|
-
*/ static fromBase64String(t: any):
|
|
55
|
+
*/ static fromBase64String(t: any): su;
|
|
56
56
|
/**
|
|
57
57
|
* Creates a new `Bytes` object from the given Uint8Array.
|
|
58
58
|
*
|
|
59
59
|
* @param array - The Uint8Array used to create the `Bytes` object.
|
|
60
|
-
*/ static fromUint8Array(t: any):
|
|
60
|
+
*/ static fromUint8Array(t: any): su;
|
|
61
61
|
/** @hideconstructor */
|
|
62
62
|
constructor(t: any);
|
|
63
63
|
_byteString: any;
|
|
@@ -99,11 +99,11 @@
|
|
|
99
99
|
* See the License for the specific language governing permissions and
|
|
100
100
|
* limitations under the License.
|
|
101
101
|
*/
|
|
102
|
-
/** DOMException error code constants. */ declare const
|
|
102
|
+
/** DOMException error code constants. */ declare const Fa: -1;
|
|
103
103
|
/**
|
|
104
104
|
* A `CollectionReference` object can be used for adding documents, getting
|
|
105
105
|
* document references, and querying for documents (using {@link query}).
|
|
106
|
-
*/ declare class
|
|
106
|
+
*/ declare class Sa extends Va {
|
|
107
107
|
_path: any;
|
|
108
108
|
/** The collection's identifier. */ get id(): any;
|
|
109
109
|
/**
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
/**
|
|
114
114
|
* A reference to the containing `DocumentReference` if this is a
|
|
115
115
|
* subcollection. If this isn't a subcollection, the reference is null.
|
|
116
|
-
*/ get parent():
|
|
116
|
+
*/ get parent(): va | null;
|
|
117
117
|
}
|
|
118
118
|
/**
|
|
119
119
|
* @license
|
|
@@ -135,7 +135,7 @@
|
|
|
135
135
|
* A `DocumentReference` refers to a document location in a Firestore database
|
|
136
136
|
* and can be used to write, read, or listen to the location. The document at
|
|
137
137
|
* the referenced location may or may not exist.
|
|
138
|
-
*/ declare class
|
|
138
|
+
*/ declare class va {
|
|
139
139
|
/** @hideconstructor */
|
|
140
140
|
constructor(t: any, e: any, n: any);
|
|
141
141
|
converter: any;
|
|
@@ -153,8 +153,8 @@
|
|
|
153
153
|
*/ get path(): any;
|
|
154
154
|
/**
|
|
155
155
|
* The collection this `DocumentReference` belongs to.
|
|
156
|
-
*/ get parent():
|
|
157
|
-
withConverter(t: any):
|
|
156
|
+
*/ get parent(): Sa;
|
|
157
|
+
withConverter(t: any): va;
|
|
158
158
|
}
|
|
159
159
|
/**
|
|
160
160
|
* A `DocumentSnapshot` contains data read from a document in your Firestore
|
|
@@ -164,7 +164,7 @@
|
|
|
164
164
|
* For a `DocumentSnapshot` that points to a non-existing document, any data
|
|
165
165
|
* access will return 'undefined'. You can use the `exists()` method to
|
|
166
166
|
* explicitly verify a document's existence.
|
|
167
|
-
*/ declare class
|
|
167
|
+
*/ declare class Ou extends Nu {
|
|
168
168
|
/** @hideconstructor protected */
|
|
169
169
|
constructor(t: any, e: any, n: any, s: any, i: any, r: any);
|
|
170
170
|
_firestoreImpl: any;
|
|
@@ -210,7 +210,7 @@
|
|
|
210
210
|
* Create a `FieldPath` by providing field names. If more than one field
|
|
211
211
|
* name is provided, the path will point to a nested field in a document.
|
|
212
212
|
*/
|
|
213
|
-
declare class
|
|
213
|
+
declare class eu {
|
|
214
214
|
/**
|
|
215
215
|
* Creates a `FieldPath` from the provided field names. If more than one field
|
|
216
216
|
* name is provided, the path will point to a nested field in a document.
|
|
@@ -245,7 +245,7 @@ declare class tu {
|
|
|
245
245
|
/**
|
|
246
246
|
* Sentinel values that can be used when writing document fields with `set()`
|
|
247
247
|
* or `update()`.
|
|
248
|
-
*/ declare class
|
|
248
|
+
*/ declare class iu {
|
|
249
249
|
/**
|
|
250
250
|
* @param _methodName - The public API endpoint that returns this class.
|
|
251
251
|
* @hideconstructor
|
|
@@ -258,8 +258,8 @@ declare class tu {
|
|
|
258
258
|
*
|
|
259
259
|
* Do not call this constructor directly. Instead, use {@link getFirestore}.
|
|
260
260
|
*/
|
|
261
|
-
declare class
|
|
262
|
-
_queue:
|
|
261
|
+
declare class La extends ba {
|
|
262
|
+
_queue: $a;
|
|
263
263
|
}
|
|
264
264
|
/** An error returned by a Firestore operation. */ declare class Q extends a {
|
|
265
265
|
/** @hideconstructor */
|
|
@@ -287,7 +287,7 @@ declare class Fa extends Ra {
|
|
|
287
287
|
*
|
|
288
288
|
* Latitude values are in the range of [-90, 90].
|
|
289
289
|
* Longitude values are in the range of [-180, 180].
|
|
290
|
-
*/ declare class
|
|
290
|
+
*/ declare class ru {
|
|
291
291
|
/**
|
|
292
292
|
* Creates a new immutable `GeoPoint` object with the provided latitude and
|
|
293
293
|
* longitude values.
|
|
@@ -318,7 +318,7 @@ declare class Fa extends Ra {
|
|
|
318
318
|
* with an underscore.
|
|
319
319
|
*/ _compareTo(t: any): 0 | 1 | -1;
|
|
320
320
|
}
|
|
321
|
-
declare class
|
|
321
|
+
declare class Ma {
|
|
322
322
|
_progressObserver: {};
|
|
323
323
|
_taskCompletionResolver: W;
|
|
324
324
|
_lastProgress: {
|
|
@@ -370,7 +370,7 @@ declare class Oa {
|
|
|
370
370
|
/**
|
|
371
371
|
* A `Query` refers to a query which you can read or listen to. You can also
|
|
372
372
|
* construct refined `Query` objects by adding filters and ordering.
|
|
373
|
-
*/ declare class
|
|
373
|
+
*/ declare class Va {
|
|
374
374
|
/** @hideconstructor protected */
|
|
375
375
|
constructor(t: any, e: any, n: any);
|
|
376
376
|
converter: any;
|
|
@@ -378,7 +378,7 @@ declare class Oa {
|
|
|
378
378
|
/** The type of this Firestore reference. */
|
|
379
379
|
type: string;
|
|
380
380
|
firestore: any;
|
|
381
|
-
withConverter(t: any):
|
|
381
|
+
withConverter(t: any): Va;
|
|
382
382
|
}
|
|
383
383
|
/**
|
|
384
384
|
* A `QueryConstraint` is used to narrow the set of documents returned by a
|
|
@@ -387,7 +387,7 @@ declare class Oa {
|
|
|
387
387
|
* endBefore:1}, {@link (endAt:1)}, {@link limit} or {@link limitToLast} and
|
|
388
388
|
* can then be passed to {@link query} to create a new query instance that
|
|
389
389
|
* also contains this `QueryConstraint`.
|
|
390
|
-
*/ declare class
|
|
390
|
+
*/ declare class qu {
|
|
391
391
|
}
|
|
392
392
|
/**
|
|
393
393
|
* A `QueryDocumentSnapshot` contains data read from a document in your
|
|
@@ -399,7 +399,7 @@ declare class Oa {
|
|
|
399
399
|
* `DocumentSnapshot`. Since query results contain only existing documents, the
|
|
400
400
|
* `exists` property will always be true and `data()` will never return
|
|
401
401
|
* 'undefined'.
|
|
402
|
-
*/ declare class
|
|
402
|
+
*/ declare class Mu extends Ou {
|
|
403
403
|
}
|
|
404
404
|
/**
|
|
405
405
|
* A `QuerySnapshot` contains zero or more `DocumentSnapshot` objects
|
|
@@ -407,13 +407,13 @@ declare class Oa {
|
|
|
407
407
|
* array via the `docs` property or enumerated using the `forEach` method. The
|
|
408
408
|
* number of documents can be determined via the `empty` and `size`
|
|
409
409
|
* properties.
|
|
410
|
-
*/ declare class
|
|
410
|
+
*/ declare class Fu {
|
|
411
411
|
/** @hideconstructor */
|
|
412
412
|
constructor(t: any, e: any, n: any, s: any);
|
|
413
413
|
_firestore: any;
|
|
414
414
|
_userDataWriter: any;
|
|
415
415
|
_snapshot: any;
|
|
416
|
-
metadata:
|
|
416
|
+
metadata: $u;
|
|
417
417
|
query: any;
|
|
418
418
|
/** An array of all the documents in the `QuerySnapshot`. */ get docs(): any[];
|
|
419
419
|
/** The number of documents in the `QuerySnapshot`. */ get size(): any;
|
|
@@ -455,7 +455,7 @@ declare class Oa {
|
|
|
455
455
|
*/
|
|
456
456
|
/**
|
|
457
457
|
* Metadata about a snapshot, describing the state of the snapshot.
|
|
458
|
-
*/ declare class
|
|
458
|
+
*/ declare class $u {
|
|
459
459
|
/** @hideconstructor */
|
|
460
460
|
constructor(t: any, e: any);
|
|
461
461
|
hasPendingWrites: any;
|
|
@@ -564,11 +564,11 @@ declare class at {
|
|
|
564
564
|
* to be compared using the `>`, `<=`, `>=` and `>` operators.
|
|
565
565
|
*/ valueOf(): string;
|
|
566
566
|
}
|
|
567
|
-
declare const
|
|
567
|
+
declare const vh_base: {
|
|
568
568
|
new (t: any, e: any): {
|
|
569
569
|
_firestore: any;
|
|
570
570
|
_transaction: any;
|
|
571
|
-
_dataReader:
|
|
571
|
+
_dataReader: lu;
|
|
572
572
|
/**
|
|
573
573
|
* Reads the document referenced by the provided {@link DocumentReference}.
|
|
574
574
|
*
|
|
@@ -607,7 +607,7 @@ declare const Ph_base: {
|
|
|
607
607
|
* The `Transaction` object passed to a transaction's `updateFunction` provides
|
|
608
608
|
* the methods to read and write data within the transaction context. See
|
|
609
609
|
* {@link runTransaction}.
|
|
610
|
-
*/ declare class
|
|
610
|
+
*/ declare class vh extends vh_base {
|
|
611
611
|
}
|
|
612
612
|
/**
|
|
613
613
|
* @license
|
|
@@ -632,22 +632,22 @@ declare const Ph_base: {
|
|
|
632
632
|
* provides methods for adding writes to the write batch. None of the writes
|
|
633
633
|
* will be committed (or visible locally) until {@link WriteBatch.commit} is
|
|
634
634
|
* called.
|
|
635
|
-
*/ declare class
|
|
635
|
+
*/ declare class hh {
|
|
636
636
|
/** @hideconstructor */
|
|
637
637
|
constructor(t: any, e: any);
|
|
638
638
|
_firestore: any;
|
|
639
639
|
_commitHandler: any;
|
|
640
640
|
_mutations: any[];
|
|
641
641
|
_committed: boolean;
|
|
642
|
-
_dataReader:
|
|
643
|
-
set(t: any, e: any, n: any):
|
|
644
|
-
update(t: any, e: any, n: any, ...s: any[]):
|
|
642
|
+
_dataReader: lu;
|
|
643
|
+
set(t: any, e: any, n: any): hh;
|
|
644
|
+
update(t: any, e: any, n: any, ...s: any[]): hh;
|
|
645
645
|
/**
|
|
646
646
|
* Deletes the document referred to by the provided {@link DocumentReference}.
|
|
647
647
|
*
|
|
648
648
|
* @param documentRef - A reference to the document to be deleted.
|
|
649
649
|
* @returns This `WriteBatch` instance. Used for chaining method calls.
|
|
650
|
-
*/ delete(t: any):
|
|
650
|
+
*/ delete(t: any): hh;
|
|
651
651
|
/**
|
|
652
652
|
* Commits all of the writes in this write batch as a single atomic unit.
|
|
653
653
|
*
|
|
@@ -667,7 +667,7 @@ declare const Ph_base: {
|
|
|
667
667
|
* Represents the database ID a Firestore client is associated with.
|
|
668
668
|
* @internal
|
|
669
669
|
*/
|
|
670
|
-
declare class
|
|
670
|
+
declare class _a {
|
|
671
671
|
constructor(t: any, e: any);
|
|
672
672
|
projectId: any;
|
|
673
673
|
database: any;
|
|
@@ -756,7 +756,7 @@ declare class wa {
|
|
|
756
756
|
* Returns true if this field references the key of a document.
|
|
757
757
|
*/ isKeyField(): boolean;
|
|
758
758
|
}
|
|
759
|
-
declare function
|
|
759
|
+
declare function Ia(t: any, e: any): any;
|
|
760
760
|
/**
|
|
761
761
|
* Fails if the given assertion condition is false, throwing an Error with the
|
|
762
762
|
* given message if it did.
|
|
@@ -789,10 +789,26 @@ declare function yt(): boolean;
|
|
|
789
789
|
/**
|
|
790
790
|
* @internal
|
|
791
791
|
*/ declare function F(t: any, ...e: any[]): void;
|
|
792
|
+
/**
|
|
793
|
+
* @license
|
|
794
|
+
* Copyright 2021 Google LLC
|
|
795
|
+
*
|
|
796
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
797
|
+
* you may not use this file except in compliance with the License.
|
|
798
|
+
* You may obtain a copy of the License at
|
|
799
|
+
*
|
|
800
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
801
|
+
*
|
|
802
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
803
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
804
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
805
|
+
* See the License for the specific language governing permissions and
|
|
806
|
+
* limitations under the License.
|
|
807
|
+
*/ declare function Mh(t: any, e: any): Promise<void>;
|
|
792
808
|
/**
|
|
793
809
|
* Validates that two boolean options are not set at the same time.
|
|
794
810
|
* @internal
|
|
795
|
-
*/ declare function
|
|
811
|
+
*/ declare function ya(t: any, e: any, n: any, s: any): void;
|
|
796
812
|
/**
|
|
797
813
|
* Add a new document to specified `CollectionReference` with the given data,
|
|
798
814
|
* assigning it a document ID automatically.
|
|
@@ -802,7 +818,7 @@ declare function yt(): boolean;
|
|
|
802
818
|
* @returns A `Promise` resolved with a `DocumentReference` pointing to the
|
|
803
819
|
* newly created document after it has been written to the backend (Note that it
|
|
804
820
|
* won't resolve while you're offline).
|
|
805
|
-
*/ declare function
|
|
821
|
+
*/ declare function Ih(t: any, e: any): Promise<va>;
|
|
806
822
|
/**
|
|
807
823
|
* Returns a special value that can be used with {@link (setDoc:1)} or {@link
|
|
808
824
|
* updateDoc:1} that tells the server to remove the given elements from any
|
|
@@ -813,7 +829,7 @@ declare function yt(): boolean;
|
|
|
813
829
|
* @param elements - The elements to remove from the array.
|
|
814
830
|
* @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
|
|
815
831
|
* `updateDoc()`
|
|
816
|
-
*/ declare function
|
|
832
|
+
*/ declare function Nh(...t: any[]): yu;
|
|
817
833
|
/**
|
|
818
834
|
* Returns a special value that can be used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link
|
|
819
835
|
* @firebase/firestore/lite#(updateDoc:1)} that tells the server to union the given elements with any array
|
|
@@ -825,9 +841,9 @@ declare function yt(): boolean;
|
|
|
825
841
|
* @param elements - The elements to union into the array.
|
|
826
842
|
* @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
|
|
827
843
|
* `updateDoc()`.
|
|
828
|
-
*/ declare function
|
|
829
|
-
declare function
|
|
830
|
-
declare function
|
|
844
|
+
*/ declare function Ch(...t: any[]): gu;
|
|
845
|
+
declare function Ga(t: any): Promise<any>;
|
|
846
|
+
declare function Da(t: any, e: any, ...n: any[]): Sa;
|
|
831
847
|
/**
|
|
832
848
|
* Creates and returns a new `Query` instance that includes all documents in the
|
|
833
849
|
* database that are contained in a collection or subcollection with the
|
|
@@ -838,15 +854,15 @@ declare function Sa(t: any, e: any, ...n: any[]): Va;
|
|
|
838
854
|
* collection or subcollection with this ID as the last segment of its path
|
|
839
855
|
* will be included. Cannot contain a slash.
|
|
840
856
|
* @returns The created `Query`.
|
|
841
|
-
*/ declare function
|
|
842
|
-
declare function
|
|
857
|
+
*/ declare function Ca(t: any, e: any): Va;
|
|
858
|
+
declare function Pa(t: any, e: any, n: any, s?: {}): void;
|
|
843
859
|
/**
|
|
844
860
|
* Deletes the document referred to by the specified `DocumentReference`.
|
|
845
861
|
*
|
|
846
862
|
* @param reference - A reference to the document to delete.
|
|
847
863
|
* @returns A Promise resolved once the document has been successfully
|
|
848
864
|
* deleted from the backend (note that it won't resolve while you're offline).
|
|
849
|
-
*/ declare function
|
|
865
|
+
*/ declare function Eh(t: any): Promise<any>;
|
|
850
866
|
/**
|
|
851
867
|
* @license
|
|
852
868
|
* Copyright 2020 Google LLC
|
|
@@ -866,7 +882,7 @@ declare function ba(t: any, e: any, n: any, s?: {}): void;
|
|
|
866
882
|
/**
|
|
867
883
|
* Returns a sentinel for use with {@link @firebase/firestore/lite#(updateDoc:1)} or
|
|
868
884
|
* {@link @firebase/firestore/lite#(setDoc:1)} with `{merge: true}` to mark a field for deletion.
|
|
869
|
-
*/ declare function
|
|
885
|
+
*/ declare function Sh(): wu;
|
|
870
886
|
/**
|
|
871
887
|
* Disables network usage for this instance. It can be re-enabled via {@link
|
|
872
888
|
* enableNetwork}. While the network is disabled, any snapshot listeners,
|
|
@@ -874,12 +890,12 @@ declare function ba(t: any, e: any, n: any, s?: {}): void;
|
|
|
874
890
|
* operations will be queued until the network is restored.
|
|
875
891
|
*
|
|
876
892
|
* @returns A `Promise` that is resolved once the network has been disabled.
|
|
877
|
-
*/ declare function
|
|
878
|
-
declare function
|
|
893
|
+
*/ declare function Ja(t: any): any;
|
|
894
|
+
declare function Na(t: any, e: any, ...n: any[]): va;
|
|
879
895
|
/**
|
|
880
896
|
* Returns a special sentinel `FieldPath` to refer to the ID of a document.
|
|
881
897
|
* It can be used in queries to sort or filter by the document ID.
|
|
882
|
-
*/ declare function
|
|
898
|
+
*/ declare function nu(): eu;
|
|
883
899
|
/**
|
|
884
900
|
* Attempts to enable persistent storage, if possible.
|
|
885
901
|
*
|
|
@@ -902,7 +918,7 @@ declare function Ca(t: any, e: any, ...n: any[]): Pa;
|
|
|
902
918
|
* @param persistenceSettings - Optional settings object to configure
|
|
903
919
|
* persistence.
|
|
904
920
|
* @returns A `Promise` that represents successfully enabling persistent storage.
|
|
905
|
-
*/ declare function
|
|
921
|
+
*/ declare function ja(t: any, e: any): any;
|
|
906
922
|
/**
|
|
907
923
|
* Attempts to enable multi-tab persistent storage, if possible. If enabled
|
|
908
924
|
* across all tabs, all operations share access to local persistence, including
|
|
@@ -924,22 +940,22 @@ declare function Ca(t: any, e: any, ...n: any[]): Pa;
|
|
|
924
940
|
* @param firestore - The {@link Firestore} instance to enable persistence for.
|
|
925
941
|
* @returns A `Promise` that represents successfully enabling persistent
|
|
926
942
|
* storage.
|
|
927
|
-
*/ declare function
|
|
943
|
+
*/ declare function Qa(t: any): any;
|
|
928
944
|
/**
|
|
929
945
|
* Re-enables use of the network for this {@link Firestore} instance after a prior
|
|
930
946
|
* call to {@link disableNetwork}.
|
|
931
947
|
*
|
|
932
948
|
* @returns A `Promise` that is resolved once the network has been enabled.
|
|
933
|
-
*/ declare function
|
|
934
|
-
declare function
|
|
935
|
-
declare function
|
|
949
|
+
*/ declare function Ha(t: any): any;
|
|
950
|
+
declare function nh(...t: any[]): th;
|
|
951
|
+
declare function eh(...t: any[]): th;
|
|
936
952
|
/**
|
|
937
953
|
* @internal
|
|
938
|
-
*/ declare function
|
|
954
|
+
*/ declare function qa(t: any): any;
|
|
939
955
|
/**
|
|
940
956
|
* Locally writes `mutations` on the async queue.
|
|
941
957
|
* @internal
|
|
942
|
-
*/ declare function
|
|
958
|
+
*/ declare function bh(t: any, e: any): Promise<any>;
|
|
943
959
|
/**
|
|
944
960
|
* @license
|
|
945
961
|
* Copyright 2020 Google LLC
|
|
@@ -991,21 +1007,21 @@ declare function th(...t: any[]): Zu;
|
|
|
991
1007
|
* @returns A Promise resolved with a `DocumentSnapshot` containing the
|
|
992
1008
|
* current document contents.
|
|
993
1009
|
*/
|
|
994
|
-
declare function
|
|
1010
|
+
declare function fh(t: any): Promise<Ou>;
|
|
995
1011
|
/**
|
|
996
1012
|
* Reads the document referred to by this `DocumentReference` from cache.
|
|
997
1013
|
* Returns an error if the document is not currently cached.
|
|
998
1014
|
*
|
|
999
1015
|
* @returns A `Promise` resolved with a `DocumentSnapshot` containing the
|
|
1000
1016
|
* current document contents.
|
|
1001
|
-
*/ declare function
|
|
1017
|
+
*/ declare function wh(t: any): Promise<Ou>;
|
|
1002
1018
|
/**
|
|
1003
1019
|
* Reads the document referred to by this `DocumentReference` from the server.
|
|
1004
1020
|
* Returns an error if the network is not available.
|
|
1005
1021
|
*
|
|
1006
1022
|
* @returns A `Promise` resolved with a `DocumentSnapshot` containing the
|
|
1007
1023
|
* current document contents.
|
|
1008
|
-
*/ declare function
|
|
1024
|
+
*/ declare function _h(t: any): Promise<Ou>;
|
|
1009
1025
|
/**
|
|
1010
1026
|
* Executes the query and returns the results as a `QuerySnapshot`.
|
|
1011
1027
|
*
|
|
@@ -1015,19 +1031,19 @@ declare function lh(t: any): Promise<$u>;
|
|
|
1015
1031
|
* invoke {@link getDocsFromCache} or {@link getDocsFromServer}.
|
|
1016
1032
|
*
|
|
1017
1033
|
* @returns A `Promise` that will be resolved with the results of the query.
|
|
1018
|
-
*/ declare function
|
|
1034
|
+
*/ declare function mh(t: any): Promise<Fu>;
|
|
1019
1035
|
/**
|
|
1020
1036
|
* Executes the query and returns the results as a `QuerySnapshot` from cache.
|
|
1021
1037
|
* Returns an error if the document is not currently cached.
|
|
1022
1038
|
*
|
|
1023
1039
|
* @returns A `Promise` that will be resolved with the results of the query.
|
|
1024
|
-
*/ declare function
|
|
1040
|
+
*/ declare function gh(t: any): Promise<Fu>;
|
|
1025
1041
|
/**
|
|
1026
1042
|
* Executes the query and returns the results as a `QuerySnapshot` from the
|
|
1027
1043
|
* server. Returns an error if the network is not available.
|
|
1028
1044
|
*
|
|
1029
1045
|
* @returns A `Promise` that will be resolved with the results of the query.
|
|
1030
|
-
*/ declare function
|
|
1046
|
+
*/ declare function yh(t: any): Promise<Fu>;
|
|
1031
1047
|
/**
|
|
1032
1048
|
* Returns the existing {@link Firestore} instance that is associated with the
|
|
1033
1049
|
* provided {@link @firebase/app#FirebaseApp}. If no instance exists, initializes a new
|
|
@@ -1036,7 +1052,7 @@ declare function lh(t: any): Promise<$u>;
|
|
|
1036
1052
|
* @param app - The {@link @firebase/app#FirebaseApp} instance that the returned {@link Firestore}
|
|
1037
1053
|
* instance is associated with.
|
|
1038
1054
|
* @returns The {@link Firestore} instance of the provided app.
|
|
1039
|
-
*/ declare function
|
|
1055
|
+
*/ declare function Ua(e?: import("@firebase/app").FirebaseApp): import("../src").Firestore;
|
|
1040
1056
|
/**
|
|
1041
1057
|
* Returns a special value that can be used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link
|
|
1042
1058
|
* @firebase/firestore/lite#(updateDoc:1)} that tells the server to increment the field's current value by
|
|
@@ -1055,7 +1071,7 @@ declare function lh(t: any): Promise<$u>;
|
|
|
1055
1071
|
* @param n - The value to increment by.
|
|
1056
1072
|
* @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
|
|
1057
1073
|
* `updateDoc()`
|
|
1058
|
-
*/ declare function
|
|
1074
|
+
*/ declare function kh(t: any): pu;
|
|
1059
1075
|
/**
|
|
1060
1076
|
* Initializes a new instance of {@link Firestore} with the provided settings.
|
|
1061
1077
|
* Can only be called before any other function, including
|
|
@@ -1066,13 +1082,13 @@ declare function lh(t: any): Promise<$u>;
|
|
|
1066
1082
|
* be associated.
|
|
1067
1083
|
* @param settings - A settings object to configure the {@link Firestore} instance.
|
|
1068
1084
|
* @returns A newly initialized {@link Firestore} instance.
|
|
1069
|
-
*/ declare function
|
|
1085
|
+
*/ declare function Ba(t: any, e: any): import("../src").Firestore;
|
|
1070
1086
|
/**
|
|
1071
1087
|
* Creates a {@link QueryConstraint} that only returns the first matching documents.
|
|
1072
1088
|
*
|
|
1073
1089
|
* @param limit - The maximum number of items to return.
|
|
1074
1090
|
* @returns The created {@link Query}.
|
|
1075
|
-
*/ declare function
|
|
1091
|
+
*/ declare function Hu(t: any): zu;
|
|
1076
1092
|
/**
|
|
1077
1093
|
* Creates a {@link QueryConstraint} that only returns the last matching documents.
|
|
1078
1094
|
*
|
|
@@ -1081,27 +1097,32 @@ declare function lh(t: any): Promise<$u>;
|
|
|
1081
1097
|
*
|
|
1082
1098
|
* @param limit - The maximum number of items to return.
|
|
1083
1099
|
* @returns The created {@link Query}.
|
|
1084
|
-
*/ declare function
|
|
1100
|
+
*/ declare function Ju(t: any): zu;
|
|
1085
1101
|
/**
|
|
1086
1102
|
* Loads a Firestore bundle into the local cache.
|
|
1087
1103
|
*
|
|
1088
|
-
* @param firestore - The {@link Firestore} instance to load bundles for
|
|
1089
|
-
* @param bundleData - An object representing the bundle to be loaded. Valid
|
|
1090
|
-
*
|
|
1104
|
+
* @param firestore - The {@link Firestore} instance to load bundles for.
|
|
1105
|
+
* @param bundleData - An object representing the bundle to be loaded. Valid
|
|
1106
|
+
* objects are `ArrayBuffer`, `ReadableStream<Uint8Array>` or `string`.
|
|
1091
1107
|
*
|
|
1092
|
-
* @returns
|
|
1093
|
-
*
|
|
1094
|
-
*
|
|
1095
|
-
*/ declare function
|
|
1108
|
+
* @returns A `LoadBundleTask` object, which notifies callers with progress
|
|
1109
|
+
* updates, and completion or error events. It can be used as a
|
|
1110
|
+
* `Promise<LoadBundleTaskProgress>`.
|
|
1111
|
+
*/ declare function Xa(t: any, e: any): Ma;
|
|
1096
1112
|
/**
|
|
1097
|
-
* Reads a Firestore {@link Query} from local cache, identified by the given
|
|
1113
|
+
* Reads a Firestore {@link Query} from local cache, identified by the given
|
|
1114
|
+
* name.
|
|
1098
1115
|
*
|
|
1099
1116
|
* The named queries are packaged into bundles on the server side (along
|
|
1100
|
-
* with resulting documents), and loaded to local cache using `loadBundle`. Once
|
|
1101
|
-
* cache, use this method to extract a {@link Query} by name.
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1117
|
+
* with resulting documents), and loaded to local cache using `loadBundle`. Once
|
|
1118
|
+
* in local cache, use this method to extract a {@link Query} by name.
|
|
1119
|
+
*
|
|
1120
|
+
* @param firestore - The {@link Firestore} instance to read the query from.
|
|
1121
|
+
* @param name - The name of the query.
|
|
1122
|
+
* @returns A `Promise` that is resolved with the Query or `null`.
|
|
1123
|
+
*/ declare function Za(t: any, e: any): any;
|
|
1124
|
+
declare function Ah(t: any, ...e: any[]): () => void;
|
|
1125
|
+
declare function Rh(t: any, e: any): () => void;
|
|
1105
1126
|
/**
|
|
1106
1127
|
* Creates a {@link QueryConstraint} that sorts the query result by the
|
|
1107
1128
|
* specified field, optionally in descending order instead of ascending.
|
|
@@ -1110,7 +1131,7 @@ declare function Ah(t: any, e: any): () => void;
|
|
|
1110
1131
|
* @param directionStr - Optional direction to sort by ('asc' or 'desc'). If
|
|
1111
1132
|
* not specified, order will be ascending.
|
|
1112
1133
|
* @returns The created {@link Query}.
|
|
1113
|
-
*/ declare function
|
|
1134
|
+
*/ declare function Gu(t: any, e?: string): Wu;
|
|
1114
1135
|
/**
|
|
1115
1136
|
* Creates a new immutable instance of {@link Query} that is extended to also include
|
|
1116
1137
|
* additional query constraints.
|
|
@@ -1119,7 +1140,7 @@ declare function Ah(t: any, e: any): () => void;
|
|
|
1119
1140
|
* @param queryConstraints - The list of {@link QueryConstraint}s to apply.
|
|
1120
1141
|
* @throws if any of the provided query constraints cannot be combined with the
|
|
1121
1142
|
* existing or new constraints.
|
|
1122
|
-
*/ declare function
|
|
1143
|
+
*/ declare function Ku(t: any, ...e: any[]): any;
|
|
1123
1144
|
/**
|
|
1124
1145
|
* Returns true if the provided queries point to the same collection and apply
|
|
1125
1146
|
* the same constraints.
|
|
@@ -1128,7 +1149,7 @@ declare function Ah(t: any, e: any): () => void;
|
|
|
1128
1149
|
* @param right - A `Query` to compare.
|
|
1129
1150
|
* @returns true if the references point to the same location in the same
|
|
1130
1151
|
* Firestore database.
|
|
1131
|
-
*/ declare function
|
|
1152
|
+
*/ declare function xa(t: any, e: any): boolean;
|
|
1132
1153
|
/**
|
|
1133
1154
|
* Returns true if the provided references are equal.
|
|
1134
1155
|
*
|
|
@@ -1136,7 +1157,7 @@ declare function Ah(t: any, e: any): () => void;
|
|
|
1136
1157
|
* @param right - A reference to compare.
|
|
1137
1158
|
* @returns true if the references point to the same location in the same
|
|
1138
1159
|
* Firestore database.
|
|
1139
|
-
*/ declare function
|
|
1160
|
+
*/ declare function ka(t: any, e: any): boolean;
|
|
1140
1161
|
/**
|
|
1141
1162
|
* Executes the given `updateFunction` and then attempts to commit the changes
|
|
1142
1163
|
* applied within the transaction. If any document read within the transaction
|
|
@@ -1153,12 +1174,12 @@ declare function Ah(t: any, e: any): () => void;
|
|
|
1153
1174
|
* (the `updateFunction` returned a failed promise), the promise returned by the
|
|
1154
1175
|
* `updateFunction `is returned here. Otherwise, if the transaction failed, a
|
|
1155
1176
|
* rejected promise with the corresponding failure error is returned.
|
|
1156
|
-
*/ declare function
|
|
1177
|
+
*/ declare function Vh(t: any, e: any): Promise<any>;
|
|
1157
1178
|
/**
|
|
1158
1179
|
* Returns a sentinel used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link @firebase/firestore/lite#(updateDoc:1)} to
|
|
1159
1180
|
* include a server-generated timestamp in the written data.
|
|
1160
|
-
*/ declare function
|
|
1161
|
-
declare function
|
|
1181
|
+
*/ declare function Dh(): mu;
|
|
1182
|
+
declare function ph(t: any, e: any, n: any): Promise<any>;
|
|
1162
1183
|
/**
|
|
1163
1184
|
* Sets the verbosity of Cloud Firestore logs (debug, error, or silent).
|
|
1164
1185
|
*
|
|
@@ -1178,9 +1199,9 @@ declare function yh(t: any, e: any, n: any): Promise<any>;
|
|
|
1178
1199
|
* @param left - A snapshot to compare.
|
|
1179
1200
|
* @param right - A snapshot to compare.
|
|
1180
1201
|
* @returns true if the snapshots are equal.
|
|
1181
|
-
*/ declare function
|
|
1182
|
-
declare function
|
|
1183
|
-
declare function
|
|
1202
|
+
*/ declare function Bu(t: any, e: any): any;
|
|
1203
|
+
declare function Zu(...t: any[]): Yu;
|
|
1204
|
+
declare function Xu(...t: any[]): Yu;
|
|
1184
1205
|
/**
|
|
1185
1206
|
* Terminates the provided {@link Firestore} instance.
|
|
1186
1207
|
*
|
|
@@ -1202,8 +1223,8 @@ declare function Yu(...t: any[]): Ju;
|
|
|
1202
1223
|
*
|
|
1203
1224
|
* @returns A `Promise` that is resolved when the instance has been successfully
|
|
1204
1225
|
* terminated.
|
|
1205
|
-
*/ declare function
|
|
1206
|
-
declare function
|
|
1226
|
+
*/ declare function Ya(t: any): any;
|
|
1227
|
+
declare function Th(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
1207
1228
|
/**
|
|
1208
1229
|
* Waits until all currently pending writes for the active user have been
|
|
1209
1230
|
* acknowledged by the backend.
|
|
@@ -1219,7 +1240,7 @@ declare function ph(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1219
1240
|
*
|
|
1220
1241
|
* @returns A `Promise` which resolves when all currently pending writes have been
|
|
1221
1242
|
* acknowledged by the backend.
|
|
1222
|
-
*/ declare function
|
|
1243
|
+
*/ declare function za(t: any): Promise<any>;
|
|
1223
1244
|
/**
|
|
1224
1245
|
* Creates a {@link QueryConstraint} that enforces that documents must contain the
|
|
1225
1246
|
* specified field and that the value should satisfy the relation constraint
|
|
@@ -1230,7 +1251,7 @@ declare function ph(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1230
1251
|
* "<=", "!=").
|
|
1231
1252
|
* @param value - The value for comparison
|
|
1232
1253
|
* @returns The created {@link Query}.
|
|
1233
|
-
*/ declare function
|
|
1254
|
+
*/ declare function Qu(t: any, e: any, n: any): ju;
|
|
1234
1255
|
/**
|
|
1235
1256
|
* @license
|
|
1236
1257
|
* Copyright 2020 Google LLC
|
|
@@ -1257,7 +1278,7 @@ declare function ph(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1257
1278
|
*
|
|
1258
1279
|
* @returns A {@link WriteBatch} that can be used to atomically execute multiple
|
|
1259
1280
|
* writes.
|
|
1260
|
-
*/ declare function
|
|
1281
|
+
*/ declare function xh(t: any): hh;
|
|
1261
1282
|
/**
|
|
1262
1283
|
* @license
|
|
1263
1284
|
* Copyright 2020 Google LLC
|
|
@@ -1282,7 +1303,7 @@ declare function ph(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1282
1303
|
* For a `DocumentSnapshot` that points to a non-existing document, any data
|
|
1283
1304
|
* access will return 'undefined'. You can use the `exists()` method to
|
|
1284
1305
|
* explicitly verify a document's existence.
|
|
1285
|
-
*/ declare class
|
|
1306
|
+
*/ declare class Nu {
|
|
1286
1307
|
/** @hideconstructor protected */
|
|
1287
1308
|
constructor(t: any, e: any, n: any, s: any, i: any);
|
|
1288
1309
|
_firestore: any;
|
|
@@ -1293,7 +1314,7 @@ declare function ph(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1293
1314
|
/** Property of the `DocumentSnapshot` that provides the document's ID. */ get id(): any;
|
|
1294
1315
|
/**
|
|
1295
1316
|
* The `DocumentReference` for the document included in the `DocumentSnapshot`.
|
|
1296
|
-
*/ get ref():
|
|
1317
|
+
*/ get ref(): va;
|
|
1297
1318
|
/**
|
|
1298
1319
|
* Signals whether or not the document at the snapshot's location exists.
|
|
1299
1320
|
*
|
|
@@ -1337,7 +1358,7 @@ declare function ph(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1337
1358
|
* The Cloud Firestore service interface.
|
|
1338
1359
|
*
|
|
1339
1360
|
* Do not call this constructor directly. Instead, use {@link getFirestore}.
|
|
1340
|
-
*/ declare class
|
|
1361
|
+
*/ declare class ba {
|
|
1341
1362
|
/** @hideconstructor */
|
|
1342
1363
|
constructor(t: any, e: any, n: any);
|
|
1343
1364
|
_authCredentials: any;
|
|
@@ -1347,9 +1368,9 @@ declare function ph(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1347
1368
|
*/
|
|
1348
1369
|
type: string;
|
|
1349
1370
|
_persistenceKey: string;
|
|
1350
|
-
_settings:
|
|
1371
|
+
_settings: Ra;
|
|
1351
1372
|
_settingsFrozen: boolean;
|
|
1352
|
-
_databaseId:
|
|
1373
|
+
_databaseId: _a;
|
|
1353
1374
|
_app: any;
|
|
1354
1375
|
/**
|
|
1355
1376
|
* The {@link @firebase/app#FirebaseApp} associated with this `Firestore` service
|
|
@@ -1358,14 +1379,14 @@ declare function ph(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1358
1379
|
get _initialized(): boolean;
|
|
1359
1380
|
get _terminated(): boolean;
|
|
1360
1381
|
_setSettings(t: any): void;
|
|
1361
|
-
_getSettings():
|
|
1362
|
-
_freezeSettings():
|
|
1382
|
+
_getSettings(): Ra;
|
|
1383
|
+
_freezeSettings(): Ra;
|
|
1363
1384
|
_delete(): Promise<void>;
|
|
1364
1385
|
_terminateTask: Promise<void> | undefined;
|
|
1365
1386
|
/** Returns a JSON-serializable representation of this `Firestore` instance. */ toJSON(): {
|
|
1366
1387
|
app: any;
|
|
1367
|
-
databaseId:
|
|
1368
|
-
settings:
|
|
1388
|
+
databaseId: _a;
|
|
1389
|
+
settings: Ra;
|
|
1369
1390
|
};
|
|
1370
1391
|
/**
|
|
1371
1392
|
* Terminates all components used by this client. Subclasses can override
|
|
@@ -1390,7 +1411,7 @@ declare function ph(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1390
1411
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1391
1412
|
* See the License for the specific language governing permissions and
|
|
1392
1413
|
* limitations under the License.
|
|
1393
|
-
*/ declare class
|
|
1414
|
+
*/ declare class $a {
|
|
1394
1415
|
mc: Promise<void>;
|
|
1395
1416
|
gc: any[];
|
|
1396
1417
|
yc: boolean;
|
|
@@ -1415,7 +1436,7 @@ declare function ph(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1415
1436
|
* reschedules with backoff.
|
|
1416
1437
|
*/ Vc(): Promise<void>;
|
|
1417
1438
|
vc(t: any): Promise<any>;
|
|
1418
|
-
enqueueAfterDelay(t: any, e: any, n: any):
|
|
1439
|
+
enqueueAfterDelay(t: any, e: any, n: any): Fo;
|
|
1419
1440
|
Pc(): void;
|
|
1420
1441
|
verifyOperationInProgress(): void;
|
|
1421
1442
|
/**
|
|
@@ -1462,12 +1483,12 @@ import { FirebaseError as a } from "@firebase/util/dist/src/errors";
|
|
|
1462
1483
|
/**
|
|
1463
1484
|
* Helper for parsing raw user input (provided via the API) into internal model
|
|
1464
1485
|
* classes.
|
|
1465
|
-
*/ declare class
|
|
1486
|
+
*/ declare class lu {
|
|
1466
1487
|
constructor(t: any, e: any, n: any);
|
|
1467
1488
|
databaseId: any;
|
|
1468
1489
|
ignoreUndefinedProperties: any;
|
|
1469
1490
|
k: any;
|
|
1470
|
-
/** Creates a new top-level parse context. */ Qc(t: any, e: any, n: any, s?: boolean):
|
|
1491
|
+
/** Creates a new top-level parse context. */ Qc(t: any, e: any, n: any, s?: boolean): hu;
|
|
1471
1492
|
}
|
|
1472
1493
|
declare class Z {
|
|
1473
1494
|
constructor(t: any);
|
|
@@ -1515,67 +1536,67 @@ declare class dt {
|
|
|
1515
1536
|
forEach(t: any): void;
|
|
1516
1537
|
toArray(): any;
|
|
1517
1538
|
}
|
|
1518
|
-
declare class
|
|
1539
|
+
declare class yu extends iu {
|
|
1519
1540
|
constructor(t: any, e: any);
|
|
1520
1541
|
Wc: any;
|
|
1521
1542
|
_toFieldTransform(t: any): ze;
|
|
1522
1543
|
isEqual(t: any): boolean;
|
|
1523
1544
|
}
|
|
1524
|
-
declare class
|
|
1545
|
+
declare class gu extends iu {
|
|
1525
1546
|
constructor(t: any, e: any);
|
|
1526
1547
|
Wc: any;
|
|
1527
1548
|
_toFieldTransform(t: any): ze;
|
|
1528
1549
|
isEqual(t: any): boolean;
|
|
1529
1550
|
}
|
|
1530
|
-
declare class
|
|
1551
|
+
declare class wu extends iu {
|
|
1531
1552
|
_toFieldTransform(t: any): null;
|
|
1532
1553
|
isEqual(t: any): boolean;
|
|
1533
1554
|
}
|
|
1534
|
-
declare class
|
|
1555
|
+
declare class th extends qu {
|
|
1535
1556
|
constructor(t: any, e: any, n: any);
|
|
1536
1557
|
type: any;
|
|
1537
1558
|
ta: any;
|
|
1538
1559
|
ea: any;
|
|
1539
|
-
_apply(t: any):
|
|
1560
|
+
_apply(t: any): Va;
|
|
1540
1561
|
}
|
|
1541
|
-
declare class
|
|
1562
|
+
declare class pu extends iu {
|
|
1542
1563
|
constructor(t: any, e: any);
|
|
1543
1564
|
Gc: any;
|
|
1544
1565
|
_toFieldTransform(t: any): ze;
|
|
1545
1566
|
isEqual(t: any): boolean;
|
|
1546
1567
|
}
|
|
1547
|
-
declare class
|
|
1568
|
+
declare class zu extends qu {
|
|
1548
1569
|
constructor(t: any, e: any, n: any);
|
|
1549
1570
|
type: any;
|
|
1550
1571
|
Xc: any;
|
|
1551
1572
|
Zc: any;
|
|
1552
|
-
_apply(t: any):
|
|
1573
|
+
_apply(t: any): Va;
|
|
1553
1574
|
}
|
|
1554
|
-
declare class
|
|
1575
|
+
declare class Wu extends qu {
|
|
1555
1576
|
constructor(t: any, e: any);
|
|
1556
1577
|
zc: any;
|
|
1557
1578
|
Yc: any;
|
|
1558
1579
|
type: string;
|
|
1559
|
-
_apply(t: any):
|
|
1580
|
+
_apply(t: any): Va;
|
|
1560
1581
|
}
|
|
1561
|
-
declare class
|
|
1582
|
+
declare class mu extends iu {
|
|
1562
1583
|
_toFieldTransform(t: any): ze;
|
|
1563
1584
|
isEqual(t: any): boolean;
|
|
1564
1585
|
}
|
|
1565
|
-
declare class
|
|
1586
|
+
declare class Yu extends qu {
|
|
1566
1587
|
constructor(t: any, e: any, n: any);
|
|
1567
1588
|
type: any;
|
|
1568
1589
|
ta: any;
|
|
1569
1590
|
ea: any;
|
|
1570
|
-
_apply(t: any):
|
|
1591
|
+
_apply(t: any): Va;
|
|
1571
1592
|
}
|
|
1572
|
-
declare class
|
|
1593
|
+
declare class ju extends qu {
|
|
1573
1594
|
constructor(t: any, e: any, n: any);
|
|
1574
1595
|
zc: any;
|
|
1575
1596
|
Hc: any;
|
|
1576
1597
|
Jc: any;
|
|
1577
1598
|
type: string;
|
|
1578
|
-
_apply(t: any):
|
|
1599
|
+
_apply(t: any): Va;
|
|
1579
1600
|
}
|
|
1580
1601
|
/**
|
|
1581
1602
|
* @license
|
|
@@ -1598,7 +1619,7 @@ declare class Ku extends Uu {
|
|
|
1598
1619
|
* user-supplied `FirestoreSettings` object. This is a separate type so that
|
|
1599
1620
|
* defaults can be supplied and the value can be checked for equality.
|
|
1600
1621
|
*/
|
|
1601
|
-
declare class
|
|
1622
|
+
declare class Ra {
|
|
1602
1623
|
constructor(t: any);
|
|
1603
1624
|
host: any;
|
|
1604
1625
|
ssl: any;
|
|
@@ -1680,7 +1701,7 @@ declare class no {
|
|
|
1680
1701
|
* in newer versions of TypeScript defines `finally`, which is not available in
|
|
1681
1702
|
* IE.
|
|
1682
1703
|
*/
|
|
1683
|
-
declare class
|
|
1704
|
+
declare class Fo {
|
|
1684
1705
|
/**
|
|
1685
1706
|
* Creates and returns a DelayedOperation that has been scheduled to be
|
|
1686
1707
|
* executed on the provided asyncQueue after the provided delayMs.
|
|
@@ -1694,7 +1715,7 @@ declare class Mo {
|
|
|
1694
1715
|
* from its delayedOperations list.
|
|
1695
1716
|
* PORTING NOTE: This exists to prevent making removeDelayedOperation() and
|
|
1696
1717
|
* the DelayedOperation class public.
|
|
1697
|
-
*/ static createAndSchedule(t: any, e: any, n: any, s: any, i: any):
|
|
1718
|
+
*/ static createAndSchedule(t: any, e: any, n: any, s: any, i: any): Fo;
|
|
1698
1719
|
constructor(t: any, e: any, n: any, s: any, i: any);
|
|
1699
1720
|
asyncQueue: any;
|
|
1700
1721
|
timerId: any;
|
|
@@ -1722,7 +1743,7 @@ declare class Mo {
|
|
|
1722
1743
|
handleDelayElapsed(): void;
|
|
1723
1744
|
clearTimeout(): void;
|
|
1724
1745
|
}
|
|
1725
|
-
/** A "context" object passed around while parsing user data. */ declare class
|
|
1746
|
+
/** A "context" object passed around while parsing user data. */ declare class hu {
|
|
1726
1747
|
/**
|
|
1727
1748
|
* Initializes a ParseContext with the given source and path.
|
|
1728
1749
|
*
|
|
@@ -1750,10 +1771,10 @@ declare class Mo {
|
|
|
1750
1771
|
fieldMask: any;
|
|
1751
1772
|
get path(): any;
|
|
1752
1773
|
get $c(): any;
|
|
1753
|
-
/** Returns a new context with the specified settings overwritten. */ Oc(t: any):
|
|
1754
|
-
Mc(t: any):
|
|
1755
|
-
Bc(t: any):
|
|
1756
|
-
Uc(t: any):
|
|
1774
|
+
/** Returns a new context with the specified settings overwritten. */ Oc(t: any): hu;
|
|
1775
|
+
Mc(t: any): hu;
|
|
1776
|
+
Bc(t: any): hu;
|
|
1777
|
+
Uc(t: any): hu;
|
|
1757
1778
|
qc(t: any): Q;
|
|
1758
1779
|
/** Returns 'true' if 'fieldPath' was traversed when creating this context. */ contains(t: any): boolean;
|
|
1759
1780
|
xc(): void;
|
|
@@ -1780,4 +1801,4 @@ declare class Mo {
|
|
|
1780
1801
|
field: any;
|
|
1781
1802
|
transform: any;
|
|
1782
1803
|
}
|
|
1783
|
-
export {
|
|
1804
|
+
export { ch as AbstractUserDataWriter, su as Bytes, Fa as CACHE_SIZE_UNLIMITED, Sa as CollectionReference, va as DocumentReference, Ou as DocumentSnapshot, eu as FieldPath, iu as FieldValue, La as Firestore, Q as FirestoreError, ru as GeoPoint, Ma as LoadBundleTask, Va as Query, qu as QueryConstraint, Mu as QueryDocumentSnapshot, Fu as QuerySnapshot, $u as SnapshotMetadata, at as Timestamp, vh as Transaction, hh as WriteBatch, _a as _DatabaseId, Dt as _DocumentKey, et as _EmptyAppCheckTokenProvider, z as _EmptyAuthCredentialsProvider, mt as _FieldPath, Ia as _cast, q as _debugAssert, yt as _isBase64Available, F as _logWarn, Mh as _setIndexConfiguration, ya as _validateIsNotUsedTogether, Ih as addDoc, Nh as arrayRemove, Ch as arrayUnion, Ga as clearIndexedDbPersistence, Da as collection, Ca as collectionGroup, Pa as connectFirestoreEmulator, Eh as deleteDoc, Sh as deleteField, Ja as disableNetwork, Na as doc, nu as documentId, ja as enableIndexedDbPersistence, Qa as enableMultiTabIndexedDbPersistence, Ha as enableNetwork, nh as endAt, eh as endBefore, qa as ensureFirestoreConfigured, bh as executeWrite, fh as getDoc, wh as getDocFromCache, _h as getDocFromServer, mh as getDocs, gh as getDocsFromCache, yh as getDocsFromServer, Ua as getFirestore, kh as increment, Ba as initializeFirestore, Hu as limit, Ju as limitToLast, Xa as loadBundle, Za as namedQuery, Ah as onSnapshot, Rh as onSnapshotsInSync, Gu as orderBy, Ku as query, xa as queryEqual, ka as refEqual, Vh as runTransaction, Dh as serverTimestamp, ph as setDoc, $ as setLogLevel, Bu as snapshotEqual, Zu as startAfter, Xu as startAt, Ya as terminate, Th as updateDoc, za as waitForPendingWrites, Qu as where, xh as writeBatch };
|