@firebase/firestore 3.4.8 → 3.4.9-canary.0197076b8
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 +4 -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 +4 -1
- package/dist/firestore/src/lite-api/transaction_options.d.ts +23 -0
- package/dist/firestore/src/local/document_overlay_cache.d.ts +5 -0
- package/dist/firestore/src/local/index_manager.d.ts +24 -3
- package/dist/firestore/src/local/indexeddb_document_overlay_cache.d.ts +1 -0
- package/dist/firestore/src/local/indexeddb_index_manager.d.ts +4 -7
- package/dist/firestore/src/local/indexeddb_schema.d.ts +4 -2
- package/dist/firestore/src/local/indexeddb_schema_converter.d.ts +1 -0
- package/dist/firestore/src/local/indexeddb_sentinels.d.ts +1 -0
- package/dist/firestore/src/local/local_documents_view.d.ts +47 -8
- package/dist/firestore/src/local/memory_document_overlay_cache.d.ts +1 -0
- package/dist/firestore/src/local/memory_index_manager.d.ts +3 -2
- package/dist/firestore/src/local/overlayed_document.d.ts +36 -0
- package/dist/firestore/src/local/query_engine.d.ts +44 -5
- package/dist/firestore/src/model/collections.d.ts +3 -1
- package/dist/firestore/src/model/field_mask.d.ts +6 -0
- package/dist/firestore/src/model/mutation.d.ts +19 -1
- package/dist/firestore/src/model/mutation_batch.d.ts +9 -4
- package/dist/firestore/src/model/values.d.ts +14 -2
- package/dist/firestore/src/tsdoc-metadata.json +11 -11
- 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_document_overlay_cache.d.ts +1 -0
- package/dist/firestore/test/unit/local/test_index_manager.d.ts +2 -2
- package/dist/firestore/test/util/helpers.d.ts +12 -0
- package/dist/index.d.ts +28 -3
- package/dist/index.esm2017.js +9384 -9023
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +7406 -7016
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +5607 -5089
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.node.mjs +5607 -5089
- package/dist/index.node.mjs.map +1 -1
- package/dist/index.rn.js +7162 -6801
- package/dist/index.rn.js.map +1 -1
- package/dist/internal.d.ts +6007 -5918
- package/dist/lite/firestore/lite/index.d.ts +1 -0
- package/dist/lite/firestore/src/api/transaction.d.ts +4 -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 +4 -1
- package/dist/lite/firestore/src/lite-api/transaction_options.d.ts +23 -0
- package/dist/lite/firestore/src/local/document_overlay_cache.d.ts +5 -0
- package/dist/lite/firestore/src/local/index_manager.d.ts +24 -3
- package/dist/lite/firestore/src/local/indexeddb_document_overlay_cache.d.ts +1 -0
- package/dist/lite/firestore/src/local/indexeddb_index_manager.d.ts +4 -7
- package/dist/lite/firestore/src/local/indexeddb_schema.d.ts +4 -2
- package/dist/lite/firestore/src/local/indexeddb_schema_converter.d.ts +1 -0
- package/dist/lite/firestore/src/local/indexeddb_sentinels.d.ts +1 -0
- package/dist/lite/firestore/src/local/local_documents_view.d.ts +47 -8
- package/dist/lite/firestore/src/local/memory_document_overlay_cache.d.ts +1 -0
- package/dist/lite/firestore/src/local/memory_index_manager.d.ts +3 -2
- package/dist/lite/firestore/src/local/overlayed_document.d.ts +36 -0
- package/dist/lite/firestore/src/local/query_engine.d.ts +44 -5
- package/dist/lite/firestore/src/model/collections.d.ts +3 -1
- package/dist/lite/firestore/src/model/field_mask.d.ts +6 -0
- package/dist/lite/firestore/src/model/mutation.d.ts +19 -1
- package/dist/lite/firestore/src/model/mutation_batch.d.ts +9 -4
- 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_document_overlay_cache.d.ts +1 -0
- package/dist/lite/firestore/test/unit/local/test_index_manager.d.ts +2 -2
- package/dist/lite/firestore/test/util/helpers.d.ts +12 -0
- package/dist/lite/index.browser.esm2017.js +1209 -698
- package/dist/lite/index.browser.esm2017.js.map +1 -1
- package/dist/lite/index.browser.esm5.js +1213 -813
- package/dist/lite/index.browser.esm5.js.map +1 -1
- package/dist/lite/index.d.ts +26 -1
- package/dist/lite/index.node.cjs.js +709 -15
- package/dist/lite/index.node.cjs.js.map +1 -1
- package/dist/lite/index.node.mjs +709 -15
- package/dist/lite/index.node.mjs.map +1 -1
- package/dist/lite/index.rn.esm2017.js +1828 -1317
- package/dist/lite/index.rn.esm2017.js.map +1 -1
- package/dist/lite/internal.d.ts +2912 -2874
- package/dist/lite/packages/firestore/dist/lite/index.browser.esm2017.d.ts +103 -101
- package/dist/lite/packages/firestore/lite/index.d.ts +1 -0
- package/dist/lite/packages/firestore/src/api/transaction.d.ts +4 -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 +4 -1
- package/dist/lite/packages/firestore/src/lite-api/transaction_options.d.ts +23 -0
- package/dist/lite/packages/firestore/src/local/document_overlay_cache.d.ts +5 -0
- package/dist/lite/packages/firestore/src/local/index_manager.d.ts +24 -3
- package/dist/lite/packages/firestore/src/local/indexeddb_document_overlay_cache.d.ts +1 -0
- 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 +4 -2
- package/dist/lite/packages/firestore/src/local/indexeddb_schema_converter.d.ts +1 -0
- package/dist/lite/packages/firestore/src/local/indexeddb_sentinels.d.ts +1 -0
- package/dist/lite/packages/firestore/src/local/local_documents_view.d.ts +47 -8
- package/dist/lite/packages/firestore/src/local/memory_document_overlay_cache.d.ts +1 -0
- package/dist/lite/packages/firestore/src/local/memory_index_manager.d.ts +3 -2
- package/dist/lite/packages/firestore/src/local/overlayed_document.d.ts +36 -0
- package/dist/lite/packages/firestore/src/local/query_engine.d.ts +44 -5
- package/dist/lite/packages/firestore/src/model/collections.d.ts +3 -1
- package/dist/lite/packages/firestore/src/model/field_mask.d.ts +6 -0
- package/dist/lite/packages/firestore/src/model/mutation.d.ts +19 -1
- package/dist/lite/packages/firestore/src/model/mutation_batch.d.ts +9 -4
- 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_document_overlay_cache.d.ts +1 -0
- package/dist/lite/packages/firestore/test/unit/local/test_index_manager.d.ts +2 -2
- package/dist/lite/packages/firestore/test/util/helpers.d.ts +12 -0
- package/dist/lite/private.d.ts +2772 -2734
- package/dist/packages/firestore/dist/index.esm2017.d.ts +197 -194
- package/dist/packages/firestore/lite/index.d.ts +1 -0
- package/dist/packages/firestore/src/api/transaction.d.ts +4 -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 +4 -1
- package/dist/packages/firestore/src/lite-api/transaction_options.d.ts +23 -0
- package/dist/packages/firestore/src/local/document_overlay_cache.d.ts +5 -0
- package/dist/packages/firestore/src/local/index_manager.d.ts +24 -3
- package/dist/packages/firestore/src/local/indexeddb_document_overlay_cache.d.ts +1 -0
- package/dist/packages/firestore/src/local/indexeddb_index_manager.d.ts +4 -7
- package/dist/packages/firestore/src/local/indexeddb_schema.d.ts +4 -2
- package/dist/packages/firestore/src/local/indexeddb_schema_converter.d.ts +1 -0
- package/dist/packages/firestore/src/local/indexeddb_sentinels.d.ts +1 -0
- package/dist/packages/firestore/src/local/local_documents_view.d.ts +47 -8
- package/dist/packages/firestore/src/local/memory_document_overlay_cache.d.ts +1 -0
- package/dist/packages/firestore/src/local/memory_index_manager.d.ts +3 -2
- package/dist/packages/firestore/src/local/overlayed_document.d.ts +36 -0
- package/dist/packages/firestore/src/local/query_engine.d.ts +44 -5
- package/dist/packages/firestore/src/model/collections.d.ts +3 -1
- package/dist/packages/firestore/src/model/field_mask.d.ts +6 -0
- package/dist/packages/firestore/src/model/mutation.d.ts +19 -1
- package/dist/packages/firestore/src/model/mutation_batch.d.ts +9 -4
- 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_document_overlay_cache.d.ts +1 -0
- package/dist/packages/firestore/test/unit/local/test_index_manager.d.ts +2 -2
- package/dist/packages/firestore/test/util/helpers.d.ts +12 -0
- package/dist/private.d.ts +5715 -5626
- package/package.json +20 -18
|
@@ -19,14 +19,15 @@
|
|
|
19
19
|
* to the user.
|
|
20
20
|
*
|
|
21
21
|
* @internal
|
|
22
|
-
*/
|
|
22
|
+
*/
|
|
23
|
+
declare class el {
|
|
23
24
|
convertValue(t: any, e?: string): any;
|
|
24
25
|
convertObject(t: any, e: any): {};
|
|
25
|
-
convertGeoPoint(t: any):
|
|
26
|
+
convertGeoPoint(t: any): Xc;
|
|
26
27
|
convertArray(t: any, e: any): any;
|
|
27
28
|
convertServerTimestamp(t: any, e: any): any;
|
|
28
29
|
convertTimestamp(t: any): at;
|
|
29
|
-
convertDocumentKey(t: any, e: any):
|
|
30
|
+
convertDocumentKey(t: any, e: any): $t;
|
|
30
31
|
}
|
|
31
32
|
/**
|
|
32
33
|
* @license
|
|
@@ -46,18 +47,18 @@
|
|
|
46
47
|
*/
|
|
47
48
|
/**
|
|
48
49
|
* An immutable object representing an array of bytes.
|
|
49
|
-
*/ declare class
|
|
50
|
+
*/ declare class Jc {
|
|
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): Jc;
|
|
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): Jc;
|
|
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 Cc: -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 Ec extends Tc {
|
|
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(): Ic | 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 Ic {
|
|
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(): Ec;
|
|
158
|
+
withConverter(t: any): Ic;
|
|
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 Sh extends Ph {
|
|
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 zc {
|
|
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.
|
|
@@ -218,7 +219,7 @@ declare class Gc {
|
|
|
218
219
|
* @param fieldNames - A list of field names.
|
|
219
220
|
*/
|
|
220
221
|
constructor(...t: any[]);
|
|
221
|
-
_internalPath:
|
|
222
|
+
_internalPath: Et;
|
|
222
223
|
/**
|
|
223
224
|
* Returns true if this `FieldPath` is equal to the provided one.
|
|
224
225
|
*
|
|
@@ -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 Yc {
|
|
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 xc extends yc {
|
|
263
|
+
_queue: vc;
|
|
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 Xc {
|
|
291
292
|
/**
|
|
292
293
|
* Creates a new immutable `GeoPoint` object with the provided latitude and
|
|
293
294
|
* longitude values.
|
|
@@ -318,7 +319,7 @@ declare class vc extends _c {
|
|
|
318
319
|
* with an underscore.
|
|
319
320
|
*/ _compareTo(t: any): 0 | 1 | -1;
|
|
320
321
|
}
|
|
321
|
-
declare class
|
|
322
|
+
declare class Dc {
|
|
322
323
|
_progressObserver: {};
|
|
323
324
|
_taskCompletionResolver: j;
|
|
324
325
|
_lastProgress: {
|
|
@@ -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 Tc {
|
|
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): Tc;
|
|
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 Oh {
|
|
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
|
|
403
|
+
*/ declare class Dh extends Sh {
|
|
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 Ch {
|
|
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: vh;
|
|
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 vh {
|
|
459
460
|
/** @hideconstructor */
|
|
460
461
|
constructor(t: any, e: any);
|
|
461
462
|
hasPendingWrites: any;
|
|
@@ -564,11 +565,11 @@ declare class at {
|
|
|
564
565
|
* to be compared using the `>`, `<=`, `>=` and `>` operators.
|
|
565
566
|
*/ valueOf(): string;
|
|
566
567
|
}
|
|
567
|
-
declare const
|
|
568
|
+
declare const Tl_base: {
|
|
568
569
|
new (t: any, e: any): {
|
|
569
570
|
_firestore: any;
|
|
570
571
|
_transaction: any;
|
|
571
|
-
_dataReader:
|
|
572
|
+
_dataReader: ih;
|
|
572
573
|
/**
|
|
573
574
|
* Reads the document referenced by the provided {@link DocumentReference}.
|
|
574
575
|
*
|
|
@@ -607,7 +608,7 @@ declare const ml_base: {
|
|
|
607
608
|
* The `Transaction` object passed to a transaction's `updateFunction` provides
|
|
608
609
|
* the methods to read and write data within the transaction context. See
|
|
609
610
|
* {@link runTransaction}.
|
|
610
|
-
*/ declare class
|
|
611
|
+
*/ declare class Tl extends Tl_base {
|
|
611
612
|
}
|
|
612
613
|
/**
|
|
613
614
|
* @license
|
|
@@ -632,22 +633,22 @@ declare const ml_base: {
|
|
|
632
633
|
* provides methods for adding writes to the write batch. None of the writes
|
|
633
634
|
* will be committed (or visible locally) until {@link WriteBatch.commit} is
|
|
634
635
|
* called.
|
|
635
|
-
*/ declare class
|
|
636
|
+
*/ declare class il {
|
|
636
637
|
/** @hideconstructor */
|
|
637
638
|
constructor(t: any, e: any);
|
|
638
639
|
_firestore: any;
|
|
639
640
|
_commitHandler: any;
|
|
640
641
|
_mutations: any[];
|
|
641
642
|
_committed: boolean;
|
|
642
|
-
_dataReader:
|
|
643
|
-
set(t: any, e: any, n: any):
|
|
644
|
-
update(t: any, e: any, n: any, ...s: any[]):
|
|
643
|
+
_dataReader: ih;
|
|
644
|
+
set(t: any, e: any, n: any): il;
|
|
645
|
+
update(t: any, e: any, n: any, ...s: any[]): il;
|
|
645
646
|
/**
|
|
646
647
|
* Deletes the document referred to by the provided {@link DocumentReference}.
|
|
647
648
|
*
|
|
648
649
|
* @param documentRef - A reference to the document to be deleted.
|
|
649
650
|
* @returns This `WriteBatch` instance. Used for chaining method calls.
|
|
650
|
-
*/ delete(t: any):
|
|
651
|
+
*/ delete(t: any): il;
|
|
651
652
|
/**
|
|
652
653
|
* Commits all of the writes in this write batch as a single atomic unit.
|
|
653
654
|
*
|
|
@@ -667,8 +668,8 @@ declare const ml_base: {
|
|
|
667
668
|
* Represents the database ID a Firestore client is associated with.
|
|
668
669
|
* @internal
|
|
669
670
|
*/
|
|
670
|
-
declare class
|
|
671
|
-
static empty():
|
|
671
|
+
declare class kt {
|
|
672
|
+
static empty(): kt;
|
|
672
673
|
constructor(t: any, e: any);
|
|
673
674
|
projectId: any;
|
|
674
675
|
database: any;
|
|
@@ -693,10 +694,10 @@ declare class vt {
|
|
|
693
694
|
*/
|
|
694
695
|
/**
|
|
695
696
|
* @internal
|
|
696
|
-
*/ declare class
|
|
697
|
-
static fromPath(t: any):
|
|
698
|
-
static fromName(t: any):
|
|
699
|
-
static empty():
|
|
697
|
+
*/ declare class $t {
|
|
698
|
+
static fromPath(t: any): $t;
|
|
699
|
+
static fromName(t: any): $t;
|
|
700
|
+
static empty(): $t;
|
|
700
701
|
static comparator(t: any, e: any): 0 | 1 | -1;
|
|
701
702
|
static isDocumentKey(t: any): boolean;
|
|
702
703
|
/**
|
|
@@ -704,7 +705,7 @@ declare class vt {
|
|
|
704
705
|
*
|
|
705
706
|
* @param segments - The segments of the path to the document
|
|
706
707
|
* @returns A new instance of DocumentKey
|
|
707
|
-
*/ static fromSegments(t: any):
|
|
708
|
+
*/ static fromSegments(t: any): $t;
|
|
708
709
|
constructor(t: any);
|
|
709
710
|
path: any;
|
|
710
711
|
get collectionGroup(): any;
|
|
@@ -735,14 +736,14 @@ declare class vt {
|
|
|
735
736
|
/**
|
|
736
737
|
* A dot-separated path for navigating sub-objects within a document.
|
|
737
738
|
* @internal
|
|
738
|
-
*/ declare class
|
|
739
|
+
*/ declare class Et extends pt {
|
|
739
740
|
/**
|
|
740
741
|
* Returns true if the string could be used as a segment in a field path
|
|
741
742
|
* without escaping.
|
|
742
743
|
*/ static isValidIdentifier(t: any): boolean;
|
|
743
744
|
/**
|
|
744
745
|
* The field designating the key of a document.
|
|
745
|
-
*/ static keyField():
|
|
746
|
+
*/ static keyField(): Et;
|
|
746
747
|
/**
|
|
747
748
|
* Parses a field string from the given server-formatted string.
|
|
748
749
|
*
|
|
@@ -752,16 +753,16 @@ declare class vt {
|
|
|
752
753
|
*
|
|
753
754
|
* TODO(b/37244157): we should make this more strict. Right now, it allows
|
|
754
755
|
* non-identifier path components, even if they aren't escaped.
|
|
755
|
-
*/ static fromServerFormat(t: any):
|
|
756
|
-
static emptyPath():
|
|
757
|
-
construct(t: any, e: any, n: any):
|
|
756
|
+
*/ static fromServerFormat(t: any): Et;
|
|
757
|
+
static emptyPath(): Et;
|
|
758
|
+
construct(t: any, e: any, n: any): Et;
|
|
758
759
|
canonicalString(): any;
|
|
759
760
|
toString(): any;
|
|
760
761
|
/**
|
|
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 wc(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.
|
|
@@ -790,7 +791,7 @@ declare function lc(t: any, e: any): any;
|
|
|
790
791
|
*/
|
|
791
792
|
/** Converts a Base64 encoded string to a binary string. */
|
|
792
793
|
/** True if and only if the Base64 conversion functions are available. */
|
|
793
|
-
declare function
|
|
794
|
+
declare function Rt(): boolean;
|
|
794
795
|
/**
|
|
795
796
|
* @internal
|
|
796
797
|
*/ declare function $(t: any, ...e: any[]): void;
|
|
@@ -809,11 +810,11 @@ declare function yt(): boolean;
|
|
|
809
810
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
810
811
|
* See the License for the specific language governing permissions and
|
|
811
812
|
* limitations under the License.
|
|
812
|
-
*/ declare function
|
|
813
|
+
*/ declare function Sl(t: any, e: any): Promise<void>;
|
|
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 lc(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
|
|
827
|
+
*/ declare function ml(t: any, e: any): Promise<Ic>;
|
|
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
|
|
838
|
+
*/ declare function bl(...t: any[]): lh;
|
|
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
|
|
850
|
-
declare function
|
|
851
|
-
declare function
|
|
850
|
+
*/ declare function Pl(...t: any[]): hh;
|
|
851
|
+
declare function Lc(t: any): Promise<any>;
|
|
852
|
+
declare function Ac(t: any, e: any, ...n: any[]): Ec;
|
|
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,15 +860,15 @@ 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 Rc(t: any, e: any): Tc;
|
|
864
|
+
declare function pc(t: any, e: any, n: any, s?: {}): void;
|
|
864
865
|
/**
|
|
865
866
|
* Deletes the document referred to by the specified `DocumentReference`.
|
|
866
867
|
*
|
|
867
868
|
* @param reference - A reference to the document to delete.
|
|
868
869
|
* @returns A Promise resolved once the document has been successfully
|
|
869
870
|
* deleted from the backend (note that it won't resolve while you're offline).
|
|
870
|
-
*/ declare function
|
|
871
|
+
*/ declare function wl(t: any): Promise<any>;
|
|
871
872
|
/**
|
|
872
873
|
* @license
|
|
873
874
|
* Copyright 2020 Google LLC
|
|
@@ -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
|
|
891
|
+
*/ declare function Al(): uh;
|
|
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 Kc(t: any): any;
|
|
900
|
+
declare function Pc(t: any, e: any, ...n: any[]): Ic;
|
|
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 Hc(): zc;
|
|
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 Fc(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,22 +946,22 @@ 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 $c(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 qc(t: any): any;
|
|
956
|
+
declare function Hh(...t: any[]): Wh;
|
|
957
|
+
declare function zh(...t: any[]): Wh;
|
|
957
958
|
/**
|
|
958
959
|
* @internal
|
|
959
|
-
*/ declare function
|
|
960
|
+
*/ declare function Oc(t: any): any;
|
|
960
961
|
/**
|
|
961
962
|
* Locally writes `mutations` on the async queue.
|
|
962
963
|
* @internal
|
|
963
|
-
*/ declare function
|
|
964
|
+
*/ declare function pl(t: any, e: any): Promise<any>;
|
|
964
965
|
/**
|
|
965
966
|
* @license
|
|
966
967
|
* Copyright 2020 Google LLC
|
|
@@ -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
|
|
1016
|
+
declare function ol(t: any): Promise<Sh>;
|
|
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
|
|
1023
|
+
*/ declare function al(t: any): Promise<Sh>;
|
|
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
|
|
1030
|
+
*/ declare function cl(t: any): Promise<Sh>;
|
|
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
|
|
1040
|
+
*/ declare function hl(t: any): Promise<Ch>;
|
|
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
|
|
1046
|
+
*/ declare function ll(t: any): Promise<Ch>;
|
|
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
|
|
1052
|
+
*/ declare function fl(t: any): Promise<Ch>;
|
|
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 kc(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
|
|
1080
|
+
*/ declare function Vl(t: any): fh;
|
|
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 Nc(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 qh(t: any): Uh;
|
|
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 Kh(t: any): Uh;
|
|
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 Qc(t: any, e: any): Dc;
|
|
1117
1118
|
/**
|
|
1118
1119
|
* Reads a Firestore {@link Query} from local cache, identified by the given
|
|
1119
1120
|
* name.
|
|
@@ -1125,9 +1126,9 @@ 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
|
|
1130
|
-
declare function
|
|
1129
|
+
*/ declare function jc(t: any, e: any): any;
|
|
1130
|
+
declare function gl(t: any, ...e: any[]): () => void;
|
|
1131
|
+
declare function yl(t: any, e: any): () => void;
|
|
1131
1132
|
/**
|
|
1132
1133
|
* Creates a {@link QueryConstraint} that sorts the query result by the
|
|
1133
1134
|
* specified field, optionally in descending order instead of ascending.
|
|
@@ -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 Lh(t: any, e?: string): Bh;
|
|
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 Mh(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 Vc(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 bc(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
|
|
@@ -1175,16 +1176,18 @@ declare function dl(t: any, e: any): () => void;
|
|
|
1175
1176
|
* transaction against.
|
|
1176
1177
|
* @param updateFunction - The function to execute within the transaction
|
|
1177
1178
|
* context.
|
|
1179
|
+
* @param options - An options object to configure maximum number of attempts to
|
|
1180
|
+
* commit.
|
|
1178
1181
|
* @returns If the transaction completed successfully or was explicitly aborted
|
|
1179
1182
|
* (the `updateFunction` returned a failed promise), the promise returned by the
|
|
1180
1183
|
* `updateFunction `is returned here. Otherwise, if the transaction failed, a
|
|
1181
1184
|
* rejected promise with the corresponding failure error is returned.
|
|
1182
|
-
*/ declare function
|
|
1185
|
+
*/ declare function El(t: any, e: any, n: any): Promise<any>;
|
|
1183
1186
|
/**
|
|
1184
1187
|
* Returns a sentinel used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link @firebase/firestore/lite#(updateDoc:1)} to
|
|
1185
1188
|
* include a server-generated timestamp in the written data.
|
|
1186
|
-
*/ declare function
|
|
1187
|
-
declare function
|
|
1189
|
+
*/ declare function Rl(): ch;
|
|
1190
|
+
declare function dl(t: any, e: any, n: any): Promise<any>;
|
|
1188
1191
|
/**
|
|
1189
1192
|
* Sets the verbosity of Cloud Firestore logs (debug, error, or silent).
|
|
1190
1193
|
*
|
|
@@ -1197,16 +1200,16 @@ declare function al(t: any, e: any, n: any): Promise<any>;
|
|
|
1197
1200
|
* <li>`error` to log errors only.</li>
|
|
1198
1201
|
* <li><code>`silent` to turn off logging.</li>
|
|
1199
1202
|
* </ul>
|
|
1200
|
-
*/ declare function
|
|
1203
|
+
*/ declare function O(t: any): void;
|
|
1201
1204
|
/**
|
|
1202
1205
|
* Returns true if the provided snapshots are equal.
|
|
1203
1206
|
*
|
|
1204
1207
|
* @param left - A snapshot to compare.
|
|
1205
1208
|
* @param right - A snapshot to compare.
|
|
1206
1209
|
* @returns true if the snapshots are equal.
|
|
1207
|
-
*/ declare function
|
|
1208
|
-
declare function
|
|
1209
|
-
declare function
|
|
1210
|
+
*/ declare function Nh(t: any, e: any): any;
|
|
1211
|
+
declare function jh(...t: any[]): Gh;
|
|
1212
|
+
declare function Qh(...t: any[]): Gh;
|
|
1210
1213
|
/**
|
|
1211
1214
|
* Terminates the provided {@link Firestore} instance.
|
|
1212
1215
|
*
|
|
@@ -1228,8 +1231,8 @@ declare function Uh(...t: any[]): Lh;
|
|
|
1228
1231
|
*
|
|
1229
1232
|
* @returns A `Promise` that is resolved when the instance has been successfully
|
|
1230
1233
|
* terminated.
|
|
1231
|
-
*/ declare function
|
|
1232
|
-
declare function
|
|
1234
|
+
*/ declare function Gc(t: any): any;
|
|
1235
|
+
declare function _l(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
1233
1236
|
/**
|
|
1234
1237
|
* Waits until all currently pending writes for the active user have been
|
|
1235
1238
|
* acknowledged by the backend.
|
|
@@ -1245,7 +1248,7 @@ declare function cl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1245
1248
|
*
|
|
1246
1249
|
* @returns A `Promise` which resolves when all currently pending writes have been
|
|
1247
1250
|
* acknowledged by the backend.
|
|
1248
|
-
*/ declare function
|
|
1251
|
+
*/ declare function Uc(t: any): Promise<any>;
|
|
1249
1252
|
/**
|
|
1250
1253
|
* Creates a {@link QueryConstraint} that enforces that documents must contain the
|
|
1251
1254
|
* specified field and that the value should satisfy the relation constraint
|
|
@@ -1256,7 +1259,7 @@ declare function cl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1256
1259
|
* "<=", "!=").
|
|
1257
1260
|
* @param value - The value for comparison
|
|
1258
1261
|
* @returns The created {@link Query}.
|
|
1259
|
-
*/ declare function
|
|
1262
|
+
*/ declare function $h(t: any, e: any, n: any): Fh;
|
|
1260
1263
|
/**
|
|
1261
1264
|
* @license
|
|
1262
1265
|
* Copyright 2020 Google LLC
|
|
@@ -1283,7 +1286,7 @@ declare function cl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1283
1286
|
*
|
|
1284
1287
|
* @returns A {@link WriteBatch} that can be used to atomically execute multiple
|
|
1285
1288
|
* writes.
|
|
1286
|
-
*/ declare function
|
|
1289
|
+
*/ declare function vl(t: any): il;
|
|
1287
1290
|
/**
|
|
1288
1291
|
* @license
|
|
1289
1292
|
* Copyright 2020 Google LLC
|
|
@@ -1308,7 +1311,7 @@ declare function cl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1308
1311
|
* For a `DocumentSnapshot` that points to a non-existing document, any data
|
|
1309
1312
|
* access will return 'undefined'. You can use the `exists()` method to
|
|
1310
1313
|
* explicitly verify a document's existence.
|
|
1311
|
-
*/ declare class
|
|
1314
|
+
*/ declare class Ph {
|
|
1312
1315
|
/** @hideconstructor protected */
|
|
1313
1316
|
constructor(t: any, e: any, n: any, s: any, i: any);
|
|
1314
1317
|
_firestore: any;
|
|
@@ -1319,7 +1322,7 @@ declare function cl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1319
1322
|
/** Property of the `DocumentSnapshot` that provides the document's ID. */ get id(): any;
|
|
1320
1323
|
/**
|
|
1321
1324
|
* The `DocumentReference` for the document included in the `DocumentSnapshot`.
|
|
1322
|
-
*/ get ref():
|
|
1325
|
+
*/ get ref(): Ic;
|
|
1323
1326
|
/**
|
|
1324
1327
|
* Signals whether or not the document at the snapshot's location exists.
|
|
1325
1328
|
*
|
|
@@ -1363,7 +1366,7 @@ declare function cl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1363
1366
|
* The Cloud Firestore service interface.
|
|
1364
1367
|
*
|
|
1365
1368
|
* Do not call this constructor directly. Instead, use {@link getFirestore}.
|
|
1366
|
-
*/ declare class
|
|
1369
|
+
*/ declare class yc {
|
|
1367
1370
|
/** @hideconstructor */
|
|
1368
1371
|
constructor(t: any, e: any, n: any);
|
|
1369
1372
|
_authCredentials: any;
|
|
@@ -1373,9 +1376,9 @@ declare function cl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1373
1376
|
*/
|
|
1374
1377
|
type: string;
|
|
1375
1378
|
_persistenceKey: string;
|
|
1376
|
-
_settings:
|
|
1379
|
+
_settings: gc;
|
|
1377
1380
|
_settingsFrozen: boolean;
|
|
1378
|
-
_databaseId:
|
|
1381
|
+
_databaseId: kt;
|
|
1379
1382
|
_app: any;
|
|
1380
1383
|
/**
|
|
1381
1384
|
* The {@link @firebase/app#FirebaseApp} associated with this `Firestore` service
|
|
@@ -1384,14 +1387,14 @@ declare function cl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1384
1387
|
get _initialized(): boolean;
|
|
1385
1388
|
get _terminated(): boolean;
|
|
1386
1389
|
_setSettings(t: any): void;
|
|
1387
|
-
_getSettings():
|
|
1388
|
-
_freezeSettings():
|
|
1390
|
+
_getSettings(): gc;
|
|
1391
|
+
_freezeSettings(): gc;
|
|
1389
1392
|
_delete(): Promise<void>;
|
|
1390
1393
|
_terminateTask: Promise<void> | undefined;
|
|
1391
1394
|
/** Returns a JSON-serializable representation of this `Firestore` instance. */ toJSON(): {
|
|
1392
1395
|
app: any;
|
|
1393
|
-
databaseId:
|
|
1394
|
-
settings:
|
|
1396
|
+
databaseId: kt;
|
|
1397
|
+
settings: gc;
|
|
1395
1398
|
};
|
|
1396
1399
|
/**
|
|
1397
1400
|
* Terminates all components used by this client. Subclasses can override
|
|
@@ -1416,17 +1419,17 @@ declare function cl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1416
1419
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1417
1420
|
* See the License for the specific language governing permissions and
|
|
1418
1421
|
* limitations under the License.
|
|
1419
|
-
*/ declare class
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1422
|
+
*/ declare class vc {
|
|
1423
|
+
Qa: Promise<void>;
|
|
1424
|
+
ja: any[];
|
|
1425
|
+
Wa: boolean;
|
|
1426
|
+
za: any[];
|
|
1427
|
+
Ha: any;
|
|
1428
|
+
Ja: boolean;
|
|
1429
|
+
Ya: boolean;
|
|
1430
|
+
Xa: any[];
|
|
1431
|
+
Uo: Xo;
|
|
1432
|
+
Za: () => void;
|
|
1430
1433
|
get isShuttingDown(): boolean;
|
|
1431
1434
|
/**
|
|
1432
1435
|
* Adds a new operation to the queue without waiting for it to complete (i.e.
|
|
@@ -1439,30 +1442,30 @@ declare function cl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1439
1442
|
/**
|
|
1440
1443
|
* Runs the next operation from the retryable queue. If the operation fails,
|
|
1441
1444
|
* reschedules with backoff.
|
|
1442
|
-
*/
|
|
1443
|
-
|
|
1444
|
-
enqueueAfterDelay(t: any, e: any, n: any):
|
|
1445
|
-
|
|
1445
|
+
*/ nc(): Promise<void>;
|
|
1446
|
+
ec(t: any): Promise<any>;
|
|
1447
|
+
enqueueAfterDelay(t: any, e: any, n: any): Nu;
|
|
1448
|
+
tc(): void;
|
|
1446
1449
|
verifyOperationInProgress(): void;
|
|
1447
1450
|
/**
|
|
1448
1451
|
* Waits until all currently queued tasks are finished executing. Delayed
|
|
1449
1452
|
* operations are not run.
|
|
1450
|
-
*/
|
|
1453
|
+
*/ ic(): Promise<void>;
|
|
1451
1454
|
/**
|
|
1452
1455
|
* For Tests: Determine if a delayed operation with a particular TimerId
|
|
1453
1456
|
* exists.
|
|
1454
|
-
*/
|
|
1457
|
+
*/ rc(t: any): boolean;
|
|
1455
1458
|
/**
|
|
1456
1459
|
* For Tests: Runs some or all delayed operations early.
|
|
1457
1460
|
*
|
|
1458
1461
|
* @param lastTimerId - Delayed operations up to and including this TimerId
|
|
1459
1462
|
* will be drained. Pass TimerId.All to run all delayed operations.
|
|
1460
1463
|
* @returns a Promise that resolves once all operations have been run.
|
|
1461
|
-
*/
|
|
1464
|
+
*/ oc(t: any): Promise<void>;
|
|
1462
1465
|
/**
|
|
1463
1466
|
* For Tests: Skip all subsequent delays for a timer id.
|
|
1464
|
-
*/
|
|
1465
|
-
/** Called once a DelayedOperation is run or canceled. */
|
|
1467
|
+
*/ uc(t: any): void;
|
|
1468
|
+
/** Called once a DelayedOperation is run or canceled. */ sc(t: any): void;
|
|
1466
1469
|
}
|
|
1467
1470
|
import { FirebaseError as a } from "@firebase/util/dist/src/errors";
|
|
1468
1471
|
/**
|
|
@@ -1488,12 +1491,12 @@ import { FirebaseError as a } from "@firebase/util/dist/src/errors";
|
|
|
1488
1491
|
/**
|
|
1489
1492
|
* Helper for parsing raw user input (provided via the API) into internal model
|
|
1490
1493
|
* classes.
|
|
1491
|
-
*/ declare class
|
|
1494
|
+
*/ declare class ih {
|
|
1492
1495
|
constructor(t: any, e: any, n: any);
|
|
1493
1496
|
databaseId: any;
|
|
1494
1497
|
ignoreUndefinedProperties: any;
|
|
1495
|
-
|
|
1496
|
-
/** Creates a new top-level parse context. */
|
|
1498
|
+
O: any;
|
|
1499
|
+
/** Creates a new top-level parse context. */ Ic(t: any, e: any, n: any, s?: boolean): sh;
|
|
1497
1500
|
}
|
|
1498
1501
|
declare class Z {
|
|
1499
1502
|
constructor(t: any);
|
|
@@ -1520,7 +1523,7 @@ declare class Z {
|
|
|
1520
1523
|
/**
|
|
1521
1524
|
* Path represents an ordered sequence of string segments.
|
|
1522
1525
|
*/
|
|
1523
|
-
declare class
|
|
1526
|
+
declare class pt {
|
|
1524
1527
|
static comparator(t: any, e: any): 0 | 1 | -1;
|
|
1525
1528
|
constructor(t: any, e: any, n: any);
|
|
1526
1529
|
segments: any;
|
|
@@ -1541,67 +1544,67 @@ declare class dt {
|
|
|
1541
1544
|
forEach(t: any): void;
|
|
1542
1545
|
toArray(): any;
|
|
1543
1546
|
}
|
|
1544
|
-
declare class
|
|
1547
|
+
declare class lh extends Yc {
|
|
1545
1548
|
constructor(t: any, e: any);
|
|
1546
|
-
|
|
1547
|
-
_toFieldTransform(t: any):
|
|
1549
|
+
Tc: any;
|
|
1550
|
+
_toFieldTransform(t: any): In;
|
|
1548
1551
|
isEqual(t: any): boolean;
|
|
1549
1552
|
}
|
|
1550
|
-
declare class
|
|
1553
|
+
declare class hh extends Yc {
|
|
1551
1554
|
constructor(t: any, e: any);
|
|
1552
|
-
|
|
1553
|
-
_toFieldTransform(t: any):
|
|
1555
|
+
Tc: any;
|
|
1556
|
+
_toFieldTransform(t: any): In;
|
|
1554
1557
|
isEqual(t: any): boolean;
|
|
1555
1558
|
}
|
|
1556
|
-
declare class
|
|
1559
|
+
declare class uh extends Yc {
|
|
1557
1560
|
_toFieldTransform(t: any): null;
|
|
1558
1561
|
isEqual(t: any): boolean;
|
|
1559
1562
|
}
|
|
1560
|
-
declare class
|
|
1563
|
+
declare class Wh extends Oh {
|
|
1561
1564
|
constructor(t: any, e: any, n: any);
|
|
1562
1565
|
type: any;
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
_apply(t: any):
|
|
1566
|
+
Sc: any;
|
|
1567
|
+
Dc: any;
|
|
1568
|
+
_apply(t: any): Tc;
|
|
1566
1569
|
}
|
|
1567
|
-
declare class
|
|
1570
|
+
declare class fh extends Yc {
|
|
1568
1571
|
constructor(t: any, e: any);
|
|
1569
|
-
|
|
1570
|
-
_toFieldTransform(t: any):
|
|
1572
|
+
Ec: any;
|
|
1573
|
+
_toFieldTransform(t: any): In;
|
|
1571
1574
|
isEqual(t: any): boolean;
|
|
1572
1575
|
}
|
|
1573
|
-
declare class
|
|
1576
|
+
declare class Uh extends Oh {
|
|
1574
1577
|
constructor(t: any, e: any, n: any);
|
|
1575
1578
|
type: any;
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
_apply(t: any):
|
|
1579
|
+
Vc: any;
|
|
1580
|
+
vc: any;
|
|
1581
|
+
_apply(t: any): Tc;
|
|
1579
1582
|
}
|
|
1580
|
-
declare class
|
|
1583
|
+
declare class Bh extends Oh {
|
|
1581
1584
|
constructor(t: any, e: any);
|
|
1582
|
-
|
|
1583
|
-
|
|
1585
|
+
Ac: any;
|
|
1586
|
+
bc: any;
|
|
1584
1587
|
type: string;
|
|
1585
|
-
_apply(t: any):
|
|
1588
|
+
_apply(t: any): Tc;
|
|
1586
1589
|
}
|
|
1587
|
-
declare class
|
|
1588
|
-
_toFieldTransform(t: any):
|
|
1590
|
+
declare class ch extends Yc {
|
|
1591
|
+
_toFieldTransform(t: any): In;
|
|
1589
1592
|
isEqual(t: any): boolean;
|
|
1590
1593
|
}
|
|
1591
|
-
declare class
|
|
1594
|
+
declare class Gh extends Oh {
|
|
1592
1595
|
constructor(t: any, e: any, n: any);
|
|
1593
1596
|
type: any;
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
_apply(t: any):
|
|
1597
|
+
Sc: any;
|
|
1598
|
+
Dc: any;
|
|
1599
|
+
_apply(t: any): Tc;
|
|
1597
1600
|
}
|
|
1598
|
-
declare class
|
|
1601
|
+
declare class Fh extends Oh {
|
|
1599
1602
|
constructor(t: any, e: any, n: any);
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
+
Ac: any;
|
|
1604
|
+
Rc: any;
|
|
1605
|
+
Pc: any;
|
|
1603
1606
|
type: string;
|
|
1604
|
-
_apply(t: any):
|
|
1607
|
+
_apply(t: any): Tc;
|
|
1605
1608
|
}
|
|
1606
1609
|
/**
|
|
1607
1610
|
* @license
|
|
@@ -1624,7 +1627,7 @@ declare class Nh extends Ch {
|
|
|
1624
1627
|
* user-supplied `FirestoreSettings` object. This is a separate type so that
|
|
1625
1628
|
* defaults can be supplied and the value can be checked for equality.
|
|
1626
1629
|
*/
|
|
1627
|
-
declare class
|
|
1630
|
+
declare class gc {
|
|
1628
1631
|
constructor(t: any);
|
|
1629
1632
|
host: any;
|
|
1630
1633
|
ssl: any;
|
|
@@ -1648,17 +1651,17 @@ declare class dc {
|
|
|
1648
1651
|
* base delay. This prevents clients from accidentally synchronizing their
|
|
1649
1652
|
* delays causing spikes of load to the backend.
|
|
1650
1653
|
*/
|
|
1651
|
-
declare class
|
|
1654
|
+
declare class Xo {
|
|
1652
1655
|
constructor(t: any, e: any, n?: number, s?: number, i?: number);
|
|
1653
|
-
|
|
1656
|
+
si: any;
|
|
1654
1657
|
timerId: any;
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1658
|
+
Po: number;
|
|
1659
|
+
bo: number;
|
|
1660
|
+
Vo: number;
|
|
1661
|
+
vo: number;
|
|
1662
|
+
So: any;
|
|
1660
1663
|
/** The last backoff attempt, as epoch milliseconds. */
|
|
1661
|
-
|
|
1664
|
+
Do: number;
|
|
1662
1665
|
/**
|
|
1663
1666
|
* Resets the backoff delay.
|
|
1664
1667
|
*
|
|
@@ -1669,15 +1672,15 @@ declare class zo {
|
|
|
1669
1672
|
/**
|
|
1670
1673
|
* Resets the backoff delay to the maximum delay (e.g. for use after a
|
|
1671
1674
|
* RESOURCE_EXHAUSTED error).
|
|
1672
|
-
*/
|
|
1675
|
+
*/ Co(): void;
|
|
1673
1676
|
/**
|
|
1674
1677
|
* Returns a promise that resolves after currentDelayMs, and increases the
|
|
1675
1678
|
* delay for any subsequent attempts. If there was a pending backoff operation
|
|
1676
1679
|
* already, it will be canceled.
|
|
1677
|
-
*/
|
|
1678
|
-
|
|
1680
|
+
*/ xo(t: any): void;
|
|
1681
|
+
ko(): void;
|
|
1679
1682
|
cancel(): void;
|
|
1680
|
-
/** Returns a random value in the range [-currentBaseMs/2, currentBaseMs/2] */
|
|
1683
|
+
/** Returns a random value in the range [-currentBaseMs/2, currentBaseMs/2] */ No(): number;
|
|
1681
1684
|
}
|
|
1682
1685
|
/**
|
|
1683
1686
|
* @license
|
|
@@ -1706,7 +1709,7 @@ declare class zo {
|
|
|
1706
1709
|
* in newer versions of TypeScript defines `finally`, which is not available in
|
|
1707
1710
|
* IE.
|
|
1708
1711
|
*/
|
|
1709
|
-
declare class
|
|
1712
|
+
declare class Nu {
|
|
1710
1713
|
/**
|
|
1711
1714
|
* Creates and returns a DelayedOperation that has been scheduled to be
|
|
1712
1715
|
* executed on the provided asyncQueue after the provided delayMs.
|
|
@@ -1720,7 +1723,7 @@ declare class Su {
|
|
|
1720
1723
|
* from its delayedOperations list.
|
|
1721
1724
|
* PORTING NOTE: This exists to prevent making removeDelayedOperation() and
|
|
1722
1725
|
* the DelayedOperation class public.
|
|
1723
|
-
*/ static createAndSchedule(t: any, e: any, n: any, s: any, i: any):
|
|
1726
|
+
*/ static createAndSchedule(t: any, e: any, n: any, s: any, i: any): Nu;
|
|
1724
1727
|
constructor(t: any, e: any, n: any, s: any, i: any);
|
|
1725
1728
|
asyncQueue: any;
|
|
1726
1729
|
timerId: any;
|
|
@@ -1748,7 +1751,7 @@ declare class Su {
|
|
|
1748
1751
|
handleDelayElapsed(): void;
|
|
1749
1752
|
clearTimeout(): void;
|
|
1750
1753
|
}
|
|
1751
|
-
/** A "context" object passed around while parsing user data. */ declare class
|
|
1754
|
+
/** A "context" object passed around while parsing user data. */ declare class sh {
|
|
1752
1755
|
/**
|
|
1753
1756
|
* Initializes a ParseContext with the given source and path.
|
|
1754
1757
|
*
|
|
@@ -1770,20 +1773,20 @@ declare class Su {
|
|
|
1770
1773
|
constructor(t: any, e: any, n: any, s: any, i: any, r: any);
|
|
1771
1774
|
settings: any;
|
|
1772
1775
|
databaseId: any;
|
|
1773
|
-
|
|
1776
|
+
O: any;
|
|
1774
1777
|
ignoreUndefinedProperties: any;
|
|
1775
1778
|
fieldTransforms: any;
|
|
1776
1779
|
fieldMask: any;
|
|
1777
1780
|
get path(): any;
|
|
1778
|
-
get
|
|
1779
|
-
/** Returns a new context with the specified settings overwritten. */
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1781
|
+
get cc(): any;
|
|
1782
|
+
/** Returns a new context with the specified settings overwritten. */ hc(t: any): sh;
|
|
1783
|
+
lc(t: any): sh;
|
|
1784
|
+
_c(t: any): sh;
|
|
1785
|
+
wc(t: any): sh;
|
|
1786
|
+
mc(t: any): Q;
|
|
1784
1787
|
/** Returns 'true' if 'fieldPath' was traversed when creating this context. */ contains(t: any): boolean;
|
|
1785
|
-
|
|
1786
|
-
|
|
1788
|
+
ac(): void;
|
|
1789
|
+
dc(t: any): void;
|
|
1787
1790
|
}
|
|
1788
1791
|
/**
|
|
1789
1792
|
* @license
|
|
@@ -1801,9 +1804,9 @@ declare class Su {
|
|
|
1801
1804
|
* See the License for the specific language governing permissions and
|
|
1802
1805
|
* limitations under the License.
|
|
1803
1806
|
*/
|
|
1804
|
-
/** A field path and the TransformOperation to perform upon it. */ declare class
|
|
1807
|
+
/** A field path and the TransformOperation to perform upon it. */ declare class In {
|
|
1805
1808
|
constructor(t: any, e: any);
|
|
1806
1809
|
field: any;
|
|
1807
1810
|
transform: any;
|
|
1808
1811
|
}
|
|
1809
|
-
export {
|
|
1812
|
+
export { el as AbstractUserDataWriter, Jc as Bytes, Cc as CACHE_SIZE_UNLIMITED, Ec as CollectionReference, Ic as DocumentReference, Sh as DocumentSnapshot, zc as FieldPath, Yc as FieldValue, xc as Firestore, Q as FirestoreError, Xc as GeoPoint, Dc as LoadBundleTask, Tc as Query, Oh as QueryConstraint, Dh as QueryDocumentSnapshot, Ch as QuerySnapshot, vh as SnapshotMetadata, at as Timestamp, Tl as Transaction, il as WriteBatch, kt as _DatabaseId, $t as _DocumentKey, et as _EmptyAppCheckTokenProvider, z as _EmptyAuthCredentialsProvider, Et as _FieldPath, wc as _cast, q as _debugAssert, Rt as _isBase64Available, $ as _logWarn, Sl as _setIndexConfiguration, lc as _validateIsNotUsedTogether, ml as addDoc, bl as arrayRemove, Pl as arrayUnion, Lc as clearIndexedDbPersistence, Ac as collection, Rc as collectionGroup, pc as connectFirestoreEmulator, wl as deleteDoc, Al as deleteField, Kc as disableNetwork, Pc as doc, Hc as documentId, Fc as enableIndexedDbPersistence, $c as enableMultiTabIndexedDbPersistence, qc as enableNetwork, Hh as endAt, zh as endBefore, Oc as ensureFirestoreConfigured, pl as executeWrite, ol as getDoc, al as getDocFromCache, cl as getDocFromServer, hl as getDocs, ll as getDocsFromCache, fl as getDocsFromServer, kc as getFirestore, Vl as increment, Nc as initializeFirestore, qh as limit, Kh as limitToLast, Qc as loadBundle, jc as namedQuery, gl as onSnapshot, yl as onSnapshotsInSync, Lh as orderBy, Mh as query, Vc as queryEqual, bc as refEqual, El as runTransaction, Rl as serverTimestamp, dl as setDoc, O as setLogLevel, Nh as snapshotEqual, jh as startAfter, Qh as startAt, Gc as terminate, _l as updateDoc, Uc as waitForPendingWrites, $h as where, vl as writeBatch };
|