@pipedream/google_drive 1.0.1 → 1.0.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.
|
@@ -18,7 +18,7 @@ export default {
|
|
|
18
18
|
key: "google_drive-download-file",
|
|
19
19
|
name: "Download File",
|
|
20
20
|
description: "Download a file. [See the documentation](https://developers.google.com/drive/api/v3/manage-downloads) for more information",
|
|
21
|
-
version: "0.1.
|
|
21
|
+
version: "0.1.11",
|
|
22
22
|
type: "action",
|
|
23
23
|
props: {
|
|
24
24
|
googleDrive,
|
|
@@ -88,6 +88,11 @@ export default {
|
|
|
88
88
|
});
|
|
89
89
|
},
|
|
90
90
|
},
|
|
91
|
+
syncDir: {
|
|
92
|
+
type: "dir",
|
|
93
|
+
accessMode: "write",
|
|
94
|
+
sync: true,
|
|
95
|
+
},
|
|
91
96
|
},
|
|
92
97
|
async run({ $ }) {
|
|
93
98
|
// Get file metadata to get file's MIME type
|
|
@@ -6,7 +6,7 @@ export default {
|
|
|
6
6
|
key: "google_drive-update-file",
|
|
7
7
|
name: "Update File",
|
|
8
8
|
description: "Update a file's metadata and/or content. [See the documentation](https://developers.google.com/drive/api/v3/reference/files/update) for more information",
|
|
9
|
-
version: "2.0.
|
|
9
|
+
version: "2.0.1",
|
|
10
10
|
type: "action",
|
|
11
11
|
props: {
|
|
12
12
|
googleDrive,
|
|
@@ -96,6 +96,12 @@ export default {
|
|
|
96
96
|
Any additional parameters to pass in the request. [See the documentation](https://developers.google.com/drive/api/v3/reference/files/update#request-body) for all available parameters.
|
|
97
97
|
`),
|
|
98
98
|
},
|
|
99
|
+
syncDir: {
|
|
100
|
+
type: "dir",
|
|
101
|
+
accessMode: "read",
|
|
102
|
+
sync: true,
|
|
103
|
+
optional: true,
|
|
104
|
+
},
|
|
99
105
|
},
|
|
100
106
|
async run({ $ }) {
|
|
101
107
|
const {
|
|
@@ -12,7 +12,7 @@ export default {
|
|
|
12
12
|
key: "google_drive-upload-file",
|
|
13
13
|
name: "Upload File",
|
|
14
14
|
description: "Upload a file to Google Drive. [See the documentation](https://developers.google.com/drive/api/v3/manage-uploads) for more information",
|
|
15
|
-
version: "2.0.
|
|
15
|
+
version: "2.0.2",
|
|
16
16
|
type: "action",
|
|
17
17
|
props: {
|
|
18
18
|
googleDrive,
|
|
@@ -79,6 +79,12 @@ export default {
|
|
|
79
79
|
description: "Additional metadata to supply in the upload. [See the documentation](https://developers.google.com/workspace/drive/api/reference/rest/v3/files) for information on available fields. Values will be parsed as JSON where applicable. Example: `{ \"description\": \"my file description\" }`",
|
|
80
80
|
optional: true,
|
|
81
81
|
},
|
|
82
|
+
syncDir: {
|
|
83
|
+
type: "dir",
|
|
84
|
+
accessMode: "read",
|
|
85
|
+
sync: true,
|
|
86
|
+
optional: true,
|
|
87
|
+
},
|
|
82
88
|
},
|
|
83
89
|
async run({ $ }) {
|
|
84
90
|
const {
|