Skip to content

Commit 1539c41

Browse files
committed
4.0.0
1 parent 81128a7 commit 1539c41

File tree

3 files changed

+14
-12
lines changed

3 files changed

+14
-12
lines changed

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@ getPhotosParams:
206206
~mimeTypes: array(string)=?,
207207
~fromTime: float=?,
208208
~toTime: float=?,
209+
~include_: array(string)=?,
209210
unit
210211
) => getPhotosParams
211212
```
@@ -214,12 +215,12 @@ getPhotosParams:
214215

215216
```reason
216217
type image = {
217-
filename: string,
218+
filename: Js.Nullable.t(string),
218219
uri: string,
219-
height: float,
220-
width: float,
221-
isStored: Js.Nullable.t(bool),
222-
playableDuration: float,
220+
height: Js.Nullable.t(float),
221+
width: Js.Nullable.t(float),
222+
fileSize: Js.Nullable.t(float),
223+
playableDuration: Js.Nullable.t(float),
223224
}
224225
```
225226

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"name": "@reason-react-native/cameraroll",
3-
"version": "1.5.0",
3+
"version": "4.0.0",
44
"publishConfig": {
55
"access": "public"
66
},
77
"peerDependencies": {
8-
"@react-native-community/cameraroll": "^1.5.0"
8+
"@react-native-community/cameraroll": "^4.0.0"
99
},
1010
"repository": "https://github.com/reason-react-native/cameraroll.git",
1111
"author": "sgny (https://github.com/sgny)",

src/ReactNativeCameraRoll.re

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ external getPhotosParams:
4343
~mimeTypes: array(string)=?,
4444
~fromTime: float=?,
4545
~toTime: float=?,
46+
~include_: array(string)=?,
4647
unit
4748
) =>
4849
getPhotosParams;
@@ -58,12 +59,12 @@ and node = {
5859
location: Js.Nullable.t(location),
5960
}
6061
and image = {
61-
filename: string,
62+
filename: Js.Nullable.t(string),
6263
uri: string,
63-
height: float,
64-
width: float,
65-
isStored: Js.Nullable.t(bool),
66-
playableDuration: float,
64+
height: Js.Nullable.t(float),
65+
width: Js.Nullable.t(float),
66+
fileSize: Js.Nullable.t(float),
67+
playableDuration: Js.Nullable.t(float),
6768
}
6869
and location = {
6970
latitude: Js.Nullable.t(float),

0 commit comments

Comments
 (0)