@firebase/firestore 3.7.1 → 3.7.2-canary.457fc2eeb
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 +12 -0
- package/dist/index.esm2017.js +249 -243
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +637 -633
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +38 -36
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.node.mjs +5 -3
- package/dist/index.node.mjs.map +1 -1
- package/dist/index.rn.js +249 -243
- package/dist/index.rn.js.map +1 -1
- package/dist/lite/index.browser.esm2017.js +186 -180
- package/dist/lite/index.browser.esm2017.js.map +1 -1
- package/dist/lite/index.browser.esm5.js +350 -344
- package/dist/lite/index.browser.esm5.js.map +1 -1
- package/dist/lite/index.node.cjs.js +10 -3
- package/dist/lite/index.node.cjs.js.map +1 -1
- package/dist/lite/index.node.mjs +10 -3
- package/dist/lite/index.node.mjs.map +1 -1
- package/dist/lite/index.rn.esm2017.js +192 -186
- package/dist/lite/index.rn.esm2017.js.map +1 -1
- package/dist/lite/packages/firestore/dist/lite/index.browser.esm2017.d.ts +26 -26
- package/dist/packages/firestore/dist/index.esm2017.d.ts +1 -1
- package/package.json +11 -11
- package/dist/firestore/test/integration/api_internal/aggregation.test.d.ts +0 -17
- package/dist/lite/firestore/test/integration/api_internal/aggregation.test.d.ts +0 -17
- package/dist/lite/packages/firestore/test/integration/api_internal/aggregation.test.d.ts +0 -17
- package/dist/packages/firestore/test/integration/api_internal/aggregation.test.d.ts +0 -17
|
@@ -286,7 +286,7 @@ declare class yn {
|
|
|
286
286
|
/**
|
|
287
287
|
* Sentinel values that can be used when writing document fields with `set()`
|
|
288
288
|
* or `update()`.
|
|
289
|
-
*/ declare class
|
|
289
|
+
*/ declare class Dn {
|
|
290
290
|
/**
|
|
291
291
|
* @param _methodName - The public API endpoint that returns this class.
|
|
292
292
|
* @hideconstructor
|
|
@@ -764,7 +764,7 @@ declare function An(t: any, e: any, ...n: any[]): vn;
|
|
|
764
764
|
/**
|
|
765
765
|
* Returns a special sentinel `FieldPath` to refer to the ID of a document.
|
|
766
766
|
* It can be used in queries to sort or filter by the document ID.
|
|
767
|
-
*/ declare function
|
|
767
|
+
*/ declare function $n(): Nn;
|
|
768
768
|
declare function Tr(...t: any[]): Er;
|
|
769
769
|
declare function Ir(...t: any[]): Er;
|
|
770
770
|
/**
|
|
@@ -809,7 +809,7 @@ declare function Ir(...t: any[]): Er;
|
|
|
809
809
|
* @param reference - The reference of the document to fetch.
|
|
810
810
|
* @returns A Promise resolved with a `DocumentSnapshot` containing the current
|
|
811
811
|
* document contents.
|
|
812
|
-
*/ declare function
|
|
812
|
+
*/ declare function Dr(t: any): Promise<ir>;
|
|
813
813
|
/**
|
|
814
814
|
* Executes the query and returns the results as a {@link QuerySnapshot}.
|
|
815
815
|
*
|
|
@@ -1043,67 +1043,67 @@ import { FirebaseError as c } from "@firebase/util/dist/src/errors";
|
|
|
1043
1043
|
databaseId: any;
|
|
1044
1044
|
ignoreUndefinedProperties: any;
|
|
1045
1045
|
L: any;
|
|
1046
|
-
/** Creates a new top-level parse context. */
|
|
1046
|
+
/** Creates a new top-level parse context. */ dt(t: any, e: any, n: any, r?: boolean): kn;
|
|
1047
1047
|
}
|
|
1048
|
-
declare class zn extends
|
|
1048
|
+
declare class zn extends Dn {
|
|
1049
1049
|
constructor(t: any, e: any);
|
|
1050
|
-
|
|
1050
|
+
wt: any;
|
|
1051
1051
|
_toFieldTransform(t: any): Pe;
|
|
1052
1052
|
isEqual(t: any): boolean;
|
|
1053
1053
|
}
|
|
1054
|
-
declare class Qn extends
|
|
1054
|
+
declare class Qn extends Dn {
|
|
1055
1055
|
constructor(t: any, e: any);
|
|
1056
|
-
|
|
1056
|
+
wt: any;
|
|
1057
1057
|
_toFieldTransform(t: any): Pe;
|
|
1058
1058
|
isEqual(t: any): boolean;
|
|
1059
1059
|
}
|
|
1060
|
-
declare class Un extends
|
|
1060
|
+
declare class Un extends Dn {
|
|
1061
1061
|
_toFieldTransform(t: any): null;
|
|
1062
1062
|
isEqual(t: any): boolean;
|
|
1063
1063
|
}
|
|
1064
1064
|
declare class Er extends hr {
|
|
1065
1065
|
constructor(t: any, e: any, n: any);
|
|
1066
1066
|
type: any;
|
|
1067
|
+
Tt: any;
|
|
1067
1068
|
At: any;
|
|
1068
|
-
Rt: any;
|
|
1069
1069
|
_apply(t: any): bn;
|
|
1070
1070
|
}
|
|
1071
|
-
declare class Gn extends
|
|
1071
|
+
declare class Gn extends Dn {
|
|
1072
1072
|
constructor(t: any, e: any);
|
|
1073
|
-
|
|
1073
|
+
yt: any;
|
|
1074
1074
|
_toFieldTransform(t: any): Pe;
|
|
1075
1075
|
isEqual(t: any): boolean;
|
|
1076
1076
|
}
|
|
1077
1077
|
declare class pr extends hr {
|
|
1078
1078
|
constructor(t: any, e: any, n: any);
|
|
1079
1079
|
type: any;
|
|
1080
|
+
Et: any;
|
|
1080
1081
|
It: any;
|
|
1081
|
-
Tt: any;
|
|
1082
1082
|
_apply(t: any): bn;
|
|
1083
1083
|
}
|
|
1084
1084
|
declare class wr extends hr {
|
|
1085
1085
|
constructor(t: any, e: any);
|
|
1086
|
-
|
|
1087
|
-
|
|
1086
|
+
_t: any;
|
|
1087
|
+
bt: any;
|
|
1088
1088
|
type: string;
|
|
1089
1089
|
_apply(t: any): bn;
|
|
1090
1090
|
}
|
|
1091
|
-
declare class Bn extends
|
|
1091
|
+
declare class Bn extends Dn {
|
|
1092
1092
|
_toFieldTransform(t: any): Pe;
|
|
1093
1093
|
isEqual(t: any): boolean;
|
|
1094
1094
|
}
|
|
1095
1095
|
declare class gr extends hr {
|
|
1096
1096
|
constructor(t: any, e: any, n: any);
|
|
1097
1097
|
type: any;
|
|
1098
|
+
Tt: any;
|
|
1098
1099
|
At: any;
|
|
1099
|
-
Rt: any;
|
|
1100
1100
|
_apply(t: any): bn;
|
|
1101
1101
|
}
|
|
1102
1102
|
declare class fr extends hr {
|
|
1103
1103
|
constructor(t: any, e: any, n: any);
|
|
1104
|
+
_t: any;
|
|
1104
1105
|
gt: any;
|
|
1105
1106
|
vt: any;
|
|
1106
|
-
bt: any;
|
|
1107
1107
|
type: string;
|
|
1108
1108
|
_apply(t: any): bn;
|
|
1109
1109
|
}
|
|
@@ -1158,15 +1158,15 @@ declare class Z {
|
|
|
1158
1158
|
fieldTransforms: any;
|
|
1159
1159
|
fieldMask: any;
|
|
1160
1160
|
get path(): any;
|
|
1161
|
-
get
|
|
1162
|
-
/** Returns a new context with the specified settings overwritten. */
|
|
1163
|
-
|
|
1161
|
+
get rt(): any;
|
|
1162
|
+
/** Returns a new context with the specified settings overwritten. */ st(t: any): kn;
|
|
1163
|
+
it(t: any): kn;
|
|
1164
|
+
ct(t: any): kn;
|
|
1164
1165
|
at(t: any): kn;
|
|
1165
|
-
ht(t: any):
|
|
1166
|
-
lt(t: any): U;
|
|
1166
|
+
ht(t: any): U;
|
|
1167
1167
|
/** Returns 'true' if 'fieldPath' was traversed when creating this context. */ contains(t: any): boolean;
|
|
1168
|
-
|
|
1169
|
-
|
|
1168
|
+
nt(): void;
|
|
1169
|
+
ut(t: any): void;
|
|
1170
1170
|
}
|
|
1171
1171
|
/**
|
|
1172
1172
|
* @license
|
|
@@ -1189,4 +1189,4 @@ declare class Z {
|
|
|
1189
1189
|
field: any;
|
|
1190
1190
|
transform: any;
|
|
1191
1191
|
}
|
|
1192
|
-
export { yn as AggregateField, _n as AggregateQuerySnapshot, Vn as Bytes, En as CollectionReference, vn as DocumentReference, ir as DocumentSnapshot, Nn as FieldPath,
|
|
1192
|
+
export { yn as AggregateField, _n as AggregateQuerySnapshot, Vn as Bytes, En as CollectionReference, vn as DocumentReference, ir as DocumentSnapshot, Nn as FieldPath, Dn as FieldValue, fn as Firestore, U as FirestoreError, xn as GeoPoint, bn as Query, hr as QueryConstraint, or as QueryDocumentSnapshot, ur as QuerySnapshot, bt as Timestamp, Zr as Transaction, Qr as WriteBatch, Or as addDoc, Cr as aggregateQuerySnapshotEqual, jr as arrayRemove, Ur as arrayUnion, In as collection, Tn as collectionGroup, mn as connectFirestoreEmulator, qr as deleteDoc, Lr as deleteField, An as doc, $n as documentId, Tr as endAt, Ir as endBefore, kr as getCount, Dr as getDoc, xr as getDocs, wn as getFirestore, Br as increment, dn as initializeFirestore, yr as limit, _r as limitToLast, mr as orderBy, lr as query, Pn as queryEqual, Rn as refEqual, ts as runTransaction, Mr as serverTimestamp, Fr as setDoc, p as setLogLevel, cr as snapshotEqual, br as startAfter, vr as startAt, pn as terminate, Sr as updateDoc, dr as where, Gr as writeBatch };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@firebase/firestore",
|
|
3
|
-
"version": "3.7.
|
|
3
|
+
"version": "3.7.2-canary.457fc2eeb",
|
|
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.
|
|
84
|
-
"@firebase/logger": "0.3.
|
|
85
|
-
"@firebase/util": "1.7.
|
|
86
|
-
"@firebase/webchannel-wrapper": "0.8.
|
|
83
|
+
"@firebase/component": "0.5.21-canary.457fc2eeb",
|
|
84
|
+
"@firebase/logger": "0.3.4-canary.457fc2eeb",
|
|
85
|
+
"@firebase/util": "1.7.3-canary.457fc2eeb",
|
|
86
|
+
"@firebase/webchannel-wrapper": "0.8.1-canary.457fc2eeb",
|
|
87
87
|
"@grpc/grpc-js": "^1.3.2",
|
|
88
88
|
"@grpc/proto-loader": "^0.6.13",
|
|
89
89
|
"node-fetch": "2.6.7",
|
|
90
90
|
"tslib": "^2.1.0"
|
|
91
91
|
},
|
|
92
92
|
"peerDependencies": {
|
|
93
|
-
"@firebase/app": "0.
|
|
93
|
+
"@firebase/app": "0.8.3-canary.457fc2eeb"
|
|
94
94
|
},
|
|
95
95
|
"devDependencies": {
|
|
96
|
-
"@firebase/app": "0.8.
|
|
97
|
-
"@firebase/app-compat": "0.1.
|
|
98
|
-
"@firebase/auth": "0.20.
|
|
96
|
+
"@firebase/app": "0.8.3-canary.457fc2eeb",
|
|
97
|
+
"@firebase/app-compat": "0.1.38-canary.457fc2eeb",
|
|
98
|
+
"@firebase/auth": "0.20.11-canary.457fc2eeb",
|
|
99
99
|
"@rollup/plugin-alias": "3.1.9",
|
|
100
100
|
"@rollup/plugin-json": "4.1.0",
|
|
101
101
|
"@types/eslint": "7.29.0",
|
|
@@ -103,14 +103,14 @@
|
|
|
103
103
|
"chai-exclude": "2.1.0",
|
|
104
104
|
"json-stable-stringify": "1.0.1",
|
|
105
105
|
"protobufjs": "6.11.3",
|
|
106
|
-
"rollup": "2.
|
|
106
|
+
"rollup": "2.79.1",
|
|
107
107
|
"rollup-plugin-copy": "3.4.0",
|
|
108
108
|
"rollup-plugin-copy-assets": "2.0.3",
|
|
109
109
|
"rollup-plugin-replace": "2.2.0",
|
|
110
110
|
"rollup-plugin-sourcemaps": "0.6.3",
|
|
111
111
|
"rollup-plugin-terser": "7.0.2",
|
|
112
112
|
"rollup-plugin-typescript2": "0.31.2",
|
|
113
|
-
"ts-node": "10.
|
|
113
|
+
"ts-node": "10.9.1",
|
|
114
114
|
"typescript": "4.2.2"
|
|
115
115
|
},
|
|
116
116
|
"repository": {
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2022 Google LLC
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
17
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2022 Google LLC
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
17
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2022 Google LLC
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
17
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2022 Google LLC
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
17
|
-
export {};
|