@firebase/firestore 3.2.0-canary.6ee947d63 → 3.2.1
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 +10 -0
- package/dist/firestore/src/lite-api/reference.d.ts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.esm2017.js +716 -716
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +971 -971
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +2 -2
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.node.mjs +2 -2
- package/dist/index.node.mjs.map +1 -1
- package/dist/index.rn.js +3 -3
- package/dist/index.rn.js.map +1 -1
- package/dist/internal.d.ts +4 -4
- package/dist/lite/firestore/src/lite-api/reference.d.ts +4 -4
- 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.browser.esm5.js.map +1 -1
- package/dist/lite/index.d.ts +4 -4
- package/dist/lite/index.node.cjs.js +2 -2
- package/dist/lite/index.node.cjs.js.map +1 -1
- package/dist/lite/index.node.mjs +2 -2
- package/dist/lite/index.node.mjs.map +1 -1
- package/dist/lite/index.rn.esm2017.js +2 -2
- package/dist/lite/index.rn.esm2017.js.map +1 -1
- package/dist/lite/internal.d.ts +4 -4
- package/dist/lite/packages/firestore/src/lite-api/reference.d.ts +4 -4
- package/dist/lite/private.d.ts +4 -4
- package/dist/packages/firestore/dist/index.esm2017.d.ts +102 -102
- package/dist/packages/firestore/src/lite-api/reference.d.ts +4 -4
- package/dist/private.d.ts +4 -4
- package/package.json +9 -9
package/dist/internal.d.ts
CHANGED
|
@@ -3363,9 +3363,9 @@ declare class ParsedUpdateData {
|
|
|
3363
3363
|
* Similar to Typescript's `Partial<T>`, but allows nested fields to be
|
|
3364
3364
|
* omitted and FieldValues to be passed in as property values.
|
|
3365
3365
|
*/
|
|
3366
|
-
export declare type PartialWithFieldValue<T> =
|
|
3366
|
+
export declare type PartialWithFieldValue<T> = T extends Primitive ? T : T extends {} ? {
|
|
3367
3367
|
[K in keyof T]?: PartialWithFieldValue<T[K]> | FieldValue;
|
|
3368
|
-
} :
|
|
3368
|
+
} : Partial<T>;
|
|
3369
3369
|
|
|
3370
3370
|
/**
|
|
3371
3371
|
* Persistence is the lowest-level shared interface to persistent storage in
|
|
@@ -5430,9 +5430,9 @@ export declare type WhereFilterOp = '<' | '<=' | '==' | '!=' | '>=' | '>' | 'arr
|
|
|
5430
5430
|
* Allows FieldValues to be passed in as a property value while maintaining
|
|
5431
5431
|
* type safety.
|
|
5432
5432
|
*/
|
|
5433
|
-
export declare type WithFieldValue<T> = T
|
|
5433
|
+
export declare type WithFieldValue<T> = T extends Primitive ? T : T extends {} ? {
|
|
5434
5434
|
[K in keyof T]: WithFieldValue<T[K]> | FieldValue;
|
|
5435
|
-
} :
|
|
5435
|
+
} : Partial<T>;
|
|
5436
5436
|
|
|
5437
5437
|
/**
|
|
5438
5438
|
* A write batch, used to perform multiple writes as a single atomic unit.
|
|
@@ -34,16 +34,16 @@ export interface DocumentData {
|
|
|
34
34
|
* Similar to Typescript's `Partial<T>`, but allows nested fields to be
|
|
35
35
|
* omitted and FieldValues to be passed in as property values.
|
|
36
36
|
*/
|
|
37
|
-
export declare type PartialWithFieldValue<T> =
|
|
37
|
+
export declare type PartialWithFieldValue<T> = T extends Primitive ? T : T extends {} ? {
|
|
38
38
|
[K in keyof T]?: PartialWithFieldValue<T[K]> | FieldValue;
|
|
39
|
-
} :
|
|
39
|
+
} : Partial<T>;
|
|
40
40
|
/**
|
|
41
41
|
* Allows FieldValues to be passed in as a property value while maintaining
|
|
42
42
|
* type safety.
|
|
43
43
|
*/
|
|
44
|
-
export declare type WithFieldValue<T> = T
|
|
44
|
+
export declare type WithFieldValue<T> = T extends Primitive ? T : T extends {} ? {
|
|
45
45
|
[K in keyof T]: WithFieldValue<T[K]> | FieldValue;
|
|
46
|
-
} :
|
|
46
|
+
} : Partial<T>;
|
|
47
47
|
/**
|
|
48
48
|
* Update data (for use with {@link (updateDoc:1)}) that consists of field paths
|
|
49
49
|
* (e.g. 'foo' or 'foo.baz') mapped to values. Fields that contain dots
|
|
@@ -63,7 +63,7 @@ h.MOCK_USER = new h("mock-user");
|
|
|
63
63
|
* See the License for the specific language governing permissions and
|
|
64
64
|
* limitations under the License.
|
|
65
65
|
*/
|
|
66
|
-
let l = "9.
|
|
66
|
+
let l = "9.3.0";
|
|
67
67
|
|
|
68
68
|
/**
|
|
69
69
|
* @license
|
|
@@ -5911,7 +5911,7 @@ class Cr {
|
|
|
5911
5911
|
return e && r._setSettings(e), r;
|
|
5912
5912
|
}), "PUBLIC" /* PUBLIC */)),
|
|
5913
5913
|
// RUNTIME_ENV and BUILD_TARGET are replaced by real values during the compilation
|
|
5914
|
-
registerVersion("firestore-lite", "3.2.
|
|
5914
|
+
registerVersion("firestore-lite", "3.2.1", ""), registerVersion("firestore-lite", "3.2.1", "esm2017");
|
|
5915
5915
|
|
|
5916
5916
|
export { yn as Bytes, an as CollectionReference, un as DocumentReference, Gn as DocumentSnapshot, mn as FieldPath, _n as FieldValue, en as Firestore, L as FirestoreError, gn as GeoPoint, cn as Query, Jn as QueryConstraint, Wn as QueryDocumentSnapshot, Hn as QuerySnapshot, pt as Timestamp, Cr as Transaction, Dr as WriteBatch, Tr as addDoc, Rr as arrayRemove, Pr as arrayUnion, hn as collection, ln as collectionGroup, sn as connectFirestoreEmulator, Er as deleteDoc, Ir as deleteField, fn as doc, pn as documentId, lr as endAt, hr as endBefore, _r as getDoc, gr as getDocs, rn as getFirestore, Vr as increment, nn as initializeFirestore, sr as limit, ir as limitToLast, nr as orderBy, Zn as query, wn as queryEqual, dn as refEqual, Lr as runTransaction, Ar as serverTimestamp, br as setDoc, d as setLogLevel, Yn as snapshotEqual, cr as startAfter, ur as startAt, on as terminate, vr as updateDoc, tr as where, $r as writeBatch };
|
|
5917
5917
|
//# sourceMappingURL=index.browser.esm2017.js.map
|