Skip to content

Commit 18fef97

Browse files
committed
update workspace-export-formats
1 parent 0359787 commit 18fef97

File tree

3 files changed

+30
-3
lines changed

3 files changed

+30
-3
lines changed

components/google_drive/actions/download-file/download-file.mjs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export default {
1818
key: "google_drive-download-file",
1919
name: "Download File",
2020
description: "Download a file. [See the documentation](https://developers.google.com/drive/api/v3/manage-downloads) for more information",
21-
version: "0.1.9",
21+
version: "0.1.10",
2222
type: "action",
2323
props: {
2424
googleDrive,
@@ -82,7 +82,10 @@ export default {
8282
return exportFormats[file.mimeType].map((f) =>
8383
googleWorkspaceExportFormats.find(
8484
(format) => format.value === f,
85-
) ?? f);
85+
) ?? {
86+
value: f,
87+
label: f,
88+
});
8689
},
8790
},
8891
},

components/google_drive/actions/google-workspace-export-formats.mjs

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,22 @@ export default [
3939
value: "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
4040
label: "MS Word document",
4141
},
42+
{
43+
value: "application/vnd.oasis.opendocument.text",
44+
label: "OpenDocument Text",
45+
},
46+
{
47+
value: "application/vnd.oasis.opendocument.spreadsheet",
48+
label: "OpenDocument Spreadsheet",
49+
},
50+
{
51+
value: "application/vnd.oasis.opendocument.presentation",
52+
label: "OpenDocument Presentation",
53+
},
54+
{
55+
value: "application/vnd.google-apps.vid",
56+
label: "MP4",
57+
},
4258
{
4359
value: "application/zip",
4460
label: "HTML (zipped)",
@@ -71,4 +87,12 @@ export default [
7187
value: "text/tab-separated-values",
7288
label: "TSV (sheet only)",
7389
},
90+
{
91+
value: "text/markdown",
92+
label: "Markdown",
93+
},
94+
{
95+
value: "text/x-markdown",
96+
label: "Markdown (Deprecated)",
97+
},
7498
];

components/google_drive/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pipedream/google_drive",
3-
"version": "0.9.2",
3+
"version": "0.9.3",
44
"description": "Pipedream Google_drive Components",
55
"main": "google_drive.app.mjs",
66
"keywords": [

0 commit comments

Comments
 (0)