@firebase/firestore 3.4.4-canary.dd86989b3 → 3.4.4-canary.e8972ef49
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/{query.d.ts → filter.d.ts} +0 -0
- package/dist/firestore/src/api.d.ts +1 -1
- package/dist/firestore/src/core/database_info.d.ts +1 -0
- package/dist/firestore/src/core/target.d.ts +34 -5
- package/dist/firestore/src/lite-api/query.d.ts +2 -2
- package/dist/firestore/src/local/index_manager.d.ts +52 -0
- package/dist/firestore/src/local/indexeddb_index_manager.d.ts +11 -0
- package/dist/firestore/src/local/indexeddb_schema.d.ts +121 -7
- package/dist/firestore/src/local/memory_index_manager.d.ts +11 -0
- package/dist/firestore/src/model/field_index.d.ts +4 -0
- package/dist/firestore/src/model/values.d.ts +7 -0
- package/dist/firestore/test/unit/model/target.test.d.ts +17 -0
- package/dist/firestore/test/util/helpers.d.ts +2 -2
- package/dist/index.esm2017.js +2626 -2469
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +2627 -2547
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +456 -279
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.node.mjs +456 -279
- package/dist/index.node.mjs.map +1 -1
- package/dist/index.rn.js +2652 -2491
- package/dist/index.rn.js.map +1 -1
- package/dist/internal.d.ts +171 -2
- package/dist/lite/firestore/src/api/{query.d.ts → filter.d.ts} +0 -0
- package/dist/lite/firestore/src/api.d.ts +1 -1
- package/dist/lite/firestore/src/core/database_info.d.ts +1 -0
- package/dist/lite/firestore/src/core/target.d.ts +34 -5
- package/dist/lite/firestore/src/lite-api/query.d.ts +2 -2
- package/dist/lite/firestore/src/local/index_manager.d.ts +52 -0
- package/dist/lite/firestore/src/local/indexeddb_index_manager.d.ts +11 -0
- package/dist/lite/firestore/src/local/indexeddb_schema.d.ts +121 -7
- package/dist/lite/firestore/src/local/memory_index_manager.d.ts +11 -0
- package/dist/lite/firestore/src/model/field_index.d.ts +4 -0
- package/dist/lite/firestore/src/model/values.d.ts +7 -0
- package/dist/lite/firestore/test/unit/model/target.test.d.ts +17 -0
- package/dist/lite/firestore/test/util/helpers.d.ts +2 -2
- package/dist/lite/index.browser.esm2017.js +1159 -1152
- package/dist/lite/index.browser.esm2017.js.map +1 -1
- package/dist/lite/index.browser.esm5.js +311 -308
- package/dist/lite/index.browser.esm5.js.map +1 -1
- package/dist/lite/index.node.cjs.js +39 -28
- package/dist/lite/index.node.cjs.js.map +1 -1
- package/dist/lite/index.node.mjs +39 -28
- package/dist/lite/index.node.mjs.map +1 -1
- package/dist/lite/index.rn.esm2017.js +360 -353
- package/dist/lite/index.rn.esm2017.js.map +1 -1
- package/dist/lite/internal.d.ts +3 -2
- package/dist/lite/packages/firestore/dist/lite/index.browser.esm2017.d.ts +125 -124
- package/dist/lite/packages/firestore/src/api/{query.d.ts → filter.d.ts} +0 -0
- package/dist/lite/packages/firestore/src/api.d.ts +1 -1
- package/dist/lite/packages/firestore/src/core/database_info.d.ts +1 -0
- package/dist/lite/packages/firestore/src/core/target.d.ts +34 -5
- package/dist/lite/packages/firestore/src/lite-api/query.d.ts +2 -2
- package/dist/lite/packages/firestore/src/local/index_manager.d.ts +52 -0
- package/dist/lite/packages/firestore/src/local/indexeddb_index_manager.d.ts +11 -0
- package/dist/lite/packages/firestore/src/local/indexeddb_schema.d.ts +121 -7
- package/dist/lite/packages/firestore/src/local/memory_index_manager.d.ts +11 -0
- package/dist/lite/packages/firestore/src/model/field_index.d.ts +4 -0
- package/dist/lite/packages/firestore/src/model/values.d.ts +7 -0
- package/dist/lite/packages/firestore/test/unit/model/target.test.d.ts +17 -0
- package/dist/lite/packages/firestore/test/util/helpers.d.ts +2 -2
- package/dist/lite/private.d.ts +2 -2
- package/dist/packages/firestore/dist/index.esm2017.d.ts +148 -147
- package/dist/packages/firestore/src/api/{query.d.ts → filter.d.ts} +0 -0
- package/dist/packages/firestore/src/api.d.ts +1 -1
- package/dist/packages/firestore/src/core/database_info.d.ts +1 -0
- package/dist/packages/firestore/src/core/target.d.ts +34 -5
- package/dist/packages/firestore/src/lite-api/query.d.ts +2 -2
- package/dist/packages/firestore/src/local/index_manager.d.ts +52 -0
- package/dist/packages/firestore/src/local/indexeddb_index_manager.d.ts +11 -0
- package/dist/packages/firestore/src/local/indexeddb_schema.d.ts +121 -7
- package/dist/packages/firestore/src/local/memory_index_manager.d.ts +11 -0
- package/dist/packages/firestore/src/model/field_index.d.ts +4 -0
- package/dist/packages/firestore/src/model/values.d.ts +7 -0
- package/dist/packages/firestore/test/unit/model/target.test.d.ts +17 -0
- package/dist/packages/firestore/test/util/helpers.d.ts +2 -2
- package/dist/private.d.ts +170 -2
- 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 hh {
|
|
23
23
|
convertValue(t: any, e?: string): any;
|
|
24
24
|
convertObject(t: any, e: any): {};
|
|
25
|
-
convertGeoPoint(t: any):
|
|
25
|
+
convertGeoPoint(t: any): au;
|
|
26
26
|
convertArray(t: any, e: any): any;
|
|
27
27
|
convertServerTimestamp(t: any, e: any): any;
|
|
28
28
|
convertTimestamp(t: any): at;
|
|
29
|
-
convertDocumentKey(t: any, e: any):
|
|
29
|
+
convertDocumentKey(t: any, e: any): Nt;
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
32
|
* @license
|
|
@@ -46,18 +46,18 @@
|
|
|
46
46
|
*/
|
|
47
47
|
/**
|
|
48
48
|
* An immutable object representing an array of bytes.
|
|
49
|
-
*/ declare class
|
|
49
|
+
*/ declare class ou {
|
|
50
50
|
/**
|
|
51
51
|
* Creates a new `Bytes` object from the given Base64 string, converting it to
|
|
52
52
|
* bytes.
|
|
53
53
|
*
|
|
54
54
|
* @param base64 - The Base64 string used to create the `Bytes` object.
|
|
55
|
-
*/ static fromBase64String(t: any):
|
|
55
|
+
*/ static fromBase64String(t: any): ou;
|
|
56
56
|
/**
|
|
57
57
|
* Creates a new `Bytes` object from the given Uint8Array.
|
|
58
58
|
*
|
|
59
59
|
* @param array - The Uint8Array used to create the `Bytes` object.
|
|
60
|
-
*/ static fromUint8Array(t: any):
|
|
60
|
+
*/ static fromUint8Array(t: any): ou;
|
|
61
61
|
/** @hideconstructor */
|
|
62
62
|
constructor(t: any);
|
|
63
63
|
_byteString: any;
|
|
@@ -99,11 +99,11 @@
|
|
|
99
99
|
* See the License for the specific language governing permissions and
|
|
100
100
|
* limitations under the License.
|
|
101
101
|
*/
|
|
102
|
-
/** DOMException error code constants. */ declare const
|
|
102
|
+
/** DOMException error code constants. */ declare const Ua: -1;
|
|
103
103
|
/**
|
|
104
104
|
* A `CollectionReference` object can be used for adding documents, getting
|
|
105
105
|
* document references, and querying for documents (using {@link query}).
|
|
106
|
-
*/ declare class
|
|
106
|
+
*/ declare class Na extends Ca {
|
|
107
107
|
_path: any;
|
|
108
108
|
/** The collection's identifier. */ get id(): any;
|
|
109
109
|
/**
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
/**
|
|
114
114
|
* A reference to the containing `DocumentReference` if this is a
|
|
115
115
|
* subcollection. If this isn't a subcollection, the reference is null.
|
|
116
|
-
*/ get parent():
|
|
116
|
+
*/ get parent(): Da | null;
|
|
117
117
|
}
|
|
118
118
|
/**
|
|
119
119
|
* @license
|
|
@@ -135,7 +135,7 @@
|
|
|
135
135
|
* A `DocumentReference` refers to a document location in a Firestore database
|
|
136
136
|
* and can be used to write, read, or listen to the location. The document at
|
|
137
137
|
* the referenced location may or may not exist.
|
|
138
|
-
*/ declare class
|
|
138
|
+
*/ declare class Da {
|
|
139
139
|
/** @hideconstructor */
|
|
140
140
|
constructor(t: any, e: any, n: any);
|
|
141
141
|
converter: any;
|
|
@@ -153,8 +153,8 @@
|
|
|
153
153
|
*/ get path(): any;
|
|
154
154
|
/**
|
|
155
155
|
* The collection this `DocumentReference` belongs to.
|
|
156
|
-
*/ get parent():
|
|
157
|
-
withConverter(t: any):
|
|
156
|
+
*/ get parent(): Na;
|
|
157
|
+
withConverter(t: any): Da;
|
|
158
158
|
}
|
|
159
159
|
/**
|
|
160
160
|
* A `DocumentSnapshot` contains data read from a document in your Firestore
|
|
@@ -164,7 +164,7 @@
|
|
|
164
164
|
* For a `DocumentSnapshot` that points to a non-existing document, any data
|
|
165
165
|
* access will return 'undefined'. You can use the `exists()` method to
|
|
166
166
|
* explicitly verify a document's existence.
|
|
167
|
-
*/ declare class
|
|
167
|
+
*/ declare class Lu extends $u {
|
|
168
168
|
/** @hideconstructor protected */
|
|
169
169
|
constructor(t: any, e: any, n: any, s: any, i: any, r: any);
|
|
170
170
|
_firestoreImpl: any;
|
|
@@ -210,7 +210,7 @@
|
|
|
210
210
|
* Create a `FieldPath` by providing field names. If more than one field
|
|
211
211
|
* name is provided, the path will point to a nested field in a document.
|
|
212
212
|
*/
|
|
213
|
-
declare class
|
|
213
|
+
declare class iu {
|
|
214
214
|
/**
|
|
215
215
|
* Creates a `FieldPath` from the provided field names. If more than one field
|
|
216
216
|
* name is provided, the path will point to a nested field in a document.
|
|
@@ -245,7 +245,7 @@ declare class tu {
|
|
|
245
245
|
/**
|
|
246
246
|
* Sentinel values that can be used when writing document fields with `set()`
|
|
247
247
|
* or `update()`.
|
|
248
|
-
*/ declare class
|
|
248
|
+
*/ declare class cu {
|
|
249
249
|
/**
|
|
250
250
|
* @param _methodName - The public API endpoint that returns this class.
|
|
251
251
|
* @hideconstructor
|
|
@@ -258,10 +258,10 @@ declare class tu {
|
|
|
258
258
|
*
|
|
259
259
|
* Do not call this constructor directly. Instead, use {@link getFirestore}.
|
|
260
260
|
*/
|
|
261
|
-
declare class
|
|
262
|
-
_queue:
|
|
261
|
+
declare class qa extends Va {
|
|
262
|
+
_queue: Ma;
|
|
263
263
|
}
|
|
264
|
-
/** An error returned by a Firestore operation. */ declare class
|
|
264
|
+
/** An error returned by a Firestore operation. */ declare class G extends a {
|
|
265
265
|
/** @hideconstructor */
|
|
266
266
|
constructor(t: any, e: any);
|
|
267
267
|
}
|
|
@@ -287,7 +287,7 @@ declare class Fa extends Ra {
|
|
|
287
287
|
*
|
|
288
288
|
* Latitude values are in the range of [-90, 90].
|
|
289
289
|
* Longitude values are in the range of [-180, 180].
|
|
290
|
-
*/ declare class
|
|
290
|
+
*/ declare class au {
|
|
291
291
|
/**
|
|
292
292
|
* Creates a new immutable `GeoPoint` object with the provided latitude and
|
|
293
293
|
* longitude values.
|
|
@@ -318,9 +318,9 @@ declare class Fa extends Ra {
|
|
|
318
318
|
* with an underscore.
|
|
319
319
|
*/ _compareTo(t: any): 0 | 1 | -1;
|
|
320
320
|
}
|
|
321
|
-
declare class
|
|
321
|
+
declare class Ba {
|
|
322
322
|
_progressObserver: {};
|
|
323
|
-
_taskCompletionResolver:
|
|
323
|
+
_taskCompletionResolver: Q;
|
|
324
324
|
_lastProgress: {
|
|
325
325
|
taskState: string;
|
|
326
326
|
totalBytes: number;
|
|
@@ -370,7 +370,7 @@ declare class Oa {
|
|
|
370
370
|
/**
|
|
371
371
|
* A `Query` refers to a query which you can read or listen to. You can also
|
|
372
372
|
* construct refined `Query` objects by adding filters and ordering.
|
|
373
|
-
*/ declare class
|
|
373
|
+
*/ declare class Ca {
|
|
374
374
|
/** @hideconstructor protected */
|
|
375
375
|
constructor(t: any, e: any, n: any);
|
|
376
376
|
converter: any;
|
|
@@ -378,7 +378,7 @@ declare class Oa {
|
|
|
378
378
|
/** The type of this Firestore reference. */
|
|
379
379
|
type: string;
|
|
380
380
|
firestore: any;
|
|
381
|
-
withConverter(t: any):
|
|
381
|
+
withConverter(t: any): Ca;
|
|
382
382
|
}
|
|
383
383
|
/**
|
|
384
384
|
* A `QueryConstraint` is used to narrow the set of documents returned by a
|
|
@@ -387,7 +387,7 @@ declare class Oa {
|
|
|
387
387
|
* endBefore:1}, {@link (endAt:1)}, {@link limit} or {@link limitToLast} and
|
|
388
388
|
* can then be passed to {@link query} to create a new query instance that
|
|
389
389
|
* also contains this `QueryConstraint`.
|
|
390
|
-
*/ declare class
|
|
390
|
+
*/ declare class Gu {
|
|
391
391
|
}
|
|
392
392
|
/**
|
|
393
393
|
* A `QueryDocumentSnapshot` contains data read from a document in your
|
|
@@ -399,7 +399,7 @@ declare class Oa {
|
|
|
399
399
|
* `DocumentSnapshot`. Since query results contain only existing documents, the
|
|
400
400
|
* `exists` property will always be true and `data()` will never return
|
|
401
401
|
* 'undefined'.
|
|
402
|
-
*/ declare class
|
|
402
|
+
*/ declare class Bu extends Lu {
|
|
403
403
|
}
|
|
404
404
|
/**
|
|
405
405
|
* A `QuerySnapshot` contains zero or more `DocumentSnapshot` objects
|
|
@@ -407,13 +407,13 @@ declare class Oa {
|
|
|
407
407
|
* array via the `docs` property or enumerated using the `forEach` method. The
|
|
408
408
|
* number of documents can be determined via the `empty` and `size`
|
|
409
409
|
* properties.
|
|
410
|
-
*/ declare class
|
|
410
|
+
*/ declare class Uu {
|
|
411
411
|
/** @hideconstructor */
|
|
412
412
|
constructor(t: any, e: any, n: any, s: any);
|
|
413
413
|
_firestore: any;
|
|
414
414
|
_userDataWriter: any;
|
|
415
415
|
_snapshot: any;
|
|
416
|
-
metadata:
|
|
416
|
+
metadata: Mu;
|
|
417
417
|
query: any;
|
|
418
418
|
/** An array of all the documents in the `QuerySnapshot`. */ get docs(): any[];
|
|
419
419
|
/** The number of documents in the `QuerySnapshot`. */ get size(): any;
|
|
@@ -455,7 +455,7 @@ declare class Oa {
|
|
|
455
455
|
*/
|
|
456
456
|
/**
|
|
457
457
|
* Metadata about a snapshot, describing the state of the snapshot.
|
|
458
|
-
*/ declare class
|
|
458
|
+
*/ declare class Mu {
|
|
459
459
|
/** @hideconstructor */
|
|
460
460
|
constructor(t: any, e: any);
|
|
461
461
|
hasPendingWrites: any;
|
|
@@ -564,11 +564,11 @@ declare class at {
|
|
|
564
564
|
* to be compared using the `>`, `<=`, `>=` and `>` operators.
|
|
565
565
|
*/ valueOf(): string;
|
|
566
566
|
}
|
|
567
|
-
declare const
|
|
567
|
+
declare const Dh_base: {
|
|
568
568
|
new (t: any, e: any): {
|
|
569
569
|
_firestore: any;
|
|
570
570
|
_transaction: any;
|
|
571
|
-
_dataReader:
|
|
571
|
+
_dataReader: wu;
|
|
572
572
|
/**
|
|
573
573
|
* Reads the document referenced by the provided {@link DocumentReference}.
|
|
574
574
|
*
|
|
@@ -607,7 +607,7 @@ declare const Ph_base: {
|
|
|
607
607
|
* The `Transaction` object passed to a transaction's `updateFunction` provides
|
|
608
608
|
* the methods to read and write data within the transaction context. See
|
|
609
609
|
* {@link runTransaction}.
|
|
610
|
-
*/ declare class
|
|
610
|
+
*/ declare class Dh extends Dh_base {
|
|
611
611
|
}
|
|
612
612
|
/**
|
|
613
613
|
* @license
|
|
@@ -632,22 +632,22 @@ declare const Ph_base: {
|
|
|
632
632
|
* provides methods for adding writes to the write batch. None of the writes
|
|
633
633
|
* will be committed (or visible locally) until {@link WriteBatch.commit} is
|
|
634
634
|
* called.
|
|
635
|
-
*/ declare class
|
|
635
|
+
*/ declare class dh {
|
|
636
636
|
/** @hideconstructor */
|
|
637
637
|
constructor(t: any, e: any);
|
|
638
638
|
_firestore: any;
|
|
639
639
|
_commitHandler: any;
|
|
640
640
|
_mutations: any[];
|
|
641
641
|
_committed: boolean;
|
|
642
|
-
_dataReader:
|
|
643
|
-
set(t: any, e: any, n: any):
|
|
644
|
-
update(t: any, e: any, n: any, ...s: any[]):
|
|
642
|
+
_dataReader: wu;
|
|
643
|
+
set(t: any, e: any, n: any): dh;
|
|
644
|
+
update(t: any, e: any, n: any, ...s: any[]): dh;
|
|
645
645
|
/**
|
|
646
646
|
* Deletes the document referred to by the provided {@link DocumentReference}.
|
|
647
647
|
*
|
|
648
648
|
* @param documentRef - A reference to the document to be deleted.
|
|
649
649
|
* @returns This `WriteBatch` instance. Used for chaining method calls.
|
|
650
|
-
*/ delete(t: any):
|
|
650
|
+
*/ delete(t: any): dh;
|
|
651
651
|
/**
|
|
652
652
|
* Commits all of the writes in this write batch as a single atomic unit.
|
|
653
653
|
*
|
|
@@ -667,7 +667,8 @@ declare const Ph_base: {
|
|
|
667
667
|
* Represents the database ID a Firestore client is associated with.
|
|
668
668
|
* @internal
|
|
669
669
|
*/
|
|
670
|
-
declare class
|
|
670
|
+
declare class Vt {
|
|
671
|
+
static empty(): Vt;
|
|
671
672
|
constructor(t: any, e: any);
|
|
672
673
|
projectId: any;
|
|
673
674
|
database: any;
|
|
@@ -692,10 +693,10 @@ declare class wa {
|
|
|
692
693
|
*/
|
|
693
694
|
/**
|
|
694
695
|
* @internal
|
|
695
|
-
*/ declare class
|
|
696
|
-
static fromPath(t: any):
|
|
697
|
-
static fromName(t: any):
|
|
698
|
-
static empty():
|
|
696
|
+
*/ declare class Nt {
|
|
697
|
+
static fromPath(t: any): Nt;
|
|
698
|
+
static fromName(t: any): Nt;
|
|
699
|
+
static empty(): Nt;
|
|
699
700
|
static comparator(t: any, e: any): 0 | 1 | -1;
|
|
700
701
|
static isDocumentKey(t: any): boolean;
|
|
701
702
|
/**
|
|
@@ -703,7 +704,7 @@ declare class wa {
|
|
|
703
704
|
*
|
|
704
705
|
* @param segments - The segments of the path to the document
|
|
705
706
|
* @returns A new instance of DocumentKey
|
|
706
|
-
*/ static fromSegments(t: any):
|
|
707
|
+
*/ static fromSegments(t: any): Nt;
|
|
707
708
|
constructor(t: any);
|
|
708
709
|
path: any;
|
|
709
710
|
/** Returns true if the document is in the specified collectionId. */ hasCollectionId(t: any): boolean;
|
|
@@ -757,7 +758,7 @@ declare class wa {
|
|
|
757
758
|
* Returns true if this field references the key of a document.
|
|
758
759
|
*/ isKeyField(): boolean;
|
|
759
760
|
}
|
|
760
|
-
declare function
|
|
761
|
+
declare function ba(t: any, e: any): any;
|
|
761
762
|
/**
|
|
762
763
|
* Fails if the given assertion condition is false, throwing an Error with the
|
|
763
764
|
* given message if it did.
|
|
@@ -789,7 +790,7 @@ declare function Ea(t: any, e: any): any;
|
|
|
789
790
|
declare function yt(): boolean;
|
|
790
791
|
/**
|
|
791
792
|
* @internal
|
|
792
|
-
*/ declare function
|
|
793
|
+
*/ declare function M(t: any, ...e: any[]): void;
|
|
793
794
|
/**
|
|
794
795
|
* @license
|
|
795
796
|
* Copyright 2021 Google LLC
|
|
@@ -805,11 +806,11 @@ declare function yt(): boolean;
|
|
|
805
806
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
806
807
|
* See the License for the specific language governing permissions and
|
|
807
808
|
* limitations under the License.
|
|
808
|
-
*/ declare function
|
|
809
|
+
*/ declare function Mh(t: any, e: any): Promise<void>;
|
|
809
810
|
/**
|
|
810
811
|
* Validates that two boolean options are not set at the same time.
|
|
811
812
|
* @internal
|
|
812
|
-
*/ declare function
|
|
813
|
+
*/ declare function Ea(t: any, e: any, n: any, s: any): void;
|
|
813
814
|
/**
|
|
814
815
|
* Add a new document to specified `CollectionReference` with the given data,
|
|
815
816
|
* assigning it a document ID automatically.
|
|
@@ -819,7 +820,7 @@ declare function yt(): boolean;
|
|
|
819
820
|
* @returns A `Promise` resolved with a `DocumentReference` pointing to the
|
|
820
821
|
* newly created document after it has been written to the backend (Note that it
|
|
821
822
|
* won't resolve while you're offline).
|
|
822
|
-
*/ declare function
|
|
823
|
+
*/ declare function bh(t: any, e: any): Promise<Da>;
|
|
823
824
|
/**
|
|
824
825
|
* Returns a special value that can be used with {@link (setDoc:1)} or {@link
|
|
825
826
|
* updateDoc:1} that tells the server to remove the given elements from any
|
|
@@ -830,7 +831,7 @@ declare function yt(): boolean;
|
|
|
830
831
|
* @param elements - The elements to remove from the array.
|
|
831
832
|
* @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
|
|
832
833
|
* `updateDoc()`
|
|
833
|
-
*/ declare function
|
|
834
|
+
*/ declare function $h(...t: any[]): Eu;
|
|
834
835
|
/**
|
|
835
836
|
* Returns a special value that can be used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link
|
|
836
837
|
* @firebase/firestore/lite#(updateDoc:1)} that tells the server to union the given elements with any array
|
|
@@ -842,9 +843,9 @@ declare function yt(): boolean;
|
|
|
842
843
|
* @param elements - The elements to union into the array.
|
|
843
844
|
* @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
|
|
844
845
|
* `updateDoc()`.
|
|
845
|
-
*/ declare function
|
|
846
|
-
declare function
|
|
847
|
-
declare function
|
|
846
|
+
*/ declare function xh(...t: any[]): Tu;
|
|
847
|
+
declare function Ja(t: any): Promise<any>;
|
|
848
|
+
declare function ka(t: any, e: any, ...n: any[]): Na;
|
|
848
849
|
/**
|
|
849
850
|
* Creates and returns a new `Query` instance that includes all documents in the
|
|
850
851
|
* database that are contained in a collection or subcollection with the
|
|
@@ -855,15 +856,15 @@ declare function Sa(t: any, e: any, ...n: any[]): Va;
|
|
|
855
856
|
* collection or subcollection with this ID as the last segment of its path
|
|
856
857
|
* will be included. Cannot contain a slash.
|
|
857
858
|
* @returns The created `Query`.
|
|
858
|
-
*/ declare function
|
|
859
|
-
declare function
|
|
859
|
+
*/ declare function xa(t: any, e: any): Ca;
|
|
860
|
+
declare function Sa(t: any, e: any, n: any, s?: {}): void;
|
|
860
861
|
/**
|
|
861
862
|
* Deletes the document referred to by the specified `DocumentReference`.
|
|
862
863
|
*
|
|
863
864
|
* @param reference - A reference to the document to delete.
|
|
864
865
|
* @returns A Promise resolved once the document has been successfully
|
|
865
866
|
* deleted from the backend (note that it won't resolve while you're offline).
|
|
866
|
-
*/ declare function
|
|
867
|
+
*/ declare function Rh(t: any): Promise<any>;
|
|
867
868
|
/**
|
|
868
869
|
* @license
|
|
869
870
|
* Copyright 2020 Google LLC
|
|
@@ -883,7 +884,7 @@ declare function ba(t: any, e: any, n: any, s?: {}): void;
|
|
|
883
884
|
/**
|
|
884
885
|
* Returns a sentinel for use with {@link @firebase/firestore/lite#(updateDoc:1)} or
|
|
885
886
|
* {@link @firebase/firestore/lite#(setDoc:1)} with `{merge: true}` to mark a field for deletion.
|
|
886
|
-
*/ declare function
|
|
887
|
+
*/ declare function Nh(): gu;
|
|
887
888
|
/**
|
|
888
889
|
* Disables network usage for this instance. It can be re-enabled via {@link
|
|
889
890
|
* enableNetwork}. While the network is disabled, any snapshot listeners,
|
|
@@ -891,12 +892,12 @@ declare function ba(t: any, e: any, n: any, s?: {}): void;
|
|
|
891
892
|
* operations will be queued until the network is restored.
|
|
892
893
|
*
|
|
893
894
|
* @returns A `Promise` that is resolved once the network has been disabled.
|
|
894
|
-
*/ declare function
|
|
895
|
-
declare function
|
|
895
|
+
*/ declare function Za(t: any): any;
|
|
896
|
+
declare function $a(t: any, e: any, ...n: any[]): Da;
|
|
896
897
|
/**
|
|
897
898
|
* Returns a special sentinel `FieldPath` to refer to the ID of a document.
|
|
898
899
|
* It can be used in queries to sort or filter by the document ID.
|
|
899
|
-
*/ declare function
|
|
900
|
+
*/ declare function ru(): iu;
|
|
900
901
|
/**
|
|
901
902
|
* Attempts to enable persistent storage, if possible.
|
|
902
903
|
*
|
|
@@ -919,7 +920,7 @@ declare function Ca(t: any, e: any, ...n: any[]): Pa;
|
|
|
919
920
|
* @param persistenceSettings - Optional settings object to configure
|
|
920
921
|
* persistence.
|
|
921
922
|
* @returns A `Promise` that represents successfully enabling persistent storage.
|
|
922
|
-
*/ declare function
|
|
923
|
+
*/ declare function Wa(t: any, e: any): any;
|
|
923
924
|
/**
|
|
924
925
|
* Attempts to enable multi-tab persistent storage, if possible. If enabled
|
|
925
926
|
* across all tabs, all operations share access to local persistence, including
|
|
@@ -941,22 +942,22 @@ declare function Ca(t: any, e: any, ...n: any[]): Pa;
|
|
|
941
942
|
* @param firestore - The {@link Firestore} instance to enable persistence for.
|
|
942
943
|
* @returns A `Promise` that represents successfully enabling persistent
|
|
943
944
|
* storage.
|
|
944
|
-
*/ declare function
|
|
945
|
+
*/ declare function za(t: any): any;
|
|
945
946
|
/**
|
|
946
947
|
* Re-enables use of the network for this {@link Firestore} instance after a prior
|
|
947
948
|
* call to {@link disableNetwork}.
|
|
948
949
|
*
|
|
949
950
|
* @returns A `Promise` that is resolved once the network has been enabled.
|
|
950
|
-
*/ declare function
|
|
951
|
-
declare function
|
|
952
|
-
declare function
|
|
951
|
+
*/ declare function Xa(t: any): any;
|
|
952
|
+
declare function rh(...t: any[]): sh;
|
|
953
|
+
declare function ih(...t: any[]): sh;
|
|
953
954
|
/**
|
|
954
955
|
* @internal
|
|
955
|
-
*/ declare function
|
|
956
|
+
*/ declare function Ga(t: any): any;
|
|
956
957
|
/**
|
|
957
958
|
* Locally writes `mutations` on the async queue.
|
|
958
959
|
* @internal
|
|
959
|
-
*/ declare function
|
|
960
|
+
*/ declare function Vh(t: any, e: any): Promise<any>;
|
|
960
961
|
/**
|
|
961
962
|
* @license
|
|
962
963
|
* Copyright 2020 Google LLC
|
|
@@ -1008,21 +1009,21 @@ declare function th(...t: any[]): Zu;
|
|
|
1008
1009
|
* @returns A Promise resolved with a `DocumentSnapshot` containing the
|
|
1009
1010
|
* current document contents.
|
|
1010
1011
|
*/
|
|
1011
|
-
declare function
|
|
1012
|
+
declare function _h(t: any): Promise<Lu>;
|
|
1012
1013
|
/**
|
|
1013
1014
|
* Reads the document referred to by this `DocumentReference` from cache.
|
|
1014
1015
|
* Returns an error if the document is not currently cached.
|
|
1015
1016
|
*
|
|
1016
1017
|
* @returns A `Promise` resolved with a `DocumentSnapshot` containing the
|
|
1017
1018
|
* current document contents.
|
|
1018
|
-
*/ declare function
|
|
1019
|
+
*/ declare function gh(t: any): Promise<Lu>;
|
|
1019
1020
|
/**
|
|
1020
1021
|
* Reads the document referred to by this `DocumentReference` from the server.
|
|
1021
1022
|
* Returns an error if the network is not available.
|
|
1022
1023
|
*
|
|
1023
1024
|
* @returns A `Promise` resolved with a `DocumentSnapshot` containing the
|
|
1024
1025
|
* current document contents.
|
|
1025
|
-
*/ declare function
|
|
1026
|
+
*/ declare function yh(t: any): Promise<Lu>;
|
|
1026
1027
|
/**
|
|
1027
1028
|
* Executes the query and returns the results as a `QuerySnapshot`.
|
|
1028
1029
|
*
|
|
@@ -1032,19 +1033,19 @@ declare function lh(t: any): Promise<$u>;
|
|
|
1032
1033
|
* invoke {@link getDocsFromCache} or {@link getDocsFromServer}.
|
|
1033
1034
|
*
|
|
1034
1035
|
* @returns A `Promise` that will be resolved with the results of the query.
|
|
1035
|
-
*/ declare function
|
|
1036
|
+
*/ declare function ph(t: any): Promise<Uu>;
|
|
1036
1037
|
/**
|
|
1037
1038
|
* Executes the query and returns the results as a `QuerySnapshot` from cache.
|
|
1038
1039
|
* Returns an error if the document is not currently cached.
|
|
1039
1040
|
*
|
|
1040
1041
|
* @returns A `Promise` that will be resolved with the results of the query.
|
|
1041
|
-
*/ declare function
|
|
1042
|
+
*/ declare function Th(t: any): Promise<Uu>;
|
|
1042
1043
|
/**
|
|
1043
1044
|
* Executes the query and returns the results as a `QuerySnapshot` from the
|
|
1044
1045
|
* server. Returns an error if the network is not available.
|
|
1045
1046
|
*
|
|
1046
1047
|
* @returns A `Promise` that will be resolved with the results of the query.
|
|
1047
|
-
*/ declare function
|
|
1048
|
+
*/ declare function Eh(t: any): Promise<Uu>;
|
|
1048
1049
|
/**
|
|
1049
1050
|
* Returns the existing {@link Firestore} instance that is associated with the
|
|
1050
1051
|
* provided {@link @firebase/app#FirebaseApp}. If no instance exists, initializes a new
|
|
@@ -1053,7 +1054,7 @@ declare function lh(t: any): Promise<$u>;
|
|
|
1053
1054
|
* @param app - The {@link @firebase/app#FirebaseApp} instance that the returned {@link Firestore}
|
|
1054
1055
|
* instance is associated with.
|
|
1055
1056
|
* @returns The {@link Firestore} instance of the provided app.
|
|
1056
|
-
*/ declare function
|
|
1057
|
+
*/ declare function ja(e?: import("@firebase/app").FirebaseApp): import("../src").Firestore;
|
|
1057
1058
|
/**
|
|
1058
1059
|
* Returns a special value that can be used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link
|
|
1059
1060
|
* @firebase/firestore/lite#(updateDoc:1)} that tells the server to increment the field's current value by
|
|
@@ -1072,7 +1073,7 @@ declare function lh(t: any): Promise<$u>;
|
|
|
1072
1073
|
* @param n - The value to increment by.
|
|
1073
1074
|
* @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
|
|
1074
1075
|
* `updateDoc()`
|
|
1075
|
-
*/ declare function
|
|
1076
|
+
*/ declare function Oh(t: any): Iu;
|
|
1076
1077
|
/**
|
|
1077
1078
|
* Initializes a new instance of {@link Firestore} with the provided settings.
|
|
1078
1079
|
* Can only be called before any other function, including
|
|
@@ -1083,13 +1084,13 @@ declare function lh(t: any): Promise<$u>;
|
|
|
1083
1084
|
* be associated.
|
|
1084
1085
|
* @param settings - A settings object to configure the {@link Firestore} instance.
|
|
1085
1086
|
* @returns A newly initialized {@link Firestore} instance.
|
|
1086
|
-
*/ declare function
|
|
1087
|
+
*/ declare function Ka(t: any, e: any): import("../src").Firestore;
|
|
1087
1088
|
/**
|
|
1088
1089
|
* Creates a {@link QueryConstraint} that only returns the first matching documents.
|
|
1089
1090
|
*
|
|
1090
1091
|
* @param limit - The maximum number of items to return.
|
|
1091
1092
|
* @returns The created {@link Query}.
|
|
1092
|
-
*/ declare function
|
|
1093
|
+
*/ declare function Xu(t: any): Yu;
|
|
1093
1094
|
/**
|
|
1094
1095
|
* Creates a {@link QueryConstraint} that only returns the last matching documents.
|
|
1095
1096
|
*
|
|
@@ -1098,7 +1099,7 @@ declare function lh(t: any): Promise<$u>;
|
|
|
1098
1099
|
*
|
|
1099
1100
|
* @param limit - The maximum number of items to return.
|
|
1100
1101
|
* @returns The created {@link Query}.
|
|
1101
|
-
*/ declare function
|
|
1102
|
+
*/ declare function Zu(t: any): Yu;
|
|
1102
1103
|
/**
|
|
1103
1104
|
* Loads a Firestore bundle into the local cache.
|
|
1104
1105
|
*
|
|
@@ -1109,7 +1110,7 @@ declare function lh(t: any): Promise<$u>;
|
|
|
1109
1110
|
* @returns A `LoadBundleTask` object, which notifies callers with progress
|
|
1110
1111
|
* updates, and completion or error events. It can be used as a
|
|
1111
1112
|
* `Promise<LoadBundleTaskProgress>`.
|
|
1112
|
-
*/ declare function
|
|
1113
|
+
*/ declare function eu(t: any, e: any): Ba;
|
|
1113
1114
|
/**
|
|
1114
1115
|
* Reads a Firestore {@link Query} from local cache, identified by the given
|
|
1115
1116
|
* name.
|
|
@@ -1121,9 +1122,9 @@ declare function lh(t: any): Promise<$u>;
|
|
|
1121
1122
|
* @param firestore - The {@link Firestore} instance to read the query from.
|
|
1122
1123
|
* @param name - The name of the query.
|
|
1123
1124
|
* @returns A `Promise` that is resolved with the Query or `null`.
|
|
1124
|
-
*/ declare function
|
|
1125
|
-
declare function
|
|
1126
|
-
declare function
|
|
1125
|
+
*/ declare function nu(t: any, e: any): any;
|
|
1126
|
+
declare function Ph(t: any, ...e: any[]): () => void;
|
|
1127
|
+
declare function vh(t: any, e: any): () => void;
|
|
1127
1128
|
/**
|
|
1128
1129
|
* Creates a {@link QueryConstraint} that sorts the query result by the
|
|
1129
1130
|
* specified field, optionally in descending order instead of ascending.
|
|
@@ -1132,7 +1133,7 @@ declare function Ah(t: any, e: any): () => void;
|
|
|
1132
1133
|
* @param directionStr - Optional direction to sort by ('asc' or 'desc'). If
|
|
1133
1134
|
* not specified, order will be ascending.
|
|
1134
1135
|
* @returns The created {@link Query}.
|
|
1135
|
-
*/ declare function
|
|
1136
|
+
*/ declare function Ju(t: any, e?: string): Hu;
|
|
1136
1137
|
/**
|
|
1137
1138
|
* Creates a new immutable instance of {@link Query} that is extended to also include
|
|
1138
1139
|
* additional query constraints.
|
|
@@ -1141,7 +1142,7 @@ declare function Ah(t: any, e: any): () => void;
|
|
|
1141
1142
|
* @param queryConstraints - The list of {@link QueryConstraint}s to apply.
|
|
1142
1143
|
* @throws if any of the provided query constraints cannot be combined with the
|
|
1143
1144
|
* existing or new constraints.
|
|
1144
|
-
*/ declare function
|
|
1145
|
+
*/ declare function Qu(t: any, ...e: any[]): any;
|
|
1145
1146
|
/**
|
|
1146
1147
|
* Returns true if the provided queries point to the same collection and apply
|
|
1147
1148
|
* the same constraints.
|
|
@@ -1150,7 +1151,7 @@ declare function Ah(t: any, e: any): () => void;
|
|
|
1150
1151
|
* @param right - A `Query` to compare.
|
|
1151
1152
|
* @returns true if the references point to the same location in the same
|
|
1152
1153
|
* Firestore database.
|
|
1153
|
-
*/ declare function
|
|
1154
|
+
*/ declare function Fa(t: any, e: any): boolean;
|
|
1154
1155
|
/**
|
|
1155
1156
|
* Returns true if the provided references are equal.
|
|
1156
1157
|
*
|
|
@@ -1158,7 +1159,7 @@ declare function Ah(t: any, e: any): () => void;
|
|
|
1158
1159
|
* @param right - A reference to compare.
|
|
1159
1160
|
* @returns true if the references point to the same location in the same
|
|
1160
1161
|
* Firestore database.
|
|
1161
|
-
*/ declare function
|
|
1162
|
+
*/ declare function Oa(t: any, e: any): boolean;
|
|
1162
1163
|
/**
|
|
1163
1164
|
* Executes the given `updateFunction` and then attempts to commit the changes
|
|
1164
1165
|
* applied within the transaction. If any document read within the transaction
|
|
@@ -1175,12 +1176,12 @@ declare function Ah(t: any, e: any): () => void;
|
|
|
1175
1176
|
* (the `updateFunction` returned a failed promise), the promise returned by the
|
|
1176
1177
|
* `updateFunction `is returned here. Otherwise, if the transaction failed, a
|
|
1177
1178
|
* rejected promise with the corresponding failure error is returned.
|
|
1178
|
-
*/ declare function
|
|
1179
|
+
*/ declare function Ch(t: any, e: any): Promise<any>;
|
|
1179
1180
|
/**
|
|
1180
1181
|
* Returns a sentinel used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link @firebase/firestore/lite#(updateDoc:1)} to
|
|
1181
1182
|
* include a server-generated timestamp in the written data.
|
|
1182
|
-
*/ declare function
|
|
1183
|
-
declare function
|
|
1183
|
+
*/ declare function kh(): pu;
|
|
1184
|
+
declare function Ih(t: any, e: any, n: any): Promise<any>;
|
|
1184
1185
|
/**
|
|
1185
1186
|
* Sets the verbosity of Cloud Firestore logs (debug, error, or silent).
|
|
1186
1187
|
*
|
|
@@ -1200,9 +1201,9 @@ declare function yh(t: any, e: any, n: any): Promise<any>;
|
|
|
1200
1201
|
* @param left - A snapshot to compare.
|
|
1201
1202
|
* @param right - A snapshot to compare.
|
|
1202
1203
|
* @returns true if the snapshots are equal.
|
|
1203
|
-
*/ declare function
|
|
1204
|
-
declare function
|
|
1205
|
-
declare function
|
|
1204
|
+
*/ declare function Ku(t: any, e: any): any;
|
|
1205
|
+
declare function nh(...t: any[]): th;
|
|
1206
|
+
declare function eh(...t: any[]): th;
|
|
1206
1207
|
/**
|
|
1207
1208
|
* Terminates the provided {@link Firestore} instance.
|
|
1208
1209
|
*
|
|
@@ -1224,8 +1225,8 @@ declare function Yu(...t: any[]): Ju;
|
|
|
1224
1225
|
*
|
|
1225
1226
|
* @returns A `Promise` that is resolved when the instance has been successfully
|
|
1226
1227
|
* terminated.
|
|
1227
|
-
*/ declare function
|
|
1228
|
-
declare function
|
|
1228
|
+
*/ declare function tu(t: any): any;
|
|
1229
|
+
declare function Ah(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
1229
1230
|
/**
|
|
1230
1231
|
* Waits until all currently pending writes for the active user have been
|
|
1231
1232
|
* acknowledged by the backend.
|
|
@@ -1241,7 +1242,7 @@ declare function ph(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1241
1242
|
*
|
|
1242
1243
|
* @returns A `Promise` which resolves when all currently pending writes have been
|
|
1243
1244
|
* acknowledged by the backend.
|
|
1244
|
-
*/ declare function
|
|
1245
|
+
*/ declare function Ya(t: any): Promise<any>;
|
|
1245
1246
|
/**
|
|
1246
1247
|
* Creates a {@link QueryConstraint} that enforces that documents must contain the
|
|
1247
1248
|
* specified field and that the value should satisfy the relation constraint
|
|
@@ -1252,7 +1253,7 @@ declare function ph(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1252
1253
|
* "<=", "!=").
|
|
1253
1254
|
* @param value - The value for comparison
|
|
1254
1255
|
* @returns The created {@link Query}.
|
|
1255
|
-
*/ declare function
|
|
1256
|
+
*/ declare function zu(t: any, e: any, n: any): Wu;
|
|
1256
1257
|
/**
|
|
1257
1258
|
* @license
|
|
1258
1259
|
* Copyright 2020 Google LLC
|
|
@@ -1279,7 +1280,7 @@ declare function ph(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1279
1280
|
*
|
|
1280
1281
|
* @returns A {@link WriteBatch} that can be used to atomically execute multiple
|
|
1281
1282
|
* writes.
|
|
1282
|
-
*/ declare function
|
|
1283
|
+
*/ declare function Fh(t: any): dh;
|
|
1283
1284
|
/**
|
|
1284
1285
|
* @license
|
|
1285
1286
|
* Copyright 2020 Google LLC
|
|
@@ -1304,7 +1305,7 @@ declare function ph(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1304
1305
|
* For a `DocumentSnapshot` that points to a non-existing document, any data
|
|
1305
1306
|
* access will return 'undefined'. You can use the `exists()` method to
|
|
1306
1307
|
* explicitly verify a document's existence.
|
|
1307
|
-
*/ declare class
|
|
1308
|
+
*/ declare class $u {
|
|
1308
1309
|
/** @hideconstructor protected */
|
|
1309
1310
|
constructor(t: any, e: any, n: any, s: any, i: any);
|
|
1310
1311
|
_firestore: any;
|
|
@@ -1315,7 +1316,7 @@ declare function ph(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1315
1316
|
/** Property of the `DocumentSnapshot` that provides the document's ID. */ get id(): any;
|
|
1316
1317
|
/**
|
|
1317
1318
|
* The `DocumentReference` for the document included in the `DocumentSnapshot`.
|
|
1318
|
-
*/ get ref():
|
|
1319
|
+
*/ get ref(): Da;
|
|
1319
1320
|
/**
|
|
1320
1321
|
* Signals whether or not the document at the snapshot's location exists.
|
|
1321
1322
|
*
|
|
@@ -1359,7 +1360,7 @@ declare function ph(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1359
1360
|
* The Cloud Firestore service interface.
|
|
1360
1361
|
*
|
|
1361
1362
|
* Do not call this constructor directly. Instead, use {@link getFirestore}.
|
|
1362
|
-
*/ declare class
|
|
1363
|
+
*/ declare class Va {
|
|
1363
1364
|
/** @hideconstructor */
|
|
1364
1365
|
constructor(t: any, e: any, n: any);
|
|
1365
1366
|
_authCredentials: any;
|
|
@@ -1369,9 +1370,9 @@ declare function ph(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1369
1370
|
*/
|
|
1370
1371
|
type: string;
|
|
1371
1372
|
_persistenceKey: string;
|
|
1372
|
-
_settings:
|
|
1373
|
+
_settings: va;
|
|
1373
1374
|
_settingsFrozen: boolean;
|
|
1374
|
-
_databaseId:
|
|
1375
|
+
_databaseId: Vt;
|
|
1375
1376
|
_app: any;
|
|
1376
1377
|
/**
|
|
1377
1378
|
* The {@link @firebase/app#FirebaseApp} associated with this `Firestore` service
|
|
@@ -1380,14 +1381,14 @@ declare function ph(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1380
1381
|
get _initialized(): boolean;
|
|
1381
1382
|
get _terminated(): boolean;
|
|
1382
1383
|
_setSettings(t: any): void;
|
|
1383
|
-
_getSettings():
|
|
1384
|
-
_freezeSettings():
|
|
1384
|
+
_getSettings(): va;
|
|
1385
|
+
_freezeSettings(): va;
|
|
1385
1386
|
_delete(): Promise<void>;
|
|
1386
1387
|
_terminateTask: Promise<void> | undefined;
|
|
1387
1388
|
/** Returns a JSON-serializable representation of this `Firestore` instance. */ toJSON(): {
|
|
1388
1389
|
app: any;
|
|
1389
|
-
databaseId:
|
|
1390
|
-
settings:
|
|
1390
|
+
databaseId: Vt;
|
|
1391
|
+
settings: va;
|
|
1391
1392
|
};
|
|
1392
1393
|
/**
|
|
1393
1394
|
* Terminates all components used by this client. Subclasses can override
|
|
@@ -1412,7 +1413,7 @@ declare function ph(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1412
1413
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1413
1414
|
* See the License for the specific language governing permissions and
|
|
1414
1415
|
* limitations under the License.
|
|
1415
|
-
*/ declare class
|
|
1416
|
+
*/ declare class Ma {
|
|
1416
1417
|
mc: Promise<void>;
|
|
1417
1418
|
gc: any[];
|
|
1418
1419
|
yc: boolean;
|
|
@@ -1421,7 +1422,7 @@ declare function ph(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1421
1422
|
Ic: boolean;
|
|
1422
1423
|
Ac: boolean;
|
|
1423
1424
|
Rc: any[];
|
|
1424
|
-
ur:
|
|
1425
|
+
ur: co;
|
|
1425
1426
|
bc: () => void;
|
|
1426
1427
|
get isShuttingDown(): boolean;
|
|
1427
1428
|
/**
|
|
@@ -1437,7 +1438,7 @@ declare function ph(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1437
1438
|
* reschedules with backoff.
|
|
1438
1439
|
*/ Vc(): Promise<void>;
|
|
1439
1440
|
vc(t: any): Promise<any>;
|
|
1440
|
-
enqueueAfterDelay(t: any, e: any, n: any):
|
|
1441
|
+
enqueueAfterDelay(t: any, e: any, n: any): Ko;
|
|
1441
1442
|
Pc(): void;
|
|
1442
1443
|
verifyOperationInProgress(): void;
|
|
1443
1444
|
/**
|
|
@@ -1476,7 +1477,7 @@ import { FirebaseError as a } from "@firebase/util/dist/src/errors";
|
|
|
1476
1477
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1477
1478
|
* See the License for the specific language governing permissions and
|
|
1478
1479
|
* limitations under the License.
|
|
1479
|
-
*/ declare class
|
|
1480
|
+
*/ declare class Q {
|
|
1480
1481
|
promise: Promise<any>;
|
|
1481
1482
|
resolve: (value: any) => void;
|
|
1482
1483
|
reject: (reason?: any) => void;
|
|
@@ -1484,12 +1485,12 @@ import { FirebaseError as a } from "@firebase/util/dist/src/errors";
|
|
|
1484
1485
|
/**
|
|
1485
1486
|
* Helper for parsing raw user input (provided via the API) into internal model
|
|
1486
1487
|
* classes.
|
|
1487
|
-
*/ declare class
|
|
1488
|
+
*/ declare class wu {
|
|
1488
1489
|
constructor(t: any, e: any, n: any);
|
|
1489
1490
|
databaseId: any;
|
|
1490
1491
|
ignoreUndefinedProperties: any;
|
|
1491
1492
|
k: any;
|
|
1492
|
-
/** Creates a new top-level parse context. */
|
|
1493
|
+
/** Creates a new top-level parse context. */ Gc(t: any, e: any, n: any, s?: boolean): du;
|
|
1493
1494
|
}
|
|
1494
1495
|
declare class Z {
|
|
1495
1496
|
constructor(t: any);
|
|
@@ -1537,67 +1538,67 @@ declare class dt {
|
|
|
1537
1538
|
forEach(t: any): void;
|
|
1538
1539
|
toArray(): any;
|
|
1539
1540
|
}
|
|
1540
|
-
declare class
|
|
1541
|
+
declare class Eu extends cu {
|
|
1541
1542
|
constructor(t: any, e: any);
|
|
1542
|
-
|
|
1543
|
-
_toFieldTransform(t: any):
|
|
1543
|
+
Qc: any;
|
|
1544
|
+
_toFieldTransform(t: any): Xe;
|
|
1544
1545
|
isEqual(t: any): boolean;
|
|
1545
1546
|
}
|
|
1546
|
-
declare class
|
|
1547
|
+
declare class Tu extends cu {
|
|
1547
1548
|
constructor(t: any, e: any);
|
|
1548
|
-
|
|
1549
|
-
_toFieldTransform(t: any):
|
|
1549
|
+
Qc: any;
|
|
1550
|
+
_toFieldTransform(t: any): Xe;
|
|
1550
1551
|
isEqual(t: any): boolean;
|
|
1551
1552
|
}
|
|
1552
|
-
declare class
|
|
1553
|
+
declare class gu extends cu {
|
|
1553
1554
|
_toFieldTransform(t: any): null;
|
|
1554
1555
|
isEqual(t: any): boolean;
|
|
1555
1556
|
}
|
|
1556
|
-
declare class
|
|
1557
|
+
declare class sh extends Gu {
|
|
1557
1558
|
constructor(t: any, e: any, n: any);
|
|
1558
1559
|
type: any;
|
|
1559
1560
|
ta: any;
|
|
1560
1561
|
ea: any;
|
|
1561
|
-
_apply(t: any):
|
|
1562
|
+
_apply(t: any): Ca;
|
|
1562
1563
|
}
|
|
1563
|
-
declare class
|
|
1564
|
+
declare class Iu extends cu {
|
|
1564
1565
|
constructor(t: any, e: any);
|
|
1565
|
-
|
|
1566
|
-
_toFieldTransform(t: any):
|
|
1566
|
+
Wc: any;
|
|
1567
|
+
_toFieldTransform(t: any): Xe;
|
|
1567
1568
|
isEqual(t: any): boolean;
|
|
1568
1569
|
}
|
|
1569
|
-
declare class
|
|
1570
|
+
declare class Yu extends Gu {
|
|
1570
1571
|
constructor(t: any, e: any, n: any);
|
|
1571
1572
|
type: any;
|
|
1572
1573
|
Xc: any;
|
|
1573
1574
|
Zc: any;
|
|
1574
|
-
_apply(t: any):
|
|
1575
|
+
_apply(t: any): Ca;
|
|
1575
1576
|
}
|
|
1576
|
-
declare class
|
|
1577
|
+
declare class Hu extends Gu {
|
|
1577
1578
|
constructor(t: any, e: any);
|
|
1578
1579
|
zc: any;
|
|
1579
1580
|
Yc: any;
|
|
1580
1581
|
type: string;
|
|
1581
|
-
_apply(t: any):
|
|
1582
|
+
_apply(t: any): Ca;
|
|
1582
1583
|
}
|
|
1583
|
-
declare class
|
|
1584
|
-
_toFieldTransform(t: any):
|
|
1584
|
+
declare class pu extends cu {
|
|
1585
|
+
_toFieldTransform(t: any): Xe;
|
|
1585
1586
|
isEqual(t: any): boolean;
|
|
1586
1587
|
}
|
|
1587
|
-
declare class
|
|
1588
|
+
declare class th extends Gu {
|
|
1588
1589
|
constructor(t: any, e: any, n: any);
|
|
1589
1590
|
type: any;
|
|
1590
1591
|
ta: any;
|
|
1591
1592
|
ea: any;
|
|
1592
|
-
_apply(t: any):
|
|
1593
|
+
_apply(t: any): Ca;
|
|
1593
1594
|
}
|
|
1594
|
-
declare class
|
|
1595
|
+
declare class Wu extends Gu {
|
|
1595
1596
|
constructor(t: any, e: any, n: any);
|
|
1596
1597
|
zc: any;
|
|
1597
1598
|
Hc: any;
|
|
1598
1599
|
Jc: any;
|
|
1599
1600
|
type: string;
|
|
1600
|
-
_apply(t: any):
|
|
1601
|
+
_apply(t: any): Ca;
|
|
1601
1602
|
}
|
|
1602
1603
|
/**
|
|
1603
1604
|
* @license
|
|
@@ -1620,7 +1621,7 @@ declare class Ku extends Uu {
|
|
|
1620
1621
|
* user-supplied `FirestoreSettings` object. This is a separate type so that
|
|
1621
1622
|
* defaults can be supplied and the value can be checked for equality.
|
|
1622
1623
|
*/
|
|
1623
|
-
declare class
|
|
1624
|
+
declare class va {
|
|
1624
1625
|
constructor(t: any);
|
|
1625
1626
|
host: any;
|
|
1626
1627
|
ssl: any;
|
|
@@ -1644,12 +1645,12 @@ declare class Aa {
|
|
|
1644
1645
|
* base delay. This prevents clients from accidentally synchronizing their
|
|
1645
1646
|
* delays causing spikes of load to the backend.
|
|
1646
1647
|
*/
|
|
1647
|
-
declare class
|
|
1648
|
+
declare class co {
|
|
1648
1649
|
constructor(t: any, e: any, n?: number, s?: number, i?: number);
|
|
1649
|
-
|
|
1650
|
+
Fe: any;
|
|
1650
1651
|
timerId: any;
|
|
1652
|
+
Qi: number;
|
|
1651
1653
|
Wi: number;
|
|
1652
|
-
Gi: number;
|
|
1653
1654
|
zi: number;
|
|
1654
1655
|
Hi: number;
|
|
1655
1656
|
Ji: any;
|
|
@@ -1702,7 +1703,7 @@ declare class eo {
|
|
|
1702
1703
|
* in newer versions of TypeScript defines `finally`, which is not available in
|
|
1703
1704
|
* IE.
|
|
1704
1705
|
*/
|
|
1705
|
-
declare class
|
|
1706
|
+
declare class Ko {
|
|
1706
1707
|
/**
|
|
1707
1708
|
* Creates and returns a DelayedOperation that has been scheduled to be
|
|
1708
1709
|
* executed on the provided asyncQueue after the provided delayMs.
|
|
@@ -1716,14 +1717,14 @@ declare class Mo {
|
|
|
1716
1717
|
* from its delayedOperations list.
|
|
1717
1718
|
* PORTING NOTE: This exists to prevent making removeDelayedOperation() and
|
|
1718
1719
|
* the DelayedOperation class public.
|
|
1719
|
-
*/ static createAndSchedule(t: any, e: any, n: any, s: any, i: any):
|
|
1720
|
+
*/ static createAndSchedule(t: any, e: any, n: any, s: any, i: any): Ko;
|
|
1720
1721
|
constructor(t: any, e: any, n: any, s: any, i: any);
|
|
1721
1722
|
asyncQueue: any;
|
|
1722
1723
|
timerId: any;
|
|
1723
1724
|
targetTimeMs: any;
|
|
1724
1725
|
op: any;
|
|
1725
1726
|
removalCallback: any;
|
|
1726
|
-
deferred:
|
|
1727
|
+
deferred: Q;
|
|
1727
1728
|
then: <TResult1 = any, TResult2 = never>(onfulfilled?: ((value: any) => TResult1 | PromiseLike<TResult1>) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null | undefined) => Promise<TResult1 | TResult2>;
|
|
1728
1729
|
/**
|
|
1729
1730
|
* Starts the timer. This is called immediately after construction by
|
|
@@ -1744,7 +1745,7 @@ declare class Mo {
|
|
|
1744
1745
|
handleDelayElapsed(): void;
|
|
1745
1746
|
clearTimeout(): void;
|
|
1746
1747
|
}
|
|
1747
|
-
/** A "context" object passed around while parsing user data. */ declare class
|
|
1748
|
+
/** A "context" object passed around while parsing user data. */ declare class du {
|
|
1748
1749
|
/**
|
|
1749
1750
|
* Initializes a ParseContext with the given source and path.
|
|
1750
1751
|
*
|
|
@@ -1772,11 +1773,11 @@ declare class Mo {
|
|
|
1772
1773
|
fieldMask: any;
|
|
1773
1774
|
get path(): any;
|
|
1774
1775
|
get $c(): any;
|
|
1775
|
-
/** Returns a new context with the specified settings overwritten. */ Oc(t: any):
|
|
1776
|
-
|
|
1777
|
-
Bc(t: any):
|
|
1778
|
-
Uc(t: any):
|
|
1779
|
-
qc(t: any):
|
|
1776
|
+
/** Returns a new context with the specified settings overwritten. */ Oc(t: any): du;
|
|
1777
|
+
Fc(t: any): du;
|
|
1778
|
+
Bc(t: any): du;
|
|
1779
|
+
Uc(t: any): du;
|
|
1780
|
+
qc(t: any): G;
|
|
1780
1781
|
/** Returns 'true' if 'fieldPath' was traversed when creating this context. */ contains(t: any): boolean;
|
|
1781
1782
|
xc(): void;
|
|
1782
1783
|
Lc(t: any): void;
|
|
@@ -1797,9 +1798,9 @@ declare class Mo {
|
|
|
1797
1798
|
* See the License for the specific language governing permissions and
|
|
1798
1799
|
* limitations under the License.
|
|
1799
1800
|
*/
|
|
1800
|
-
/** A field path and the TransformOperation to perform upon it. */ declare class
|
|
1801
|
+
/** A field path and the TransformOperation to perform upon it. */ declare class Xe {
|
|
1801
1802
|
constructor(t: any, e: any);
|
|
1802
1803
|
field: any;
|
|
1803
1804
|
transform: any;
|
|
1804
1805
|
}
|
|
1805
|
-
export {
|
|
1806
|
+
export { hh as AbstractUserDataWriter, ou as Bytes, Ua as CACHE_SIZE_UNLIMITED, Na as CollectionReference, Da as DocumentReference, Lu as DocumentSnapshot, iu as FieldPath, cu as FieldValue, qa as Firestore, G as FirestoreError, au as GeoPoint, Ba as LoadBundleTask, Ca as Query, Gu as QueryConstraint, Bu as QueryDocumentSnapshot, Uu as QuerySnapshot, Mu as SnapshotMetadata, at as Timestamp, Dh as Transaction, dh as WriteBatch, Vt as _DatabaseId, Nt as _DocumentKey, et as _EmptyAppCheckTokenProvider, z as _EmptyAuthCredentialsProvider, mt as _FieldPath, ba as _cast, q as _debugAssert, yt as _isBase64Available, M as _logWarn, Mh as _setIndexConfiguration, Ea as _validateIsNotUsedTogether, bh as addDoc, $h as arrayRemove, xh as arrayUnion, Ja as clearIndexedDbPersistence, ka as collection, xa as collectionGroup, Sa as connectFirestoreEmulator, Rh as deleteDoc, Nh as deleteField, Za as disableNetwork, $a as doc, ru as documentId, Wa as enableIndexedDbPersistence, za as enableMultiTabIndexedDbPersistence, Xa as enableNetwork, rh as endAt, ih as endBefore, Ga as ensureFirestoreConfigured, Vh as executeWrite, _h as getDoc, gh as getDocFromCache, yh as getDocFromServer, ph as getDocs, Th as getDocsFromCache, Eh as getDocsFromServer, ja as getFirestore, Oh as increment, Ka as initializeFirestore, Xu as limit, Zu as limitToLast, eu as loadBundle, nu as namedQuery, Ph as onSnapshot, vh as onSnapshotsInSync, Ju as orderBy, Qu as query, Fa as queryEqual, Oa as refEqual, Ch as runTransaction, kh as serverTimestamp, Ih as setDoc, $ as setLogLevel, Ku as snapshotEqual, nh as startAfter, eh as startAt, tu as terminate, Ah as updateDoc, Ya as waitForPendingWrites, zu as where, Fh as writeBatch };
|