@pipedream/dropbox 1.0.0 → 1.0.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.
|
@@ -9,7 +9,7 @@ export default {
|
|
|
9
9
|
name: "Download File to TMP",
|
|
10
10
|
description: "Download a specific file to the temporary directory. [See the documentation](https://dropbox.github.io/dropbox-sdk-js/Dropbox.html#filesDownload__anchor).",
|
|
11
11
|
key: "dropbox-download-file-to-tmp",
|
|
12
|
-
version: "0.0.
|
|
12
|
+
version: "0.0.8",
|
|
13
13
|
type: "action",
|
|
14
14
|
props: {
|
|
15
15
|
dropbox,
|
|
@@ -28,6 +28,11 @@ export default {
|
|
|
28
28
|
description: "The new name of the file to be saved, including it's extension. e.g: `myFile.csv`",
|
|
29
29
|
optional: true,
|
|
30
30
|
},
|
|
31
|
+
syncDir: {
|
|
32
|
+
type: "dir",
|
|
33
|
+
accessMode: "write",
|
|
34
|
+
sync: true,
|
|
35
|
+
},
|
|
31
36
|
},
|
|
32
37
|
async run({ $ }) {
|
|
33
38
|
try {
|
|
@@ -6,7 +6,7 @@ export default {
|
|
|
6
6
|
name: "Upload a File",
|
|
7
7
|
description: "Uploads a file to a selected folder. [See the documentation](https://dropbox.github.io/dropbox-sdk-js/Dropbox.html#filesUpload__anchor)",
|
|
8
8
|
key: "dropbox-upload-file",
|
|
9
|
-
version: "1.0.
|
|
9
|
+
version: "1.0.1",
|
|
10
10
|
type: "action",
|
|
11
11
|
props: {
|
|
12
12
|
dropbox,
|
|
@@ -55,6 +55,12 @@ export default {
|
|
|
55
55
|
options: consts.UPLOAD_FILE_MODE_OPTIONS,
|
|
56
56
|
optional: true,
|
|
57
57
|
},
|
|
58
|
+
syncDir: {
|
|
59
|
+
type: "dir",
|
|
60
|
+
accessMode: "read",
|
|
61
|
+
sync: true,
|
|
62
|
+
optional: true,
|
|
63
|
+
},
|
|
58
64
|
},
|
|
59
65
|
async run({ $ }) {
|
|
60
66
|
const {
|
|
@@ -8,7 +8,7 @@ export default {
|
|
|
8
8
|
name: "Upload Multiple Files",
|
|
9
9
|
description: "Uploads multiple file to a selected folder. [See the documentation](https://dropbox.github.io/dropbox-sdk-js/Dropbox.html#filesUpload__anchor)",
|
|
10
10
|
key: "dropbox-upload-multiple-files",
|
|
11
|
-
version: "1.0.
|
|
11
|
+
version: "1.0.1",
|
|
12
12
|
type: "action",
|
|
13
13
|
props: {
|
|
14
14
|
dropbox,
|
|
@@ -57,6 +57,12 @@ export default {
|
|
|
57
57
|
options: consts.UPLOAD_FILE_MODE_OPTIONS,
|
|
58
58
|
optional: true,
|
|
59
59
|
},
|
|
60
|
+
syncDir: {
|
|
61
|
+
type: "dir",
|
|
62
|
+
accessMode: "read",
|
|
63
|
+
sync: true,
|
|
64
|
+
optional: true,
|
|
65
|
+
},
|
|
60
66
|
},
|
|
61
67
|
async run({ $ }) {
|
|
62
68
|
const {
|
package/common/utils.mjs
CHANGED