@firebase/firestore 3.4.9 → 3.4.10-canary.ebc17e27f
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 +14 -0
- package/dist/firestore/src/api/transaction.d.ts +2 -0
- package/dist/firestore/src/core/component_provider.d.ts +11 -6
- package/dist/firestore/src/lite-api/transaction.d.ts +2 -0
- package/dist/firestore/src/local/document_overlay_cache.d.ts +5 -0
- package/dist/firestore/src/local/index_backfiller.d.ts +44 -0
- package/dist/firestore/src/local/index_manager.d.ts +2 -0
- package/dist/firestore/src/local/indexeddb_document_overlay_cache.d.ts +1 -0
- package/dist/firestore/src/local/indexeddb_index_manager.d.ts +1 -0
- package/dist/firestore/src/local/indexeddb_schema.d.ts +3 -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 +64 -9
- package/dist/firestore/src/local/local_store.d.ts +9 -0
- package/dist/firestore/src/local/lru_garbage_collector_impl.d.ts +5 -5
- package/dist/firestore/src/local/memory_document_overlay_cache.d.ts +1 -0
- package/dist/firestore/src/local/memory_index_manager.d.ts +1 -0
- package/dist/firestore/src/local/overlayed_document.d.ts +36 -0
- package/dist/firestore/src/local/persistence.d.ts +3 -5
- package/dist/firestore/src/local/persistence_promise.d.ts +11 -0
- package/dist/firestore/src/local/query_engine.d.ts +1 -1
- package/dist/firestore/src/model/collections.d.ts +8 -2
- 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 +8 -4
- package/dist/firestore/src/tsdoc-metadata.json +11 -11
- package/dist/firestore/src/util/async_queue.d.ts +5 -1
- package/dist/firestore/test/unit/local/index_backfiller.test.d.ts +17 -0
- package/dist/firestore/test/unit/local/test_document_overlay_cache.d.ts +1 -0
- package/dist/firestore/test/unit/specs/spec_test_components.d.ts +5 -3
- package/dist/firestore/test/util/helpers.d.ts +13 -0
- package/dist/index.d.ts +4 -2
- package/dist/index.esm2017.js +10689 -10296
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +9353 -8844
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +6738 -6123
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.node.mjs +6738 -6123
- package/dist/index.node.mjs.map +1 -1
- package/dist/index.rn.js +9818 -9424
- package/dist/index.rn.js.map +1 -1
- package/dist/internal.d.ts +6137 -5964
- package/dist/lite/firestore/src/api/transaction.d.ts +2 -0
- package/dist/lite/firestore/src/core/component_provider.d.ts +11 -6
- package/dist/lite/firestore/src/lite-api/transaction.d.ts +2 -0
- package/dist/lite/firestore/src/local/document_overlay_cache.d.ts +5 -0
- package/dist/lite/firestore/src/local/index_backfiller.d.ts +44 -0
- package/dist/lite/firestore/src/local/index_manager.d.ts +2 -0
- 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 +1 -0
- package/dist/lite/firestore/src/local/indexeddb_schema.d.ts +3 -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 +64 -9
- package/dist/lite/firestore/src/local/local_store.d.ts +9 -0
- package/dist/lite/firestore/src/local/lru_garbage_collector_impl.d.ts +5 -5
- 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 +1 -0
- package/dist/lite/firestore/src/local/overlayed_document.d.ts +36 -0
- package/dist/lite/firestore/src/local/persistence.d.ts +3 -5
- package/dist/lite/firestore/src/local/persistence_promise.d.ts +11 -0
- package/dist/lite/firestore/src/local/query_engine.d.ts +1 -1
- package/dist/lite/firestore/src/model/collections.d.ts +8 -2
- 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 +8 -4
- package/dist/lite/firestore/src/util/async_queue.d.ts +5 -1
- package/dist/lite/firestore/test/unit/local/index_backfiller.test.d.ts +17 -0
- package/dist/lite/firestore/test/unit/local/test_document_overlay_cache.d.ts +1 -0
- package/dist/lite/firestore/test/unit/specs/spec_test_components.d.ts +5 -3
- package/dist/lite/firestore/test/util/helpers.d.ts +13 -0
- package/dist/lite/index.browser.esm2017.js +1220 -738
- package/dist/lite/index.browser.esm2017.js.map +1 -1
- package/dist/lite/index.browser.esm5.js +1156 -764
- package/dist/lite/index.browser.esm5.js.map +1 -1
- package/dist/lite/index.d.ts +2 -0
- package/dist/lite/index.node.cjs.js +655 -2
- package/dist/lite/index.node.cjs.js.map +1 -1
- package/dist/lite/index.node.mjs +655 -2
- package/dist/lite/index.node.mjs.map +1 -1
- package/dist/lite/index.rn.esm2017.js +1184 -702
- package/dist/lite/index.rn.esm2017.js.map +1 -1
- package/dist/lite/internal.d.ts +2916 -2898
- package/dist/lite/packages/firestore/dist/lite/index.browser.esm2017.d.ts +106 -104
- package/dist/lite/packages/firestore/src/api/transaction.d.ts +2 -0
- package/dist/lite/packages/firestore/src/core/component_provider.d.ts +11 -6
- package/dist/lite/packages/firestore/src/lite-api/transaction.d.ts +2 -0
- package/dist/lite/packages/firestore/src/local/document_overlay_cache.d.ts +5 -0
- package/dist/lite/packages/firestore/src/local/index_backfiller.d.ts +44 -0
- package/dist/lite/packages/firestore/src/local/index_manager.d.ts +2 -0
- 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 +1 -0
- package/dist/lite/packages/firestore/src/local/indexeddb_schema.d.ts +3 -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 +64 -9
- package/dist/lite/packages/firestore/src/local/local_store.d.ts +9 -0
- package/dist/lite/packages/firestore/src/local/lru_garbage_collector_impl.d.ts +5 -5
- 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 +1 -0
- package/dist/lite/packages/firestore/src/local/overlayed_document.d.ts +36 -0
- package/dist/lite/packages/firestore/src/local/persistence.d.ts +3 -5
- package/dist/lite/packages/firestore/src/local/persistence_promise.d.ts +11 -0
- package/dist/lite/packages/firestore/src/local/query_engine.d.ts +1 -1
- package/dist/lite/packages/firestore/src/model/collections.d.ts +8 -2
- 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 +8 -4
- package/dist/lite/packages/firestore/src/util/async_queue.d.ts +5 -1
- package/dist/lite/packages/firestore/test/unit/local/index_backfiller.test.d.ts +17 -0
- package/dist/lite/packages/firestore/test/unit/local/test_document_overlay_cache.d.ts +1 -0
- package/dist/lite/packages/firestore/test/unit/specs/spec_test_components.d.ts +5 -3
- package/dist/lite/packages/firestore/test/util/helpers.d.ts +13 -0
- package/dist/lite/private.d.ts +2776 -2758
- package/dist/packages/firestore/dist/index.esm2017.d.ts +203 -201
- package/dist/packages/firestore/src/api/transaction.d.ts +2 -0
- package/dist/packages/firestore/src/core/component_provider.d.ts +11 -6
- package/dist/packages/firestore/src/lite-api/transaction.d.ts +2 -0
- package/dist/packages/firestore/src/local/document_overlay_cache.d.ts +5 -0
- package/dist/packages/firestore/src/local/index_backfiller.d.ts +44 -0
- package/dist/packages/firestore/src/local/index_manager.d.ts +2 -0
- 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 +1 -0
- package/dist/packages/firestore/src/local/indexeddb_schema.d.ts +3 -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 +64 -9
- package/dist/packages/firestore/src/local/local_store.d.ts +9 -0
- package/dist/packages/firestore/src/local/lru_garbage_collector_impl.d.ts +5 -5
- 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 +1 -0
- package/dist/packages/firestore/src/local/overlayed_document.d.ts +36 -0
- package/dist/packages/firestore/src/local/persistence.d.ts +3 -5
- package/dist/packages/firestore/src/local/persistence_promise.d.ts +11 -0
- package/dist/packages/firestore/src/local/query_engine.d.ts +1 -1
- package/dist/packages/firestore/src/model/collections.d.ts +8 -2
- 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 +8 -4
- package/dist/packages/firestore/src/util/async_queue.d.ts +5 -1
- package/dist/packages/firestore/test/unit/local/index_backfiller.test.d.ts +17 -0
- package/dist/packages/firestore/test/unit/local/test_document_overlay_cache.d.ts +1 -0
- package/dist/packages/firestore/test/unit/specs/spec_test_components.d.ts +5 -3
- package/dist/packages/firestore/test/util/helpers.d.ts +13 -0
- package/dist/private.d.ts +5845 -5672
- package/package.json +19 -17
|
@@ -20,14 +20,14 @@
|
|
|
20
20
|
*
|
|
21
21
|
* @internal
|
|
22
22
|
*/
|
|
23
|
-
declare class
|
|
23
|
+
declare class ol {
|
|
24
24
|
convertValue(t: any, e?: string): any;
|
|
25
25
|
convertObject(t: any, e: any): {};
|
|
26
|
-
convertGeoPoint(t: any):
|
|
26
|
+
convertGeoPoint(t: any): sh;
|
|
27
27
|
convertArray(t: any, e: any): any;
|
|
28
28
|
convertServerTimestamp(t: any, e: any): any;
|
|
29
|
-
convertTimestamp(t: any):
|
|
30
|
-
convertDocumentKey(t: any, e: any):
|
|
29
|
+
convertTimestamp(t: any): ut;
|
|
30
|
+
convertDocumentKey(t: any, e: any): dt;
|
|
31
31
|
}
|
|
32
32
|
/**
|
|
33
33
|
* @license
|
|
@@ -47,18 +47,18 @@ declare class Jh {
|
|
|
47
47
|
*/
|
|
48
48
|
/**
|
|
49
49
|
* An immutable object representing an array of bytes.
|
|
50
|
-
*/ declare class
|
|
50
|
+
*/ declare class eh {
|
|
51
51
|
/**
|
|
52
52
|
* Creates a new `Bytes` object from the given Base64 string, converting it to
|
|
53
53
|
* bytes.
|
|
54
54
|
*
|
|
55
55
|
* @param base64 - The Base64 string used to create the `Bytes` object.
|
|
56
|
-
*/ static fromBase64String(t: any):
|
|
56
|
+
*/ static fromBase64String(t: any): eh;
|
|
57
57
|
/**
|
|
58
58
|
* Creates a new `Bytes` object from the given Uint8Array.
|
|
59
59
|
*
|
|
60
60
|
* @param array - The Uint8Array used to create the `Bytes` object.
|
|
61
|
-
*/ static fromUint8Array(t: any):
|
|
61
|
+
*/ static fromUint8Array(t: any): eh;
|
|
62
62
|
/** @hideconstructor */
|
|
63
63
|
constructor(t: any);
|
|
64
64
|
_byteString: any;
|
|
@@ -100,11 +100,11 @@ declare class Jh {
|
|
|
100
100
|
* See the License for the specific language governing permissions and
|
|
101
101
|
* limitations under the License.
|
|
102
102
|
*/
|
|
103
|
-
/** DOMException error code constants. */ declare const
|
|
103
|
+
/** DOMException error code constants. */ declare const Ma: -1;
|
|
104
104
|
/**
|
|
105
105
|
* A `CollectionReference` object can be used for adding documents, getting
|
|
106
106
|
* document references, and querying for documents (using {@link query}).
|
|
107
|
-
*/ declare class
|
|
107
|
+
*/ declare class va extends Pa {
|
|
108
108
|
_path: any;
|
|
109
109
|
/** The collection's identifier. */ get id(): any;
|
|
110
110
|
/**
|
|
@@ -114,7 +114,7 @@ declare class Jh {
|
|
|
114
114
|
/**
|
|
115
115
|
* A reference to the containing `DocumentReference` if this is a
|
|
116
116
|
* subcollection. If this isn't a subcollection, the reference is null.
|
|
117
|
-
*/ get parent():
|
|
117
|
+
*/ get parent(): ba | null;
|
|
118
118
|
}
|
|
119
119
|
/**
|
|
120
120
|
* @license
|
|
@@ -136,7 +136,7 @@ declare class Jh {
|
|
|
136
136
|
* A `DocumentReference` refers to a document location in a Firestore database
|
|
137
137
|
* and can be used to write, read, or listen to the location. The document at
|
|
138
138
|
* the referenced location may or may not exist.
|
|
139
|
-
*/ declare class
|
|
139
|
+
*/ declare class ba {
|
|
140
140
|
/** @hideconstructor */
|
|
141
141
|
constructor(t: any, e: any, n: any);
|
|
142
142
|
converter: any;
|
|
@@ -154,8 +154,8 @@ declare class Jh {
|
|
|
154
154
|
*/ get path(): any;
|
|
155
155
|
/**
|
|
156
156
|
* The collection this `DocumentReference` belongs to.
|
|
157
|
-
*/ get parent():
|
|
158
|
-
withConverter(t: any):
|
|
157
|
+
*/ get parent(): va;
|
|
158
|
+
withConverter(t: any): ba;
|
|
159
159
|
}
|
|
160
160
|
/**
|
|
161
161
|
* A `DocumentSnapshot` contains data read from a document in your Firestore
|
|
@@ -165,7 +165,7 @@ declare class Jh {
|
|
|
165
165
|
* For a `DocumentSnapshot` that points to a non-existing document, any data
|
|
166
166
|
* access will return 'undefined'. You can use the `exists()` method to
|
|
167
167
|
* explicitly verify a document's existence.
|
|
168
|
-
*/ declare class
|
|
168
|
+
*/ declare class kh extends Dh {
|
|
169
169
|
/** @hideconstructor protected */
|
|
170
170
|
constructor(t: any, e: any, n: any, s: any, i: any, r: any);
|
|
171
171
|
_firestoreImpl: any;
|
|
@@ -211,7 +211,7 @@ declare class Jh {
|
|
|
211
211
|
* Create a `FieldPath` by providing field names. If more than one field
|
|
212
212
|
* name is provided, the path will point to a nested field in a document.
|
|
213
213
|
*/
|
|
214
|
-
declare class
|
|
214
|
+
declare class Za {
|
|
215
215
|
/**
|
|
216
216
|
* Creates a `FieldPath` from the provided field names. If more than one field
|
|
217
217
|
* name is provided, the path will point to a nested field in a document.
|
|
@@ -219,7 +219,7 @@ declare class Kc {
|
|
|
219
219
|
* @param fieldNames - A list of field names.
|
|
220
220
|
*/
|
|
221
221
|
constructor(...t: any[]);
|
|
222
|
-
_internalPath:
|
|
222
|
+
_internalPath: ft;
|
|
223
223
|
/**
|
|
224
224
|
* Returns true if this `FieldPath` is equal to the provided one.
|
|
225
225
|
*
|
|
@@ -246,7 +246,7 @@ declare class Kc {
|
|
|
246
246
|
/**
|
|
247
247
|
* Sentinel values that can be used when writing document fields with `set()`
|
|
248
248
|
* or `update()`.
|
|
249
|
-
*/ declare class
|
|
249
|
+
*/ declare class nh {
|
|
250
250
|
/**
|
|
251
251
|
* @param _methodName - The public API endpoint that returns this class.
|
|
252
252
|
* @hideconstructor
|
|
@@ -259,10 +259,10 @@ declare class Kc {
|
|
|
259
259
|
*
|
|
260
260
|
* Do not call this constructor directly. Instead, use {@link getFirestore}.
|
|
261
261
|
*/
|
|
262
|
-
declare class
|
|
263
|
-
_queue:
|
|
262
|
+
declare class Fa extends Aa {
|
|
263
|
+
_queue: Na;
|
|
264
264
|
}
|
|
265
|
-
/** An error returned by a Firestore operation. */ declare class Q extends
|
|
265
|
+
/** An error returned by a Firestore operation. */ declare class Q extends c {
|
|
266
266
|
/** @hideconstructor */
|
|
267
267
|
constructor(t: any, e: any);
|
|
268
268
|
}
|
|
@@ -288,7 +288,7 @@ declare class Vc extends dc {
|
|
|
288
288
|
*
|
|
289
289
|
* Latitude values are in the range of [-90, 90].
|
|
290
290
|
* Longitude values are in the range of [-180, 180].
|
|
291
|
-
*/ declare class
|
|
291
|
+
*/ declare class sh {
|
|
292
292
|
/**
|
|
293
293
|
* Creates a new immutable `GeoPoint` object with the provided latitude and
|
|
294
294
|
* longitude values.
|
|
@@ -319,7 +319,7 @@ declare class Vc extends dc {
|
|
|
319
319
|
* with an underscore.
|
|
320
320
|
*/ _compareTo(t: any): 0 | 1 | -1;
|
|
321
321
|
}
|
|
322
|
-
declare class
|
|
322
|
+
declare class Oa {
|
|
323
323
|
_progressObserver: {};
|
|
324
324
|
_taskCompletionResolver: j;
|
|
325
325
|
_lastProgress: {
|
|
@@ -371,7 +371,7 @@ declare class bc {
|
|
|
371
371
|
/**
|
|
372
372
|
* A `Query` refers to a query which you can read or listen to. You can also
|
|
373
373
|
* construct refined `Query` objects by adding filters and ordering.
|
|
374
|
-
*/ declare class
|
|
374
|
+
*/ declare class Pa {
|
|
375
375
|
/** @hideconstructor protected */
|
|
376
376
|
constructor(t: any, e: any, n: any);
|
|
377
377
|
converter: any;
|
|
@@ -379,7 +379,7 @@ declare class bc {
|
|
|
379
379
|
/** The type of this Firestore reference. */
|
|
380
380
|
type: string;
|
|
381
381
|
firestore: any;
|
|
382
|
-
withConverter(t: any):
|
|
382
|
+
withConverter(t: any): Pa;
|
|
383
383
|
}
|
|
384
384
|
/**
|
|
385
385
|
* A `QueryConstraint` is used to narrow the set of documents returned by a
|
|
@@ -388,7 +388,7 @@ declare class bc {
|
|
|
388
388
|
* endBefore:1}, {@link (endAt:1)}, {@link limit} or {@link limitToLast} and
|
|
389
389
|
* can then be passed to {@link query} to create a new query instance that
|
|
390
390
|
* also contains this `QueryConstraint`.
|
|
391
|
-
*/ declare class
|
|
391
|
+
*/ declare class Lh {
|
|
392
392
|
}
|
|
393
393
|
/**
|
|
394
394
|
* A `QueryDocumentSnapshot` contains data read from a document in your
|
|
@@ -400,7 +400,7 @@ declare class bc {
|
|
|
400
400
|
* `DocumentSnapshot`. Since query results contain only existing documents, the
|
|
401
401
|
* `exists` property will always be true and `data()` will never return
|
|
402
402
|
* 'undefined'.
|
|
403
|
-
*/ declare class
|
|
403
|
+
*/ declare class Oh extends kh {
|
|
404
404
|
}
|
|
405
405
|
/**
|
|
406
406
|
* A `QuerySnapshot` contains zero or more `DocumentSnapshot` objects
|
|
@@ -408,13 +408,13 @@ declare class bc {
|
|
|
408
408
|
* array via the `docs` property or enumerated using the `forEach` method. The
|
|
409
409
|
* number of documents can be determined via the `empty` and `size`
|
|
410
410
|
* properties.
|
|
411
|
-
*/ declare class
|
|
411
|
+
*/ declare class Mh {
|
|
412
412
|
/** @hideconstructor */
|
|
413
413
|
constructor(t: any, e: any, n: any, s: any);
|
|
414
414
|
_firestore: any;
|
|
415
415
|
_userDataWriter: any;
|
|
416
416
|
_snapshot: any;
|
|
417
|
-
metadata:
|
|
417
|
+
metadata: Nh;
|
|
418
418
|
query: any;
|
|
419
419
|
/** An array of all the documents in the `QuerySnapshot`. */ get docs(): any[];
|
|
420
420
|
/** The number of documents in the `QuerySnapshot`. */ get size(): any;
|
|
@@ -456,7 +456,7 @@ declare class bc {
|
|
|
456
456
|
*/
|
|
457
457
|
/**
|
|
458
458
|
* Metadata about a snapshot, describing the state of the snapshot.
|
|
459
|
-
*/ declare class
|
|
459
|
+
*/ declare class Nh {
|
|
460
460
|
/** @hideconstructor */
|
|
461
461
|
constructor(t: any, e: any);
|
|
462
462
|
hasPendingWrites: any;
|
|
@@ -498,19 +498,19 @@ declare class bc {
|
|
|
498
498
|
* For examples and further specifications, refer to the
|
|
499
499
|
* {@link https://github.com/google/protobuf/blob/master/src/google/protobuf/timestamp.proto | Timestamp definition}.
|
|
500
500
|
*/
|
|
501
|
-
declare class
|
|
501
|
+
declare class ut {
|
|
502
502
|
/**
|
|
503
503
|
* Creates a new timestamp with the current date, with millisecond precision.
|
|
504
504
|
*
|
|
505
505
|
* @returns a new timestamp representing the current date.
|
|
506
|
-
*/ static now():
|
|
506
|
+
*/ static now(): ut;
|
|
507
507
|
/**
|
|
508
508
|
* Creates a new timestamp from the given date.
|
|
509
509
|
*
|
|
510
510
|
* @param date - The date to initialize the `Timestamp` from.
|
|
511
511
|
* @returns A new `Timestamp` representing the same point in time as the given
|
|
512
512
|
* date.
|
|
513
|
-
*/ static fromDate(t: any):
|
|
513
|
+
*/ static fromDate(t: any): ut;
|
|
514
514
|
/**
|
|
515
515
|
* Creates a new timestamp from the given number of milliseconds.
|
|
516
516
|
*
|
|
@@ -518,7 +518,7 @@ declare class at {
|
|
|
518
518
|
* 1970-01-01T00:00:00Z.
|
|
519
519
|
* @returns A new `Timestamp` representing the same point in time as the given
|
|
520
520
|
* number of milliseconds.
|
|
521
|
-
*/ static fromMillis(t: any):
|
|
521
|
+
*/ static fromMillis(t: any): ut;
|
|
522
522
|
/**
|
|
523
523
|
* Creates a new timestamp.
|
|
524
524
|
*
|
|
@@ -565,11 +565,11 @@ declare class at {
|
|
|
565
565
|
* to be compared using the `>`, `<=`, `>=` and `>` operators.
|
|
566
566
|
*/ valueOf(): string;
|
|
567
567
|
}
|
|
568
|
-
declare const
|
|
568
|
+
declare const Pl_base: {
|
|
569
569
|
new (t: any, e: any): {
|
|
570
570
|
_firestore: any;
|
|
571
571
|
_transaction: any;
|
|
572
|
-
_dataReader:
|
|
572
|
+
_dataReader: ah;
|
|
573
573
|
/**
|
|
574
574
|
* Reads the document referenced by the provided {@link DocumentReference}.
|
|
575
575
|
*
|
|
@@ -608,7 +608,7 @@ declare const ml_base: {
|
|
|
608
608
|
* The `Transaction` object passed to a transaction's `updateFunction` provides
|
|
609
609
|
* the methods to read and write data within the transaction context. See
|
|
610
610
|
* {@link runTransaction}.
|
|
611
|
-
*/ declare class
|
|
611
|
+
*/ declare class Pl extends Pl_base {
|
|
612
612
|
}
|
|
613
613
|
/**
|
|
614
614
|
* @license
|
|
@@ -633,22 +633,22 @@ declare const ml_base: {
|
|
|
633
633
|
* provides methods for adding writes to the write batch. None of the writes
|
|
634
634
|
* will be committed (or visible locally) until {@link WriteBatch.commit} is
|
|
635
635
|
* called.
|
|
636
|
-
*/ declare class
|
|
636
|
+
*/ declare class al {
|
|
637
637
|
/** @hideconstructor */
|
|
638
638
|
constructor(t: any, e: any);
|
|
639
639
|
_firestore: any;
|
|
640
640
|
_commitHandler: any;
|
|
641
641
|
_mutations: any[];
|
|
642
642
|
_committed: boolean;
|
|
643
|
-
_dataReader:
|
|
644
|
-
set(t: any, e: any, n: any):
|
|
645
|
-
update(t: any, e: any, n: any, ...s: any[]):
|
|
643
|
+
_dataReader: ah;
|
|
644
|
+
set(t: any, e: any, n: any): al;
|
|
645
|
+
update(t: any, e: any, n: any, ...s: any[]): al;
|
|
646
646
|
/**
|
|
647
647
|
* Deletes the document referred to by the provided {@link DocumentReference}.
|
|
648
648
|
*
|
|
649
649
|
* @param documentRef - A reference to the document to be deleted.
|
|
650
650
|
* @returns This `WriteBatch` instance. Used for chaining method calls.
|
|
651
|
-
*/ delete(t: any):
|
|
651
|
+
*/ delete(t: any): al;
|
|
652
652
|
/**
|
|
653
653
|
* Commits all of the writes in this write batch as a single atomic unit.
|
|
654
654
|
*
|
|
@@ -668,8 +668,8 @@ declare const ml_base: {
|
|
|
668
668
|
* Represents the database ID a Firestore client is associated with.
|
|
669
669
|
* @internal
|
|
670
670
|
*/
|
|
671
|
-
declare class
|
|
672
|
-
static empty():
|
|
671
|
+
declare class re {
|
|
672
|
+
static empty(): re;
|
|
673
673
|
constructor(t: any, e: any);
|
|
674
674
|
projectId: any;
|
|
675
675
|
database: any;
|
|
@@ -694,10 +694,10 @@ declare class vt {
|
|
|
694
694
|
*/
|
|
695
695
|
/**
|
|
696
696
|
* @internal
|
|
697
|
-
*/ declare class
|
|
698
|
-
static fromPath(t: any):
|
|
699
|
-
static fromName(t: any):
|
|
700
|
-
static empty():
|
|
697
|
+
*/ declare class dt {
|
|
698
|
+
static fromPath(t: any): dt;
|
|
699
|
+
static fromName(t: any): dt;
|
|
700
|
+
static empty(): dt;
|
|
701
701
|
static comparator(t: any, e: any): 0 | 1 | -1;
|
|
702
702
|
static isDocumentKey(t: any): boolean;
|
|
703
703
|
/**
|
|
@@ -705,7 +705,7 @@ declare class vt {
|
|
|
705
705
|
*
|
|
706
706
|
* @param segments - The segments of the path to the document
|
|
707
707
|
* @returns A new instance of DocumentKey
|
|
708
|
-
*/ static fromSegments(t: any):
|
|
708
|
+
*/ static fromSegments(t: any): dt;
|
|
709
709
|
constructor(t: any);
|
|
710
710
|
path: any;
|
|
711
711
|
get collectionGroup(): any;
|
|
@@ -736,14 +736,14 @@ declare class vt {
|
|
|
736
736
|
/**
|
|
737
737
|
* A dot-separated path for navigating sub-objects within a document.
|
|
738
738
|
* @internal
|
|
739
|
-
*/ declare class
|
|
739
|
+
*/ declare class ft extends at {
|
|
740
740
|
/**
|
|
741
741
|
* Returns true if the string could be used as a segment in a field path
|
|
742
742
|
* without escaping.
|
|
743
743
|
*/ static isValidIdentifier(t: any): boolean;
|
|
744
744
|
/**
|
|
745
745
|
* The field designating the key of a document.
|
|
746
|
-
*/ static keyField():
|
|
746
|
+
*/ static keyField(): ft;
|
|
747
747
|
/**
|
|
748
748
|
* Parses a field string from the given server-formatted string.
|
|
749
749
|
*
|
|
@@ -753,16 +753,16 @@ declare class vt {
|
|
|
753
753
|
*
|
|
754
754
|
* TODO(b/37244157): we should make this more strict. Right now, it allows
|
|
755
755
|
* non-identifier path components, even if they aren't escaped.
|
|
756
|
-
*/ static fromServerFormat(t: any):
|
|
757
|
-
static emptyPath():
|
|
758
|
-
construct(t: any, e: any, n: any):
|
|
756
|
+
*/ static fromServerFormat(t: any): ft;
|
|
757
|
+
static emptyPath(): ft;
|
|
758
|
+
construct(t: any, e: any, n: any): ft;
|
|
759
759
|
canonicalString(): any;
|
|
760
760
|
toString(): any;
|
|
761
761
|
/**
|
|
762
762
|
* Returns true if this field references the key of a document.
|
|
763
763
|
*/ isKeyField(): boolean;
|
|
764
764
|
}
|
|
765
|
-
declare function
|
|
765
|
+
declare function Ia(t: any, e: any): any;
|
|
766
766
|
/**
|
|
767
767
|
* Fails if the given assertion condition is false, throwing an Error with the
|
|
768
768
|
* given message if it did.
|
|
@@ -791,7 +791,7 @@ declare function hc(t: any, e: any): any;
|
|
|
791
791
|
*/
|
|
792
792
|
/** Converts a Base64 encoded string to a binary string. */
|
|
793
793
|
/** True if and only if the Base64 conversion functions are available. */
|
|
794
|
-
declare function
|
|
794
|
+
declare function Ht(): boolean;
|
|
795
795
|
/**
|
|
796
796
|
* @internal
|
|
797
797
|
*/ declare function $(t: any, ...e: any[]): void;
|
|
@@ -810,11 +810,11 @@ declare function yt(): boolean;
|
|
|
810
810
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
811
811
|
* See the License for the specific language governing permissions and
|
|
812
812
|
* limitations under the License.
|
|
813
|
-
*/ declare function
|
|
813
|
+
*/ declare function kl(t: any, e: any): Promise<void>;
|
|
814
814
|
/**
|
|
815
815
|
* Validates that two boolean options are not set at the same time.
|
|
816
816
|
* @internal
|
|
817
|
-
*/ declare function
|
|
817
|
+
*/ declare function ma(t: any, e: any, n: any, s: any): void;
|
|
818
818
|
/**
|
|
819
819
|
* Add a new document to specified `CollectionReference` with the given data,
|
|
820
820
|
* assigning it a document ID automatically.
|
|
@@ -824,7 +824,7 @@ declare function yt(): boolean;
|
|
|
824
824
|
* @returns A `Promise` resolved with a `DocumentReference` pointing to the
|
|
825
825
|
* newly created document after it has been written to the backend (Note that it
|
|
826
826
|
* won't resolve while you're offline).
|
|
827
|
-
*/ declare function
|
|
827
|
+
*/ declare function Tl(t: any, e: any): Promise<ba>;
|
|
828
828
|
/**
|
|
829
829
|
* Returns a special value that can be used with {@link (setDoc:1)} or {@link
|
|
830
830
|
* updateDoc:1} that tells the server to remove the given elements from any
|
|
@@ -835,7 +835,7 @@ declare function yt(): boolean;
|
|
|
835
835
|
* @param elements - The elements to remove from the array.
|
|
836
836
|
* @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
|
|
837
837
|
* `updateDoc()`
|
|
838
|
-
*/ declare function
|
|
838
|
+
*/ declare function Cl(...t: any[]): mh;
|
|
839
839
|
/**
|
|
840
840
|
* Returns a special value that can be used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link
|
|
841
841
|
* @firebase/firestore/lite#(updateDoc:1)} that tells the server to union the given elements with any array
|
|
@@ -847,9 +847,9 @@ declare function yt(): boolean;
|
|
|
847
847
|
* @param elements - The elements to union into the array.
|
|
848
848
|
* @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
|
|
849
849
|
* `updateDoc()`.
|
|
850
|
-
*/ declare function
|
|
851
|
-
declare function
|
|
852
|
-
declare function
|
|
850
|
+
*/ declare function Dl(...t: any[]): wh;
|
|
851
|
+
declare function Qa(t: any): Promise<any>;
|
|
852
|
+
declare function Va(t: any, e: any, ...n: any[]): va;
|
|
853
853
|
/**
|
|
854
854
|
* Creates and returns a new `Query` instance that includes all documents in the
|
|
855
855
|
* database that are contained in a collection or subcollection with the
|
|
@@ -860,15 +860,15 @@ declare function yc(t: any, e: any, ...n: any[]): gc;
|
|
|
860
860
|
* collection or subcollection with this ID as the last segment of its path
|
|
861
861
|
* will be included. Cannot contain a slash.
|
|
862
862
|
* @returns The created `Query`.
|
|
863
|
-
*/ declare function
|
|
864
|
-
declare function
|
|
863
|
+
*/ declare function Sa(t: any, e: any): Pa;
|
|
864
|
+
declare function Ra(t: any, e: any, n: any, s?: {}): void;
|
|
865
865
|
/**
|
|
866
866
|
* Deletes the document referred to by the specified `DocumentReference`.
|
|
867
867
|
*
|
|
868
868
|
* @param reference - A reference to the document to delete.
|
|
869
869
|
* @returns A Promise resolved once the document has been successfully
|
|
870
870
|
* deleted from the backend (note that it won't resolve while you're offline).
|
|
871
|
-
*/ declare function
|
|
871
|
+
*/ declare function Il(t: any): Promise<any>;
|
|
872
872
|
/**
|
|
873
873
|
* @license
|
|
874
874
|
* Copyright 2020 Google LLC
|
|
@@ -888,7 +888,7 @@ declare function _c(t: any, e: any, n: any, s?: {}): void;
|
|
|
888
888
|
/**
|
|
889
889
|
* Returns a sentinel for use with {@link @firebase/firestore/lite#(updateDoc:1)} or
|
|
890
890
|
* {@link @firebase/firestore/lite#(setDoc:1)} with `{merge: true}` to mark a field for deletion.
|
|
891
|
-
*/ declare function
|
|
891
|
+
*/ declare function Vl(): fh;
|
|
892
892
|
/**
|
|
893
893
|
* Disables network usage for this instance. It can be re-enabled via {@link
|
|
894
894
|
* enableNetwork}. While the network is disabled, any snapshot listeners,
|
|
@@ -896,12 +896,12 @@ declare function _c(t: any, e: any, n: any, s?: {}): void;
|
|
|
896
896
|
* operations will be queued until the network is restored.
|
|
897
897
|
*
|
|
898
898
|
* @returns A `Promise` that is resolved once the network has been disabled.
|
|
899
|
-
*/ declare function
|
|
900
|
-
declare function
|
|
899
|
+
*/ declare function za(t: any): any;
|
|
900
|
+
declare function Da(t: any, e: any, ...n: any[]): ba;
|
|
901
901
|
/**
|
|
902
902
|
* Returns a special sentinel `FieldPath` to refer to the ID of a document.
|
|
903
903
|
* It can be used in queries to sort or filter by the document ID.
|
|
904
|
-
*/ declare function
|
|
904
|
+
*/ declare function th(): Za;
|
|
905
905
|
/**
|
|
906
906
|
* Attempts to enable persistent storage, if possible.
|
|
907
907
|
*
|
|
@@ -924,7 +924,7 @@ declare function Ic(t: any, e: any, ...n: any[]): wc;
|
|
|
924
924
|
* @param persistenceSettings - Optional settings object to configure
|
|
925
925
|
* persistence.
|
|
926
926
|
* @returns A `Promise` that represents successfully enabling persistent storage.
|
|
927
|
-
*/ declare function
|
|
927
|
+
*/ declare function qa(t: any, e: any): any;
|
|
928
928
|
/**
|
|
929
929
|
* Attempts to enable multi-tab persistent storage, if possible. If enabled
|
|
930
930
|
* across all tabs, all operations share access to local persistence, including
|
|
@@ -946,22 +946,22 @@ declare function Ic(t: any, e: any, ...n: any[]): wc;
|
|
|
946
946
|
* @param firestore - The {@link Firestore} instance to enable persistence for.
|
|
947
947
|
* @returns A `Promise` that represents successfully enabling persistent
|
|
948
948
|
* storage.
|
|
949
|
-
*/ declare function
|
|
949
|
+
*/ declare function Ka(t: any): any;
|
|
950
950
|
/**
|
|
951
951
|
* Re-enables use of the network for this {@link Firestore} instance after a prior
|
|
952
952
|
* call to {@link disableNetwork}.
|
|
953
953
|
*
|
|
954
954
|
* @returns A `Promise` that is resolved once the network has been enabled.
|
|
955
|
-
*/ declare function
|
|
956
|
-
declare function
|
|
957
|
-
declare function
|
|
955
|
+
*/ declare function Wa(t: any): any;
|
|
956
|
+
declare function tl(...t: any[]): Xh;
|
|
957
|
+
declare function Zh(...t: any[]): Xh;
|
|
958
958
|
/**
|
|
959
959
|
* @internal
|
|
960
|
-
*/ declare function
|
|
960
|
+
*/ declare function La(t: any): any;
|
|
961
961
|
/**
|
|
962
962
|
* Locally writes `mutations` on the async queue.
|
|
963
963
|
* @internal
|
|
964
|
-
*/ declare function
|
|
964
|
+
*/ declare function Rl(t: any, e: any): Promise<any>;
|
|
965
965
|
/**
|
|
966
966
|
* @license
|
|
967
967
|
* Copyright 2020 Google LLC
|
|
@@ -1013,21 +1013,21 @@ declare function Kh(...t: any[]): qh;
|
|
|
1013
1013
|
* @returns A Promise resolved with a `DocumentSnapshot` containing the
|
|
1014
1014
|
* current document contents.
|
|
1015
1015
|
*/
|
|
1016
|
-
declare function
|
|
1016
|
+
declare function ll(t: any): Promise<kh>;
|
|
1017
1017
|
/**
|
|
1018
1018
|
* Reads the document referred to by this `DocumentReference` from cache.
|
|
1019
1019
|
* Returns an error if the document is not currently cached.
|
|
1020
1020
|
*
|
|
1021
1021
|
* @returns A `Promise` resolved with a `DocumentSnapshot` containing the
|
|
1022
1022
|
* current document contents.
|
|
1023
|
-
*/ declare function
|
|
1023
|
+
*/ declare function dl(t: any): Promise<kh>;
|
|
1024
1024
|
/**
|
|
1025
1025
|
* Reads the document referred to by this `DocumentReference` from the server.
|
|
1026
1026
|
* Returns an error if the network is not available.
|
|
1027
1027
|
*
|
|
1028
1028
|
* @returns A `Promise` resolved with a `DocumentSnapshot` containing the
|
|
1029
1029
|
* current document contents.
|
|
1030
|
-
*/ declare function
|
|
1030
|
+
*/ declare function _l(t: any): Promise<kh>;
|
|
1031
1031
|
/**
|
|
1032
1032
|
* Executes the query and returns the results as a `QuerySnapshot`.
|
|
1033
1033
|
*
|
|
@@ -1037,19 +1037,19 @@ declare function el(t: any): Promise<Rh>;
|
|
|
1037
1037
|
* invoke {@link getDocsFromCache} or {@link getDocsFromServer}.
|
|
1038
1038
|
*
|
|
1039
1039
|
* @returns A `Promise` that will be resolved with the results of the query.
|
|
1040
|
-
*/ declare function
|
|
1040
|
+
*/ declare function wl(t: any): Promise<Mh>;
|
|
1041
1041
|
/**
|
|
1042
1042
|
* Executes the query and returns the results as a `QuerySnapshot` from cache.
|
|
1043
1043
|
* Returns an error if the document is not currently cached.
|
|
1044
1044
|
*
|
|
1045
1045
|
* @returns A `Promise` that will be resolved with the results of the query.
|
|
1046
|
-
*/ declare function
|
|
1046
|
+
*/ declare function ml(t: any): Promise<Mh>;
|
|
1047
1047
|
/**
|
|
1048
1048
|
* Executes the query and returns the results as a `QuerySnapshot` from the
|
|
1049
1049
|
* server. Returns an error if the network is not available.
|
|
1050
1050
|
*
|
|
1051
1051
|
* @returns A `Promise` that will be resolved with the results of the query.
|
|
1052
|
-
*/ declare function
|
|
1052
|
+
*/ declare function gl(t: any): Promise<Mh>;
|
|
1053
1053
|
/**
|
|
1054
1054
|
* Returns the existing {@link Firestore} instance that is associated with the
|
|
1055
1055
|
* provided {@link @firebase/app#FirebaseApp}. If no instance exists, initializes a new
|
|
@@ -1058,7 +1058,7 @@ declare function el(t: any): Promise<Rh>;
|
|
|
1058
1058
|
* @param app - The {@link @firebase/app#FirebaseApp} instance that the returned {@link Firestore}
|
|
1059
1059
|
* instance is associated with.
|
|
1060
1060
|
* @returns The {@link Firestore} instance of the provided app.
|
|
1061
|
-
*/ declare function
|
|
1061
|
+
*/ declare function Ba(e?: import("@firebase/app").FirebaseApp): import("../src").Firestore;
|
|
1062
1062
|
/**
|
|
1063
1063
|
* Returns a special value that can be used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link
|
|
1064
1064
|
* @firebase/firestore/lite#(updateDoc:1)} that tells the server to increment the field's current value by
|
|
@@ -1077,7 +1077,7 @@ declare function el(t: any): Promise<Rh>;
|
|
|
1077
1077
|
* @param n - The value to increment by.
|
|
1078
1078
|
* @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
|
|
1079
1079
|
* `updateDoc()`
|
|
1080
|
-
*/ declare function
|
|
1080
|
+
*/ declare function xl(t: any): gh;
|
|
1081
1081
|
/**
|
|
1082
1082
|
* Initializes a new instance of {@link Firestore} with the provided settings.
|
|
1083
1083
|
* Can only be called before any other function, including
|
|
@@ -1088,13 +1088,13 @@ declare function el(t: any): Promise<Rh>;
|
|
|
1088
1088
|
* be associated.
|
|
1089
1089
|
* @param settings - A settings object to configure the {@link Firestore} instance.
|
|
1090
1090
|
* @returns A newly initialized {@link Firestore} instance.
|
|
1091
|
-
*/ declare function
|
|
1091
|
+
*/ declare function $a(t: any, e: any): import("../src").Firestore;
|
|
1092
1092
|
/**
|
|
1093
1093
|
* Creates a {@link QueryConstraint} that only returns the first matching documents.
|
|
1094
1094
|
*
|
|
1095
1095
|
* @param limit - The maximum number of items to return.
|
|
1096
1096
|
* @returns The created {@link Query}.
|
|
1097
|
-
*/ declare function
|
|
1097
|
+
*/ declare function Wh(t: any): jh;
|
|
1098
1098
|
/**
|
|
1099
1099
|
* Creates a {@link QueryConstraint} that only returns the last matching documents.
|
|
1100
1100
|
*
|
|
@@ -1103,7 +1103,7 @@ declare function el(t: any): Promise<Rh>;
|
|
|
1103
1103
|
*
|
|
1104
1104
|
* @param limit - The maximum number of items to return.
|
|
1105
1105
|
* @returns The created {@link Query}.
|
|
1106
|
-
*/ declare function
|
|
1106
|
+
*/ declare function zh(t: any): jh;
|
|
1107
1107
|
/**
|
|
1108
1108
|
* Loads a Firestore bundle into the local cache.
|
|
1109
1109
|
*
|
|
@@ -1114,7 +1114,7 @@ declare function el(t: any): Promise<Rh>;
|
|
|
1114
1114
|
* @returns A `LoadBundleTask` object, which notifies callers with progress
|
|
1115
1115
|
* updates, and completion or error events. It can be used as a
|
|
1116
1116
|
* `Promise<LoadBundleTaskProgress>`.
|
|
1117
|
-
*/ declare function
|
|
1117
|
+
*/ declare function Ja(t: any, e: any): Oa;
|
|
1118
1118
|
/**
|
|
1119
1119
|
* Reads a Firestore {@link Query} from local cache, identified by the given
|
|
1120
1120
|
* name.
|
|
@@ -1126,9 +1126,9 @@ declare function el(t: any): Promise<Rh>;
|
|
|
1126
1126
|
* @param firestore - The {@link Firestore} instance to read the query from.
|
|
1127
1127
|
* @param name - The name of the query.
|
|
1128
1128
|
* @returns A `Promise` that is resolved with the Query or `null`.
|
|
1129
|
-
*/ declare function
|
|
1130
|
-
declare function
|
|
1131
|
-
declare function
|
|
1129
|
+
*/ declare function Ya(t: any, e: any): any;
|
|
1130
|
+
declare function El(t: any, ...e: any[]): () => void;
|
|
1131
|
+
declare function Al(t: any, e: any): () => void;
|
|
1132
1132
|
/**
|
|
1133
1133
|
* Creates a {@link QueryConstraint} that sorts the query result by the
|
|
1134
1134
|
* specified field, optionally in descending order instead of ascending.
|
|
@@ -1137,7 +1137,7 @@ declare function dl(t: any, e: any): () => void;
|
|
|
1137
1137
|
* @param directionStr - Optional direction to sort by ('asc' or 'desc'). If
|
|
1138
1138
|
* not specified, order will be ascending.
|
|
1139
1139
|
* @returns The created {@link Query}.
|
|
1140
|
-
*/ declare function
|
|
1140
|
+
*/ declare function Qh(t: any, e?: string): Gh;
|
|
1141
1141
|
/**
|
|
1142
1142
|
* Creates a new immutable instance of {@link Query} that is extended to also include
|
|
1143
1143
|
* additional query constraints.
|
|
@@ -1146,7 +1146,7 @@ declare function dl(t: any, e: any): () => void;
|
|
|
1146
1146
|
* @param queryConstraints - The list of {@link QueryConstraint}s to apply.
|
|
1147
1147
|
* @throws if any of the provided query constraints cannot be combined with the
|
|
1148
1148
|
* existing or new constraints.
|
|
1149
|
-
*/ declare function
|
|
1149
|
+
*/ declare function Uh(t: any, ...e: any[]): any;
|
|
1150
1150
|
/**
|
|
1151
1151
|
* Returns true if the provided queries point to the same collection and apply
|
|
1152
1152
|
* the same constraints.
|
|
@@ -1155,7 +1155,7 @@ declare function dl(t: any, e: any): () => void;
|
|
|
1155
1155
|
* @param right - A `Query` to compare.
|
|
1156
1156
|
* @returns true if the references point to the same location in the same
|
|
1157
1157
|
* Firestore database.
|
|
1158
|
-
*/ declare function
|
|
1158
|
+
*/ declare function xa(t: any, e: any): boolean;
|
|
1159
1159
|
/**
|
|
1160
1160
|
* Returns true if the provided references are equal.
|
|
1161
1161
|
*
|
|
@@ -1163,7 +1163,7 @@ declare function dl(t: any, e: any): () => void;
|
|
|
1163
1163
|
* @param right - A reference to compare.
|
|
1164
1164
|
* @returns true if the references point to the same location in the same
|
|
1165
1165
|
* Firestore database.
|
|
1166
|
-
*/ declare function
|
|
1166
|
+
*/ declare function Ca(t: any, e: any): boolean;
|
|
1167
1167
|
/**
|
|
1168
1168
|
* Executes the given `updateFunction` and then attempts to commit the changes
|
|
1169
1169
|
* applied within the transaction. If any document read within the transaction
|
|
@@ -1176,16 +1176,18 @@ declare function dl(t: any, e: any): () => void;
|
|
|
1176
1176
|
* transaction against.
|
|
1177
1177
|
* @param updateFunction - The function to execute within the transaction
|
|
1178
1178
|
* context.
|
|
1179
|
+
* @param options - An options object to configure maximum number of attempts to
|
|
1180
|
+
* commit.
|
|
1179
1181
|
* @returns If the transaction completed successfully or was explicitly aborted
|
|
1180
1182
|
* (the `updateFunction` returned a failed promise), the promise returned by the
|
|
1181
1183
|
* `updateFunction `is returned here. Otherwise, if the transaction failed, a
|
|
1182
1184
|
* rejected promise with the corresponding failure error is returned.
|
|
1183
|
-
*/ declare function
|
|
1185
|
+
*/ declare function vl(t: any, e: any, n: any): Promise<any>;
|
|
1184
1186
|
/**
|
|
1185
1187
|
* Returns a sentinel used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link @firebase/firestore/lite#(updateDoc:1)} to
|
|
1186
1188
|
* include a server-generated timestamp in the written data.
|
|
1187
|
-
*/ declare function
|
|
1188
|
-
declare function
|
|
1189
|
+
*/ declare function Sl(): _h;
|
|
1190
|
+
declare function yl(t: any, e: any, n: any): Promise<any>;
|
|
1189
1191
|
/**
|
|
1190
1192
|
* Sets the verbosity of Cloud Firestore logs (debug, error, or silent).
|
|
1191
1193
|
*
|
|
@@ -1198,16 +1200,16 @@ declare function al(t: any, e: any, n: any): Promise<any>;
|
|
|
1198
1200
|
* <li>`error` to log errors only.</li>
|
|
1199
1201
|
* <li><code>`silent` to turn off logging.</li>
|
|
1200
1202
|
* </ul>
|
|
1201
|
-
*/ declare function
|
|
1203
|
+
*/ declare function O(t: any): void;
|
|
1202
1204
|
/**
|
|
1203
1205
|
* Returns true if the provided snapshots are equal.
|
|
1204
1206
|
*
|
|
1205
1207
|
* @param left - A snapshot to compare.
|
|
1206
1208
|
* @param right - A snapshot to compare.
|
|
1207
1209
|
* @returns true if the snapshots are equal.
|
|
1208
|
-
*/ declare function
|
|
1209
|
-
declare function
|
|
1210
|
-
declare function
|
|
1210
|
+
*/ declare function $h(t: any, e: any): any;
|
|
1211
|
+
declare function Yh(...t: any[]): Hh;
|
|
1212
|
+
declare function Jh(...t: any[]): Hh;
|
|
1211
1213
|
/**
|
|
1212
1214
|
* Terminates the provided {@link Firestore} instance.
|
|
1213
1215
|
*
|
|
@@ -1229,8 +1231,8 @@ declare function Lh(...t: any[]): Bh;
|
|
|
1229
1231
|
*
|
|
1230
1232
|
* @returns A `Promise` that is resolved when the instance has been successfully
|
|
1231
1233
|
* terminated.
|
|
1232
|
-
*/ declare function
|
|
1233
|
-
declare function
|
|
1234
|
+
*/ declare function Ha(t: any): any;
|
|
1235
|
+
declare function pl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
1234
1236
|
/**
|
|
1235
1237
|
* Waits until all currently pending writes for the active user have been
|
|
1236
1238
|
* acknowledged by the backend.
|
|
@@ -1246,7 +1248,7 @@ declare function cl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1246
1248
|
*
|
|
1247
1249
|
* @returns A `Promise` which resolves when all currently pending writes have been
|
|
1248
1250
|
* acknowledged by the backend.
|
|
1249
|
-
*/ declare function
|
|
1251
|
+
*/ declare function ja(t: any): Promise<any>;
|
|
1250
1252
|
/**
|
|
1251
1253
|
* Creates a {@link QueryConstraint} that enforces that documents must contain the
|
|
1252
1254
|
* specified field and that the value should satisfy the relation constraint
|
|
@@ -1257,7 +1259,7 @@ declare function cl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1257
1259
|
* "<=", "!=").
|
|
1258
1260
|
* @param value - The value for comparison
|
|
1259
1261
|
* @returns The created {@link Query}.
|
|
1260
|
-
*/ declare function
|
|
1262
|
+
*/ declare function Kh(t: any, e: any, n: any): qh;
|
|
1261
1263
|
/**
|
|
1262
1264
|
* @license
|
|
1263
1265
|
* Copyright 2020 Google LLC
|
|
@@ -1284,7 +1286,7 @@ declare function cl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1284
1286
|
*
|
|
1285
1287
|
* @returns A {@link WriteBatch} that can be used to atomically execute multiple
|
|
1286
1288
|
* writes.
|
|
1287
|
-
*/ declare function
|
|
1289
|
+
*/ declare function Nl(t: any): al;
|
|
1288
1290
|
/**
|
|
1289
1291
|
* @license
|
|
1290
1292
|
* Copyright 2020 Google LLC
|
|
@@ -1309,7 +1311,7 @@ declare function cl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1309
1311
|
* For a `DocumentSnapshot` that points to a non-existing document, any data
|
|
1310
1312
|
* access will return 'undefined'. You can use the `exists()` method to
|
|
1311
1313
|
* explicitly verify a document's existence.
|
|
1312
|
-
*/ declare class
|
|
1314
|
+
*/ declare class Dh {
|
|
1313
1315
|
/** @hideconstructor protected */
|
|
1314
1316
|
constructor(t: any, e: any, n: any, s: any, i: any);
|
|
1315
1317
|
_firestore: any;
|
|
@@ -1320,7 +1322,7 @@ declare function cl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1320
1322
|
/** Property of the `DocumentSnapshot` that provides the document's ID. */ get id(): any;
|
|
1321
1323
|
/**
|
|
1322
1324
|
* The `DocumentReference` for the document included in the `DocumentSnapshot`.
|
|
1323
|
-
*/ get ref():
|
|
1325
|
+
*/ get ref(): ba;
|
|
1324
1326
|
/**
|
|
1325
1327
|
* Signals whether or not the document at the snapshot's location exists.
|
|
1326
1328
|
*
|
|
@@ -1364,7 +1366,7 @@ declare function cl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1364
1366
|
* The Cloud Firestore service interface.
|
|
1365
1367
|
*
|
|
1366
1368
|
* Do not call this constructor directly. Instead, use {@link getFirestore}.
|
|
1367
|
-
*/ declare class
|
|
1369
|
+
*/ declare class Aa {
|
|
1368
1370
|
/** @hideconstructor */
|
|
1369
1371
|
constructor(t: any, e: any, n: any);
|
|
1370
1372
|
_authCredentials: any;
|
|
@@ -1374,9 +1376,9 @@ declare function cl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1374
1376
|
*/
|
|
1375
1377
|
type: string;
|
|
1376
1378
|
_persistenceKey: string;
|
|
1377
|
-
_settings:
|
|
1379
|
+
_settings: Ea;
|
|
1378
1380
|
_settingsFrozen: boolean;
|
|
1379
|
-
_databaseId:
|
|
1381
|
+
_databaseId: re;
|
|
1380
1382
|
_app: any;
|
|
1381
1383
|
/**
|
|
1382
1384
|
* The {@link @firebase/app#FirebaseApp} associated with this `Firestore` service
|
|
@@ -1385,14 +1387,14 @@ declare function cl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1385
1387
|
get _initialized(): boolean;
|
|
1386
1388
|
get _terminated(): boolean;
|
|
1387
1389
|
_setSettings(t: any): void;
|
|
1388
|
-
_getSettings():
|
|
1389
|
-
_freezeSettings():
|
|
1390
|
+
_getSettings(): Ea;
|
|
1391
|
+
_freezeSettings(): Ea;
|
|
1390
1392
|
_delete(): Promise<void>;
|
|
1391
1393
|
_terminateTask: Promise<void> | undefined;
|
|
1392
1394
|
/** Returns a JSON-serializable representation of this `Firestore` instance. */ toJSON(): {
|
|
1393
1395
|
app: any;
|
|
1394
|
-
databaseId:
|
|
1395
|
-
settings:
|
|
1396
|
+
databaseId: re;
|
|
1397
|
+
settings: Ea;
|
|
1396
1398
|
};
|
|
1397
1399
|
/**
|
|
1398
1400
|
* Terminates all components used by this client. Subclasses can override
|
|
@@ -1417,17 +1419,17 @@ declare function cl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1417
1419
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1418
1420
|
* See the License for the specific language governing permissions and
|
|
1419
1421
|
* limitations under the License.
|
|
1420
|
-
*/ declare class
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1422
|
+
*/ declare class Na {
|
|
1423
|
+
Oc: Promise<void>;
|
|
1424
|
+
Mc: any[];
|
|
1425
|
+
Fc: boolean;
|
|
1426
|
+
$c: any[];
|
|
1427
|
+
Bc: any;
|
|
1428
|
+
Lc: boolean;
|
|
1429
|
+
Uc: boolean;
|
|
1430
|
+
qc: any[];
|
|
1431
|
+
So: su;
|
|
1432
|
+
Kc: () => void;
|
|
1431
1433
|
get isShuttingDown(): boolean;
|
|
1432
1434
|
/**
|
|
1433
1435
|
* Adds a new operation to the queue without waiting for it to complete (i.e.
|
|
@@ -1440,32 +1442,32 @@ declare function cl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1440
1442
|
/**
|
|
1441
1443
|
* Runs the next operation from the retryable queue. If the operation fails,
|
|
1442
1444
|
* reschedules with backoff.
|
|
1443
|
-
*/
|
|
1444
|
-
|
|
1445
|
-
enqueueAfterDelay(t: any, e: any, n: any):
|
|
1446
|
-
|
|
1445
|
+
*/ jc(): Promise<void>;
|
|
1446
|
+
Qc(t: any): Promise<any>;
|
|
1447
|
+
enqueueAfterDelay(t: any, e: any, n: any): $u;
|
|
1448
|
+
Gc(): void;
|
|
1447
1449
|
verifyOperationInProgress(): void;
|
|
1448
1450
|
/**
|
|
1449
1451
|
* Waits until all currently queued tasks are finished executing. Delayed
|
|
1450
1452
|
* operations are not run.
|
|
1451
|
-
*/
|
|
1453
|
+
*/ zc(): Promise<void>;
|
|
1452
1454
|
/**
|
|
1453
1455
|
* For Tests: Determine if a delayed operation with a particular TimerId
|
|
1454
1456
|
* exists.
|
|
1455
|
-
*/
|
|
1457
|
+
*/ Hc(t: any): boolean;
|
|
1456
1458
|
/**
|
|
1457
1459
|
* For Tests: Runs some or all delayed operations early.
|
|
1458
1460
|
*
|
|
1459
1461
|
* @param lastTimerId - Delayed operations up to and including this TimerId
|
|
1460
1462
|
* will be drained. Pass TimerId.All to run all delayed operations.
|
|
1461
1463
|
* @returns a Promise that resolves once all operations have been run.
|
|
1462
|
-
*/
|
|
1464
|
+
*/ Jc(t: any): Promise<void>;
|
|
1463
1465
|
/**
|
|
1464
1466
|
* For Tests: Skip all subsequent delays for a timer id.
|
|
1465
|
-
*/
|
|
1466
|
-
/** Called once a DelayedOperation is run or canceled. */
|
|
1467
|
+
*/ Yc(t: any): void;
|
|
1468
|
+
/** Called once a DelayedOperation is run or canceled. */ Wc(t: any): void;
|
|
1467
1469
|
}
|
|
1468
|
-
import { FirebaseError as
|
|
1470
|
+
import { FirebaseError as c } from "@firebase/util/dist/src/errors";
|
|
1469
1471
|
/**
|
|
1470
1472
|
* @license
|
|
1471
1473
|
* Copyright 2017 Google LLC
|
|
@@ -1489,12 +1491,12 @@ import { FirebaseError as a } from "@firebase/util/dist/src/errors";
|
|
|
1489
1491
|
/**
|
|
1490
1492
|
* Helper for parsing raw user input (provided via the API) into internal model
|
|
1491
1493
|
* classes.
|
|
1492
|
-
*/ declare class
|
|
1494
|
+
*/ declare class ah {
|
|
1493
1495
|
constructor(t: any, e: any, n: any);
|
|
1494
1496
|
databaseId: any;
|
|
1495
1497
|
ignoreUndefinedProperties: any;
|
|
1496
|
-
|
|
1497
|
-
/** Creates a new top-level parse context. */
|
|
1498
|
+
wt: any;
|
|
1499
|
+
/** Creates a new top-level parse context. */ aa(t: any, e: any, n: any, s?: boolean): ch;
|
|
1498
1500
|
}
|
|
1499
1501
|
declare class Z {
|
|
1500
1502
|
constructor(t: any);
|
|
@@ -1521,7 +1523,7 @@ declare class Z {
|
|
|
1521
1523
|
/**
|
|
1522
1524
|
* Path represents an ordered sequence of string segments.
|
|
1523
1525
|
*/
|
|
1524
|
-
declare class
|
|
1526
|
+
declare class at {
|
|
1525
1527
|
static comparator(t: any, e: any): 0 | 1 | -1;
|
|
1526
1528
|
constructor(t: any, e: any, n: any);
|
|
1527
1529
|
segments: any;
|
|
@@ -1542,67 +1544,67 @@ declare class dt {
|
|
|
1542
1544
|
forEach(t: any): void;
|
|
1543
1545
|
toArray(): any;
|
|
1544
1546
|
}
|
|
1545
|
-
declare class
|
|
1547
|
+
declare class mh extends nh {
|
|
1546
1548
|
constructor(t: any, e: any);
|
|
1547
|
-
|
|
1548
|
-
_toFieldTransform(t: any):
|
|
1549
|
+
ha: any;
|
|
1550
|
+
_toFieldTransform(t: any): On;
|
|
1549
1551
|
isEqual(t: any): boolean;
|
|
1550
1552
|
}
|
|
1551
|
-
declare class
|
|
1553
|
+
declare class wh extends nh {
|
|
1552
1554
|
constructor(t: any, e: any);
|
|
1553
|
-
|
|
1554
|
-
_toFieldTransform(t: any):
|
|
1555
|
+
ha: any;
|
|
1556
|
+
_toFieldTransform(t: any): On;
|
|
1555
1557
|
isEqual(t: any): boolean;
|
|
1556
1558
|
}
|
|
1557
|
-
declare class
|
|
1559
|
+
declare class fh extends nh {
|
|
1558
1560
|
_toFieldTransform(t: any): null;
|
|
1559
1561
|
isEqual(t: any): boolean;
|
|
1560
1562
|
}
|
|
1561
|
-
declare class
|
|
1563
|
+
declare class Xh extends Lh {
|
|
1562
1564
|
constructor(t: any, e: any, n: any);
|
|
1563
1565
|
type: any;
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
_apply(t: any):
|
|
1566
|
+
ya: any;
|
|
1567
|
+
pa: any;
|
|
1568
|
+
_apply(t: any): Pa;
|
|
1567
1569
|
}
|
|
1568
|
-
declare class
|
|
1570
|
+
declare class gh extends nh {
|
|
1569
1571
|
constructor(t: any, e: any);
|
|
1570
|
-
|
|
1571
|
-
_toFieldTransform(t: any):
|
|
1572
|
+
la: any;
|
|
1573
|
+
_toFieldTransform(t: any): On;
|
|
1572
1574
|
isEqual(t: any): boolean;
|
|
1573
1575
|
}
|
|
1574
|
-
declare class
|
|
1576
|
+
declare class jh extends Lh {
|
|
1575
1577
|
constructor(t: any, e: any, n: any);
|
|
1576
1578
|
type: any;
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
_apply(t: any):
|
|
1579
|
+
ma: any;
|
|
1580
|
+
ga: any;
|
|
1581
|
+
_apply(t: any): Pa;
|
|
1580
1582
|
}
|
|
1581
|
-
declare class
|
|
1583
|
+
declare class Gh extends Lh {
|
|
1582
1584
|
constructor(t: any, e: any);
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
+
fa: any;
|
|
1586
|
+
wa: any;
|
|
1585
1587
|
type: string;
|
|
1586
|
-
_apply(t: any):
|
|
1588
|
+
_apply(t: any): Pa;
|
|
1587
1589
|
}
|
|
1588
|
-
declare class
|
|
1589
|
-
_toFieldTransform(t: any):
|
|
1590
|
+
declare class _h extends nh {
|
|
1591
|
+
_toFieldTransform(t: any): On;
|
|
1590
1592
|
isEqual(t: any): boolean;
|
|
1591
1593
|
}
|
|
1592
|
-
declare class
|
|
1594
|
+
declare class Hh extends Lh {
|
|
1593
1595
|
constructor(t: any, e: any, n: any);
|
|
1594
1596
|
type: any;
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
_apply(t: any):
|
|
1597
|
+
ya: any;
|
|
1598
|
+
pa: any;
|
|
1599
|
+
_apply(t: any): Pa;
|
|
1598
1600
|
}
|
|
1599
|
-
declare class
|
|
1601
|
+
declare class qh extends Lh {
|
|
1600
1602
|
constructor(t: any, e: any, n: any);
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1603
|
+
fa: any;
|
|
1604
|
+
da: any;
|
|
1605
|
+
_a: any;
|
|
1604
1606
|
type: string;
|
|
1605
|
-
_apply(t: any):
|
|
1607
|
+
_apply(t: any): Pa;
|
|
1606
1608
|
}
|
|
1607
1609
|
/**
|
|
1608
1610
|
* @license
|
|
@@ -1625,7 +1627,7 @@ declare class xh extends Dh {
|
|
|
1625
1627
|
* user-supplied `FirestoreSettings` object. This is a separate type so that
|
|
1626
1628
|
* defaults can be supplied and the value can be checked for equality.
|
|
1627
1629
|
*/
|
|
1628
|
-
declare class
|
|
1630
|
+
declare class Ea {
|
|
1629
1631
|
constructor(t: any);
|
|
1630
1632
|
host: any;
|
|
1631
1633
|
ssl: any;
|
|
@@ -1649,17 +1651,17 @@ declare class fc {
|
|
|
1649
1651
|
* base delay. This prevents clients from accidentally synchronizing their
|
|
1650
1652
|
* delays causing spikes of load to the backend.
|
|
1651
1653
|
*/
|
|
1652
|
-
declare class
|
|
1654
|
+
declare class su {
|
|
1653
1655
|
constructor(t: any, e: any, n?: number, s?: number, i?: number);
|
|
1654
|
-
|
|
1656
|
+
js: any;
|
|
1655
1657
|
timerId: any;
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1658
|
+
lo: number;
|
|
1659
|
+
fo: number;
|
|
1660
|
+
_o: number;
|
|
1661
|
+
wo: number;
|
|
1662
|
+
mo: any;
|
|
1661
1663
|
/** The last backoff attempt, as epoch milliseconds. */
|
|
1662
|
-
|
|
1664
|
+
yo: number;
|
|
1663
1665
|
/**
|
|
1664
1666
|
* Resets the backoff delay.
|
|
1665
1667
|
*
|
|
@@ -1670,15 +1672,15 @@ declare class Wo {
|
|
|
1670
1672
|
/**
|
|
1671
1673
|
* Resets the backoff delay to the maximum delay (e.g. for use after a
|
|
1672
1674
|
* RESOURCE_EXHAUSTED error).
|
|
1673
|
-
*/
|
|
1675
|
+
*/ po(): void;
|
|
1674
1676
|
/**
|
|
1675
1677
|
* Returns a promise that resolves after currentDelayMs, and increases the
|
|
1676
1678
|
* delay for any subsequent attempts. If there was a pending backoff operation
|
|
1677
1679
|
* already, it will be canceled.
|
|
1678
|
-
*/
|
|
1679
|
-
|
|
1680
|
+
*/ Io(t: any): void;
|
|
1681
|
+
Eo(): void;
|
|
1680
1682
|
cancel(): void;
|
|
1681
|
-
/** Returns a random value in the range [-currentBaseMs/2, currentBaseMs/2] */
|
|
1683
|
+
/** Returns a random value in the range [-currentBaseMs/2, currentBaseMs/2] */ To(): number;
|
|
1682
1684
|
}
|
|
1683
1685
|
/**
|
|
1684
1686
|
* @license
|
|
@@ -1707,7 +1709,7 @@ declare class Wo {
|
|
|
1707
1709
|
* in newer versions of TypeScript defines `finally`, which is not available in
|
|
1708
1710
|
* IE.
|
|
1709
1711
|
*/
|
|
1710
|
-
declare class
|
|
1712
|
+
declare class $u {
|
|
1711
1713
|
/**
|
|
1712
1714
|
* Creates and returns a DelayedOperation that has been scheduled to be
|
|
1713
1715
|
* executed on the provided asyncQueue after the provided delayMs.
|
|
@@ -1721,7 +1723,7 @@ declare class vu {
|
|
|
1721
1723
|
* from its delayedOperations list.
|
|
1722
1724
|
* PORTING NOTE: This exists to prevent making removeDelayedOperation() and
|
|
1723
1725
|
* the DelayedOperation class public.
|
|
1724
|
-
*/ 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): $u;
|
|
1725
1727
|
constructor(t: any, e: any, n: any, s: any, i: any);
|
|
1726
1728
|
asyncQueue: any;
|
|
1727
1729
|
timerId: any;
|
|
@@ -1749,7 +1751,7 @@ declare class vu {
|
|
|
1749
1751
|
handleDelayElapsed(): void;
|
|
1750
1752
|
clearTimeout(): void;
|
|
1751
1753
|
}
|
|
1752
|
-
/** A "context" object passed around while parsing user data. */ declare class
|
|
1754
|
+
/** A "context" object passed around while parsing user data. */ declare class ch {
|
|
1753
1755
|
/**
|
|
1754
1756
|
* Initializes a ParseContext with the given source and path.
|
|
1755
1757
|
*
|
|
@@ -1771,20 +1773,20 @@ declare class vu {
|
|
|
1771
1773
|
constructor(t: any, e: any, n: any, s: any, i: any, r: any);
|
|
1772
1774
|
settings: any;
|
|
1773
1775
|
databaseId: any;
|
|
1774
|
-
|
|
1776
|
+
wt: any;
|
|
1775
1777
|
ignoreUndefinedProperties: any;
|
|
1776
1778
|
fieldTransforms: any;
|
|
1777
1779
|
fieldMask: any;
|
|
1778
1780
|
get path(): any;
|
|
1779
|
-
get
|
|
1780
|
-
/** Returns a new context with the specified settings overwritten. */
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1781
|
+
get Zc(): any;
|
|
1782
|
+
/** Returns a new context with the specified settings overwritten. */ ta(t: any): ch;
|
|
1783
|
+
ea(t: any): ch;
|
|
1784
|
+
ia(t: any): ch;
|
|
1785
|
+
ra(t: any): ch;
|
|
1786
|
+
oa(t: any): Q;
|
|
1785
1787
|
/** Returns 'true' if 'fieldPath' was traversed when creating this context. */ contains(t: any): boolean;
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
+
Xc(): void;
|
|
1789
|
+
sa(t: any): void;
|
|
1788
1790
|
}
|
|
1789
1791
|
/**
|
|
1790
1792
|
* @license
|
|
@@ -1802,9 +1804,9 @@ declare class vu {
|
|
|
1802
1804
|
* See the License for the specific language governing permissions and
|
|
1803
1805
|
* limitations under the License.
|
|
1804
1806
|
*/
|
|
1805
|
-
/** 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 On {
|
|
1806
1808
|
constructor(t: any, e: any);
|
|
1807
1809
|
field: any;
|
|
1808
1810
|
transform: any;
|
|
1809
1811
|
}
|
|
1810
|
-
export {
|
|
1812
|
+
export { ol as AbstractUserDataWriter, eh as Bytes, Ma as CACHE_SIZE_UNLIMITED, va as CollectionReference, ba as DocumentReference, kh as DocumentSnapshot, Za as FieldPath, nh as FieldValue, Fa as Firestore, Q as FirestoreError, sh as GeoPoint, Oa as LoadBundleTask, Pa as Query, Lh as QueryConstraint, Oh as QueryDocumentSnapshot, Mh as QuerySnapshot, Nh as SnapshotMetadata, ut as Timestamp, Pl as Transaction, al as WriteBatch, re as _DatabaseId, dt as _DocumentKey, et as _EmptyAppCheckTokenProvider, z as _EmptyAuthCredentialsProvider, ft as _FieldPath, Ia as _cast, q as _debugAssert, Ht as _isBase64Available, $ as _logWarn, kl as _setIndexConfiguration, ma as _validateIsNotUsedTogether, Tl as addDoc, Cl as arrayRemove, Dl as arrayUnion, Qa as clearIndexedDbPersistence, Va as collection, Sa as collectionGroup, Ra as connectFirestoreEmulator, Il as deleteDoc, Vl as deleteField, za as disableNetwork, Da as doc, th as documentId, qa as enableIndexedDbPersistence, Ka as enableMultiTabIndexedDbPersistence, Wa as enableNetwork, tl as endAt, Zh as endBefore, La as ensureFirestoreConfigured, Rl as executeWrite, ll as getDoc, dl as getDocFromCache, _l as getDocFromServer, wl as getDocs, ml as getDocsFromCache, gl as getDocsFromServer, Ba as getFirestore, xl as increment, $a as initializeFirestore, Wh as limit, zh as limitToLast, Ja as loadBundle, Ya as namedQuery, El as onSnapshot, Al as onSnapshotsInSync, Qh as orderBy, Uh as query, xa as queryEqual, Ca as refEqual, vl as runTransaction, Sl as serverTimestamp, yl as setDoc, O as setLogLevel, $h as snapshotEqual, Yh as startAfter, Jh as startAt, Ha as terminate, pl as updateDoc, ja as waitForPendingWrites, Kh as where, Nl as writeBatch };
|