@firebase/firestore 3.5.0-canary.ee871fc0b → 3.5.0-canary.fdd4ab464
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/database.d.ts +9 -9
- package/dist/firestore/src/lite-api/database.d.ts +1 -1
- package/dist/index.d.ts +7 -7
- package/dist/index.esm2017.js +2830 -2823
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +2785 -2778
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +11 -3
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.node.mjs +12 -4
- package/dist/index.node.mjs.map +1 -1
- package/dist/index.rn.js +2845 -2838
- package/dist/index.rn.js.map +1 -1
- package/dist/internal.d.ts +10 -10
- package/dist/lite/firestore/src/api/database.d.ts +9 -9
- package/dist/lite/firestore/src/lite-api/database.d.ts +1 -1
- package/dist/lite/index.browser.esm2017.js +898 -891
- package/dist/lite/index.browser.esm2017.js.map +1 -1
- package/dist/lite/index.browser.esm5.js +854 -847
- package/dist/lite/index.browser.esm5.js.map +1 -1
- package/dist/lite/index.node.cjs.js +11 -3
- package/dist/lite/index.node.cjs.js.map +1 -1
- package/dist/lite/index.node.mjs +12 -4
- package/dist/lite/index.node.mjs.map +1 -1
- package/dist/lite/index.rn.esm2017.js +905 -898
- package/dist/lite/index.rn.esm2017.js.map +1 -1
- package/dist/lite/packages/firestore/dist/lite/index.browser.esm2017.d.ts +113 -113
- package/dist/lite/packages/firestore/src/api/database.d.ts +9 -9
- package/dist/lite/packages/firestore/src/lite-api/database.d.ts +1 -1
- package/dist/packages/firestore/dist/index.esm2017.d.ts +164 -164
- package/dist/packages/firestore/src/api/database.d.ts +9 -9
- package/dist/packages/firestore/src/lite-api/database.d.ts +1 -1
- package/dist/private.d.ts +8 -8
- package/package.json +9 -9
|
@@ -19,14 +19,14 @@
|
|
|
19
19
|
* to the user.
|
|
20
20
|
*
|
|
21
21
|
* @internal
|
|
22
|
-
*/ declare class
|
|
22
|
+
*/ declare class tl {
|
|
23
23
|
convertValue(t: any, e?: string): any;
|
|
24
24
|
convertObject(t: any, e: any): {};
|
|
25
|
-
convertGeoPoint(t: any):
|
|
25
|
+
convertGeoPoint(t: any): ih;
|
|
26
26
|
convertArray(t: any, e: any): any;
|
|
27
27
|
convertServerTimestamp(t: any, e: any): any;
|
|
28
|
-
convertTimestamp(t: any):
|
|
29
|
-
convertDocumentKey(t: any, e: any):
|
|
28
|
+
convertTimestamp(t: any): nt;
|
|
29
|
+
convertDocumentKey(t: any, e: any): ct;
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
32
|
* @license
|
|
@@ -47,13 +47,13 @@
|
|
|
47
47
|
/**
|
|
48
48
|
* Represents an aggregation that can be performed by Firestore.
|
|
49
49
|
*/
|
|
50
|
-
declare class
|
|
50
|
+
declare class aa {
|
|
51
51
|
/** A type string to uniquely identify instances of this class. */
|
|
52
52
|
type: string;
|
|
53
53
|
}
|
|
54
54
|
/**
|
|
55
55
|
* The results of executing an aggregation query.
|
|
56
|
-
*/ declare class
|
|
56
|
+
*/ declare class ha {
|
|
57
57
|
/** @hideconstructor */
|
|
58
58
|
constructor(t: any, e: any);
|
|
59
59
|
_data: any;
|
|
@@ -107,18 +107,18 @@ declare class ca {
|
|
|
107
107
|
/**
|
|
108
108
|
* An immutable object representing an array of bytes.
|
|
109
109
|
*/
|
|
110
|
-
declare class
|
|
110
|
+
declare class th {
|
|
111
111
|
/**
|
|
112
112
|
* Creates a new `Bytes` object from the given Base64 string, converting it to
|
|
113
113
|
* bytes.
|
|
114
114
|
*
|
|
115
115
|
* @param base64 - The Base64 string used to create the `Bytes` object.
|
|
116
|
-
*/ static fromBase64String(t: any):
|
|
116
|
+
*/ static fromBase64String(t: any): th;
|
|
117
117
|
/**
|
|
118
118
|
* Creates a new `Bytes` object from the given Uint8Array.
|
|
119
119
|
*
|
|
120
120
|
* @param array - The Uint8Array used to create the `Bytes` object.
|
|
121
|
-
*/ static fromUint8Array(t: any):
|
|
121
|
+
*/ static fromUint8Array(t: any): th;
|
|
122
122
|
/** @hideconstructor */
|
|
123
123
|
constructor(t: any);
|
|
124
124
|
_byteString: any;
|
|
@@ -160,11 +160,11 @@ declare class Za {
|
|
|
160
160
|
* See the License for the specific language governing permissions and
|
|
161
161
|
* limitations under the License.
|
|
162
162
|
*/
|
|
163
|
-
/** DOMException error code constants. */ declare const
|
|
163
|
+
/** DOMException error code constants. */ declare const Fa: -1;
|
|
164
164
|
/**
|
|
165
165
|
* A `CollectionReference` object can be used for adding documents, getting
|
|
166
166
|
* document references, and querying for documents (using {@link query}).
|
|
167
|
-
*/ declare class
|
|
167
|
+
*/ declare class ta extends Zc {
|
|
168
168
|
_path: any;
|
|
169
169
|
/** The collection's identifier. */ get id(): any;
|
|
170
170
|
/**
|
|
@@ -174,7 +174,7 @@ declare class Za {
|
|
|
174
174
|
/**
|
|
175
175
|
* A reference to the containing `DocumentReference` if this is a
|
|
176
176
|
* subcollection. If this isn't a subcollection, the reference is null.
|
|
177
|
-
*/ get parent():
|
|
177
|
+
*/ get parent(): Xc | null;
|
|
178
178
|
}
|
|
179
179
|
/**
|
|
180
180
|
* @license
|
|
@@ -196,7 +196,7 @@ declare class Za {
|
|
|
196
196
|
* A `DocumentReference` refers to a document location in a Firestore database
|
|
197
197
|
* and can be used to write, read, or listen to the location. The document at
|
|
198
198
|
* the referenced location may or may not exist.
|
|
199
|
-
*/ declare class
|
|
199
|
+
*/ declare class Xc {
|
|
200
200
|
/** @hideconstructor */
|
|
201
201
|
constructor(t: any, e: any, n: any);
|
|
202
202
|
converter: any;
|
|
@@ -214,8 +214,8 @@ declare class Za {
|
|
|
214
214
|
*/ get path(): any;
|
|
215
215
|
/**
|
|
216
216
|
* The collection this `DocumentReference` belongs to.
|
|
217
|
-
*/ get parent():
|
|
218
|
-
withConverter(t: any):
|
|
217
|
+
*/ get parent(): ta;
|
|
218
|
+
withConverter(t: any): Xc;
|
|
219
219
|
}
|
|
220
220
|
/**
|
|
221
221
|
* A `DocumentSnapshot` contains data read from a document in your Firestore
|
|
@@ -225,7 +225,7 @@ declare class Za {
|
|
|
225
225
|
* For a `DocumentSnapshot` that points to a non-existing document, any data
|
|
226
226
|
* access will return 'undefined'. You can use the `exists()` method to
|
|
227
227
|
* explicitly verify a document's existence.
|
|
228
|
-
*/ declare class
|
|
228
|
+
*/ declare class il extends Ch {
|
|
229
229
|
/** @hideconstructor protected */
|
|
230
230
|
constructor(t: any, e: any, n: any, s: any, i: any, r: any);
|
|
231
231
|
_firestoreImpl: any;
|
|
@@ -254,7 +254,7 @@ declare class Za {
|
|
|
254
254
|
*
|
|
255
255
|
* Create a `FieldPath` by providing field names. If more than one field
|
|
256
256
|
* name is provided, the path will point to a nested field in a document.
|
|
257
|
-
*/ declare class
|
|
257
|
+
*/ declare class eh {
|
|
258
258
|
/**
|
|
259
259
|
* Creates a `FieldPath` from the provided field names. If more than one field
|
|
260
260
|
* name is provided, the path will point to a nested field in a document.
|
|
@@ -262,7 +262,7 @@ declare class Za {
|
|
|
262
262
|
* @param fieldNames - A list of field names.
|
|
263
263
|
*/
|
|
264
264
|
constructor(...t: any[]);
|
|
265
|
-
_internalPath:
|
|
265
|
+
_internalPath: ut;
|
|
266
266
|
/**
|
|
267
267
|
* Returns true if this `FieldPath` is equal to the provided one.
|
|
268
268
|
*
|
|
@@ -289,7 +289,7 @@ declare class Za {
|
|
|
289
289
|
/**
|
|
290
290
|
* Sentinel values that can be used when writing document fields with `set()`
|
|
291
291
|
* or `update()`.
|
|
292
|
-
*/ declare class
|
|
292
|
+
*/ declare class sh {
|
|
293
293
|
/**
|
|
294
294
|
* @param _methodName - The public API endpoint that returns this class.
|
|
295
295
|
* @hideconstructor
|
|
@@ -302,10 +302,10 @@ declare class Za {
|
|
|
302
302
|
*
|
|
303
303
|
* Do not call this constructor directly. Instead, use {@link (getFirestore:1)}.
|
|
304
304
|
*/
|
|
305
|
-
declare class
|
|
306
|
-
_queue:
|
|
305
|
+
declare class $a extends Jc {
|
|
306
|
+
_queue: ka;
|
|
307
307
|
}
|
|
308
|
-
/** An error returned by a Firestore operation. */ declare class
|
|
308
|
+
/** An error returned by a Firestore operation. */ declare class L extends c {
|
|
309
309
|
/** @hideconstructor */
|
|
310
310
|
constructor(t: any, e: any);
|
|
311
311
|
}
|
|
@@ -331,7 +331,7 @@ declare class Fa extends Hc {
|
|
|
331
331
|
*
|
|
332
332
|
* Latitude values are in the range of [-90, 90].
|
|
333
333
|
* Longitude values are in the range of [-180, 180].
|
|
334
|
-
*/ declare class
|
|
334
|
+
*/ declare class ih {
|
|
335
335
|
/**
|
|
336
336
|
* Creates a new immutable `GeoPoint` object with the provided latitude and
|
|
337
337
|
* longitude values.
|
|
@@ -362,9 +362,9 @@ declare class Fa extends Hc {
|
|
|
362
362
|
* with an underscore.
|
|
363
363
|
*/ _compareTo(t: any): 0 | 1 | -1;
|
|
364
364
|
}
|
|
365
|
-
declare class
|
|
365
|
+
declare class Ma {
|
|
366
366
|
_progressObserver: {};
|
|
367
|
-
_taskCompletionResolver:
|
|
367
|
+
_taskCompletionResolver: U;
|
|
368
368
|
_lastProgress: {
|
|
369
369
|
taskState: string;
|
|
370
370
|
totalBytes: number;
|
|
@@ -414,7 +414,7 @@ declare class Oa {
|
|
|
414
414
|
/**
|
|
415
415
|
* A `Query` refers to a query which you can read or listen to. You can also
|
|
416
416
|
* construct refined `Query` objects by adding filters and ordering.
|
|
417
|
-
*/ declare class
|
|
417
|
+
*/ declare class Zc {
|
|
418
418
|
/** @hideconstructor protected */
|
|
419
419
|
constructor(t: any, e: any, n: any);
|
|
420
420
|
converter: any;
|
|
@@ -422,7 +422,7 @@ declare class Oa {
|
|
|
422
422
|
/** The type of this Firestore reference. */
|
|
423
423
|
type: string;
|
|
424
424
|
firestore: any;
|
|
425
|
-
withConverter(t: any):
|
|
425
|
+
withConverter(t: any): Zc;
|
|
426
426
|
}
|
|
427
427
|
/**
|
|
428
428
|
* A `QueryConstraint` is used to narrow the set of documents returned by a
|
|
@@ -431,7 +431,7 @@ declare class Oa {
|
|
|
431
431
|
* endBefore:1}, {@link (endAt:1)}, {@link limit} or {@link limitToLast} and
|
|
432
432
|
* can then be passed to {@link query} to create a new query instance that
|
|
433
433
|
* also contains this `QueryConstraint`.
|
|
434
|
-
*/ declare class
|
|
434
|
+
*/ declare class Oh {
|
|
435
435
|
}
|
|
436
436
|
/**
|
|
437
437
|
* A `QueryDocumentSnapshot` contains data read from a document in your
|
|
@@ -443,7 +443,7 @@ declare class Oa {
|
|
|
443
443
|
* `DocumentSnapshot`. Since query results contain only existing documents, the
|
|
444
444
|
* `exists` property will always be true and `data()` will never return
|
|
445
445
|
* 'undefined'.
|
|
446
|
-
*/ declare class
|
|
446
|
+
*/ declare class rl extends il {
|
|
447
447
|
}
|
|
448
448
|
/**
|
|
449
449
|
* A `QuerySnapshot` contains zero or more `DocumentSnapshot` objects
|
|
@@ -451,13 +451,13 @@ declare class Oa {
|
|
|
451
451
|
* array via the `docs` property or enumerated using the `forEach` method. The
|
|
452
452
|
* number of documents can be determined via the `empty` and `size`
|
|
453
453
|
* properties.
|
|
454
|
-
*/ declare class
|
|
454
|
+
*/ declare class ol {
|
|
455
455
|
/** @hideconstructor */
|
|
456
456
|
constructor(t: any, e: any, n: any, s: any);
|
|
457
457
|
_firestore: any;
|
|
458
458
|
_userDataWriter: any;
|
|
459
459
|
_snapshot: any;
|
|
460
|
-
metadata:
|
|
460
|
+
metadata: sl;
|
|
461
461
|
query: any;
|
|
462
462
|
/** An array of all the documents in the `QuerySnapshot`. */ get docs(): any[];
|
|
463
463
|
/** The number of documents in the `QuerySnapshot`. */ get size(): any;
|
|
@@ -499,7 +499,7 @@ declare class Oa {
|
|
|
499
499
|
*/
|
|
500
500
|
/**
|
|
501
501
|
* Metadata about a snapshot, describing the state of the snapshot.
|
|
502
|
-
*/ declare class
|
|
502
|
+
*/ declare class sl {
|
|
503
503
|
/** @hideconstructor */
|
|
504
504
|
constructor(t: any, e: any);
|
|
505
505
|
hasPendingWrites: any;
|
|
@@ -541,19 +541,19 @@ declare class Oa {
|
|
|
541
541
|
* For examples and further specifications, refer to the
|
|
542
542
|
* {@link https://github.com/google/protobuf/blob/master/src/google/protobuf/timestamp.proto | Timestamp definition}.
|
|
543
543
|
*/
|
|
544
|
-
declare class
|
|
544
|
+
declare class nt {
|
|
545
545
|
/**
|
|
546
546
|
* Creates a new timestamp with the current date, with millisecond precision.
|
|
547
547
|
*
|
|
548
548
|
* @returns a new timestamp representing the current date.
|
|
549
|
-
*/ static now():
|
|
549
|
+
*/ static now(): nt;
|
|
550
550
|
/**
|
|
551
551
|
* Creates a new timestamp from the given date.
|
|
552
552
|
*
|
|
553
553
|
* @param date - The date to initialize the `Timestamp` from.
|
|
554
554
|
* @returns A new `Timestamp` representing the same point in time as the given
|
|
555
555
|
* date.
|
|
556
|
-
*/ static fromDate(t: any):
|
|
556
|
+
*/ static fromDate(t: any): nt;
|
|
557
557
|
/**
|
|
558
558
|
* Creates a new timestamp from the given number of milliseconds.
|
|
559
559
|
*
|
|
@@ -561,7 +561,7 @@ declare class et {
|
|
|
561
561
|
* 1970-01-01T00:00:00Z.
|
|
562
562
|
* @returns A new `Timestamp` representing the same point in time as the given
|
|
563
563
|
* number of milliseconds.
|
|
564
|
-
*/ static fromMillis(t: any):
|
|
564
|
+
*/ static fromMillis(t: any): nt;
|
|
565
565
|
/**
|
|
566
566
|
* Creates a new timestamp.
|
|
567
567
|
*
|
|
@@ -608,11 +608,11 @@ declare class et {
|
|
|
608
608
|
* to be compared using the `>`, `<=`, `>=` and `>` operators.
|
|
609
609
|
*/ valueOf(): string;
|
|
610
610
|
}
|
|
611
|
-
declare const
|
|
611
|
+
declare const Sl_base: {
|
|
612
612
|
new (t: any, e: any): {
|
|
613
613
|
_firestore: any;
|
|
614
614
|
_transaction: any;
|
|
615
|
-
_dataReader:
|
|
615
|
+
_dataReader: hh;
|
|
616
616
|
/**
|
|
617
617
|
* Reads the document referenced by the provided {@link DocumentReference}.
|
|
618
618
|
*
|
|
@@ -675,7 +675,7 @@ declare const Vl_base: {
|
|
|
675
675
|
* the methods to read and write data within the transaction context. See
|
|
676
676
|
* {@link runTransaction}.
|
|
677
677
|
*/
|
|
678
|
-
declare class
|
|
678
|
+
declare class Sl extends Sl_base {
|
|
679
679
|
}
|
|
680
680
|
/**
|
|
681
681
|
* @license
|
|
@@ -701,22 +701,22 @@ declare class Vl extends Vl_base {
|
|
|
701
701
|
* will be committed (or visible locally) until {@link WriteBatch.commit} is
|
|
702
702
|
* called.
|
|
703
703
|
*/
|
|
704
|
-
declare class
|
|
704
|
+
declare class vl {
|
|
705
705
|
/** @hideconstructor */
|
|
706
706
|
constructor(t: any, e: any);
|
|
707
707
|
_firestore: any;
|
|
708
708
|
_commitHandler: any;
|
|
709
709
|
_mutations: any[];
|
|
710
710
|
_committed: boolean;
|
|
711
|
-
_dataReader:
|
|
712
|
-
set(t: any, e: any, n: any):
|
|
713
|
-
update(t: any, e: any, n: any, ...s: any[]):
|
|
711
|
+
_dataReader: hh;
|
|
712
|
+
set(t: any, e: any, n: any): vl;
|
|
713
|
+
update(t: any, e: any, n: any, ...s: any[]): vl;
|
|
714
714
|
/**
|
|
715
715
|
* Deletes the document referred to by the provided {@link DocumentReference}.
|
|
716
716
|
*
|
|
717
717
|
* @param documentRef - A reference to the document to be deleted.
|
|
718
718
|
* @returns This `WriteBatch` instance. Used for chaining method calls.
|
|
719
|
-
*/ delete(t: any):
|
|
719
|
+
*/ delete(t: any): vl;
|
|
720
720
|
/**
|
|
721
721
|
* Commits all of the writes in this write batch as a single atomic unit.
|
|
722
722
|
*
|
|
@@ -736,8 +736,8 @@ declare class Pl {
|
|
|
736
736
|
* Represents the database ID a Firestore client is associated with.
|
|
737
737
|
* @internal
|
|
738
738
|
*/
|
|
739
|
-
declare class
|
|
740
|
-
static empty():
|
|
739
|
+
declare class ne {
|
|
740
|
+
static empty(): ne;
|
|
741
741
|
constructor(t: any, e: any);
|
|
742
742
|
projectId: any;
|
|
743
743
|
database: any;
|
|
@@ -762,10 +762,10 @@ declare class ee {
|
|
|
762
762
|
*/
|
|
763
763
|
/**
|
|
764
764
|
* @internal
|
|
765
|
-
*/ declare class
|
|
766
|
-
static fromPath(t: any):
|
|
767
|
-
static fromName(t: any):
|
|
768
|
-
static empty():
|
|
765
|
+
*/ declare class ct {
|
|
766
|
+
static fromPath(t: any): ct;
|
|
767
|
+
static fromName(t: any): ct;
|
|
768
|
+
static empty(): ct;
|
|
769
769
|
static comparator(t: any, e: any): 0 | 1 | -1;
|
|
770
770
|
static isDocumentKey(t: any): boolean;
|
|
771
771
|
/**
|
|
@@ -773,7 +773,7 @@ declare class ee {
|
|
|
773
773
|
*
|
|
774
774
|
* @param segments - The segments of the path to the document
|
|
775
775
|
* @returns A new instance of DocumentKey
|
|
776
|
-
*/ static fromSegments(t: any):
|
|
776
|
+
*/ static fromSegments(t: any): ct;
|
|
777
777
|
constructor(t: any);
|
|
778
778
|
path: any;
|
|
779
779
|
get collectionGroup(): any;
|
|
@@ -786,8 +786,8 @@ declare class ee {
|
|
|
786
786
|
/**
|
|
787
787
|
* An AppCheck token provider that always yields an empty token.
|
|
788
788
|
* @internal
|
|
789
|
-
*/ declare class
|
|
790
|
-
getToken(): Promise<
|
|
789
|
+
*/ declare class J {
|
|
790
|
+
getToken(): Promise<z>;
|
|
791
791
|
invalidateToken(): void;
|
|
792
792
|
start(t: any, e: any): void;
|
|
793
793
|
shutdown(): void;
|
|
@@ -795,7 +795,7 @@ declare class ee {
|
|
|
795
795
|
/**
|
|
796
796
|
* A CredentialsProvider that always yields an empty token.
|
|
797
797
|
* @internal
|
|
798
|
-
*/ declare class
|
|
798
|
+
*/ declare class K {
|
|
799
799
|
getToken(): Promise<null>;
|
|
800
800
|
invalidateToken(): void;
|
|
801
801
|
start(t: any, e: any): void;
|
|
@@ -804,14 +804,14 @@ declare class ee {
|
|
|
804
804
|
/**
|
|
805
805
|
* A dot-separated path for navigating sub-objects within a document.
|
|
806
806
|
* @internal
|
|
807
|
-
*/ declare class
|
|
807
|
+
*/ declare class ut extends it {
|
|
808
808
|
/**
|
|
809
809
|
* Returns true if the string could be used as a segment in a field path
|
|
810
810
|
* without escaping.
|
|
811
811
|
*/ static isValidIdentifier(t: any): boolean;
|
|
812
812
|
/**
|
|
813
813
|
* The field designating the key of a document.
|
|
814
|
-
*/ static keyField():
|
|
814
|
+
*/ static keyField(): ut;
|
|
815
815
|
/**
|
|
816
816
|
* Parses a field string from the given server-formatted string.
|
|
817
817
|
*
|
|
@@ -821,16 +821,16 @@ declare class ee {
|
|
|
821
821
|
*
|
|
822
822
|
* TODO(b/37244157): we should make this more strict. Right now, it allows
|
|
823
823
|
* non-identifier path components, even if they aren't escaped.
|
|
824
|
-
*/ static fromServerFormat(t: any):
|
|
825
|
-
static emptyPath():
|
|
826
|
-
construct(t: any, e: any, n: any):
|
|
824
|
+
*/ static fromServerFormat(t: any): ut;
|
|
825
|
+
static emptyPath(): ut;
|
|
826
|
+
construct(t: any, e: any, n: any): ut;
|
|
827
827
|
canonicalString(): any;
|
|
828
828
|
toString(): any;
|
|
829
829
|
/**
|
|
830
830
|
* Returns true if this field references the key of a document.
|
|
831
831
|
*/ isKeyField(): boolean;
|
|
832
832
|
}
|
|
833
|
-
declare function
|
|
833
|
+
declare function jc(t: any, e: any): any;
|
|
834
834
|
/**
|
|
835
835
|
* Fails if the given assertion condition is false, throwing an Error with the
|
|
836
836
|
* given message if it did.
|
|
@@ -840,7 +840,7 @@ declare function Qc(t: any, e: any): any;
|
|
|
840
840
|
* happen in this case.
|
|
841
841
|
*
|
|
842
842
|
* @internal
|
|
843
|
-
*/ declare function
|
|
843
|
+
*/ declare function F(t: any, e: any): void;
|
|
844
844
|
/**
|
|
845
845
|
* @license
|
|
846
846
|
* Copyright 2020 Google LLC
|
|
@@ -859,14 +859,14 @@ declare function Qc(t: any, e: any): any;
|
|
|
859
859
|
*/
|
|
860
860
|
/** Converts a Base64 encoded string to a binary string. */
|
|
861
861
|
/** True if and only if the Base64 conversion functions are available. */
|
|
862
|
-
declare function
|
|
862
|
+
declare function jt(): boolean;
|
|
863
863
|
/**
|
|
864
864
|
* @internal
|
|
865
|
-
*/ declare function
|
|
865
|
+
*/ declare function N(t: any, ...e: any[]): void;
|
|
866
866
|
/**
|
|
867
867
|
* Validates that two boolean options are not set at the same time.
|
|
868
868
|
* @internal
|
|
869
|
-
*/ declare function
|
|
869
|
+
*/ declare function qc(t: any, e: any, n: any, s: any): void;
|
|
870
870
|
/**
|
|
871
871
|
* Add a new document to specified `CollectionReference` with the given data,
|
|
872
872
|
* assigning it a document ID automatically.
|
|
@@ -876,7 +876,7 @@ declare function Qt(): boolean;
|
|
|
876
876
|
* @returns A `Promise` resolved with a `DocumentReference` pointing to the
|
|
877
877
|
* newly created document after it has been written to the backend (Note that it
|
|
878
878
|
* won't resolve while you're offline).
|
|
879
|
-
*/ declare function
|
|
879
|
+
*/ declare function pl(t: any, e: any): Promise<Xc>;
|
|
880
880
|
/**
|
|
881
881
|
* @license
|
|
882
882
|
* Copyright 2022 Google LLC
|
|
@@ -904,7 +904,7 @@ declare function Qt(): boolean;
|
|
|
904
904
|
*
|
|
905
905
|
* @returns `true` if the objects are "equal", as defined above, or `false`
|
|
906
906
|
* otherwise.
|
|
907
|
-
*/ declare function
|
|
907
|
+
*/ declare function Rl(t: any, e: any): boolean;
|
|
908
908
|
/**
|
|
909
909
|
* Returns a special value that can be used with {@link (setDoc:1)} or {@link
|
|
910
910
|
* updateDoc:1} that tells the server to remove the given elements from any
|
|
@@ -915,7 +915,7 @@ declare function Qt(): boolean;
|
|
|
915
915
|
* @param elements - The elements to remove from the array.
|
|
916
916
|
* @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
|
|
917
917
|
* `updateDoc()`
|
|
918
|
-
*/ declare function
|
|
918
|
+
*/ declare function kl(...t: any[]): gh;
|
|
919
919
|
/**
|
|
920
920
|
* Returns a special value that can be used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link
|
|
921
921
|
* @firebase/firestore/lite#(updateDoc:1)} that tells the server to union the given elements with any array
|
|
@@ -927,9 +927,9 @@ declare function Qt(): boolean;
|
|
|
927
927
|
* @param elements - The elements to union into the array.
|
|
928
928
|
* @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
|
|
929
929
|
* `updateDoc()`.
|
|
930
|
-
*/ declare function
|
|
931
|
-
declare function
|
|
932
|
-
declare function
|
|
930
|
+
*/ declare function Nl(...t: any[]): mh;
|
|
931
|
+
declare function ja(t: any): Promise<any>;
|
|
932
|
+
declare function ea(t: any, e: any, ...n: any[]): ta;
|
|
933
933
|
/**
|
|
934
934
|
* Creates and returns a new `Query` instance that includes all documents in the
|
|
935
935
|
* database that are contained in a collection or subcollection with the
|
|
@@ -940,7 +940,7 @@ declare function ta(t: any, e: any, ...n: any[]): Zc;
|
|
|
940
940
|
* collection or subcollection with this ID as the last segment of its path
|
|
941
941
|
* will be included. Cannot contain a slash.
|
|
942
942
|
* @returns The created `Query`.
|
|
943
|
-
*/ declare function
|
|
943
|
+
*/ declare function na(t: any, e: any): Zc;
|
|
944
944
|
/**
|
|
945
945
|
* Modify this instance to communicate with the Cloud Firestore emulator.
|
|
946
946
|
*
|
|
@@ -953,14 +953,14 @@ declare function ta(t: any, e: any, ...n: any[]): Zc;
|
|
|
953
953
|
* @param port - the emulator port (ex: 9000).
|
|
954
954
|
* @param options.mockUserToken - the mock auth token to use for unit testing
|
|
955
955
|
* Security Rules.
|
|
956
|
-
*/ declare function
|
|
956
|
+
*/ declare function Yc(t: any, e: any, n: any, s?: {}): void;
|
|
957
957
|
/**
|
|
958
958
|
* Deletes the document referred to by the specified `DocumentReference`.
|
|
959
959
|
*
|
|
960
960
|
* @param reference - A reference to the document to delete.
|
|
961
961
|
* @returns A Promise resolved once the document has been successfully
|
|
962
962
|
* deleted from the backend (note that it won't resolve while you're offline).
|
|
963
|
-
*/ declare function
|
|
963
|
+
*/ declare function yl(t: any): Promise<any>;
|
|
964
964
|
/**
|
|
965
965
|
* @license
|
|
966
966
|
* Copyright 2020 Google LLC
|
|
@@ -980,7 +980,7 @@ declare function ta(t: any, e: any, ...n: any[]): Zc;
|
|
|
980
980
|
/**
|
|
981
981
|
* Returns a sentinel for use with {@link @firebase/firestore/lite#(updateDoc:1)} or
|
|
982
982
|
* {@link @firebase/firestore/lite#(setDoc:1)} with `{merge: true}` to mark a field for deletion.
|
|
983
|
-
*/ declare function
|
|
983
|
+
*/ declare function Cl(): dh;
|
|
984
984
|
/**
|
|
985
985
|
* Disables network usage for this instance. It can be re-enabled via {@link
|
|
986
986
|
* enableNetwork}. While the network is disabled, any snapshot listeners,
|
|
@@ -988,12 +988,12 @@ declare function ta(t: any, e: any, ...n: any[]): Zc;
|
|
|
988
988
|
* operations will be queued until the network is restored.
|
|
989
989
|
*
|
|
990
990
|
* @returns A `Promise` that is resolved once the network has been disabled.
|
|
991
|
-
*/ declare function
|
|
992
|
-
declare function
|
|
991
|
+
*/ declare function Ha(t: any): any;
|
|
992
|
+
declare function sa(t: any, e: any, ...n: any[]): Xc;
|
|
993
993
|
/**
|
|
994
994
|
* Returns a special sentinel `FieldPath` to refer to the ID of a document.
|
|
995
995
|
* It can be used in queries to sort or filter by the document ID.
|
|
996
|
-
*/ declare function
|
|
996
|
+
*/ declare function nh(): eh;
|
|
997
997
|
/**
|
|
998
998
|
* Attempts to enable persistent storage, if possible.
|
|
999
999
|
*
|
|
@@ -1016,7 +1016,7 @@ declare function na(t: any, e: any, ...n: any[]): Yc;
|
|
|
1016
1016
|
* @param persistenceSettings - Optional settings object to configure
|
|
1017
1017
|
* persistence.
|
|
1018
1018
|
* @returns A `Promise` that represents successfully enabling persistent storage.
|
|
1019
|
-
*/ declare function
|
|
1019
|
+
*/ declare function Ka(t: any, e: any): any;
|
|
1020
1020
|
/**
|
|
1021
1021
|
* Attempts to enable multi-tab persistent storage, if possible. If enabled
|
|
1022
1022
|
* across all tabs, all operations share access to local persistence, including
|
|
@@ -1038,22 +1038,22 @@ declare function na(t: any, e: any, ...n: any[]): Yc;
|
|
|
1038
1038
|
* @param firestore - The {@link Firestore} instance to enable persistence for.
|
|
1039
1039
|
* @returns A `Promise` that represents successfully enabling persistent
|
|
1040
1040
|
* storage.
|
|
1041
|
-
*/ declare function
|
|
1041
|
+
*/ declare function Ga(t: any): any;
|
|
1042
1042
|
/**
|
|
1043
1043
|
* Re-enables use of the network for this {@link Firestore} instance after a prior
|
|
1044
1044
|
* call to {@link disableNetwork}.
|
|
1045
1045
|
*
|
|
1046
1046
|
* @returns A `Promise` that is resolved once the network has been enabled.
|
|
1047
|
-
*/ declare function
|
|
1048
|
-
declare function
|
|
1049
|
-
declare function
|
|
1047
|
+
*/ declare function za(t: any): any;
|
|
1048
|
+
declare function Hh(...t: any[]): Wh;
|
|
1049
|
+
declare function zh(...t: any[]): Wh;
|
|
1050
1050
|
/**
|
|
1051
1051
|
* @internal
|
|
1052
|
-
*/ declare function
|
|
1052
|
+
*/ declare function Ua(t: any): any;
|
|
1053
1053
|
/**
|
|
1054
1054
|
* Locally writes `mutations` on the async queue.
|
|
1055
1055
|
* @internal
|
|
1056
|
-
*/ declare function
|
|
1056
|
+
*/ declare function El(t: any, e: any): Promise<any>;
|
|
1057
1057
|
/**
|
|
1058
1058
|
* @license
|
|
1059
1059
|
* Copyright 2022 Google LLC
|
|
@@ -1090,7 +1090,7 @@ declare function Wh(...t: any[]): jh;
|
|
|
1090
1090
|
* @returns A Promise that will be resolved with the count; the count can be
|
|
1091
1091
|
* retrieved from `snapshot.data().count`, where `snapshot` is the
|
|
1092
1092
|
* `AggregateQuerySnapshot` to which the returned Promise resolves.
|
|
1093
|
-
*/ declare function
|
|
1093
|
+
*/ declare function bl(t: any): Promise<any>;
|
|
1094
1094
|
/**
|
|
1095
1095
|
* @license
|
|
1096
1096
|
* Copyright 2020 Google LLC
|
|
@@ -1118,21 +1118,21 @@ declare function Wh(...t: any[]): jh;
|
|
|
1118
1118
|
* @param reference - The reference of the document to fetch.
|
|
1119
1119
|
* @returns A Promise resolved with a `DocumentSnapshot` containing the
|
|
1120
1120
|
* current document contents.
|
|
1121
|
-
*/ declare function
|
|
1121
|
+
*/ declare function al(t: any): Promise<il>;
|
|
1122
1122
|
/**
|
|
1123
1123
|
* Reads the document referred to by this `DocumentReference` from cache.
|
|
1124
1124
|
* Returns an error if the document is not currently cached.
|
|
1125
1125
|
*
|
|
1126
1126
|
* @returns A `Promise` resolved with a `DocumentSnapshot` containing the
|
|
1127
1127
|
* current document contents.
|
|
1128
|
-
*/ declare function
|
|
1128
|
+
*/ declare function ll(t: any): Promise<il>;
|
|
1129
1129
|
/**
|
|
1130
1130
|
* Reads the document referred to by this `DocumentReference` from the server.
|
|
1131
1131
|
* Returns an error if the network is not available.
|
|
1132
1132
|
*
|
|
1133
1133
|
* @returns A `Promise` resolved with a `DocumentSnapshot` containing the
|
|
1134
1134
|
* current document contents.
|
|
1135
|
-
*/ declare function
|
|
1135
|
+
*/ declare function fl(t: any): Promise<il>;
|
|
1136
1136
|
/**
|
|
1137
1137
|
* Executes the query and returns the results as a `QuerySnapshot`.
|
|
1138
1138
|
*
|
|
@@ -1142,20 +1142,20 @@ declare function Wh(...t: any[]): jh;
|
|
|
1142
1142
|
* invoke {@link getDocsFromCache} or {@link getDocsFromServer}.
|
|
1143
1143
|
*
|
|
1144
1144
|
* @returns A `Promise` that will be resolved with the results of the query.
|
|
1145
|
-
*/ declare function
|
|
1145
|
+
*/ declare function dl(t: any): Promise<ol>;
|
|
1146
1146
|
/**
|
|
1147
1147
|
* Executes the query and returns the results as a `QuerySnapshot` from cache.
|
|
1148
1148
|
* Returns an error if the document is not currently cached.
|
|
1149
1149
|
*
|
|
1150
1150
|
* @returns A `Promise` that will be resolved with the results of the query.
|
|
1151
|
-
*/ declare function
|
|
1151
|
+
*/ declare function _l(t: any): Promise<ol>;
|
|
1152
1152
|
/**
|
|
1153
1153
|
* Executes the query and returns the results as a `QuerySnapshot` from the
|
|
1154
1154
|
* server. Returns an error if the network is not available.
|
|
1155
1155
|
*
|
|
1156
1156
|
* @returns A `Promise` that will be resolved with the results of the query.
|
|
1157
|
-
*/ declare function
|
|
1158
|
-
declare function
|
|
1157
|
+
*/ declare function wl(t: any): Promise<ol>;
|
|
1158
|
+
declare function La(e: any, n: any): import("../src").Firestore;
|
|
1159
1159
|
/**
|
|
1160
1160
|
* Returns a special value that can be used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link
|
|
1161
1161
|
* @firebase/firestore/lite#(updateDoc:1)} that tells the server to increment the field's current value by
|
|
@@ -1174,7 +1174,7 @@ declare function Ba(e: any, n: any): import("../src").Firestore;
|
|
|
1174
1174
|
* @param n - The value to increment by.
|
|
1175
1175
|
* @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
|
|
1176
1176
|
* `updateDoc()`
|
|
1177
|
-
*/ declare function
|
|
1177
|
+
*/ declare function Ol(t: any): yh;
|
|
1178
1178
|
/**
|
|
1179
1179
|
* Initializes a new instance of {@link Firestore} with the provided settings.
|
|
1180
1180
|
* Can only be called before any other function, including
|
|
@@ -1186,13 +1186,13 @@ declare function Ba(e: any, n: any): import("../src").Firestore;
|
|
|
1186
1186
|
* @param settings - A settings object to configure the {@link Firestore} instance.
|
|
1187
1187
|
* @param databaseId - The name of database.
|
|
1188
1188
|
* @returns A newly initialized {@link Firestore} instance.
|
|
1189
|
-
*/ declare function
|
|
1189
|
+
*/ declare function Ba(t: any, e: any, n: any): import("../src").Firestore;
|
|
1190
1190
|
/**
|
|
1191
1191
|
* Creates a {@link QueryConstraint} that only returns the first matching documents.
|
|
1192
1192
|
*
|
|
1193
1193
|
* @param limit - The maximum number of items to return.
|
|
1194
1194
|
* @returns The created {@link Query}.
|
|
1195
|
-
*/ declare function
|
|
1195
|
+
*/ declare function qh(t: any): Uh;
|
|
1196
1196
|
/**
|
|
1197
1197
|
* Creates a {@link QueryConstraint} that only returns the last matching documents.
|
|
1198
1198
|
*
|
|
@@ -1201,7 +1201,7 @@ declare function Ba(e: any, n: any): import("../src").Firestore;
|
|
|
1201
1201
|
*
|
|
1202
1202
|
* @param limit - The maximum number of items to return.
|
|
1203
1203
|
* @returns The created {@link Query}.
|
|
1204
|
-
*/ declare function
|
|
1204
|
+
*/ declare function Kh(t: any): Uh;
|
|
1205
1205
|
/**
|
|
1206
1206
|
* Loads a Firestore bundle into the local cache.
|
|
1207
1207
|
*
|
|
@@ -1212,7 +1212,7 @@ declare function Ba(e: any, n: any): import("../src").Firestore;
|
|
|
1212
1212
|
* @returns A `LoadBundleTask` object, which notifies callers with progress
|
|
1213
1213
|
* updates, and completion or error events. It can be used as a
|
|
1214
1214
|
* `Promise<LoadBundleTaskProgress>`.
|
|
1215
|
-
*/ declare function
|
|
1215
|
+
*/ declare function Ya(t: any, e: any): Ma;
|
|
1216
1216
|
/**
|
|
1217
1217
|
* Reads a Firestore {@link Query} from local cache, identified by the given
|
|
1218
1218
|
* name.
|
|
@@ -1224,9 +1224,9 @@ declare function Ba(e: any, n: any): import("../src").Firestore;
|
|
|
1224
1224
|
* @param firestore - The {@link Firestore} instance to read the query from.
|
|
1225
1225
|
* @param name - The name of the query.
|
|
1226
1226
|
* @returns A `Promise` that is resolved with the Query or `null`.
|
|
1227
|
-
*/ declare function
|
|
1228
|
-
declare function
|
|
1229
|
-
declare function
|
|
1227
|
+
*/ declare function Xa(t: any, e: any): any;
|
|
1228
|
+
declare function Il(t: any, ...e: any[]): () => void;
|
|
1229
|
+
declare function Tl(t: any, e: any): () => void;
|
|
1230
1230
|
/**
|
|
1231
1231
|
* Creates a {@link QueryConstraint} that sorts the query result by the
|
|
1232
1232
|
* specified field, optionally in descending order instead of ascending.
|
|
@@ -1235,7 +1235,7 @@ declare function Il(t: any, e: any): () => void;
|
|
|
1235
1235
|
* @param directionStr - Optional direction to sort by ('asc' or 'desc'). If
|
|
1236
1236
|
* not specified, order will be ascending.
|
|
1237
1237
|
* @returns The created {@link Query}.
|
|
1238
|
-
*/ declare function
|
|
1238
|
+
*/ declare function Lh(t: any, e?: string): Bh;
|
|
1239
1239
|
/**
|
|
1240
1240
|
* Creates a new immutable instance of {@link Query} that is extended to also include
|
|
1241
1241
|
* additional query constraints.
|
|
@@ -1244,7 +1244,7 @@ declare function Il(t: any, e: any): () => void;
|
|
|
1244
1244
|
* @param queryConstraints - The list of {@link QueryConstraint}s to apply.
|
|
1245
1245
|
* @throws if any of the provided query constraints cannot be combined with the
|
|
1246
1246
|
* existing or new constraints.
|
|
1247
|
-
*/ declare function
|
|
1247
|
+
*/ declare function Mh(t: any, ...e: any[]): any;
|
|
1248
1248
|
/**
|
|
1249
1249
|
* Returns true if the provided queries point to the same collection and apply
|
|
1250
1250
|
* the same constraints.
|
|
@@ -1253,7 +1253,7 @@ declare function Il(t: any, e: any): () => void;
|
|
|
1253
1253
|
* @param right - A `Query` to compare.
|
|
1254
1254
|
* @returns true if the references point to the same location in the same
|
|
1255
1255
|
* Firestore database.
|
|
1256
|
-
*/ declare function
|
|
1256
|
+
*/ declare function ra(t: any, e: any): boolean;
|
|
1257
1257
|
/**
|
|
1258
1258
|
* Returns true if the provided references are equal.
|
|
1259
1259
|
*
|
|
@@ -1261,7 +1261,7 @@ declare function Il(t: any, e: any): () => void;
|
|
|
1261
1261
|
* @param right - A reference to compare.
|
|
1262
1262
|
* @returns true if the references point to the same location in the same
|
|
1263
1263
|
* Firestore database.
|
|
1264
|
-
*/ declare function
|
|
1264
|
+
*/ declare function ia(t: any, e: any): boolean;
|
|
1265
1265
|
/**
|
|
1266
1266
|
* Executes the given `updateFunction` and then attempts to commit the changes
|
|
1267
1267
|
* applied within the transaction. If any document read within the transaction
|
|
@@ -1280,12 +1280,12 @@ declare function Il(t: any, e: any): () => void;
|
|
|
1280
1280
|
* (the `updateFunction` returned a failed promise), the promise returned by the
|
|
1281
1281
|
* `updateFunction `is returned here. Otherwise, if the transaction failed, a
|
|
1282
1282
|
* rejected promise with the corresponding failure error is returned.
|
|
1283
|
-
*/ declare function
|
|
1283
|
+
*/ declare function Dl(t: any, e: any, n: any): Promise<any>;
|
|
1284
1284
|
/**
|
|
1285
1285
|
* Returns a sentinel used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link @firebase/firestore/lite#(updateDoc:1)} to
|
|
1286
1286
|
* include a server-generated timestamp in the written data.
|
|
1287
|
-
*/ declare function
|
|
1288
|
-
declare function
|
|
1287
|
+
*/ declare function xl(): wh;
|
|
1288
|
+
declare function ml(t: any, e: any, n: any): Promise<any>;
|
|
1289
1289
|
/**
|
|
1290
1290
|
* @license
|
|
1291
1291
|
* Copyright 2021 Google LLC
|
|
@@ -1301,7 +1301,7 @@ declare function wl(t: any, e: any, n: any): Promise<any>;
|
|
|
1301
1301
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1302
1302
|
* See the License for the specific language governing permissions and
|
|
1303
1303
|
* limitations under the License.
|
|
1304
|
-
*/ declare function
|
|
1304
|
+
*/ declare function Fl(t: any, e: any): Promise<any>;
|
|
1305
1305
|
/**
|
|
1306
1306
|
* Sets the verbosity of Cloud Firestore logs (debug, error, or silent).
|
|
1307
1307
|
*
|
|
@@ -1314,16 +1314,16 @@ declare function wl(t: any, e: any, n: any): Promise<any>;
|
|
|
1314
1314
|
* <li>`error` to log errors only.</li>
|
|
1315
1315
|
* <li><code>`silent` to turn off logging.</li>
|
|
1316
1316
|
* </ul>
|
|
1317
|
-
*/ declare function
|
|
1317
|
+
*/ declare function D(t: any): void;
|
|
1318
1318
|
/**
|
|
1319
1319
|
* Returns true if the provided snapshots are equal.
|
|
1320
1320
|
*
|
|
1321
1321
|
* @param left - A snapshot to compare.
|
|
1322
1322
|
* @param right - A snapshot to compare.
|
|
1323
1323
|
* @returns true if the snapshots are equal.
|
|
1324
|
-
*/ declare function
|
|
1325
|
-
declare function
|
|
1326
|
-
declare function
|
|
1324
|
+
*/ declare function cl(t: any, e: any): any;
|
|
1325
|
+
declare function jh(...t: any[]): Gh;
|
|
1326
|
+
declare function Qh(...t: any[]): Gh;
|
|
1327
1327
|
/**
|
|
1328
1328
|
* Terminates the provided {@link Firestore} instance.
|
|
1329
1329
|
*
|
|
@@ -1345,8 +1345,8 @@ declare function Gh(...t: any[]): Kh;
|
|
|
1345
1345
|
*
|
|
1346
1346
|
* @returns A `Promise` that is resolved when the instance has been successfully
|
|
1347
1347
|
* terminated.
|
|
1348
|
-
*/ declare function
|
|
1349
|
-
declare function
|
|
1348
|
+
*/ declare function Ja(t: any): any;
|
|
1349
|
+
declare function gl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
1350
1350
|
/**
|
|
1351
1351
|
* Waits until all currently pending writes for the active user have been
|
|
1352
1352
|
* acknowledged by the backend.
|
|
@@ -1362,7 +1362,7 @@ declare function ml(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1362
1362
|
*
|
|
1363
1363
|
* @returns A `Promise` which resolves when all currently pending writes have been
|
|
1364
1364
|
* acknowledged by the backend.
|
|
1365
|
-
*/ declare function
|
|
1365
|
+
*/ declare function Wa(t: any): Promise<any>;
|
|
1366
1366
|
/**
|
|
1367
1367
|
* Creates a {@link QueryConstraint} that enforces that documents must contain the
|
|
1368
1368
|
* specified field and that the value should satisfy the relation constraint
|
|
@@ -1373,7 +1373,7 @@ declare function ml(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1373
1373
|
* "<=", "!=").
|
|
1374
1374
|
* @param value - The value for comparison
|
|
1375
1375
|
* @returns The created {@link Query}.
|
|
1376
|
-
*/ declare function
|
|
1376
|
+
*/ declare function $h(t: any, e: any, n: any): Fh;
|
|
1377
1377
|
/**
|
|
1378
1378
|
* @license
|
|
1379
1379
|
* Copyright 2020 Google LLC
|
|
@@ -1400,7 +1400,7 @@ declare function ml(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1400
1400
|
*
|
|
1401
1401
|
* @returns A {@link WriteBatch} that can be used to atomically execute multiple
|
|
1402
1402
|
* writes.
|
|
1403
|
-
*/ declare function
|
|
1403
|
+
*/ declare function Ml(t: any): vl;
|
|
1404
1404
|
/**
|
|
1405
1405
|
* @license
|
|
1406
1406
|
* Copyright 2020 Google LLC
|
|
@@ -1425,7 +1425,7 @@ declare function ml(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1425
1425
|
* For a `DocumentSnapshot` that points to a non-existing document, any data
|
|
1426
1426
|
* access will return 'undefined'. You can use the `exists()` method to
|
|
1427
1427
|
* explicitly verify a document's existence.
|
|
1428
|
-
*/ declare class
|
|
1428
|
+
*/ declare class Ch {
|
|
1429
1429
|
/** @hideconstructor protected */
|
|
1430
1430
|
constructor(t: any, e: any, n: any, s: any, i: any);
|
|
1431
1431
|
_firestore: any;
|
|
@@ -1436,7 +1436,7 @@ declare function ml(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1436
1436
|
/** Property of the `DocumentSnapshot` that provides the document's ID. */ get id(): any;
|
|
1437
1437
|
/**
|
|
1438
1438
|
* The `DocumentReference` for the document included in the `DocumentSnapshot`.
|
|
1439
|
-
*/ get ref():
|
|
1439
|
+
*/ get ref(): Xc;
|
|
1440
1440
|
/**
|
|
1441
1441
|
* Signals whether or not the document at the snapshot's location exists.
|
|
1442
1442
|
*
|
|
@@ -1480,7 +1480,7 @@ declare function ml(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1480
1480
|
* The Cloud Firestore service interface.
|
|
1481
1481
|
*
|
|
1482
1482
|
* Do not call this constructor directly. Instead, use {@link (getFirestore:1)}.
|
|
1483
|
-
*/ declare class
|
|
1483
|
+
*/ declare class Jc {
|
|
1484
1484
|
/** @hideconstructor */
|
|
1485
1485
|
constructor(t: any, e: any, n: any, s: any);
|
|
1486
1486
|
_authCredentials: any;
|
|
@@ -1492,7 +1492,7 @@ declare function ml(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1492
1492
|
*/
|
|
1493
1493
|
type: string;
|
|
1494
1494
|
_persistenceKey: string;
|
|
1495
|
-
_settings:
|
|
1495
|
+
_settings: Hc;
|
|
1496
1496
|
_settingsFrozen: boolean;
|
|
1497
1497
|
/**
|
|
1498
1498
|
* The {@link @firebase/app#FirebaseApp} associated with this `Firestore` service
|
|
@@ -1501,14 +1501,14 @@ declare function ml(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1501
1501
|
get _initialized(): boolean;
|
|
1502
1502
|
get _terminated(): boolean;
|
|
1503
1503
|
_setSettings(t: any): void;
|
|
1504
|
-
_getSettings():
|
|
1505
|
-
_freezeSettings():
|
|
1504
|
+
_getSettings(): Hc;
|
|
1505
|
+
_freezeSettings(): Hc;
|
|
1506
1506
|
_delete(): Promise<void>;
|
|
1507
1507
|
_terminateTask: Promise<void> | undefined;
|
|
1508
1508
|
/** Returns a JSON-serializable representation of this `Firestore` instance. */ toJSON(): {
|
|
1509
1509
|
app: any;
|
|
1510
1510
|
databaseId: any;
|
|
1511
|
-
settings:
|
|
1511
|
+
settings: Hc;
|
|
1512
1512
|
};
|
|
1513
1513
|
/**
|
|
1514
1514
|
* Terminates all components used by this client. Subclasses can override
|
|
@@ -1518,7 +1518,7 @@ declare function ml(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1518
1518
|
* Only ever called once.
|
|
1519
1519
|
*/ _terminate(): Promise<void>;
|
|
1520
1520
|
}
|
|
1521
|
-
declare class
|
|
1521
|
+
declare class ka {
|
|
1522
1522
|
Bc: Promise<void>;
|
|
1523
1523
|
Lc: any[];
|
|
1524
1524
|
Uc: boolean;
|
|
@@ -1527,7 +1527,7 @@ declare class Na {
|
|
|
1527
1527
|
Gc: boolean;
|
|
1528
1528
|
Qc: boolean;
|
|
1529
1529
|
jc: any[];
|
|
1530
|
-
No:
|
|
1530
|
+
No: tu;
|
|
1531
1531
|
Wc: () => void;
|
|
1532
1532
|
get isShuttingDown(): boolean;
|
|
1533
1533
|
/**
|
|
@@ -1543,7 +1543,7 @@ declare class Na {
|
|
|
1543
1543
|
* reschedules with backoff.
|
|
1544
1544
|
*/ Jc(): Promise<void>;
|
|
1545
1545
|
Hc(t: any): Promise<any>;
|
|
1546
|
-
enqueueAfterDelay(t: any, e: any, n: any):
|
|
1546
|
+
enqueueAfterDelay(t: any, e: any, n: any): Mu;
|
|
1547
1547
|
zc(): void;
|
|
1548
1548
|
verifyOperationInProgress(): void;
|
|
1549
1549
|
/**
|
|
@@ -1582,7 +1582,7 @@ import { FirebaseError as c } from "@firebase/util/dist/src/errors";
|
|
|
1582
1582
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1583
1583
|
* See the License for the specific language governing permissions and
|
|
1584
1584
|
* limitations under the License.
|
|
1585
|
-
*/ declare class
|
|
1585
|
+
*/ declare class U {
|
|
1586
1586
|
promise: Promise<any>;
|
|
1587
1587
|
resolve: (value: any) => void;
|
|
1588
1588
|
reject: (reason?: any) => void;
|
|
@@ -1590,14 +1590,14 @@ import { FirebaseError as c } from "@firebase/util/dist/src/errors";
|
|
|
1590
1590
|
/**
|
|
1591
1591
|
* Helper for parsing raw user input (provided via the API) into internal model
|
|
1592
1592
|
* classes.
|
|
1593
|
-
*/ declare class
|
|
1593
|
+
*/ declare class hh {
|
|
1594
1594
|
constructor(t: any, e: any, n: any);
|
|
1595
1595
|
databaseId: any;
|
|
1596
1596
|
ignoreUndefinedProperties: any;
|
|
1597
1597
|
It: any;
|
|
1598
|
-
/** Creates a new top-level parse context. */ da(t: any, e: any, n: any, s?: boolean):
|
|
1598
|
+
/** Creates a new top-level parse context. */ da(t: any, e: any, n: any, s?: boolean): ah;
|
|
1599
1599
|
}
|
|
1600
|
-
declare class
|
|
1600
|
+
declare class z {
|
|
1601
1601
|
constructor(t: any);
|
|
1602
1602
|
value: any;
|
|
1603
1603
|
type: string;
|
|
@@ -1622,7 +1622,7 @@ declare class W {
|
|
|
1622
1622
|
/**
|
|
1623
1623
|
* Path represents an ordered sequence of string segments.
|
|
1624
1624
|
*/
|
|
1625
|
-
declare class
|
|
1625
|
+
declare class it {
|
|
1626
1626
|
static comparator(t: any, e: any): 0 | 1 | -1;
|
|
1627
1627
|
constructor(t: any, e: any, n: any);
|
|
1628
1628
|
segments: any;
|
|
@@ -1643,67 +1643,67 @@ declare class st {
|
|
|
1643
1643
|
forEach(t: any): void;
|
|
1644
1644
|
toArray(): any;
|
|
1645
1645
|
}
|
|
1646
|
-
declare class
|
|
1646
|
+
declare class gh extends sh {
|
|
1647
1647
|
constructor(t: any, e: any);
|
|
1648
1648
|
_a: any;
|
|
1649
|
-
_toFieldTransform(t: any):
|
|
1649
|
+
_toFieldTransform(t: any): xn;
|
|
1650
1650
|
isEqual(t: any): boolean;
|
|
1651
1651
|
}
|
|
1652
|
-
declare class
|
|
1652
|
+
declare class mh extends sh {
|
|
1653
1653
|
constructor(t: any, e: any);
|
|
1654
1654
|
_a: any;
|
|
1655
|
-
_toFieldTransform(t: any):
|
|
1655
|
+
_toFieldTransform(t: any): xn;
|
|
1656
1656
|
isEqual(t: any): boolean;
|
|
1657
1657
|
}
|
|
1658
|
-
declare class
|
|
1658
|
+
declare class dh extends sh {
|
|
1659
1659
|
_toFieldTransform(t: any): null;
|
|
1660
1660
|
isEqual(t: any): boolean;
|
|
1661
1661
|
}
|
|
1662
|
-
declare class
|
|
1662
|
+
declare class Wh extends Oh {
|
|
1663
1663
|
constructor(t: any, e: any, n: any);
|
|
1664
1664
|
type: any;
|
|
1665
1665
|
Ea: any;
|
|
1666
1666
|
Aa: any;
|
|
1667
|
-
_apply(t: any):
|
|
1667
|
+
_apply(t: any): Zc;
|
|
1668
1668
|
}
|
|
1669
|
-
declare class
|
|
1669
|
+
declare class yh extends sh {
|
|
1670
1670
|
constructor(t: any, e: any);
|
|
1671
1671
|
wa: any;
|
|
1672
|
-
_toFieldTransform(t: any):
|
|
1672
|
+
_toFieldTransform(t: any): xn;
|
|
1673
1673
|
isEqual(t: any): boolean;
|
|
1674
1674
|
}
|
|
1675
|
-
declare class
|
|
1675
|
+
declare class Uh extends Oh {
|
|
1676
1676
|
constructor(t: any, e: any, n: any);
|
|
1677
1677
|
type: any;
|
|
1678
1678
|
Ia: any;
|
|
1679
1679
|
Ta: any;
|
|
1680
|
-
_apply(t: any):
|
|
1680
|
+
_apply(t: any): Zc;
|
|
1681
1681
|
}
|
|
1682
|
-
declare class
|
|
1682
|
+
declare class Bh extends Oh {
|
|
1683
1683
|
constructor(t: any, e: any);
|
|
1684
1684
|
ma: any;
|
|
1685
1685
|
pa: any;
|
|
1686
1686
|
type: string;
|
|
1687
|
-
_apply(t: any):
|
|
1687
|
+
_apply(t: any): Zc;
|
|
1688
1688
|
}
|
|
1689
|
-
declare class
|
|
1690
|
-
_toFieldTransform(t: any):
|
|
1689
|
+
declare class wh extends sh {
|
|
1690
|
+
_toFieldTransform(t: any): xn;
|
|
1691
1691
|
isEqual(t: any): boolean;
|
|
1692
1692
|
}
|
|
1693
|
-
declare class
|
|
1693
|
+
declare class Gh extends Oh {
|
|
1694
1694
|
constructor(t: any, e: any, n: any);
|
|
1695
1695
|
type: any;
|
|
1696
1696
|
Ea: any;
|
|
1697
1697
|
Aa: any;
|
|
1698
|
-
_apply(t: any):
|
|
1698
|
+
_apply(t: any): Zc;
|
|
1699
1699
|
}
|
|
1700
|
-
declare class
|
|
1700
|
+
declare class Fh extends Oh {
|
|
1701
1701
|
constructor(t: any, e: any, n: any);
|
|
1702
1702
|
ma: any;
|
|
1703
1703
|
ga: any;
|
|
1704
1704
|
ya: any;
|
|
1705
1705
|
type: string;
|
|
1706
|
-
_apply(t: any):
|
|
1706
|
+
_apply(t: any): Zc;
|
|
1707
1707
|
}
|
|
1708
1708
|
/**
|
|
1709
1709
|
* An instance map that ensures only one Datastore exists per Firestore
|
|
@@ -1714,7 +1714,7 @@ declare class Mh extends kh {
|
|
|
1714
1714
|
* user-supplied `FirestoreSettings` object. This is a separate type so that
|
|
1715
1715
|
* defaults can be supplied and the value can be checked for equality.
|
|
1716
1716
|
*/
|
|
1717
|
-
declare class
|
|
1717
|
+
declare class Hc {
|
|
1718
1718
|
constructor(t: any);
|
|
1719
1719
|
host: any;
|
|
1720
1720
|
ssl: any;
|
|
@@ -1738,7 +1738,7 @@ declare class zc {
|
|
|
1738
1738
|
* base delay. This prevents clients from accidentally synchronizing their
|
|
1739
1739
|
* delays causing spikes of load to the backend.
|
|
1740
1740
|
*/
|
|
1741
|
-
declare class
|
|
1741
|
+
declare class tu {
|
|
1742
1742
|
constructor(t: any, e: any, n?: number, s?: number, i?: number);
|
|
1743
1743
|
Hs: any;
|
|
1744
1744
|
timerId: any;
|
|
@@ -1796,7 +1796,7 @@ declare class Zo {
|
|
|
1796
1796
|
* in newer versions of TypeScript defines `finally`, which is not available in
|
|
1797
1797
|
* IE.
|
|
1798
1798
|
*/
|
|
1799
|
-
declare class
|
|
1799
|
+
declare class Mu {
|
|
1800
1800
|
/**
|
|
1801
1801
|
* Creates and returns a DelayedOperation that has been scheduled to be
|
|
1802
1802
|
* executed on the provided asyncQueue after the provided delayMs.
|
|
@@ -1810,14 +1810,14 @@ declare class Ou {
|
|
|
1810
1810
|
* from its delayedOperations list.
|
|
1811
1811
|
* PORTING NOTE: This exists to prevent making removeDelayedOperation() and
|
|
1812
1812
|
* the DelayedOperation class public.
|
|
1813
|
-
*/ static createAndSchedule(t: any, e: any, n: any, s: any, i: any):
|
|
1813
|
+
*/ static createAndSchedule(t: any, e: any, n: any, s: any, i: any): Mu;
|
|
1814
1814
|
constructor(t: any, e: any, n: any, s: any, i: any);
|
|
1815
1815
|
asyncQueue: any;
|
|
1816
1816
|
timerId: any;
|
|
1817
1817
|
targetTimeMs: any;
|
|
1818
1818
|
op: any;
|
|
1819
1819
|
removalCallback: any;
|
|
1820
|
-
deferred:
|
|
1820
|
+
deferred: U;
|
|
1821
1821
|
then: <TResult1 = any, TResult2 = never>(onfulfilled?: ((value: any) => TResult1 | PromiseLike<TResult1>) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null | undefined) => Promise<TResult1 | TResult2>;
|
|
1822
1822
|
/**
|
|
1823
1823
|
* Starts the timer. This is called immediately after construction by
|
|
@@ -1838,7 +1838,7 @@ declare class Ou {
|
|
|
1838
1838
|
handleDelayElapsed(): void;
|
|
1839
1839
|
clearTimeout(): void;
|
|
1840
1840
|
}
|
|
1841
|
-
/** A "context" object passed around while parsing user data. */ declare class
|
|
1841
|
+
/** A "context" object passed around while parsing user data. */ declare class ah {
|
|
1842
1842
|
/**
|
|
1843
1843
|
* Initializes a ParseContext with the given source and path.
|
|
1844
1844
|
*
|
|
@@ -1866,11 +1866,11 @@ declare class Ou {
|
|
|
1866
1866
|
fieldMask: any;
|
|
1867
1867
|
get path(): any;
|
|
1868
1868
|
get sa(): any;
|
|
1869
|
-
/** Returns a new context with the specified settings overwritten. */ ia(t: any):
|
|
1870
|
-
ra(t: any):
|
|
1871
|
-
ca(t: any):
|
|
1872
|
-
aa(t: any):
|
|
1873
|
-
ha(t: any):
|
|
1869
|
+
/** Returns a new context with the specified settings overwritten. */ ia(t: any): ah;
|
|
1870
|
+
ra(t: any): ah;
|
|
1871
|
+
ca(t: any): ah;
|
|
1872
|
+
aa(t: any): ah;
|
|
1873
|
+
ha(t: any): L;
|
|
1874
1874
|
/** Returns 'true' if 'fieldPath' was traversed when creating this context. */ contains(t: any): boolean;
|
|
1875
1875
|
na(): void;
|
|
1876
1876
|
ua(t: any): void;
|
|
@@ -1891,9 +1891,9 @@ declare class Ou {
|
|
|
1891
1891
|
* See the License for the specific language governing permissions and
|
|
1892
1892
|
* limitations under the License.
|
|
1893
1893
|
*/
|
|
1894
|
-
/** A field path and the TransformOperation to perform upon it. */ declare class
|
|
1894
|
+
/** A field path and the TransformOperation to perform upon it. */ declare class xn {
|
|
1895
1895
|
constructor(t: any, e: any);
|
|
1896
1896
|
field: any;
|
|
1897
1897
|
transform: any;
|
|
1898
1898
|
}
|
|
1899
|
-
export {
|
|
1899
|
+
export { tl as AbstractUserDataWriter, aa as AggregateField, ha as AggregateQuerySnapshot, th as Bytes, Fa as CACHE_SIZE_UNLIMITED, ta as CollectionReference, Xc as DocumentReference, il as DocumentSnapshot, eh as FieldPath, sh as FieldValue, $a as Firestore, L as FirestoreError, ih as GeoPoint, Ma as LoadBundleTask, Zc as Query, Oh as QueryConstraint, rl as QueryDocumentSnapshot, ol as QuerySnapshot, sl as SnapshotMetadata, nt as Timestamp, Sl as Transaction, vl as WriteBatch, ne as _DatabaseId, ct as _DocumentKey, J as _EmptyAppCheckTokenProvider, K as _EmptyAuthCredentialsProvider, ut as _FieldPath, jc as _cast, F as _debugAssert, jt as _isBase64Available, N as _logWarn, qc as _validateIsNotUsedTogether, pl as addDoc, Rl as aggregateQuerySnapshotEqual, kl as arrayRemove, Nl as arrayUnion, ja as clearIndexedDbPersistence, ea as collection, na as collectionGroup, Yc as connectFirestoreEmulator, yl as deleteDoc, Cl as deleteField, Ha as disableNetwork, sa as doc, nh as documentId, Ka as enableIndexedDbPersistence, Ga as enableMultiTabIndexedDbPersistence, za as enableNetwork, Hh as endAt, zh as endBefore, Ua as ensureFirestoreConfigured, El as executeWrite, bl as getCountFromServer, al as getDoc, ll as getDocFromCache, fl as getDocFromServer, dl as getDocs, _l as getDocsFromCache, wl as getDocsFromServer, La as getFirestore, Ol as increment, Ba as initializeFirestore, qh as limit, Kh as limitToLast, Ya as loadBundle, Xa as namedQuery, Il as onSnapshot, Tl as onSnapshotsInSync, Lh as orderBy, Mh as query, ra as queryEqual, ia as refEqual, Dl as runTransaction, xl as serverTimestamp, ml as setDoc, Fl as setIndexConfiguration, D as setLogLevel, cl as snapshotEqual, jh as startAfter, Qh as startAt, Ja as terminate, gl as updateDoc, Wa as waitForPendingWrites, $h as where, Ml as writeBatch };
|