@firebase/firestore 3.3.0 → 3.3.1-canary.086df7c7e
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/credentials.d.ts +64 -30
- package/dist/firestore/src/api/database.d.ts +2 -1
- package/dist/firestore/src/api.d.ts +2 -1
- package/dist/firestore/src/core/component_provider.d.ts +2 -1
- package/dist/firestore/src/core/firestore_client.d.ts +4 -3
- package/dist/firestore/src/lite-api/components.d.ts +3 -1
- package/dist/firestore/src/lite-api/database.d.ts +4 -2
- package/dist/firestore/src/platform/browser/webchannel_connection.d.ts +1 -1
- package/dist/firestore/src/platform/node/grpc_connection.d.ts +3 -3
- package/dist/firestore/src/remote/connection.d.ts +3 -3
- package/dist/firestore/src/remote/datastore.d.ts +2 -1
- package/dist/firestore/src/remote/persistent_stream.d.ts +9 -7
- package/dist/firestore/src/remote/rest_connection.d.ts +4 -4
- package/dist/firestore/test/integration/remote/stream.test.d.ts +2 -2
- package/dist/firestore/test/integration/util/internal_helpers.d.ts +5 -5
- package/dist/firestore/test/unit/remote/rest_connection.test.d.ts +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.esm2017.js +3401 -3347
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +3676 -3627
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +194 -101
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.node.mjs +191 -99
- package/dist/index.node.mjs.map +1 -1
- package/dist/index.rn.js +3394 -3340
- package/dist/index.rn.js.map +1 -1
- package/dist/internal.d.ts +34 -20
- package/dist/lite/firestore/src/api/credentials.d.ts +64 -30
- package/dist/lite/firestore/src/api/database.d.ts +2 -1
- package/dist/lite/firestore/src/api.d.ts +2 -1
- package/dist/lite/firestore/src/core/component_provider.d.ts +2 -1
- package/dist/lite/firestore/src/core/firestore_client.d.ts +4 -3
- package/dist/lite/firestore/src/lite-api/components.d.ts +3 -1
- package/dist/lite/firestore/src/lite-api/database.d.ts +4 -2
- package/dist/lite/firestore/src/platform/browser/webchannel_connection.d.ts +1 -1
- package/dist/lite/firestore/src/platform/node/grpc_connection.d.ts +3 -3
- package/dist/lite/firestore/src/remote/connection.d.ts +3 -3
- package/dist/lite/firestore/src/remote/datastore.d.ts +2 -1
- package/dist/lite/firestore/src/remote/persistent_stream.d.ts +9 -7
- package/dist/lite/firestore/src/remote/rest_connection.d.ts +4 -4
- package/dist/lite/firestore/test/integration/remote/stream.test.d.ts +2 -2
- package/dist/lite/firestore/test/integration/util/internal_helpers.d.ts +5 -5
- package/dist/lite/firestore/test/unit/remote/rest_connection.test.d.ts +1 -1
- package/dist/lite/index.browser.esm2017.js +1378 -1364
- package/dist/lite/index.browser.esm2017.js.map +1 -1
- package/dist/lite/index.browser.esm5.js +933 -924
- package/dist/lite/index.browser.esm5.js.map +1 -1
- package/dist/lite/index.node.cjs.js +95 -60
- package/dist/lite/index.node.cjs.js.map +1 -1
- package/dist/lite/index.node.mjs +95 -60
- package/dist/lite/index.node.mjs.map +1 -1
- package/dist/lite/index.rn.esm2017.js +924 -910
- package/dist/lite/index.rn.esm2017.js.map +1 -1
- package/dist/lite/internal.d.ts +14 -13
- package/dist/lite/packages/firestore/dist/lite/index.browser.esm2017.d.ts +150 -149
- package/dist/lite/packages/firestore/src/api/credentials.d.ts +64 -30
- package/dist/lite/packages/firestore/src/api/database.d.ts +2 -1
- package/dist/lite/packages/firestore/src/api.d.ts +2 -1
- package/dist/lite/packages/firestore/src/core/component_provider.d.ts +2 -1
- package/dist/lite/packages/firestore/src/core/firestore_client.d.ts +4 -3
- package/dist/lite/packages/firestore/src/lite-api/components.d.ts +3 -1
- package/dist/lite/packages/firestore/src/lite-api/database.d.ts +4 -2
- package/dist/lite/packages/firestore/src/platform/browser/webchannel_connection.d.ts +1 -1
- package/dist/lite/packages/firestore/src/platform/node/grpc_connection.d.ts +3 -3
- package/dist/lite/packages/firestore/src/remote/connection.d.ts +3 -3
- package/dist/lite/packages/firestore/src/remote/datastore.d.ts +2 -1
- package/dist/lite/packages/firestore/src/remote/persistent_stream.d.ts +9 -7
- package/dist/lite/packages/firestore/src/remote/rest_connection.d.ts +4 -4
- package/dist/lite/packages/firestore/test/integration/remote/stream.test.d.ts +2 -2
- package/dist/lite/packages/firestore/test/integration/util/internal_helpers.d.ts +5 -5
- package/dist/lite/packages/firestore/test/unit/remote/rest_connection.test.d.ts +1 -1
- package/dist/lite/private.d.ts +14 -13
- package/dist/packages/firestore/dist/index.esm2017.d.ts +211 -195
- package/dist/packages/firestore/src/api/credentials.d.ts +64 -30
- package/dist/packages/firestore/src/api/database.d.ts +2 -1
- package/dist/packages/firestore/src/api.d.ts +2 -1
- package/dist/packages/firestore/src/core/component_provider.d.ts +2 -1
- package/dist/packages/firestore/src/core/firestore_client.d.ts +4 -3
- package/dist/packages/firestore/src/lite-api/components.d.ts +3 -1
- package/dist/packages/firestore/src/lite-api/database.d.ts +4 -2
- package/dist/packages/firestore/src/platform/browser/webchannel_connection.d.ts +1 -1
- package/dist/packages/firestore/src/platform/node/grpc_connection.d.ts +3 -3
- package/dist/packages/firestore/src/remote/connection.d.ts +3 -3
- package/dist/packages/firestore/src/remote/datastore.d.ts +2 -1
- package/dist/packages/firestore/src/remote/persistent_stream.d.ts +9 -7
- package/dist/packages/firestore/src/remote/rest_connection.d.ts +4 -4
- package/dist/packages/firestore/test/integration/remote/stream.test.d.ts +2 -2
- package/dist/packages/firestore/test/integration/util/internal_helpers.d.ts +5 -5
- package/dist/packages/firestore/test/unit/remote/rest_connection.test.d.ts +1 -1
- package/dist/private.d.ts +24 -19
- package/package.json +9 -9
|
@@ -16,18 +16,18 @@
|
|
|
16
16
|
*/
|
|
17
17
|
/**
|
|
18
18
|
* An immutable object representing an array of bytes.
|
|
19
|
-
*/ declare class
|
|
19
|
+
*/ declare class ge {
|
|
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): ge;
|
|
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): ge;
|
|
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 le extends he {
|
|
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(): ae | 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 ae {
|
|
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 un {
|
|
|
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(): le;
|
|
127
|
+
withConverter(t: any): ae;
|
|
128
128
|
}
|
|
129
129
|
/**
|
|
130
130
|
* @license
|
|
@@ -150,9 +150,9 @@ declare class un {
|
|
|
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 Ye {
|
|
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 un {
|
|
|
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(): ae;
|
|
165
165
|
/**
|
|
166
166
|
* Signals whether or not the document at the snapshot's location exists.
|
|
167
167
|
*
|
|
@@ -208,7 +208,7 @@ declare class un {
|
|
|
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 ye {
|
|
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.
|
|
@@ -216,7 +216,7 @@ declare class un {
|
|
|
216
216
|
* @param fieldNames - A list of field names.
|
|
217
217
|
*/
|
|
218
218
|
constructor(...t: any[]);
|
|
219
|
-
_internalPath:
|
|
219
|
+
_internalPath: Z;
|
|
220
220
|
/**
|
|
221
221
|
* Returns true if this `FieldPath` is equal to the provided one.
|
|
222
222
|
*
|
|
@@ -243,7 +243,7 @@ declare class un {
|
|
|
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,18 +271,19 @@ declare class un {
|
|
|
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 se {
|
|
275
275
|
/** @hideconstructor */
|
|
276
|
-
constructor(t: any, e: any);
|
|
277
|
-
|
|
276
|
+
constructor(t: any, n: any, e: any);
|
|
277
|
+
_authCredentials: any;
|
|
278
|
+
_appCheckCredentials: any;
|
|
278
279
|
/**
|
|
279
280
|
* Whether it's a Firestore or Firestore Lite instance.
|
|
280
281
|
*/
|
|
281
282
|
type: string;
|
|
282
283
|
_persistenceKey: string;
|
|
283
|
-
_settings:
|
|
284
|
+
_settings: re;
|
|
284
285
|
_settingsFrozen: boolean;
|
|
285
|
-
_databaseId:
|
|
286
|
+
_databaseId: H;
|
|
286
287
|
_app: any;
|
|
287
288
|
/**
|
|
288
289
|
* The {@link @firebase/app#FirebaseApp} associated with this `Firestore` service
|
|
@@ -291,14 +292,14 @@ declare class un {
|
|
|
291
292
|
get _initialized(): boolean;
|
|
292
293
|
get _terminated(): boolean;
|
|
293
294
|
_setSettings(t: any): void;
|
|
294
|
-
_getSettings():
|
|
295
|
-
_freezeSettings():
|
|
295
|
+
_getSettings(): re;
|
|
296
|
+
_freezeSettings(): re;
|
|
296
297
|
_delete(): Promise<void>;
|
|
297
298
|
_terminateTask: Promise<void> | undefined;
|
|
298
299
|
/** Returns a JSON-serializable representation of this `Firestore` instance. */ toJSON(): {
|
|
299
300
|
app: any;
|
|
300
|
-
databaseId:
|
|
301
|
-
settings:
|
|
301
|
+
databaseId: H;
|
|
302
|
+
settings: re;
|
|
302
303
|
};
|
|
303
304
|
/**
|
|
304
305
|
* Terminates all components used by this client. Subclasses can override
|
|
@@ -310,7 +311,7 @@ declare class un {
|
|
|
310
311
|
}
|
|
311
312
|
/** An error returned by a Firestore operation. */ declare class L extends Error {
|
|
312
313
|
/** @hideconstructor */
|
|
313
|
-
constructor(t: any,
|
|
314
|
+
constructor(t: any, n: any);
|
|
314
315
|
code: any;
|
|
315
316
|
}
|
|
316
317
|
/**
|
|
@@ -335,14 +336,14 @@ declare class un {
|
|
|
335
336
|
*
|
|
336
337
|
* Latitude values are in the range of [-90, 90].
|
|
337
338
|
* Longitude values are in the range of [-180, 180].
|
|
338
|
-
*/ declare class
|
|
339
|
+
*/ declare class ve {
|
|
339
340
|
/**
|
|
340
341
|
* Creates a new immutable `GeoPoint` object with the provided latitude and
|
|
341
342
|
* longitude values.
|
|
342
343
|
* @param latitude - The latitude as number between -90 and 90.
|
|
343
344
|
* @param longitude - The longitude as number between -180 and 180.
|
|
344
345
|
*/
|
|
345
|
-
constructor(t: any,
|
|
346
|
+
constructor(t: any, n: any);
|
|
346
347
|
_lat: any;
|
|
347
348
|
_long: any;
|
|
348
349
|
/**
|
|
@@ -369,15 +370,15 @@ declare class un {
|
|
|
369
370
|
/**
|
|
370
371
|
* A `Query` refers to a query which you can read or listen to. You can also
|
|
371
372
|
* construct refined `Query` objects by adding filters and ordering.
|
|
372
|
-
*/ declare class
|
|
373
|
+
*/ declare class he {
|
|
373
374
|
/** @hideconstructor protected */
|
|
374
|
-
constructor(t: any,
|
|
375
|
+
constructor(t: any, n: any, e: any);
|
|
375
376
|
converter: any;
|
|
376
377
|
_query: any;
|
|
377
378
|
/** The type of this Firestore reference. */
|
|
378
379
|
type: string;
|
|
379
380
|
firestore: any;
|
|
380
|
-
withConverter(t: any):
|
|
381
|
+
withConverter(t: any): he;
|
|
381
382
|
}
|
|
382
383
|
/**
|
|
383
384
|
* @license
|
|
@@ -403,7 +404,7 @@ declare class un {
|
|
|
403
404
|
* can then be passed to {@link query} to create a new query instance that
|
|
404
405
|
* also contains this `QueryConstraint`.
|
|
405
406
|
*/
|
|
406
|
-
declare class
|
|
407
|
+
declare class Ze {
|
|
407
408
|
}
|
|
408
409
|
/**
|
|
409
410
|
* A `QueryDocumentSnapshot` contains data read from a document in your
|
|
@@ -415,7 +416,7 @@ declare class Jn {
|
|
|
415
416
|
* `DocumentSnapshot`. Since query results contain only existing documents, the
|
|
416
417
|
* `exists` property will always be true and `data()` will never return
|
|
417
418
|
* 'undefined'.
|
|
418
|
-
*/ declare class
|
|
419
|
+
*/ declare class He extends Ye {
|
|
419
420
|
}
|
|
420
421
|
/**
|
|
421
422
|
* A `QuerySnapshot` contains zero or more `DocumentSnapshot` objects
|
|
@@ -423,9 +424,9 @@ declare class Jn {
|
|
|
423
424
|
* array via the `docs` property or enumerated using the `forEach` method. The
|
|
424
425
|
* number of documents can be determined via the `empty` and `size`
|
|
425
426
|
* properties.
|
|
426
|
-
*/ declare class
|
|
427
|
+
*/ declare class Ke {
|
|
427
428
|
/** @hideconstructor */
|
|
428
|
-
constructor(t: any,
|
|
429
|
+
constructor(t: any, n: any);
|
|
429
430
|
_docs: any;
|
|
430
431
|
query: any;
|
|
431
432
|
/** An array of all the documents in the `QuerySnapshot`. */ get docs(): any[];
|
|
@@ -437,7 +438,7 @@ declare class Jn {
|
|
|
437
438
|
* @param callback - A callback to be called with a `QueryDocumentSnapshot` for
|
|
438
439
|
* each document in the snapshot.
|
|
439
440
|
* @param thisArg - The `this` binding for the callback.
|
|
440
|
-
*/ forEach(t: any,
|
|
441
|
+
*/ forEach(t: any, n: any): void;
|
|
441
442
|
}
|
|
442
443
|
/**
|
|
443
444
|
* @license
|
|
@@ -469,19 +470,19 @@ declare class Jn {
|
|
|
469
470
|
* For examples and further specifications, refer to the
|
|
470
471
|
* {@link https://github.com/google/protobuf/blob/master/src/google/protobuf/timestamp.proto | Timestamp definition}.
|
|
471
472
|
*/
|
|
472
|
-
declare class
|
|
473
|
+
declare class _t {
|
|
473
474
|
/**
|
|
474
475
|
* Creates a new timestamp with the current date, with millisecond precision.
|
|
475
476
|
*
|
|
476
477
|
* @returns a new timestamp representing the current date.
|
|
477
|
-
*/ static now():
|
|
478
|
+
*/ static now(): _t;
|
|
478
479
|
/**
|
|
479
480
|
* Creates a new timestamp from the given date.
|
|
480
481
|
*
|
|
481
482
|
* @param date - The date to initialize the `Timestamp` from.
|
|
482
483
|
* @returns A new `Timestamp` representing the same point in time as the given
|
|
483
484
|
* date.
|
|
484
|
-
*/ static fromDate(t: any):
|
|
485
|
+
*/ static fromDate(t: any): _t;
|
|
485
486
|
/**
|
|
486
487
|
* Creates a new timestamp from the given number of milliseconds.
|
|
487
488
|
*
|
|
@@ -489,7 +490,7 @@ declare class pt {
|
|
|
489
490
|
* 1970-01-01T00:00:00Z.
|
|
490
491
|
* @returns A new `Timestamp` representing the same point in time as the given
|
|
491
492
|
* number of milliseconds.
|
|
492
|
-
*/ static fromMillis(t: any):
|
|
493
|
+
*/ static fromMillis(t: any): _t;
|
|
493
494
|
/**
|
|
494
495
|
* Creates a new timestamp.
|
|
495
496
|
*
|
|
@@ -501,7 +502,7 @@ declare class pt {
|
|
|
501
502
|
* non-negative nanoseconds values that count forward in time. Must be
|
|
502
503
|
* from 0 to 999,999,999 inclusive.
|
|
503
504
|
*/
|
|
504
|
-
constructor(t: any,
|
|
505
|
+
constructor(t: any, n: any);
|
|
505
506
|
seconds: any;
|
|
506
507
|
nanoseconds: any;
|
|
507
508
|
/**
|
|
@@ -536,26 +537,26 @@ declare class pt {
|
|
|
536
537
|
* to be compared using the `>`, `<=`, `>=` and `>` operators.
|
|
537
538
|
*/ valueOf(): string;
|
|
538
539
|
}
|
|
539
|
-
declare class
|
|
540
|
+
declare class Ur {
|
|
540
541
|
/** @hideconstructor */
|
|
541
|
-
constructor(t: any,
|
|
542
|
+
constructor(t: any, n: any);
|
|
542
543
|
_firestore: any;
|
|
543
544
|
_transaction: any;
|
|
544
|
-
_dataReader:
|
|
545
|
+
_dataReader: Re;
|
|
545
546
|
/**
|
|
546
547
|
* Reads the document referenced by the provided {@link DocumentReference}.
|
|
547
548
|
*
|
|
548
549
|
* @param documentRef - A reference to the document to be read.
|
|
549
550
|
* @returns A `DocumentSnapshot` with the read data.
|
|
550
551
|
*/ get(t: any): any;
|
|
551
|
-
set(t: any,
|
|
552
|
-
update(t: any,
|
|
552
|
+
set(t: any, n: any, e: any): Ur;
|
|
553
|
+
update(t: any, n: any, e: any, ...r: any[]): Ur;
|
|
553
554
|
/**
|
|
554
555
|
* Deletes the document referred to by the provided {@link DocumentReference}.
|
|
555
556
|
*
|
|
556
557
|
* @param documentRef - A reference to the document to be deleted.
|
|
557
558
|
* @returns This `Transaction` instance. Used for chaining method calls.
|
|
558
|
-
*/ delete(t: any):
|
|
559
|
+
*/ delete(t: any): Ur;
|
|
559
560
|
}
|
|
560
561
|
/**
|
|
561
562
|
* @license
|
|
@@ -580,22 +581,22 @@ declare class Cr {
|
|
|
580
581
|
* provides methods for adding writes to the write batch. None of the writes
|
|
581
582
|
* will be committed (or visible locally) until {@link WriteBatch.commit} is
|
|
582
583
|
* called.
|
|
583
|
-
*/ declare class
|
|
584
|
+
*/ declare class $r {
|
|
584
585
|
/** @hideconstructor */
|
|
585
|
-
constructor(t: any,
|
|
586
|
+
constructor(t: any, n: any);
|
|
586
587
|
_firestore: any;
|
|
587
588
|
_commitHandler: any;
|
|
588
589
|
_mutations: any[];
|
|
589
590
|
_committed: boolean;
|
|
590
|
-
_dataReader:
|
|
591
|
-
set(t: any,
|
|
592
|
-
update(t: any,
|
|
591
|
+
_dataReader: Re;
|
|
592
|
+
set(t: any, n: any, e: any): $r;
|
|
593
|
+
update(t: any, n: any, e: any, ...r: any[]): $r;
|
|
593
594
|
/**
|
|
594
595
|
* Deletes the document referred to by the provided {@link DocumentReference}.
|
|
595
596
|
*
|
|
596
597
|
* @param documentRef - A reference to the document to be deleted.
|
|
597
598
|
* @returns This `WriteBatch` instance. Used for chaining method calls.
|
|
598
|
-
*/ delete(t: any):
|
|
599
|
+
*/ delete(t: any): $r;
|
|
599
600
|
/**
|
|
600
601
|
* Commits all of the writes in this write batch as a single atomic unit.
|
|
601
602
|
*
|
|
@@ -623,7 +624,7 @@ declare class Cr {
|
|
|
623
624
|
* @param data - An Object containing the data for the new document.
|
|
624
625
|
* @returns A `Promise` resolved with a `DocumentReference` pointing to the
|
|
625
626
|
* newly created document after it has been written to the backend.
|
|
626
|
-
*/ declare function
|
|
627
|
+
*/ declare function Ar(t: any, n: any): Promise<ae>;
|
|
627
628
|
/**
|
|
628
629
|
* Returns a special value that can be used with {@link (setDoc:1)} or {@link
|
|
629
630
|
* updateDoc:1} that tells the server to remove the given elements from any
|
|
@@ -634,7 +635,7 @@ declare class Cr {
|
|
|
634
635
|
* @param elements - The elements to remove from the array.
|
|
635
636
|
* @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
|
|
636
637
|
* `updateDoc()`
|
|
637
|
-
*/ declare function
|
|
638
|
+
*/ declare function Dr(...t: any[]): qe;
|
|
638
639
|
/**
|
|
639
640
|
* Returns a special value that can be used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link
|
|
640
641
|
* @firebase/firestore/lite#(updateDoc:1)} that tells the server to union the given elements with any array
|
|
@@ -646,8 +647,8 @@ declare class Cr {
|
|
|
646
647
|
* @param elements - The elements to union into the array.
|
|
647
648
|
* @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
|
|
648
649
|
* `updateDoc()`.
|
|
649
|
-
*/ declare function
|
|
650
|
-
declare function
|
|
650
|
+
*/ declare function Vr(...t: any[]): Se;
|
|
651
|
+
declare function fe(t: any, n: any, ...e: any[]): le;
|
|
651
652
|
/**
|
|
652
653
|
* Creates and returns a new `Query` instance that includes all documents in the
|
|
653
654
|
* database that are contained in a collection or subcollection with the
|
|
@@ -658,7 +659,7 @@ declare function hn(t: any, e: any, ...n: any[]): an;
|
|
|
658
659
|
* collection or subcollection with this ID as the last segment of its path
|
|
659
660
|
* will be included. Cannot contain a slash.
|
|
660
661
|
* @returns The created `Query`.
|
|
661
|
-
*/ declare function
|
|
662
|
+
*/ declare function de(t: any, n: any): he;
|
|
662
663
|
/**
|
|
663
664
|
* Modify this instance to communicate with the Cloud Firestore emulator.
|
|
664
665
|
*
|
|
@@ -671,7 +672,7 @@ declare function hn(t: any, e: any, ...n: any[]): an;
|
|
|
671
672
|
* @param port - the emulator port (ex: 9000).
|
|
672
673
|
* @param options.mockUserToken - the mock auth token to use for unit testing
|
|
673
674
|
* Security Rules.
|
|
674
|
-
*/ declare function
|
|
675
|
+
*/ declare function ue(t: any, n: any, e: any, r?: {}): void;
|
|
675
676
|
/**
|
|
676
677
|
* Deletes the document referred to by the specified `DocumentReference`.
|
|
677
678
|
*
|
|
@@ -683,7 +684,7 @@ declare function hn(t: any, e: any, ...n: any[]): an;
|
|
|
683
684
|
* @param reference - A reference to the document to delete.
|
|
684
685
|
* @returns A `Promise` resolved once the document has been successfully
|
|
685
686
|
* deleted from the backend.
|
|
686
|
-
*/ declare function
|
|
687
|
+
*/ declare function Ir(t: any): Promise<void>;
|
|
687
688
|
/**
|
|
688
689
|
* @license
|
|
689
690
|
* Copyright 2020 Google LLC
|
|
@@ -703,14 +704,14 @@ declare function hn(t: any, e: any, ...n: any[]): an;
|
|
|
703
704
|
/**
|
|
704
705
|
* Returns a sentinel for use with {@link @firebase/firestore/lite#(updateDoc:1)} or
|
|
705
706
|
* {@link @firebase/firestore/lite#(setDoc:1)} with `{merge: true}` to mark a field for deletion.
|
|
706
|
-
*/ declare function
|
|
707
|
-
declare function
|
|
707
|
+
*/ declare function Pr(): Ne;
|
|
708
|
+
declare function we(t: any, n: any, ...e: any[]): ae;
|
|
708
709
|
/**
|
|
709
710
|
* Returns a special sentinel `FieldPath` to refer to the ID of a document.
|
|
710
711
|
* It can be used in queries to sort or filter by the document ID.
|
|
711
|
-
*/ declare function
|
|
712
|
-
declare function
|
|
713
|
-
declare function
|
|
712
|
+
*/ declare function _e(): ye;
|
|
713
|
+
declare function dr(...t: any[]): lr;
|
|
714
|
+
declare function fr(...t: any[]): lr;
|
|
714
715
|
/**
|
|
715
716
|
* Reads the document referred to by the specified document reference.
|
|
716
717
|
*
|
|
@@ -723,7 +724,7 @@ declare function hr(...t: any[]): ar;
|
|
|
723
724
|
* @param reference - The reference of the document to fetch.
|
|
724
725
|
* @returns A Promise resolved with a `DocumentSnapshot` containing the current
|
|
725
726
|
* document contents.
|
|
726
|
-
*/ declare function
|
|
727
|
+
*/ declare function br(t: any): Promise<Ye>;
|
|
727
728
|
/**
|
|
728
729
|
* Executes the query and returns the results as a {@link QuerySnapshot}.
|
|
729
730
|
*
|
|
@@ -735,7 +736,7 @@ declare function hr(...t: any[]): ar;
|
|
|
735
736
|
*
|
|
736
737
|
* @param query - The `Query` to execute.
|
|
737
738
|
* @returns A Promise that will be resolved with the results of the query.
|
|
738
|
-
*/ declare function
|
|
739
|
+
*/ declare function vr(t: any): Promise<Ke>;
|
|
739
740
|
/**
|
|
740
741
|
* Returns the existing `Firestore` instance that is associated with the
|
|
741
742
|
* provided {@link @firebase/app#FirebaseApp}. If no instance exists, initializes a new
|
|
@@ -744,7 +745,7 @@ declare function hr(...t: any[]): ar;
|
|
|
744
745
|
* @param app - The {@link @firebase/app#FirebaseApp} instance that the returned `Firestore`
|
|
745
746
|
* instance is associated with.
|
|
746
747
|
* @returns The `Firestore` instance of the provided app.
|
|
747
|
-
*/ declare function
|
|
748
|
+
*/ declare function oe(n?: import("@firebase/app").FirebaseApp): import("../../lite").Firestore;
|
|
748
749
|
/**
|
|
749
750
|
* Returns a special value that can be used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link
|
|
750
751
|
* @firebase/firestore/lite#(updateDoc:1)} that tells the server to increment the field's current value by
|
|
@@ -763,14 +764,14 @@ declare function hr(...t: any[]): ar;
|
|
|
763
764
|
* @param n - The value to increment by.
|
|
764
765
|
* @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
|
|
765
766
|
* `updateDoc()`
|
|
766
|
-
*/ declare function
|
|
767
|
-
declare function
|
|
767
|
+
*/ declare function Nr(t: any): xe;
|
|
768
|
+
declare function ie(t: any, n: any): import("../../lite").Firestore;
|
|
768
769
|
/**
|
|
769
770
|
* Creates a {@link QueryConstraint} that only returns the first matching documents.
|
|
770
771
|
*
|
|
771
772
|
* @param limit - The maximum number of items to return.
|
|
772
773
|
* @returns The created {@link Query}.
|
|
773
|
-
*/ declare function
|
|
774
|
+
*/ declare function or(t: any): ir;
|
|
774
775
|
/**
|
|
775
776
|
* Creates a {@link QueryConstraint} that only returns the last matching documents.
|
|
776
777
|
*
|
|
@@ -779,7 +780,7 @@ declare function nn(t: any, e: any): import("../../lite").Firestore;
|
|
|
779
780
|
*
|
|
780
781
|
* @param limit - The maximum number of items to return.
|
|
781
782
|
* @returns The created {@link Query}.
|
|
782
|
-
*/ declare function
|
|
783
|
+
*/ declare function ur(t: any): ir;
|
|
783
784
|
/**
|
|
784
785
|
* Creates a {@link QueryConstraint} that sorts the query result by the
|
|
785
786
|
* specified field, optionally in descending order instead of ascending.
|
|
@@ -788,7 +789,7 @@ declare function nn(t: any, e: any): import("../../lite").Firestore;
|
|
|
788
789
|
* @param directionStr - Optional direction to sort by ('asc' or 'desc'). If
|
|
789
790
|
* not specified, order will be ascending.
|
|
790
791
|
* @returns The created {@link Query}.
|
|
791
|
-
*/ declare function
|
|
792
|
+
*/ declare function sr(t: any, n?: string): rr;
|
|
792
793
|
/**
|
|
793
794
|
* Creates a new immutable instance of {@link Query} that is extended to also include
|
|
794
795
|
* additional query constraints.
|
|
@@ -797,7 +798,7 @@ declare function nn(t: any, e: any): import("../../lite").Firestore;
|
|
|
797
798
|
* @param queryConstraints - The list of {@link QueryConstraint}s to apply.
|
|
798
799
|
* @throws if any of the provided query constraints cannot be combined with the
|
|
799
800
|
* existing or new constraints.
|
|
800
|
-
*/ declare function
|
|
801
|
+
*/ declare function tr(t: any, ...n: any[]): any;
|
|
801
802
|
/**
|
|
802
803
|
* Returns true if the provided queries point to the same collection and apply
|
|
803
804
|
* the same constraints.
|
|
@@ -806,7 +807,7 @@ declare function nn(t: any, e: any): import("../../lite").Firestore;
|
|
|
806
807
|
* @param right - A `Query` to compare.
|
|
807
808
|
* @returns true if the references point to the same location in the same
|
|
808
809
|
* Firestore database.
|
|
809
|
-
*/ declare function
|
|
810
|
+
*/ declare function pe(t: any, n: any): boolean;
|
|
810
811
|
/**
|
|
811
812
|
* Returns true if the provided references are equal.
|
|
812
813
|
*
|
|
@@ -814,7 +815,7 @@ declare function nn(t: any, e: any): import("../../lite").Firestore;
|
|
|
814
815
|
* @param right - A reference to compare.
|
|
815
816
|
* @returns true if the references point to the same location in the same
|
|
816
817
|
* Firestore database.
|
|
817
|
-
*/ declare function
|
|
818
|
+
*/ declare function me(t: any, n: any): boolean;
|
|
818
819
|
/**
|
|
819
820
|
* Executes the given `updateFunction` and then attempts to commit the changes
|
|
820
821
|
* applied within the transaction. If any document read within the transaction
|
|
@@ -831,12 +832,12 @@ declare function nn(t: any, e: any): import("../../lite").Firestore;
|
|
|
831
832
|
* (the `updateFunction` returned a failed promise), the promise returned by the
|
|
832
833
|
* `updateFunction `is returned here. Otherwise, if the transaction failed, a
|
|
833
834
|
* rejected promise with the corresponding failure error is returned.
|
|
834
|
-
*/ declare function
|
|
835
|
+
*/ declare function kr(t: any, n: any): Promise<any>;
|
|
835
836
|
/**
|
|
836
837
|
* Returns a sentinel used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link @firebase/firestore/lite#(updateDoc:1)} to
|
|
837
838
|
* include a server-generated timestamp in the written data.
|
|
838
|
-
*/ declare function
|
|
839
|
-
declare function
|
|
839
|
+
*/ declare function Rr(): Fe;
|
|
840
|
+
declare function Er(t: any, n: any, e: any): Promise<void>;
|
|
840
841
|
/**
|
|
841
842
|
* Sets the verbosity of Cloud Firestore logs (debug, error, or silent).
|
|
842
843
|
*
|
|
@@ -856,9 +857,9 @@ declare function br(t: any, e: any, n: any): Promise<void>;
|
|
|
856
857
|
* @param left - A snapshot to compare.
|
|
857
858
|
* @param right - A snapshot to compare.
|
|
858
859
|
* @returns true if the snapshots are equal.
|
|
859
|
-
*/ declare function
|
|
860
|
-
declare function
|
|
861
|
-
declare function
|
|
860
|
+
*/ declare function Je(t: any, n: any): any;
|
|
861
|
+
declare function hr(...t: any[]): cr;
|
|
862
|
+
declare function ar(...t: any[]): cr;
|
|
862
863
|
/**
|
|
863
864
|
* Terminates the provided `Firestore` instance.
|
|
864
865
|
*
|
|
@@ -878,8 +879,8 @@ declare function ur(...t: any[]): or;
|
|
|
878
879
|
* @param firestore - The `Firestore` instance to terminate.
|
|
879
880
|
* @returns A `Promise` that is resolved when the instance has been successfully
|
|
880
881
|
* terminated.
|
|
881
|
-
*/ declare function
|
|
882
|
-
declare function
|
|
882
|
+
*/ declare function ce(t: any): any;
|
|
883
|
+
declare function Tr(t: any, n: any, e: any, ...r: any[]): Promise<void>;
|
|
883
884
|
/**
|
|
884
885
|
* Creates a {@link QueryConstraint} that enforces that documents must contain the
|
|
885
886
|
* specified field and that the value should satisfy the relation constraint
|
|
@@ -890,7 +891,7 @@ declare function vr(t: any, e: any, n: any, ...r: any[]): Promise<void>;
|
|
|
890
891
|
* "<=", "!=").
|
|
891
892
|
* @param value - The value for comparison
|
|
892
893
|
* @returns The created {@link Query}.
|
|
893
|
-
*/ declare function
|
|
894
|
+
*/ declare function er(t: any, n: any, e: any): nr;
|
|
894
895
|
/**
|
|
895
896
|
* Creates a write batch, used for performing multiple writes as a single
|
|
896
897
|
* atomic operation. The maximum number of writes allowed in a single WriteBatch
|
|
@@ -903,18 +904,18 @@ declare function vr(t: any, e: any, n: any, ...r: any[]): Promise<void>;
|
|
|
903
904
|
*
|
|
904
905
|
* @returns A `WriteBatch` that can be used to atomically execute multiple
|
|
905
906
|
* writes.
|
|
906
|
-
*/ declare function
|
|
907
|
+
*/ declare function Sr(t: any): $r;
|
|
907
908
|
/**
|
|
908
909
|
* A dot-separated path for navigating sub-objects within a document.
|
|
909
910
|
* @internal
|
|
910
|
-
*/ declare class
|
|
911
|
+
*/ declare class Z extends K {
|
|
911
912
|
/**
|
|
912
913
|
* Returns true if the string could be used as a segment in a field path
|
|
913
914
|
* without escaping.
|
|
914
915
|
*/ static isValidIdentifier(t: any): boolean;
|
|
915
916
|
/**
|
|
916
917
|
* The field designating the key of a document.
|
|
917
|
-
*/ static keyField():
|
|
918
|
+
*/ static keyField(): Z;
|
|
918
919
|
/**
|
|
919
920
|
* Parses a field string from the given server-formatted string.
|
|
920
921
|
*
|
|
@@ -924,9 +925,9 @@ declare function vr(t: any, e: any, n: any, ...r: any[]): Promise<void>;
|
|
|
924
925
|
*
|
|
925
926
|
* TODO(b/37244157): we should make this more strict. Right now, it allows
|
|
926
927
|
* non-identifier path components, even if they aren't escaped.
|
|
927
|
-
*/ static fromServerFormat(t: any):
|
|
928
|
-
static emptyPath():
|
|
929
|
-
construct(t: any,
|
|
928
|
+
*/ static fromServerFormat(t: any): Z;
|
|
929
|
+
static emptyPath(): Z;
|
|
930
|
+
construct(t: any, n: any, e: any): Z;
|
|
930
931
|
canonicalString(): any;
|
|
931
932
|
toString(): any;
|
|
932
933
|
/**
|
|
@@ -942,7 +943,7 @@ declare function vr(t: any, e: any, n: any, ...r: any[]): Promise<void>;
|
|
|
942
943
|
* user-supplied `FirestoreSettings` object. This is a separate type so that
|
|
943
944
|
* defaults can be supplied and the value can be checked for equality.
|
|
944
945
|
*/
|
|
945
|
-
declare class
|
|
946
|
+
declare class re {
|
|
946
947
|
constructor(t: any);
|
|
947
948
|
host: any;
|
|
948
949
|
ssl: any;
|
|
@@ -959,8 +960,8 @@ declare class tn {
|
|
|
959
960
|
* Represents the database ID a Firestore client is associated with.
|
|
960
961
|
* @internal
|
|
961
962
|
*/
|
|
962
|
-
declare class
|
|
963
|
-
constructor(t: any,
|
|
963
|
+
declare class H {
|
|
964
|
+
constructor(t: any, n: any);
|
|
964
965
|
projectId: any;
|
|
965
966
|
database: any;
|
|
966
967
|
get isDefaultDatabase(): boolean;
|
|
@@ -969,74 +970,74 @@ declare class W {
|
|
|
969
970
|
/**
|
|
970
971
|
* Helper for parsing raw user input (provided via the API) into internal model
|
|
971
972
|
* classes.
|
|
972
|
-
*/ declare class
|
|
973
|
-
constructor(t: any,
|
|
973
|
+
*/ declare class Re {
|
|
974
|
+
constructor(t: any, n: any, e: any);
|
|
974
975
|
databaseId: any;
|
|
975
976
|
ignoreUndefinedProperties: any;
|
|
976
|
-
|
|
977
|
-
/** Creates a new top-level parse context. */
|
|
977
|
+
q: any;
|
|
978
|
+
/** Creates a new top-level parse context. */ ht(t: any, n: any, e: any, r?: boolean): Pe;
|
|
978
979
|
}
|
|
979
|
-
declare class
|
|
980
|
-
constructor(t: any,
|
|
981
|
-
|
|
982
|
-
_toFieldTransform(t: any):
|
|
980
|
+
declare class qe extends be {
|
|
981
|
+
constructor(t: any, n: any);
|
|
982
|
+
lt: any;
|
|
983
|
+
_toFieldTransform(t: any): bn;
|
|
983
984
|
isEqual(t: any): boolean;
|
|
984
985
|
}
|
|
985
|
-
declare class
|
|
986
|
-
constructor(t: any,
|
|
987
|
-
|
|
988
|
-
_toFieldTransform(t: any):
|
|
986
|
+
declare class Se extends be {
|
|
987
|
+
constructor(t: any, n: any);
|
|
988
|
+
lt: any;
|
|
989
|
+
_toFieldTransform(t: any): bn;
|
|
989
990
|
isEqual(t: any): boolean;
|
|
990
991
|
}
|
|
991
|
-
declare class
|
|
992
|
+
declare class Ne extends be {
|
|
992
993
|
_toFieldTransform(t: any): null;
|
|
993
994
|
isEqual(t: any): boolean;
|
|
994
995
|
}
|
|
995
|
-
declare class
|
|
996
|
-
constructor(t: any,
|
|
996
|
+
declare class lr extends Ze {
|
|
997
|
+
constructor(t: any, n: any, e: any);
|
|
997
998
|
type: any;
|
|
998
|
-
bt: any;
|
|
999
999
|
vt: any;
|
|
1000
|
-
|
|
1000
|
+
Et: any;
|
|
1001
|
+
_apply(t: any): he;
|
|
1001
1002
|
}
|
|
1002
|
-
declare class
|
|
1003
|
-
constructor(t: any,
|
|
1004
|
-
|
|
1005
|
-
_toFieldTransform(t: any):
|
|
1003
|
+
declare class xe extends be {
|
|
1004
|
+
constructor(t: any, n: any);
|
|
1005
|
+
ft: any;
|
|
1006
|
+
_toFieldTransform(t: any): bn;
|
|
1006
1007
|
isEqual(t: any): boolean;
|
|
1007
1008
|
}
|
|
1008
|
-
declare class
|
|
1009
|
-
constructor(t: any,
|
|
1009
|
+
declare class ir extends Ze {
|
|
1010
|
+
constructor(t: any, n: any, e: any);
|
|
1010
1011
|
type: any;
|
|
1011
|
-
_t: any;
|
|
1012
1012
|
gt: any;
|
|
1013
|
-
|
|
1013
|
+
bt: any;
|
|
1014
|
+
_apply(t: any): he;
|
|
1014
1015
|
}
|
|
1015
|
-
declare class
|
|
1016
|
-
constructor(t: any,
|
|
1017
|
-
|
|
1018
|
-
|
|
1016
|
+
declare class rr extends Ze {
|
|
1017
|
+
constructor(t: any, n: any);
|
|
1018
|
+
dt: any;
|
|
1019
|
+
_t: any;
|
|
1019
1020
|
type: string;
|
|
1020
|
-
_apply(t: any):
|
|
1021
|
+
_apply(t: any): he;
|
|
1021
1022
|
}
|
|
1022
|
-
declare class
|
|
1023
|
-
_toFieldTransform(t: any):
|
|
1023
|
+
declare class Fe extends be {
|
|
1024
|
+
_toFieldTransform(t: any): bn;
|
|
1024
1025
|
isEqual(t: any): boolean;
|
|
1025
1026
|
}
|
|
1026
|
-
declare class
|
|
1027
|
-
constructor(t: any,
|
|
1027
|
+
declare class cr extends Ze {
|
|
1028
|
+
constructor(t: any, n: any, e: any);
|
|
1028
1029
|
type: any;
|
|
1029
|
-
bt: any;
|
|
1030
1030
|
vt: any;
|
|
1031
|
-
|
|
1031
|
+
Et: any;
|
|
1032
|
+
_apply(t: any): he;
|
|
1032
1033
|
}
|
|
1033
|
-
declare class
|
|
1034
|
-
constructor(t: any,
|
|
1035
|
-
ft: any;
|
|
1034
|
+
declare class nr extends Ze {
|
|
1035
|
+
constructor(t: any, n: any, e: any);
|
|
1036
1036
|
dt: any;
|
|
1037
1037
|
wt: any;
|
|
1038
|
+
yt: any;
|
|
1038
1039
|
type: string;
|
|
1039
|
-
_apply(t: any):
|
|
1040
|
+
_apply(t: any): he;
|
|
1040
1041
|
}
|
|
1041
1042
|
/**
|
|
1042
1043
|
* @license
|
|
@@ -1057,9 +1058,9 @@ declare class Xn extends Jn {
|
|
|
1057
1058
|
/**
|
|
1058
1059
|
* Path represents an ordered sequence of string segments.
|
|
1059
1060
|
*/
|
|
1060
|
-
declare class
|
|
1061
|
-
static comparator(t: any,
|
|
1062
|
-
constructor(t: any,
|
|
1061
|
+
declare class K {
|
|
1062
|
+
static comparator(t: any, n: any): 0 | 1 | -1;
|
|
1063
|
+
constructor(t: any, n: any, e: any);
|
|
1063
1064
|
segments: any;
|
|
1064
1065
|
offset: any;
|
|
1065
1066
|
len: any;
|
|
@@ -1078,7 +1079,7 @@ declare class H {
|
|
|
1078
1079
|
forEach(t: any): void;
|
|
1079
1080
|
toArray(): any;
|
|
1080
1081
|
}
|
|
1081
|
-
/** A "context" object passed around while parsing user data. */ declare class
|
|
1082
|
+
/** A "context" object passed around while parsing user data. */ declare class Pe {
|
|
1082
1083
|
/**
|
|
1083
1084
|
* Initializes a ParseContext with the given source and path.
|
|
1084
1085
|
*
|
|
@@ -1097,23 +1098,23 @@ declare class H {
|
|
|
1097
1098
|
* which case certain features will not work and errors will be somewhat
|
|
1098
1099
|
* compromised).
|
|
1099
1100
|
*/
|
|
1100
|
-
constructor(t: any,
|
|
1101
|
+
constructor(t: any, n: any, e: any, r: any, s: any, i: any);
|
|
1101
1102
|
settings: any;
|
|
1102
1103
|
databaseId: any;
|
|
1103
|
-
|
|
1104
|
+
q: any;
|
|
1104
1105
|
ignoreUndefinedProperties: any;
|
|
1105
1106
|
fieldTransforms: any;
|
|
1106
1107
|
fieldMask: any;
|
|
1107
1108
|
get path(): any;
|
|
1108
|
-
get
|
|
1109
|
-
/** Returns a new context with the specified settings overwritten. */
|
|
1110
|
-
et(t: any):
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1109
|
+
get tt(): any;
|
|
1110
|
+
/** Returns a new context with the specified settings overwritten. */ nt(t: any): Pe;
|
|
1111
|
+
et(t: any): Pe;
|
|
1112
|
+
it(t: any): Pe;
|
|
1113
|
+
ot(t: any): Pe;
|
|
1114
|
+
ut(t: any): L;
|
|
1114
1115
|
/** Returns 'true' if 'fieldPath' was traversed when creating this context. */ contains(t: any): boolean;
|
|
1115
1116
|
Z(): void;
|
|
1116
|
-
|
|
1117
|
+
st(t: any): void;
|
|
1117
1118
|
}
|
|
1118
1119
|
/**
|
|
1119
1120
|
* @license
|
|
@@ -1131,9 +1132,9 @@ declare class H {
|
|
|
1131
1132
|
* See the License for the specific language governing permissions and
|
|
1132
1133
|
* limitations under the License.
|
|
1133
1134
|
*/
|
|
1134
|
-
/** A field path and the TransformOperation to perform upon it. */ declare class
|
|
1135
|
-
constructor(t: any,
|
|
1135
|
+
/** A field path and the TransformOperation to perform upon it. */ declare class bn {
|
|
1136
|
+
constructor(t: any, n: any);
|
|
1136
1137
|
field: any;
|
|
1137
1138
|
transform: any;
|
|
1138
1139
|
}
|
|
1139
|
-
export {
|
|
1140
|
+
export { ge as Bytes, le as CollectionReference, ae as DocumentReference, Ye as DocumentSnapshot, ye as FieldPath, be as FieldValue, se as Firestore, L as FirestoreError, ve as GeoPoint, he as Query, Ze as QueryConstraint, He as QueryDocumentSnapshot, Ke as QuerySnapshot, _t as Timestamp, Ur as Transaction, $r as WriteBatch, Ar as addDoc, Dr as arrayRemove, Vr as arrayUnion, fe as collection, de as collectionGroup, ue as connectFirestoreEmulator, Ir as deleteDoc, Pr as deleteField, we as doc, _e as documentId, dr as endAt, fr as endBefore, br as getDoc, vr as getDocs, oe as getFirestore, Nr as increment, ie as initializeFirestore, or as limit, ur as limitToLast, sr as orderBy, tr as query, pe as queryEqual, me as refEqual, kr as runTransaction, Rr as serverTimestamp, Er as setDoc, d as setLogLevel, Je as snapshotEqual, hr as startAfter, ar as startAt, ce as terminate, Tr as updateDoc, er as where, Sr as writeBatch };
|