@firebase/firestore 3.4.4-canary.2dd99ae2d → 3.4.4-canary.4cec42313
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/local/indexeddb_schema.d.ts +121 -7
- package/dist/index.esm2017.js +2513 -2433
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +2701 -2654
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +114 -29
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.node.mjs +114 -29
- package/dist/index.node.mjs.map +1 -1
- package/dist/index.rn.js +2482 -2398
- package/dist/index.rn.js.map +1 -1
- package/dist/lite/firestore/src/local/indexeddb_schema.d.ts +121 -7
- 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.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/packages/firestore/src/local/indexeddb_schema.d.ts +121 -7
- package/dist/packages/firestore/dist/index.esm2017.d.ts +167 -167
- package/dist/packages/firestore/src/local/indexeddb_schema.d.ts +121 -7
- package/package.json +9 -9
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
* to the user.
|
|
20
20
|
*
|
|
21
21
|
* @internal
|
|
22
|
-
*/ declare class
|
|
22
|
+
*/ declare class wh {
|
|
23
23
|
convertValue(t: any, e?: string): any;
|
|
24
24
|
convertObject(t: any, e: any): {};
|
|
25
|
-
convertGeoPoint(t: any):
|
|
25
|
+
convertGeoPoint(t: any): fu;
|
|
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 hu {
|
|
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): hu;
|
|
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): hu;
|
|
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 Qa: -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 Oa extends $a {
|
|
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(): xa | 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 xa {
|
|
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(): Oa;
|
|
157
|
+
withConverter(t: any): xa;
|
|
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 Ku extends Lu {
|
|
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 au {
|
|
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 iu {
|
|
|
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 lu {
|
|
249
249
|
/**
|
|
250
250
|
* @param _methodName - The public API endpoint that returns this class.
|
|
251
251
|
* @hideconstructor
|
|
@@ -258,8 +258,8 @@ declare class iu {
|
|
|
258
258
|
*
|
|
259
259
|
* Do not call this constructor directly. Instead, use {@link getFirestore}.
|
|
260
260
|
*/
|
|
261
|
-
declare class
|
|
262
|
-
_queue:
|
|
261
|
+
declare class Wa extends Na {
|
|
262
|
+
_queue: qa;
|
|
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 qa extends Va {
|
|
|
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 fu {
|
|
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 qa extends Va {
|
|
|
318
318
|
* with an underscore.
|
|
319
319
|
*/ _compareTo(t: any): 0 | 1 | -1;
|
|
320
320
|
}
|
|
321
|
-
declare class
|
|
321
|
+
declare class ja {
|
|
322
322
|
_progressObserver: {};
|
|
323
323
|
_taskCompletionResolver: W;
|
|
324
324
|
_lastProgress: {
|
|
@@ -370,7 +370,7 @@ declare class Ba {
|
|
|
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 $a {
|
|
374
374
|
/** @hideconstructor protected */
|
|
375
375
|
constructor(t: any, e: any, n: any);
|
|
376
376
|
converter: any;
|
|
@@ -378,7 +378,7 @@ declare class Ba {
|
|
|
378
378
|
/** The type of this Firestore reference. */
|
|
379
379
|
type: string;
|
|
380
380
|
firestore: any;
|
|
381
|
-
withConverter(t: any):
|
|
381
|
+
withConverter(t: any): $a;
|
|
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 Ba {
|
|
|
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 Hu {
|
|
391
391
|
}
|
|
392
392
|
/**
|
|
393
393
|
* A `QueryDocumentSnapshot` contains data read from a document in your
|
|
@@ -399,7 +399,7 @@ declare class Ba {
|
|
|
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 ju extends Ku {
|
|
403
403
|
}
|
|
404
404
|
/**
|
|
405
405
|
* A `QuerySnapshot` contains zero or more `DocumentSnapshot` objects
|
|
@@ -407,13 +407,13 @@ declare class Ba {
|
|
|
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 Qu {
|
|
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: qu;
|
|
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 Ba {
|
|
|
455
455
|
*/
|
|
456
456
|
/**
|
|
457
457
|
* Metadata about a snapshot, describing the state of the snapshot.
|
|
458
|
-
*/ declare class
|
|
458
|
+
*/ declare class qu {
|
|
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 xh_base: {
|
|
568
568
|
new (t: any, e: any): {
|
|
569
569
|
_firestore: any;
|
|
570
570
|
_transaction: any;
|
|
571
|
-
_dataReader:
|
|
571
|
+
_dataReader: gu;
|
|
572
572
|
/**
|
|
573
573
|
* Reads the document referenced by the provided {@link DocumentReference}.
|
|
574
574
|
*
|
|
@@ -607,7 +607,7 @@ declare const Dh_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 xh extends xh_base {
|
|
611
611
|
}
|
|
612
612
|
/**
|
|
613
613
|
* @license
|
|
@@ -632,22 +632,22 @@ declare const Dh_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 yh {
|
|
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: gu;
|
|
643
|
+
set(t: any, e: any, n: any): yh;
|
|
644
|
+
update(t: any, e: any, n: any, ...s: any[]): yh;
|
|
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): yh;
|
|
651
651
|
/**
|
|
652
652
|
* Commits all of the writes in this write batch as a single atomic unit.
|
|
653
653
|
*
|
|
@@ -758,7 +758,7 @@ declare class Vt {
|
|
|
758
758
|
* Returns true if this field references the key of a document.
|
|
759
759
|
*/ isKeyField(): boolean;
|
|
760
760
|
}
|
|
761
|
-
declare function
|
|
761
|
+
declare function Sa(t: any, e: any): any;
|
|
762
762
|
/**
|
|
763
763
|
* Fails if the given assertion condition is false, throwing an Error with the
|
|
764
764
|
* given message if it did.
|
|
@@ -787,7 +787,7 @@ declare function ba(t: any, e: any): any;
|
|
|
787
787
|
*/
|
|
788
788
|
/** Converts a Base64 encoded string to a binary string. */
|
|
789
789
|
/** True if and only if the Base64 conversion functions are available. */
|
|
790
|
-
declare function
|
|
790
|
+
declare function gt(): boolean;
|
|
791
791
|
/**
|
|
792
792
|
* @internal
|
|
793
793
|
*/ declare function F(t: any, ...e: any[]): void;
|
|
@@ -806,11 +806,11 @@ declare function yt(): boolean;
|
|
|
806
806
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
807
807
|
* See the License for the specific language governing permissions and
|
|
808
808
|
* limitations under the License.
|
|
809
|
-
*/ declare function
|
|
809
|
+
*/ declare function qh(t: any, e: any): Promise<void>;
|
|
810
810
|
/**
|
|
811
811
|
* Validates that two boolean options are not set at the same time.
|
|
812
812
|
* @internal
|
|
813
|
-
*/ declare function
|
|
813
|
+
*/ declare function ba(t: any, e: any, n: any, s: any): void;
|
|
814
814
|
/**
|
|
815
815
|
* Add a new document to specified `CollectionReference` with the given data,
|
|
816
816
|
* assigning it a document ID automatically.
|
|
@@ -820,7 +820,7 @@ declare function yt(): boolean;
|
|
|
820
820
|
* @returns A `Promise` resolved with a `DocumentReference` pointing to the
|
|
821
821
|
* newly created document after it has been written to the backend (Note that it
|
|
822
822
|
* won't resolve while you're offline).
|
|
823
|
-
*/ declare function
|
|
823
|
+
*/ declare function Sh(t: any, e: any): Promise<xa>;
|
|
824
824
|
/**
|
|
825
825
|
* Returns a special value that can be used with {@link (setDoc:1)} or {@link
|
|
826
826
|
* updateDoc:1} that tells the server to remove the given elements from any
|
|
@@ -831,7 +831,7 @@ declare function yt(): boolean;
|
|
|
831
831
|
* @param elements - The elements to remove from the array.
|
|
832
832
|
* @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
|
|
833
833
|
* `updateDoc()`
|
|
834
|
-
*/ declare function
|
|
834
|
+
*/ declare function Lh(...t: any[]): bu;
|
|
835
835
|
/**
|
|
836
836
|
* Returns a special value that can be used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link
|
|
837
837
|
* @firebase/firestore/lite#(updateDoc:1)} that tells the server to union the given elements with any array
|
|
@@ -843,9 +843,9 @@ declare function yt(): boolean;
|
|
|
843
843
|
* @param elements - The elements to union into the array.
|
|
844
844
|
* @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
|
|
845
845
|
* `updateDoc()`.
|
|
846
|
-
*/ declare function
|
|
847
|
-
declare function
|
|
848
|
-
declare function
|
|
846
|
+
*/ declare function Fh(...t: any[]): Ru;
|
|
847
|
+
declare function tu(t: any): Promise<any>;
|
|
848
|
+
declare function Ma(t: any, e: any, ...n: any[]): Oa;
|
|
849
849
|
/**
|
|
850
850
|
* Creates and returns a new `Query` instance that includes all documents in the
|
|
851
851
|
* database that are contained in a collection or subcollection with the
|
|
@@ -856,15 +856,15 @@ declare function ka(t: any, e: any, ...n: any[]): Na;
|
|
|
856
856
|
* collection or subcollection with this ID as the last segment of its path
|
|
857
857
|
* will be included. Cannot contain a slash.
|
|
858
858
|
* @returns The created `Query`.
|
|
859
|
-
*/ declare function
|
|
860
|
-
declare function
|
|
859
|
+
*/ declare function Fa(t: any, e: any): $a;
|
|
860
|
+
declare function ka(t: any, e: any, n: any, s?: {}): void;
|
|
861
861
|
/**
|
|
862
862
|
* Deletes the document referred to by the specified `DocumentReference`.
|
|
863
863
|
*
|
|
864
864
|
* @param reference - A reference to the document to delete.
|
|
865
865
|
* @returns A Promise resolved once the document has been successfully
|
|
866
866
|
* deleted from the backend (note that it won't resolve while you're offline).
|
|
867
|
-
*/ declare function
|
|
867
|
+
*/ declare function Vh(t: any): Promise<any>;
|
|
868
868
|
/**
|
|
869
869
|
* @license
|
|
870
870
|
* Copyright 2020 Google LLC
|
|
@@ -884,7 +884,7 @@ declare function Sa(t: any, e: any, n: any, s?: {}): void;
|
|
|
884
884
|
/**
|
|
885
885
|
* Returns a sentinel for use with {@link @firebase/firestore/lite#(updateDoc:1)} or
|
|
886
886
|
* {@link @firebase/firestore/lite#(setDoc:1)} with `{merge: true}` to mark a field for deletion.
|
|
887
|
-
*/ declare function
|
|
887
|
+
*/ declare function Oh(): Eu;
|
|
888
888
|
/**
|
|
889
889
|
* Disables network usage for this instance. It can be re-enabled via {@link
|
|
890
890
|
* enableNetwork}. While the network is disabled, any snapshot listeners,
|
|
@@ -892,12 +892,12 @@ declare function Sa(t: any, e: any, n: any, s?: {}): void;
|
|
|
892
892
|
* operations will be queued until the network is restored.
|
|
893
893
|
*
|
|
894
894
|
* @returns A `Promise` that is resolved once the network has been disabled.
|
|
895
|
-
*/ declare function
|
|
896
|
-
declare function
|
|
895
|
+
*/ declare function su(t: any): any;
|
|
896
|
+
declare function La(t: any, e: any, ...n: any[]): xa;
|
|
897
897
|
/**
|
|
898
898
|
* Returns a special sentinel `FieldPath` to refer to the ID of a document.
|
|
899
899
|
* It can be used in queries to sort or filter by the document ID.
|
|
900
|
-
*/ declare function
|
|
900
|
+
*/ declare function uu(): au;
|
|
901
901
|
/**
|
|
902
902
|
* Attempts to enable persistent storage, if possible.
|
|
903
903
|
*
|
|
@@ -920,7 +920,7 @@ declare function $a(t: any, e: any, ...n: any[]): Da;
|
|
|
920
920
|
* @param persistenceSettings - Optional settings object to configure
|
|
921
921
|
* persistence.
|
|
922
922
|
* @returns A `Promise` that represents successfully enabling persistent storage.
|
|
923
|
-
*/ declare function
|
|
923
|
+
*/ declare function Ya(t: any, e: any): any;
|
|
924
924
|
/**
|
|
925
925
|
* Attempts to enable multi-tab persistent storage, if possible. If enabled
|
|
926
926
|
* across all tabs, all operations share access to local persistence, including
|
|
@@ -942,22 +942,22 @@ declare function $a(t: any, e: any, ...n: any[]): Da;
|
|
|
942
942
|
* @param firestore - The {@link Firestore} instance to enable persistence for.
|
|
943
943
|
* @returns A `Promise` that represents successfully enabling persistent
|
|
944
944
|
* storage.
|
|
945
|
-
*/ declare function
|
|
945
|
+
*/ declare function Xa(t: any): any;
|
|
946
946
|
/**
|
|
947
947
|
* Re-enables use of the network for this {@link Firestore} instance after a prior
|
|
948
948
|
* call to {@link disableNetwork}.
|
|
949
949
|
*
|
|
950
950
|
* @returns A `Promise` that is resolved once the network has been enabled.
|
|
951
|
-
*/ declare function
|
|
952
|
-
declare function
|
|
953
|
-
declare function
|
|
951
|
+
*/ declare function nu(t: any): any;
|
|
952
|
+
declare function uh(...t: any[]): ch;
|
|
953
|
+
declare function ah(...t: any[]): ch;
|
|
954
954
|
/**
|
|
955
955
|
* @internal
|
|
956
|
-
*/ declare function
|
|
956
|
+
*/ declare function Ha(t: any): any;
|
|
957
957
|
/**
|
|
958
958
|
* Locally writes `mutations` on the async queue.
|
|
959
959
|
* @internal
|
|
960
|
-
*/ declare function
|
|
960
|
+
*/ declare function Nh(t: any, e: any): Promise<any>;
|
|
961
961
|
/**
|
|
962
962
|
* @license
|
|
963
963
|
* Copyright 2020 Google LLC
|
|
@@ -1009,21 +1009,21 @@ declare function ih(...t: any[]): sh;
|
|
|
1009
1009
|
* @returns A Promise resolved with a `DocumentSnapshot` containing the
|
|
1010
1010
|
* current document contents.
|
|
1011
1011
|
*/
|
|
1012
|
-
declare function
|
|
1012
|
+
declare function ph(t: any): Promise<Ku>;
|
|
1013
1013
|
/**
|
|
1014
1014
|
* Reads the document referred to by this `DocumentReference` from cache.
|
|
1015
1015
|
* Returns an error if the document is not currently cached.
|
|
1016
1016
|
*
|
|
1017
1017
|
* @returns A `Promise` resolved with a `DocumentSnapshot` containing the
|
|
1018
1018
|
* current document contents.
|
|
1019
|
-
*/ declare function
|
|
1019
|
+
*/ declare function Eh(t: any): Promise<Ku>;
|
|
1020
1020
|
/**
|
|
1021
1021
|
* Reads the document referred to by this `DocumentReference` from the server.
|
|
1022
1022
|
* Returns an error if the network is not available.
|
|
1023
1023
|
*
|
|
1024
1024
|
* @returns A `Promise` resolved with a `DocumentSnapshot` containing the
|
|
1025
1025
|
* current document contents.
|
|
1026
|
-
*/ declare function
|
|
1026
|
+
*/ declare function Ih(t: any): Promise<Ku>;
|
|
1027
1027
|
/**
|
|
1028
1028
|
* Executes the query and returns the results as a `QuerySnapshot`.
|
|
1029
1029
|
*
|
|
@@ -1033,19 +1033,19 @@ declare function _h(t: any): Promise<Lu>;
|
|
|
1033
1033
|
* invoke {@link getDocsFromCache} or {@link getDocsFromServer}.
|
|
1034
1034
|
*
|
|
1035
1035
|
* @returns A `Promise` that will be resolved with the results of the query.
|
|
1036
|
-
*/ declare function
|
|
1036
|
+
*/ declare function Ah(t: any): Promise<Qu>;
|
|
1037
1037
|
/**
|
|
1038
1038
|
* Executes the query and returns the results as a `QuerySnapshot` from cache.
|
|
1039
1039
|
* Returns an error if the document is not currently cached.
|
|
1040
1040
|
*
|
|
1041
1041
|
* @returns A `Promise` that will be resolved with the results of the query.
|
|
1042
|
-
*/ declare function
|
|
1042
|
+
*/ declare function Rh(t: any): Promise<Qu>;
|
|
1043
1043
|
/**
|
|
1044
1044
|
* Executes the query and returns the results as a `QuerySnapshot` from the
|
|
1045
1045
|
* server. Returns an error if the network is not available.
|
|
1046
1046
|
*
|
|
1047
1047
|
* @returns A `Promise` that will be resolved with the results of the query.
|
|
1048
|
-
*/ declare function
|
|
1048
|
+
*/ declare function bh(t: any): Promise<Qu>;
|
|
1049
1049
|
/**
|
|
1050
1050
|
* Returns the existing {@link Firestore} instance that is associated with the
|
|
1051
1051
|
* provided {@link @firebase/app#FirebaseApp}. If no instance exists, initializes a new
|
|
@@ -1054,7 +1054,7 @@ declare function _h(t: any): Promise<Lu>;
|
|
|
1054
1054
|
* @param app - The {@link @firebase/app#FirebaseApp} instance that the returned {@link Firestore}
|
|
1055
1055
|
* instance is associated with.
|
|
1056
1056
|
* @returns The {@link Firestore} instance of the provided app.
|
|
1057
|
-
*/ declare function
|
|
1057
|
+
*/ declare function za(e?: import("@firebase/app").FirebaseApp): import("../src").Firestore;
|
|
1058
1058
|
/**
|
|
1059
1059
|
* Returns a special value that can be used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link
|
|
1060
1060
|
* @firebase/firestore/lite#(updateDoc:1)} that tells the server to increment the field's current value by
|
|
@@ -1073,7 +1073,7 @@ declare function _h(t: any): Promise<Lu>;
|
|
|
1073
1073
|
* @param n - The value to increment by.
|
|
1074
1074
|
* @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
|
|
1075
1075
|
* `updateDoc()`
|
|
1076
|
-
*/ declare function
|
|
1076
|
+
*/ declare function Bh(t: any): Pu;
|
|
1077
1077
|
/**
|
|
1078
1078
|
* Initializes a new instance of {@link Firestore} with the provided settings.
|
|
1079
1079
|
* Can only be called before any other function, including
|
|
@@ -1084,13 +1084,13 @@ declare function _h(t: any): Promise<Lu>;
|
|
|
1084
1084
|
* be associated.
|
|
1085
1085
|
* @param settings - A settings object to configure the {@link Firestore} instance.
|
|
1086
1086
|
* @returns A newly initialized {@link Firestore} instance.
|
|
1087
|
-
*/ declare function
|
|
1087
|
+
*/ declare function Ga(t: any, e: any): import("../src").Firestore;
|
|
1088
1088
|
/**
|
|
1089
1089
|
* Creates a {@link QueryConstraint} that only returns the first matching documents.
|
|
1090
1090
|
*
|
|
1091
1091
|
* @param limit - The maximum number of items to return.
|
|
1092
1092
|
* @returns The created {@link Query}.
|
|
1093
|
-
*/ declare function
|
|
1093
|
+
*/ declare function nh(t: any): eh;
|
|
1094
1094
|
/**
|
|
1095
1095
|
* Creates a {@link QueryConstraint} that only returns the last matching documents.
|
|
1096
1096
|
*
|
|
@@ -1099,7 +1099,7 @@ declare function _h(t: any): Promise<Lu>;
|
|
|
1099
1099
|
*
|
|
1100
1100
|
* @param limit - The maximum number of items to return.
|
|
1101
1101
|
* @returns The created {@link Query}.
|
|
1102
|
-
*/ declare function
|
|
1102
|
+
*/ declare function sh(t: any): eh;
|
|
1103
1103
|
/**
|
|
1104
1104
|
* Loads a Firestore bundle into the local cache.
|
|
1105
1105
|
*
|
|
@@ -1110,7 +1110,7 @@ declare function _h(t: any): Promise<Lu>;
|
|
|
1110
1110
|
* @returns A `LoadBundleTask` object, which notifies callers with progress
|
|
1111
1111
|
* updates, and completion or error events. It can be used as a
|
|
1112
1112
|
* `Promise<LoadBundleTaskProgress>`.
|
|
1113
|
-
*/ declare function
|
|
1113
|
+
*/ declare function ru(t: any, e: any): ja;
|
|
1114
1114
|
/**
|
|
1115
1115
|
* Reads a Firestore {@link Query} from local cache, identified by the given
|
|
1116
1116
|
* name.
|
|
@@ -1122,9 +1122,9 @@ declare function _h(t: any): Promise<Lu>;
|
|
|
1122
1122
|
* @param firestore - The {@link Firestore} instance to read the query from.
|
|
1123
1123
|
* @param name - The name of the query.
|
|
1124
1124
|
* @returns A `Promise` that is resolved with the Query or `null`.
|
|
1125
|
-
*/ declare function
|
|
1126
|
-
declare function
|
|
1127
|
-
declare function
|
|
1125
|
+
*/ declare function ou(t: any, e: any): any;
|
|
1126
|
+
declare function Dh(t: any, ...e: any[]): () => void;
|
|
1127
|
+
declare function Ch(t: any, e: any): () => void;
|
|
1128
1128
|
/**
|
|
1129
1129
|
* Creates a {@link QueryConstraint} that sorts the query result by the
|
|
1130
1130
|
* specified field, optionally in descending order instead of ascending.
|
|
@@ -1133,7 +1133,7 @@ declare function vh(t: any, e: any): () => void;
|
|
|
1133
1133
|
* @param directionStr - Optional direction to sort by ('asc' or 'desc'). If
|
|
1134
1134
|
* not specified, order will be ascending.
|
|
1135
1135
|
* @returns The created {@link Query}.
|
|
1136
|
-
*/ declare function
|
|
1136
|
+
*/ declare function th(t: any, e?: string): Zu;
|
|
1137
1137
|
/**
|
|
1138
1138
|
* Creates a new immutable instance of {@link Query} that is extended to also include
|
|
1139
1139
|
* additional query constraints.
|
|
@@ -1142,7 +1142,7 @@ declare function vh(t: any, e: any): () => void;
|
|
|
1142
1142
|
* @param queryConstraints - The list of {@link QueryConstraint}s to apply.
|
|
1143
1143
|
* @throws if any of the provided query constraints cannot be combined with the
|
|
1144
1144
|
* existing or new constraints.
|
|
1145
|
-
*/ declare function
|
|
1145
|
+
*/ declare function Ju(t: any, ...e: any[]): any;
|
|
1146
1146
|
/**
|
|
1147
1147
|
* Returns true if the provided queries point to the same collection and apply
|
|
1148
1148
|
* the same constraints.
|
|
@@ -1151,7 +1151,7 @@ declare function vh(t: any, e: any): () => void;
|
|
|
1151
1151
|
* @param right - A `Query` to compare.
|
|
1152
1152
|
* @returns true if the references point to the same location in the same
|
|
1153
1153
|
* Firestore database.
|
|
1154
|
-
*/ declare function
|
|
1154
|
+
*/ declare function Ua(t: any, e: any): boolean;
|
|
1155
1155
|
/**
|
|
1156
1156
|
* Returns true if the provided references are equal.
|
|
1157
1157
|
*
|
|
@@ -1159,7 +1159,7 @@ declare function vh(t: any, e: any): () => void;
|
|
|
1159
1159
|
* @param right - A reference to compare.
|
|
1160
1160
|
* @returns true if the references point to the same location in the same
|
|
1161
1161
|
* Firestore database.
|
|
1162
|
-
*/ declare function
|
|
1162
|
+
*/ declare function Ba(t: any, e: any): boolean;
|
|
1163
1163
|
/**
|
|
1164
1164
|
* Executes the given `updateFunction` and then attempts to commit the changes
|
|
1165
1165
|
* applied within the transaction. If any document read within the transaction
|
|
@@ -1176,12 +1176,12 @@ declare function vh(t: any, e: any): () => void;
|
|
|
1176
1176
|
* (the `updateFunction` returned a failed promise), the promise returned by the
|
|
1177
1177
|
* `updateFunction `is returned here. Otherwise, if the transaction failed, a
|
|
1178
1178
|
* rejected promise with the corresponding failure error is returned.
|
|
1179
|
-
*/ declare function
|
|
1179
|
+
*/ declare function $h(t: any, e: any): Promise<any>;
|
|
1180
1180
|
/**
|
|
1181
1181
|
* Returns a sentinel used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link @firebase/firestore/lite#(updateDoc:1)} to
|
|
1182
1182
|
* include a server-generated timestamp in the written data.
|
|
1183
|
-
*/ declare function
|
|
1184
|
-
declare function
|
|
1183
|
+
*/ declare function Mh(): Au;
|
|
1184
|
+
declare function Ph(t: any, e: any, n: any): Promise<any>;
|
|
1185
1185
|
/**
|
|
1186
1186
|
* Sets the verbosity of Cloud Firestore logs (debug, error, or silent).
|
|
1187
1187
|
*
|
|
@@ -1201,9 +1201,9 @@ declare function Ih(t: any, e: any, n: any): Promise<any>;
|
|
|
1201
1201
|
* @param left - A snapshot to compare.
|
|
1202
1202
|
* @param right - A snapshot to compare.
|
|
1203
1203
|
* @returns true if the snapshots are equal.
|
|
1204
|
-
*/ declare function
|
|
1205
|
-
declare function
|
|
1206
|
-
declare function
|
|
1204
|
+
*/ declare function Gu(t: any, e: any): any;
|
|
1205
|
+
declare function oh(...t: any[]): ih;
|
|
1206
|
+
declare function rh(...t: any[]): ih;
|
|
1207
1207
|
/**
|
|
1208
1208
|
* Terminates the provided {@link Firestore} instance.
|
|
1209
1209
|
*
|
|
@@ -1225,8 +1225,8 @@ declare function eh(...t: any[]): th;
|
|
|
1225
1225
|
*
|
|
1226
1226
|
* @returns A `Promise` that is resolved when the instance has been successfully
|
|
1227
1227
|
* terminated.
|
|
1228
|
-
*/ declare function
|
|
1229
|
-
declare function
|
|
1228
|
+
*/ declare function iu(t: any): any;
|
|
1229
|
+
declare function vh(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
1230
1230
|
/**
|
|
1231
1231
|
* Waits until all currently pending writes for the active user have been
|
|
1232
1232
|
* acknowledged by the backend.
|
|
@@ -1242,7 +1242,7 @@ declare function Ah(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1242
1242
|
*
|
|
1243
1243
|
* @returns A `Promise` which resolves when all currently pending writes have been
|
|
1244
1244
|
* acknowledged by the backend.
|
|
1245
|
-
*/ declare function
|
|
1245
|
+
*/ declare function eu(t: any): Promise<any>;
|
|
1246
1246
|
/**
|
|
1247
1247
|
* Creates a {@link QueryConstraint} that enforces that documents must contain the
|
|
1248
1248
|
* specified field and that the value should satisfy the relation constraint
|
|
@@ -1253,7 +1253,7 @@ declare function Ah(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1253
1253
|
* "<=", "!=").
|
|
1254
1254
|
* @param value - The value for comparison
|
|
1255
1255
|
* @returns The created {@link Query}.
|
|
1256
|
-
*/ declare function
|
|
1256
|
+
*/ declare function Xu(t: any, e: any, n: any): Yu;
|
|
1257
1257
|
/**
|
|
1258
1258
|
* @license
|
|
1259
1259
|
* Copyright 2020 Google LLC
|
|
@@ -1280,7 +1280,7 @@ declare function Ah(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1280
1280
|
*
|
|
1281
1281
|
* @returns A {@link WriteBatch} that can be used to atomically execute multiple
|
|
1282
1282
|
* writes.
|
|
1283
|
-
*/ declare function
|
|
1283
|
+
*/ declare function Uh(t: any): yh;
|
|
1284
1284
|
/**
|
|
1285
1285
|
* @license
|
|
1286
1286
|
* Copyright 2020 Google LLC
|
|
@@ -1305,7 +1305,7 @@ declare function Ah(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1305
1305
|
* For a `DocumentSnapshot` that points to a non-existing document, any data
|
|
1306
1306
|
* access will return 'undefined'. You can use the `exists()` method to
|
|
1307
1307
|
* explicitly verify a document's existence.
|
|
1308
|
-
*/ declare class
|
|
1308
|
+
*/ declare class Lu {
|
|
1309
1309
|
/** @hideconstructor protected */
|
|
1310
1310
|
constructor(t: any, e: any, n: any, s: any, i: any);
|
|
1311
1311
|
_firestore: any;
|
|
@@ -1316,7 +1316,7 @@ declare function Ah(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1316
1316
|
/** Property of the `DocumentSnapshot` that provides the document's ID. */ get id(): any;
|
|
1317
1317
|
/**
|
|
1318
1318
|
* The `DocumentReference` for the document included in the `DocumentSnapshot`.
|
|
1319
|
-
*/ get ref():
|
|
1319
|
+
*/ get ref(): xa;
|
|
1320
1320
|
/**
|
|
1321
1321
|
* Signals whether or not the document at the snapshot's location exists.
|
|
1322
1322
|
*
|
|
@@ -1360,7 +1360,7 @@ declare function Ah(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1360
1360
|
* The Cloud Firestore service interface.
|
|
1361
1361
|
*
|
|
1362
1362
|
* Do not call this constructor directly. Instead, use {@link getFirestore}.
|
|
1363
|
-
*/ declare class
|
|
1363
|
+
*/ declare class Na {
|
|
1364
1364
|
/** @hideconstructor */
|
|
1365
1365
|
constructor(t: any, e: any, n: any);
|
|
1366
1366
|
_authCredentials: any;
|
|
@@ -1370,7 +1370,7 @@ declare function Ah(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1370
1370
|
*/
|
|
1371
1371
|
type: string;
|
|
1372
1372
|
_persistenceKey: string;
|
|
1373
|
-
_settings:
|
|
1373
|
+
_settings: Ca;
|
|
1374
1374
|
_settingsFrozen: boolean;
|
|
1375
1375
|
_databaseId: Vt;
|
|
1376
1376
|
_app: any;
|
|
@@ -1381,14 +1381,14 @@ declare function Ah(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1381
1381
|
get _initialized(): boolean;
|
|
1382
1382
|
get _terminated(): boolean;
|
|
1383
1383
|
_setSettings(t: any): void;
|
|
1384
|
-
_getSettings():
|
|
1385
|
-
_freezeSettings():
|
|
1384
|
+
_getSettings(): Ca;
|
|
1385
|
+
_freezeSettings(): Ca;
|
|
1386
1386
|
_delete(): Promise<void>;
|
|
1387
1387
|
_terminateTask: Promise<void> | undefined;
|
|
1388
1388
|
/** Returns a JSON-serializable representation of this `Firestore` instance. */ toJSON(): {
|
|
1389
1389
|
app: any;
|
|
1390
1390
|
databaseId: Vt;
|
|
1391
|
-
settings:
|
|
1391
|
+
settings: Ca;
|
|
1392
1392
|
};
|
|
1393
1393
|
/**
|
|
1394
1394
|
* Terminates all components used by this client. Subclasses can override
|
|
@@ -1413,17 +1413,17 @@ declare function Ah(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1413
1413
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1414
1414
|
* See the License for the specific language governing permissions and
|
|
1415
1415
|
* limitations under the License.
|
|
1416
|
-
*/ declare class
|
|
1417
|
-
|
|
1416
|
+
*/ declare class qa {
|
|
1417
|
+
gc: Promise<void>;
|
|
1418
|
+
Tc: any[];
|
|
1419
|
+
Ec: boolean;
|
|
1418
1420
|
Ic: any[];
|
|
1419
|
-
Ac:
|
|
1420
|
-
Rc:
|
|
1421
|
-
bc:
|
|
1422
|
-
Pc:
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
wr: co;
|
|
1426
|
-
Sc: () => void;
|
|
1421
|
+
Ac: any;
|
|
1422
|
+
Rc: boolean;
|
|
1423
|
+
bc: boolean;
|
|
1424
|
+
Pc: any[];
|
|
1425
|
+
lr: lo;
|
|
1426
|
+
vc: () => void;
|
|
1427
1427
|
get isShuttingDown(): boolean;
|
|
1428
1428
|
/**
|
|
1429
1429
|
* Adds a new operation to the queue without waiting for it to complete (i.e.
|
|
@@ -1436,30 +1436,30 @@ declare function Ah(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1436
1436
|
/**
|
|
1437
1437
|
* Runs the next operation from the retryable queue. If the operation fails,
|
|
1438
1438
|
* reschedules with backoff.
|
|
1439
|
-
*/
|
|
1440
|
-
|
|
1441
|
-
enqueueAfterDelay(t: any, e: any, n: any):
|
|
1442
|
-
|
|
1439
|
+
*/ Dc(): Promise<void>;
|
|
1440
|
+
Sc(t: any): Promise<any>;
|
|
1441
|
+
enqueueAfterDelay(t: any, e: any, n: any): Go;
|
|
1442
|
+
Vc(): void;
|
|
1443
1443
|
verifyOperationInProgress(): void;
|
|
1444
1444
|
/**
|
|
1445
1445
|
* Waits until all currently queued tasks are finished executing. Delayed
|
|
1446
1446
|
* operations are not run.
|
|
1447
|
-
*/
|
|
1447
|
+
*/ Nc(): Promise<void>;
|
|
1448
1448
|
/**
|
|
1449
1449
|
* For Tests: Determine if a delayed operation with a particular TimerId
|
|
1450
1450
|
* exists.
|
|
1451
|
-
*/
|
|
1451
|
+
*/ kc(t: any): boolean;
|
|
1452
1452
|
/**
|
|
1453
1453
|
* For Tests: Runs some or all delayed operations early.
|
|
1454
1454
|
*
|
|
1455
1455
|
* @param lastTimerId - Delayed operations up to and including this TimerId
|
|
1456
1456
|
* will be drained. Pass TimerId.All to run all delayed operations.
|
|
1457
1457
|
* @returns a Promise that resolves once all operations have been run.
|
|
1458
|
-
*/
|
|
1458
|
+
*/ xc(t: any): Promise<void>;
|
|
1459
1459
|
/**
|
|
1460
1460
|
* For Tests: Skip all subsequent delays for a timer id.
|
|
1461
|
-
*/
|
|
1462
|
-
/** Called once a DelayedOperation is run or canceled. */
|
|
1461
|
+
*/ $c(t: any): void;
|
|
1462
|
+
/** Called once a DelayedOperation is run or canceled. */ Cc(t: any): void;
|
|
1463
1463
|
}
|
|
1464
1464
|
import { FirebaseError as a } from "@firebase/util/dist/src/errors";
|
|
1465
1465
|
/**
|
|
@@ -1485,12 +1485,12 @@ import { FirebaseError as a } from "@firebase/util/dist/src/errors";
|
|
|
1485
1485
|
/**
|
|
1486
1486
|
* Helper for parsing raw user input (provided via the API) into internal model
|
|
1487
1487
|
* classes.
|
|
1488
|
-
*/ declare class
|
|
1488
|
+
*/ declare class gu {
|
|
1489
1489
|
constructor(t: any, e: any, n: any);
|
|
1490
1490
|
databaseId: any;
|
|
1491
1491
|
ignoreUndefinedProperties: any;
|
|
1492
|
-
|
|
1493
|
-
/** Creates a new top-level parse context. */
|
|
1492
|
+
O: any;
|
|
1493
|
+
/** Creates a new top-level parse context. */ Gc(t: any, e: any, n: any, s?: boolean): yu;
|
|
1494
1494
|
}
|
|
1495
1495
|
declare class Z {
|
|
1496
1496
|
constructor(t: any);
|
|
@@ -1538,67 +1538,67 @@ declare class dt {
|
|
|
1538
1538
|
forEach(t: any): void;
|
|
1539
1539
|
toArray(): any;
|
|
1540
1540
|
}
|
|
1541
|
-
declare class
|
|
1541
|
+
declare class bu extends lu {
|
|
1542
1542
|
constructor(t: any, e: any);
|
|
1543
|
-
|
|
1543
|
+
zc: any;
|
|
1544
1544
|
_toFieldTransform(t: any): tn;
|
|
1545
1545
|
isEqual(t: any): boolean;
|
|
1546
1546
|
}
|
|
1547
|
-
declare class
|
|
1547
|
+
declare class Ru extends lu {
|
|
1548
1548
|
constructor(t: any, e: any);
|
|
1549
|
-
|
|
1549
|
+
zc: any;
|
|
1550
1550
|
_toFieldTransform(t: any): tn;
|
|
1551
1551
|
isEqual(t: any): boolean;
|
|
1552
1552
|
}
|
|
1553
|
-
declare class
|
|
1553
|
+
declare class Eu extends lu {
|
|
1554
1554
|
_toFieldTransform(t: any): null;
|
|
1555
1555
|
isEqual(t: any): boolean;
|
|
1556
1556
|
}
|
|
1557
|
-
declare class
|
|
1557
|
+
declare class ch extends Hu {
|
|
1558
1558
|
constructor(t: any, e: any, n: any);
|
|
1559
1559
|
type: any;
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
_apply(t: any):
|
|
1560
|
+
na: any;
|
|
1561
|
+
sa: any;
|
|
1562
|
+
_apply(t: any): $a;
|
|
1563
1563
|
}
|
|
1564
|
-
declare class
|
|
1564
|
+
declare class Pu extends lu {
|
|
1565
1565
|
constructor(t: any, e: any);
|
|
1566
|
-
|
|
1566
|
+
Hc: any;
|
|
1567
1567
|
_toFieldTransform(t: any): tn;
|
|
1568
1568
|
isEqual(t: any): boolean;
|
|
1569
1569
|
}
|
|
1570
|
-
declare class
|
|
1570
|
+
declare class eh extends Hu {
|
|
1571
1571
|
constructor(t: any, e: any, n: any);
|
|
1572
1572
|
type: any;
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
_apply(t: any):
|
|
1573
|
+
ta: any;
|
|
1574
|
+
ea: any;
|
|
1575
|
+
_apply(t: any): $a;
|
|
1576
1576
|
}
|
|
1577
|
-
declare class
|
|
1577
|
+
declare class Zu extends Hu {
|
|
1578
1578
|
constructor(t: any, e: any);
|
|
1579
|
-
|
|
1580
|
-
|
|
1579
|
+
Jc: any;
|
|
1580
|
+
Zc: any;
|
|
1581
1581
|
type: string;
|
|
1582
|
-
_apply(t: any):
|
|
1582
|
+
_apply(t: any): $a;
|
|
1583
1583
|
}
|
|
1584
|
-
declare class
|
|
1584
|
+
declare class Au extends lu {
|
|
1585
1585
|
_toFieldTransform(t: any): tn;
|
|
1586
1586
|
isEqual(t: any): boolean;
|
|
1587
1587
|
}
|
|
1588
|
-
declare class
|
|
1588
|
+
declare class ih extends Hu {
|
|
1589
1589
|
constructor(t: any, e: any, n: any);
|
|
1590
1590
|
type: any;
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
_apply(t: any):
|
|
1591
|
+
na: any;
|
|
1592
|
+
sa: any;
|
|
1593
|
+
_apply(t: any): $a;
|
|
1594
1594
|
}
|
|
1595
|
-
declare class
|
|
1595
|
+
declare class Yu extends Hu {
|
|
1596
1596
|
constructor(t: any, e: any, n: any);
|
|
1597
|
+
Jc: any;
|
|
1598
|
+
Yc: any;
|
|
1597
1599
|
Xc: any;
|
|
1598
|
-
Zc: any;
|
|
1599
|
-
ta: any;
|
|
1600
1600
|
type: string;
|
|
1601
|
-
_apply(t: any):
|
|
1601
|
+
_apply(t: any): $a;
|
|
1602
1602
|
}
|
|
1603
1603
|
/**
|
|
1604
1604
|
* @license
|
|
@@ -1621,7 +1621,7 @@ declare class Gu extends Qu {
|
|
|
1621
1621
|
* user-supplied `FirestoreSettings` object. This is a separate type so that
|
|
1622
1622
|
* defaults can be supplied and the value can be checked for equality.
|
|
1623
1623
|
*/
|
|
1624
|
-
declare class
|
|
1624
|
+
declare class Ca {
|
|
1625
1625
|
constructor(t: any);
|
|
1626
1626
|
host: any;
|
|
1627
1627
|
ssl: any;
|
|
@@ -1645,17 +1645,17 @@ declare class va {
|
|
|
1645
1645
|
* base delay. This prevents clients from accidentally synchronizing their
|
|
1646
1646
|
* delays causing spikes of load to the backend.
|
|
1647
1647
|
*/
|
|
1648
|
-
declare class
|
|
1648
|
+
declare class lo {
|
|
1649
1649
|
constructor(t: any, e: any, n?: number, s?: number, i?: number);
|
|
1650
|
-
|
|
1650
|
+
Le: any;
|
|
1651
1651
|
timerId: any;
|
|
1652
|
+
zi: number;
|
|
1653
|
+
Hi: number;
|
|
1652
1654
|
Ji: number;
|
|
1653
1655
|
Yi: number;
|
|
1654
|
-
Xi:
|
|
1655
|
-
Zi: number;
|
|
1656
|
-
tr: any;
|
|
1656
|
+
Xi: any;
|
|
1657
1657
|
/** The last backoff attempt, as epoch milliseconds. */
|
|
1658
|
-
|
|
1658
|
+
Zi: number;
|
|
1659
1659
|
/**
|
|
1660
1660
|
* Resets the backoff delay.
|
|
1661
1661
|
*
|
|
@@ -1666,15 +1666,15 @@ declare class co {
|
|
|
1666
1666
|
/**
|
|
1667
1667
|
* Resets the backoff delay to the maximum delay (e.g. for use after a
|
|
1668
1668
|
* RESOURCE_EXHAUSTED error).
|
|
1669
|
-
*/
|
|
1669
|
+
*/ tr(): void;
|
|
1670
1670
|
/**
|
|
1671
1671
|
* Returns a promise that resolves after currentDelayMs, and increases the
|
|
1672
1672
|
* delay for any subsequent attempts. If there was a pending backoff operation
|
|
1673
1673
|
* already, it will be canceled.
|
|
1674
|
-
*/
|
|
1675
|
-
|
|
1674
|
+
*/ er(t: any): void;
|
|
1675
|
+
sr(): void;
|
|
1676
1676
|
cancel(): void;
|
|
1677
|
-
/** Returns a random value in the range [-currentBaseMs/2, currentBaseMs/2] */
|
|
1677
|
+
/** Returns a random value in the range [-currentBaseMs/2, currentBaseMs/2] */ nr(): number;
|
|
1678
1678
|
}
|
|
1679
1679
|
/**
|
|
1680
1680
|
* @license
|
|
@@ -1703,7 +1703,7 @@ declare class co {
|
|
|
1703
1703
|
* in newer versions of TypeScript defines `finally`, which is not available in
|
|
1704
1704
|
* IE.
|
|
1705
1705
|
*/
|
|
1706
|
-
declare class
|
|
1706
|
+
declare class Go {
|
|
1707
1707
|
/**
|
|
1708
1708
|
* Creates and returns a DelayedOperation that has been scheduled to be
|
|
1709
1709
|
* executed on the provided asyncQueue after the provided delayMs.
|
|
@@ -1717,7 +1717,7 @@ declare class Ko {
|
|
|
1717
1717
|
* from its delayedOperations list.
|
|
1718
1718
|
* PORTING NOTE: This exists to prevent making removeDelayedOperation() and
|
|
1719
1719
|
* the DelayedOperation class public.
|
|
1720
|
-
*/ 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): Go;
|
|
1721
1721
|
constructor(t: any, e: any, n: any, s: any, i: any);
|
|
1722
1722
|
asyncQueue: any;
|
|
1723
1723
|
timerId: any;
|
|
@@ -1745,7 +1745,7 @@ declare class Ko {
|
|
|
1745
1745
|
handleDelayElapsed(): void;
|
|
1746
1746
|
clearTimeout(): void;
|
|
1747
1747
|
}
|
|
1748
|
-
/** A "context" object passed around while parsing user data. */ declare class
|
|
1748
|
+
/** A "context" object passed around while parsing user data. */ declare class yu {
|
|
1749
1749
|
/**
|
|
1750
1750
|
* Initializes a ParseContext with the given source and path.
|
|
1751
1751
|
*
|
|
@@ -1767,20 +1767,20 @@ declare class Ko {
|
|
|
1767
1767
|
constructor(t: any, e: any, n: any, s: any, i: any, r: any);
|
|
1768
1768
|
settings: any;
|
|
1769
1769
|
databaseId: any;
|
|
1770
|
-
|
|
1770
|
+
O: any;
|
|
1771
1771
|
ignoreUndefinedProperties: any;
|
|
1772
1772
|
fieldTransforms: any;
|
|
1773
1773
|
fieldMask: any;
|
|
1774
1774
|
get path(): any;
|
|
1775
|
-
get
|
|
1776
|
-
/** Returns a new context with the specified settings overwritten. */
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1775
|
+
get Mc(): any;
|
|
1776
|
+
/** Returns a new context with the specified settings overwritten. */ Fc(t: any): yu;
|
|
1777
|
+
Lc(t: any): yu;
|
|
1778
|
+
qc(t: any): yu;
|
|
1779
|
+
Kc(t: any): yu;
|
|
1780
|
+
jc(t: any): Q;
|
|
1781
1781
|
/** Returns 'true' if 'fieldPath' was traversed when creating this context. */ contains(t: any): boolean;
|
|
1782
|
-
|
|
1783
|
-
|
|
1782
|
+
Oc(): void;
|
|
1783
|
+
Uc(t: any): void;
|
|
1784
1784
|
}
|
|
1785
1785
|
/**
|
|
1786
1786
|
* @license
|
|
@@ -1803,4 +1803,4 @@ declare class Ko {
|
|
|
1803
1803
|
field: any;
|
|
1804
1804
|
transform: any;
|
|
1805
1805
|
}
|
|
1806
|
-
export {
|
|
1806
|
+
export { wh as AbstractUserDataWriter, hu as Bytes, Qa as CACHE_SIZE_UNLIMITED, Oa as CollectionReference, xa as DocumentReference, Ku as DocumentSnapshot, au as FieldPath, lu as FieldValue, Wa as Firestore, Q as FirestoreError, fu as GeoPoint, ja as LoadBundleTask, $a as Query, Hu as QueryConstraint, ju as QueryDocumentSnapshot, Qu as QuerySnapshot, qu as SnapshotMetadata, at as Timestamp, xh as Transaction, yh as WriteBatch, Vt as _DatabaseId, Nt as _DocumentKey, et as _EmptyAppCheckTokenProvider, z as _EmptyAuthCredentialsProvider, mt as _FieldPath, Sa as _cast, q as _debugAssert, gt as _isBase64Available, F as _logWarn, qh as _setIndexConfiguration, ba as _validateIsNotUsedTogether, Sh as addDoc, Lh as arrayRemove, Fh as arrayUnion, tu as clearIndexedDbPersistence, Ma as collection, Fa as collectionGroup, ka as connectFirestoreEmulator, Vh as deleteDoc, Oh as deleteField, su as disableNetwork, La as doc, uu as documentId, Ya as enableIndexedDbPersistence, Xa as enableMultiTabIndexedDbPersistence, nu as enableNetwork, uh as endAt, ah as endBefore, Ha as ensureFirestoreConfigured, Nh as executeWrite, ph as getDoc, Eh as getDocFromCache, Ih as getDocFromServer, Ah as getDocs, Rh as getDocsFromCache, bh as getDocsFromServer, za as getFirestore, Bh as increment, Ga as initializeFirestore, nh as limit, sh as limitToLast, ru as loadBundle, ou as namedQuery, Dh as onSnapshot, Ch as onSnapshotsInSync, th as orderBy, Ju as query, Ua as queryEqual, Ba as refEqual, $h as runTransaction, Mh as serverTimestamp, Ph as setDoc, $ as setLogLevel, Gu as snapshotEqual, oh as startAfter, rh as startAt, iu as terminate, vh as updateDoc, eu as waitForPendingWrites, Xu as where, Uh as writeBatch };
|