@pipedream/google_drive 0.10.0 → 0.10.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.
@@ -39,6 +39,22 @@ export default [
39
39
  value: "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
40
40
  label: "MS Word document",
41
41
  },
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
+ },
42
58
  {
43
59
  value: "application/zip",
44
60
  label: "HTML (zipped)",
@@ -71,4 +87,12 @@ export default [
71
87
  value: "text/tab-separated-values",
72
88
  label: "TSV (sheet only)",
73
89
  },
90
+ {
91
+ value: "text/markdown",
92
+ label: "Markdown",
93
+ },
94
+ {
95
+ value: "text/x-markdown",
96
+ label: "Markdown (Deprecated)",
97
+ },
74
98
  ];
@@ -3,7 +3,7 @@ import fs from "fs";
3
3
  import stream from "stream";
4
4
  import { promisify } from "util";
5
5
  import { GOOGLE_DRIVE_MIME_TYPE_PREFIX } from "../../common/constants.mjs";
6
- import googleWorkspaceExportFormats from "../google-workspace-export-formats.mjs";
6
+ import googleWorkspaceExportFormats from "../common/google-workspace-export-formats.mjs";
7
7
  import { toSingleLineString } from "../../common/utils.mjs";
8
8
 
9
9
  /**
@@ -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.9",
21
+ version: "0.1.10",
22
22
  type: "action",
23
23
  props: {
24
24
  googleDrive,
@@ -82,7 +82,10 @@ export default {
82
82
  return exportFormats[file.mimeType].map((f) =>
83
83
  googleWorkspaceExportFormats.find(
84
84
  (format) => format.value === f,
85
- ) ?? f);
85
+ ) ?? {
86
+ value: f,
87
+ label: f,
88
+ });
86
89
  },
87
90
  },
88
91
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pipedream/google_drive",
3
- "version": "0.10.0",
3
+ "version": "0.10.1",
4
4
  "description": "Pipedream Google_drive Components",
5
5
  "main": "google_drive.app.mjs",
6
6
  "keywords": [