@firebase/firestore 3.4.8 → 3.4.9
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/lite/index.d.ts +1 -0
- package/dist/firestore/src/api/transaction.d.ts +2 -1
- package/dist/firestore/src/api/transaction_options.d.ts +17 -0
- package/dist/firestore/src/api.d.ts +1 -0
- package/dist/firestore/src/core/firestore_client.d.ts +2 -1
- package/dist/firestore/src/core/query.d.ts +2 -4
- package/dist/firestore/src/core/target.d.ts +6 -4
- package/dist/firestore/src/core/transaction_options.d.ts +25 -0
- package/dist/firestore/src/core/transaction_runner.d.ts +3 -2
- package/dist/firestore/src/lite-api/transaction.d.ts +2 -1
- package/dist/firestore/src/lite-api/transaction_options.d.ts +23 -0
- package/dist/firestore/src/local/index_manager.d.ts +24 -3
- package/dist/firestore/src/local/indexeddb_index_manager.d.ts +4 -7
- package/dist/firestore/src/local/indexeddb_schema.d.ts +1 -0
- package/dist/firestore/src/local/local_documents_view.d.ts +1 -1
- package/dist/firestore/src/local/memory_index_manager.d.ts +3 -2
- package/dist/firestore/src/local/query_engine.d.ts +44 -5
- package/dist/firestore/src/model/collections.d.ts +1 -1
- package/dist/firestore/src/model/values.d.ts +14 -2
- package/dist/firestore/src/util/misc.d.ts +3 -0
- package/dist/firestore/test/unit/local/counting_query_engine.d.ts +2 -1
- package/dist/firestore/test/unit/local/test_index_manager.d.ts +2 -2
- package/dist/index.d.ts +24 -1
- package/dist/index.esm2017.js +4108 -3992
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +4198 -4087
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +1711 -1565
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.node.mjs +1711 -1565
- package/dist/index.node.mjs.map +1 -1
- package/dist/index.rn.js +4100 -3984
- package/dist/index.rn.js.map +1 -1
- package/dist/internal.d.ts +50 -4
- package/dist/lite/firestore/lite/index.d.ts +1 -0
- package/dist/lite/firestore/src/api/transaction.d.ts +2 -1
- package/dist/lite/firestore/src/api/transaction_options.d.ts +17 -0
- package/dist/lite/firestore/src/api.d.ts +1 -0
- package/dist/lite/firestore/src/core/firestore_client.d.ts +2 -1
- package/dist/lite/firestore/src/core/query.d.ts +2 -4
- package/dist/lite/firestore/src/core/target.d.ts +6 -4
- package/dist/lite/firestore/src/core/transaction_options.d.ts +25 -0
- package/dist/lite/firestore/src/core/transaction_runner.d.ts +3 -2
- package/dist/lite/firestore/src/lite-api/transaction.d.ts +2 -1
- package/dist/lite/firestore/src/lite-api/transaction_options.d.ts +23 -0
- package/dist/lite/firestore/src/local/index_manager.d.ts +24 -3
- package/dist/lite/firestore/src/local/indexeddb_index_manager.d.ts +4 -7
- package/dist/lite/firestore/src/local/indexeddb_schema.d.ts +1 -0
- package/dist/lite/firestore/src/local/local_documents_view.d.ts +1 -1
- package/dist/lite/firestore/src/local/memory_index_manager.d.ts +3 -2
- package/dist/lite/firestore/src/local/query_engine.d.ts +44 -5
- package/dist/lite/firestore/src/model/collections.d.ts +1 -1
- package/dist/lite/firestore/src/model/values.d.ts +14 -2
- package/dist/lite/firestore/src/util/misc.d.ts +3 -0
- package/dist/lite/firestore/test/unit/local/counting_query_engine.d.ts +2 -1
- package/dist/lite/firestore/test/unit/local/test_index_manager.d.ts +2 -2
- package/dist/lite/index.browser.esm2017.js +341 -312
- package/dist/lite/index.browser.esm2017.js.map +1 -1
- package/dist/lite/index.browser.esm5.js +299 -291
- package/dist/lite/index.browser.esm5.js.map +1 -1
- package/dist/lite/index.d.ts +24 -1
- package/dist/lite/index.node.cjs.js +56 -15
- package/dist/lite/index.node.cjs.js.map +1 -1
- package/dist/lite/index.node.mjs +56 -15
- package/dist/lite/index.node.mjs.map +1 -1
- package/dist/lite/index.rn.esm2017.js +1227 -1198
- package/dist/lite/index.rn.esm2017.js.map +1 -1
- package/dist/lite/internal.d.ts +25 -1
- package/dist/lite/packages/firestore/dist/lite/index.browser.esm2017.d.ts +28 -28
- package/dist/lite/packages/firestore/lite/index.d.ts +1 -0
- package/dist/lite/packages/firestore/src/api/transaction.d.ts +2 -1
- package/dist/lite/packages/firestore/src/api/transaction_options.d.ts +17 -0
- package/dist/lite/packages/firestore/src/api.d.ts +1 -0
- package/dist/lite/packages/firestore/src/core/firestore_client.d.ts +2 -1
- package/dist/lite/packages/firestore/src/core/query.d.ts +2 -4
- package/dist/lite/packages/firestore/src/core/target.d.ts +6 -4
- package/dist/lite/packages/firestore/src/core/transaction_options.d.ts +25 -0
- package/dist/lite/packages/firestore/src/core/transaction_runner.d.ts +3 -2
- package/dist/lite/packages/firestore/src/lite-api/transaction.d.ts +2 -1
- package/dist/lite/packages/firestore/src/lite-api/transaction_options.d.ts +23 -0
- package/dist/lite/packages/firestore/src/local/index_manager.d.ts +24 -3
- package/dist/lite/packages/firestore/src/local/indexeddb_index_manager.d.ts +4 -7
- package/dist/lite/packages/firestore/src/local/indexeddb_schema.d.ts +1 -0
- package/dist/lite/packages/firestore/src/local/local_documents_view.d.ts +1 -1
- package/dist/lite/packages/firestore/src/local/memory_index_manager.d.ts +3 -2
- package/dist/lite/packages/firestore/src/local/query_engine.d.ts +44 -5
- package/dist/lite/packages/firestore/src/model/collections.d.ts +1 -1
- package/dist/lite/packages/firestore/src/model/values.d.ts +14 -2
- package/dist/lite/packages/firestore/src/util/misc.d.ts +3 -0
- package/dist/lite/packages/firestore/test/unit/local/counting_query_engine.d.ts +2 -1
- package/dist/lite/packages/firestore/test/unit/local/test_index_manager.d.ts +2 -2
- package/dist/lite/private.d.ts +25 -1
- package/dist/packages/firestore/dist/index.esm2017.d.ts +155 -154
- package/dist/packages/firestore/lite/index.d.ts +1 -0
- package/dist/packages/firestore/src/api/transaction.d.ts +2 -1
- package/dist/packages/firestore/src/api/transaction_options.d.ts +17 -0
- package/dist/packages/firestore/src/api.d.ts +1 -0
- package/dist/packages/firestore/src/core/firestore_client.d.ts +2 -1
- package/dist/packages/firestore/src/core/query.d.ts +2 -4
- package/dist/packages/firestore/src/core/target.d.ts +6 -4
- package/dist/packages/firestore/src/core/transaction_options.d.ts +25 -0
- package/dist/packages/firestore/src/core/transaction_runner.d.ts +3 -2
- package/dist/packages/firestore/src/lite-api/transaction.d.ts +2 -1
- package/dist/packages/firestore/src/lite-api/transaction_options.d.ts +23 -0
- package/dist/packages/firestore/src/local/index_manager.d.ts +24 -3
- package/dist/packages/firestore/src/local/indexeddb_index_manager.d.ts +4 -7
- package/dist/packages/firestore/src/local/indexeddb_schema.d.ts +1 -0
- package/dist/packages/firestore/src/local/local_documents_view.d.ts +1 -1
- package/dist/packages/firestore/src/local/memory_index_manager.d.ts +3 -2
- package/dist/packages/firestore/src/local/query_engine.d.ts +44 -5
- package/dist/packages/firestore/src/model/collections.d.ts +1 -1
- package/dist/packages/firestore/src/model/values.d.ts +14 -2
- package/dist/packages/firestore/src/util/misc.d.ts +3 -0
- package/dist/packages/firestore/test/unit/local/counting_query_engine.d.ts +2 -1
- package/dist/packages/firestore/test/unit/local/test_index_manager.d.ts +2 -2
- package/dist/private.d.ts +50 -4
- package/package.json +7 -7
|
@@ -19,10 +19,11 @@
|
|
|
19
19
|
* to the user.
|
|
20
20
|
*
|
|
21
21
|
* @internal
|
|
22
|
-
*/
|
|
22
|
+
*/
|
|
23
|
+
declare class Jh {
|
|
23
24
|
convertValue(t: any, e?: string): any;
|
|
24
25
|
convertObject(t: any, e: any): {};
|
|
25
|
-
convertGeoPoint(t: any):
|
|
26
|
+
convertGeoPoint(t: any): Wc;
|
|
26
27
|
convertArray(t: any, e: any): any;
|
|
27
28
|
convertServerTimestamp(t: any, e: any): any;
|
|
28
29
|
convertTimestamp(t: any): at;
|
|
@@ -46,18 +47,18 @@
|
|
|
46
47
|
*/
|
|
47
48
|
/**
|
|
48
49
|
* An immutable object representing an array of bytes.
|
|
49
|
-
*/ declare class
|
|
50
|
+
*/ declare class Qc {
|
|
50
51
|
/**
|
|
51
52
|
* Creates a new `Bytes` object from the given Base64 string, converting it to
|
|
52
53
|
* bytes.
|
|
53
54
|
*
|
|
54
55
|
* @param base64 - The Base64 string used to create the `Bytes` object.
|
|
55
|
-
*/ static fromBase64String(t: any):
|
|
56
|
+
*/ static fromBase64String(t: any): Qc;
|
|
56
57
|
/**
|
|
57
58
|
* Creates a new `Bytes` object from the given Uint8Array.
|
|
58
59
|
*
|
|
59
60
|
* @param array - The Uint8Array used to create the `Bytes` object.
|
|
60
|
-
*/ static fromUint8Array(t: any):
|
|
61
|
+
*/ static fromUint8Array(t: any): Qc;
|
|
61
62
|
/** @hideconstructor */
|
|
62
63
|
constructor(t: any);
|
|
63
64
|
_byteString: any;
|
|
@@ -99,11 +100,11 @@
|
|
|
99
100
|
* See the License for the specific language governing permissions and
|
|
100
101
|
* limitations under the License.
|
|
101
102
|
*/
|
|
102
|
-
/** DOMException error code constants. */ declare const
|
|
103
|
+
/** DOMException error code constants. */ declare const Pc: -1;
|
|
103
104
|
/**
|
|
104
105
|
* A `CollectionReference` object can be used for adding documents, getting
|
|
105
106
|
* document references, and querying for documents (using {@link query}).
|
|
106
|
-
*/ declare class
|
|
107
|
+
*/ declare class gc extends mc {
|
|
107
108
|
_path: any;
|
|
108
109
|
/** The collection's identifier. */ get id(): any;
|
|
109
110
|
/**
|
|
@@ -113,7 +114,7 @@
|
|
|
113
114
|
/**
|
|
114
115
|
* A reference to the containing `DocumentReference` if this is a
|
|
115
116
|
* subcollection. If this isn't a subcollection, the reference is null.
|
|
116
|
-
*/ get parent():
|
|
117
|
+
*/ get parent(): wc | null;
|
|
117
118
|
}
|
|
118
119
|
/**
|
|
119
120
|
* @license
|
|
@@ -135,7 +136,7 @@
|
|
|
135
136
|
* A `DocumentReference` refers to a document location in a Firestore database
|
|
136
137
|
* and can be used to write, read, or listen to the location. The document at
|
|
137
138
|
* the referenced location may or may not exist.
|
|
138
|
-
*/ declare class
|
|
139
|
+
*/ declare class wc {
|
|
139
140
|
/** @hideconstructor */
|
|
140
141
|
constructor(t: any, e: any, n: any);
|
|
141
142
|
converter: any;
|
|
@@ -153,8 +154,8 @@
|
|
|
153
154
|
*/ get path(): any;
|
|
154
155
|
/**
|
|
155
156
|
* The collection this `DocumentReference` belongs to.
|
|
156
|
-
*/ get parent():
|
|
157
|
-
withConverter(t: any):
|
|
157
|
+
*/ get parent(): gc;
|
|
158
|
+
withConverter(t: any): wc;
|
|
158
159
|
}
|
|
159
160
|
/**
|
|
160
161
|
* A `DocumentSnapshot` contains data read from a document in your Firestore
|
|
@@ -164,7 +165,7 @@
|
|
|
164
165
|
* For a `DocumentSnapshot` that points to a non-existing document, any data
|
|
165
166
|
* access will return 'undefined'. You can use the `exists()` method to
|
|
166
167
|
* explicitly verify a document's existence.
|
|
167
|
-
*/ declare class
|
|
168
|
+
*/ declare class Rh extends Ih {
|
|
168
169
|
/** @hideconstructor protected */
|
|
169
170
|
constructor(t: any, e: any, n: any, s: any, i: any, r: any);
|
|
170
171
|
_firestoreImpl: any;
|
|
@@ -210,7 +211,7 @@
|
|
|
210
211
|
* Create a `FieldPath` by providing field names. If more than one field
|
|
211
212
|
* name is provided, the path will point to a nested field in a document.
|
|
212
213
|
*/
|
|
213
|
-
declare class
|
|
214
|
+
declare class Kc {
|
|
214
215
|
/**
|
|
215
216
|
* Creates a `FieldPath` from the provided field names. If more than one field
|
|
216
217
|
* name is provided, the path will point to a nested field in a document.
|
|
@@ -245,7 +246,7 @@ declare class Gc {
|
|
|
245
246
|
/**
|
|
246
247
|
* Sentinel values that can be used when writing document fields with `set()`
|
|
247
248
|
* or `update()`.
|
|
248
|
-
*/ declare class
|
|
249
|
+
*/ declare class jc {
|
|
249
250
|
/**
|
|
250
251
|
* @param _methodName - The public API endpoint that returns this class.
|
|
251
252
|
* @hideconstructor
|
|
@@ -258,8 +259,8 @@ declare class Gc {
|
|
|
258
259
|
*
|
|
259
260
|
* Do not call this constructor directly. Instead, use {@link getFirestore}.
|
|
260
261
|
*/
|
|
261
|
-
declare class
|
|
262
|
-
_queue:
|
|
262
|
+
declare class Vc extends dc {
|
|
263
|
+
_queue: Ac;
|
|
263
264
|
}
|
|
264
265
|
/** An error returned by a Firestore operation. */ declare class Q extends a {
|
|
265
266
|
/** @hideconstructor */
|
|
@@ -287,7 +288,7 @@ declare class vc extends _c {
|
|
|
287
288
|
*
|
|
288
289
|
* Latitude values are in the range of [-90, 90].
|
|
289
290
|
* Longitude values are in the range of [-180, 180].
|
|
290
|
-
*/ declare class
|
|
291
|
+
*/ declare class Wc {
|
|
291
292
|
/**
|
|
292
293
|
* Creates a new immutable `GeoPoint` object with the provided latitude and
|
|
293
294
|
* longitude values.
|
|
@@ -370,7 +371,7 @@ declare class bc {
|
|
|
370
371
|
/**
|
|
371
372
|
* A `Query` refers to a query which you can read or listen to. You can also
|
|
372
373
|
* construct refined `Query` objects by adding filters and ordering.
|
|
373
|
-
*/ declare class
|
|
374
|
+
*/ declare class mc {
|
|
374
375
|
/** @hideconstructor protected */
|
|
375
376
|
constructor(t: any, e: any, n: any);
|
|
376
377
|
converter: any;
|
|
@@ -378,7 +379,7 @@ declare class bc {
|
|
|
378
379
|
/** The type of this Firestore reference. */
|
|
379
380
|
type: string;
|
|
380
381
|
firestore: any;
|
|
381
|
-
withConverter(t: any):
|
|
382
|
+
withConverter(t: any): mc;
|
|
382
383
|
}
|
|
383
384
|
/**
|
|
384
385
|
* A `QueryConstraint` is used to narrow the set of documents returned by a
|
|
@@ -387,7 +388,7 @@ declare class bc {
|
|
|
387
388
|
* endBefore:1}, {@link (endAt:1)}, {@link limit} or {@link limitToLast} and
|
|
388
389
|
* can then be passed to {@link query} to create a new query instance that
|
|
389
390
|
* also contains this `QueryConstraint`.
|
|
390
|
-
*/ declare class
|
|
391
|
+
*/ declare class Dh {
|
|
391
392
|
}
|
|
392
393
|
/**
|
|
393
394
|
* A `QueryDocumentSnapshot` contains data read from a document in your
|
|
@@ -399,7 +400,7 @@ declare class bc {
|
|
|
399
400
|
* `DocumentSnapshot`. Since query results contain only existing documents, the
|
|
400
401
|
* `exists` property will always be true and `data()` will never return
|
|
401
402
|
* 'undefined'.
|
|
402
|
-
*/ declare class bh extends
|
|
403
|
+
*/ declare class bh extends Rh {
|
|
403
404
|
}
|
|
404
405
|
/**
|
|
405
406
|
* A `QuerySnapshot` contains zero or more `DocumentSnapshot` objects
|
|
@@ -407,13 +408,13 @@ declare class bc {
|
|
|
407
408
|
* array via the `docs` property or enumerated using the `forEach` method. The
|
|
408
409
|
* number of documents can be determined via the `empty` and `size`
|
|
409
410
|
* properties.
|
|
410
|
-
*/ declare class
|
|
411
|
+
*/ declare class Ph {
|
|
411
412
|
/** @hideconstructor */
|
|
412
413
|
constructor(t: any, e: any, n: any, s: any);
|
|
413
414
|
_firestore: any;
|
|
414
415
|
_userDataWriter: any;
|
|
415
416
|
_snapshot: any;
|
|
416
|
-
metadata:
|
|
417
|
+
metadata: Ah;
|
|
417
418
|
query: any;
|
|
418
419
|
/** An array of all the documents in the `QuerySnapshot`. */ get docs(): any[];
|
|
419
420
|
/** The number of documents in the `QuerySnapshot`. */ get size(): any;
|
|
@@ -455,7 +456,7 @@ declare class bc {
|
|
|
455
456
|
*/
|
|
456
457
|
/**
|
|
457
458
|
* Metadata about a snapshot, describing the state of the snapshot.
|
|
458
|
-
*/ declare class
|
|
459
|
+
*/ declare class Ah {
|
|
459
460
|
/** @hideconstructor */
|
|
460
461
|
constructor(t: any, e: any);
|
|
461
462
|
hasPendingWrites: any;
|
|
@@ -568,7 +569,7 @@ declare const ml_base: {
|
|
|
568
569
|
new (t: any, e: any): {
|
|
569
570
|
_firestore: any;
|
|
570
571
|
_transaction: any;
|
|
571
|
-
_dataReader:
|
|
572
|
+
_dataReader: Zc;
|
|
572
573
|
/**
|
|
573
574
|
* Reads the document referenced by the provided {@link DocumentReference}.
|
|
574
575
|
*
|
|
@@ -639,7 +640,7 @@ declare const ml_base: {
|
|
|
639
640
|
_commitHandler: any;
|
|
640
641
|
_mutations: any[];
|
|
641
642
|
_committed: boolean;
|
|
642
|
-
_dataReader:
|
|
643
|
+
_dataReader: Zc;
|
|
643
644
|
set(t: any, e: any, n: any): Zh;
|
|
644
645
|
update(t: any, e: any, n: any, ...s: any[]): Zh;
|
|
645
646
|
/**
|
|
@@ -761,7 +762,7 @@ declare class vt {
|
|
|
761
762
|
* Returns true if this field references the key of a document.
|
|
762
763
|
*/ isKeyField(): boolean;
|
|
763
764
|
}
|
|
764
|
-
declare function
|
|
765
|
+
declare function hc(t: any, e: any): any;
|
|
765
766
|
/**
|
|
766
767
|
* Fails if the given assertion condition is false, throwing an Error with the
|
|
767
768
|
* given message if it did.
|
|
@@ -813,7 +814,7 @@ declare function yt(): boolean;
|
|
|
813
814
|
/**
|
|
814
815
|
* Validates that two boolean options are not set at the same time.
|
|
815
816
|
* @internal
|
|
816
|
-
*/ declare function
|
|
817
|
+
*/ declare function oc(t: any, e: any, n: any, s: any): void;
|
|
817
818
|
/**
|
|
818
819
|
* Add a new document to specified `CollectionReference` with the given data,
|
|
819
820
|
* assigning it a document ID automatically.
|
|
@@ -823,7 +824,7 @@ declare function yt(): boolean;
|
|
|
823
824
|
* @returns A `Promise` resolved with a `DocumentReference` pointing to the
|
|
824
825
|
* newly created document after it has been written to the backend (Note that it
|
|
825
826
|
* won't resolve while you're offline).
|
|
826
|
-
*/ declare function ll(t: any, e: any): Promise<
|
|
827
|
+
*/ declare function ll(t: any, e: any): Promise<wc>;
|
|
827
828
|
/**
|
|
828
829
|
* Returns a special value that can be used with {@link (setDoc:1)} or {@link
|
|
829
830
|
* updateDoc:1} that tells the server to remove the given elements from any
|
|
@@ -834,7 +835,7 @@ declare function yt(): boolean;
|
|
|
834
835
|
* @param elements - The elements to remove from the array.
|
|
835
836
|
* @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
|
|
836
837
|
* `updateDoc()`
|
|
837
|
-
*/ declare function Tl(...t: any[]):
|
|
838
|
+
*/ declare function Tl(...t: any[]): oh;
|
|
838
839
|
/**
|
|
839
840
|
* Returns a special value that can be used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link
|
|
840
841
|
* @firebase/firestore/lite#(updateDoc:1)} that tells the server to union the given elements with any array
|
|
@@ -846,9 +847,9 @@ declare function yt(): boolean;
|
|
|
846
847
|
* @param elements - The elements to union into the array.
|
|
847
848
|
* @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
|
|
848
849
|
* `updateDoc()`.
|
|
849
|
-
*/ declare function Il(...t: any[]):
|
|
850
|
-
declare function
|
|
851
|
-
declare function
|
|
850
|
+
*/ declare function Il(...t: any[]): rh;
|
|
851
|
+
declare function Mc(t: any): Promise<any>;
|
|
852
|
+
declare function yc(t: any, e: any, ...n: any[]): gc;
|
|
852
853
|
/**
|
|
853
854
|
* Creates and returns a new `Query` instance that includes all documents in the
|
|
854
855
|
* database that are contained in a collection or subcollection with the
|
|
@@ -859,8 +860,8 @@ declare function pc(t: any, e: any, ...n: any[]): yc;
|
|
|
859
860
|
* collection or subcollection with this ID as the last segment of its path
|
|
860
861
|
* will be included. Cannot contain a slash.
|
|
861
862
|
* @returns The created `Query`.
|
|
862
|
-
*/ declare function
|
|
863
|
-
declare function
|
|
863
|
+
*/ declare function pc(t: any, e: any): mc;
|
|
864
|
+
declare function _c(t: any, e: any, n: any, s?: {}): void;
|
|
864
865
|
/**
|
|
865
866
|
* Deletes the document referred to by the specified `DocumentReference`.
|
|
866
867
|
*
|
|
@@ -887,7 +888,7 @@ declare function wc(t: any, e: any, n: any, s?: {}): void;
|
|
|
887
888
|
/**
|
|
888
889
|
* Returns a sentinel for use with {@link @firebase/firestore/lite#(updateDoc:1)} or
|
|
889
890
|
* {@link @firebase/firestore/lite#(setDoc:1)} with `{merge: true}` to mark a field for deletion.
|
|
890
|
-
*/ declare function yl():
|
|
891
|
+
*/ declare function yl(): nh;
|
|
891
892
|
/**
|
|
892
893
|
* Disables network usage for this instance. It can be re-enabled via {@link
|
|
893
894
|
* enableNetwork}. While the network is disabled, any snapshot listeners,
|
|
@@ -895,12 +896,12 @@ declare function wc(t: any, e: any, n: any, s?: {}): void;
|
|
|
895
896
|
* operations will be queued until the network is restored.
|
|
896
897
|
*
|
|
897
898
|
* @returns A `Promise` that is resolved once the network has been disabled.
|
|
898
|
-
*/ declare function
|
|
899
|
-
declare function
|
|
899
|
+
*/ declare function $c(t: any): any;
|
|
900
|
+
declare function Ic(t: any, e: any, ...n: any[]): wc;
|
|
900
901
|
/**
|
|
901
902
|
* Returns a special sentinel `FieldPath` to refer to the ID of a document.
|
|
902
903
|
* It can be used in queries to sort or filter by the document ID.
|
|
903
|
-
*/ declare function
|
|
904
|
+
*/ declare function Gc(): Kc;
|
|
904
905
|
/**
|
|
905
906
|
* Attempts to enable persistent storage, if possible.
|
|
906
907
|
*
|
|
@@ -923,7 +924,7 @@ declare function Tc(t: any, e: any, ...n: any[]): mc;
|
|
|
923
924
|
* @param persistenceSettings - Optional settings object to configure
|
|
924
925
|
* persistence.
|
|
925
926
|
* @returns A `Promise` that represents successfully enabling persistent storage.
|
|
926
|
-
*/ declare function
|
|
927
|
+
*/ declare function xc(t: any, e: any): any;
|
|
927
928
|
/**
|
|
928
929
|
* Attempts to enable multi-tab persistent storage, if possible. If enabled
|
|
929
930
|
* across all tabs, all operations share access to local persistence, including
|
|
@@ -945,18 +946,18 @@ declare function Tc(t: any, e: any, ...n: any[]): mc;
|
|
|
945
946
|
* @param firestore - The {@link Firestore} instance to enable persistence for.
|
|
946
947
|
* @returns A `Promise` that represents successfully enabling persistent
|
|
947
948
|
* storage.
|
|
948
|
-
*/ declare function
|
|
949
|
+
*/ declare function Nc(t: any): any;
|
|
949
950
|
/**
|
|
950
951
|
* Re-enables use of the network for this {@link Firestore} instance after a prior
|
|
951
952
|
* call to {@link disableNetwork}.
|
|
952
953
|
*
|
|
953
954
|
* @returns A `Promise` that is resolved once the network has been enabled.
|
|
954
|
-
*/ declare function
|
|
955
|
-
declare function
|
|
956
|
-
declare function
|
|
955
|
+
*/ declare function Fc(t: any): any;
|
|
956
|
+
declare function Gh(...t: any[]): qh;
|
|
957
|
+
declare function Kh(...t: any[]): qh;
|
|
957
958
|
/**
|
|
958
959
|
* @internal
|
|
959
|
-
*/ declare function
|
|
960
|
+
*/ declare function Dc(t: any): any;
|
|
960
961
|
/**
|
|
961
962
|
* Locally writes `mutations` on the async queue.
|
|
962
963
|
* @internal
|
|
@@ -1012,21 +1013,21 @@ declare function Gh(...t: any[]): Kh;
|
|
|
1012
1013
|
* @returns A Promise resolved with a `DocumentSnapshot` containing the
|
|
1013
1014
|
* current document contents.
|
|
1014
1015
|
*/
|
|
1015
|
-
declare function el(t: any): Promise<
|
|
1016
|
+
declare function el(t: any): Promise<Rh>;
|
|
1016
1017
|
/**
|
|
1017
1018
|
* Reads the document referred to by this `DocumentReference` from cache.
|
|
1018
1019
|
* Returns an error if the document is not currently cached.
|
|
1019
1020
|
*
|
|
1020
1021
|
* @returns A `Promise` resolved with a `DocumentSnapshot` containing the
|
|
1021
1022
|
* current document contents.
|
|
1022
|
-
*/ declare function sl(t: any): Promise<
|
|
1023
|
+
*/ declare function sl(t: any): Promise<Rh>;
|
|
1023
1024
|
/**
|
|
1024
1025
|
* Reads the document referred to by this `DocumentReference` from the server.
|
|
1025
1026
|
* Returns an error if the network is not available.
|
|
1026
1027
|
*
|
|
1027
1028
|
* @returns A `Promise` resolved with a `DocumentSnapshot` containing the
|
|
1028
1029
|
* current document contents.
|
|
1029
|
-
*/ declare function il(t: any): Promise<
|
|
1030
|
+
*/ declare function il(t: any): Promise<Rh>;
|
|
1030
1031
|
/**
|
|
1031
1032
|
* Executes the query and returns the results as a `QuerySnapshot`.
|
|
1032
1033
|
*
|
|
@@ -1036,19 +1037,19 @@ declare function el(t: any): Promise<Ph>;
|
|
|
1036
1037
|
* invoke {@link getDocsFromCache} or {@link getDocsFromServer}.
|
|
1037
1038
|
*
|
|
1038
1039
|
* @returns A `Promise` that will be resolved with the results of the query.
|
|
1039
|
-
*/ declare function rl(t: any): Promise<
|
|
1040
|
+
*/ declare function rl(t: any): Promise<Ph>;
|
|
1040
1041
|
/**
|
|
1041
1042
|
* Executes the query and returns the results as a `QuerySnapshot` from cache.
|
|
1042
1043
|
* Returns an error if the document is not currently cached.
|
|
1043
1044
|
*
|
|
1044
1045
|
* @returns A `Promise` that will be resolved with the results of the query.
|
|
1045
|
-
*/ declare function ol(t: any): Promise<
|
|
1046
|
+
*/ declare function ol(t: any): Promise<Ph>;
|
|
1046
1047
|
/**
|
|
1047
1048
|
* Executes the query and returns the results as a `QuerySnapshot` from the
|
|
1048
1049
|
* server. Returns an error if the network is not available.
|
|
1049
1050
|
*
|
|
1050
1051
|
* @returns A `Promise` that will be resolved with the results of the query.
|
|
1051
|
-
*/ declare function ul(t: any): Promise<
|
|
1052
|
+
*/ declare function ul(t: any): Promise<Ph>;
|
|
1052
1053
|
/**
|
|
1053
1054
|
* Returns the existing {@link Firestore} instance that is associated with the
|
|
1054
1055
|
* provided {@link @firebase/app#FirebaseApp}. If no instance exists, initializes a new
|
|
@@ -1057,7 +1058,7 @@ declare function el(t: any): Promise<Ph>;
|
|
|
1057
1058
|
* @param app - The {@link @firebase/app#FirebaseApp} instance that the returned {@link Firestore}
|
|
1058
1059
|
* instance is associated with.
|
|
1059
1060
|
* @returns The {@link Firestore} instance of the provided app.
|
|
1060
|
-
*/ declare function
|
|
1061
|
+
*/ declare function Sc(e?: import("@firebase/app").FirebaseApp): import("../src").Firestore;
|
|
1061
1062
|
/**
|
|
1062
1063
|
* Returns a special value that can be used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link
|
|
1063
1064
|
* @firebase/firestore/lite#(updateDoc:1)} that tells the server to increment the field's current value by
|
|
@@ -1076,7 +1077,7 @@ declare function el(t: any): Promise<Ph>;
|
|
|
1076
1077
|
* @param n - The value to increment by.
|
|
1077
1078
|
* @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
|
|
1078
1079
|
* `updateDoc()`
|
|
1079
|
-
*/ declare function El(t: any):
|
|
1080
|
+
*/ declare function El(t: any): uh;
|
|
1080
1081
|
/**
|
|
1081
1082
|
* Initializes a new instance of {@link Firestore} with the provided settings.
|
|
1082
1083
|
* Can only be called before any other function, including
|
|
@@ -1087,13 +1088,13 @@ declare function el(t: any): Promise<Ph>;
|
|
|
1087
1088
|
* be associated.
|
|
1088
1089
|
* @param settings - A settings object to configure the {@link Firestore} instance.
|
|
1089
1090
|
* @returns A newly initialized {@link Firestore} instance.
|
|
1090
|
-
*/ declare function
|
|
1091
|
+
*/ declare function vc(t: any, e: any): import("../src").Firestore;
|
|
1091
1092
|
/**
|
|
1092
1093
|
* Creates a {@link QueryConstraint} that only returns the first matching documents.
|
|
1093
1094
|
*
|
|
1094
1095
|
* @param limit - The maximum number of items to return.
|
|
1095
1096
|
* @returns The created {@link Query}.
|
|
1096
|
-
*/ declare function
|
|
1097
|
+
*/ declare function Fh(t: any): Oh;
|
|
1097
1098
|
/**
|
|
1098
1099
|
* Creates a {@link QueryConstraint} that only returns the last matching documents.
|
|
1099
1100
|
*
|
|
@@ -1102,7 +1103,7 @@ declare function el(t: any): Promise<Ph>;
|
|
|
1102
1103
|
*
|
|
1103
1104
|
* @param limit - The maximum number of items to return.
|
|
1104
1105
|
* @returns The created {@link Query}.
|
|
1105
|
-
*/ declare function
|
|
1106
|
+
*/ declare function $h(t: any): Oh;
|
|
1106
1107
|
/**
|
|
1107
1108
|
* Loads a Firestore bundle into the local cache.
|
|
1108
1109
|
*
|
|
@@ -1113,7 +1114,7 @@ declare function el(t: any): Promise<Ph>;
|
|
|
1113
1114
|
* @returns A `LoadBundleTask` object, which notifies callers with progress
|
|
1114
1115
|
* updates, and completion or error events. It can be used as a
|
|
1115
1116
|
* `Promise<LoadBundleTaskProgress>`.
|
|
1116
|
-
*/ declare function
|
|
1117
|
+
*/ declare function Lc(t: any, e: any): bc;
|
|
1117
1118
|
/**
|
|
1118
1119
|
* Reads a Firestore {@link Query} from local cache, identified by the given
|
|
1119
1120
|
* name.
|
|
@@ -1125,7 +1126,7 @@ declare function el(t: any): Promise<Ph>;
|
|
|
1125
1126
|
* @param firestore - The {@link Firestore} instance to read the query from.
|
|
1126
1127
|
* @param name - The name of the query.
|
|
1127
1128
|
* @returns A `Promise` that is resolved with the Query or `null`.
|
|
1128
|
-
*/ declare function
|
|
1129
|
+
*/ declare function Uc(t: any, e: any): any;
|
|
1129
1130
|
declare function fl(t: any, ...e: any[]): () => void;
|
|
1130
1131
|
declare function dl(t: any, e: any): () => void;
|
|
1131
1132
|
/**
|
|
@@ -1136,7 +1137,7 @@ declare function dl(t: any, e: any): () => void;
|
|
|
1136
1137
|
* @param directionStr - Optional direction to sort by ('asc' or 'desc'). If
|
|
1137
1138
|
* not specified, order will be ascending.
|
|
1138
1139
|
* @returns The created {@link Query}.
|
|
1139
|
-
*/ declare function
|
|
1140
|
+
*/ declare function Mh(t: any, e?: string): kh;
|
|
1140
1141
|
/**
|
|
1141
1142
|
* Creates a new immutable instance of {@link Query} that is extended to also include
|
|
1142
1143
|
* additional query constraints.
|
|
@@ -1145,7 +1146,7 @@ declare function dl(t: any, e: any): () => void;
|
|
|
1145
1146
|
* @param queryConstraints - The list of {@link QueryConstraint}s to apply.
|
|
1146
1147
|
* @throws if any of the provided query constraints cannot be combined with the
|
|
1147
1148
|
* existing or new constraints.
|
|
1148
|
-
*/ declare function
|
|
1149
|
+
*/ declare function Ch(t: any, ...e: any[]): any;
|
|
1149
1150
|
/**
|
|
1150
1151
|
* Returns true if the provided queries point to the same collection and apply
|
|
1151
1152
|
* the same constraints.
|
|
@@ -1154,7 +1155,7 @@ declare function dl(t: any, e: any): () => void;
|
|
|
1154
1155
|
* @param right - A `Query` to compare.
|
|
1155
1156
|
* @returns true if the references point to the same location in the same
|
|
1156
1157
|
* Firestore database.
|
|
1157
|
-
*/ declare function
|
|
1158
|
+
*/ declare function Ec(t: any, e: any): boolean;
|
|
1158
1159
|
/**
|
|
1159
1160
|
* Returns true if the provided references are equal.
|
|
1160
1161
|
*
|
|
@@ -1162,7 +1163,7 @@ declare function dl(t: any, e: any): () => void;
|
|
|
1162
1163
|
* @param right - A reference to compare.
|
|
1163
1164
|
* @returns true if the references point to the same location in the same
|
|
1164
1165
|
* Firestore database.
|
|
1165
|
-
*/ declare function
|
|
1166
|
+
*/ declare function Tc(t: any, e: any): boolean;
|
|
1166
1167
|
/**
|
|
1167
1168
|
* Executes the given `updateFunction` and then attempts to commit the changes
|
|
1168
1169
|
* applied within the transaction. If any document read within the transaction
|
|
@@ -1179,11 +1180,11 @@ declare function dl(t: any, e: any): () => void;
|
|
|
1179
1180
|
* (the `updateFunction` returned a failed promise), the promise returned by the
|
|
1180
1181
|
* `updateFunction `is returned here. Otherwise, if the transaction failed, a
|
|
1181
1182
|
* rejected promise with the corresponding failure error is returned.
|
|
1182
|
-
*/ declare function gl(t: any, e: any): Promise<any>;
|
|
1183
|
+
*/ declare function gl(t: any, e: any, n: any): Promise<any>;
|
|
1183
1184
|
/**
|
|
1184
1185
|
* Returns a sentinel used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link @firebase/firestore/lite#(updateDoc:1)} to
|
|
1185
1186
|
* include a server-generated timestamp in the written data.
|
|
1186
|
-
*/ declare function pl():
|
|
1187
|
+
*/ declare function pl(): ih;
|
|
1187
1188
|
declare function al(t: any, e: any, n: any): Promise<any>;
|
|
1188
1189
|
/**
|
|
1189
1190
|
* Sets the verbosity of Cloud Firestore logs (debug, error, or silent).
|
|
@@ -1204,9 +1205,9 @@ declare function al(t: any, e: any, n: any): Promise<any>;
|
|
|
1204
1205
|
* @param left - A snapshot to compare.
|
|
1205
1206
|
* @param right - A snapshot to compare.
|
|
1206
1207
|
* @returns true if the snapshots are equal.
|
|
1207
|
-
*/ declare function
|
|
1208
|
-
declare function
|
|
1209
|
-
declare function
|
|
1208
|
+
*/ declare function vh(t: any, e: any): any;
|
|
1209
|
+
declare function Uh(...t: any[]): Bh;
|
|
1210
|
+
declare function Lh(...t: any[]): Bh;
|
|
1210
1211
|
/**
|
|
1211
1212
|
* Terminates the provided {@link Firestore} instance.
|
|
1212
1213
|
*
|
|
@@ -1228,7 +1229,7 @@ declare function Uh(...t: any[]): Lh;
|
|
|
1228
1229
|
*
|
|
1229
1230
|
* @returns A `Promise` that is resolved when the instance has been successfully
|
|
1230
1231
|
* terminated.
|
|
1231
|
-
*/ declare function
|
|
1232
|
+
*/ declare function Bc(t: any): any;
|
|
1232
1233
|
declare function cl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
1233
1234
|
/**
|
|
1234
1235
|
* Waits until all currently pending writes for the active user have been
|
|
@@ -1245,7 +1246,7 @@ declare function cl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1245
1246
|
*
|
|
1246
1247
|
* @returns A `Promise` which resolves when all currently pending writes have been
|
|
1247
1248
|
* acknowledged by the backend.
|
|
1248
|
-
*/ declare function
|
|
1249
|
+
*/ declare function Oc(t: any): Promise<any>;
|
|
1249
1250
|
/**
|
|
1250
1251
|
* Creates a {@link QueryConstraint} that enforces that documents must contain the
|
|
1251
1252
|
* specified field and that the value should satisfy the relation constraint
|
|
@@ -1256,7 +1257,7 @@ declare function cl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1256
1257
|
* "<=", "!=").
|
|
1257
1258
|
* @param value - The value for comparison
|
|
1258
1259
|
* @returns The created {@link Query}.
|
|
1259
|
-
*/ declare function
|
|
1260
|
+
*/ declare function Nh(t: any, e: any, n: any): xh;
|
|
1260
1261
|
/**
|
|
1261
1262
|
* @license
|
|
1262
1263
|
* Copyright 2020 Google LLC
|
|
@@ -1308,7 +1309,7 @@ declare function cl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1308
1309
|
* For a `DocumentSnapshot` that points to a non-existing document, any data
|
|
1309
1310
|
* access will return 'undefined'. You can use the `exists()` method to
|
|
1310
1311
|
* explicitly verify a document's existence.
|
|
1311
|
-
*/ declare class
|
|
1312
|
+
*/ declare class Ih {
|
|
1312
1313
|
/** @hideconstructor protected */
|
|
1313
1314
|
constructor(t: any, e: any, n: any, s: any, i: any);
|
|
1314
1315
|
_firestore: any;
|
|
@@ -1319,7 +1320,7 @@ declare function cl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1319
1320
|
/** Property of the `DocumentSnapshot` that provides the document's ID. */ get id(): any;
|
|
1320
1321
|
/**
|
|
1321
1322
|
* The `DocumentReference` for the document included in the `DocumentSnapshot`.
|
|
1322
|
-
*/ get ref():
|
|
1323
|
+
*/ get ref(): wc;
|
|
1323
1324
|
/**
|
|
1324
1325
|
* Signals whether or not the document at the snapshot's location exists.
|
|
1325
1326
|
*
|
|
@@ -1363,7 +1364,7 @@ declare function cl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1363
1364
|
* The Cloud Firestore service interface.
|
|
1364
1365
|
*
|
|
1365
1366
|
* Do not call this constructor directly. Instead, use {@link getFirestore}.
|
|
1366
|
-
*/ declare class
|
|
1367
|
+
*/ declare class dc {
|
|
1367
1368
|
/** @hideconstructor */
|
|
1368
1369
|
constructor(t: any, e: any, n: any);
|
|
1369
1370
|
_authCredentials: any;
|
|
@@ -1373,7 +1374,7 @@ declare function cl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1373
1374
|
*/
|
|
1374
1375
|
type: string;
|
|
1375
1376
|
_persistenceKey: string;
|
|
1376
|
-
_settings:
|
|
1377
|
+
_settings: fc;
|
|
1377
1378
|
_settingsFrozen: boolean;
|
|
1378
1379
|
_databaseId: vt;
|
|
1379
1380
|
_app: any;
|
|
@@ -1384,14 +1385,14 @@ declare function cl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1384
1385
|
get _initialized(): boolean;
|
|
1385
1386
|
get _terminated(): boolean;
|
|
1386
1387
|
_setSettings(t: any): void;
|
|
1387
|
-
_getSettings():
|
|
1388
|
-
_freezeSettings():
|
|
1388
|
+
_getSettings(): fc;
|
|
1389
|
+
_freezeSettings(): fc;
|
|
1389
1390
|
_delete(): Promise<void>;
|
|
1390
1391
|
_terminateTask: Promise<void> | undefined;
|
|
1391
1392
|
/** Returns a JSON-serializable representation of this `Firestore` instance. */ toJSON(): {
|
|
1392
1393
|
app: any;
|
|
1393
1394
|
databaseId: vt;
|
|
1394
|
-
settings:
|
|
1395
|
+
settings: fc;
|
|
1395
1396
|
};
|
|
1396
1397
|
/**
|
|
1397
1398
|
* Terminates all components used by this client. Subclasses can override
|
|
@@ -1416,17 +1417,17 @@ declare function cl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1416
1417
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1417
1418
|
* See the License for the specific language governing permissions and
|
|
1418
1419
|
* limitations under the License.
|
|
1419
|
-
*/ declare class
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
Oa: boolean;
|
|
1423
|
-
Fa: any[];
|
|
1424
|
-
$a: any;
|
|
1420
|
+
*/ declare class Ac {
|
|
1421
|
+
Fa: Promise<void>;
|
|
1422
|
+
$a: any[];
|
|
1425
1423
|
Ba: boolean;
|
|
1426
|
-
La:
|
|
1427
|
-
Ua: any
|
|
1428
|
-
|
|
1429
|
-
|
|
1424
|
+
La: any[];
|
|
1425
|
+
Ua: any;
|
|
1426
|
+
qa: boolean;
|
|
1427
|
+
Ka: boolean;
|
|
1428
|
+
Ga: any[];
|
|
1429
|
+
No: Wo;
|
|
1430
|
+
Qa: () => void;
|
|
1430
1431
|
get isShuttingDown(): boolean;
|
|
1431
1432
|
/**
|
|
1432
1433
|
* Adds a new operation to the queue without waiting for it to complete (i.e.
|
|
@@ -1439,30 +1440,30 @@ declare function cl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1439
1440
|
/**
|
|
1440
1441
|
* Runs the next operation from the retryable queue. If the operation fails,
|
|
1441
1442
|
* reschedules with backoff.
|
|
1442
|
-
*/
|
|
1443
|
-
|
|
1444
|
-
enqueueAfterDelay(t: any, e: any, n: any):
|
|
1445
|
-
|
|
1443
|
+
*/ za(): Promise<void>;
|
|
1444
|
+
Wa(t: any): Promise<any>;
|
|
1445
|
+
enqueueAfterDelay(t: any, e: any, n: any): vu;
|
|
1446
|
+
ja(): void;
|
|
1446
1447
|
verifyOperationInProgress(): void;
|
|
1447
1448
|
/**
|
|
1448
1449
|
* Waits until all currently queued tasks are finished executing. Delayed
|
|
1449
1450
|
* operations are not run.
|
|
1450
|
-
*/
|
|
1451
|
+
*/ Ja(): Promise<void>;
|
|
1451
1452
|
/**
|
|
1452
1453
|
* For Tests: Determine if a delayed operation with a particular TimerId
|
|
1453
1454
|
* exists.
|
|
1454
|
-
*/
|
|
1455
|
+
*/ Ya(t: any): boolean;
|
|
1455
1456
|
/**
|
|
1456
1457
|
* For Tests: Runs some or all delayed operations early.
|
|
1457
1458
|
*
|
|
1458
1459
|
* @param lastTimerId - Delayed operations up to and including this TimerId
|
|
1459
1460
|
* will be drained. Pass TimerId.All to run all delayed operations.
|
|
1460
1461
|
* @returns a Promise that resolves once all operations have been run.
|
|
1461
|
-
*/
|
|
1462
|
+
*/ Xa(t: any): Promise<void>;
|
|
1462
1463
|
/**
|
|
1463
1464
|
* For Tests: Skip all subsequent delays for a timer id.
|
|
1464
|
-
*/
|
|
1465
|
-
/** Called once a DelayedOperation is run or canceled. */
|
|
1465
|
+
*/ Za(t: any): void;
|
|
1466
|
+
/** Called once a DelayedOperation is run or canceled. */ Ha(t: any): void;
|
|
1466
1467
|
}
|
|
1467
1468
|
import { FirebaseError as a } from "@firebase/util/dist/src/errors";
|
|
1468
1469
|
/**
|
|
@@ -1488,12 +1489,12 @@ import { FirebaseError as a } from "@firebase/util/dist/src/errors";
|
|
|
1488
1489
|
/**
|
|
1489
1490
|
* Helper for parsing raw user input (provided via the API) into internal model
|
|
1490
1491
|
* classes.
|
|
1491
|
-
*/ declare class
|
|
1492
|
+
*/ declare class Zc {
|
|
1492
1493
|
constructor(t: any, e: any, n: any);
|
|
1493
1494
|
databaseId: any;
|
|
1494
1495
|
ignoreUndefinedProperties: any;
|
|
1495
1496
|
M: any;
|
|
1496
|
-
/** Creates a new top-level parse context. */
|
|
1497
|
+
/** Creates a new top-level parse context. */ lc(t: any, e: any, n: any, s?: boolean): Xc;
|
|
1497
1498
|
}
|
|
1498
1499
|
declare class Z {
|
|
1499
1500
|
constructor(t: any);
|
|
@@ -1541,67 +1542,67 @@ declare class dt {
|
|
|
1541
1542
|
forEach(t: any): void;
|
|
1542
1543
|
toArray(): any;
|
|
1543
1544
|
}
|
|
1544
|
-
declare class
|
|
1545
|
+
declare class oh extends jc {
|
|
1545
1546
|
constructor(t: any, e: any);
|
|
1546
|
-
|
|
1547
|
-
_toFieldTransform(t: any):
|
|
1547
|
+
fc: any;
|
|
1548
|
+
_toFieldTransform(t: any): In;
|
|
1548
1549
|
isEqual(t: any): boolean;
|
|
1549
1550
|
}
|
|
1550
|
-
declare class
|
|
1551
|
+
declare class rh extends jc {
|
|
1551
1552
|
constructor(t: any, e: any);
|
|
1552
|
-
|
|
1553
|
-
_toFieldTransform(t: any):
|
|
1553
|
+
fc: any;
|
|
1554
|
+
_toFieldTransform(t: any): In;
|
|
1554
1555
|
isEqual(t: any): boolean;
|
|
1555
1556
|
}
|
|
1556
|
-
declare class
|
|
1557
|
+
declare class nh extends jc {
|
|
1557
1558
|
_toFieldTransform(t: any): null;
|
|
1558
1559
|
isEqual(t: any): boolean;
|
|
1559
1560
|
}
|
|
1560
|
-
declare class
|
|
1561
|
+
declare class qh extends Dh {
|
|
1561
1562
|
constructor(t: any, e: any, n: any);
|
|
1562
1563
|
type: any;
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
_apply(t: any):
|
|
1564
|
+
Tc: any;
|
|
1565
|
+
Ec: any;
|
|
1566
|
+
_apply(t: any): mc;
|
|
1566
1567
|
}
|
|
1567
|
-
declare class
|
|
1568
|
+
declare class uh extends jc {
|
|
1568
1569
|
constructor(t: any, e: any);
|
|
1569
|
-
|
|
1570
|
-
_toFieldTransform(t: any):
|
|
1570
|
+
dc: any;
|
|
1571
|
+
_toFieldTransform(t: any): In;
|
|
1571
1572
|
isEqual(t: any): boolean;
|
|
1572
1573
|
}
|
|
1573
|
-
declare class
|
|
1574
|
+
declare class Oh extends Dh {
|
|
1574
1575
|
constructor(t: any, e: any, n: any);
|
|
1575
1576
|
type: any;
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
_apply(t: any):
|
|
1577
|
+
yc: any;
|
|
1578
|
+
Ic: any;
|
|
1579
|
+
_apply(t: any): mc;
|
|
1579
1580
|
}
|
|
1580
|
-
declare class
|
|
1581
|
+
declare class kh extends Dh {
|
|
1581
1582
|
constructor(t: any, e: any);
|
|
1582
|
-
lc: any;
|
|
1583
1583
|
_c: any;
|
|
1584
|
+
gc: any;
|
|
1584
1585
|
type: string;
|
|
1585
|
-
_apply(t: any):
|
|
1586
|
+
_apply(t: any): mc;
|
|
1586
1587
|
}
|
|
1587
|
-
declare class
|
|
1588
|
-
_toFieldTransform(t: any):
|
|
1588
|
+
declare class ih extends jc {
|
|
1589
|
+
_toFieldTransform(t: any): In;
|
|
1589
1590
|
isEqual(t: any): boolean;
|
|
1590
1591
|
}
|
|
1591
|
-
declare class
|
|
1592
|
+
declare class Bh extends Dh {
|
|
1592
1593
|
constructor(t: any, e: any, n: any);
|
|
1593
1594
|
type: any;
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
_apply(t: any):
|
|
1595
|
+
Tc: any;
|
|
1596
|
+
Ec: any;
|
|
1597
|
+
_apply(t: any): mc;
|
|
1597
1598
|
}
|
|
1598
|
-
declare class
|
|
1599
|
+
declare class xh extends Dh {
|
|
1599
1600
|
constructor(t: any, e: any, n: any);
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1601
|
+
_c: any;
|
|
1602
|
+
wc: any;
|
|
1603
|
+
mc: any;
|
|
1603
1604
|
type: string;
|
|
1604
|
-
_apply(t: any):
|
|
1605
|
+
_apply(t: any): mc;
|
|
1605
1606
|
}
|
|
1606
1607
|
/**
|
|
1607
1608
|
* @license
|
|
@@ -1624,7 +1625,7 @@ declare class Nh extends Ch {
|
|
|
1624
1625
|
* user-supplied `FirestoreSettings` object. This is a separate type so that
|
|
1625
1626
|
* defaults can be supplied and the value can be checked for equality.
|
|
1626
1627
|
*/
|
|
1627
|
-
declare class
|
|
1628
|
+
declare class fc {
|
|
1628
1629
|
constructor(t: any);
|
|
1629
1630
|
host: any;
|
|
1630
1631
|
ssl: any;
|
|
@@ -1648,17 +1649,17 @@ declare class dc {
|
|
|
1648
1649
|
* base delay. This prevents clients from accidentally synchronizing their
|
|
1649
1650
|
* delays causing spikes of load to the backend.
|
|
1650
1651
|
*/
|
|
1651
|
-
declare class
|
|
1652
|
+
declare class Wo {
|
|
1652
1653
|
constructor(t: any, e: any, n?: number, s?: number, i?: number);
|
|
1653
1654
|
Yn: any;
|
|
1654
1655
|
timerId: any;
|
|
1655
|
-
fo: number;
|
|
1656
|
-
_o: number;
|
|
1657
|
-
wo: number;
|
|
1658
1656
|
mo: number;
|
|
1659
|
-
yo:
|
|
1660
|
-
/** The last backoff attempt, as epoch milliseconds. */
|
|
1657
|
+
yo: number;
|
|
1661
1658
|
po: number;
|
|
1659
|
+
Io: number;
|
|
1660
|
+
To: any;
|
|
1661
|
+
/** The last backoff attempt, as epoch milliseconds. */
|
|
1662
|
+
Eo: number;
|
|
1662
1663
|
/**
|
|
1663
1664
|
* Resets the backoff delay.
|
|
1664
1665
|
*
|
|
@@ -1669,15 +1670,15 @@ declare class zo {
|
|
|
1669
1670
|
/**
|
|
1670
1671
|
* Resets the backoff delay to the maximum delay (e.g. for use after a
|
|
1671
1672
|
* RESOURCE_EXHAUSTED error).
|
|
1672
|
-
*/
|
|
1673
|
+
*/ Ao(): void;
|
|
1673
1674
|
/**
|
|
1674
1675
|
* Returns a promise that resolves after currentDelayMs, and increases the
|
|
1675
1676
|
* delay for any subsequent attempts. If there was a pending backoff operation
|
|
1676
1677
|
* already, it will be canceled.
|
|
1677
|
-
*/
|
|
1678
|
-
|
|
1678
|
+
*/ Ro(t: any): void;
|
|
1679
|
+
Po(): void;
|
|
1679
1680
|
cancel(): void;
|
|
1680
|
-
/** Returns a random value in the range [-currentBaseMs/2, currentBaseMs/2] */
|
|
1681
|
+
/** Returns a random value in the range [-currentBaseMs/2, currentBaseMs/2] */ bo(): number;
|
|
1681
1682
|
}
|
|
1682
1683
|
/**
|
|
1683
1684
|
* @license
|
|
@@ -1706,7 +1707,7 @@ declare class zo {
|
|
|
1706
1707
|
* in newer versions of TypeScript defines `finally`, which is not available in
|
|
1707
1708
|
* IE.
|
|
1708
1709
|
*/
|
|
1709
|
-
declare class
|
|
1710
|
+
declare class vu {
|
|
1710
1711
|
/**
|
|
1711
1712
|
* Creates and returns a DelayedOperation that has been scheduled to be
|
|
1712
1713
|
* executed on the provided asyncQueue after the provided delayMs.
|
|
@@ -1720,7 +1721,7 @@ declare class Su {
|
|
|
1720
1721
|
* from its delayedOperations list.
|
|
1721
1722
|
* PORTING NOTE: This exists to prevent making removeDelayedOperation() and
|
|
1722
1723
|
* the DelayedOperation class public.
|
|
1723
|
-
*/ static createAndSchedule(t: any, e: any, n: any, s: any, i: any):
|
|
1724
|
+
*/ static createAndSchedule(t: any, e: any, n: any, s: any, i: any): vu;
|
|
1724
1725
|
constructor(t: any, e: any, n: any, s: any, i: any);
|
|
1725
1726
|
asyncQueue: any;
|
|
1726
1727
|
timerId: any;
|
|
@@ -1748,7 +1749,7 @@ declare class Su {
|
|
|
1748
1749
|
handleDelayElapsed(): void;
|
|
1749
1750
|
clearTimeout(): void;
|
|
1750
1751
|
}
|
|
1751
|
-
/** A "context" object passed around while parsing user data. */ declare class
|
|
1752
|
+
/** A "context" object passed around while parsing user data. */ declare class Xc {
|
|
1752
1753
|
/**
|
|
1753
1754
|
* Initializes a ParseContext with the given source and path.
|
|
1754
1755
|
*
|
|
@@ -1775,15 +1776,15 @@ declare class Su {
|
|
|
1775
1776
|
fieldTransforms: any;
|
|
1776
1777
|
fieldMask: any;
|
|
1777
1778
|
get path(): any;
|
|
1778
|
-
get
|
|
1779
|
-
/** Returns a new context with the specified settings overwritten. */
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1779
|
+
get ec(): any;
|
|
1780
|
+
/** Returns a new context with the specified settings overwritten. */ nc(t: any): Xc;
|
|
1781
|
+
sc(t: any): Xc;
|
|
1782
|
+
oc(t: any): Xc;
|
|
1783
|
+
uc(t: any): Xc;
|
|
1784
|
+
ac(t: any): Q;
|
|
1784
1785
|
/** Returns 'true' if 'fieldPath' was traversed when creating this context. */ contains(t: any): boolean;
|
|
1785
|
-
|
|
1786
|
-
|
|
1786
|
+
tc(): void;
|
|
1787
|
+
rc(t: any): void;
|
|
1787
1788
|
}
|
|
1788
1789
|
/**
|
|
1789
1790
|
* @license
|
|
@@ -1801,9 +1802,9 @@ declare class Su {
|
|
|
1801
1802
|
* See the License for the specific language governing permissions and
|
|
1802
1803
|
* limitations under the License.
|
|
1803
1804
|
*/
|
|
1804
|
-
/** A field path and the TransformOperation to perform upon it. */ declare class
|
|
1805
|
+
/** A field path and the TransformOperation to perform upon it. */ declare class In {
|
|
1805
1806
|
constructor(t: any, e: any);
|
|
1806
1807
|
field: any;
|
|
1807
1808
|
transform: any;
|
|
1808
1809
|
}
|
|
1809
|
-
export { Jh as AbstractUserDataWriter,
|
|
1810
|
+
export { Jh as AbstractUserDataWriter, Qc as Bytes, Pc as CACHE_SIZE_UNLIMITED, gc as CollectionReference, wc as DocumentReference, Rh as DocumentSnapshot, Kc as FieldPath, jc as FieldValue, Vc as Firestore, Q as FirestoreError, Wc as GeoPoint, bc as LoadBundleTask, mc as Query, Dh as QueryConstraint, bh as QueryDocumentSnapshot, Ph as QuerySnapshot, Ah as SnapshotMetadata, at as Timestamp, ml as Transaction, Zh as WriteBatch, vt as _DatabaseId, xt as _DocumentKey, et as _EmptyAppCheckTokenProvider, z as _EmptyAuthCredentialsProvider, mt as _FieldPath, hc as _cast, q as _debugAssert, yt as _isBase64Available, $ as _logWarn, Rl as _setIndexConfiguration, oc as _validateIsNotUsedTogether, ll as addDoc, Tl as arrayRemove, Il as arrayUnion, Mc as clearIndexedDbPersistence, yc as collection, pc as collectionGroup, _c as connectFirestoreEmulator, hl as deleteDoc, yl as deleteField, $c as disableNetwork, Ic as doc, Gc as documentId, xc as enableIndexedDbPersistence, Nc as enableMultiTabIndexedDbPersistence, Fc as enableNetwork, Gh as endAt, Kh as endBefore, Dc as ensureFirestoreConfigured, _l as executeWrite, el as getDoc, sl as getDocFromCache, il as getDocFromServer, rl as getDocs, ol as getDocsFromCache, ul as getDocsFromServer, Sc as getFirestore, El as increment, vc as initializeFirestore, Fh as limit, $h as limitToLast, Lc as loadBundle, Uc as namedQuery, fl as onSnapshot, dl as onSnapshotsInSync, Mh as orderBy, Ch as query, Ec as queryEqual, Tc as refEqual, gl as runTransaction, pl as serverTimestamp, al as setDoc, M as setLogLevel, vh as snapshotEqual, Uh as startAfter, Lh as startAt, Bc as terminate, cl as updateDoc, Oc as waitForPendingWrites, Nh as where, Al as writeBatch };
|