@firebase/firestore 3.4.0-canary.8d9a09e18 → 3.4.0-canary.fd8cd3ec4
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/index.esm2017.js +732 -732
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +1117 -1117
- 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 +713 -713
- 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 +102 -102
- package/package.json +9 -9
|
@@ -66,7 +66,7 @@ l.MOCK_USER = new l("mock-user");
|
|
|
66
66
|
* See the License for the specific language governing permissions and
|
|
67
67
|
* limitations under the License.
|
|
68
68
|
*/
|
|
69
|
-
let f = "9.6.0-canary.
|
|
69
|
+
let f = "9.6.0-canary.fd8cd3ec4";
|
|
70
70
|
|
|
71
71
|
/**
|
|
72
72
|
* @license
|
|
@@ -5941,7 +5941,7 @@ class jr {
|
|
|
5941
5941
|
return n && r._setSettings(n), r;
|
|
5942
5942
|
}), "PUBLIC")),
|
|
5943
5943
|
// RUNTIME_ENV and BUILD_TARGET are replaced by real values during the compilation
|
|
5944
|
-
r("firestore-lite", "3.4.0-canary.
|
|
5944
|
+
r("firestore-lite", "3.4.0-canary.fd8cd3ec4", "rn"), r("firestore-lite", "3.4.0-canary.fd8cd3ec4", "esm2017");
|
|
5945
5945
|
|
|
5946
5946
|
export { be as Bytes, de as CollectionReference, le as DocumentReference, Ke as DocumentSnapshot, ge as FieldPath, Ee as FieldValue, oe as Firestore, k as FirestoreError, Te as GeoPoint, fe as Query, nr as QueryConstraint, Je as QueryDocumentSnapshot, Xe as QuerySnapshot, gt as Timestamp, jr as Transaction, Sr as WriteBatch, Rr as addDoc, $r as arrayRemove, Dr as arrayUnion, we as collection, me as collectionGroup, ae as connectFirestoreEmulator, Pr as deleteDoc, Vr as deleteField, pe as doc, ve as documentId, mr as endAt, wr as endBefore, Er as getDoc, Tr as getDocs, ce as getFirestore, Fr as increment, ue as initializeFirestore, cr as limit, ar as limitToLast, or as orderBy, er as query, _e as queryEqual, ye as refEqual, Mr as runTransaction, Nr as serverTimestamp, Ir as setDoc, w as setLogLevel, Ze as snapshotEqual, fr as startAfter, lr as startAt, he as terminate, Ar as updateDoc, sr as where, xr as writeBatch };
|
|
5947
5947
|
//# sourceMappingURL=index.rn.esm2017.js.map
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
convertGeoPoint(t: any): su;
|
|
26
26
|
convertArray(t: any, e: any): any;
|
|
27
27
|
convertServerTimestamp(t: any, e: any): any;
|
|
28
|
-
convertTimestamp(t: any):
|
|
28
|
+
convertTimestamp(t: any): ct;
|
|
29
29
|
convertDocumentKey(t: any, e: any): St;
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
@@ -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 va extends ba {
|
|
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(): Pa | 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 Pa {
|
|
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(): va;
|
|
157
|
+
withConverter(t: any): Pa;
|
|
158
158
|
}
|
|
159
159
|
/**
|
|
160
160
|
* A `DocumentSnapshot` contains data read from a document in your Firestore
|
|
@@ -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 Za {
|
|
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.
|
|
@@ -258,8 +258,8 @@ declare class Zc {
|
|
|
258
258
|
*
|
|
259
259
|
* Do not call this constructor directly. Instead, use {@link getFirestore}.
|
|
260
260
|
*/
|
|
261
|
-
declare class
|
|
262
|
-
_queue:
|
|
261
|
+
declare class Oa extends Aa {
|
|
262
|
+
_queue: ka;
|
|
263
263
|
}
|
|
264
264
|
/** An error returned by a Firestore operation. */ declare class j extends Error {
|
|
265
265
|
/** @hideconstructor */
|
|
@@ -319,7 +319,7 @@ declare class Oc extends Ac {
|
|
|
319
319
|
* with an underscore.
|
|
320
320
|
*/ _compareTo(t: any): 0 | 1 | -1;
|
|
321
321
|
}
|
|
322
|
-
declare class $
|
|
322
|
+
declare class $a {
|
|
323
323
|
_progressObserver: {};
|
|
324
324
|
_taskCompletionResolver: Q;
|
|
325
325
|
_lastProgress: {
|
|
@@ -371,7 +371,7 @@ declare class $c {
|
|
|
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 ba {
|
|
375
375
|
/** @hideconstructor protected */
|
|
376
376
|
constructor(t: any, e: any, n: any);
|
|
377
377
|
converter: any;
|
|
@@ -379,7 +379,7 @@ declare class $c {
|
|
|
379
379
|
/** The type of this Firestore reference. */
|
|
380
380
|
type: string;
|
|
381
381
|
firestore: any;
|
|
382
|
-
withConverter(t: any):
|
|
382
|
+
withConverter(t: any): ba;
|
|
383
383
|
}
|
|
384
384
|
/**
|
|
385
385
|
* A `QueryConstraint` is used to narrow the set of documents returned by a
|
|
@@ -498,19 +498,19 @@ declare class $c {
|
|
|
498
498
|
* For examples and further specifications, refer to the
|
|
499
499
|
* {@link https://github.com/google/protobuf/blob/master/src/google/protobuf/timestamp.proto | Timestamp definition}.
|
|
500
500
|
*/
|
|
501
|
-
declare class
|
|
501
|
+
declare class ct {
|
|
502
502
|
/**
|
|
503
503
|
* Creates a new timestamp with the current date, with millisecond precision.
|
|
504
504
|
*
|
|
505
505
|
* @returns a new timestamp representing the current date.
|
|
506
|
-
*/ static now():
|
|
506
|
+
*/ static now(): ct;
|
|
507
507
|
/**
|
|
508
508
|
* Creates a new timestamp from the given date.
|
|
509
509
|
*
|
|
510
510
|
* @param date - The date to initialize the `Timestamp` from.
|
|
511
511
|
* @returns A new `Timestamp` representing the same point in time as the given
|
|
512
512
|
* date.
|
|
513
|
-
*/ static fromDate(t: any):
|
|
513
|
+
*/ static fromDate(t: any): ct;
|
|
514
514
|
/**
|
|
515
515
|
* Creates a new timestamp from the given number of milliseconds.
|
|
516
516
|
*
|
|
@@ -518,7 +518,7 @@ declare class at {
|
|
|
518
518
|
* 1970-01-01T00:00:00Z.
|
|
519
519
|
* @returns A new `Timestamp` representing the same point in time as the given
|
|
520
520
|
* number of milliseconds.
|
|
521
|
-
*/ static fromMillis(t: any):
|
|
521
|
+
*/ static fromMillis(t: any): ct;
|
|
522
522
|
/**
|
|
523
523
|
* Creates a new timestamp.
|
|
524
524
|
*
|
|
@@ -633,7 +633,7 @@ declare const Ph_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 ah {
|
|
637
637
|
/** @hideconstructor */
|
|
638
638
|
constructor(t: any, e: any);
|
|
639
639
|
_firestore: any;
|
|
@@ -641,14 +641,14 @@ declare const Ph_base: {
|
|
|
641
641
|
_mutations: any[];
|
|
642
642
|
_committed: boolean;
|
|
643
643
|
_dataReader: uu;
|
|
644
|
-
set(t: any, e: any, n: any):
|
|
645
|
-
update(t: any, e: any, n: any, ...s: any[]):
|
|
644
|
+
set(t: any, e: any, n: any): ah;
|
|
645
|
+
update(t: any, e: any, n: any, ...s: any[]): ah;
|
|
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): ah;
|
|
652
652
|
/**
|
|
653
653
|
* Commits all of the writes in this write batch as a single atomic unit.
|
|
654
654
|
*
|
|
@@ -668,7 +668,7 @@ declare const Ph_base: {
|
|
|
668
668
|
* Represents the database ID a Firestore client is associated with.
|
|
669
669
|
* @internal
|
|
670
670
|
*/
|
|
671
|
-
declare class
|
|
671
|
+
declare class da {
|
|
672
672
|
constructor(t: any, e: any);
|
|
673
673
|
projectId: any;
|
|
674
674
|
database: any;
|
|
@@ -757,7 +757,7 @@ declare class dc {
|
|
|
757
757
|
* Returns true if this field references the key of a document.
|
|
758
758
|
*/ isKeyField(): boolean;
|
|
759
759
|
}
|
|
760
|
-
declare function
|
|
760
|
+
declare function Ta(t: any, e: any): any;
|
|
761
761
|
/**
|
|
762
762
|
* Fails if the given assertion condition is false, throwing an Error with the
|
|
763
763
|
* given message if it did.
|
|
@@ -793,7 +793,7 @@ declare function gt(): boolean;
|
|
|
793
793
|
/**
|
|
794
794
|
* Validates that two boolean options are not set at the same time.
|
|
795
795
|
* @internal
|
|
796
|
-
*/ declare function
|
|
796
|
+
*/ declare function ma(t: any, e: any, n: any, s: any): void;
|
|
797
797
|
/**
|
|
798
798
|
* Add a new document to specified `CollectionReference` with the given data,
|
|
799
799
|
* assigning it a document ID automatically.
|
|
@@ -803,7 +803,7 @@ declare function gt(): boolean;
|
|
|
803
803
|
* @returns A `Promise` resolved with a `DocumentReference` pointing to the
|
|
804
804
|
* newly created document after it has been written to the backend (Note that it
|
|
805
805
|
* won't resolve while you're offline).
|
|
806
|
-
*/ declare function Th(t: any, e: any): Promise<
|
|
806
|
+
*/ declare function Th(t: any, e: any): Promise<Pa>;
|
|
807
807
|
/**
|
|
808
808
|
* Returns a special value that can be used with {@link (setDoc:1)} or {@link
|
|
809
809
|
* updateDoc:1} that tells the server to remove the given elements from any
|
|
@@ -827,8 +827,8 @@ declare function gt(): boolean;
|
|
|
827
827
|
* @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
|
|
828
828
|
* `updateDoc()`.
|
|
829
829
|
*/ declare function Sh(...t: any[]): _u;
|
|
830
|
-
declare function
|
|
831
|
-
declare function
|
|
830
|
+
declare function Qa(t: any): Promise<any>;
|
|
831
|
+
declare function Va(t: any, e: any, ...n: any[]): va;
|
|
832
832
|
/**
|
|
833
833
|
* Creates and returns a new `Query` instance that includes all documents in the
|
|
834
834
|
* database that are contained in a collection or subcollection with the
|
|
@@ -839,8 +839,8 @@ declare function Vc(t: any, e: any, ...n: any[]): vc;
|
|
|
839
839
|
* collection or subcollection with this ID as the last segment of its path
|
|
840
840
|
* will be included. Cannot contain a slash.
|
|
841
841
|
* @returns The created `Query`.
|
|
842
|
-
*/ declare function
|
|
843
|
-
declare function
|
|
842
|
+
*/ declare function Sa(t: any, e: any): ba;
|
|
843
|
+
declare function Ra(t: any, e: any, n: any, s?: {}): void;
|
|
844
844
|
/**
|
|
845
845
|
* Deletes the document referred to by the specified `DocumentReference`.
|
|
846
846
|
*
|
|
@@ -875,12 +875,12 @@ declare function Rc(t: any, e: any, n: any, s?: {}): void;
|
|
|
875
875
|
* operations will be queued until the network is restored.
|
|
876
876
|
*
|
|
877
877
|
* @returns A `Promise` that is resolved once the network has been disabled.
|
|
878
|
-
*/ declare function
|
|
879
|
-
declare function
|
|
878
|
+
*/ declare function za(t: any): any;
|
|
879
|
+
declare function Da(t: any, e: any, ...n: any[]): Pa;
|
|
880
880
|
/**
|
|
881
881
|
* Returns a special sentinel `FieldPath` to refer to the ID of a document.
|
|
882
882
|
* It can be used in queries to sort or filter by the document ID.
|
|
883
|
-
*/ declare function tu():
|
|
883
|
+
*/ declare function tu(): Za;
|
|
884
884
|
/**
|
|
885
885
|
* Attempts to enable persistent storage, if possible.
|
|
886
886
|
*
|
|
@@ -903,7 +903,7 @@ declare function Dc(t: any, e: any, ...n: any[]): Pc;
|
|
|
903
903
|
* @param persistenceSettings - Optional settings object to configure
|
|
904
904
|
* persistence.
|
|
905
905
|
* @returns A `Promise` that represents successfully enabling persistent storage.
|
|
906
|
-
*/ declare function
|
|
906
|
+
*/ declare function qa(t: any, e: any): any;
|
|
907
907
|
/**
|
|
908
908
|
* Attempts to enable multi-tab persistent storage, if possible. If enabled
|
|
909
909
|
* across all tabs, all operations share access to local persistence, including
|
|
@@ -925,18 +925,18 @@ declare function Dc(t: any, e: any, ...n: any[]): Pc;
|
|
|
925
925
|
* @param firestore - The {@link Firestore} instance to enable persistence for.
|
|
926
926
|
* @returns A `Promise` that represents successfully enabling persistent
|
|
927
927
|
* storage.
|
|
928
|
-
*/ declare function
|
|
928
|
+
*/ declare function Ka(t: any): any;
|
|
929
929
|
/**
|
|
930
930
|
* Re-enables use of the network for this {@link Firestore} instance after a prior
|
|
931
931
|
* call to {@link disableNetwork}.
|
|
932
932
|
*
|
|
933
933
|
* @returns A `Promise` that is resolved once the network has been enabled.
|
|
934
|
-
*/ declare function
|
|
934
|
+
*/ declare function Ga(t: any): any;
|
|
935
935
|
declare function th(...t: any[]): Xu;
|
|
936
936
|
declare function Zu(...t: any[]): Xu;
|
|
937
937
|
/**
|
|
938
938
|
* @internal
|
|
939
|
-
*/ declare function
|
|
939
|
+
*/ declare function Ba(t: any): any;
|
|
940
940
|
/**
|
|
941
941
|
* Locally writes `mutations` on the async queue.
|
|
942
942
|
* @internal
|
|
@@ -1037,7 +1037,7 @@ declare function hh(t: any): Promise<xu>;
|
|
|
1037
1037
|
* @param app - The {@link @firebase/app#FirebaseApp} instance that the returned {@link Firestore}
|
|
1038
1038
|
* instance is associated with.
|
|
1039
1039
|
* @returns The {@link Firestore} instance of the provided app.
|
|
1040
|
-
*/ declare function
|
|
1040
|
+
*/ declare function La(e?: import("@firebase/app").FirebaseApp): import("../src").Firestore;
|
|
1041
1041
|
/**
|
|
1042
1042
|
* Returns a special value that can be used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link
|
|
1043
1043
|
* @firebase/firestore/lite#(updateDoc:1)} that tells the server to increment the field's current value by
|
|
@@ -1067,7 +1067,7 @@ declare function hh(t: any): Promise<xu>;
|
|
|
1067
1067
|
* be associated.
|
|
1068
1068
|
* @param settings - A settings object to configure the {@link Firestore} instance.
|
|
1069
1069
|
* @returns A newly initialized {@link Firestore} instance.
|
|
1070
|
-
*/ declare function
|
|
1070
|
+
*/ declare function Ma(t: any, e: any): import("../src").Firestore;
|
|
1071
1071
|
/**
|
|
1072
1072
|
* Creates a {@link QueryConstraint} that only returns the first matching documents.
|
|
1073
1073
|
*
|
|
@@ -1093,14 +1093,14 @@ declare function hh(t: any): Promise<xu>;
|
|
|
1093
1093
|
* @returns
|
|
1094
1094
|
* A `LoadBundleTask` object, which notifies callers with progress updates, and completion
|
|
1095
1095
|
* or error events. It can be used as a `Promise<LoadBundleTaskProgress>`.
|
|
1096
|
-
*/ declare function
|
|
1096
|
+
*/ declare function Ja(t: any, e: any): $a;
|
|
1097
1097
|
/**
|
|
1098
1098
|
* Reads a Firestore {@link Query} from local cache, identified by the given name.
|
|
1099
1099
|
*
|
|
1100
1100
|
* The named queries are packaged into bundles on the server side (along
|
|
1101
1101
|
* with resulting documents), and loaded to local cache using `loadBundle`. Once in local
|
|
1102
1102
|
* cache, use this method to extract a {@link Query} by name.
|
|
1103
|
-
*/ declare function
|
|
1103
|
+
*/ declare function Ya(t: any, e: any): any;
|
|
1104
1104
|
declare function Eh(t: any, ...e: any[]): () => void;
|
|
1105
1105
|
declare function Ih(t: any, e: any): () => void;
|
|
1106
1106
|
/**
|
|
@@ -1129,7 +1129,7 @@ declare function Ih(t: any, e: any): () => void;
|
|
|
1129
1129
|
* @param right - A `Query` to compare.
|
|
1130
1130
|
* @returns true if the references point to the same location in the same
|
|
1131
1131
|
* Firestore database.
|
|
1132
|
-
*/ declare function
|
|
1132
|
+
*/ declare function Na(t: any, e: any): boolean;
|
|
1133
1133
|
/**
|
|
1134
1134
|
* Returns true if the provided references are equal.
|
|
1135
1135
|
*
|
|
@@ -1137,7 +1137,7 @@ declare function Ih(t: any, e: any): () => void;
|
|
|
1137
1137
|
* @param right - A reference to compare.
|
|
1138
1138
|
* @returns true if the references point to the same location in the same
|
|
1139
1139
|
* Firestore database.
|
|
1140
|
-
*/ declare function
|
|
1140
|
+
*/ declare function Ca(t: any, e: any): boolean;
|
|
1141
1141
|
/**
|
|
1142
1142
|
* Executes the given `updateFunction` and then attempts to commit the changes
|
|
1143
1143
|
* applied within the transaction. If any document read within the transaction
|
|
@@ -1203,7 +1203,7 @@ declare function Ju(...t: any[]): Hu;
|
|
|
1203
1203
|
*
|
|
1204
1204
|
* @returns A `Promise` that is resolved when the instance has been successfully
|
|
1205
1205
|
* terminated.
|
|
1206
|
-
*/ declare function
|
|
1206
|
+
*/ declare function Ha(t: any): any;
|
|
1207
1207
|
declare function yh(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
1208
1208
|
/**
|
|
1209
1209
|
* Waits until all currently pending writes for the active user have been
|
|
@@ -1220,7 +1220,7 @@ declare function yh(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1220
1220
|
*
|
|
1221
1221
|
* @returns A `Promise` which resolves when all currently pending writes have been
|
|
1222
1222
|
* acknowledged by the backend.
|
|
1223
|
-
*/ declare function
|
|
1223
|
+
*/ declare function Wa(t: any): Promise<any>;
|
|
1224
1224
|
/**
|
|
1225
1225
|
* Creates a {@link QueryConstraint} that enforces that documents must contain the
|
|
1226
1226
|
* specified field and that the value should satisfy the relation constraint
|
|
@@ -1258,7 +1258,7 @@ declare function yh(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1258
1258
|
*
|
|
1259
1259
|
* @returns A {@link WriteBatch} that can be used to atomically execute multiple
|
|
1260
1260
|
* writes.
|
|
1261
|
-
*/ declare function Nh(t: any):
|
|
1261
|
+
*/ declare function Nh(t: any): ah;
|
|
1262
1262
|
/**
|
|
1263
1263
|
* @license
|
|
1264
1264
|
* Copyright 2020 Google LLC
|
|
@@ -1294,7 +1294,7 @@ declare function yh(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1294
1294
|
/** Property of the `DocumentSnapshot` that provides the document's ID. */ get id(): any;
|
|
1295
1295
|
/**
|
|
1296
1296
|
* The `DocumentReference` for the document included in the `DocumentSnapshot`.
|
|
1297
|
-
*/ get ref():
|
|
1297
|
+
*/ get ref(): Pa;
|
|
1298
1298
|
/**
|
|
1299
1299
|
* Signals whether or not the document at the snapshot's location exists.
|
|
1300
1300
|
*
|
|
@@ -1338,7 +1338,7 @@ declare function yh(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1338
1338
|
* The Cloud Firestore service interface.
|
|
1339
1339
|
*
|
|
1340
1340
|
* Do not call this constructor directly. Instead, use {@link getFirestore}.
|
|
1341
|
-
*/ declare class
|
|
1341
|
+
*/ declare class Aa {
|
|
1342
1342
|
/** @hideconstructor */
|
|
1343
1343
|
constructor(t: any, e: any, n: any);
|
|
1344
1344
|
_authCredentials: any;
|
|
@@ -1348,9 +1348,9 @@ declare function yh(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1348
1348
|
*/
|
|
1349
1349
|
type: string;
|
|
1350
1350
|
_persistenceKey: string;
|
|
1351
|
-
_settings:
|
|
1351
|
+
_settings: Ia;
|
|
1352
1352
|
_settingsFrozen: boolean;
|
|
1353
|
-
_databaseId:
|
|
1353
|
+
_databaseId: da;
|
|
1354
1354
|
_app: any;
|
|
1355
1355
|
/**
|
|
1356
1356
|
* The {@link @firebase/app#FirebaseApp} associated with this `Firestore` service
|
|
@@ -1359,14 +1359,14 @@ declare function yh(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1359
1359
|
get _initialized(): boolean;
|
|
1360
1360
|
get _terminated(): boolean;
|
|
1361
1361
|
_setSettings(t: any): void;
|
|
1362
|
-
_getSettings():
|
|
1363
|
-
_freezeSettings():
|
|
1362
|
+
_getSettings(): Ia;
|
|
1363
|
+
_freezeSettings(): Ia;
|
|
1364
1364
|
_delete(): Promise<void>;
|
|
1365
1365
|
_terminateTask: Promise<void> | undefined;
|
|
1366
1366
|
/** Returns a JSON-serializable representation of this `Firestore` instance. */ toJSON(): {
|
|
1367
1367
|
app: any;
|
|
1368
|
-
databaseId:
|
|
1369
|
-
settings:
|
|
1368
|
+
databaseId: da;
|
|
1369
|
+
settings: Ia;
|
|
1370
1370
|
};
|
|
1371
1371
|
/**
|
|
1372
1372
|
* Terminates all components used by this client. Subclasses can override
|
|
@@ -1391,17 +1391,17 @@ declare function yh(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1391
1391
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1392
1392
|
* See the License for the specific language governing permissions and
|
|
1393
1393
|
* limitations under the License.
|
|
1394
|
-
*/ declare class
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1394
|
+
*/ declare class ka {
|
|
1395
|
+
mc: Promise<void>;
|
|
1396
|
+
gc: any[];
|
|
1397
|
+
yc: boolean;
|
|
1398
|
+
Tc: any[];
|
|
1399
|
+
Ec: any;
|
|
1400
|
+
Ic: boolean;
|
|
1401
|
+
Ac: boolean;
|
|
1402
|
+
Rc: any[];
|
|
1403
1403
|
ur: eo;
|
|
1404
|
-
|
|
1404
|
+
Pc: () => void;
|
|
1405
1405
|
get isShuttingDown(): boolean;
|
|
1406
1406
|
/**
|
|
1407
1407
|
* Adds a new operation to the queue without waiting for it to complete (i.e.
|
|
@@ -1414,30 +1414,30 @@ declare function yh(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1414
1414
|
/**
|
|
1415
1415
|
* Runs the next operation from the retryable queue. If the operation fails,
|
|
1416
1416
|
* reschedules with backoff.
|
|
1417
|
-
*/
|
|
1418
|
-
|
|
1417
|
+
*/ Vc(): Promise<void>;
|
|
1418
|
+
vc(t: any): Promise<any>;
|
|
1419
1419
|
enqueueAfterDelay(t: any, e: any, n: any): Fo;
|
|
1420
|
-
|
|
1420
|
+
bc(): void;
|
|
1421
1421
|
verifyOperationInProgress(): void;
|
|
1422
1422
|
/**
|
|
1423
1423
|
* Waits until all currently queued tasks are finished executing. Delayed
|
|
1424
1424
|
* operations are not run.
|
|
1425
|
-
*/
|
|
1425
|
+
*/ Dc(): Promise<void>;
|
|
1426
1426
|
/**
|
|
1427
1427
|
* For Tests: Determine if a delayed operation with a particular TimerId
|
|
1428
1428
|
* exists.
|
|
1429
|
-
*/
|
|
1429
|
+
*/ Cc(t: any): boolean;
|
|
1430
1430
|
/**
|
|
1431
1431
|
* For Tests: Runs some or all delayed operations early.
|
|
1432
1432
|
*
|
|
1433
1433
|
* @param lastTimerId - Delayed operations up to and including this TimerId
|
|
1434
1434
|
* will be drained. Pass TimerId.All to run all delayed operations.
|
|
1435
1435
|
* @returns a Promise that resolves once all operations have been run.
|
|
1436
|
-
*/
|
|
1436
|
+
*/ Nc(t: any): Promise<void>;
|
|
1437
1437
|
/**
|
|
1438
1438
|
* For Tests: Skip all subsequent delays for a timer id.
|
|
1439
|
-
*/
|
|
1440
|
-
/** Called once a DelayedOperation is run or canceled. */
|
|
1439
|
+
*/ kc(t: any): void;
|
|
1440
|
+
/** Called once a DelayedOperation is run or canceled. */ Sc(t: any): void;
|
|
1441
1441
|
}
|
|
1442
1442
|
/**
|
|
1443
1443
|
* @license
|
|
@@ -1467,7 +1467,7 @@ declare function yh(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1467
1467
|
databaseId: any;
|
|
1468
1468
|
ignoreUndefinedProperties: any;
|
|
1469
1469
|
k: any;
|
|
1470
|
-
/** Creates a new top-level parse context. */
|
|
1470
|
+
/** Creates a new top-level parse context. */ Qc(t: any, e: any, n: any, s?: boolean): au;
|
|
1471
1471
|
}
|
|
1472
1472
|
declare class X {
|
|
1473
1473
|
constructor(t: any);
|
|
@@ -1517,13 +1517,13 @@ declare class ft {
|
|
|
1517
1517
|
}
|
|
1518
1518
|
declare class mu extends nu {
|
|
1519
1519
|
constructor(t: any, e: any);
|
|
1520
|
-
|
|
1520
|
+
Wc: any;
|
|
1521
1521
|
_toFieldTransform(t: any): Ge;
|
|
1522
1522
|
isEqual(t: any): boolean;
|
|
1523
1523
|
}
|
|
1524
1524
|
declare class _u extends nu {
|
|
1525
1525
|
constructor(t: any, e: any);
|
|
1526
|
-
|
|
1526
|
+
Wc: any;
|
|
1527
1527
|
_toFieldTransform(t: any): Ge;
|
|
1528
1528
|
isEqual(t: any): boolean;
|
|
1529
1529
|
}
|
|
@@ -1534,29 +1534,29 @@ declare class fu extends nu {
|
|
|
1534
1534
|
declare class Xu extends Bu {
|
|
1535
1535
|
constructor(t: any, e: any, n: any);
|
|
1536
1536
|
type: any;
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
_apply(t: any):
|
|
1537
|
+
ta: any;
|
|
1538
|
+
ea: any;
|
|
1539
|
+
_apply(t: any): ba;
|
|
1540
1540
|
}
|
|
1541
1541
|
declare class gu extends nu {
|
|
1542
1542
|
constructor(t: any, e: any);
|
|
1543
|
-
|
|
1543
|
+
Gc: any;
|
|
1544
1544
|
_toFieldTransform(t: any): Ge;
|
|
1545
1545
|
isEqual(t: any): boolean;
|
|
1546
1546
|
}
|
|
1547
1547
|
declare class Wu extends Bu {
|
|
1548
1548
|
constructor(t: any, e: any, n: any);
|
|
1549
1549
|
type: any;
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
_apply(t: any):
|
|
1550
|
+
Xc: any;
|
|
1551
|
+
Zc: any;
|
|
1552
|
+
_apply(t: any): ba;
|
|
1553
1553
|
}
|
|
1554
1554
|
declare class ju extends Bu {
|
|
1555
1555
|
constructor(t: any, e: any);
|
|
1556
|
-
|
|
1557
|
-
|
|
1556
|
+
zc: any;
|
|
1557
|
+
Yc: any;
|
|
1558
1558
|
type: string;
|
|
1559
|
-
_apply(t: any):
|
|
1559
|
+
_apply(t: any): ba;
|
|
1560
1560
|
}
|
|
1561
1561
|
declare class wu extends nu {
|
|
1562
1562
|
_toFieldTransform(t: any): Ge;
|
|
@@ -1565,17 +1565,17 @@ declare class wu extends nu {
|
|
|
1565
1565
|
declare class Hu extends Bu {
|
|
1566
1566
|
constructor(t: any, e: any, n: any);
|
|
1567
1567
|
type: any;
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
_apply(t: any):
|
|
1568
|
+
ta: any;
|
|
1569
|
+
ea: any;
|
|
1570
|
+
_apply(t: any): ba;
|
|
1571
1571
|
}
|
|
1572
1572
|
declare class qu extends Bu {
|
|
1573
1573
|
constructor(t: any, e: any, n: any);
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1574
|
+
zc: any;
|
|
1575
|
+
Hc: any;
|
|
1576
|
+
Jc: any;
|
|
1577
1577
|
type: string;
|
|
1578
|
-
_apply(t: any):
|
|
1578
|
+
_apply(t: any): ba;
|
|
1579
1579
|
}
|
|
1580
1580
|
/**
|
|
1581
1581
|
* @license
|
|
@@ -1598,7 +1598,7 @@ declare class qu extends Bu {
|
|
|
1598
1598
|
* user-supplied `FirestoreSettings` object. This is a separate type so that
|
|
1599
1599
|
* defaults can be supplied and the value can be checked for equality.
|
|
1600
1600
|
*/
|
|
1601
|
-
declare class
|
|
1601
|
+
declare class Ia {
|
|
1602
1602
|
constructor(t: any);
|
|
1603
1603
|
host: any;
|
|
1604
1604
|
ssl: any;
|
|
@@ -1722,7 +1722,7 @@ declare class Fo {
|
|
|
1722
1722
|
handleDelayElapsed(): void;
|
|
1723
1723
|
clearTimeout(): void;
|
|
1724
1724
|
}
|
|
1725
|
-
/** A "context" object passed around while parsing user data. */ declare class
|
|
1725
|
+
/** A "context" object passed around while parsing user data. */ declare class au {
|
|
1726
1726
|
/**
|
|
1727
1727
|
* Initializes a ParseContext with the given source and path.
|
|
1728
1728
|
*
|
|
@@ -1749,15 +1749,15 @@ declare class Fo {
|
|
|
1749
1749
|
fieldTransforms: any;
|
|
1750
1750
|
fieldMask: any;
|
|
1751
1751
|
get path(): any;
|
|
1752
|
-
get
|
|
1753
|
-
/** Returns a new context with the specified settings overwritten. */
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1752
|
+
get $c(): any;
|
|
1753
|
+
/** Returns a new context with the specified settings overwritten. */ Fc(t: any): au;
|
|
1754
|
+
Oc(t: any): au;
|
|
1755
|
+
Bc(t: any): au;
|
|
1756
|
+
Uc(t: any): au;
|
|
1757
|
+
qc(t: any): j;
|
|
1758
1758
|
/** Returns 'true' if 'fieldPath' was traversed when creating this context. */ contains(t: any): boolean;
|
|
1759
|
-
|
|
1760
|
-
|
|
1759
|
+
xc(): void;
|
|
1760
|
+
Lc(t: any): void;
|
|
1761
1761
|
}
|
|
1762
1762
|
/**
|
|
1763
1763
|
* @license
|
|
@@ -1780,4 +1780,4 @@ declare class Fo {
|
|
|
1780
1780
|
field: any;
|
|
1781
1781
|
transform: any;
|
|
1782
1782
|
}
|
|
1783
|
-
export { rh as AbstractUserDataWriter, eu as Bytes,
|
|
1783
|
+
export { rh as AbstractUserDataWriter, eu as Bytes, Fa as CACHE_SIZE_UNLIMITED, va as CollectionReference, Pa as DocumentReference, xu as DocumentSnapshot, Za as FieldPath, nu as FieldValue, Oa as Firestore, j as FirestoreError, su as GeoPoint, $a as LoadBundleTask, ba as Query, Bu as QueryConstraint, $u as QueryDocumentSnapshot, Fu as QuerySnapshot, ku as SnapshotMetadata, ct as Timestamp, Ph as Transaction, ah as WriteBatch, da as _DatabaseId, St as _DocumentKey, tt as _EmptyAppCheckTokenProvider, G as _EmptyAuthCredentialsProvider, _t as _FieldPath, Ta as _cast, U as _debugAssert, gt as _isBase64Available, O as _logWarn, ma as _validateIsNotUsedTogether, Th as addDoc, Dh as arrayRemove, Sh as arrayUnion, Qa as clearIndexedDbPersistence, Va as collection, Sa as collectionGroup, Ra as connectFirestoreEmulator, ph as deleteDoc, vh as deleteField, za as disableNetwork, Da as doc, tu as documentId, qa as enableIndexedDbPersistence, Ka as enableMultiTabIndexedDbPersistence, Ga as enableNetwork, th as endAt, Zu as endBefore, Ba as ensureFirestoreConfigured, Ah as executeWrite, hh as getDoc, fh as getDocFromCache, dh as getDocFromServer, wh as getDocs, _h as getDocsFromCache, mh as getDocsFromServer, La as getFirestore, Ch as increment, Ma as initializeFirestore, Gu as limit, zu as limitToLast, Ja as loadBundle, Ya as namedQuery, Eh as onSnapshot, Ih as onSnapshotsInSync, Qu as orderBy, Uu as query, Na as queryEqual, Ca as refEqual, bh as runTransaction, Vh as serverTimestamp, gh as setDoc, x as setLogLevel, Mu as snapshotEqual, Yu as startAfter, Ju as startAt, Ha as terminate, yh as updateDoc, Wa as waitForPendingWrites, Ku as where, Nh as writeBatch };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@firebase/firestore",
|
|
3
|
-
"version": "3.4.0-canary.
|
|
3
|
+
"version": "3.4.0-canary.fd8cd3ec4",
|
|
4
4
|
"engines": {
|
|
5
5
|
"node": ">=10.10.0"
|
|
6
6
|
},
|
|
@@ -80,22 +80,22 @@
|
|
|
80
80
|
"lite/package.json"
|
|
81
81
|
],
|
|
82
82
|
"dependencies": {
|
|
83
|
-
"@firebase/component": "0.5.9-canary.
|
|
84
|
-
"@firebase/logger": "0.3.2-canary.
|
|
85
|
-
"@firebase/util": "1.4.2-canary.
|
|
86
|
-
"@firebase/webchannel-wrapper": "0.6.1-canary.
|
|
83
|
+
"@firebase/component": "0.5.9-canary.fd8cd3ec4",
|
|
84
|
+
"@firebase/logger": "0.3.2-canary.fd8cd3ec4",
|
|
85
|
+
"@firebase/util": "1.4.2-canary.fd8cd3ec4",
|
|
86
|
+
"@firebase/webchannel-wrapper": "0.6.1-canary.fd8cd3ec4",
|
|
87
87
|
"@grpc/grpc-js": "^1.3.2",
|
|
88
88
|
"@grpc/proto-loader": "^0.6.0",
|
|
89
89
|
"node-fetch": "2.6.5",
|
|
90
90
|
"tslib": "^2.1.0"
|
|
91
91
|
},
|
|
92
92
|
"peerDependencies": {
|
|
93
|
-
"@firebase/app": "0.7.10-canary.
|
|
93
|
+
"@firebase/app": "0.7.10-canary.fd8cd3ec4"
|
|
94
94
|
},
|
|
95
95
|
"devDependencies": {
|
|
96
|
-
"@firebase/app": "0.7.10-canary.
|
|
97
|
-
"@firebase/app-compat": "0.1.11-canary.
|
|
98
|
-
"@firebase/auth": "0.19.3-canary.
|
|
96
|
+
"@firebase/app": "0.7.10-canary.fd8cd3ec4",
|
|
97
|
+
"@firebase/app-compat": "0.1.11-canary.fd8cd3ec4",
|
|
98
|
+
"@firebase/auth": "0.19.3-canary.fd8cd3ec4",
|
|
99
99
|
"@rollup/plugin-alias": "3.1.5",
|
|
100
100
|
"@rollup/plugin-json": "4.1.0",
|
|
101
101
|
"@types/eslint": "7.28.0",
|