@firebase/firestore 3.4.10-canary.efe2000fc → 3.4.11-canary.1d3a34d7d
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist/index.esm2017.js +824 -824
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +1162 -1162
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +2 -2
- package/dist/index.node.mjs +2 -2
- package/dist/index.node.mjs.map +1 -1
- package/dist/index.rn.js +3 -3
- 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/packages/firestore/dist/index.esm2017.d.ts +101 -101
- package/package.json +10 -10
|
@@ -66,7 +66,7 @@ f.MOCK_USER = new f("mock-user");
|
|
|
66
66
|
* See the License for the specific language governing permissions and
|
|
67
67
|
* limitations under the License.
|
|
68
68
|
*/
|
|
69
|
-
let d = "9.8.
|
|
69
|
+
let d = "9.8.4-canary.1d3a34d7d";
|
|
70
70
|
|
|
71
71
|
/**
|
|
72
72
|
* @license
|
|
@@ -6501,7 +6501,7 @@ class Kr {
|
|
|
6501
6501
|
return e && r._setSettings(e), r;
|
|
6502
6502
|
}), "PUBLIC")),
|
|
6503
6503
|
// RUNTIME_ENV and BUILD_TARGET are replaced by real values during the compilation
|
|
6504
|
-
r("firestore-lite", "3.4.
|
|
6504
|
+
r("firestore-lite", "3.4.11-canary.1d3a34d7d", "rn"), r("firestore-lite", "3.4.11-canary.1d3a34d7d", "esm2017");
|
|
6505
6505
|
|
|
6506
6506
|
export { Rn as Bytes, _n as CollectionReference, pn as DocumentReference, er as DocumentSnapshot, In as FieldPath, Pn as FieldValue, ln as Firestore, M as FirestoreError, Vn as GeoPoint, yn as Query, or as QueryConstraint, nr as QueryDocumentSnapshot, rr as QuerySnapshot, vt as Timestamp, Kr as Transaction, Cr as WriteBatch, xr as addDoc, Or as arrayRemove, qr as arrayUnion, gn as collection, vn as collectionGroup, wn as connectFirestoreEmulator, Dr as deleteDoc, Sr as deleteField, bn as doc, An as documentId, vr as endAt, gr as endBefore, Pr as getDoc, Vr as getDocs, dn as getFirestore, kr as increment, fn as initializeFirestore, dr as limit, wr as limitToLast, lr as orderBy, ur as query, Tn as queryEqual, En as refEqual, Qr as runTransaction, Fr as serverTimestamp, Nr as setDoc, m as setLogLevel, sr as snapshotEqual, yr as startAfter, pr as startAt, mn as terminate, $r as updateDoc, ar as where, Mr as writeBatch };
|
|
6507
6507
|
//# sourceMappingURL=index.rn.esm2017.js.map
|
|
@@ -100,11 +100,11 @@ declare class ol {
|
|
|
100
100
|
* See the License for the specific language governing permissions and
|
|
101
101
|
* limitations under the License.
|
|
102
102
|
*/
|
|
103
|
-
/** DOMException error code constants. */ declare const
|
|
103
|
+
/** DOMException error code constants. */ declare const Mc: -1;
|
|
104
104
|
/**
|
|
105
105
|
* A `CollectionReference` object can be used for adding documents, getting
|
|
106
106
|
* document references, and querying for documents (using {@link query}).
|
|
107
|
-
*/ declare class
|
|
107
|
+
*/ declare class vc extends Pc {
|
|
108
108
|
_path: any;
|
|
109
109
|
/** The collection's identifier. */ get id(): any;
|
|
110
110
|
/**
|
|
@@ -114,7 +114,7 @@ declare class ol {
|
|
|
114
114
|
/**
|
|
115
115
|
* A reference to the containing `DocumentReference` if this is a
|
|
116
116
|
* subcollection. If this isn't a subcollection, the reference is null.
|
|
117
|
-
*/ get parent():
|
|
117
|
+
*/ get parent(): bc | null;
|
|
118
118
|
}
|
|
119
119
|
/**
|
|
120
120
|
* @license
|
|
@@ -136,7 +136,7 @@ declare class ol {
|
|
|
136
136
|
* A `DocumentReference` refers to a document location in a Firestore database
|
|
137
137
|
* and can be used to write, read, or listen to the location. The document at
|
|
138
138
|
* the referenced location may or may not exist.
|
|
139
|
-
*/ declare class
|
|
139
|
+
*/ declare class bc {
|
|
140
140
|
/** @hideconstructor */
|
|
141
141
|
constructor(t: any, e: any, n: any);
|
|
142
142
|
converter: any;
|
|
@@ -154,8 +154,8 @@ declare class ol {
|
|
|
154
154
|
*/ get path(): any;
|
|
155
155
|
/**
|
|
156
156
|
* The collection this `DocumentReference` belongs to.
|
|
157
|
-
*/ get parent():
|
|
158
|
-
withConverter(t: any):
|
|
157
|
+
*/ get parent(): vc;
|
|
158
|
+
withConverter(t: any): bc;
|
|
159
159
|
}
|
|
160
160
|
/**
|
|
161
161
|
* A `DocumentSnapshot` contains data read from a document in your Firestore
|
|
@@ -211,7 +211,7 @@ declare class ol {
|
|
|
211
211
|
* Create a `FieldPath` by providing field names. If more than one field
|
|
212
212
|
* name is provided, the path will point to a nested field in a document.
|
|
213
213
|
*/
|
|
214
|
-
declare class
|
|
214
|
+
declare class Zc {
|
|
215
215
|
/**
|
|
216
216
|
* Creates a `FieldPath` from the provided field names. If more than one field
|
|
217
217
|
* name is provided, the path will point to a nested field in a document.
|
|
@@ -259,10 +259,10 @@ declare class Za {
|
|
|
259
259
|
*
|
|
260
260
|
* Do not call this constructor directly. Instead, use {@link getFirestore}.
|
|
261
261
|
*/
|
|
262
|
-
declare class
|
|
263
|
-
_queue:
|
|
262
|
+
declare class Fc extends Ac {
|
|
263
|
+
_queue: Nc;
|
|
264
264
|
}
|
|
265
|
-
/** An error returned by a Firestore operation. */ declare class Q extends
|
|
265
|
+
/** An error returned by a Firestore operation. */ declare class Q extends a {
|
|
266
266
|
/** @hideconstructor */
|
|
267
267
|
constructor(t: any, e: any);
|
|
268
268
|
}
|
|
@@ -319,7 +319,7 @@ declare class Fa extends Aa {
|
|
|
319
319
|
* with an underscore.
|
|
320
320
|
*/ _compareTo(t: any): 0 | 1 | -1;
|
|
321
321
|
}
|
|
322
|
-
declare class
|
|
322
|
+
declare class Oc {
|
|
323
323
|
_progressObserver: {};
|
|
324
324
|
_taskCompletionResolver: j;
|
|
325
325
|
_lastProgress: {
|
|
@@ -371,7 +371,7 @@ declare class Oa {
|
|
|
371
371
|
/**
|
|
372
372
|
* A `Query` refers to a query which you can read or listen to. You can also
|
|
373
373
|
* construct refined `Query` objects by adding filters and ordering.
|
|
374
|
-
*/ declare class
|
|
374
|
+
*/ declare class Pc {
|
|
375
375
|
/** @hideconstructor protected */
|
|
376
376
|
constructor(t: any, e: any, n: any);
|
|
377
377
|
converter: any;
|
|
@@ -379,7 +379,7 @@ declare class Oa {
|
|
|
379
379
|
/** The type of this Firestore reference. */
|
|
380
380
|
type: string;
|
|
381
381
|
firestore: any;
|
|
382
|
-
withConverter(t: any):
|
|
382
|
+
withConverter(t: any): Pc;
|
|
383
383
|
}
|
|
384
384
|
/**
|
|
385
385
|
* A `QueryConstraint` is used to narrow the set of documents returned by a
|
|
@@ -569,7 +569,7 @@ declare const Pl_base: {
|
|
|
569
569
|
new (t: any, e: any): {
|
|
570
570
|
_firestore: any;
|
|
571
571
|
_transaction: any;
|
|
572
|
-
_dataReader:
|
|
572
|
+
_dataReader: ch;
|
|
573
573
|
/**
|
|
574
574
|
* Reads the document referenced by the provided {@link DocumentReference}.
|
|
575
575
|
*
|
|
@@ -633,22 +633,22 @@ declare const Pl_base: {
|
|
|
633
633
|
* provides methods for adding writes to the write batch. None of the writes
|
|
634
634
|
* will be committed (or visible locally) until {@link WriteBatch.commit} is
|
|
635
635
|
* called.
|
|
636
|
-
*/ declare class
|
|
636
|
+
*/ declare class cl {
|
|
637
637
|
/** @hideconstructor */
|
|
638
638
|
constructor(t: any, e: any);
|
|
639
639
|
_firestore: any;
|
|
640
640
|
_commitHandler: any;
|
|
641
641
|
_mutations: any[];
|
|
642
642
|
_committed: boolean;
|
|
643
|
-
_dataReader:
|
|
644
|
-
set(t: any, e: any, n: any):
|
|
645
|
-
update(t: any, e: any, n: any, ...s: any[]):
|
|
643
|
+
_dataReader: ch;
|
|
644
|
+
set(t: any, e: any, n: any): cl;
|
|
645
|
+
update(t: any, e: any, n: any, ...s: any[]): cl;
|
|
646
646
|
/**
|
|
647
647
|
* Deletes the document referred to by the provided {@link DocumentReference}.
|
|
648
648
|
*
|
|
649
649
|
* @param documentRef - A reference to the document to be deleted.
|
|
650
650
|
* @returns This `WriteBatch` instance. Used for chaining method calls.
|
|
651
|
-
*/ delete(t: any):
|
|
651
|
+
*/ delete(t: any): cl;
|
|
652
652
|
/**
|
|
653
653
|
* Commits all of the writes in this write batch as a single atomic unit.
|
|
654
654
|
*
|
|
@@ -736,7 +736,7 @@ declare class re {
|
|
|
736
736
|
/**
|
|
737
737
|
* A dot-separated path for navigating sub-objects within a document.
|
|
738
738
|
* @internal
|
|
739
|
-
*/ declare class ft extends
|
|
739
|
+
*/ declare class ft extends ct {
|
|
740
740
|
/**
|
|
741
741
|
* Returns true if the string could be used as a segment in a field path
|
|
742
742
|
* without escaping.
|
|
@@ -762,7 +762,7 @@ declare class re {
|
|
|
762
762
|
* Returns true if this field references the key of a document.
|
|
763
763
|
*/ isKeyField(): boolean;
|
|
764
764
|
}
|
|
765
|
-
declare function
|
|
765
|
+
declare function Ic(t: any, e: any): any;
|
|
766
766
|
/**
|
|
767
767
|
* Fails if the given assertion condition is false, throwing an Error with the
|
|
768
768
|
* given message if it did.
|
|
@@ -814,7 +814,7 @@ declare function Ht(): boolean;
|
|
|
814
814
|
/**
|
|
815
815
|
* Validates that two boolean options are not set at the same time.
|
|
816
816
|
* @internal
|
|
817
|
-
*/ declare function
|
|
817
|
+
*/ declare function mc(t: any, e: any, n: any, s: any): void;
|
|
818
818
|
/**
|
|
819
819
|
* Add a new document to specified `CollectionReference` with the given data,
|
|
820
820
|
* assigning it a document ID automatically.
|
|
@@ -824,7 +824,7 @@ declare function Ht(): boolean;
|
|
|
824
824
|
* @returns A `Promise` resolved with a `DocumentReference` pointing to the
|
|
825
825
|
* newly created document after it has been written to the backend (Note that it
|
|
826
826
|
* won't resolve while you're offline).
|
|
827
|
-
*/ declare function Tl(t: any, e: any): Promise<
|
|
827
|
+
*/ declare function Tl(t: any, e: any): Promise<bc>;
|
|
828
828
|
/**
|
|
829
829
|
* Returns a special value that can be used with {@link (setDoc:1)} or {@link
|
|
830
830
|
* updateDoc:1} that tells the server to remove the given elements from any
|
|
@@ -848,8 +848,8 @@ declare function Ht(): boolean;
|
|
|
848
848
|
* @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
|
|
849
849
|
* `updateDoc()`.
|
|
850
850
|
*/ declare function Dl(...t: any[]): wh;
|
|
851
|
-
declare function
|
|
852
|
-
declare function
|
|
851
|
+
declare function Qc(t: any): Promise<any>;
|
|
852
|
+
declare function Vc(t: any, e: any, ...n: any[]): vc;
|
|
853
853
|
/**
|
|
854
854
|
* Creates and returns a new `Query` instance that includes all documents in the
|
|
855
855
|
* database that are contained in a collection or subcollection with the
|
|
@@ -860,8 +860,8 @@ declare function Va(t: any, e: any, ...n: any[]): va;
|
|
|
860
860
|
* collection or subcollection with this ID as the last segment of its path
|
|
861
861
|
* will be included. Cannot contain a slash.
|
|
862
862
|
* @returns The created `Query`.
|
|
863
|
-
*/ declare function
|
|
864
|
-
declare function
|
|
863
|
+
*/ declare function Sc(t: any, e: any): Pc;
|
|
864
|
+
declare function Rc(t: any, e: any, n: any, s?: {}): void;
|
|
865
865
|
/**
|
|
866
866
|
* Deletes the document referred to by the specified `DocumentReference`.
|
|
867
867
|
*
|
|
@@ -896,12 +896,12 @@ declare function Ra(t: any, e: any, n: any, s?: {}): void;
|
|
|
896
896
|
* operations will be queued until the network is restored.
|
|
897
897
|
*
|
|
898
898
|
* @returns A `Promise` that is resolved once the network has been disabled.
|
|
899
|
-
*/ declare function
|
|
900
|
-
declare function
|
|
899
|
+
*/ declare function zc(t: any): any;
|
|
900
|
+
declare function Dc(t: any, e: any, ...n: any[]): bc;
|
|
901
901
|
/**
|
|
902
902
|
* Returns a special sentinel `FieldPath` to refer to the ID of a document.
|
|
903
903
|
* It can be used in queries to sort or filter by the document ID.
|
|
904
|
-
*/ declare function th():
|
|
904
|
+
*/ declare function th(): Zc;
|
|
905
905
|
/**
|
|
906
906
|
* Attempts to enable persistent storage, if possible.
|
|
907
907
|
*
|
|
@@ -924,7 +924,7 @@ declare function Da(t: any, e: any, ...n: any[]): ba;
|
|
|
924
924
|
* @param persistenceSettings - Optional settings object to configure
|
|
925
925
|
* persistence.
|
|
926
926
|
* @returns A `Promise` that represents successfully enabling persistent storage.
|
|
927
|
-
*/ declare function
|
|
927
|
+
*/ declare function qc(t: any, e: any): any;
|
|
928
928
|
/**
|
|
929
929
|
* Attempts to enable multi-tab persistent storage, if possible. If enabled
|
|
930
930
|
* across all tabs, all operations share access to local persistence, including
|
|
@@ -946,18 +946,18 @@ declare function Da(t: any, e: any, ...n: any[]): ba;
|
|
|
946
946
|
* @param firestore - The {@link Firestore} instance to enable persistence for.
|
|
947
947
|
* @returns A `Promise` that represents successfully enabling persistent
|
|
948
948
|
* storage.
|
|
949
|
-
*/ declare function
|
|
949
|
+
*/ declare function Kc(t: any): any;
|
|
950
950
|
/**
|
|
951
951
|
* Re-enables use of the network for this {@link Firestore} instance after a prior
|
|
952
952
|
* call to {@link disableNetwork}.
|
|
953
953
|
*
|
|
954
954
|
* @returns A `Promise` that is resolved once the network has been enabled.
|
|
955
|
-
*/ declare function
|
|
955
|
+
*/ declare function Wc(t: any): any;
|
|
956
956
|
declare function tl(...t: any[]): Xh;
|
|
957
957
|
declare function Zh(...t: any[]): Xh;
|
|
958
958
|
/**
|
|
959
959
|
* @internal
|
|
960
|
-
*/ declare function
|
|
960
|
+
*/ declare function Lc(t: any): any;
|
|
961
961
|
/**
|
|
962
962
|
* Locally writes `mutations` on the async queue.
|
|
963
963
|
* @internal
|
|
@@ -1058,7 +1058,7 @@ declare function ll(t: any): Promise<kh>;
|
|
|
1058
1058
|
* @param app - The {@link @firebase/app#FirebaseApp} instance that the returned {@link Firestore}
|
|
1059
1059
|
* instance is associated with.
|
|
1060
1060
|
* @returns The {@link Firestore} instance of the provided app.
|
|
1061
|
-
*/ declare function
|
|
1061
|
+
*/ declare function Bc(e?: import("@firebase/app").FirebaseApp): import("../src").Firestore;
|
|
1062
1062
|
/**
|
|
1063
1063
|
* Returns a special value that can be used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link
|
|
1064
1064
|
* @firebase/firestore/lite#(updateDoc:1)} that tells the server to increment the field's current value by
|
|
@@ -1088,7 +1088,7 @@ declare function ll(t: any): Promise<kh>;
|
|
|
1088
1088
|
* be associated.
|
|
1089
1089
|
* @param settings - A settings object to configure the {@link Firestore} instance.
|
|
1090
1090
|
* @returns A newly initialized {@link Firestore} instance.
|
|
1091
|
-
*/ declare function $
|
|
1091
|
+
*/ declare function $c(t: any, e: any): import("../src").Firestore;
|
|
1092
1092
|
/**
|
|
1093
1093
|
* Creates a {@link QueryConstraint} that only returns the first matching documents.
|
|
1094
1094
|
*
|
|
@@ -1114,7 +1114,7 @@ declare function ll(t: any): Promise<kh>;
|
|
|
1114
1114
|
* @returns A `LoadBundleTask` object, which notifies callers with progress
|
|
1115
1115
|
* updates, and completion or error events. It can be used as a
|
|
1116
1116
|
* `Promise<LoadBundleTaskProgress>`.
|
|
1117
|
-
*/ declare function
|
|
1117
|
+
*/ declare function Jc(t: any, e: any): Oc;
|
|
1118
1118
|
/**
|
|
1119
1119
|
* Reads a Firestore {@link Query} from local cache, identified by the given
|
|
1120
1120
|
* name.
|
|
@@ -1126,7 +1126,7 @@ declare function ll(t: any): Promise<kh>;
|
|
|
1126
1126
|
* @param firestore - The {@link Firestore} instance to read the query from.
|
|
1127
1127
|
* @param name - The name of the query.
|
|
1128
1128
|
* @returns A `Promise` that is resolved with the Query or `null`.
|
|
1129
|
-
*/ declare function
|
|
1129
|
+
*/ declare function Yc(t: any, e: any): any;
|
|
1130
1130
|
declare function El(t: any, ...e: any[]): () => void;
|
|
1131
1131
|
declare function Al(t: any, e: any): () => void;
|
|
1132
1132
|
/**
|
|
@@ -1155,7 +1155,7 @@ declare function Al(t: any, e: any): () => void;
|
|
|
1155
1155
|
* @param right - A `Query` to compare.
|
|
1156
1156
|
* @returns true if the references point to the same location in the same
|
|
1157
1157
|
* Firestore database.
|
|
1158
|
-
*/ declare function
|
|
1158
|
+
*/ declare function xc(t: any, e: any): boolean;
|
|
1159
1159
|
/**
|
|
1160
1160
|
* Returns true if the provided references are equal.
|
|
1161
1161
|
*
|
|
@@ -1163,7 +1163,7 @@ declare function Al(t: any, e: any): () => void;
|
|
|
1163
1163
|
* @param right - A reference to compare.
|
|
1164
1164
|
* @returns true if the references point to the same location in the same
|
|
1165
1165
|
* Firestore database.
|
|
1166
|
-
*/ declare function
|
|
1166
|
+
*/ declare function Cc(t: any, e: any): boolean;
|
|
1167
1167
|
/**
|
|
1168
1168
|
* Executes the given `updateFunction` and then attempts to commit the changes
|
|
1169
1169
|
* applied within the transaction. If any document read within the transaction
|
|
@@ -1231,7 +1231,7 @@ declare function Jh(...t: any[]): Hh;
|
|
|
1231
1231
|
*
|
|
1232
1232
|
* @returns A `Promise` that is resolved when the instance has been successfully
|
|
1233
1233
|
* terminated.
|
|
1234
|
-
*/ declare function
|
|
1234
|
+
*/ declare function Hc(t: any): any;
|
|
1235
1235
|
declare function pl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
1236
1236
|
/**
|
|
1237
1237
|
* Waits until all currently pending writes for the active user have been
|
|
@@ -1248,7 +1248,7 @@ declare function pl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1248
1248
|
*
|
|
1249
1249
|
* @returns A `Promise` which resolves when all currently pending writes have been
|
|
1250
1250
|
* acknowledged by the backend.
|
|
1251
|
-
*/ declare function
|
|
1251
|
+
*/ declare function jc(t: any): Promise<any>;
|
|
1252
1252
|
/**
|
|
1253
1253
|
* Creates a {@link QueryConstraint} that enforces that documents must contain the
|
|
1254
1254
|
* specified field and that the value should satisfy the relation constraint
|
|
@@ -1286,7 +1286,7 @@ declare function pl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1286
1286
|
*
|
|
1287
1287
|
* @returns A {@link WriteBatch} that can be used to atomically execute multiple
|
|
1288
1288
|
* writes.
|
|
1289
|
-
*/ declare function Nl(t: any):
|
|
1289
|
+
*/ declare function Nl(t: any): cl;
|
|
1290
1290
|
/**
|
|
1291
1291
|
* @license
|
|
1292
1292
|
* Copyright 2020 Google LLC
|
|
@@ -1322,7 +1322,7 @@ declare function pl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1322
1322
|
/** Property of the `DocumentSnapshot` that provides the document's ID. */ get id(): any;
|
|
1323
1323
|
/**
|
|
1324
1324
|
* The `DocumentReference` for the document included in the `DocumentSnapshot`.
|
|
1325
|
-
*/ get ref():
|
|
1325
|
+
*/ get ref(): bc;
|
|
1326
1326
|
/**
|
|
1327
1327
|
* Signals whether or not the document at the snapshot's location exists.
|
|
1328
1328
|
*
|
|
@@ -1366,7 +1366,7 @@ declare function pl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1366
1366
|
* The Cloud Firestore service interface.
|
|
1367
1367
|
*
|
|
1368
1368
|
* Do not call this constructor directly. Instead, use {@link getFirestore}.
|
|
1369
|
-
*/ declare class
|
|
1369
|
+
*/ declare class Ac {
|
|
1370
1370
|
/** @hideconstructor */
|
|
1371
1371
|
constructor(t: any, e: any, n: any);
|
|
1372
1372
|
_authCredentials: any;
|
|
@@ -1376,7 +1376,7 @@ declare function pl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1376
1376
|
*/
|
|
1377
1377
|
type: string;
|
|
1378
1378
|
_persistenceKey: string;
|
|
1379
|
-
_settings:
|
|
1379
|
+
_settings: Ec;
|
|
1380
1380
|
_settingsFrozen: boolean;
|
|
1381
1381
|
_databaseId: re;
|
|
1382
1382
|
_app: any;
|
|
@@ -1387,14 +1387,14 @@ declare function pl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1387
1387
|
get _initialized(): boolean;
|
|
1388
1388
|
get _terminated(): boolean;
|
|
1389
1389
|
_setSettings(t: any): void;
|
|
1390
|
-
_getSettings():
|
|
1391
|
-
_freezeSettings():
|
|
1390
|
+
_getSettings(): Ec;
|
|
1391
|
+
_freezeSettings(): Ec;
|
|
1392
1392
|
_delete(): Promise<void>;
|
|
1393
1393
|
_terminateTask: Promise<void> | undefined;
|
|
1394
1394
|
/** Returns a JSON-serializable representation of this `Firestore` instance. */ toJSON(): {
|
|
1395
1395
|
app: any;
|
|
1396
1396
|
databaseId: re;
|
|
1397
|
-
settings:
|
|
1397
|
+
settings: Ec;
|
|
1398
1398
|
};
|
|
1399
1399
|
/**
|
|
1400
1400
|
* Terminates all components used by this client. Subclasses can override
|
|
@@ -1419,17 +1419,17 @@ declare function pl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1419
1419
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1420
1420
|
* See the License for the specific language governing permissions and
|
|
1421
1421
|
* limitations under the License.
|
|
1422
|
-
*/ declare class
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1422
|
+
*/ declare class Nc {
|
|
1423
|
+
ka: Promise<void>;
|
|
1424
|
+
Oa: any[];
|
|
1425
|
+
Ma: boolean;
|
|
1426
|
+
Fa: any[];
|
|
1427
|
+
$a: any;
|
|
1428
|
+
Ba: boolean;
|
|
1429
|
+
La: boolean;
|
|
1430
|
+
Ua: any[];
|
|
1431
1431
|
So: su;
|
|
1432
|
-
|
|
1432
|
+
qa: () => void;
|
|
1433
1433
|
get isShuttingDown(): boolean;
|
|
1434
1434
|
/**
|
|
1435
1435
|
* Adds a new operation to the queue without waiting for it to complete (i.e.
|
|
@@ -1442,32 +1442,32 @@ declare function pl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1442
1442
|
/**
|
|
1443
1443
|
* Runs the next operation from the retryable queue. If the operation fails,
|
|
1444
1444
|
* reschedules with backoff.
|
|
1445
|
-
*/
|
|
1446
|
-
|
|
1445
|
+
*/ Qa(): Promise<void>;
|
|
1446
|
+
Ga(t: any): Promise<any>;
|
|
1447
1447
|
enqueueAfterDelay(t: any, e: any, n: any): $u;
|
|
1448
|
-
|
|
1448
|
+
Ka(): void;
|
|
1449
1449
|
verifyOperationInProgress(): void;
|
|
1450
1450
|
/**
|
|
1451
1451
|
* Waits until all currently queued tasks are finished executing. Delayed
|
|
1452
1452
|
* operations are not run.
|
|
1453
|
-
*/
|
|
1453
|
+
*/ Wa(): Promise<void>;
|
|
1454
1454
|
/**
|
|
1455
1455
|
* For Tests: Determine if a delayed operation with a particular TimerId
|
|
1456
1456
|
* exists.
|
|
1457
|
-
*/
|
|
1457
|
+
*/ za(t: any): boolean;
|
|
1458
1458
|
/**
|
|
1459
1459
|
* For Tests: Runs some or all delayed operations early.
|
|
1460
1460
|
*
|
|
1461
1461
|
* @param lastTimerId - Delayed operations up to and including this TimerId
|
|
1462
1462
|
* will be drained. Pass TimerId.All to run all delayed operations.
|
|
1463
1463
|
* @returns a Promise that resolves once all operations have been run.
|
|
1464
|
-
*/
|
|
1464
|
+
*/ Ha(t: any): Promise<void>;
|
|
1465
1465
|
/**
|
|
1466
1466
|
* For Tests: Skip all subsequent delays for a timer id.
|
|
1467
|
-
*/
|
|
1468
|
-
/** Called once a DelayedOperation is run or canceled. */
|
|
1467
|
+
*/ Ja(t: any): void;
|
|
1468
|
+
/** Called once a DelayedOperation is run or canceled. */ ja(t: any): void;
|
|
1469
1469
|
}
|
|
1470
|
-
import { FirebaseError as
|
|
1470
|
+
import { FirebaseError as a } from "@firebase/util/dist/src/errors";
|
|
1471
1471
|
/**
|
|
1472
1472
|
* @license
|
|
1473
1473
|
* Copyright 2017 Google LLC
|
|
@@ -1491,12 +1491,12 @@ import { FirebaseError as c } from "@firebase/util/dist/src/errors";
|
|
|
1491
1491
|
/**
|
|
1492
1492
|
* Helper for parsing raw user input (provided via the API) into internal model
|
|
1493
1493
|
* classes.
|
|
1494
|
-
*/ declare class
|
|
1494
|
+
*/ declare class ch {
|
|
1495
1495
|
constructor(t: any, e: any, n: any);
|
|
1496
1496
|
databaseId: any;
|
|
1497
1497
|
ignoreUndefinedProperties: any;
|
|
1498
1498
|
wt: any;
|
|
1499
|
-
/** Creates a new top-level parse context. */
|
|
1499
|
+
/** Creates a new top-level parse context. */ ac(t: any, e: any, n: any, s?: boolean): ah;
|
|
1500
1500
|
}
|
|
1501
1501
|
declare class Z {
|
|
1502
1502
|
constructor(t: any);
|
|
@@ -1523,7 +1523,7 @@ declare class Z {
|
|
|
1523
1523
|
/**
|
|
1524
1524
|
* Path represents an ordered sequence of string segments.
|
|
1525
1525
|
*/
|
|
1526
|
-
declare class
|
|
1526
|
+
declare class ct {
|
|
1527
1527
|
static comparator(t: any, e: any): 0 | 1 | -1;
|
|
1528
1528
|
constructor(t: any, e: any, n: any);
|
|
1529
1529
|
segments: any;
|
|
@@ -1546,13 +1546,13 @@ declare class at {
|
|
|
1546
1546
|
}
|
|
1547
1547
|
declare class mh extends nh {
|
|
1548
1548
|
constructor(t: any, e: any);
|
|
1549
|
-
|
|
1549
|
+
cc: any;
|
|
1550
1550
|
_toFieldTransform(t: any): On;
|
|
1551
1551
|
isEqual(t: any): boolean;
|
|
1552
1552
|
}
|
|
1553
1553
|
declare class wh extends nh {
|
|
1554
1554
|
constructor(t: any, e: any);
|
|
1555
|
-
|
|
1555
|
+
cc: any;
|
|
1556
1556
|
_toFieldTransform(t: any): On;
|
|
1557
1557
|
isEqual(t: any): boolean;
|
|
1558
1558
|
}
|
|
@@ -1563,29 +1563,29 @@ declare class fh extends nh {
|
|
|
1563
1563
|
declare class Xh extends Lh {
|
|
1564
1564
|
constructor(t: any, e: any, n: any);
|
|
1565
1565
|
type: any;
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
_apply(t: any):
|
|
1566
|
+
gc: any;
|
|
1567
|
+
yc: any;
|
|
1568
|
+
_apply(t: any): Pc;
|
|
1569
1569
|
}
|
|
1570
1570
|
declare class gh extends nh {
|
|
1571
1571
|
constructor(t: any, e: any);
|
|
1572
|
-
|
|
1572
|
+
hc: any;
|
|
1573
1573
|
_toFieldTransform(t: any): On;
|
|
1574
1574
|
isEqual(t: any): boolean;
|
|
1575
1575
|
}
|
|
1576
1576
|
declare class jh extends Lh {
|
|
1577
1577
|
constructor(t: any, e: any, n: any);
|
|
1578
1578
|
type: any;
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
_apply(t: any):
|
|
1579
|
+
wc: any;
|
|
1580
|
+
mc: any;
|
|
1581
|
+
_apply(t: any): Pc;
|
|
1582
1582
|
}
|
|
1583
1583
|
declare class Gh extends Lh {
|
|
1584
1584
|
constructor(t: any, e: any);
|
|
1585
|
-
|
|
1586
|
-
|
|
1585
|
+
lc: any;
|
|
1586
|
+
_c: any;
|
|
1587
1587
|
type: string;
|
|
1588
|
-
_apply(t: any):
|
|
1588
|
+
_apply(t: any): Pc;
|
|
1589
1589
|
}
|
|
1590
1590
|
declare class _h extends nh {
|
|
1591
1591
|
_toFieldTransform(t: any): On;
|
|
@@ -1594,17 +1594,17 @@ declare class _h extends nh {
|
|
|
1594
1594
|
declare class Hh extends Lh {
|
|
1595
1595
|
constructor(t: any, e: any, n: any);
|
|
1596
1596
|
type: any;
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
_apply(t: any):
|
|
1597
|
+
gc: any;
|
|
1598
|
+
yc: any;
|
|
1599
|
+
_apply(t: any): Pc;
|
|
1600
1600
|
}
|
|
1601
1601
|
declare class qh extends Lh {
|
|
1602
1602
|
constructor(t: any, e: any, n: any);
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1603
|
+
lc: any;
|
|
1604
|
+
fc: any;
|
|
1605
|
+
dc: any;
|
|
1606
1606
|
type: string;
|
|
1607
|
-
_apply(t: any):
|
|
1607
|
+
_apply(t: any): Pc;
|
|
1608
1608
|
}
|
|
1609
1609
|
/**
|
|
1610
1610
|
* @license
|
|
@@ -1627,7 +1627,7 @@ declare class qh extends Lh {
|
|
|
1627
1627
|
* user-supplied `FirestoreSettings` object. This is a separate type so that
|
|
1628
1628
|
* defaults can be supplied and the value can be checked for equality.
|
|
1629
1629
|
*/
|
|
1630
|
-
declare class
|
|
1630
|
+
declare class Ec {
|
|
1631
1631
|
constructor(t: any);
|
|
1632
1632
|
host: any;
|
|
1633
1633
|
ssl: any;
|
|
@@ -1751,7 +1751,7 @@ declare class $u {
|
|
|
1751
1751
|
handleDelayElapsed(): void;
|
|
1752
1752
|
clearTimeout(): void;
|
|
1753
1753
|
}
|
|
1754
|
-
/** A "context" object passed around while parsing user data. */ declare class
|
|
1754
|
+
/** A "context" object passed around while parsing user data. */ declare class ah {
|
|
1755
1755
|
/**
|
|
1756
1756
|
* Initializes a ParseContext with the given source and path.
|
|
1757
1757
|
*
|
|
@@ -1778,15 +1778,15 @@ declare class $u {
|
|
|
1778
1778
|
fieldTransforms: any;
|
|
1779
1779
|
fieldMask: any;
|
|
1780
1780
|
get path(): any;
|
|
1781
|
-
get
|
|
1782
|
-
/** Returns a new context with the specified settings overwritten. */
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1781
|
+
get Xa(): any;
|
|
1782
|
+
/** Returns a new context with the specified settings overwritten. */ Za(t: any): ah;
|
|
1783
|
+
tc(t: any): ah;
|
|
1784
|
+
sc(t: any): ah;
|
|
1785
|
+
ic(t: any): ah;
|
|
1786
|
+
rc(t: any): Q;
|
|
1787
1787
|
/** Returns 'true' if 'fieldPath' was traversed when creating this context. */ contains(t: any): boolean;
|
|
1788
|
-
|
|
1789
|
-
|
|
1788
|
+
Ya(): void;
|
|
1789
|
+
nc(t: any): void;
|
|
1790
1790
|
}
|
|
1791
1791
|
/**
|
|
1792
1792
|
* @license
|
|
@@ -1809,4 +1809,4 @@ declare class $u {
|
|
|
1809
1809
|
field: any;
|
|
1810
1810
|
transform: any;
|
|
1811
1811
|
}
|
|
1812
|
-
export { ol as AbstractUserDataWriter, eh as Bytes,
|
|
1812
|
+
export { ol as AbstractUserDataWriter, eh as Bytes, Mc as CACHE_SIZE_UNLIMITED, vc as CollectionReference, bc as DocumentReference, kh as DocumentSnapshot, Zc as FieldPath, nh as FieldValue, Fc as Firestore, Q as FirestoreError, sh as GeoPoint, Oc as LoadBundleTask, Pc as Query, Lh as QueryConstraint, Oh as QueryDocumentSnapshot, Mh as QuerySnapshot, Nh as SnapshotMetadata, ut as Timestamp, Pl as Transaction, cl as WriteBatch, re as _DatabaseId, dt as _DocumentKey, et as _EmptyAppCheckTokenProvider, z as _EmptyAuthCredentialsProvider, ft as _FieldPath, Ic as _cast, q as _debugAssert, Ht as _isBase64Available, $ as _logWarn, kl as _setIndexConfiguration, mc as _validateIsNotUsedTogether, Tl as addDoc, Cl as arrayRemove, Dl as arrayUnion, Qc as clearIndexedDbPersistence, Vc as collection, Sc as collectionGroup, Rc as connectFirestoreEmulator, Il as deleteDoc, Vl as deleteField, zc as disableNetwork, Dc as doc, th as documentId, qc as enableIndexedDbPersistence, Kc as enableMultiTabIndexedDbPersistence, Wc as enableNetwork, tl as endAt, Zh as endBefore, Lc as ensureFirestoreConfigured, Rl as executeWrite, ll as getDoc, dl as getDocFromCache, _l as getDocFromServer, wl as getDocs, ml as getDocsFromCache, gl as getDocsFromServer, Bc as getFirestore, xl as increment, $c as initializeFirestore, Wh as limit, zh as limitToLast, Jc as loadBundle, Yc as namedQuery, El as onSnapshot, Al as onSnapshotsInSync, Qh as orderBy, Uh as query, xc as queryEqual, Cc as refEqual, vl as runTransaction, Sl as serverTimestamp, yl as setDoc, O as setLogLevel, $h as snapshotEqual, Yh as startAfter, Jh as startAt, Hc as terminate, pl as updateDoc, jc as waitForPendingWrites, Kh as where, Nl as writeBatch };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@firebase/firestore",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.11-canary.1d3a34d7d",
|
|
4
4
|
"engines": {
|
|
5
5
|
"node": ">=10.10.0"
|
|
6
6
|
},
|
|
@@ -79,28 +79,28 @@
|
|
|
79
79
|
"lite/package.json"
|
|
80
80
|
],
|
|
81
81
|
"dependencies": {
|
|
82
|
-
"@firebase/component": "0.5.
|
|
83
|
-
"@firebase/logger": "0.3.3-canary.
|
|
84
|
-
"@firebase/util": "1.6.
|
|
85
|
-
"@firebase/webchannel-wrapper": "0.6.2-canary.
|
|
82
|
+
"@firebase/component": "0.5.16-canary.1d3a34d7d",
|
|
83
|
+
"@firebase/logger": "0.3.3-canary.1d3a34d7d",
|
|
84
|
+
"@firebase/util": "1.6.2-canary.1d3a34d7d",
|
|
85
|
+
"@firebase/webchannel-wrapper": "0.6.2-canary.1d3a34d7d",
|
|
86
86
|
"@grpc/grpc-js": "^1.3.2",
|
|
87
87
|
"@grpc/proto-loader": "^0.6.0",
|
|
88
88
|
"node-fetch": "2.6.7",
|
|
89
89
|
"tslib": "^2.1.0"
|
|
90
90
|
},
|
|
91
91
|
"peerDependencies": {
|
|
92
|
-
"@firebase/app": "0.7.
|
|
92
|
+
"@firebase/app": "0.7.27-canary.1d3a34d7d"
|
|
93
93
|
},
|
|
94
94
|
"devDependencies": {
|
|
95
|
-
"@firebase/app": "0.7.
|
|
96
|
-
"@firebase/app-compat": "0.1.
|
|
97
|
-
"@firebase/auth": "0.20.
|
|
95
|
+
"@firebase/app": "0.7.27-canary.1d3a34d7d",
|
|
96
|
+
"@firebase/app-compat": "0.1.28-canary.1d3a34d7d",
|
|
97
|
+
"@firebase/auth": "0.20.4-canary.1d3a34d7d",
|
|
98
98
|
"@rollup/plugin-alias": "3.1.9",
|
|
99
99
|
"@rollup/plugin-json": "4.1.0",
|
|
100
100
|
"@types/eslint": "7.29.0",
|
|
101
101
|
"@types/json-stable-stringify": "1.0.34",
|
|
102
102
|
"json-stable-stringify": "1.0.1",
|
|
103
|
-
"protobufjs": "6.11.
|
|
103
|
+
"protobufjs": "6.11.3",
|
|
104
104
|
"rollup": "2.72.1",
|
|
105
105
|
"rollup-plugin-copy": "3.4.0",
|
|
106
106
|
"rollup-plugin-copy-assets": "2.0.3",
|