@react-native-firebase/firestore 18.6.0 → 18.6.2
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/lib/index.d.ts +4 -4
- package/lib/modular/index.d.ts +8 -8
- package/lib/version.js +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [18.6.2](https://github.com/invertase/react-native-firebase/compare/v18.6.1...v18.6.2) (2023-11-23)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @react-native-firebase/firestore
|
|
9
|
+
|
|
10
|
+
## [18.6.1](https://github.com/invertase/react-native-firebase/compare/v18.6.0...v18.6.1) (2023-11-01)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @react-native-firebase/firestore
|
|
13
|
+
|
|
6
14
|
## [18.6.0](https://github.com/invertase/react-native-firebase/compare/v18.5.0...v18.6.0) (2023-10-26)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @react-native-firebase/firestore
|
package/lib/index.d.ts
CHANGED
|
@@ -2322,10 +2322,10 @@ export namespace FirebaseFirestoreTypes {
|
|
|
2322
2322
|
export type SetValue<T> = T extends Timestamp
|
|
2323
2323
|
? Timestamp | Date // allow Date in place of Timestamp
|
|
2324
2324
|
: T extends object
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2325
|
+
? {
|
|
2326
|
+
[P in keyof T]: SetValue<T[P]> | FieldValue; // allow FieldValue in place of values
|
|
2327
|
+
}
|
|
2328
|
+
: T;
|
|
2329
2329
|
}
|
|
2330
2330
|
|
|
2331
2331
|
declare const defaultExport: ReactNativeFirebase.FirebaseModuleWithStaticsAndApp<
|
package/lib/modular/index.d.ts
CHANGED
|
@@ -22,8 +22,8 @@ export type PartialWithFieldValue<T> =
|
|
|
22
22
|
| (T extends Primitive
|
|
23
23
|
? T
|
|
24
24
|
: T extends object
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
? { [K in keyof T]?: PartialWithFieldValue<T[K]> | FieldValue }
|
|
26
|
+
: never);
|
|
27
27
|
|
|
28
28
|
/**
|
|
29
29
|
* Given a union type `U = T1 | T2 | ...`, returns an intersected type (`T1 & T2 & ...`).
|
|
@@ -78,10 +78,10 @@ export declare type NestedUpdateFields<T extends Record<string, unknown>> = Unio
|
|
|
78
78
|
export declare type UpdateData<T> = T extends Primitive
|
|
79
79
|
? T
|
|
80
80
|
: T extends object
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
81
|
+
? {
|
|
82
|
+
[K in keyof T]?: UpdateData<T[K]> | FieldValue;
|
|
83
|
+
} & NestedUpdateFields<T>
|
|
84
|
+
: Partial<T>;
|
|
85
85
|
|
|
86
86
|
/**
|
|
87
87
|
* Allows FieldValues to be passed in as a property value while maintaining
|
|
@@ -92,8 +92,8 @@ export type WithFieldValue<T> =
|
|
|
92
92
|
| (T extends Primitive
|
|
93
93
|
? T
|
|
94
94
|
: T extends object
|
|
95
|
-
|
|
96
|
-
|
|
95
|
+
? { [K in keyof T]: WithFieldValue<T[K]> | FieldValue }
|
|
96
|
+
: never);
|
|
97
97
|
|
|
98
98
|
/**
|
|
99
99
|
* Returns the existing default {@link Firestore} instance that is associated with the
|
package/lib/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Generated by genversion.
|
|
2
|
-
module.exports = '18.6.
|
|
2
|
+
module.exports = '18.6.2';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-native-firebase/firestore",
|
|
3
|
-
"version": "18.6.
|
|
3
|
+
"version": "18.6.2",
|
|
4
4
|
"author": "Invertase <oss@invertase.io> (http://invertase.io)",
|
|
5
5
|
"description": "React Native Firebase - Cloud Firestore is a NoSQL cloud database to store and sync data between your React Native application and Firebase's database. The API matches the Firebase Web SDK whilst taking advantage of the native SDKs performance and offline capabilities.",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
"firestore"
|
|
28
28
|
],
|
|
29
29
|
"peerDependencies": {
|
|
30
|
-
"@react-native-firebase/app": "18.6.
|
|
30
|
+
"@react-native-firebase/app": "18.6.2"
|
|
31
31
|
},
|
|
32
32
|
"publishConfig": {
|
|
33
33
|
"access": "public"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "8673f3162667f5fd9f942ccac24cecbd18a79aa3"
|
|
36
36
|
}
|