File tree Expand file tree Collapse file tree 1 file changed +12
-11
lines changed Expand file tree Collapse file tree 1 file changed +12
-11
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,8 @@ module ImagePicker = {
5
5
module Button = {
6
6
type t ;
7
7
8
- [@ bs . obj ] external make : (~title : string , ~name : string ) => t = "" ;
8
+ [@ bs . obj ]
9
+ external make : (~title : string =?, ~name : string =?, unit ) => t = "" ;
9
10
};
10
11
11
12
module PermissionDenied = {
@@ -14,10 +15,10 @@ module ImagePicker = {
14
15
[@ bs . obj ]
15
16
external options :
16
17
(
17
- ~title : string =? ,
18
- ~text : string =? ,
19
- ~reTryTitle : string =? ,
20
- ~okTitle : string =? ,
18
+ ~title : string ,
19
+ ~text : string ,
20
+ ~reTryTitle : string ,
21
+ ~okTitle : string ,
21
22
unit
22
23
) =>
23
24
t =
@@ -75,16 +76,16 @@ module ImagePicker = {
75
76
"customButton": string ,
76
77
"data": string ,
77
78
"uri": string ,
78
- "oriURL ": string ,
79
+ "origURL ": option ( string ) ,
79
80
"isVertical": bool ,
80
81
"width": int ,
81
82
"height": int ,
82
83
"fileSize": int ,
83
- "type": string ,
84
- "fileName": string ,
85
- "path": string ,
86
- "latitude": float ,
87
- "longitude": float ,
84
+ "type": option ( string ) ,
85
+ "fileName": option ( string ) ,
86
+ "path": option ( string ) ,
87
+ "latitude": option ( float ) ,
88
+ "longitude": option ( float ) ,
88
89
"timestamp": int ,
89
90
"originalRotation": float ,
90
91
};
You can’t perform that action at this time.
0 commit comments