@tauri-apps/plugin-dialog 2.0.0-beta.1 → 2.0.0-beta.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/dist-js/index.d.ts +4 -0
- package/package.json +2 -2
package/dist-js/index.d.ts
CHANGED
|
@@ -47,6 +47,8 @@ interface OpenDialogOptions {
|
|
|
47
47
|
* Defines whether subdirectories will be allowed on the scope or not.
|
|
48
48
|
*/
|
|
49
49
|
recursive?: boolean;
|
|
50
|
+
/** Whether to allow creating directories in the dialog. Enabled by default. **macOS Only** */
|
|
51
|
+
canCreateDirectories?: boolean;
|
|
50
52
|
}
|
|
51
53
|
/**
|
|
52
54
|
* Options for the save dialog.
|
|
@@ -64,6 +66,8 @@ interface SaveDialogOptions {
|
|
|
64
66
|
* If it's not an existing directory, the file name will be set to the dialog's file name input and the dialog will be set to the parent folder.
|
|
65
67
|
*/
|
|
66
68
|
defaultPath?: string;
|
|
69
|
+
/** Whether to allow creating directories in the dialog. Enabled by default. **macOS Only** */
|
|
70
|
+
canCreateDirectories?: boolean;
|
|
67
71
|
}
|
|
68
72
|
/**
|
|
69
73
|
* @since 2.0.0
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tauri-apps/plugin-dialog",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.2",
|
|
4
4
|
"license": "MIT or APACHE-2.0",
|
|
5
5
|
"authors": [
|
|
6
6
|
"Tauri Programme within The Commons Conservancy"
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"LICENSE"
|
|
21
21
|
],
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@tauri-apps/api": "2.0.0-beta.
|
|
23
|
+
"@tauri-apps/api": "2.0.0-beta.4"
|
|
24
24
|
},
|
|
25
25
|
"scripts": {
|
|
26
26
|
"build": "rollup -c"
|