@firebase/firestore 3.4.4-canary.2dd99ae2d → 3.4.4-canary.3e9f3e253
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/dist/firestore/src/api/credentials.d.ts +1 -0
- package/dist/firestore/src/api/snapshot.d.ts +1 -2
- package/dist/firestore/src/core/target.d.ts +8 -4
- package/dist/firestore/src/lite-api/query.d.ts +2 -2
- package/dist/firestore/src/local/document_overlay_cache.d.ts +72 -0
- package/dist/firestore/src/local/index_manager.d.ts +52 -0
- package/dist/firestore/src/local/indexeddb_document_overlay_cache.d.ts +45 -0
- package/dist/firestore/src/local/indexeddb_index_manager.d.ts +21 -2
- package/dist/firestore/src/local/indexeddb_persistence.d.ts +6 -4
- package/dist/firestore/src/local/indexeddb_remote_document_cache.d.ts +2 -8
- package/dist/firestore/src/local/indexeddb_schema.d.ts +193 -7
- package/dist/firestore/src/local/local_documents_view.d.ts +0 -1
- package/dist/firestore/src/local/local_serializer.d.ts +18 -2
- package/dist/firestore/src/local/memory_document_overlay_cache.d.ts +37 -0
- package/dist/firestore/src/local/memory_index_manager.d.ts +11 -0
- package/dist/firestore/src/local/memory_persistence.d.ts +6 -2
- package/dist/firestore/src/local/memory_remote_document_cache.d.ts +1 -3
- package/dist/firestore/src/local/persistence.d.ts +8 -2
- package/dist/firestore/src/local/remote_document_cache.d.ts +7 -9
- package/dist/firestore/src/local/simple_db.d.ts +1 -0
- package/dist/firestore/src/model/document_key.d.ts +4 -0
- package/dist/firestore/src/model/field_index.d.ts +2 -2
- package/dist/firestore/src/model/overlay.d.ts +32 -0
- package/dist/firestore/src/model/target_index_matcher.d.ts +70 -0
- package/dist/firestore/test/unit/local/counting_query_engine.d.ts +3 -3
- package/dist/firestore/test/unit/local/document_overlay_cache.test.d.ts +1 -0
- package/dist/firestore/test/unit/local/persistence_test_helpers.d.ts +1 -0
- package/dist/firestore/test/unit/local/test_document_overlay_cache.d.ts +38 -0
- package/dist/firestore/test/unit/local/test_index_manager.d.ts +11 -0
- package/dist/firestore/test/unit/local/test_remote_document_cache.d.ts +4 -2
- package/dist/firestore/test/unit/local/test_remote_document_change_buffer.d.ts +1 -1
- package/dist/firestore/test/unit/model/target_index_matcher.test.d.ts +17 -0
- package/dist/firestore/test/util/helpers.d.ts +1 -1
- package/dist/index.d.ts +1 -2
- package/dist/index.esm2017.js +3864 -3349
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +3879 -3455
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +878 -221
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.node.mjs +878 -221
- package/dist/index.node.mjs.map +1 -1
- package/dist/index.rn.js +3973 -3458
- package/dist/index.rn.js.map +1 -1
- package/dist/internal.d.ts +252 -14
- package/dist/lite/firestore/src/api/credentials.d.ts +1 -0
- package/dist/lite/firestore/src/api/snapshot.d.ts +1 -2
- package/dist/lite/firestore/src/core/target.d.ts +8 -4
- package/dist/lite/firestore/src/lite-api/query.d.ts +2 -2
- package/dist/lite/firestore/src/local/document_overlay_cache.d.ts +72 -0
- package/dist/lite/firestore/src/local/index_manager.d.ts +52 -0
- package/dist/lite/firestore/src/local/indexeddb_document_overlay_cache.d.ts +45 -0
- package/dist/lite/firestore/src/local/indexeddb_index_manager.d.ts +21 -2
- package/dist/lite/firestore/src/local/indexeddb_persistence.d.ts +6 -4
- package/dist/lite/firestore/src/local/indexeddb_remote_document_cache.d.ts +2 -8
- package/dist/lite/firestore/src/local/indexeddb_schema.d.ts +193 -7
- package/dist/lite/firestore/src/local/local_documents_view.d.ts +0 -1
- package/dist/lite/firestore/src/local/local_serializer.d.ts +18 -2
- package/dist/lite/firestore/src/local/memory_document_overlay_cache.d.ts +37 -0
- package/dist/lite/firestore/src/local/memory_index_manager.d.ts +11 -0
- package/dist/lite/firestore/src/local/memory_persistence.d.ts +6 -2
- package/dist/lite/firestore/src/local/memory_remote_document_cache.d.ts +1 -3
- package/dist/lite/firestore/src/local/persistence.d.ts +8 -2
- package/dist/lite/firestore/src/local/remote_document_cache.d.ts +7 -9
- package/dist/lite/firestore/src/local/simple_db.d.ts +1 -0
- package/dist/lite/firestore/src/model/document_key.d.ts +4 -0
- package/dist/lite/firestore/src/model/field_index.d.ts +2 -2
- package/dist/lite/firestore/src/model/overlay.d.ts +32 -0
- package/dist/lite/firestore/src/model/target_index_matcher.d.ts +70 -0
- package/dist/lite/firestore/test/unit/local/counting_query_engine.d.ts +3 -3
- package/dist/lite/firestore/test/unit/local/document_overlay_cache.test.d.ts +1 -0
- package/dist/lite/firestore/test/unit/local/persistence_test_helpers.d.ts +1 -0
- package/dist/lite/firestore/test/unit/local/test_document_overlay_cache.d.ts +38 -0
- package/dist/lite/firestore/test/unit/local/test_index_manager.d.ts +11 -0
- package/dist/lite/firestore/test/unit/local/test_remote_document_cache.d.ts +4 -2
- package/dist/lite/firestore/test/unit/local/test_remote_document_change_buffer.d.ts +1 -1
- package/dist/lite/firestore/test/unit/model/target_index_matcher.test.d.ts +17 -0
- package/dist/lite/firestore/test/util/helpers.d.ts +1 -1
- package/dist/lite/index.browser.esm2017.js +1152 -1143
- package/dist/lite/index.browser.esm2017.js.map +1 -1
- package/dist/lite/index.browser.esm5.js +348 -341
- package/dist/lite/index.browser.esm5.js.map +1 -1
- package/dist/lite/index.node.cjs.js +44 -29
- package/dist/lite/index.node.cjs.js.map +1 -1
- package/dist/lite/index.node.mjs +44 -29
- package/dist/lite/index.node.mjs.map +1 -1
- package/dist/lite/index.rn.esm2017.js +1180 -1171
- package/dist/lite/index.rn.esm2017.js.map +1 -1
- package/dist/lite/internal.d.ts +6 -2
- package/dist/lite/packages/firestore/dist/lite/index.browser.esm2017.d.ts +121 -121
- package/dist/lite/packages/firestore/src/api/credentials.d.ts +1 -0
- package/dist/lite/packages/firestore/src/api/snapshot.d.ts +1 -2
- package/dist/lite/packages/firestore/src/core/target.d.ts +8 -4
- package/dist/lite/packages/firestore/src/lite-api/query.d.ts +2 -2
- package/dist/lite/packages/firestore/src/local/document_overlay_cache.d.ts +72 -0
- package/dist/lite/packages/firestore/src/local/index_manager.d.ts +52 -0
- package/dist/lite/packages/firestore/src/local/indexeddb_document_overlay_cache.d.ts +45 -0
- package/dist/lite/packages/firestore/src/local/indexeddb_index_manager.d.ts +21 -2
- package/dist/lite/packages/firestore/src/local/indexeddb_persistence.d.ts +6 -4
- package/dist/lite/packages/firestore/src/local/indexeddb_remote_document_cache.d.ts +2 -8
- package/dist/lite/packages/firestore/src/local/indexeddb_schema.d.ts +193 -7
- package/dist/lite/packages/firestore/src/local/local_documents_view.d.ts +0 -1
- package/dist/lite/packages/firestore/src/local/local_serializer.d.ts +18 -2
- package/dist/lite/packages/firestore/src/local/memory_document_overlay_cache.d.ts +37 -0
- package/dist/lite/packages/firestore/src/local/memory_index_manager.d.ts +11 -0
- package/dist/lite/packages/firestore/src/local/memory_persistence.d.ts +6 -2
- package/dist/lite/packages/firestore/src/local/memory_remote_document_cache.d.ts +1 -3
- package/dist/lite/packages/firestore/src/local/persistence.d.ts +8 -2
- package/dist/lite/packages/firestore/src/local/remote_document_cache.d.ts +7 -9
- package/dist/lite/packages/firestore/src/local/simple_db.d.ts +1 -0
- package/dist/lite/packages/firestore/src/model/document_key.d.ts +4 -0
- package/dist/lite/packages/firestore/src/model/field_index.d.ts +2 -2
- package/dist/lite/packages/firestore/src/model/overlay.d.ts +32 -0
- package/dist/lite/packages/firestore/src/model/target_index_matcher.d.ts +70 -0
- package/dist/lite/packages/firestore/test/unit/local/counting_query_engine.d.ts +3 -3
- package/dist/lite/packages/firestore/test/unit/local/document_overlay_cache.test.d.ts +1 -0
- package/dist/lite/packages/firestore/test/unit/local/persistence_test_helpers.d.ts +1 -0
- package/dist/lite/packages/firestore/test/unit/local/test_document_overlay_cache.d.ts +38 -0
- package/dist/lite/packages/firestore/test/unit/local/test_index_manager.d.ts +11 -0
- package/dist/lite/packages/firestore/test/unit/local/test_remote_document_cache.d.ts +4 -2
- package/dist/lite/packages/firestore/test/unit/local/test_remote_document_change_buffer.d.ts +1 -1
- package/dist/lite/packages/firestore/test/unit/model/target_index_matcher.test.d.ts +17 -0
- package/dist/lite/packages/firestore/test/util/helpers.d.ts +1 -1
- package/dist/lite/private.d.ts +2 -2
- package/dist/packages/firestore/dist/index.esm2017.d.ts +181 -179
- package/dist/packages/firestore/src/api/credentials.d.ts +1 -0
- package/dist/packages/firestore/src/api/snapshot.d.ts +1 -2
- package/dist/packages/firestore/src/core/target.d.ts +8 -4
- package/dist/packages/firestore/src/lite-api/query.d.ts +2 -2
- package/dist/packages/firestore/src/local/document_overlay_cache.d.ts +72 -0
- package/dist/packages/firestore/src/local/index_manager.d.ts +52 -0
- package/dist/packages/firestore/src/local/indexeddb_document_overlay_cache.d.ts +45 -0
- package/dist/packages/firestore/src/local/indexeddb_index_manager.d.ts +21 -2
- package/dist/packages/firestore/src/local/indexeddb_persistence.d.ts +6 -4
- package/dist/packages/firestore/src/local/indexeddb_remote_document_cache.d.ts +2 -8
- package/dist/packages/firestore/src/local/indexeddb_schema.d.ts +193 -7
- package/dist/packages/firestore/src/local/local_documents_view.d.ts +0 -1
- package/dist/packages/firestore/src/local/local_serializer.d.ts +18 -2
- package/dist/packages/firestore/src/local/memory_document_overlay_cache.d.ts +37 -0
- package/dist/packages/firestore/src/local/memory_index_manager.d.ts +11 -0
- package/dist/packages/firestore/src/local/memory_persistence.d.ts +6 -2
- package/dist/packages/firestore/src/local/memory_remote_document_cache.d.ts +1 -3
- package/dist/packages/firestore/src/local/persistence.d.ts +8 -2
- package/dist/packages/firestore/src/local/remote_document_cache.d.ts +7 -9
- package/dist/packages/firestore/src/local/simple_db.d.ts +1 -0
- package/dist/packages/firestore/src/model/document_key.d.ts +4 -0
- package/dist/packages/firestore/src/model/field_index.d.ts +2 -2
- package/dist/packages/firestore/src/model/overlay.d.ts +32 -0
- package/dist/packages/firestore/src/model/target_index_matcher.d.ts +70 -0
- package/dist/packages/firestore/test/unit/local/counting_query_engine.d.ts +3 -3
- package/dist/packages/firestore/test/unit/local/document_overlay_cache.test.d.ts +1 -0
- package/dist/packages/firestore/test/unit/local/persistence_test_helpers.d.ts +1 -0
- package/dist/packages/firestore/test/unit/local/test_document_overlay_cache.d.ts +38 -0
- package/dist/packages/firestore/test/unit/local/test_index_manager.d.ts +11 -0
- package/dist/packages/firestore/test/unit/local/test_remote_document_cache.d.ts +4 -2
- package/dist/packages/firestore/test/unit/local/test_remote_document_change_buffer.d.ts +1 -1
- package/dist/packages/firestore/test/unit/model/target_index_matcher.test.d.ts +17 -0
- package/dist/packages/firestore/test/util/helpers.d.ts +1 -1
- package/dist/private.d.ts +248 -14
- package/package.json +9 -9
|
@@ -19,13 +19,13 @@
|
|
|
19
19
|
* to the user.
|
|
20
20
|
*
|
|
21
21
|
* @internal
|
|
22
|
-
*/ declare class
|
|
22
|
+
*/ declare class Th {
|
|
23
23
|
convertValue(t: any, e?: string): any;
|
|
24
24
|
convertObject(t: any, e: any): {};
|
|
25
|
-
convertGeoPoint(t: any):
|
|
25
|
+
convertGeoPoint(t: any): ya;
|
|
26
26
|
convertArray(t: any, e: any): any;
|
|
27
27
|
convertServerTimestamp(t: any, e: any): any;
|
|
28
|
-
convertTimestamp(t: any):
|
|
28
|
+
convertTimestamp(t: any): ut;
|
|
29
29
|
convertDocumentKey(t: any, e: any): Nt;
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
@@ -46,18 +46,18 @@
|
|
|
46
46
|
*/
|
|
47
47
|
/**
|
|
48
48
|
* An immutable object representing an array of bytes.
|
|
49
|
-
*/ declare class
|
|
49
|
+
*/ declare class ma {
|
|
50
50
|
/**
|
|
51
51
|
* Creates a new `Bytes` object from the given Base64 string, converting it to
|
|
52
52
|
* bytes.
|
|
53
53
|
*
|
|
54
54
|
* @param base64 - The Base64 string used to create the `Bytes` object.
|
|
55
|
-
*/ static fromBase64String(t: any):
|
|
55
|
+
*/ static fromBase64String(t: any): ma;
|
|
56
56
|
/**
|
|
57
57
|
* Creates a new `Bytes` object from the given Uint8Array.
|
|
58
58
|
*
|
|
59
59
|
* @param array - The Uint8Array used to create the `Bytes` object.
|
|
60
|
-
*/ static fromUint8Array(t: any):
|
|
60
|
+
*/ static fromUint8Array(t: any): ma;
|
|
61
61
|
/** @hideconstructor */
|
|
62
62
|
constructor(t: any);
|
|
63
63
|
_byteString: any;
|
|
@@ -99,11 +99,11 @@
|
|
|
99
99
|
* See the License for the specific language governing permissions and
|
|
100
100
|
* limitations under the License.
|
|
101
101
|
*/
|
|
102
|
-
/** DOMException error code constants. */ declare const
|
|
102
|
+
/** DOMException error code constants. */ declare const Yu: -1;
|
|
103
103
|
/**
|
|
104
104
|
* A `CollectionReference` object can be used for adding documents, getting
|
|
105
105
|
* document references, and querying for documents (using {@link query}).
|
|
106
|
-
*/ declare class
|
|
106
|
+
*/ declare class Uu extends qu {
|
|
107
107
|
_path: any;
|
|
108
108
|
/** The collection's identifier. */ get id(): any;
|
|
109
109
|
/**
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
/**
|
|
114
114
|
* A reference to the containing `DocumentReference` if this is a
|
|
115
115
|
* subcollection. If this isn't a subcollection, the reference is null.
|
|
116
|
-
*/ get parent():
|
|
116
|
+
*/ get parent(): Bu | null;
|
|
117
117
|
}
|
|
118
118
|
/**
|
|
119
119
|
* @license
|
|
@@ -135,7 +135,7 @@
|
|
|
135
135
|
* A `DocumentReference` refers to a document location in a Firestore database
|
|
136
136
|
* and can be used to write, read, or listen to the location. The document at
|
|
137
137
|
* the referenced location may or may not exist.
|
|
138
|
-
*/ declare class
|
|
138
|
+
*/ declare class Bu {
|
|
139
139
|
/** @hideconstructor */
|
|
140
140
|
constructor(t: any, e: any, n: any);
|
|
141
141
|
converter: any;
|
|
@@ -153,8 +153,8 @@
|
|
|
153
153
|
*/ get path(): any;
|
|
154
154
|
/**
|
|
155
155
|
* The collection this `DocumentReference` belongs to.
|
|
156
|
-
*/ get parent():
|
|
157
|
-
withConverter(t: any):
|
|
156
|
+
*/ get parent(): Uu;
|
|
157
|
+
withConverter(t: any): Bu;
|
|
158
158
|
}
|
|
159
159
|
/**
|
|
160
160
|
* A `DocumentSnapshot` contains data read from a document in your Firestore
|
|
@@ -164,7 +164,7 @@
|
|
|
164
164
|
* For a `DocumentSnapshot` that points to a non-existing document, any data
|
|
165
165
|
* access will return 'undefined'. You can use the `exists()` method to
|
|
166
166
|
* explicitly verify a document's existence.
|
|
167
|
-
*/ declare class
|
|
167
|
+
*/ declare class Ha extends ja {
|
|
168
168
|
/** @hideconstructor protected */
|
|
169
169
|
constructor(t: any, e: any, n: any, s: any, i: any, r: any);
|
|
170
170
|
_firestoreImpl: any;
|
|
@@ -210,7 +210,7 @@
|
|
|
210
210
|
* Create a `FieldPath` by providing field names. If more than one field
|
|
211
211
|
* name is provided, the path will point to a nested field in a document.
|
|
212
212
|
*/
|
|
213
|
-
declare class
|
|
213
|
+
declare class wa {
|
|
214
214
|
/**
|
|
215
215
|
* Creates a `FieldPath` from the provided field names. If more than one field
|
|
216
216
|
* name is provided, the path will point to a nested field in a document.
|
|
@@ -245,7 +245,7 @@ declare class iu {
|
|
|
245
245
|
/**
|
|
246
246
|
* Sentinel values that can be used when writing document fields with `set()`
|
|
247
247
|
* or `update()`.
|
|
248
|
-
*/ declare class
|
|
248
|
+
*/ declare class ga {
|
|
249
249
|
/**
|
|
250
250
|
* @param _methodName - The public API endpoint that returns this class.
|
|
251
251
|
* @hideconstructor
|
|
@@ -258,10 +258,10 @@ declare class iu {
|
|
|
258
258
|
*
|
|
259
259
|
* Do not call this constructor directly. Instead, use {@link getFirestore}.
|
|
260
260
|
*/
|
|
261
|
-
declare class
|
|
262
|
-
_queue:
|
|
261
|
+
declare class Xu extends Mu {
|
|
262
|
+
_queue: zu;
|
|
263
263
|
}
|
|
264
|
-
/** An error returned by a Firestore operation. */ declare class
|
|
264
|
+
/** An error returned by a Firestore operation. */ declare class j extends u {
|
|
265
265
|
/** @hideconstructor */
|
|
266
266
|
constructor(t: any, e: any);
|
|
267
267
|
}
|
|
@@ -287,7 +287,7 @@ declare class qa extends Va {
|
|
|
287
287
|
*
|
|
288
288
|
* Latitude values are in the range of [-90, 90].
|
|
289
289
|
* Longitude values are in the range of [-180, 180].
|
|
290
|
-
*/ declare class
|
|
290
|
+
*/ declare class ya {
|
|
291
291
|
/**
|
|
292
292
|
* Creates a new immutable `GeoPoint` object with the provided latitude and
|
|
293
293
|
* longitude values.
|
|
@@ -318,9 +318,9 @@ declare class qa extends Va {
|
|
|
318
318
|
* with an underscore.
|
|
319
319
|
*/ _compareTo(t: any): 0 | 1 | -1;
|
|
320
320
|
}
|
|
321
|
-
declare class
|
|
321
|
+
declare class Ju {
|
|
322
322
|
_progressObserver: {};
|
|
323
|
-
_taskCompletionResolver:
|
|
323
|
+
_taskCompletionResolver: Q;
|
|
324
324
|
_lastProgress: {
|
|
325
325
|
taskState: string;
|
|
326
326
|
totalBytes: number;
|
|
@@ -370,7 +370,7 @@ declare class Ba {
|
|
|
370
370
|
/**
|
|
371
371
|
* A `Query` refers to a query which you can read or listen to. You can also
|
|
372
372
|
* construct refined `Query` objects by adding filters and ordering.
|
|
373
|
-
*/ declare class
|
|
373
|
+
*/ declare class qu {
|
|
374
374
|
/** @hideconstructor protected */
|
|
375
375
|
constructor(t: any, e: any, n: any);
|
|
376
376
|
converter: any;
|
|
@@ -378,7 +378,7 @@ declare class Ba {
|
|
|
378
378
|
/** The type of this Firestore reference. */
|
|
379
379
|
type: string;
|
|
380
380
|
firestore: any;
|
|
381
|
-
withConverter(t: any):
|
|
381
|
+
withConverter(t: any): qu;
|
|
382
382
|
}
|
|
383
383
|
/**
|
|
384
384
|
* A `QueryConstraint` is used to narrow the set of documents returned by a
|
|
@@ -387,7 +387,7 @@ declare class Ba {
|
|
|
387
387
|
* endBefore:1}, {@link (endAt:1)}, {@link limit} or {@link limitToLast} and
|
|
388
388
|
* can then be passed to {@link query} to create a new query instance that
|
|
389
389
|
* also contains this `QueryConstraint`.
|
|
390
|
-
*/ declare class
|
|
390
|
+
*/ declare class eh {
|
|
391
391
|
}
|
|
392
392
|
/**
|
|
393
393
|
* A `QueryDocumentSnapshot` contains data read from a document in your
|
|
@@ -399,7 +399,7 @@ declare class Ba {
|
|
|
399
399
|
* `DocumentSnapshot`. Since query results contain only existing documents, the
|
|
400
400
|
* `exists` property will always be true and `data()` will never return
|
|
401
401
|
* 'undefined'.
|
|
402
|
-
*/ declare class
|
|
402
|
+
*/ declare class Ja extends Ha {
|
|
403
403
|
}
|
|
404
404
|
/**
|
|
405
405
|
* A `QuerySnapshot` contains zero or more `DocumentSnapshot` objects
|
|
@@ -407,13 +407,13 @@ declare class Ba {
|
|
|
407
407
|
* array via the `docs` property or enumerated using the `forEach` method. The
|
|
408
408
|
* number of documents can be determined via the `empty` and `size`
|
|
409
409
|
* properties.
|
|
410
|
-
*/ declare class
|
|
410
|
+
*/ declare class Ya {
|
|
411
411
|
/** @hideconstructor */
|
|
412
412
|
constructor(t: any, e: any, n: any, s: any);
|
|
413
413
|
_firestore: any;
|
|
414
414
|
_userDataWriter: any;
|
|
415
415
|
_snapshot: any;
|
|
416
|
-
metadata:
|
|
416
|
+
metadata: za;
|
|
417
417
|
query: any;
|
|
418
418
|
/** An array of all the documents in the `QuerySnapshot`. */ get docs(): any[];
|
|
419
419
|
/** The number of documents in the `QuerySnapshot`. */ get size(): any;
|
|
@@ -455,7 +455,7 @@ declare class Ba {
|
|
|
455
455
|
*/
|
|
456
456
|
/**
|
|
457
457
|
* Metadata about a snapshot, describing the state of the snapshot.
|
|
458
|
-
*/ declare class
|
|
458
|
+
*/ declare class za {
|
|
459
459
|
/** @hideconstructor */
|
|
460
460
|
constructor(t: any, e: any);
|
|
461
461
|
hasPendingWrites: any;
|
|
@@ -497,19 +497,19 @@ declare class Ba {
|
|
|
497
497
|
* For examples and further specifications, refer to the
|
|
498
498
|
* {@link https://github.com/google/protobuf/blob/master/src/google/protobuf/timestamp.proto | Timestamp definition}.
|
|
499
499
|
*/
|
|
500
|
-
declare class
|
|
500
|
+
declare class ut {
|
|
501
501
|
/**
|
|
502
502
|
* Creates a new timestamp with the current date, with millisecond precision.
|
|
503
503
|
*
|
|
504
504
|
* @returns a new timestamp representing the current date.
|
|
505
|
-
*/ static now():
|
|
505
|
+
*/ static now(): ut;
|
|
506
506
|
/**
|
|
507
507
|
* Creates a new timestamp from the given date.
|
|
508
508
|
*
|
|
509
509
|
* @param date - The date to initialize the `Timestamp` from.
|
|
510
510
|
* @returns A new `Timestamp` representing the same point in time as the given
|
|
511
511
|
* date.
|
|
512
|
-
*/ static fromDate(t: any):
|
|
512
|
+
*/ static fromDate(t: any): ut;
|
|
513
513
|
/**
|
|
514
514
|
* Creates a new timestamp from the given number of milliseconds.
|
|
515
515
|
*
|
|
@@ -517,7 +517,7 @@ declare class at {
|
|
|
517
517
|
* 1970-01-01T00:00:00Z.
|
|
518
518
|
* @returns A new `Timestamp` representing the same point in time as the given
|
|
519
519
|
* number of milliseconds.
|
|
520
|
-
*/ static fromMillis(t: any):
|
|
520
|
+
*/ static fromMillis(t: any): ut;
|
|
521
521
|
/**
|
|
522
522
|
* Creates a new timestamp.
|
|
523
523
|
*
|
|
@@ -564,11 +564,11 @@ declare class at {
|
|
|
564
564
|
* to be compared using the `>`, `<=`, `>=` and `>` operators.
|
|
565
565
|
*/ valueOf(): string;
|
|
566
566
|
}
|
|
567
|
-
declare const
|
|
567
|
+
declare const Bh_base: {
|
|
568
568
|
new (t: any, e: any): {
|
|
569
569
|
_firestore: any;
|
|
570
570
|
_transaction: any;
|
|
571
|
-
_dataReader:
|
|
571
|
+
_dataReader: Ra;
|
|
572
572
|
/**
|
|
573
573
|
* Reads the document referenced by the provided {@link DocumentReference}.
|
|
574
574
|
*
|
|
@@ -607,7 +607,7 @@ declare const Dh_base: {
|
|
|
607
607
|
* The `Transaction` object passed to a transaction's `updateFunction` provides
|
|
608
608
|
* the methods to read and write data within the transaction context. See
|
|
609
609
|
* {@link runTransaction}.
|
|
610
|
-
*/ declare class
|
|
610
|
+
*/ declare class Bh extends Bh_base {
|
|
611
611
|
}
|
|
612
612
|
/**
|
|
613
613
|
* @license
|
|
@@ -632,22 +632,22 @@ declare const Dh_base: {
|
|
|
632
632
|
* provides methods for adding writes to the write batch. None of the writes
|
|
633
633
|
* will be committed (or visible locally) until {@link WriteBatch.commit} is
|
|
634
634
|
* called.
|
|
635
|
-
*/ declare class
|
|
635
|
+
*/ declare class Ah {
|
|
636
636
|
/** @hideconstructor */
|
|
637
637
|
constructor(t: any, e: any);
|
|
638
638
|
_firestore: any;
|
|
639
639
|
_commitHandler: any;
|
|
640
640
|
_mutations: any[];
|
|
641
641
|
_committed: boolean;
|
|
642
|
-
_dataReader:
|
|
643
|
-
set(t: any, e: any, n: any):
|
|
644
|
-
update(t: any, e: any, n: any, ...s: any[]):
|
|
642
|
+
_dataReader: Ra;
|
|
643
|
+
set(t: any, e: any, n: any): Ah;
|
|
644
|
+
update(t: any, e: any, n: any, ...s: any[]): Ah;
|
|
645
645
|
/**
|
|
646
646
|
* Deletes the document referred to by the provided {@link DocumentReference}.
|
|
647
647
|
*
|
|
648
648
|
* @param documentRef - A reference to the document to be deleted.
|
|
649
649
|
* @returns This `WriteBatch` instance. Used for chaining method calls.
|
|
650
|
-
*/ delete(t: any):
|
|
650
|
+
*/ delete(t: any): Ah;
|
|
651
651
|
/**
|
|
652
652
|
* Commits all of the writes in this write batch as a single atomic unit.
|
|
653
653
|
*
|
|
@@ -708,6 +708,8 @@ declare class Vt {
|
|
|
708
708
|
constructor(t: any);
|
|
709
709
|
path: any;
|
|
710
710
|
/** Returns true if the document is in the specified collectionId. */ hasCollectionId(t: any): boolean;
|
|
711
|
+
/** Returns the collection group (i.e. the name of the parent collection) for this key. */ getCollectionGroup(): any;
|
|
712
|
+
/** Returns the fully qualified path to the parent collection. */ getCollectionPath(): any;
|
|
711
713
|
isEqual(t: any): boolean;
|
|
712
714
|
toString(): any;
|
|
713
715
|
}
|
|
@@ -758,7 +760,7 @@ declare class Vt {
|
|
|
758
760
|
* Returns true if this field references the key of a document.
|
|
759
761
|
*/ isKeyField(): boolean;
|
|
760
762
|
}
|
|
761
|
-
declare function
|
|
763
|
+
declare function Ou(t: any, e: any): any;
|
|
762
764
|
/**
|
|
763
765
|
* Fails if the given assertion condition is false, throwing an Error with the
|
|
764
766
|
* given message if it did.
|
|
@@ -768,7 +770,7 @@ declare function ba(t: any, e: any): any;
|
|
|
768
770
|
* happen in this case.
|
|
769
771
|
*
|
|
770
772
|
* @internal
|
|
771
|
-
*/ declare function
|
|
773
|
+
*/ declare function U(t: any, e: any): void;
|
|
772
774
|
/**
|
|
773
775
|
* @license
|
|
774
776
|
* Copyright 2020 Google LLC
|
|
@@ -790,7 +792,7 @@ declare function ba(t: any, e: any): any;
|
|
|
790
792
|
declare function yt(): boolean;
|
|
791
793
|
/**
|
|
792
794
|
* @internal
|
|
793
|
-
*/ declare function
|
|
795
|
+
*/ declare function M(t: any, ...e: any[]): void;
|
|
794
796
|
/**
|
|
795
797
|
* @license
|
|
796
798
|
* Copyright 2021 Google LLC
|
|
@@ -806,11 +808,11 @@ declare function yt(): boolean;
|
|
|
806
808
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
807
809
|
* See the License for the specific language governing permissions and
|
|
808
810
|
* limitations under the License.
|
|
809
|
-
*/ declare function
|
|
811
|
+
*/ declare function zh(t: any, e: any): Promise<void>;
|
|
810
812
|
/**
|
|
811
813
|
* Validates that two boolean options are not set at the same time.
|
|
812
814
|
* @internal
|
|
813
|
-
*/ declare function
|
|
815
|
+
*/ declare function Cu(t: any, e: any, n: any, s: any): void;
|
|
814
816
|
/**
|
|
815
817
|
* Add a new document to specified `CollectionReference` with the given data,
|
|
816
818
|
* assigning it a document ID automatically.
|
|
@@ -820,7 +822,7 @@ declare function yt(): boolean;
|
|
|
820
822
|
* @returns A `Promise` resolved with a `DocumentReference` pointing to the
|
|
821
823
|
* newly created document after it has been written to the backend (Note that it
|
|
822
824
|
* won't resolve while you're offline).
|
|
823
|
-
*/ declare function
|
|
825
|
+
*/ declare function Oh(t: any, e: any): Promise<Bu>;
|
|
824
826
|
/**
|
|
825
827
|
* Returns a special value that can be used with {@link (setDoc:1)} or {@link
|
|
826
828
|
* updateDoc:1} that tells the server to remove the given elements from any
|
|
@@ -831,7 +833,7 @@ declare function yt(): boolean;
|
|
|
831
833
|
* @param elements - The elements to remove from the array.
|
|
832
834
|
* @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
|
|
833
835
|
* `updateDoc()`
|
|
834
|
-
*/ declare function
|
|
836
|
+
*/ declare function jh(...t: any[]): Ca;
|
|
835
837
|
/**
|
|
836
838
|
* Returns a special value that can be used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link
|
|
837
839
|
* @firebase/firestore/lite#(updateDoc:1)} that tells the server to union the given elements with any array
|
|
@@ -843,9 +845,9 @@ declare function yt(): boolean;
|
|
|
843
845
|
* @param elements - The elements to union into the array.
|
|
844
846
|
* @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
|
|
845
847
|
* `updateDoc()`.
|
|
846
|
-
*/ declare function
|
|
847
|
-
declare function
|
|
848
|
-
declare function
|
|
848
|
+
*/ declare function Gh(...t: any[]): Da;
|
|
849
|
+
declare function oa(t: any): Promise<any>;
|
|
850
|
+
declare function Ku(t: any, e: any, ...n: any[]): Uu;
|
|
849
851
|
/**
|
|
850
852
|
* Creates and returns a new `Query` instance that includes all documents in the
|
|
851
853
|
* database that are contained in a collection or subcollection with the
|
|
@@ -856,15 +858,15 @@ declare function ka(t: any, e: any, ...n: any[]): Na;
|
|
|
856
858
|
* collection or subcollection with this ID as the last segment of its path
|
|
857
859
|
* will be included. Cannot contain a slash.
|
|
858
860
|
* @returns The created `Query`.
|
|
859
|
-
*/ declare function
|
|
860
|
-
declare function
|
|
861
|
+
*/ declare function Gu(t: any, e: any): qu;
|
|
862
|
+
declare function Lu(t: any, e: any, n: any, s?: {}): void;
|
|
861
863
|
/**
|
|
862
864
|
* Deletes the document referred to by the specified `DocumentReference`.
|
|
863
865
|
*
|
|
864
866
|
* @param reference - A reference to the document to delete.
|
|
865
867
|
* @returns A Promise resolved once the document has been successfully
|
|
866
868
|
* deleted from the backend (note that it won't resolve while you're offline).
|
|
867
|
-
*/ declare function
|
|
869
|
+
*/ declare function kh(t: any): Promise<any>;
|
|
868
870
|
/**
|
|
869
871
|
* @license
|
|
870
872
|
* Copyright 2020 Google LLC
|
|
@@ -884,7 +886,7 @@ declare function Sa(t: any, e: any, n: any, s?: {}): void;
|
|
|
884
886
|
/**
|
|
885
887
|
* Returns a sentinel for use with {@link @firebase/firestore/lite#(updateDoc:1)} or
|
|
886
888
|
* {@link @firebase/firestore/lite#(setDoc:1)} with `{merge: true}` to mark a field for deletion.
|
|
887
|
-
*/ declare function
|
|
889
|
+
*/ declare function Uh(): Pa;
|
|
888
890
|
/**
|
|
889
891
|
* Disables network usage for this instance. It can be re-enabled via {@link
|
|
890
892
|
* enableNetwork}. While the network is disabled, any snapshot listeners,
|
|
@@ -892,12 +894,12 @@ declare function Sa(t: any, e: any, n: any, s?: {}): void;
|
|
|
892
894
|
* operations will be queued until the network is restored.
|
|
893
895
|
*
|
|
894
896
|
* @returns A `Promise` that is resolved once the network has been disabled.
|
|
895
|
-
*/ declare function
|
|
896
|
-
declare function
|
|
897
|
+
*/ declare function aa(t: any): any;
|
|
898
|
+
declare function ju(t: any, e: any, ...n: any[]): Bu;
|
|
897
899
|
/**
|
|
898
900
|
* Returns a special sentinel `FieldPath` to refer to the ID of a document.
|
|
899
901
|
* It can be used in queries to sort or filter by the document ID.
|
|
900
|
-
*/ declare function
|
|
902
|
+
*/ declare function _a(): wa;
|
|
901
903
|
/**
|
|
902
904
|
* Attempts to enable persistent storage, if possible.
|
|
903
905
|
*
|
|
@@ -920,7 +922,7 @@ declare function $a(t: any, e: any, ...n: any[]): Da;
|
|
|
920
922
|
* @param persistenceSettings - Optional settings object to configure
|
|
921
923
|
* persistence.
|
|
922
924
|
* @returns A `Promise` that represents successfully enabling persistent storage.
|
|
923
|
-
*/ declare function
|
|
925
|
+
*/ declare function sa(t: any, e: any): any;
|
|
924
926
|
/**
|
|
925
927
|
* Attempts to enable multi-tab persistent storage, if possible. If enabled
|
|
926
928
|
* across all tabs, all operations share access to local persistence, including
|
|
@@ -942,22 +944,22 @@ declare function $a(t: any, e: any, ...n: any[]): Da;
|
|
|
942
944
|
* @param firestore - The {@link Firestore} instance to enable persistence for.
|
|
943
945
|
* @returns A `Promise` that represents successfully enabling persistent
|
|
944
946
|
* storage.
|
|
945
|
-
*/ declare function
|
|
947
|
+
*/ declare function ia(t: any): any;
|
|
946
948
|
/**
|
|
947
949
|
* Re-enables use of the network for this {@link Firestore} instance after a prior
|
|
948
950
|
* call to {@link disableNetwork}.
|
|
949
951
|
*
|
|
950
952
|
* @returns A `Promise` that is resolved once the network has been enabled.
|
|
951
|
-
*/ declare function
|
|
952
|
-
declare function
|
|
953
|
-
declare function
|
|
953
|
+
*/ declare function ua(t: any): any;
|
|
954
|
+
declare function _h(...t: any[]): dh;
|
|
955
|
+
declare function wh(...t: any[]): dh;
|
|
954
956
|
/**
|
|
955
957
|
* @internal
|
|
956
|
-
*/ declare function
|
|
958
|
+
*/ declare function ea(t: any): any;
|
|
957
959
|
/**
|
|
958
960
|
* Locally writes `mutations` on the async queue.
|
|
959
961
|
* @internal
|
|
960
|
-
*/ declare function
|
|
962
|
+
*/ declare function Mh(t: any, e: any): Promise<any>;
|
|
961
963
|
/**
|
|
962
964
|
* @license
|
|
963
965
|
* Copyright 2020 Google LLC
|
|
@@ -1009,21 +1011,21 @@ declare function ih(...t: any[]): sh;
|
|
|
1009
1011
|
* @returns A Promise resolved with a `DocumentSnapshot` containing the
|
|
1010
1012
|
* current document contents.
|
|
1011
1013
|
*/
|
|
1012
|
-
declare function
|
|
1014
|
+
declare function vh(t: any): Promise<Ha>;
|
|
1013
1015
|
/**
|
|
1014
1016
|
* Reads the document referred to by this `DocumentReference` from cache.
|
|
1015
1017
|
* Returns an error if the document is not currently cached.
|
|
1016
1018
|
*
|
|
1017
1019
|
* @returns A `Promise` resolved with a `DocumentSnapshot` containing the
|
|
1018
1020
|
* current document contents.
|
|
1019
|
-
*/ declare function
|
|
1021
|
+
*/ declare function Ph(t: any): Promise<Ha>;
|
|
1020
1022
|
/**
|
|
1021
1023
|
* Reads the document referred to by this `DocumentReference` from the server.
|
|
1022
1024
|
* Returns an error if the network is not available.
|
|
1023
1025
|
*
|
|
1024
1026
|
* @returns A `Promise` resolved with a `DocumentSnapshot` containing the
|
|
1025
1027
|
* current document contents.
|
|
1026
|
-
*/ declare function
|
|
1028
|
+
*/ declare function Vh(t: any): Promise<Ha>;
|
|
1027
1029
|
/**
|
|
1028
1030
|
* Executes the query and returns the results as a `QuerySnapshot`.
|
|
1029
1031
|
*
|
|
@@ -1033,19 +1035,19 @@ declare function _h(t: any): Promise<Lu>;
|
|
|
1033
1035
|
* invoke {@link getDocsFromCache} or {@link getDocsFromServer}.
|
|
1034
1036
|
*
|
|
1035
1037
|
* @returns A `Promise` that will be resolved with the results of the query.
|
|
1036
|
-
*/ declare function
|
|
1038
|
+
*/ declare function Sh(t: any): Promise<Ya>;
|
|
1037
1039
|
/**
|
|
1038
1040
|
* Executes the query and returns the results as a `QuerySnapshot` from cache.
|
|
1039
1041
|
* Returns an error if the document is not currently cached.
|
|
1040
1042
|
*
|
|
1041
1043
|
* @returns A `Promise` that will be resolved with the results of the query.
|
|
1042
|
-
*/ declare function
|
|
1044
|
+
*/ declare function Dh(t: any): Promise<Ya>;
|
|
1043
1045
|
/**
|
|
1044
1046
|
* Executes the query and returns the results as a `QuerySnapshot` from the
|
|
1045
1047
|
* server. Returns an error if the network is not available.
|
|
1046
1048
|
*
|
|
1047
1049
|
* @returns A `Promise` that will be resolved with the results of the query.
|
|
1048
|
-
*/ declare function
|
|
1050
|
+
*/ declare function Ch(t: any): Promise<Ya>;
|
|
1049
1051
|
/**
|
|
1050
1052
|
* Returns the existing {@link Firestore} instance that is associated with the
|
|
1051
1053
|
* provided {@link @firebase/app#FirebaseApp}. If no instance exists, initializes a new
|
|
@@ -1054,7 +1056,7 @@ declare function _h(t: any): Promise<Lu>;
|
|
|
1054
1056
|
* @param app - The {@link @firebase/app#FirebaseApp} instance that the returned {@link Firestore}
|
|
1055
1057
|
* instance is associated with.
|
|
1056
1058
|
* @returns The {@link Firestore} instance of the provided app.
|
|
1057
|
-
*/ declare function
|
|
1059
|
+
*/ declare function ta(e?: import("@firebase/app").FirebaseApp): import("../src").Firestore;
|
|
1058
1060
|
/**
|
|
1059
1061
|
* Returns a special value that can be used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link
|
|
1060
1062
|
* @firebase/firestore/lite#(updateDoc:1)} that tells the server to increment the field's current value by
|
|
@@ -1073,7 +1075,7 @@ declare function _h(t: any): Promise<Lu>;
|
|
|
1073
1075
|
* @param n - The value to increment by.
|
|
1074
1076
|
* @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
|
|
1075
1077
|
* `updateDoc()`
|
|
1076
|
-
*/ declare function
|
|
1078
|
+
*/ declare function Qh(t: any): Na;
|
|
1077
1079
|
/**
|
|
1078
1080
|
* Initializes a new instance of {@link Firestore} with the provided settings.
|
|
1079
1081
|
* Can only be called before any other function, including
|
|
@@ -1084,13 +1086,13 @@ declare function _h(t: any): Promise<Lu>;
|
|
|
1084
1086
|
* be associated.
|
|
1085
1087
|
* @param settings - A settings object to configure the {@link Firestore} instance.
|
|
1086
1088
|
* @returns A newly initialized {@link Firestore} instance.
|
|
1087
|
-
*/ declare function
|
|
1089
|
+
*/ declare function Zu(t: any, e: any): import("../src").Firestore;
|
|
1088
1090
|
/**
|
|
1089
1091
|
* Creates a {@link QueryConstraint} that only returns the first matching documents.
|
|
1090
1092
|
*
|
|
1091
1093
|
* @param limit - The maximum number of items to return.
|
|
1092
1094
|
* @returns The created {@link Query}.
|
|
1093
|
-
*/ declare function
|
|
1095
|
+
*/ declare function uh(t: any): ch;
|
|
1094
1096
|
/**
|
|
1095
1097
|
* Creates a {@link QueryConstraint} that only returns the last matching documents.
|
|
1096
1098
|
*
|
|
@@ -1099,7 +1101,7 @@ declare function _h(t: any): Promise<Lu>;
|
|
|
1099
1101
|
*
|
|
1100
1102
|
* @param limit - The maximum number of items to return.
|
|
1101
1103
|
* @returns The created {@link Query}.
|
|
1102
|
-
*/ declare function
|
|
1104
|
+
*/ declare function ah(t: any): ch;
|
|
1103
1105
|
/**
|
|
1104
1106
|
* Loads a Firestore bundle into the local cache.
|
|
1105
1107
|
*
|
|
@@ -1110,7 +1112,7 @@ declare function _h(t: any): Promise<Lu>;
|
|
|
1110
1112
|
* @returns A `LoadBundleTask` object, which notifies callers with progress
|
|
1111
1113
|
* updates, and completion or error events. It can be used as a
|
|
1112
1114
|
* `Promise<LoadBundleTaskProgress>`.
|
|
1113
|
-
*/ declare function
|
|
1115
|
+
*/ declare function la(t: any, e: any): Ju;
|
|
1114
1116
|
/**
|
|
1115
1117
|
* Reads a Firestore {@link Query} from local cache, identified by the given
|
|
1116
1118
|
* name.
|
|
@@ -1122,9 +1124,9 @@ declare function _h(t: any): Promise<Lu>;
|
|
|
1122
1124
|
* @param firestore - The {@link Firestore} instance to read the query from.
|
|
1123
1125
|
* @param name - The name of the query.
|
|
1124
1126
|
* @returns A `Promise` that is resolved with the Query or `null`.
|
|
1125
|
-
*/ declare function
|
|
1126
|
-
declare function
|
|
1127
|
-
declare function
|
|
1127
|
+
*/ declare function fa(t: any, e: any): any;
|
|
1128
|
+
declare function Fh(t: any, ...e: any[]): () => void;
|
|
1129
|
+
declare function $h(t: any, e: any): () => void;
|
|
1128
1130
|
/**
|
|
1129
1131
|
* Creates a {@link QueryConstraint} that sorts the query result by the
|
|
1130
1132
|
* specified field, optionally in descending order instead of ascending.
|
|
@@ -1133,7 +1135,7 @@ declare function vh(t: any, e: any): () => void;
|
|
|
1133
1135
|
* @param directionStr - Optional direction to sort by ('asc' or 'desc'). If
|
|
1134
1136
|
* not specified, order will be ascending.
|
|
1135
1137
|
* @returns The created {@link Query}.
|
|
1136
|
-
*/ declare function
|
|
1138
|
+
*/ declare function oh(t: any, e?: string): rh;
|
|
1137
1139
|
/**
|
|
1138
1140
|
* Creates a new immutable instance of {@link Query} that is extended to also include
|
|
1139
1141
|
* additional query constraints.
|
|
@@ -1142,7 +1144,7 @@ declare function vh(t: any, e: any): () => void;
|
|
|
1142
1144
|
* @param queryConstraints - The list of {@link QueryConstraint}s to apply.
|
|
1143
1145
|
* @throws if any of the provided query constraints cannot be combined with the
|
|
1144
1146
|
* existing or new constraints.
|
|
1145
|
-
*/ declare function
|
|
1147
|
+
*/ declare function nh(t: any, ...e: any[]): any;
|
|
1146
1148
|
/**
|
|
1147
1149
|
* Returns true if the provided queries point to the same collection and apply
|
|
1148
1150
|
* the same constraints.
|
|
@@ -1151,7 +1153,7 @@ declare function vh(t: any, e: any): () => void;
|
|
|
1151
1153
|
* @param right - A `Query` to compare.
|
|
1152
1154
|
* @returns true if the references point to the same location in the same
|
|
1153
1155
|
* Firestore database.
|
|
1154
|
-
*/ declare function
|
|
1156
|
+
*/ declare function Wu(t: any, e: any): boolean;
|
|
1155
1157
|
/**
|
|
1156
1158
|
* Returns true if the provided references are equal.
|
|
1157
1159
|
*
|
|
@@ -1159,7 +1161,7 @@ declare function vh(t: any, e: any): () => void;
|
|
|
1159
1161
|
* @param right - A reference to compare.
|
|
1160
1162
|
* @returns true if the references point to the same location in the same
|
|
1161
1163
|
* Firestore database.
|
|
1162
|
-
*/ declare function
|
|
1164
|
+
*/ declare function Qu(t: any, e: any): boolean;
|
|
1163
1165
|
/**
|
|
1164
1166
|
* Executes the given `updateFunction` and then attempts to commit the changes
|
|
1165
1167
|
* applied within the transaction. If any document read within the transaction
|
|
@@ -1176,12 +1178,12 @@ declare function vh(t: any, e: any): () => void;
|
|
|
1176
1178
|
* (the `updateFunction` returned a failed promise), the promise returned by the
|
|
1177
1179
|
* `updateFunction `is returned here. Otherwise, if the transaction failed, a
|
|
1178
1180
|
* rejected promise with the corresponding failure error is returned.
|
|
1179
|
-
*/ declare function
|
|
1181
|
+
*/ declare function qh(t: any, e: any): Promise<any>;
|
|
1180
1182
|
/**
|
|
1181
1183
|
* Returns a sentinel used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link @firebase/firestore/lite#(updateDoc:1)} to
|
|
1182
1184
|
* include a server-generated timestamp in the written data.
|
|
1183
|
-
*/ declare function
|
|
1184
|
-
declare function
|
|
1185
|
+
*/ declare function Kh(): Sa;
|
|
1186
|
+
declare function Nh(t: any, e: any, n: any): Promise<any>;
|
|
1185
1187
|
/**
|
|
1186
1188
|
* Sets the verbosity of Cloud Firestore logs (debug, error, or silent).
|
|
1187
1189
|
*
|
|
@@ -1194,16 +1196,16 @@ declare function Ih(t: any, e: any, n: any): Promise<any>;
|
|
|
1194
1196
|
* <li>`error` to log errors only.</li>
|
|
1195
1197
|
* <li><code>`silent` to turn off logging.</li>
|
|
1196
1198
|
* </ul>
|
|
1197
|
-
*/ declare function
|
|
1199
|
+
*/ declare function O(t: any): void;
|
|
1198
1200
|
/**
|
|
1199
1201
|
* Returns true if the provided snapshots are equal.
|
|
1200
1202
|
*
|
|
1201
1203
|
* @param left - A snapshot to compare.
|
|
1202
1204
|
* @param right - A snapshot to compare.
|
|
1203
1205
|
* @returns true if the snapshots are equal.
|
|
1204
|
-
*/ declare function
|
|
1205
|
-
declare function
|
|
1206
|
-
declare function
|
|
1206
|
+
*/ declare function Za(t: any, e: any): any;
|
|
1207
|
+
declare function fh(...t: any[]): hh;
|
|
1208
|
+
declare function lh(...t: any[]): hh;
|
|
1207
1209
|
/**
|
|
1208
1210
|
* Terminates the provided {@link Firestore} instance.
|
|
1209
1211
|
*
|
|
@@ -1225,8 +1227,8 @@ declare function eh(...t: any[]): th;
|
|
|
1225
1227
|
*
|
|
1226
1228
|
* @returns A `Promise` that is resolved when the instance has been successfully
|
|
1227
1229
|
* terminated.
|
|
1228
|
-
*/ declare function
|
|
1229
|
-
declare function
|
|
1230
|
+
*/ declare function ha(t: any): any;
|
|
1231
|
+
declare function xh(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
1230
1232
|
/**
|
|
1231
1233
|
* Waits until all currently pending writes for the active user have been
|
|
1232
1234
|
* acknowledged by the backend.
|
|
@@ -1242,7 +1244,7 @@ declare function Ah(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1242
1244
|
*
|
|
1243
1245
|
* @returns A `Promise` which resolves when all currently pending writes have been
|
|
1244
1246
|
* acknowledged by the backend.
|
|
1245
|
-
*/ declare function
|
|
1247
|
+
*/ declare function ca(t: any): Promise<any>;
|
|
1246
1248
|
/**
|
|
1247
1249
|
* Creates a {@link QueryConstraint} that enforces that documents must contain the
|
|
1248
1250
|
* specified field and that the value should satisfy the relation constraint
|
|
@@ -1253,7 +1255,7 @@ declare function Ah(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1253
1255
|
* "<=", "!=").
|
|
1254
1256
|
* @param value - The value for comparison
|
|
1255
1257
|
* @returns The created {@link Query}.
|
|
1256
|
-
*/ declare function
|
|
1258
|
+
*/ declare function ih(t: any, e: any, n: any): sh;
|
|
1257
1259
|
/**
|
|
1258
1260
|
* @license
|
|
1259
1261
|
* Copyright 2020 Google LLC
|
|
@@ -1280,7 +1282,7 @@ declare function Ah(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1280
1282
|
*
|
|
1281
1283
|
* @returns A {@link WriteBatch} that can be used to atomically execute multiple
|
|
1282
1284
|
* writes.
|
|
1283
|
-
*/ declare function
|
|
1285
|
+
*/ declare function Wh(t: any): Ah;
|
|
1284
1286
|
/**
|
|
1285
1287
|
* @license
|
|
1286
1288
|
* Copyright 2020 Google LLC
|
|
@@ -1305,7 +1307,7 @@ declare function Ah(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1305
1307
|
* For a `DocumentSnapshot` that points to a non-existing document, any data
|
|
1306
1308
|
* access will return 'undefined'. You can use the `exists()` method to
|
|
1307
1309
|
* explicitly verify a document's existence.
|
|
1308
|
-
*/ declare class
|
|
1310
|
+
*/ declare class ja {
|
|
1309
1311
|
/** @hideconstructor protected */
|
|
1310
1312
|
constructor(t: any, e: any, n: any, s: any, i: any);
|
|
1311
1313
|
_firestore: any;
|
|
@@ -1316,7 +1318,7 @@ declare function Ah(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1316
1318
|
/** Property of the `DocumentSnapshot` that provides the document's ID. */ get id(): any;
|
|
1317
1319
|
/**
|
|
1318
1320
|
* The `DocumentReference` for the document included in the `DocumentSnapshot`.
|
|
1319
|
-
*/ get ref():
|
|
1321
|
+
*/ get ref(): Bu;
|
|
1320
1322
|
/**
|
|
1321
1323
|
* Signals whether or not the document at the snapshot's location exists.
|
|
1322
1324
|
*
|
|
@@ -1360,7 +1362,7 @@ declare function Ah(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1360
1362
|
* The Cloud Firestore service interface.
|
|
1361
1363
|
*
|
|
1362
1364
|
* Do not call this constructor directly. Instead, use {@link getFirestore}.
|
|
1363
|
-
*/ declare class
|
|
1365
|
+
*/ declare class Mu {
|
|
1364
1366
|
/** @hideconstructor */
|
|
1365
1367
|
constructor(t: any, e: any, n: any);
|
|
1366
1368
|
_authCredentials: any;
|
|
@@ -1370,7 +1372,7 @@ declare function Ah(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1370
1372
|
*/
|
|
1371
1373
|
type: string;
|
|
1372
1374
|
_persistenceKey: string;
|
|
1373
|
-
_settings:
|
|
1375
|
+
_settings: $u;
|
|
1374
1376
|
_settingsFrozen: boolean;
|
|
1375
1377
|
_databaseId: Vt;
|
|
1376
1378
|
_app: any;
|
|
@@ -1381,14 +1383,14 @@ declare function Ah(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1381
1383
|
get _initialized(): boolean;
|
|
1382
1384
|
get _terminated(): boolean;
|
|
1383
1385
|
_setSettings(t: any): void;
|
|
1384
|
-
_getSettings():
|
|
1385
|
-
_freezeSettings():
|
|
1386
|
+
_getSettings(): $u;
|
|
1387
|
+
_freezeSettings(): $u;
|
|
1386
1388
|
_delete(): Promise<void>;
|
|
1387
1389
|
_terminateTask: Promise<void> | undefined;
|
|
1388
1390
|
/** Returns a JSON-serializable representation of this `Firestore` instance. */ toJSON(): {
|
|
1389
1391
|
app: any;
|
|
1390
1392
|
databaseId: Vt;
|
|
1391
|
-
settings:
|
|
1393
|
+
settings: $u;
|
|
1392
1394
|
};
|
|
1393
1395
|
/**
|
|
1394
1396
|
* Terminates all components used by this client. Subclasses can override
|
|
@@ -1413,17 +1415,17 @@ declare function Ah(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1413
1415
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1414
1416
|
* See the License for the specific language governing permissions and
|
|
1415
1417
|
* limitations under the License.
|
|
1416
|
-
*/ declare class
|
|
1418
|
+
*/ declare class zu {
|
|
1417
1419
|
Ec: Promise<void>;
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1420
|
+
Ac: any[];
|
|
1421
|
+
Rc: boolean;
|
|
1422
|
+
vc: any[];
|
|
1421
1423
|
bc: any;
|
|
1422
1424
|
Pc: boolean;
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1425
|
+
Vc: boolean;
|
|
1426
|
+
Sc: any[];
|
|
1427
|
+
_r: yo;
|
|
1428
|
+
Dc: () => void;
|
|
1427
1429
|
get isShuttingDown(): boolean;
|
|
1428
1430
|
/**
|
|
1429
1431
|
* Adds a new operation to the queue without waiting for it to complete (i.e.
|
|
@@ -1436,32 +1438,32 @@ declare function Ah(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1436
1438
|
/**
|
|
1437
1439
|
* Runs the next operation from the retryable queue. If the operation fails,
|
|
1438
1440
|
* reschedules with backoff.
|
|
1439
|
-
*/
|
|
1440
|
-
|
|
1441
|
-
enqueueAfterDelay(t: any, e: any, n: any):
|
|
1442
|
-
|
|
1441
|
+
*/ xc(): Promise<void>;
|
|
1442
|
+
Nc(t: any): Promise<any>;
|
|
1443
|
+
enqueueAfterDelay(t: any, e: any, n: any): Zo;
|
|
1444
|
+
Cc(): void;
|
|
1443
1445
|
verifyOperationInProgress(): void;
|
|
1444
1446
|
/**
|
|
1445
1447
|
* Waits until all currently queued tasks are finished executing. Delayed
|
|
1446
1448
|
* operations are not run.
|
|
1447
|
-
*/
|
|
1449
|
+
*/ Oc(): Promise<void>;
|
|
1448
1450
|
/**
|
|
1449
1451
|
* For Tests: Determine if a delayed operation with a particular TimerId
|
|
1450
1452
|
* exists.
|
|
1451
|
-
*/
|
|
1453
|
+
*/ Fc(t: any): boolean;
|
|
1452
1454
|
/**
|
|
1453
1455
|
* For Tests: Runs some or all delayed operations early.
|
|
1454
1456
|
*
|
|
1455
1457
|
* @param lastTimerId - Delayed operations up to and including this TimerId
|
|
1456
1458
|
* will be drained. Pass TimerId.All to run all delayed operations.
|
|
1457
1459
|
* @returns a Promise that resolves once all operations have been run.
|
|
1458
|
-
*/
|
|
1460
|
+
*/ $c(t: any): Promise<void>;
|
|
1459
1461
|
/**
|
|
1460
1462
|
* For Tests: Skip all subsequent delays for a timer id.
|
|
1461
1463
|
*/ Mc(t: any): void;
|
|
1462
1464
|
/** Called once a DelayedOperation is run or canceled. */ kc(t: any): void;
|
|
1463
1465
|
}
|
|
1464
|
-
import { FirebaseError as
|
|
1466
|
+
import { FirebaseError as u } from "@firebase/util/dist/src/errors";
|
|
1465
1467
|
/**
|
|
1466
1468
|
* @license
|
|
1467
1469
|
* Copyright 2017 Google LLC
|
|
@@ -1477,7 +1479,7 @@ import { FirebaseError as a } from "@firebase/util/dist/src/errors";
|
|
|
1477
1479
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1478
1480
|
* See the License for the specific language governing permissions and
|
|
1479
1481
|
* limitations under the License.
|
|
1480
|
-
*/ declare class
|
|
1482
|
+
*/ declare class Q {
|
|
1481
1483
|
promise: Promise<any>;
|
|
1482
1484
|
resolve: (value: any) => void;
|
|
1483
1485
|
reject: (reason?: any) => void;
|
|
@@ -1485,12 +1487,12 @@ import { FirebaseError as a } from "@firebase/util/dist/src/errors";
|
|
|
1485
1487
|
/**
|
|
1486
1488
|
* Helper for parsing raw user input (provided via the API) into internal model
|
|
1487
1489
|
* classes.
|
|
1488
|
-
*/ declare class
|
|
1490
|
+
*/ declare class Ra {
|
|
1489
1491
|
constructor(t: any, e: any, n: any);
|
|
1490
1492
|
databaseId: any;
|
|
1491
1493
|
ignoreUndefinedProperties: any;
|
|
1492
|
-
|
|
1493
|
-
/** Creates a new top-level parse context. */
|
|
1494
|
+
O: any;
|
|
1495
|
+
/** Creates a new top-level parse context. */ Jc(t: any, e: any, n: any, s?: boolean): Aa;
|
|
1494
1496
|
}
|
|
1495
1497
|
declare class Z {
|
|
1496
1498
|
constructor(t: any);
|
|
@@ -1538,67 +1540,67 @@ declare class dt {
|
|
|
1538
1540
|
forEach(t: any): void;
|
|
1539
1541
|
toArray(): any;
|
|
1540
1542
|
}
|
|
1541
|
-
declare class
|
|
1543
|
+
declare class Ca extends ga {
|
|
1542
1544
|
constructor(t: any, e: any);
|
|
1543
|
-
|
|
1544
|
-
_toFieldTransform(t: any):
|
|
1545
|
+
Yc: any;
|
|
1546
|
+
_toFieldTransform(t: any): Xe;
|
|
1545
1547
|
isEqual(t: any): boolean;
|
|
1546
1548
|
}
|
|
1547
|
-
declare class
|
|
1549
|
+
declare class Da extends ga {
|
|
1548
1550
|
constructor(t: any, e: any);
|
|
1549
|
-
|
|
1550
|
-
_toFieldTransform(t: any):
|
|
1551
|
+
Yc: any;
|
|
1552
|
+
_toFieldTransform(t: any): Xe;
|
|
1551
1553
|
isEqual(t: any): boolean;
|
|
1552
1554
|
}
|
|
1553
|
-
declare class
|
|
1555
|
+
declare class Pa extends ga {
|
|
1554
1556
|
_toFieldTransform(t: any): null;
|
|
1555
1557
|
isEqual(t: any): boolean;
|
|
1556
1558
|
}
|
|
1557
|
-
declare class
|
|
1559
|
+
declare class dh extends eh {
|
|
1558
1560
|
constructor(t: any, e: any, n: any);
|
|
1559
1561
|
type: any;
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
_apply(t: any):
|
|
1562
|
+
ru: any;
|
|
1563
|
+
ou: any;
|
|
1564
|
+
_apply(t: any): qu;
|
|
1563
1565
|
}
|
|
1564
|
-
declare class
|
|
1566
|
+
declare class Na extends ga {
|
|
1565
1567
|
constructor(t: any, e: any);
|
|
1566
|
-
|
|
1567
|
-
_toFieldTransform(t: any):
|
|
1568
|
+
Xc: any;
|
|
1569
|
+
_toFieldTransform(t: any): Xe;
|
|
1568
1570
|
isEqual(t: any): boolean;
|
|
1569
1571
|
}
|
|
1570
|
-
declare class
|
|
1572
|
+
declare class ch extends eh {
|
|
1571
1573
|
constructor(t: any, e: any, n: any);
|
|
1572
1574
|
type: any;
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
_apply(t: any):
|
|
1575
|
+
su: any;
|
|
1576
|
+
iu: any;
|
|
1577
|
+
_apply(t: any): qu;
|
|
1576
1578
|
}
|
|
1577
|
-
declare class
|
|
1579
|
+
declare class rh extends eh {
|
|
1578
1580
|
constructor(t: any, e: any);
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
+
Zc: any;
|
|
1582
|
+
nu: any;
|
|
1581
1583
|
type: string;
|
|
1582
|
-
_apply(t: any):
|
|
1584
|
+
_apply(t: any): qu;
|
|
1583
1585
|
}
|
|
1584
|
-
declare class
|
|
1585
|
-
_toFieldTransform(t: any):
|
|
1586
|
+
declare class Sa extends ga {
|
|
1587
|
+
_toFieldTransform(t: any): Xe;
|
|
1586
1588
|
isEqual(t: any): boolean;
|
|
1587
1589
|
}
|
|
1588
|
-
declare class
|
|
1590
|
+
declare class hh extends eh {
|
|
1589
1591
|
constructor(t: any, e: any, n: any);
|
|
1590
1592
|
type: any;
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
_apply(t: any):
|
|
1593
|
+
ru: any;
|
|
1594
|
+
ou: any;
|
|
1595
|
+
_apply(t: any): qu;
|
|
1594
1596
|
}
|
|
1595
|
-
declare class
|
|
1597
|
+
declare class sh extends eh {
|
|
1596
1598
|
constructor(t: any, e: any, n: any);
|
|
1597
|
-
Xc: any;
|
|
1598
1599
|
Zc: any;
|
|
1599
|
-
|
|
1600
|
+
tu: any;
|
|
1601
|
+
eu: any;
|
|
1600
1602
|
type: string;
|
|
1601
|
-
_apply(t: any):
|
|
1603
|
+
_apply(t: any): qu;
|
|
1602
1604
|
}
|
|
1603
1605
|
/**
|
|
1604
1606
|
* @license
|
|
@@ -1621,7 +1623,7 @@ declare class Gu extends Qu {
|
|
|
1621
1623
|
* user-supplied `FirestoreSettings` object. This is a separate type so that
|
|
1622
1624
|
* defaults can be supplied and the value can be checked for equality.
|
|
1623
1625
|
*/
|
|
1624
|
-
declare class
|
|
1626
|
+
declare class $u {
|
|
1625
1627
|
constructor(t: any);
|
|
1626
1628
|
host: any;
|
|
1627
1629
|
ssl: any;
|
|
@@ -1645,17 +1647,17 @@ declare class va {
|
|
|
1645
1647
|
* base delay. This prevents clients from accidentally synchronizing their
|
|
1646
1648
|
* delays causing spikes of load to the backend.
|
|
1647
1649
|
*/
|
|
1648
|
-
declare class
|
|
1650
|
+
declare class yo {
|
|
1649
1651
|
constructor(t: any, e: any, n?: number, s?: number, i?: number);
|
|
1650
|
-
|
|
1652
|
+
Be: any;
|
|
1651
1653
|
timerId: any;
|
|
1652
|
-
Ji: number;
|
|
1653
1654
|
Yi: number;
|
|
1654
1655
|
Xi: number;
|
|
1655
1656
|
Zi: number;
|
|
1656
|
-
tr:
|
|
1657
|
+
tr: number;
|
|
1658
|
+
er: any;
|
|
1657
1659
|
/** The last backoff attempt, as epoch milliseconds. */
|
|
1658
|
-
|
|
1660
|
+
nr: number;
|
|
1659
1661
|
/**
|
|
1660
1662
|
* Resets the backoff delay.
|
|
1661
1663
|
*
|
|
@@ -1666,15 +1668,15 @@ declare class co {
|
|
|
1666
1668
|
/**
|
|
1667
1669
|
* Resets the backoff delay to the maximum delay (e.g. for use after a
|
|
1668
1670
|
* RESOURCE_EXHAUSTED error).
|
|
1669
|
-
*/
|
|
1671
|
+
*/ sr(): void;
|
|
1670
1672
|
/**
|
|
1671
1673
|
* Returns a promise that resolves after currentDelayMs, and increases the
|
|
1672
1674
|
* delay for any subsequent attempts. If there was a pending backoff operation
|
|
1673
1675
|
* already, it will be canceled.
|
|
1674
|
-
*/
|
|
1675
|
-
|
|
1676
|
+
*/ ir(t: any): void;
|
|
1677
|
+
cr(): void;
|
|
1676
1678
|
cancel(): void;
|
|
1677
|
-
/** Returns a random value in the range [-currentBaseMs/2, currentBaseMs/2] */
|
|
1679
|
+
/** Returns a random value in the range [-currentBaseMs/2, currentBaseMs/2] */ rr(): number;
|
|
1678
1680
|
}
|
|
1679
1681
|
/**
|
|
1680
1682
|
* @license
|
|
@@ -1703,7 +1705,7 @@ declare class co {
|
|
|
1703
1705
|
* in newer versions of TypeScript defines `finally`, which is not available in
|
|
1704
1706
|
* IE.
|
|
1705
1707
|
*/
|
|
1706
|
-
declare class
|
|
1708
|
+
declare class Zo {
|
|
1707
1709
|
/**
|
|
1708
1710
|
* Creates and returns a DelayedOperation that has been scheduled to be
|
|
1709
1711
|
* executed on the provided asyncQueue after the provided delayMs.
|
|
@@ -1717,14 +1719,14 @@ declare class Ko {
|
|
|
1717
1719
|
* from its delayedOperations list.
|
|
1718
1720
|
* PORTING NOTE: This exists to prevent making removeDelayedOperation() and
|
|
1719
1721
|
* the DelayedOperation class public.
|
|
1720
|
-
*/ static createAndSchedule(t: any, e: any, n: any, s: any, i: any):
|
|
1722
|
+
*/ static createAndSchedule(t: any, e: any, n: any, s: any, i: any): Zo;
|
|
1721
1723
|
constructor(t: any, e: any, n: any, s: any, i: any);
|
|
1722
1724
|
asyncQueue: any;
|
|
1723
1725
|
timerId: any;
|
|
1724
1726
|
targetTimeMs: any;
|
|
1725
1727
|
op: any;
|
|
1726
1728
|
removalCallback: any;
|
|
1727
|
-
deferred:
|
|
1729
|
+
deferred: Q;
|
|
1728
1730
|
then: <TResult1 = any, TResult2 = never>(onfulfilled?: ((value: any) => TResult1 | PromiseLike<TResult1>) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null | undefined) => Promise<TResult1 | TResult2>;
|
|
1729
1731
|
/**
|
|
1730
1732
|
* Starts the timer. This is called immediately after construction by
|
|
@@ -1745,7 +1747,7 @@ declare class Ko {
|
|
|
1745
1747
|
handleDelayElapsed(): void;
|
|
1746
1748
|
clearTimeout(): void;
|
|
1747
1749
|
}
|
|
1748
|
-
/** A "context" object passed around while parsing user data. */ declare class
|
|
1750
|
+
/** A "context" object passed around while parsing user data. */ declare class Aa {
|
|
1749
1751
|
/**
|
|
1750
1752
|
* Initializes a ParseContext with the given source and path.
|
|
1751
1753
|
*
|
|
@@ -1767,20 +1769,20 @@ declare class Ko {
|
|
|
1767
1769
|
constructor(t: any, e: any, n: any, s: any, i: any, r: any);
|
|
1768
1770
|
settings: any;
|
|
1769
1771
|
databaseId: any;
|
|
1770
|
-
|
|
1772
|
+
O: any;
|
|
1771
1773
|
ignoreUndefinedProperties: any;
|
|
1772
1774
|
fieldTransforms: any;
|
|
1773
1775
|
fieldMask: any;
|
|
1774
1776
|
get path(): any;
|
|
1775
|
-
get
|
|
1776
|
-
/** Returns a new context with the specified settings overwritten. */
|
|
1777
|
-
Uc(t: any):
|
|
1778
|
-
jc(t: any):
|
|
1779
|
-
Qc(t: any):
|
|
1780
|
-
Wc(t: any):
|
|
1777
|
+
get Bc(): any;
|
|
1778
|
+
/** Returns a new context with the specified settings overwritten. */ qc(t: any): Aa;
|
|
1779
|
+
Uc(t: any): Aa;
|
|
1780
|
+
jc(t: any): Aa;
|
|
1781
|
+
Qc(t: any): Aa;
|
|
1782
|
+
Wc(t: any): j;
|
|
1781
1783
|
/** Returns 'true' if 'fieldPath' was traversed when creating this context. */ contains(t: any): boolean;
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
+
Lc(): void;
|
|
1785
|
+
Gc(t: any): void;
|
|
1784
1786
|
}
|
|
1785
1787
|
/**
|
|
1786
1788
|
* @license
|
|
@@ -1798,9 +1800,9 @@ declare class Ko {
|
|
|
1798
1800
|
* See the License for the specific language governing permissions and
|
|
1799
1801
|
* limitations under the License.
|
|
1800
1802
|
*/
|
|
1801
|
-
/** A field path and the TransformOperation to perform upon it. */ declare class
|
|
1803
|
+
/** A field path and the TransformOperation to perform upon it. */ declare class Xe {
|
|
1802
1804
|
constructor(t: any, e: any);
|
|
1803
1805
|
field: any;
|
|
1804
1806
|
transform: any;
|
|
1805
1807
|
}
|
|
1806
|
-
export {
|
|
1808
|
+
export { Th as AbstractUserDataWriter, ma as Bytes, Yu as CACHE_SIZE_UNLIMITED, Uu as CollectionReference, Bu as DocumentReference, Ha as DocumentSnapshot, wa as FieldPath, ga as FieldValue, Xu as Firestore, j as FirestoreError, ya as GeoPoint, Ju as LoadBundleTask, qu as Query, eh as QueryConstraint, Ja as QueryDocumentSnapshot, Ya as QuerySnapshot, za as SnapshotMetadata, ut as Timestamp, Bh as Transaction, Ah as WriteBatch, Vt as _DatabaseId, Nt as _DocumentKey, et as _EmptyAppCheckTokenProvider, z as _EmptyAuthCredentialsProvider, mt as _FieldPath, Ou as _cast, U as _debugAssert, yt as _isBase64Available, M as _logWarn, zh as _setIndexConfiguration, Cu as _validateIsNotUsedTogether, Oh as addDoc, jh as arrayRemove, Gh as arrayUnion, oa as clearIndexedDbPersistence, Ku as collection, Gu as collectionGroup, Lu as connectFirestoreEmulator, kh as deleteDoc, Uh as deleteField, aa as disableNetwork, ju as doc, _a as documentId, sa as enableIndexedDbPersistence, ia as enableMultiTabIndexedDbPersistence, ua as enableNetwork, _h as endAt, wh as endBefore, ea as ensureFirestoreConfigured, Mh as executeWrite, vh as getDoc, Ph as getDocFromCache, Vh as getDocFromServer, Sh as getDocs, Dh as getDocsFromCache, Ch as getDocsFromServer, ta as getFirestore, Qh as increment, Zu as initializeFirestore, uh as limit, ah as limitToLast, la as loadBundle, fa as namedQuery, Fh as onSnapshot, $h as onSnapshotsInSync, oh as orderBy, nh as query, Wu as queryEqual, Qu as refEqual, qh as runTransaction, Kh as serverTimestamp, Nh as setDoc, O as setLogLevel, Za as snapshotEqual, fh as startAfter, lh as startAt, ha as terminate, xh as updateDoc, ca as waitForPendingWrites, ih as where, Wh as writeBatch };
|