@firebase/firestore 3.4.2 → 3.4.3
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 +8 -0
- package/dist/firestore/src/api/snapshot.d.ts +6 -6
- package/dist/firestore/src/lite-api/snapshot.d.ts +2 -2
- package/dist/firestore/test/integration/bootstrap.d.ts +0 -1
- package/dist/firestore/test/integration/util/events_accumulator.d.ts +2 -2
- package/dist/firestore/test/integration/util/firebase_export.d.ts +6 -14
- package/dist/firestore/test/integration/util/helpers.d.ts +18 -18
- package/dist/firestore/test/integration/util/internal_helpers.d.ts +3 -3
- package/dist/firestore/test/integration/util/settings.d.ts +2 -2
- package/dist/firestore/test/unit/api/{blob.test.d.ts → bytes.test.d.ts} +0 -0
- package/dist/firestore/test/util/api_helpers.d.ts +1 -1
- package/dist/firestore/test/util/helpers.d.ts +4 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.esm2017.js +869 -869
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +1257 -1257
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +2674 -24
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.node.mjs +2675 -25
- package/dist/index.node.mjs.map +1 -1
- package/dist/index.rn.js +1068 -1068
- package/dist/index.rn.js.map +1 -1
- package/dist/internal.d.ts +8 -8
- package/dist/lite/firestore/src/api/snapshot.d.ts +6 -6
- package/dist/lite/firestore/src/lite-api/snapshot.d.ts +2 -2
- package/dist/lite/firestore/test/integration/bootstrap.d.ts +0 -1
- package/dist/lite/firestore/test/integration/util/events_accumulator.d.ts +2 -2
- package/dist/lite/firestore/test/integration/util/firebase_export.d.ts +6 -14
- package/dist/lite/firestore/test/integration/util/helpers.d.ts +18 -18
- package/dist/lite/firestore/test/integration/util/internal_helpers.d.ts +3 -3
- package/dist/lite/firestore/test/integration/util/settings.d.ts +2 -2
- package/dist/lite/firestore/test/unit/api/{blob.test.d.ts → bytes.test.d.ts} +0 -0
- package/dist/lite/firestore/test/util/api_helpers.d.ts +1 -1
- package/dist/lite/firestore/test/util/helpers.d.ts +4 -6
- package/dist/lite/index.browser.esm2017.js +1136 -1136
- package/dist/lite/index.browser.esm2017.js.map +1 -1
- package/dist/lite/index.browser.esm5.js +105 -105
- package/dist/lite/index.browser.esm5.js.map +1 -1
- package/dist/lite/index.d.ts +2 -2
- package/dist/lite/index.node.cjs.js +11 -12
- package/dist/lite/index.node.cjs.js.map +1 -1
- package/dist/lite/index.node.mjs +11 -12
- package/dist/lite/index.node.mjs.map +1 -1
- package/dist/lite/index.rn.esm2017.js +148 -148
- package/dist/lite/index.rn.esm2017.js.map +1 -1
- package/dist/lite/internal.d.ts +2 -2
- package/dist/lite/packages/firestore/dist/lite/index.browser.esm2017.d.ts +107 -107
- package/dist/lite/packages/firestore/src/api/snapshot.d.ts +6 -6
- package/dist/lite/packages/firestore/src/lite-api/snapshot.d.ts +2 -2
- package/dist/lite/packages/firestore/test/integration/bootstrap.d.ts +0 -1
- package/dist/lite/packages/firestore/test/integration/util/events_accumulator.d.ts +2 -2
- package/dist/lite/packages/firestore/test/integration/util/firebase_export.d.ts +6 -14
- package/dist/lite/packages/firestore/test/integration/util/helpers.d.ts +18 -18
- package/dist/lite/packages/firestore/test/integration/util/internal_helpers.d.ts +3 -3
- package/dist/lite/packages/firestore/test/integration/util/settings.d.ts +2 -2
- package/dist/lite/packages/firestore/test/unit/api/{blob.test.d.ts → bytes.test.d.ts} +0 -0
- package/dist/lite/packages/firestore/test/util/api_helpers.d.ts +1 -1
- package/dist/lite/packages/firestore/test/util/helpers.d.ts +4 -6
- package/dist/lite/private.d.ts +2 -2
- package/dist/packages/firestore/dist/index.esm2017.d.ts +105 -105
- package/dist/packages/firestore/src/api/snapshot.d.ts +6 -6
- package/dist/packages/firestore/src/lite-api/snapshot.d.ts +2 -2
- package/dist/packages/firestore/test/integration/bootstrap.d.ts +0 -1
- package/dist/packages/firestore/test/integration/util/events_accumulator.d.ts +2 -2
- package/dist/packages/firestore/test/integration/util/firebase_export.d.ts +6 -14
- package/dist/packages/firestore/test/integration/util/helpers.d.ts +18 -18
- package/dist/packages/firestore/test/integration/util/internal_helpers.d.ts +3 -3
- package/dist/packages/firestore/test/integration/util/settings.d.ts +2 -2
- package/dist/packages/firestore/test/unit/api/{blob.test.d.ts → bytes.test.d.ts} +0 -0
- package/dist/packages/firestore/test/util/api_helpers.d.ts +1 -1
- package/dist/packages/firestore/test/util/helpers.d.ts +4 -6
- package/dist/private.d.ts +8 -8
- package/package.json +4 -7
- package/dist/firestore/compat/api/blob.d.ts +0 -29
- package/dist/firestore/compat/api/database.d.ts +0 -228
- package/dist/firestore/compat/api/field_path.d.ts +0 -36
- package/dist/firestore/compat/api/field_value.d.ts +0 -29
- package/dist/firestore/compat/api/geo_point.d.ts +0 -17
- package/dist/firestore/compat/api/observer.d.ts +0 -29
- package/dist/firestore/compat/api/timestamp.d.ts +0 -17
- package/dist/firestore/compat/config.d.ts +0 -28
- package/dist/firestore/compat/index.console.d.ts +0 -42
- package/dist/firestore/compat/index.d.ts +0 -49
- package/dist/firestore/compat/index.node.d.ts +0 -22
- package/dist/firestore/compat/index.rn.d.ts +0 -22
- package/dist/firestore/compat/register-module.d.ts +0 -42
- package/dist/firestore/compat/util/input_validation.d.ts +0 -18
- package/dist/lite/firestore/compat/api/blob.d.ts +0 -29
- package/dist/lite/firestore/compat/api/database.d.ts +0 -228
- package/dist/lite/firestore/compat/api/field_path.d.ts +0 -36
- package/dist/lite/firestore/compat/api/field_value.d.ts +0 -29
- package/dist/lite/firestore/compat/api/geo_point.d.ts +0 -17
- package/dist/lite/firestore/compat/api/observer.d.ts +0 -29
- package/dist/lite/firestore/compat/api/timestamp.d.ts +0 -17
- package/dist/lite/firestore/compat/config.d.ts +0 -28
- package/dist/lite/firestore/compat/index.console.d.ts +0 -42
- package/dist/lite/firestore/compat/index.d.ts +0 -49
- package/dist/lite/firestore/compat/index.node.d.ts +0 -22
- package/dist/lite/firestore/compat/index.rn.d.ts +0 -22
- package/dist/lite/firestore/compat/register-module.d.ts +0 -42
- package/dist/lite/firestore/compat/util/input_validation.d.ts +0 -18
- package/dist/lite/packages/firestore/compat/api/blob.d.ts +0 -29
- package/dist/lite/packages/firestore/compat/api/database.d.ts +0 -228
- package/dist/lite/packages/firestore/compat/api/field_path.d.ts +0 -36
- package/dist/lite/packages/firestore/compat/api/field_value.d.ts +0 -29
- package/dist/lite/packages/firestore/compat/api/geo_point.d.ts +0 -17
- package/dist/lite/packages/firestore/compat/api/observer.d.ts +0 -29
- package/dist/lite/packages/firestore/compat/api/timestamp.d.ts +0 -17
- package/dist/lite/packages/firestore/compat/config.d.ts +0 -28
- package/dist/lite/packages/firestore/compat/index.console.d.ts +0 -42
- package/dist/lite/packages/firestore/compat/index.d.ts +0 -49
- package/dist/lite/packages/firestore/compat/index.node.d.ts +0 -22
- package/dist/lite/packages/firestore/compat/index.rn.d.ts +0 -22
- package/dist/lite/packages/firestore/compat/register-module.d.ts +0 -42
- package/dist/lite/packages/firestore/compat/util/input_validation.d.ts +0 -18
- package/dist/lite/src/protos/README.md +0 -2
- package/dist/lite/src/protos/firestore/bundle.proto +0 -121
- package/dist/lite/src/protos/firestore_bundle_proto.ts +0 -93
- package/dist/lite/src/protos/firestore_proto_api.ts +0 -1259
- package/dist/lite/src/protos/google/api/annotations.proto +0 -31
- package/dist/lite/src/protos/google/api/http.proto +0 -370
- package/dist/lite/src/protos/google/firestore/v1/common.proto +0 -84
- package/dist/lite/src/protos/google/firestore/v1/document.proto +0 -151
- package/dist/lite/src/protos/google/firestore/v1/firestore.proto +0 -761
- package/dist/lite/src/protos/google/firestore/v1/query.proto +0 -302
- package/dist/lite/src/protos/google/firestore/v1/write.proto +0 -264
- package/dist/lite/src/protos/google/protobuf/any.proto +0 -155
- package/dist/lite/src/protos/google/protobuf/descriptor.proto +0 -882
- package/dist/lite/src/protos/google/protobuf/empty.proto +0 -52
- package/dist/lite/src/protos/google/protobuf/struct.proto +0 -96
- package/dist/lite/src/protos/google/protobuf/timestamp.proto +0 -137
- package/dist/lite/src/protos/google/protobuf/wrappers.proto +0 -123
- package/dist/lite/src/protos/google/rpc/status.proto +0 -92
- package/dist/lite/src/protos/google/type/latlng.proto +0 -71
- package/dist/lite/src/protos/update.sh +0 -61
- package/dist/packages/firestore/compat/api/blob.d.ts +0 -29
- package/dist/packages/firestore/compat/api/database.d.ts +0 -228
- package/dist/packages/firestore/compat/api/field_path.d.ts +0 -36
- package/dist/packages/firestore/compat/api/field_value.d.ts +0 -29
- package/dist/packages/firestore/compat/api/geo_point.d.ts +0 -17
- package/dist/packages/firestore/compat/api/observer.d.ts +0 -29
- package/dist/packages/firestore/compat/api/timestamp.d.ts +0 -17
- package/dist/packages/firestore/compat/config.d.ts +0 -28
- package/dist/packages/firestore/compat/index.console.d.ts +0 -42
- package/dist/packages/firestore/compat/index.d.ts +0 -49
- package/dist/packages/firestore/compat/index.node.d.ts +0 -22
- package/dist/packages/firestore/compat/index.rn.d.ts +0 -22
- package/dist/packages/firestore/compat/register-module.d.ts +0 -42
- package/dist/packages/firestore/compat/util/input_validation.d.ts +0 -18
- package/dist/src/protos/README.md +0 -2
- package/dist/src/protos/firestore/bundle.proto +0 -121
- package/dist/src/protos/firestore_bundle_proto.ts +0 -93
- package/dist/src/protos/firestore_proto_api.ts +0 -1259
- package/dist/src/protos/google/api/annotations.proto +0 -31
- package/dist/src/protos/google/api/http.proto +0 -370
- package/dist/src/protos/google/firestore/v1/common.proto +0 -84
- package/dist/src/protos/google/firestore/v1/document.proto +0 -151
- package/dist/src/protos/google/firestore/v1/firestore.proto +0 -761
- package/dist/src/protos/google/firestore/v1/query.proto +0 -302
- package/dist/src/protos/google/firestore/v1/write.proto +0 -264
- package/dist/src/protos/google/protobuf/any.proto +0 -155
- package/dist/src/protos/google/protobuf/descriptor.proto +0 -882
- package/dist/src/protos/google/protobuf/empty.proto +0 -52
- package/dist/src/protos/google/protobuf/struct.proto +0 -96
- package/dist/src/protos/google/protobuf/timestamp.proto +0 -137
- package/dist/src/protos/google/protobuf/wrappers.proto +0 -123
- package/dist/src/protos/google/rpc/status.proto +0 -92
- package/dist/src/protos/google/type/latlng.proto +0 -71
- package/dist/src/protos/update.sh +0 -61
package/dist/lite/internal.d.ts
CHANGED
|
@@ -1012,10 +1012,10 @@ export declare class Firestore implements FirestoreService {
|
|
|
1012
1012
|
* }
|
|
1013
1013
|
*
|
|
1014
1014
|
* const postConverter = {
|
|
1015
|
-
* toFirestore(post: WithFieldValue<Post>):
|
|
1015
|
+
* toFirestore(post: WithFieldValue<Post>): DocumentData {
|
|
1016
1016
|
* return {title: post.title, author: post.author};
|
|
1017
1017
|
* },
|
|
1018
|
-
* fromFirestore(snapshot:
|
|
1018
|
+
* fromFirestore(snapshot: QueryDocumentSnapshot): Post {
|
|
1019
1019
|
* const data = snapshot.data(options)!;
|
|
1020
1020
|
* return new Post(data.title, data.author);
|
|
1021
1021
|
* }
|
|
@@ -16,18 +16,18 @@
|
|
|
16
16
|
*/
|
|
17
17
|
/**
|
|
18
18
|
* An immutable object representing an array of bytes.
|
|
19
|
-
*/ declare class
|
|
19
|
+
*/ declare class ve {
|
|
20
20
|
/**
|
|
21
21
|
* Creates a new `Bytes` object from the given Base64 string, converting it to
|
|
22
22
|
* bytes.
|
|
23
23
|
*
|
|
24
24
|
* @param base64 - The Base64 string used to create the `Bytes` object.
|
|
25
|
-
*/ static fromBase64String(t: any):
|
|
25
|
+
*/ static fromBase64String(t: any): ve;
|
|
26
26
|
/**
|
|
27
27
|
* Creates a new `Bytes` object from the given Uint8Array.
|
|
28
28
|
*
|
|
29
29
|
* @param array - The Uint8Array used to create the `Bytes` object.
|
|
30
|
-
*/ static fromUint8Array(t: any):
|
|
30
|
+
*/ static fromUint8Array(t: any): ve;
|
|
31
31
|
/** @hideconstructor */
|
|
32
32
|
constructor(t: any);
|
|
33
33
|
_byteString: any;
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
/**
|
|
57
57
|
* A `CollectionReference` object can be used for adding documents, getting
|
|
58
58
|
* document references, and querying for documents (using {@link query}).
|
|
59
|
-
*/ declare class
|
|
59
|
+
*/ declare class fe extends le {
|
|
60
60
|
_path: any;
|
|
61
61
|
/** The collection's identifier. */ get id(): any;
|
|
62
62
|
/**
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
/**
|
|
67
67
|
* A reference to the containing `DocumentReference` if this is a
|
|
68
68
|
* subcollection. If this isn't a subcollection, the reference is null.
|
|
69
|
-
*/ get parent():
|
|
69
|
+
*/ get parent(): he | null;
|
|
70
70
|
}
|
|
71
71
|
/**
|
|
72
72
|
* @license
|
|
@@ -105,9 +105,9 @@
|
|
|
105
105
|
* and can be used to write, read, or listen to the location. The document at
|
|
106
106
|
* the referenced location may or may not exist.
|
|
107
107
|
*/
|
|
108
|
-
declare class
|
|
108
|
+
declare class he {
|
|
109
109
|
/** @hideconstructor */
|
|
110
|
-
constructor(t: any,
|
|
110
|
+
constructor(t: any, n: any, e: any);
|
|
111
111
|
converter: any;
|
|
112
112
|
_key: any;
|
|
113
113
|
/** The type of this Firestore reference. */
|
|
@@ -123,8 +123,8 @@ declare class hn {
|
|
|
123
123
|
*/ get path(): any;
|
|
124
124
|
/**
|
|
125
125
|
* The collection this `DocumentReference` belongs to.
|
|
126
|
-
*/ get parent():
|
|
127
|
-
withConverter(t: any):
|
|
126
|
+
*/ get parent(): fe;
|
|
127
|
+
withConverter(t: any): he;
|
|
128
128
|
}
|
|
129
129
|
/**
|
|
130
130
|
* @license
|
|
@@ -150,9 +150,9 @@ declare class hn {
|
|
|
150
150
|
* For a `DocumentSnapshot` that points to a non-existing document, any data
|
|
151
151
|
* access will return 'undefined'. You can use the `exists()` method to
|
|
152
152
|
* explicitly verify a document's existence.
|
|
153
|
-
*/ declare class
|
|
153
|
+
*/ declare class He {
|
|
154
154
|
/** @hideconstructor protected */
|
|
155
|
-
constructor(t: any,
|
|
155
|
+
constructor(t: any, n: any, e: any, r: any, s: any);
|
|
156
156
|
_firestore: any;
|
|
157
157
|
_userDataWriter: any;
|
|
158
158
|
_key: any;
|
|
@@ -161,7 +161,7 @@ declare class hn {
|
|
|
161
161
|
/** Property of the `DocumentSnapshot` that provides the document's ID. */ get id(): any;
|
|
162
162
|
/**
|
|
163
163
|
* The `DocumentReference` for the document included in the `DocumentSnapshot`.
|
|
164
|
-
*/ get ref():
|
|
164
|
+
*/ get ref(): he;
|
|
165
165
|
/**
|
|
166
166
|
* Signals whether or not the document at the snapshot's location exists.
|
|
167
167
|
*
|
|
@@ -208,7 +208,7 @@ declare class hn {
|
|
|
208
208
|
*
|
|
209
209
|
* Create a `FieldPath` by providing field names. If more than one field
|
|
210
210
|
* name is provided, the path will point to a nested field in a document.
|
|
211
|
-
*/ declare class
|
|
211
|
+
*/ declare class _e {
|
|
212
212
|
/**
|
|
213
213
|
* Creates a `FieldPath` from the provided field names. If more than one field
|
|
214
214
|
* name is provided, the path will point to a nested field in a document.
|
|
@@ -243,7 +243,7 @@ declare class hn {
|
|
|
243
243
|
/**
|
|
244
244
|
* Sentinel values that can be used when writing document fields with `set()`
|
|
245
245
|
* or `update()`.
|
|
246
|
-
*/ declare class
|
|
246
|
+
*/ declare class be {
|
|
247
247
|
/**
|
|
248
248
|
* @param _methodName - The public API endpoint that returns this class.
|
|
249
249
|
* @hideconstructor
|
|
@@ -271,9 +271,9 @@ declare class hn {
|
|
|
271
271
|
* The Cloud Firestore service interface.
|
|
272
272
|
*
|
|
273
273
|
* Do not call this constructor directly. Instead, use {@link getFirestore}.
|
|
274
|
-
*/ declare class
|
|
274
|
+
*/ declare class ie {
|
|
275
275
|
/** @hideconstructor */
|
|
276
|
-
constructor(t: any,
|
|
276
|
+
constructor(t: any, n: any, e: any);
|
|
277
277
|
_authCredentials: any;
|
|
278
278
|
_appCheckCredentials: any;
|
|
279
279
|
/**
|
|
@@ -281,7 +281,7 @@ declare class hn {
|
|
|
281
281
|
*/
|
|
282
282
|
type: string;
|
|
283
283
|
_persistenceKey: string;
|
|
284
|
-
_settings:
|
|
284
|
+
_settings: se;
|
|
285
285
|
_settingsFrozen: boolean;
|
|
286
286
|
_databaseId: K;
|
|
287
287
|
_app: any;
|
|
@@ -292,14 +292,14 @@ declare class hn {
|
|
|
292
292
|
get _initialized(): boolean;
|
|
293
293
|
get _terminated(): boolean;
|
|
294
294
|
_setSettings(t: any): void;
|
|
295
|
-
_getSettings():
|
|
296
|
-
_freezeSettings():
|
|
295
|
+
_getSettings(): se;
|
|
296
|
+
_freezeSettings(): se;
|
|
297
297
|
_delete(): Promise<void>;
|
|
298
298
|
_terminateTask: Promise<void> | undefined;
|
|
299
299
|
/** Returns a JSON-serializable representation of this `Firestore` instance. */ toJSON(): {
|
|
300
300
|
app: any;
|
|
301
301
|
databaseId: K;
|
|
302
|
-
settings:
|
|
302
|
+
settings: se;
|
|
303
303
|
};
|
|
304
304
|
/**
|
|
305
305
|
* Terminates all components used by this client. Subclasses can override
|
|
@@ -311,7 +311,7 @@ declare class hn {
|
|
|
311
311
|
}
|
|
312
312
|
/** An error returned by a Firestore operation. */ declare class U extends c {
|
|
313
313
|
/** @hideconstructor */
|
|
314
|
-
constructor(t: any,
|
|
314
|
+
constructor(t: any, n: any);
|
|
315
315
|
}
|
|
316
316
|
/**
|
|
317
317
|
* @license
|
|
@@ -335,14 +335,14 @@ declare class hn {
|
|
|
335
335
|
*
|
|
336
336
|
* Latitude values are in the range of [-90, 90].
|
|
337
337
|
* Longitude values are in the range of [-180, 180].
|
|
338
|
-
*/ declare class
|
|
338
|
+
*/ declare class Ee {
|
|
339
339
|
/**
|
|
340
340
|
* Creates a new immutable `GeoPoint` object with the provided latitude and
|
|
341
341
|
* longitude values.
|
|
342
342
|
* @param latitude - The latitude as number between -90 and 90.
|
|
343
343
|
* @param longitude - The longitude as number between -180 and 180.
|
|
344
344
|
*/
|
|
345
|
-
constructor(t: any,
|
|
345
|
+
constructor(t: any, n: any);
|
|
346
346
|
_lat: any;
|
|
347
347
|
_long: any;
|
|
348
348
|
/**
|
|
@@ -369,15 +369,15 @@ declare class hn {
|
|
|
369
369
|
/**
|
|
370
370
|
* A `Query` refers to a query which you can read or listen to. You can also
|
|
371
371
|
* construct refined `Query` objects by adding filters and ordering.
|
|
372
|
-
*/ declare class
|
|
372
|
+
*/ declare class le {
|
|
373
373
|
/** @hideconstructor protected */
|
|
374
|
-
constructor(t: any,
|
|
374
|
+
constructor(t: any, n: any, e: any);
|
|
375
375
|
converter: any;
|
|
376
376
|
_query: any;
|
|
377
377
|
/** The type of this Firestore reference. */
|
|
378
378
|
type: string;
|
|
379
379
|
firestore: any;
|
|
380
|
-
withConverter(t: any):
|
|
380
|
+
withConverter(t: any): le;
|
|
381
381
|
}
|
|
382
382
|
/**
|
|
383
383
|
* @license
|
|
@@ -415,7 +415,7 @@ declare class tr {
|
|
|
415
415
|
* `DocumentSnapshot`. Since query results contain only existing documents, the
|
|
416
416
|
* `exists` property will always be true and `data()` will never return
|
|
417
417
|
* 'undefined'.
|
|
418
|
-
*/ declare class
|
|
418
|
+
*/ declare class Ke extends He {
|
|
419
419
|
}
|
|
420
420
|
/**
|
|
421
421
|
* A `QuerySnapshot` contains zero or more `DocumentSnapshot` objects
|
|
@@ -423,9 +423,9 @@ declare class tr {
|
|
|
423
423
|
* array via the `docs` property or enumerated using the `forEach` method. The
|
|
424
424
|
* number of documents can be determined via the `empty` and `size`
|
|
425
425
|
* properties.
|
|
426
|
-
*/ declare class
|
|
426
|
+
*/ declare class Je {
|
|
427
427
|
/** @hideconstructor */
|
|
428
|
-
constructor(t: any,
|
|
428
|
+
constructor(t: any, n: any);
|
|
429
429
|
_docs: any;
|
|
430
430
|
query: any;
|
|
431
431
|
/** An array of all the documents in the `QuerySnapshot`. */ get docs(): any[];
|
|
@@ -437,7 +437,7 @@ declare class tr {
|
|
|
437
437
|
* @param callback - A callback to be called with a `QueryDocumentSnapshot` for
|
|
438
438
|
* each document in the snapshot.
|
|
439
439
|
* @param thisArg - The `this` binding for the callback.
|
|
440
|
-
*/ forEach(t: any,
|
|
440
|
+
*/ forEach(t: any, n: any): void;
|
|
441
441
|
}
|
|
442
442
|
/**
|
|
443
443
|
* @license
|
|
@@ -501,7 +501,7 @@ declare class gt {
|
|
|
501
501
|
* non-negative nanoseconds values that count forward in time. Must be
|
|
502
502
|
* from 0 to 999,999,999 inclusive.
|
|
503
503
|
*/
|
|
504
|
-
constructor(t: any,
|
|
504
|
+
constructor(t: any, n: any);
|
|
505
505
|
seconds: any;
|
|
506
506
|
nanoseconds: any;
|
|
507
507
|
/**
|
|
@@ -538,18 +538,18 @@ declare class gt {
|
|
|
538
538
|
}
|
|
539
539
|
declare class kr {
|
|
540
540
|
/** @hideconstructor */
|
|
541
|
-
constructor(t: any,
|
|
541
|
+
constructor(t: any, n: any);
|
|
542
542
|
_firestore: any;
|
|
543
543
|
_transaction: any;
|
|
544
|
-
_dataReader:
|
|
544
|
+
_dataReader: Ve;
|
|
545
545
|
/**
|
|
546
546
|
* Reads the document referenced by the provided {@link DocumentReference}.
|
|
547
547
|
*
|
|
548
548
|
* @param documentRef - A reference to the document to be read.
|
|
549
549
|
* @returns A `DocumentSnapshot` with the read data.
|
|
550
550
|
*/ get(t: any): any;
|
|
551
|
-
set(t: any,
|
|
552
|
-
update(t: any,
|
|
551
|
+
set(t: any, n: any, e: any): kr;
|
|
552
|
+
update(t: any, n: any, e: any, ...r: any[]): kr;
|
|
553
553
|
/**
|
|
554
554
|
* Deletes the document referred to by the provided {@link DocumentReference}.
|
|
555
555
|
*
|
|
@@ -580,22 +580,22 @@ declare class kr {
|
|
|
580
580
|
* provides methods for adding writes to the write batch. None of the writes
|
|
581
581
|
* will be committed (or visible locally) until {@link WriteBatch.commit} is
|
|
582
582
|
* called.
|
|
583
|
-
*/ declare class
|
|
583
|
+
*/ declare class Sr {
|
|
584
584
|
/** @hideconstructor */
|
|
585
|
-
constructor(t: any,
|
|
585
|
+
constructor(t: any, n: any);
|
|
586
586
|
_firestore: any;
|
|
587
587
|
_commitHandler: any;
|
|
588
588
|
_mutations: any[];
|
|
589
589
|
_committed: boolean;
|
|
590
|
-
_dataReader:
|
|
591
|
-
set(t: any,
|
|
592
|
-
update(t: any,
|
|
590
|
+
_dataReader: Ve;
|
|
591
|
+
set(t: any, n: any, e: any): Sr;
|
|
592
|
+
update(t: any, n: any, e: any, ...r: any[]): Sr;
|
|
593
593
|
/**
|
|
594
594
|
* Deletes the document referred to by the provided {@link DocumentReference}.
|
|
595
595
|
*
|
|
596
596
|
* @param documentRef - A reference to the document to be deleted.
|
|
597
597
|
* @returns This `WriteBatch` instance. Used for chaining method calls.
|
|
598
|
-
*/ delete(t: any):
|
|
598
|
+
*/ delete(t: any): Sr;
|
|
599
599
|
/**
|
|
600
600
|
* Commits all of the writes in this write batch as a single atomic unit.
|
|
601
601
|
*
|
|
@@ -624,7 +624,7 @@ declare class kr {
|
|
|
624
624
|
* @throws Error - If the provided input is not a valid Firestore document.
|
|
625
625
|
* @returns A `Promise` resolved with a `DocumentReference` pointing to the
|
|
626
626
|
* newly created document after it has been written to the backend.
|
|
627
|
-
*/ declare function
|
|
627
|
+
*/ declare function Rr(t: any, n: any): Promise<he>;
|
|
628
628
|
/**
|
|
629
629
|
* Returns a special value that can be used with {@link (setDoc:1)} or {@link
|
|
630
630
|
* updateDoc:1} that tells the server to remove the given elements from any
|
|
@@ -635,7 +635,7 @@ declare class kr {
|
|
|
635
635
|
* @param elements - The elements to remove from the array.
|
|
636
636
|
* @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
|
|
637
637
|
* `updateDoc()`
|
|
638
|
-
*/ declare function Nr(...t: any[]):
|
|
638
|
+
*/ declare function Nr(...t: any[]): qe;
|
|
639
639
|
/**
|
|
640
640
|
* Returns a special value that can be used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link
|
|
641
641
|
* @firebase/firestore/lite#(updateDoc:1)} that tells the server to union the given elements with any array
|
|
@@ -647,8 +647,8 @@ declare class kr {
|
|
|
647
647
|
* @param elements - The elements to union into the array.
|
|
648
648
|
* @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
|
|
649
649
|
* `updateDoc()`.
|
|
650
|
-
*/ declare function Dr(...t: any[]):
|
|
651
|
-
declare function
|
|
650
|
+
*/ declare function Dr(...t: any[]): xe;
|
|
651
|
+
declare function de(t: any, n: any, ...e: any[]): fe;
|
|
652
652
|
/**
|
|
653
653
|
* Creates and returns a new `Query` instance that includes all documents in the
|
|
654
654
|
* database that are contained in a collection or subcollection with the
|
|
@@ -659,7 +659,7 @@ declare function dn(t: any, e: any, ...n: any[]): fn;
|
|
|
659
659
|
* collection or subcollection with this ID as the last segment of its path
|
|
660
660
|
* will be included. Cannot contain a slash.
|
|
661
661
|
* @returns The created `Query`.
|
|
662
|
-
*/ declare function
|
|
662
|
+
*/ declare function we(t: any, n: any): le;
|
|
663
663
|
/**
|
|
664
664
|
* Modify this instance to communicate with the Cloud Firestore emulator.
|
|
665
665
|
*
|
|
@@ -672,7 +672,7 @@ declare function dn(t: any, e: any, ...n: any[]): fn;
|
|
|
672
672
|
* @param port - the emulator port (ex: 9000).
|
|
673
673
|
* @param options.mockUserToken - the mock auth token to use for unit testing
|
|
674
674
|
* Security Rules.
|
|
675
|
-
*/ declare function
|
|
675
|
+
*/ declare function ce(t: any, n: any, e: any, r?: {}): void;
|
|
676
676
|
/**
|
|
677
677
|
* Deletes the document referred to by the specified `DocumentReference`.
|
|
678
678
|
*
|
|
@@ -704,12 +704,12 @@ declare function dn(t: any, e: any, ...n: any[]): fn;
|
|
|
704
704
|
/**
|
|
705
705
|
* Returns a sentinel for use with {@link @firebase/firestore/lite#(updateDoc:1)} or
|
|
706
706
|
* {@link @firebase/firestore/lite#(setDoc:1)} with `{merge: true}` to mark a field for deletion.
|
|
707
|
-
*/ declare function
|
|
708
|
-
declare function
|
|
707
|
+
*/ declare function Pr(): $e;
|
|
708
|
+
declare function me(t: any, n: any, ...e: any[]): he;
|
|
709
709
|
/**
|
|
710
710
|
* Returns a special sentinel `FieldPath` to refer to the ID of a document.
|
|
711
711
|
* It can be used in queries to sort or filter by the document ID.
|
|
712
|
-
*/ declare function
|
|
712
|
+
*/ declare function ge(): _e;
|
|
713
713
|
declare function wr(...t: any[]): fr;
|
|
714
714
|
declare function dr(...t: any[]): fr;
|
|
715
715
|
/**
|
|
@@ -724,7 +724,7 @@ declare function dr(...t: any[]): fr;
|
|
|
724
724
|
* @param reference - The reference of the document to fetch.
|
|
725
725
|
* @returns A Promise resolved with a `DocumentSnapshot` containing the current
|
|
726
726
|
* document contents.
|
|
727
|
-
*/ declare function br(t: any): Promise<
|
|
727
|
+
*/ declare function br(t: any): Promise<He>;
|
|
728
728
|
/**
|
|
729
729
|
* Executes the query and returns the results as a {@link QuerySnapshot}.
|
|
730
730
|
*
|
|
@@ -736,7 +736,7 @@ declare function dr(...t: any[]): fr;
|
|
|
736
736
|
*
|
|
737
737
|
* @param query - The `Query` to execute.
|
|
738
738
|
* @returns A Promise that will be resolved with the results of the query.
|
|
739
|
-
*/ declare function Er(t: any): Promise<
|
|
739
|
+
*/ declare function Er(t: any): Promise<Je>;
|
|
740
740
|
/**
|
|
741
741
|
* Returns the existing `Firestore` instance that is associated with the
|
|
742
742
|
* provided {@link @firebase/app#FirebaseApp}. If no instance exists, initializes a new
|
|
@@ -745,7 +745,7 @@ declare function dr(...t: any[]): fr;
|
|
|
745
745
|
* @param app - The {@link @firebase/app#FirebaseApp} instance that the returned `Firestore`
|
|
746
746
|
* instance is associated with.
|
|
747
747
|
* @returns The `Firestore` instance of the provided app.
|
|
748
|
-
*/ declare function
|
|
748
|
+
*/ declare function ue(n?: import("@firebase/app").FirebaseApp): import("../../lite").Firestore;
|
|
749
749
|
/**
|
|
750
750
|
* Returns a special value that can be used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link
|
|
751
751
|
* @firebase/firestore/lite#(updateDoc:1)} that tells the server to increment the field's current value by
|
|
@@ -764,8 +764,8 @@ declare function dr(...t: any[]): fr;
|
|
|
764
764
|
* @param n - The value to increment by.
|
|
765
765
|
* @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
|
|
766
766
|
* `updateDoc()`
|
|
767
|
-
*/ declare function $r(t: any):
|
|
768
|
-
declare function
|
|
767
|
+
*/ declare function $r(t: any): Oe;
|
|
768
|
+
declare function oe(t: any, n: any): import("../../lite").Firestore;
|
|
769
769
|
/**
|
|
770
770
|
* Creates a {@link QueryConstraint} that only returns the first matching documents.
|
|
771
771
|
*
|
|
@@ -789,7 +789,7 @@ declare function on(t: any, e: any): import("../../lite").Firestore;
|
|
|
789
789
|
* @param directionStr - Optional direction to sort by ('asc' or 'desc'). If
|
|
790
790
|
* not specified, order will be ascending.
|
|
791
791
|
* @returns The created {@link Query}.
|
|
792
|
-
*/ declare function ir(t: any,
|
|
792
|
+
*/ declare function ir(t: any, n?: string): sr;
|
|
793
793
|
/**
|
|
794
794
|
* Creates a new immutable instance of {@link Query} that is extended to also include
|
|
795
795
|
* additional query constraints.
|
|
@@ -798,7 +798,7 @@ declare function on(t: any, e: any): import("../../lite").Firestore;
|
|
|
798
798
|
* @param queryConstraints - The list of {@link QueryConstraint}s to apply.
|
|
799
799
|
* @throws if any of the provided query constraints cannot be combined with the
|
|
800
800
|
* existing or new constraints.
|
|
801
|
-
*/ declare function
|
|
801
|
+
*/ declare function nr(t: any, ...n: any[]): any;
|
|
802
802
|
/**
|
|
803
803
|
* Returns true if the provided queries point to the same collection and apply
|
|
804
804
|
* the same constraints.
|
|
@@ -807,7 +807,7 @@ declare function on(t: any, e: any): import("../../lite").Firestore;
|
|
|
807
807
|
* @param right - A `Query` to compare.
|
|
808
808
|
* @returns true if the references point to the same location in the same
|
|
809
809
|
* Firestore database.
|
|
810
|
-
*/ declare function
|
|
810
|
+
*/ declare function ye(t: any, n: any): boolean;
|
|
811
811
|
/**
|
|
812
812
|
* Returns true if the provided references are equal.
|
|
813
813
|
*
|
|
@@ -815,7 +815,7 @@ declare function on(t: any, e: any): import("../../lite").Firestore;
|
|
|
815
815
|
* @param right - A reference to compare.
|
|
816
816
|
* @returns true if the references point to the same location in the same
|
|
817
817
|
* Firestore database.
|
|
818
|
-
*/ declare function
|
|
818
|
+
*/ declare function pe(t: any, n: any): boolean;
|
|
819
819
|
/**
|
|
820
820
|
* Executes the given `updateFunction` and then attempts to commit the changes
|
|
821
821
|
* applied within the transaction. If any document read within the transaction
|
|
@@ -832,12 +832,12 @@ declare function on(t: any, e: any): import("../../lite").Firestore;
|
|
|
832
832
|
* (the `updateFunction` returned a failed promise), the promise returned by the
|
|
833
833
|
* `updateFunction `is returned here. Otherwise, if the transaction failed, a
|
|
834
834
|
* rejected promise with the corresponding failure error is returned.
|
|
835
|
-
*/ declare function jr(t: any,
|
|
835
|
+
*/ declare function jr(t: any, n: any): Promise<any>;
|
|
836
836
|
/**
|
|
837
837
|
* Returns a sentinel used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link @firebase/firestore/lite#(updateDoc:1)} to
|
|
838
838
|
* include a server-generated timestamp in the written data.
|
|
839
|
-
*/ declare function Vr():
|
|
840
|
-
declare function Tr(t: any,
|
|
839
|
+
*/ declare function Vr(): Fe;
|
|
840
|
+
declare function Tr(t: any, n: any, e: any): Promise<void>;
|
|
841
841
|
/**
|
|
842
842
|
* Sets the verbosity of Cloud Firestore logs (debug, error, or silent).
|
|
843
843
|
*
|
|
@@ -857,7 +857,7 @@ declare function Tr(t: any, e: any, n: any): Promise<void>;
|
|
|
857
857
|
* @param left - A snapshot to compare.
|
|
858
858
|
* @param right - A snapshot to compare.
|
|
859
859
|
* @returns true if the snapshots are equal.
|
|
860
|
-
*/ declare function
|
|
860
|
+
*/ declare function Xe(t: any, n: any): any;
|
|
861
861
|
declare function lr(...t: any[]): ar;
|
|
862
862
|
declare function hr(...t: any[]): ar;
|
|
863
863
|
/**
|
|
@@ -879,8 +879,8 @@ declare function hr(...t: any[]): ar;
|
|
|
879
879
|
* @param firestore - The `Firestore` instance to terminate.
|
|
880
880
|
* @returns A `Promise` that is resolved when the instance has been successfully
|
|
881
881
|
* terminated.
|
|
882
|
-
*/ declare function
|
|
883
|
-
declare function Ir(t: any,
|
|
882
|
+
*/ declare function ae(t: any): any;
|
|
883
|
+
declare function Ir(t: any, n: any, e: any, ...r: any[]): Promise<void>;
|
|
884
884
|
/**
|
|
885
885
|
* Creates a {@link QueryConstraint} that enforces that documents must contain the
|
|
886
886
|
* specified field and that the value should satisfy the relation constraint
|
|
@@ -891,7 +891,7 @@ declare function Ir(t: any, e: any, n: any, ...r: any[]): Promise<void>;
|
|
|
891
891
|
* "<=", "!=").
|
|
892
892
|
* @param value - The value for comparison
|
|
893
893
|
* @returns The created {@link Query}.
|
|
894
|
-
*/ declare function rr(t: any,
|
|
894
|
+
*/ declare function rr(t: any, n: any, e: any): er;
|
|
895
895
|
/**
|
|
896
896
|
* Creates a write batch, used for performing multiple writes as a single
|
|
897
897
|
* atomic operation. The maximum number of writes allowed in a single WriteBatch
|
|
@@ -904,7 +904,7 @@ declare function Ir(t: any, e: any, n: any, ...r: any[]): Promise<void>;
|
|
|
904
904
|
*
|
|
905
905
|
* @returns A `WriteBatch` that can be used to atomically execute multiple
|
|
906
906
|
* writes.
|
|
907
|
-
*/ declare function xr(t: any):
|
|
907
|
+
*/ declare function xr(t: any): Sr;
|
|
908
908
|
/**
|
|
909
909
|
* A dot-separated path for navigating sub-objects within a document.
|
|
910
910
|
* @internal
|
|
@@ -927,7 +927,7 @@ declare function Ir(t: any, e: any, n: any, ...r: any[]): Promise<void>;
|
|
|
927
927
|
* non-identifier path components, even if they aren't escaped.
|
|
928
928
|
*/ static fromServerFormat(t: any): tt;
|
|
929
929
|
static emptyPath(): tt;
|
|
930
|
-
construct(t: any,
|
|
930
|
+
construct(t: any, n: any, e: any): tt;
|
|
931
931
|
canonicalString(): any;
|
|
932
932
|
toString(): any;
|
|
933
933
|
/**
|
|
@@ -943,7 +943,7 @@ declare function Ir(t: any, e: any, n: any, ...r: any[]): Promise<void>;
|
|
|
943
943
|
* user-supplied `FirestoreSettings` object. This is a separate type so that
|
|
944
944
|
* defaults can be supplied and the value can be checked for equality.
|
|
945
945
|
*/
|
|
946
|
-
declare class
|
|
946
|
+
declare class se {
|
|
947
947
|
constructor(t: any);
|
|
948
948
|
host: any;
|
|
949
949
|
ssl: any;
|
|
@@ -961,7 +961,7 @@ declare class rn {
|
|
|
961
961
|
* @internal
|
|
962
962
|
*/
|
|
963
963
|
declare class K {
|
|
964
|
-
constructor(t: any,
|
|
964
|
+
constructor(t: any, n: any);
|
|
965
965
|
projectId: any;
|
|
966
966
|
database: any;
|
|
967
967
|
get isDefaultDatabase(): boolean;
|
|
@@ -971,74 +971,74 @@ import { FirebaseError as c } from "@firebase/util/dist/src/errors";
|
|
|
971
971
|
/**
|
|
972
972
|
* Helper for parsing raw user input (provided via the API) into internal model
|
|
973
973
|
* classes.
|
|
974
|
-
*/ declare class
|
|
975
|
-
constructor(t: any,
|
|
974
|
+
*/ declare class Ve {
|
|
975
|
+
constructor(t: any, n: any, e: any);
|
|
976
976
|
databaseId: any;
|
|
977
977
|
ignoreUndefinedProperties: any;
|
|
978
978
|
q: any;
|
|
979
|
-
/** Creates a new top-level parse context. */ ht(t: any,
|
|
979
|
+
/** Creates a new top-level parse context. */ ht(t: any, n: any, e: any, r?: boolean): Pe;
|
|
980
980
|
}
|
|
981
|
-
declare class
|
|
982
|
-
constructor(t: any,
|
|
981
|
+
declare class qe extends be {
|
|
982
|
+
constructor(t: any, n: any);
|
|
983
983
|
lt: any;
|
|
984
|
-
_toFieldTransform(t: any):
|
|
984
|
+
_toFieldTransform(t: any): bn;
|
|
985
985
|
isEqual(t: any): boolean;
|
|
986
986
|
}
|
|
987
|
-
declare class
|
|
988
|
-
constructor(t: any,
|
|
987
|
+
declare class xe extends be {
|
|
988
|
+
constructor(t: any, n: any);
|
|
989
989
|
lt: any;
|
|
990
|
-
_toFieldTransform(t: any):
|
|
990
|
+
_toFieldTransform(t: any): bn;
|
|
991
991
|
isEqual(t: any): boolean;
|
|
992
992
|
}
|
|
993
|
-
declare class $
|
|
993
|
+
declare class $e extends be {
|
|
994
994
|
_toFieldTransform(t: any): null;
|
|
995
995
|
isEqual(t: any): boolean;
|
|
996
996
|
}
|
|
997
997
|
declare class fr extends tr {
|
|
998
|
-
constructor(t: any,
|
|
998
|
+
constructor(t: any, n: any, e: any);
|
|
999
999
|
type: any;
|
|
1000
1000
|
bt: any;
|
|
1001
1001
|
Et: any;
|
|
1002
|
-
_apply(t: any):
|
|
1002
|
+
_apply(t: any): le;
|
|
1003
1003
|
}
|
|
1004
|
-
declare class
|
|
1005
|
-
constructor(t: any,
|
|
1004
|
+
declare class Oe extends be {
|
|
1005
|
+
constructor(t: any, n: any);
|
|
1006
1006
|
ft: any;
|
|
1007
|
-
_toFieldTransform(t: any):
|
|
1007
|
+
_toFieldTransform(t: any): bn;
|
|
1008
1008
|
isEqual(t: any): boolean;
|
|
1009
1009
|
}
|
|
1010
1010
|
declare class or extends tr {
|
|
1011
|
-
constructor(t: any,
|
|
1011
|
+
constructor(t: any, n: any, e: any);
|
|
1012
1012
|
type: any;
|
|
1013
1013
|
gt: any;
|
|
1014
1014
|
vt: any;
|
|
1015
|
-
_apply(t: any):
|
|
1015
|
+
_apply(t: any): le;
|
|
1016
1016
|
}
|
|
1017
1017
|
declare class sr extends tr {
|
|
1018
|
-
constructor(t: any,
|
|
1018
|
+
constructor(t: any, n: any);
|
|
1019
1019
|
dt: any;
|
|
1020
1020
|
_t: any;
|
|
1021
1021
|
type: string;
|
|
1022
|
-
_apply(t: any):
|
|
1022
|
+
_apply(t: any): le;
|
|
1023
1023
|
}
|
|
1024
|
-
declare class
|
|
1025
|
-
_toFieldTransform(t: any):
|
|
1024
|
+
declare class Fe extends be {
|
|
1025
|
+
_toFieldTransform(t: any): bn;
|
|
1026
1026
|
isEqual(t: any): boolean;
|
|
1027
1027
|
}
|
|
1028
1028
|
declare class ar extends tr {
|
|
1029
|
-
constructor(t: any,
|
|
1029
|
+
constructor(t: any, n: any, e: any);
|
|
1030
1030
|
type: any;
|
|
1031
1031
|
bt: any;
|
|
1032
1032
|
Et: any;
|
|
1033
|
-
_apply(t: any):
|
|
1033
|
+
_apply(t: any): le;
|
|
1034
1034
|
}
|
|
1035
|
-
declare class
|
|
1036
|
-
constructor(t: any,
|
|
1035
|
+
declare class er extends tr {
|
|
1036
|
+
constructor(t: any, n: any, e: any);
|
|
1037
1037
|
dt: any;
|
|
1038
1038
|
wt: any;
|
|
1039
1039
|
yt: any;
|
|
1040
1040
|
type: string;
|
|
1041
|
-
_apply(t: any):
|
|
1041
|
+
_apply(t: any): le;
|
|
1042
1042
|
}
|
|
1043
1043
|
/**
|
|
1044
1044
|
* @license
|
|
@@ -1060,8 +1060,8 @@ declare class nr extends tr {
|
|
|
1060
1060
|
* Path represents an ordered sequence of string segments.
|
|
1061
1061
|
*/
|
|
1062
1062
|
declare class J {
|
|
1063
|
-
static comparator(t: any,
|
|
1064
|
-
constructor(t: any,
|
|
1063
|
+
static comparator(t: any, n: any): 0 | 1 | -1;
|
|
1064
|
+
constructor(t: any, n: any, e: any);
|
|
1065
1065
|
segments: any;
|
|
1066
1066
|
offset: any;
|
|
1067
1067
|
len: any;
|
|
@@ -1080,7 +1080,7 @@ declare class J {
|
|
|
1080
1080
|
forEach(t: any): void;
|
|
1081
1081
|
toArray(): any;
|
|
1082
1082
|
}
|
|
1083
|
-
/** A "context" object passed around while parsing user data. */ declare class
|
|
1083
|
+
/** A "context" object passed around while parsing user data. */ declare class Pe {
|
|
1084
1084
|
/**
|
|
1085
1085
|
* Initializes a ParseContext with the given source and path.
|
|
1086
1086
|
*
|
|
@@ -1099,7 +1099,7 @@ declare class J {
|
|
|
1099
1099
|
* which case certain features will not work and errors will be somewhat
|
|
1100
1100
|
* compromised).
|
|
1101
1101
|
*/
|
|
1102
|
-
constructor(t: any,
|
|
1102
|
+
constructor(t: any, n: any, e: any, r: any, s: any, i: any);
|
|
1103
1103
|
settings: any;
|
|
1104
1104
|
databaseId: any;
|
|
1105
1105
|
q: any;
|
|
@@ -1108,10 +1108,10 @@ declare class J {
|
|
|
1108
1108
|
fieldMask: any;
|
|
1109
1109
|
get path(): any;
|
|
1110
1110
|
get tt(): any;
|
|
1111
|
-
/** Returns a new context with the specified settings overwritten. */
|
|
1112
|
-
|
|
1113
|
-
it(t: any):
|
|
1114
|
-
ot(t: any):
|
|
1111
|
+
/** Returns a new context with the specified settings overwritten. */ nt(t: any): Pe;
|
|
1112
|
+
et(t: any): Pe;
|
|
1113
|
+
it(t: any): Pe;
|
|
1114
|
+
ot(t: any): Pe;
|
|
1115
1115
|
ut(t: any): U;
|
|
1116
1116
|
/** Returns 'true' if 'fieldPath' was traversed when creating this context. */ contains(t: any): boolean;
|
|
1117
1117
|
Z(): void;
|
|
@@ -1133,9 +1133,9 @@ declare class J {
|
|
|
1133
1133
|
* See the License for the specific language governing permissions and
|
|
1134
1134
|
* limitations under the License.
|
|
1135
1135
|
*/
|
|
1136
|
-
/** A field path and the TransformOperation to perform upon it. */ declare class
|
|
1137
|
-
constructor(t: any,
|
|
1136
|
+
/** A field path and the TransformOperation to perform upon it. */ declare class bn {
|
|
1137
|
+
constructor(t: any, n: any);
|
|
1138
1138
|
field: any;
|
|
1139
1139
|
transform: any;
|
|
1140
1140
|
}
|
|
1141
|
-
export {
|
|
1141
|
+
export { ve as Bytes, fe as CollectionReference, he as DocumentReference, He as DocumentSnapshot, _e as FieldPath, be as FieldValue, ie as Firestore, U as FirestoreError, Ee as GeoPoint, le as Query, tr as QueryConstraint, Ke as QueryDocumentSnapshot, Je as QuerySnapshot, gt as Timestamp, kr as Transaction, Sr as WriteBatch, Rr as addDoc, Nr as arrayRemove, Dr as arrayUnion, de as collection, we as collectionGroup, ce as connectFirestoreEmulator, Ar as deleteDoc, Pr as deleteField, me as doc, ge as documentId, wr as endAt, dr as endBefore, br as getDoc, Er as getDocs, ue as getFirestore, $r as increment, oe as initializeFirestore, ur as limit, cr as limitToLast, ir as orderBy, nr as query, ye as queryEqual, pe as refEqual, jr as runTransaction, Vr as serverTimestamp, Tr as setDoc, w as setLogLevel, Xe as snapshotEqual, lr as startAfter, hr as startAt, ae as terminate, Ir as updateDoc, rr as where, xr as writeBatch };
|