@firebase/firestore 3.7.3-canary.3bd031691 → 3.7.3-canary.734fdcd91
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/local_documents_view.d.ts +0 -2
- package/dist/firestore/src/model/document.d.ts +8 -1
- package/dist/firestore/test/unit/specs/spec_test_runner.d.ts +1 -0
- package/dist/firestore/test/util/helpers.d.ts +1 -1
- package/dist/index.esm2017.js +45 -29
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +242 -226
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +54 -21
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.node.mjs +54 -21
- package/dist/index.node.mjs.map +1 -1
- package/dist/index.rn.js +45 -29
- package/dist/index.rn.js.map +1 -1
- package/dist/internal.d.ts +8 -3
- package/dist/lite/firestore/src/local/local_documents_view.d.ts +0 -2
- package/dist/lite/firestore/src/model/document.d.ts +8 -1
- package/dist/lite/firestore/test/unit/specs/spec_test_runner.d.ts +1 -0
- package/dist/lite/firestore/test/util/helpers.d.ts +1 -1
- package/dist/lite/index.browser.esm2017.js +116 -98
- package/dist/lite/index.browser.esm2017.js.map +1 -1
- package/dist/lite/index.browser.esm5.js +104 -86
- package/dist/lite/index.browser.esm5.js.map +1 -1
- package/dist/lite/index.node.cjs.js +44 -11
- package/dist/lite/index.node.cjs.js.map +1 -1
- package/dist/lite/index.node.mjs +44 -11
- package/dist/lite/index.node.mjs.map +1 -1
- package/dist/lite/index.rn.esm2017.js +109 -91
- package/dist/lite/index.rn.esm2017.js.map +1 -1
- package/dist/lite/internal.d.ts +8 -1
- package/dist/lite/packages/firestore/dist/lite/index.browser.esm2017.d.ts +17 -17
- package/dist/lite/packages/firestore/src/local/local_documents_view.d.ts +0 -2
- package/dist/lite/packages/firestore/src/model/document.d.ts +8 -1
- package/dist/lite/packages/firestore/test/unit/specs/spec_test_runner.d.ts +1 -0
- package/dist/lite/packages/firestore/test/util/helpers.d.ts +1 -1
- package/dist/lite/private.d.ts +8 -1
- package/dist/packages/firestore/src/local/local_documents_view.d.ts +0 -2
- package/dist/packages/firestore/src/model/document.d.ts +8 -1
- package/dist/packages/firestore/test/unit/specs/spec_test_runner.d.ts +1 -0
- package/dist/packages/firestore/test/util/helpers.d.ts +1 -1
- package/dist/private.d.ts +8 -3
- package/package.json +9 -9
package/dist/lite/internal.d.ts
CHANGED
|
@@ -717,6 +717,12 @@ declare interface Document_2 {
|
|
|
717
717
|
* `SnapshotVersion.min()` for documents created by the user.
|
|
718
718
|
*/
|
|
719
719
|
readonly readTime: SnapshotVersion;
|
|
720
|
+
/**
|
|
721
|
+
* The timestamp at which the document was created. This value increases
|
|
722
|
+
* monotonically when a document is deleted then recreated. It can also be
|
|
723
|
+
* compared to `createTime` of other documents and the `readTime` of a query.
|
|
724
|
+
*/
|
|
725
|
+
readonly createTime: SnapshotVersion;
|
|
720
726
|
/** The underlying data of this document or an empty value if no data exists. */
|
|
721
727
|
readonly data: ObjectValue;
|
|
722
728
|
/** Returns whether local mutations were applied via the mutation queue. */
|
|
@@ -1860,6 +1866,7 @@ declare class MutableDocument implements Document_2 {
|
|
|
1860
1866
|
private documentType;
|
|
1861
1867
|
version: SnapshotVersion;
|
|
1862
1868
|
readTime: SnapshotVersion;
|
|
1869
|
+
createTime: SnapshotVersion;
|
|
1863
1870
|
data: ObjectValue;
|
|
1864
1871
|
private documentState;
|
|
1865
1872
|
private constructor();
|
|
@@ -1872,7 +1879,7 @@ declare class MutableDocument implements Document_2 {
|
|
|
1872
1879
|
* Creates a new document that is known to exist with the given data at the
|
|
1873
1880
|
* given version.
|
|
1874
1881
|
*/
|
|
1875
|
-
static newFoundDocument(documentKey: DocumentKey, version: SnapshotVersion, value: ObjectValue): MutableDocument;
|
|
1882
|
+
static newFoundDocument(documentKey: DocumentKey, version: SnapshotVersion, createTime: SnapshotVersion, value: ObjectValue): MutableDocument;
|
|
1876
1883
|
/** Creates a new document that is known to not exist at the given version. */
|
|
1877
1884
|
static newNoDocument(documentKey: DocumentKey, version: SnapshotVersion): MutableDocument;
|
|
1878
1885
|
/**
|
|
@@ -33,13 +33,13 @@
|
|
|
33
33
|
/**
|
|
34
34
|
* Represents an aggregation that can be performed by Firestore.
|
|
35
35
|
*/
|
|
36
|
-
declare class
|
|
36
|
+
declare class Tn {
|
|
37
37
|
/** A type string to uniquely identify instances of this class. */
|
|
38
38
|
type: string;
|
|
39
39
|
}
|
|
40
40
|
/**
|
|
41
41
|
* The results of executing an aggregation query.
|
|
42
|
-
*/ declare class
|
|
42
|
+
*/ declare class An {
|
|
43
43
|
/** @hideconstructor */
|
|
44
44
|
constructor(t: any, e: any);
|
|
45
45
|
_data: any;
|
|
@@ -116,7 +116,7 @@ declare class An {
|
|
|
116
116
|
/**
|
|
117
117
|
* A `CollectionReference` object can be used for adding documents, getting
|
|
118
118
|
* document references, and querying for documents (using {@link query}).
|
|
119
|
-
*/ declare class
|
|
119
|
+
*/ declare class $n extends Vn {
|
|
120
120
|
_path: any;
|
|
121
121
|
/** The collection's identifier. */ get id(): any;
|
|
122
122
|
/**
|
|
@@ -127,7 +127,7 @@ declare class An {
|
|
|
127
127
|
* A reference to the containing `DocumentReference` if this is a
|
|
128
128
|
* subcollection. If this isn't a subcollection, the reference is null.
|
|
129
129
|
*/ get parent(): Pn | null;
|
|
130
|
-
withConverter(t: any):
|
|
130
|
+
withConverter(t: any): $n;
|
|
131
131
|
}
|
|
132
132
|
/**
|
|
133
133
|
* @license
|
|
@@ -167,7 +167,7 @@ declare class An {
|
|
|
167
167
|
*/ get path(): any;
|
|
168
168
|
/**
|
|
169
169
|
* The collection this `DocumentReference` belongs to.
|
|
170
|
-
*/ get parent():
|
|
170
|
+
*/ get parent(): $n;
|
|
171
171
|
withConverter(t: any): Pn;
|
|
172
172
|
}
|
|
173
173
|
/**
|
|
@@ -529,8 +529,8 @@ declare class An {
|
|
|
529
529
|
*
|
|
530
530
|
* Note: Documents that do not contain the orderBy field will not be present in
|
|
531
531
|
* the query result.
|
|
532
|
-
*/ declare class
|
|
533
|
-
static _create(t: any, e: any):
|
|
532
|
+
*/ declare class Ar extends gr {
|
|
533
|
+
static _create(t: any, e: any): Ar;
|
|
534
534
|
/**
|
|
535
535
|
* @internal
|
|
536
536
|
*/
|
|
@@ -569,8 +569,8 @@ declare class An {
|
|
|
569
569
|
* `QueryStartAtConstraint`s are created by invoking {@link (startAt:1)} or
|
|
570
570
|
* {@link (startAfter:1)} and can then be passed to {@link query} to create a
|
|
571
571
|
* new query instance that also contains this `QueryStartAtConstraint`.
|
|
572
|
-
*/ declare class
|
|
573
|
-
static _create(t: any, e: any, n: any):
|
|
572
|
+
*/ declare class Nr extends gr {
|
|
573
|
+
static _create(t: any, e: any, n: any): Nr;
|
|
574
574
|
/**
|
|
575
575
|
* @internal
|
|
576
576
|
*/
|
|
@@ -787,7 +787,7 @@ declare class fs {
|
|
|
787
787
|
* {@link or}, or {@link and}.
|
|
788
788
|
* @returns The created {@link QueryCompositeFilterConstraint}.
|
|
789
789
|
* @internal TODO remove this internal tag with OR Query support in the server
|
|
790
|
-
*/ declare function
|
|
790
|
+
*/ declare function Tr(...t: any[]): Er;
|
|
791
791
|
/**
|
|
792
792
|
* Returns a special value that can be used with {@link (setDoc:1)} or {@link
|
|
793
793
|
* updateDoc:1} that tells the server to remove the given elements from any
|
|
@@ -811,7 +811,7 @@ declare class fs {
|
|
|
811
811
|
* @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
|
|
812
812
|
* `updateDoc()`.
|
|
813
813
|
*/ declare function ts(...t: any[]): Jn;
|
|
814
|
-
declare function
|
|
814
|
+
declare function Nn(t: any, e: any, ...n: any[]): $n;
|
|
815
815
|
/**
|
|
816
816
|
* Creates and returns a new `Query` instance that includes all documents in the
|
|
817
817
|
* database that are contained in a collection or subcollection with the
|
|
@@ -904,7 +904,7 @@ declare function Sr(...t: any[]): xr;
|
|
|
904
904
|
* @returns A Promise that will be resolved with the count; the count can be
|
|
905
905
|
* retrieved from `snapshot.data().count`, where `snapshot` is the
|
|
906
906
|
* `AggregateQuerySnapshot` to which the returned Promise resolves.
|
|
907
|
-
*/ declare function Hr(t: any): Promise<
|
|
907
|
+
*/ declare function Hr(t: any): Promise<An>;
|
|
908
908
|
/**
|
|
909
909
|
* Reads the document referred to by the specified document reference.
|
|
910
910
|
*
|
|
@@ -967,7 +967,7 @@ declare function vn(t: any, e: any, n: any): import("../../lite").Firestore;
|
|
|
967
967
|
*
|
|
968
968
|
* @param limit - The maximum number of items to return.
|
|
969
969
|
* @returns The created {@link QueryLimitConstraint}.
|
|
970
|
-
*/ declare function
|
|
970
|
+
*/ declare function $r(t: any): Pr;
|
|
971
971
|
/**
|
|
972
972
|
* Creates a {@link QueryCompositeFilterConstraint} that performs a logical OR
|
|
973
973
|
* of all the provided {@link QueryFilterConstraint}s.
|
|
@@ -989,7 +989,7 @@ declare function vn(t: any, e: any, n: any): import("../../lite").Firestore;
|
|
|
989
989
|
* @param directionStr - Optional direction to sort by ('asc' or 'desc'). If
|
|
990
990
|
* not specified, order will be ascending.
|
|
991
991
|
* @returns The created {@link QueryOrderByConstraint}.
|
|
992
|
-
*/ declare function Rr(t: any, e?: string):
|
|
992
|
+
*/ declare function Rr(t: any, e?: string): Ar;
|
|
993
993
|
declare function _r(t: any, e: any, ...n: any[]): any;
|
|
994
994
|
/**
|
|
995
995
|
* Returns true if the provided queries point to the same collection and apply
|
|
@@ -1052,8 +1052,8 @@ declare function Wr(t: any, e: any, n: any): Promise<void>;
|
|
|
1052
1052
|
* @param right - A snapshot to compare.
|
|
1053
1053
|
* @returns true if the snapshots are equal.
|
|
1054
1054
|
*/ declare function mr(t: any, e: any): any;
|
|
1055
|
-
declare function Fr(...t: any[]):
|
|
1056
|
-
declare function Dr(...t: any[]):
|
|
1055
|
+
declare function Fr(...t: any[]): Nr;
|
|
1056
|
+
declare function Dr(...t: any[]): Nr;
|
|
1057
1057
|
/**
|
|
1058
1058
|
* Terminates the provided `Firestore` instance.
|
|
1059
1059
|
*
|
|
@@ -1337,4 +1337,4 @@ declare class Z {
|
|
|
1337
1337
|
field: any;
|
|
1338
1338
|
transform: any;
|
|
1339
1339
|
}
|
|
1340
|
-
export {
|
|
1340
|
+
export { Tn as AggregateField, An as AggregateQuerySnapshot, qn as Bytes, $n as CollectionReference, Pn as DocumentReference, fr as DocumentSnapshot, On as FieldPath, Cn as FieldValue, _n as Firestore, U as FirestoreError, Ln as GeoPoint, Vn as Query, Er as QueryCompositeFilterConstraint, gr as QueryConstraint, dr as QueryDocumentSnapshot, xr as QueryEndAtConstraint, vr as QueryFieldFilterConstraint, Pr as QueryLimitConstraint, Ar as QueryOrderByConstraint, wr as QuerySnapshot, Nr as QueryStartAtConstraint, Vt as Timestamp, fs as Transaction, rs as WriteBatch, Yr as addDoc, Jr as aggregateQuerySnapshotEqual, Tr as and, es as arrayRemove, ts as arrayUnion, Nn as collection, Dn as collectionGroup, En as connectFirestoreEmulator, Kr as deleteDoc, Xr as deleteField, Fn as doc, kn as documentId, qr as endAt, Sr as endBefore, Hr as getCount, Qr as getDoc, zr as getDocs, bn as getFirestore, ns as increment, vn as initializeFirestore, Vr as limit, $r as limitToLast, Ir as or, Rr as orderBy, _r as query, Sn as queryEqual, xn as refEqual, ds as runTransaction, Zr as serverTimestamp, Wr as setDoc, p as setLogLevel, mr as snapshotEqual, Fr as startAfter, Dr as startAt, In as terminate, Gr as updateDoc, br as where, is as writeBatch };
|
|
@@ -121,6 +121,4 @@ export declare class LocalDocumentsView {
|
|
|
121
121
|
private getDocumentsMatchingDocumentQuery;
|
|
122
122
|
private getDocumentsMatchingCollectionGroupQuery;
|
|
123
123
|
private getDocumentsMatchingCollectionQuery;
|
|
124
|
-
/** Returns a base document that can be used to apply `overlay`. */
|
|
125
|
-
private getBaseDocument;
|
|
126
124
|
}
|
|
@@ -35,6 +35,12 @@ export interface Document {
|
|
|
35
35
|
* `SnapshotVersion.min()` for documents created by the user.
|
|
36
36
|
*/
|
|
37
37
|
readonly readTime: SnapshotVersion;
|
|
38
|
+
/**
|
|
39
|
+
* The timestamp at which the document was created. This value increases
|
|
40
|
+
* monotonically when a document is deleted then recreated. It can also be
|
|
41
|
+
* compared to `createTime` of other documents and the `readTime` of a query.
|
|
42
|
+
*/
|
|
43
|
+
readonly createTime: SnapshotVersion;
|
|
38
44
|
/** The underlying data of this document or an empty value if no data exists. */
|
|
39
45
|
readonly data: ObjectValue;
|
|
40
46
|
/** Returns whether local mutations were applied via the mutation queue. */
|
|
@@ -85,6 +91,7 @@ export declare class MutableDocument implements Document {
|
|
|
85
91
|
private documentType;
|
|
86
92
|
version: SnapshotVersion;
|
|
87
93
|
readTime: SnapshotVersion;
|
|
94
|
+
createTime: SnapshotVersion;
|
|
88
95
|
data: ObjectValue;
|
|
89
96
|
private documentState;
|
|
90
97
|
private constructor();
|
|
@@ -97,7 +104,7 @@ export declare class MutableDocument implements Document {
|
|
|
97
104
|
* Creates a new document that is known to exist with the given data at the
|
|
98
105
|
* given version.
|
|
99
106
|
*/
|
|
100
|
-
static newFoundDocument(documentKey: DocumentKey, version: SnapshotVersion, value: ObjectValue): MutableDocument;
|
|
107
|
+
static newFoundDocument(documentKey: DocumentKey, version: SnapshotVersion, createTime: SnapshotVersion, value: ObjectValue): MutableDocument;
|
|
101
108
|
/** Creates a new document that is known to not exist at the given version. */
|
|
102
109
|
static newNoDocument(documentKey: DocumentKey, version: SnapshotVersion): MutableDocument;
|
|
103
110
|
/**
|
|
@@ -49,7 +49,7 @@ export declare type TestSnapshotVersion = number;
|
|
|
49
49
|
export declare function testUserDataReader(useProto3Json?: boolean): UserDataReader;
|
|
50
50
|
export declare function version(v: TestSnapshotVersion): SnapshotVersion;
|
|
51
51
|
export declare function ref(key: string, offset?: number): DocumentReference;
|
|
52
|
-
export declare function doc(keyStr: string, ver: TestSnapshotVersion, jsonOrObjectValue: JsonObject<unknown> | ObjectValue): MutableDocument;
|
|
52
|
+
export declare function doc(keyStr: string, ver: TestSnapshotVersion, jsonOrObjectValue: JsonObject<unknown> | ObjectValue, createTime?: TestSnapshotVersion): MutableDocument;
|
|
53
53
|
export declare function deletedDoc(keyStr: string, ver: TestSnapshotVersion): MutableDocument;
|
|
54
54
|
export declare function unknownDoc(keyStr: string, ver: TestSnapshotVersion): MutableDocument;
|
|
55
55
|
export declare function removedDoc(keyStr: string): MutableDocument;
|
package/dist/lite/private.d.ts
CHANGED
|
@@ -642,6 +642,12 @@ declare interface Document_2 {
|
|
|
642
642
|
* `SnapshotVersion.min()` for documents created by the user.
|
|
643
643
|
*/
|
|
644
644
|
readonly readTime: SnapshotVersion;
|
|
645
|
+
/**
|
|
646
|
+
* The timestamp at which the document was created. This value increases
|
|
647
|
+
* monotonically when a document is deleted then recreated. It can also be
|
|
648
|
+
* compared to `createTime` of other documents and the `readTime` of a query.
|
|
649
|
+
*/
|
|
650
|
+
readonly createTime: SnapshotVersion;
|
|
645
651
|
/** The underlying data of this document or an empty value if no data exists. */
|
|
646
652
|
readonly data: ObjectValue;
|
|
647
653
|
/** Returns whether local mutations were applied via the mutation queue. */
|
|
@@ -1694,6 +1700,7 @@ declare class MutableDocument implements Document_2 {
|
|
|
1694
1700
|
private documentType;
|
|
1695
1701
|
version: SnapshotVersion;
|
|
1696
1702
|
readTime: SnapshotVersion;
|
|
1703
|
+
createTime: SnapshotVersion;
|
|
1697
1704
|
data: ObjectValue;
|
|
1698
1705
|
private documentState;
|
|
1699
1706
|
private constructor();
|
|
@@ -1706,7 +1713,7 @@ declare class MutableDocument implements Document_2 {
|
|
|
1706
1713
|
* Creates a new document that is known to exist with the given data at the
|
|
1707
1714
|
* given version.
|
|
1708
1715
|
*/
|
|
1709
|
-
static newFoundDocument(documentKey: DocumentKey, version: SnapshotVersion, value: ObjectValue): MutableDocument;
|
|
1716
|
+
static newFoundDocument(documentKey: DocumentKey, version: SnapshotVersion, createTime: SnapshotVersion, value: ObjectValue): MutableDocument;
|
|
1710
1717
|
/** Creates a new document that is known to not exist at the given version. */
|
|
1711
1718
|
static newNoDocument(documentKey: DocumentKey, version: SnapshotVersion): MutableDocument;
|
|
1712
1719
|
/**
|
|
@@ -121,6 +121,4 @@ export declare class LocalDocumentsView {
|
|
|
121
121
|
private getDocumentsMatchingDocumentQuery;
|
|
122
122
|
private getDocumentsMatchingCollectionGroupQuery;
|
|
123
123
|
private getDocumentsMatchingCollectionQuery;
|
|
124
|
-
/** Returns a base document that can be used to apply `overlay`. */
|
|
125
|
-
private getBaseDocument;
|
|
126
124
|
}
|
|
@@ -35,6 +35,12 @@ export interface Document {
|
|
|
35
35
|
* `SnapshotVersion.min()` for documents created by the user.
|
|
36
36
|
*/
|
|
37
37
|
readonly readTime: SnapshotVersion;
|
|
38
|
+
/**
|
|
39
|
+
* The timestamp at which the document was created. This value increases
|
|
40
|
+
* monotonically when a document is deleted then recreated. It can also be
|
|
41
|
+
* compared to `createTime` of other documents and the `readTime` of a query.
|
|
42
|
+
*/
|
|
43
|
+
readonly createTime: SnapshotVersion;
|
|
38
44
|
/** The underlying data of this document or an empty value if no data exists. */
|
|
39
45
|
readonly data: ObjectValue;
|
|
40
46
|
/** Returns whether local mutations were applied via the mutation queue. */
|
|
@@ -85,6 +91,7 @@ export declare class MutableDocument implements Document {
|
|
|
85
91
|
private documentType;
|
|
86
92
|
version: SnapshotVersion;
|
|
87
93
|
readTime: SnapshotVersion;
|
|
94
|
+
createTime: SnapshotVersion;
|
|
88
95
|
data: ObjectValue;
|
|
89
96
|
private documentState;
|
|
90
97
|
private constructor();
|
|
@@ -97,7 +104,7 @@ export declare class MutableDocument implements Document {
|
|
|
97
104
|
* Creates a new document that is known to exist with the given data at the
|
|
98
105
|
* given version.
|
|
99
106
|
*/
|
|
100
|
-
static newFoundDocument(documentKey: DocumentKey, version: SnapshotVersion, value: ObjectValue): MutableDocument;
|
|
107
|
+
static newFoundDocument(documentKey: DocumentKey, version: SnapshotVersion, createTime: SnapshotVersion, value: ObjectValue): MutableDocument;
|
|
101
108
|
/** Creates a new document that is known to not exist at the given version. */
|
|
102
109
|
static newNoDocument(documentKey: DocumentKey, version: SnapshotVersion): MutableDocument;
|
|
103
110
|
/**
|
|
@@ -49,7 +49,7 @@ export declare type TestSnapshotVersion = number;
|
|
|
49
49
|
export declare function testUserDataReader(useProto3Json?: boolean): UserDataReader;
|
|
50
50
|
export declare function version(v: TestSnapshotVersion): SnapshotVersion;
|
|
51
51
|
export declare function ref(key: string, offset?: number): DocumentReference;
|
|
52
|
-
export declare function doc(keyStr: string, ver: TestSnapshotVersion, jsonOrObjectValue: JsonObject<unknown> | ObjectValue): MutableDocument;
|
|
52
|
+
export declare function doc(keyStr: string, ver: TestSnapshotVersion, jsonOrObjectValue: JsonObject<unknown> | ObjectValue, createTime?: TestSnapshotVersion): MutableDocument;
|
|
53
53
|
export declare function deletedDoc(keyStr: string, ver: TestSnapshotVersion): MutableDocument;
|
|
54
54
|
export declare function unknownDoc(keyStr: string, ver: TestSnapshotVersion): MutableDocument;
|
|
55
55
|
export declare function removedDoc(keyStr: string): MutableDocument;
|
package/dist/private.d.ts
CHANGED
|
@@ -854,6 +854,12 @@ declare interface Document_2 {
|
|
|
854
854
|
* `SnapshotVersion.min()` for documents created by the user.
|
|
855
855
|
*/
|
|
856
856
|
readonly readTime: SnapshotVersion;
|
|
857
|
+
/**
|
|
858
|
+
* The timestamp at which the document was created. This value increases
|
|
859
|
+
* monotonically when a document is deleted then recreated. It can also be
|
|
860
|
+
* compared to `createTime` of other documents and the `readTime` of a query.
|
|
861
|
+
*/
|
|
862
|
+
readonly createTime: SnapshotVersion;
|
|
857
863
|
/** The underlying data of this document or an empty value if no data exists. */
|
|
858
864
|
readonly data: ObjectValue;
|
|
859
865
|
/** Returns whether local mutations were applied via the mutation queue. */
|
|
@@ -2926,8 +2932,6 @@ declare class LocalDocumentsView {
|
|
|
2926
2932
|
private getDocumentsMatchingDocumentQuery;
|
|
2927
2933
|
private getDocumentsMatchingCollectionGroupQuery;
|
|
2928
2934
|
private getDocumentsMatchingCollectionQuery;
|
|
2929
|
-
/** Returns a base document that can be used to apply `overlay`. */
|
|
2930
|
-
private getBaseDocument;
|
|
2931
2935
|
}
|
|
2932
2936
|
|
|
2933
2937
|
declare interface LocalStore {
|
|
@@ -3012,6 +3016,7 @@ declare class MutableDocument implements Document_2 {
|
|
|
3012
3016
|
private documentType;
|
|
3013
3017
|
version: SnapshotVersion;
|
|
3014
3018
|
readTime: SnapshotVersion;
|
|
3019
|
+
createTime: SnapshotVersion;
|
|
3015
3020
|
data: ObjectValue;
|
|
3016
3021
|
private documentState;
|
|
3017
3022
|
private constructor();
|
|
@@ -3024,7 +3029,7 @@ declare class MutableDocument implements Document_2 {
|
|
|
3024
3029
|
* Creates a new document that is known to exist with the given data at the
|
|
3025
3030
|
* given version.
|
|
3026
3031
|
*/
|
|
3027
|
-
static newFoundDocument(documentKey: _DocumentKey, version: SnapshotVersion, value: ObjectValue): MutableDocument;
|
|
3032
|
+
static newFoundDocument(documentKey: _DocumentKey, version: SnapshotVersion, createTime: SnapshotVersion, value: ObjectValue): MutableDocument;
|
|
3028
3033
|
/** Creates a new document that is known to not exist at the given version. */
|
|
3029
3034
|
static newNoDocument(documentKey: _DocumentKey, version: SnapshotVersion): MutableDocument;
|
|
3030
3035
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@firebase/firestore",
|
|
3
|
-
"version": "3.7.3-canary.
|
|
3
|
+
"version": "3.7.3-canary.734fdcd91",
|
|
4
4
|
"engines": {
|
|
5
5
|
"node": ">=10.10.0"
|
|
6
6
|
},
|
|
@@ -82,22 +82,22 @@
|
|
|
82
82
|
"lite/package.json"
|
|
83
83
|
],
|
|
84
84
|
"dependencies": {
|
|
85
|
-
"@firebase/component": "0.5.21-canary.
|
|
86
|
-
"@firebase/logger": "0.3.4-canary.
|
|
87
|
-
"@firebase/util": "1.7.3-canary.
|
|
88
|
-
"@firebase/webchannel-wrapper": "0.8.1-canary.
|
|
85
|
+
"@firebase/component": "0.5.21-canary.734fdcd91",
|
|
86
|
+
"@firebase/logger": "0.3.4-canary.734fdcd91",
|
|
87
|
+
"@firebase/util": "1.7.3-canary.734fdcd91",
|
|
88
|
+
"@firebase/webchannel-wrapper": "0.8.1-canary.734fdcd91",
|
|
89
89
|
"@grpc/grpc-js": "~1.7.0",
|
|
90
90
|
"@grpc/proto-loader": "^0.6.13",
|
|
91
91
|
"node-fetch": "2.6.7",
|
|
92
92
|
"tslib": "^2.1.0"
|
|
93
93
|
},
|
|
94
94
|
"peerDependencies": {
|
|
95
|
-
"@firebase/app": "0.8.4-canary.
|
|
95
|
+
"@firebase/app": "0.8.4-canary.734fdcd91"
|
|
96
96
|
},
|
|
97
97
|
"devDependencies": {
|
|
98
|
-
"@firebase/app": "0.8.4-canary.
|
|
99
|
-
"@firebase/app-compat": "0.1.39-canary.
|
|
100
|
-
"@firebase/auth": "0.20.11-canary.
|
|
98
|
+
"@firebase/app": "0.8.4-canary.734fdcd91",
|
|
99
|
+
"@firebase/app-compat": "0.1.39-canary.734fdcd91",
|
|
100
|
+
"@firebase/auth": "0.20.11-canary.734fdcd91",
|
|
101
101
|
"@rollup/plugin-alias": "3.1.9",
|
|
102
102
|
"@rollup/plugin-json": "4.1.0",
|
|
103
103
|
"@types/eslint": "7.29.0",
|