@firebase/firestore 3.4.3-canary.4983f4d5a → 3.4.3-canary.73fcec982
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/core/firestore_client.d.ts +2 -0
- package/dist/index.esm2017.js +604 -600
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +625 -619
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +11 -4
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.node.mjs +11 -4
- package/dist/index.node.mjs.map +1 -1
- package/dist/index.rn.js +606 -602
- package/dist/index.rn.js.map +1 -1
- package/dist/internal.d.ts +2 -0
- package/dist/lite/firestore/src/core/firestore_client.d.ts +2 -0
- package/dist/lite/index.browser.esm2017.js +2 -2
- package/dist/lite/index.browser.esm2017.js.map +1 -1
- package/dist/lite/index.browser.esm5.js +2 -2
- package/dist/lite/index.browser.esm5.js.map +1 -1
- package/dist/lite/index.node.cjs.js +2 -2
- package/dist/lite/index.node.mjs +2 -2
- package/dist/lite/index.node.mjs.map +1 -1
- package/dist/lite/index.rn.esm2017.js +2 -2
- package/dist/lite/index.rn.esm2017.js.map +1 -1
- package/dist/lite/packages/firestore/src/core/firestore_client.d.ts +2 -0
- package/dist/packages/firestore/dist/index.esm2017.d.ts +123 -123
- package/dist/packages/firestore/src/core/firestore_client.d.ts +2 -0
- package/dist/private.d.ts +2 -0
- package/package.json +10 -10
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
* to the user.
|
|
20
20
|
*
|
|
21
21
|
* @internal
|
|
22
|
-
*/ declare class
|
|
22
|
+
*/ declare class ch {
|
|
23
23
|
convertValue(t: any, e?: string): any;
|
|
24
24
|
convertObject(t: any, e: any): {};
|
|
25
|
-
convertGeoPoint(t: any):
|
|
25
|
+
convertGeoPoint(t: any): ru;
|
|
26
26
|
convertArray(t: any, e: any): any;
|
|
27
27
|
convertServerTimestamp(t: any, e: any): any;
|
|
28
28
|
convertTimestamp(t: any): at;
|
|
@@ -46,18 +46,18 @@
|
|
|
46
46
|
*/
|
|
47
47
|
/**
|
|
48
48
|
* An immutable object representing an array of bytes.
|
|
49
|
-
*/ declare class
|
|
49
|
+
*/ declare class su {
|
|
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): su;
|
|
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): su;
|
|
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 Fa: -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 Sa extends Va {
|
|
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(): va | 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 va {
|
|
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(): Sa;
|
|
157
|
+
withConverter(t: any): va;
|
|
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 Ou extends Nu {
|
|
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 eu {
|
|
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 iu {
|
|
249
249
|
/**
|
|
250
250
|
* @param _methodName - The public API endpoint that returns this class.
|
|
251
251
|
* @hideconstructor
|
|
@@ -258,8 +258,8 @@ 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 La extends ba {
|
|
262
|
+
_queue: $a;
|
|
263
263
|
}
|
|
264
264
|
/** An error returned by a Firestore operation. */ declare class Q extends a {
|
|
265
265
|
/** @hideconstructor */
|
|
@@ -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 ru {
|
|
291
291
|
/**
|
|
292
292
|
* Creates a new immutable `GeoPoint` object with the provided latitude and
|
|
293
293
|
* longitude values.
|
|
@@ -318,7 +318,7 @@ 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 Ma {
|
|
322
322
|
_progressObserver: {};
|
|
323
323
|
_taskCompletionResolver: W;
|
|
324
324
|
_lastProgress: {
|
|
@@ -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 Va {
|
|
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): Va;
|
|
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 qu {
|
|
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 Mu extends Ou {
|
|
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 Fu {
|
|
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: $u;
|
|
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 $u {
|
|
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 vh_base: {
|
|
568
568
|
new (t: any, e: any): {
|
|
569
569
|
_firestore: any;
|
|
570
570
|
_transaction: any;
|
|
571
|
-
_dataReader:
|
|
571
|
+
_dataReader: lu;
|
|
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 vh extends vh_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 hh {
|
|
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: lu;
|
|
643
|
+
set(t: any, e: any, n: any): hh;
|
|
644
|
+
update(t: any, e: any, n: any, ...s: any[]): hh;
|
|
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): hh;
|
|
651
651
|
/**
|
|
652
652
|
* Commits all of the writes in this write batch as a single atomic unit.
|
|
653
653
|
*
|
|
@@ -667,7 +667,7 @@ 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 _a {
|
|
671
671
|
constructor(t: any, e: any);
|
|
672
672
|
projectId: any;
|
|
673
673
|
database: any;
|
|
@@ -756,7 +756,7 @@ declare class wa {
|
|
|
756
756
|
* Returns true if this field references the key of a document.
|
|
757
757
|
*/ isKeyField(): boolean;
|
|
758
758
|
}
|
|
759
|
-
declare function
|
|
759
|
+
declare function Ia(t: any, e: any): any;
|
|
760
760
|
/**
|
|
761
761
|
* Fails if the given assertion condition is false, throwing an Error with the
|
|
762
762
|
* given message if it did.
|
|
@@ -804,11 +804,11 @@ declare function yt(): boolean;
|
|
|
804
804
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
805
805
|
* See the License for the specific language governing permissions and
|
|
806
806
|
* limitations under the License.
|
|
807
|
-
*/ declare function
|
|
807
|
+
*/ declare function Mh(t: any, e: any): Promise<void>;
|
|
808
808
|
/**
|
|
809
809
|
* Validates that two boolean options are not set at the same time.
|
|
810
810
|
* @internal
|
|
811
|
-
*/ declare function
|
|
811
|
+
*/ declare function ya(t: any, e: any, n: any, s: any): void;
|
|
812
812
|
/**
|
|
813
813
|
* Add a new document to specified `CollectionReference` with the given data,
|
|
814
814
|
* assigning it a document ID automatically.
|
|
@@ -818,7 +818,7 @@ declare function yt(): boolean;
|
|
|
818
818
|
* @returns A `Promise` resolved with a `DocumentReference` pointing to the
|
|
819
819
|
* newly created document after it has been written to the backend (Note that it
|
|
820
820
|
* won't resolve while you're offline).
|
|
821
|
-
*/ declare function
|
|
821
|
+
*/ declare function Ih(t: any, e: any): Promise<va>;
|
|
822
822
|
/**
|
|
823
823
|
* Returns a special value that can be used with {@link (setDoc:1)} or {@link
|
|
824
824
|
* updateDoc:1} that tells the server to remove the given elements from any
|
|
@@ -829,7 +829,7 @@ declare function yt(): boolean;
|
|
|
829
829
|
* @param elements - The elements to remove from the array.
|
|
830
830
|
* @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
|
|
831
831
|
* `updateDoc()`
|
|
832
|
-
*/ declare function
|
|
832
|
+
*/ declare function Nh(...t: any[]): yu;
|
|
833
833
|
/**
|
|
834
834
|
* Returns a special value that can be used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link
|
|
835
835
|
* @firebase/firestore/lite#(updateDoc:1)} that tells the server to union the given elements with any array
|
|
@@ -841,9 +841,9 @@ declare function yt(): boolean;
|
|
|
841
841
|
* @param elements - The elements to union into the array.
|
|
842
842
|
* @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
|
|
843
843
|
* `updateDoc()`.
|
|
844
|
-
*/ declare function
|
|
845
|
-
declare function
|
|
846
|
-
declare function
|
|
844
|
+
*/ declare function Ch(...t: any[]): gu;
|
|
845
|
+
declare function Ga(t: any): Promise<any>;
|
|
846
|
+
declare function Da(t: any, e: any, ...n: any[]): Sa;
|
|
847
847
|
/**
|
|
848
848
|
* Creates and returns a new `Query` instance that includes all documents in the
|
|
849
849
|
* database that are contained in a collection or subcollection with the
|
|
@@ -854,15 +854,15 @@ declare function Sa(t: any, e: any, ...n: any[]): Va;
|
|
|
854
854
|
* collection or subcollection with this ID as the last segment of its path
|
|
855
855
|
* will be included. Cannot contain a slash.
|
|
856
856
|
* @returns The created `Query`.
|
|
857
|
-
*/ declare function
|
|
858
|
-
declare function
|
|
857
|
+
*/ declare function Ca(t: any, e: any): Va;
|
|
858
|
+
declare function Pa(t: any, e: any, n: any, s?: {}): void;
|
|
859
859
|
/**
|
|
860
860
|
* Deletes the document referred to by the specified `DocumentReference`.
|
|
861
861
|
*
|
|
862
862
|
* @param reference - A reference to the document to delete.
|
|
863
863
|
* @returns A Promise resolved once the document has been successfully
|
|
864
864
|
* deleted from the backend (note that it won't resolve while you're offline).
|
|
865
|
-
*/ declare function
|
|
865
|
+
*/ declare function Eh(t: any): Promise<any>;
|
|
866
866
|
/**
|
|
867
867
|
* @license
|
|
868
868
|
* Copyright 2020 Google LLC
|
|
@@ -882,7 +882,7 @@ declare function ba(t: any, e: any, n: any, s?: {}): void;
|
|
|
882
882
|
/**
|
|
883
883
|
* Returns a sentinel for use with {@link @firebase/firestore/lite#(updateDoc:1)} or
|
|
884
884
|
* {@link @firebase/firestore/lite#(setDoc:1)} with `{merge: true}` to mark a field for deletion.
|
|
885
|
-
*/ declare function
|
|
885
|
+
*/ declare function Sh(): wu;
|
|
886
886
|
/**
|
|
887
887
|
* Disables network usage for this instance. It can be re-enabled via {@link
|
|
888
888
|
* enableNetwork}. While the network is disabled, any snapshot listeners,
|
|
@@ -890,12 +890,12 @@ declare function ba(t: any, e: any, n: any, s?: {}): void;
|
|
|
890
890
|
* operations will be queued until the network is restored.
|
|
891
891
|
*
|
|
892
892
|
* @returns A `Promise` that is resolved once the network has been disabled.
|
|
893
|
-
*/ declare function
|
|
894
|
-
declare function
|
|
893
|
+
*/ declare function Ja(t: any): any;
|
|
894
|
+
declare function Na(t: any, e: any, ...n: any[]): va;
|
|
895
895
|
/**
|
|
896
896
|
* Returns a special sentinel `FieldPath` to refer to the ID of a document.
|
|
897
897
|
* It can be used in queries to sort or filter by the document ID.
|
|
898
|
-
*/ declare function
|
|
898
|
+
*/ declare function nu(): eu;
|
|
899
899
|
/**
|
|
900
900
|
* Attempts to enable persistent storage, if possible.
|
|
901
901
|
*
|
|
@@ -918,7 +918,7 @@ declare function Ca(t: any, e: any, ...n: any[]): Pa;
|
|
|
918
918
|
* @param persistenceSettings - Optional settings object to configure
|
|
919
919
|
* persistence.
|
|
920
920
|
* @returns A `Promise` that represents successfully enabling persistent storage.
|
|
921
|
-
*/ declare function
|
|
921
|
+
*/ declare function ja(t: any, e: any): any;
|
|
922
922
|
/**
|
|
923
923
|
* Attempts to enable multi-tab persistent storage, if possible. If enabled
|
|
924
924
|
* across all tabs, all operations share access to local persistence, including
|
|
@@ -940,22 +940,22 @@ declare function Ca(t: any, e: any, ...n: any[]): Pa;
|
|
|
940
940
|
* @param firestore - The {@link Firestore} instance to enable persistence for.
|
|
941
941
|
* @returns A `Promise` that represents successfully enabling persistent
|
|
942
942
|
* storage.
|
|
943
|
-
*/ declare function
|
|
943
|
+
*/ declare function Qa(t: any): any;
|
|
944
944
|
/**
|
|
945
945
|
* Re-enables use of the network for this {@link Firestore} instance after a prior
|
|
946
946
|
* call to {@link disableNetwork}.
|
|
947
947
|
*
|
|
948
948
|
* @returns A `Promise` that is resolved once the network has been enabled.
|
|
949
|
-
*/ declare function
|
|
950
|
-
declare function
|
|
951
|
-
declare function
|
|
949
|
+
*/ declare function Ha(t: any): any;
|
|
950
|
+
declare function nh(...t: any[]): th;
|
|
951
|
+
declare function eh(...t: any[]): th;
|
|
952
952
|
/**
|
|
953
953
|
* @internal
|
|
954
|
-
*/ declare function
|
|
954
|
+
*/ declare function qa(t: any): any;
|
|
955
955
|
/**
|
|
956
956
|
* Locally writes `mutations` on the async queue.
|
|
957
957
|
* @internal
|
|
958
|
-
*/ declare function
|
|
958
|
+
*/ declare function bh(t: any, e: any): Promise<any>;
|
|
959
959
|
/**
|
|
960
960
|
* @license
|
|
961
961
|
* Copyright 2020 Google LLC
|
|
@@ -1007,21 +1007,21 @@ declare function th(...t: any[]): Zu;
|
|
|
1007
1007
|
* @returns A Promise resolved with a `DocumentSnapshot` containing the
|
|
1008
1008
|
* current document contents.
|
|
1009
1009
|
*/
|
|
1010
|
-
declare function
|
|
1010
|
+
declare function fh(t: any): Promise<Ou>;
|
|
1011
1011
|
/**
|
|
1012
1012
|
* Reads the document referred to by this `DocumentReference` from cache.
|
|
1013
1013
|
* Returns an error if the document is not currently cached.
|
|
1014
1014
|
*
|
|
1015
1015
|
* @returns A `Promise` resolved with a `DocumentSnapshot` containing the
|
|
1016
1016
|
* current document contents.
|
|
1017
|
-
*/ declare function
|
|
1017
|
+
*/ declare function wh(t: any): Promise<Ou>;
|
|
1018
1018
|
/**
|
|
1019
1019
|
* Reads the document referred to by this `DocumentReference` from the server.
|
|
1020
1020
|
* Returns an error if the network is not available.
|
|
1021
1021
|
*
|
|
1022
1022
|
* @returns A `Promise` resolved with a `DocumentSnapshot` containing the
|
|
1023
1023
|
* current document contents.
|
|
1024
|
-
*/ declare function
|
|
1024
|
+
*/ declare function _h(t: any): Promise<Ou>;
|
|
1025
1025
|
/**
|
|
1026
1026
|
* Executes the query and returns the results as a `QuerySnapshot`.
|
|
1027
1027
|
*
|
|
@@ -1031,19 +1031,19 @@ declare function lh(t: any): Promise<$u>;
|
|
|
1031
1031
|
* invoke {@link getDocsFromCache} or {@link getDocsFromServer}.
|
|
1032
1032
|
*
|
|
1033
1033
|
* @returns A `Promise` that will be resolved with the results of the query.
|
|
1034
|
-
*/ declare function
|
|
1034
|
+
*/ declare function mh(t: any): Promise<Fu>;
|
|
1035
1035
|
/**
|
|
1036
1036
|
* Executes the query and returns the results as a `QuerySnapshot` from cache.
|
|
1037
1037
|
* Returns an error if the document is not currently cached.
|
|
1038
1038
|
*
|
|
1039
1039
|
* @returns A `Promise` that will be resolved with the results of the query.
|
|
1040
|
-
*/ declare function
|
|
1040
|
+
*/ declare function gh(t: any): Promise<Fu>;
|
|
1041
1041
|
/**
|
|
1042
1042
|
* Executes the query and returns the results as a `QuerySnapshot` from the
|
|
1043
1043
|
* server. Returns an error if the network is not available.
|
|
1044
1044
|
*
|
|
1045
1045
|
* @returns A `Promise` that will be resolved with the results of the query.
|
|
1046
|
-
*/ declare function
|
|
1046
|
+
*/ declare function yh(t: any): Promise<Fu>;
|
|
1047
1047
|
/**
|
|
1048
1048
|
* Returns the existing {@link Firestore} instance that is associated with the
|
|
1049
1049
|
* provided {@link @firebase/app#FirebaseApp}. If no instance exists, initializes a new
|
|
@@ -1052,7 +1052,7 @@ declare function lh(t: any): Promise<$u>;
|
|
|
1052
1052
|
* @param app - The {@link @firebase/app#FirebaseApp} instance that the returned {@link Firestore}
|
|
1053
1053
|
* instance is associated with.
|
|
1054
1054
|
* @returns The {@link Firestore} instance of the provided app.
|
|
1055
|
-
*/ declare function
|
|
1055
|
+
*/ declare function Ua(e?: import("@firebase/app").FirebaseApp): import("../src").Firestore;
|
|
1056
1056
|
/**
|
|
1057
1057
|
* Returns a special value that can be used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link
|
|
1058
1058
|
* @firebase/firestore/lite#(updateDoc:1)} that tells the server to increment the field's current value by
|
|
@@ -1071,7 +1071,7 @@ declare function lh(t: any): Promise<$u>;
|
|
|
1071
1071
|
* @param n - The value to increment by.
|
|
1072
1072
|
* @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
|
|
1073
1073
|
* `updateDoc()`
|
|
1074
|
-
*/ declare function
|
|
1074
|
+
*/ declare function kh(t: any): pu;
|
|
1075
1075
|
/**
|
|
1076
1076
|
* Initializes a new instance of {@link Firestore} with the provided settings.
|
|
1077
1077
|
* Can only be called before any other function, including
|
|
@@ -1082,13 +1082,13 @@ declare function lh(t: any): Promise<$u>;
|
|
|
1082
1082
|
* be associated.
|
|
1083
1083
|
* @param settings - A settings object to configure the {@link Firestore} instance.
|
|
1084
1084
|
* @returns A newly initialized {@link Firestore} instance.
|
|
1085
|
-
*/ declare function
|
|
1085
|
+
*/ declare function Ba(t: any, e: any): import("../src").Firestore;
|
|
1086
1086
|
/**
|
|
1087
1087
|
* Creates a {@link QueryConstraint} that only returns the first matching documents.
|
|
1088
1088
|
*
|
|
1089
1089
|
* @param limit - The maximum number of items to return.
|
|
1090
1090
|
* @returns The created {@link Query}.
|
|
1091
|
-
*/ declare function
|
|
1091
|
+
*/ declare function Hu(t: any): zu;
|
|
1092
1092
|
/**
|
|
1093
1093
|
* Creates a {@link QueryConstraint} that only returns the last matching documents.
|
|
1094
1094
|
*
|
|
@@ -1097,7 +1097,7 @@ declare function lh(t: any): Promise<$u>;
|
|
|
1097
1097
|
*
|
|
1098
1098
|
* @param limit - The maximum number of items to return.
|
|
1099
1099
|
* @returns The created {@link Query}.
|
|
1100
|
-
*/ declare function
|
|
1100
|
+
*/ declare function Ju(t: any): zu;
|
|
1101
1101
|
/**
|
|
1102
1102
|
* Loads a Firestore bundle into the local cache.
|
|
1103
1103
|
*
|
|
@@ -1108,7 +1108,7 @@ declare function lh(t: any): Promise<$u>;
|
|
|
1108
1108
|
* @returns A `LoadBundleTask` object, which notifies callers with progress
|
|
1109
1109
|
* updates, and completion or error events. It can be used as a
|
|
1110
1110
|
* `Promise<LoadBundleTaskProgress>`.
|
|
1111
|
-
*/ declare function
|
|
1111
|
+
*/ declare function Xa(t: any, e: any): Ma;
|
|
1112
1112
|
/**
|
|
1113
1113
|
* Reads a Firestore {@link Query} from local cache, identified by the given
|
|
1114
1114
|
* name.
|
|
@@ -1120,9 +1120,9 @@ declare function lh(t: any): Promise<$u>;
|
|
|
1120
1120
|
* @param firestore - The {@link Firestore} instance to read the query from.
|
|
1121
1121
|
* @param name - The name of the query.
|
|
1122
1122
|
* @returns A `Promise` that is resolved with the Query or `null`.
|
|
1123
|
-
*/ declare function
|
|
1124
|
-
declare function
|
|
1125
|
-
declare function
|
|
1123
|
+
*/ declare function Za(t: any, e: any): any;
|
|
1124
|
+
declare function Ah(t: any, ...e: any[]): () => void;
|
|
1125
|
+
declare function Rh(t: any, e: any): () => void;
|
|
1126
1126
|
/**
|
|
1127
1127
|
* Creates a {@link QueryConstraint} that sorts the query result by the
|
|
1128
1128
|
* specified field, optionally in descending order instead of ascending.
|
|
@@ -1131,7 +1131,7 @@ declare function Ah(t: any, e: any): () => void;
|
|
|
1131
1131
|
* @param directionStr - Optional direction to sort by ('asc' or 'desc'). If
|
|
1132
1132
|
* not specified, order will be ascending.
|
|
1133
1133
|
* @returns The created {@link Query}.
|
|
1134
|
-
*/ declare function
|
|
1134
|
+
*/ declare function Gu(t: any, e?: string): Wu;
|
|
1135
1135
|
/**
|
|
1136
1136
|
* Creates a new immutable instance of {@link Query} that is extended to also include
|
|
1137
1137
|
* additional query constraints.
|
|
@@ -1140,7 +1140,7 @@ declare function Ah(t: any, e: any): () => void;
|
|
|
1140
1140
|
* @param queryConstraints - The list of {@link QueryConstraint}s to apply.
|
|
1141
1141
|
* @throws if any of the provided query constraints cannot be combined with the
|
|
1142
1142
|
* existing or new constraints.
|
|
1143
|
-
*/ declare function
|
|
1143
|
+
*/ declare function Ku(t: any, ...e: any[]): any;
|
|
1144
1144
|
/**
|
|
1145
1145
|
* Returns true if the provided queries point to the same collection and apply
|
|
1146
1146
|
* the same constraints.
|
|
@@ -1149,7 +1149,7 @@ declare function Ah(t: any, e: any): () => void;
|
|
|
1149
1149
|
* @param right - A `Query` to compare.
|
|
1150
1150
|
* @returns true if the references point to the same location in the same
|
|
1151
1151
|
* Firestore database.
|
|
1152
|
-
*/ declare function
|
|
1152
|
+
*/ declare function xa(t: any, e: any): boolean;
|
|
1153
1153
|
/**
|
|
1154
1154
|
* Returns true if the provided references are equal.
|
|
1155
1155
|
*
|
|
@@ -1157,7 +1157,7 @@ declare function Ah(t: any, e: any): () => void;
|
|
|
1157
1157
|
* @param right - A reference to compare.
|
|
1158
1158
|
* @returns true if the references point to the same location in the same
|
|
1159
1159
|
* Firestore database.
|
|
1160
|
-
*/ declare function
|
|
1160
|
+
*/ declare function ka(t: any, e: any): boolean;
|
|
1161
1161
|
/**
|
|
1162
1162
|
* Executes the given `updateFunction` and then attempts to commit the changes
|
|
1163
1163
|
* applied within the transaction. If any document read within the transaction
|
|
@@ -1174,12 +1174,12 @@ declare function Ah(t: any, e: any): () => void;
|
|
|
1174
1174
|
* (the `updateFunction` returned a failed promise), the promise returned by the
|
|
1175
1175
|
* `updateFunction `is returned here. Otherwise, if the transaction failed, a
|
|
1176
1176
|
* rejected promise with the corresponding failure error is returned.
|
|
1177
|
-
*/ declare function
|
|
1177
|
+
*/ declare function Vh(t: any, e: any): Promise<any>;
|
|
1178
1178
|
/**
|
|
1179
1179
|
* Returns a sentinel used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link @firebase/firestore/lite#(updateDoc:1)} to
|
|
1180
1180
|
* include a server-generated timestamp in the written data.
|
|
1181
|
-
*/ declare function
|
|
1182
|
-
declare function
|
|
1181
|
+
*/ declare function Dh(): mu;
|
|
1182
|
+
declare function ph(t: any, e: any, n: any): Promise<any>;
|
|
1183
1183
|
/**
|
|
1184
1184
|
* Sets the verbosity of Cloud Firestore logs (debug, error, or silent).
|
|
1185
1185
|
*
|
|
@@ -1199,9 +1199,9 @@ declare function yh(t: any, e: any, n: any): Promise<any>;
|
|
|
1199
1199
|
* @param left - A snapshot to compare.
|
|
1200
1200
|
* @param right - A snapshot to compare.
|
|
1201
1201
|
* @returns true if the snapshots are equal.
|
|
1202
|
-
*/ declare function
|
|
1203
|
-
declare function
|
|
1204
|
-
declare function
|
|
1202
|
+
*/ declare function Bu(t: any, e: any): any;
|
|
1203
|
+
declare function Zu(...t: any[]): Yu;
|
|
1204
|
+
declare function Xu(...t: any[]): Yu;
|
|
1205
1205
|
/**
|
|
1206
1206
|
* Terminates the provided {@link Firestore} instance.
|
|
1207
1207
|
*
|
|
@@ -1223,8 +1223,8 @@ declare function Yu(...t: any[]): Ju;
|
|
|
1223
1223
|
*
|
|
1224
1224
|
* @returns A `Promise` that is resolved when the instance has been successfully
|
|
1225
1225
|
* terminated.
|
|
1226
|
-
*/ declare function
|
|
1227
|
-
declare function
|
|
1226
|
+
*/ declare function Ya(t: any): any;
|
|
1227
|
+
declare function Th(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
1228
1228
|
/**
|
|
1229
1229
|
* Waits until all currently pending writes for the active user have been
|
|
1230
1230
|
* acknowledged by the backend.
|
|
@@ -1240,7 +1240,7 @@ declare function ph(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1240
1240
|
*
|
|
1241
1241
|
* @returns A `Promise` which resolves when all currently pending writes have been
|
|
1242
1242
|
* acknowledged by the backend.
|
|
1243
|
-
*/ declare function
|
|
1243
|
+
*/ declare function za(t: any): Promise<any>;
|
|
1244
1244
|
/**
|
|
1245
1245
|
* Creates a {@link QueryConstraint} that enforces that documents must contain the
|
|
1246
1246
|
* specified field and that the value should satisfy the relation constraint
|
|
@@ -1251,7 +1251,7 @@ declare function ph(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1251
1251
|
* "<=", "!=").
|
|
1252
1252
|
* @param value - The value for comparison
|
|
1253
1253
|
* @returns The created {@link Query}.
|
|
1254
|
-
*/ declare function
|
|
1254
|
+
*/ declare function Qu(t: any, e: any, n: any): ju;
|
|
1255
1255
|
/**
|
|
1256
1256
|
* @license
|
|
1257
1257
|
* Copyright 2020 Google LLC
|
|
@@ -1278,7 +1278,7 @@ declare function ph(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1278
1278
|
*
|
|
1279
1279
|
* @returns A {@link WriteBatch} that can be used to atomically execute multiple
|
|
1280
1280
|
* writes.
|
|
1281
|
-
*/ declare function
|
|
1281
|
+
*/ declare function xh(t: any): hh;
|
|
1282
1282
|
/**
|
|
1283
1283
|
* @license
|
|
1284
1284
|
* Copyright 2020 Google LLC
|
|
@@ -1303,7 +1303,7 @@ declare function ph(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1303
1303
|
* For a `DocumentSnapshot` that points to a non-existing document, any data
|
|
1304
1304
|
* access will return 'undefined'. You can use the `exists()` method to
|
|
1305
1305
|
* explicitly verify a document's existence.
|
|
1306
|
-
*/ declare class
|
|
1306
|
+
*/ declare class Nu {
|
|
1307
1307
|
/** @hideconstructor protected */
|
|
1308
1308
|
constructor(t: any, e: any, n: any, s: any, i: any);
|
|
1309
1309
|
_firestore: any;
|
|
@@ -1314,7 +1314,7 @@ declare function ph(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1314
1314
|
/** Property of the `DocumentSnapshot` that provides the document's ID. */ get id(): any;
|
|
1315
1315
|
/**
|
|
1316
1316
|
* The `DocumentReference` for the document included in the `DocumentSnapshot`.
|
|
1317
|
-
*/ get ref():
|
|
1317
|
+
*/ get ref(): va;
|
|
1318
1318
|
/**
|
|
1319
1319
|
* Signals whether or not the document at the snapshot's location exists.
|
|
1320
1320
|
*
|
|
@@ -1358,7 +1358,7 @@ declare function ph(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1358
1358
|
* The Cloud Firestore service interface.
|
|
1359
1359
|
*
|
|
1360
1360
|
* Do not call this constructor directly. Instead, use {@link getFirestore}.
|
|
1361
|
-
*/ declare class
|
|
1361
|
+
*/ declare class ba {
|
|
1362
1362
|
/** @hideconstructor */
|
|
1363
1363
|
constructor(t: any, e: any, n: any);
|
|
1364
1364
|
_authCredentials: any;
|
|
@@ -1368,9 +1368,9 @@ declare function ph(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1368
1368
|
*/
|
|
1369
1369
|
type: string;
|
|
1370
1370
|
_persistenceKey: string;
|
|
1371
|
-
_settings:
|
|
1371
|
+
_settings: Ra;
|
|
1372
1372
|
_settingsFrozen: boolean;
|
|
1373
|
-
_databaseId:
|
|
1373
|
+
_databaseId: _a;
|
|
1374
1374
|
_app: any;
|
|
1375
1375
|
/**
|
|
1376
1376
|
* The {@link @firebase/app#FirebaseApp} associated with this `Firestore` service
|
|
@@ -1379,14 +1379,14 @@ declare function ph(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1379
1379
|
get _initialized(): boolean;
|
|
1380
1380
|
get _terminated(): boolean;
|
|
1381
1381
|
_setSettings(t: any): void;
|
|
1382
|
-
_getSettings():
|
|
1383
|
-
_freezeSettings():
|
|
1382
|
+
_getSettings(): Ra;
|
|
1383
|
+
_freezeSettings(): Ra;
|
|
1384
1384
|
_delete(): Promise<void>;
|
|
1385
1385
|
_terminateTask: Promise<void> | undefined;
|
|
1386
1386
|
/** Returns a JSON-serializable representation of this `Firestore` instance. */ toJSON(): {
|
|
1387
1387
|
app: any;
|
|
1388
|
-
databaseId:
|
|
1389
|
-
settings:
|
|
1388
|
+
databaseId: _a;
|
|
1389
|
+
settings: Ra;
|
|
1390
1390
|
};
|
|
1391
1391
|
/**
|
|
1392
1392
|
* Terminates all components used by this client. Subclasses can override
|
|
@@ -1411,7 +1411,7 @@ declare function ph(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1411
1411
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1412
1412
|
* See the License for the specific language governing permissions and
|
|
1413
1413
|
* limitations under the License.
|
|
1414
|
-
*/ declare class
|
|
1414
|
+
*/ declare class $a {
|
|
1415
1415
|
mc: Promise<void>;
|
|
1416
1416
|
gc: any[];
|
|
1417
1417
|
yc: boolean;
|
|
@@ -1436,7 +1436,7 @@ declare function ph(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1436
1436
|
* reschedules with backoff.
|
|
1437
1437
|
*/ Vc(): Promise<void>;
|
|
1438
1438
|
vc(t: any): Promise<any>;
|
|
1439
|
-
enqueueAfterDelay(t: any, e: any, n: any):
|
|
1439
|
+
enqueueAfterDelay(t: any, e: any, n: any): Fo;
|
|
1440
1440
|
Pc(): void;
|
|
1441
1441
|
verifyOperationInProgress(): void;
|
|
1442
1442
|
/**
|
|
@@ -1483,12 +1483,12 @@ import { FirebaseError as a } from "@firebase/util/dist/src/errors";
|
|
|
1483
1483
|
/**
|
|
1484
1484
|
* Helper for parsing raw user input (provided via the API) into internal model
|
|
1485
1485
|
* classes.
|
|
1486
|
-
*/ declare class
|
|
1486
|
+
*/ declare class lu {
|
|
1487
1487
|
constructor(t: any, e: any, n: any);
|
|
1488
1488
|
databaseId: any;
|
|
1489
1489
|
ignoreUndefinedProperties: any;
|
|
1490
1490
|
k: any;
|
|
1491
|
-
/** Creates a new top-level parse context. */ Qc(t: any, e: any, n: any, s?: boolean):
|
|
1491
|
+
/** Creates a new top-level parse context. */ Qc(t: any, e: any, n: any, s?: boolean): hu;
|
|
1492
1492
|
}
|
|
1493
1493
|
declare class Z {
|
|
1494
1494
|
constructor(t: any);
|
|
@@ -1536,67 +1536,67 @@ declare class dt {
|
|
|
1536
1536
|
forEach(t: any): void;
|
|
1537
1537
|
toArray(): any;
|
|
1538
1538
|
}
|
|
1539
|
-
declare class
|
|
1539
|
+
declare class yu extends iu {
|
|
1540
1540
|
constructor(t: any, e: any);
|
|
1541
1541
|
Wc: any;
|
|
1542
1542
|
_toFieldTransform(t: any): ze;
|
|
1543
1543
|
isEqual(t: any): boolean;
|
|
1544
1544
|
}
|
|
1545
|
-
declare class
|
|
1545
|
+
declare class gu extends iu {
|
|
1546
1546
|
constructor(t: any, e: any);
|
|
1547
1547
|
Wc: any;
|
|
1548
1548
|
_toFieldTransform(t: any): ze;
|
|
1549
1549
|
isEqual(t: any): boolean;
|
|
1550
1550
|
}
|
|
1551
|
-
declare class
|
|
1551
|
+
declare class wu extends iu {
|
|
1552
1552
|
_toFieldTransform(t: any): null;
|
|
1553
1553
|
isEqual(t: any): boolean;
|
|
1554
1554
|
}
|
|
1555
|
-
declare class
|
|
1555
|
+
declare class th extends qu {
|
|
1556
1556
|
constructor(t: any, e: any, n: any);
|
|
1557
1557
|
type: any;
|
|
1558
1558
|
ta: any;
|
|
1559
1559
|
ea: any;
|
|
1560
|
-
_apply(t: any):
|
|
1560
|
+
_apply(t: any): Va;
|
|
1561
1561
|
}
|
|
1562
|
-
declare class
|
|
1562
|
+
declare class pu extends iu {
|
|
1563
1563
|
constructor(t: any, e: any);
|
|
1564
1564
|
Gc: any;
|
|
1565
1565
|
_toFieldTransform(t: any): ze;
|
|
1566
1566
|
isEqual(t: any): boolean;
|
|
1567
1567
|
}
|
|
1568
|
-
declare class
|
|
1568
|
+
declare class zu extends qu {
|
|
1569
1569
|
constructor(t: any, e: any, n: any);
|
|
1570
1570
|
type: any;
|
|
1571
1571
|
Xc: any;
|
|
1572
1572
|
Zc: any;
|
|
1573
|
-
_apply(t: any):
|
|
1573
|
+
_apply(t: any): Va;
|
|
1574
1574
|
}
|
|
1575
|
-
declare class
|
|
1575
|
+
declare class Wu extends qu {
|
|
1576
1576
|
constructor(t: any, e: any);
|
|
1577
1577
|
zc: any;
|
|
1578
1578
|
Yc: any;
|
|
1579
1579
|
type: string;
|
|
1580
|
-
_apply(t: any):
|
|
1580
|
+
_apply(t: any): Va;
|
|
1581
1581
|
}
|
|
1582
|
-
declare class
|
|
1582
|
+
declare class mu extends iu {
|
|
1583
1583
|
_toFieldTransform(t: any): ze;
|
|
1584
1584
|
isEqual(t: any): boolean;
|
|
1585
1585
|
}
|
|
1586
|
-
declare class
|
|
1586
|
+
declare class Yu extends qu {
|
|
1587
1587
|
constructor(t: any, e: any, n: any);
|
|
1588
1588
|
type: any;
|
|
1589
1589
|
ta: any;
|
|
1590
1590
|
ea: any;
|
|
1591
|
-
_apply(t: any):
|
|
1591
|
+
_apply(t: any): Va;
|
|
1592
1592
|
}
|
|
1593
|
-
declare class
|
|
1593
|
+
declare class ju extends qu {
|
|
1594
1594
|
constructor(t: any, e: any, n: any);
|
|
1595
1595
|
zc: any;
|
|
1596
1596
|
Hc: any;
|
|
1597
1597
|
Jc: any;
|
|
1598
1598
|
type: string;
|
|
1599
|
-
_apply(t: any):
|
|
1599
|
+
_apply(t: any): Va;
|
|
1600
1600
|
}
|
|
1601
1601
|
/**
|
|
1602
1602
|
* @license
|
|
@@ -1619,7 +1619,7 @@ declare class Ku extends Uu {
|
|
|
1619
1619
|
* user-supplied `FirestoreSettings` object. This is a separate type so that
|
|
1620
1620
|
* defaults can be supplied and the value can be checked for equality.
|
|
1621
1621
|
*/
|
|
1622
|
-
declare class
|
|
1622
|
+
declare class Ra {
|
|
1623
1623
|
constructor(t: any);
|
|
1624
1624
|
host: any;
|
|
1625
1625
|
ssl: any;
|
|
@@ -1701,7 +1701,7 @@ declare class no {
|
|
|
1701
1701
|
* in newer versions of TypeScript defines `finally`, which is not available in
|
|
1702
1702
|
* IE.
|
|
1703
1703
|
*/
|
|
1704
|
-
declare class
|
|
1704
|
+
declare class Fo {
|
|
1705
1705
|
/**
|
|
1706
1706
|
* Creates and returns a DelayedOperation that has been scheduled to be
|
|
1707
1707
|
* executed on the provided asyncQueue after the provided delayMs.
|
|
@@ -1715,7 +1715,7 @@ declare class Mo {
|
|
|
1715
1715
|
* from its delayedOperations list.
|
|
1716
1716
|
* PORTING NOTE: This exists to prevent making removeDelayedOperation() and
|
|
1717
1717
|
* the DelayedOperation class public.
|
|
1718
|
-
*/ static createAndSchedule(t: any, e: any, n: any, s: any, i: any):
|
|
1718
|
+
*/ static createAndSchedule(t: any, e: any, n: any, s: any, i: any): Fo;
|
|
1719
1719
|
constructor(t: any, e: any, n: any, s: any, i: any);
|
|
1720
1720
|
asyncQueue: any;
|
|
1721
1721
|
timerId: any;
|
|
@@ -1743,7 +1743,7 @@ declare class Mo {
|
|
|
1743
1743
|
handleDelayElapsed(): void;
|
|
1744
1744
|
clearTimeout(): void;
|
|
1745
1745
|
}
|
|
1746
|
-
/** A "context" object passed around while parsing user data. */ declare class
|
|
1746
|
+
/** A "context" object passed around while parsing user data. */ declare class hu {
|
|
1747
1747
|
/**
|
|
1748
1748
|
* Initializes a ParseContext with the given source and path.
|
|
1749
1749
|
*
|
|
@@ -1771,10 +1771,10 @@ declare class Mo {
|
|
|
1771
1771
|
fieldMask: any;
|
|
1772
1772
|
get path(): any;
|
|
1773
1773
|
get $c(): any;
|
|
1774
|
-
/** Returns a new context with the specified settings overwritten. */ Oc(t: any):
|
|
1775
|
-
Mc(t: any):
|
|
1776
|
-
Bc(t: any):
|
|
1777
|
-
Uc(t: any):
|
|
1774
|
+
/** Returns a new context with the specified settings overwritten. */ Oc(t: any): hu;
|
|
1775
|
+
Mc(t: any): hu;
|
|
1776
|
+
Bc(t: any): hu;
|
|
1777
|
+
Uc(t: any): hu;
|
|
1778
1778
|
qc(t: any): Q;
|
|
1779
1779
|
/** Returns 'true' if 'fieldPath' was traversed when creating this context. */ contains(t: any): boolean;
|
|
1780
1780
|
xc(): void;
|
|
@@ -1801,4 +1801,4 @@ declare class Mo {
|
|
|
1801
1801
|
field: any;
|
|
1802
1802
|
transform: any;
|
|
1803
1803
|
}
|
|
1804
|
-
export {
|
|
1804
|
+
export { ch as AbstractUserDataWriter, su as Bytes, Fa as CACHE_SIZE_UNLIMITED, Sa as CollectionReference, va as DocumentReference, Ou as DocumentSnapshot, eu as FieldPath, iu as FieldValue, La as Firestore, Q as FirestoreError, ru as GeoPoint, Ma as LoadBundleTask, Va as Query, qu as QueryConstraint, Mu as QueryDocumentSnapshot, Fu as QuerySnapshot, $u as SnapshotMetadata, at as Timestamp, vh as Transaction, hh as WriteBatch, _a as _DatabaseId, Dt as _DocumentKey, et as _EmptyAppCheckTokenProvider, z as _EmptyAuthCredentialsProvider, mt as _FieldPath, Ia as _cast, q as _debugAssert, yt as _isBase64Available, F as _logWarn, Mh as _setIndexConfiguration, ya as _validateIsNotUsedTogether, Ih as addDoc, Nh as arrayRemove, Ch as arrayUnion, Ga as clearIndexedDbPersistence, Da as collection, Ca as collectionGroup, Pa as connectFirestoreEmulator, Eh as deleteDoc, Sh as deleteField, Ja as disableNetwork, Na as doc, nu as documentId, ja as enableIndexedDbPersistence, Qa as enableMultiTabIndexedDbPersistence, Ha as enableNetwork, nh as endAt, eh as endBefore, qa as ensureFirestoreConfigured, bh as executeWrite, fh as getDoc, wh as getDocFromCache, _h as getDocFromServer, mh as getDocs, gh as getDocsFromCache, yh as getDocsFromServer, Ua as getFirestore, kh as increment, Ba as initializeFirestore, Hu as limit, Ju as limitToLast, Xa as loadBundle, Za as namedQuery, Ah as onSnapshot, Rh as onSnapshotsInSync, Gu as orderBy, Ku as query, xa as queryEqual, ka as refEqual, Vh as runTransaction, Dh as serverTimestamp, ph as setDoc, $ as setLogLevel, Bu as snapshotEqual, Zu as startAfter, Xu as startAt, Ya as terminate, Th as updateDoc, za as waitForPendingWrites, Qu as where, xh as writeBatch };
|