Skip to content

Commit 700d827

Browse files
authored
Merging pull request #18091
* Update Google Drive component versions and improve source functionality - Bumped versions for multiple actions and sources to ensure compatibility and reflect recent changes. - Enhanced the 'New or Modified Folders' source to include options for parent folder selection and subfolder inclusion. - Improved event handling and filtering for various actions related to file and folder management. * pnpm update
1 parent 40f99c6 commit 700d827

File tree

36 files changed

+135
-74
lines changed

36 files changed

+135
-74
lines changed

components/google_drive/actions/add-file-sharing-preference/add-file-sharing-preference.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export default {
2020
name: "Share File or Folder",
2121
description:
2222
"Add a [sharing permission](https://support.google.com/drive/answer/7166529) to the sharing preferences of a file or folder and provide a sharing URL. [See the documentation](https://developers.google.com/drive/api/v3/reference/permissions/create)",
23-
version: "0.2.3",
23+
version: "0.2.4",
2424
type: "action",
2525
props: {
2626
googleDrive,

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default {
44
key: "google_drive-copy-file",
55
name: "Copy File",
66
description: "Create a copy of the specified file. [See the documentation](https://developers.google.com/drive/api/v3/reference/files/copy) for more information",
7-
version: "0.1.10",
7+
version: "0.1.11",
88
type: "action",
99
props: {
1010
googleDrive,

components/google_drive/actions/create-file-from-template/create-file-from-template.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default {
88
key: "google_drive-create-file-from-template",
99
name: "Create New File From Template",
1010
description: "Create a new Google Docs file from a template. Optionally include placeholders in the template document that will get replaced from this action. [See documentation](https://www.npmjs.com/package/google-docs-mustaches)",
11-
version: "0.1.10",
11+
version: "0.1.11",
1212
type: "action",
1313
props: {
1414
googleDrive,

components/google_drive/actions/create-file-from-text/create-file-from-text.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default {
55
key: "google_drive-create-file-from-text",
66
name: "Create New File From Text",
77
description: "Create a new file from plain text. [See the documentation](https://developers.google.com/drive/api/v3/reference/files/create) for more information",
8-
version: "0.2.3",
8+
version: "0.2.4",
99
type: "action",
1010
props: {
1111
googleDrive,

components/google_drive/actions/create-folder/create-folder.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
import googleDrive from "../../google_drive.app.mjs";
21
import {
32
getListFilesOpts,
43
toSingleLineString,
54
} from "../../common/utils.mjs";
5+
import googleDrive from "../../google_drive.app.mjs";
66

77
import {
8-
MY_DRIVE_VALUE,
98
GOOGLE_DRIVE_FOLDER_MIME_TYPE,
9+
MY_DRIVE_VALUE,
1010
} from "../../common/constants.mjs";
1111

1212
export default {
1313
key: "google_drive-create-folder",
1414
name: "Create Folder",
1515
description: "Create a new empty folder. [See the documentation](https://developers.google.com/drive/api/v3/reference/files/create) for more information",
16-
version: "0.1.11",
16+
version: "0.1.12",
1717
type: "action",
1818
props: {
1919
googleDrive,

components/google_drive/actions/create-shared-drive/create-shared-drive.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default {
44
key: "google_drive-create-shared-drive",
55
name: "Create Shared Drive",
66
description: "Create a new shared drive. [See the documentation](https://developers.google.com/drive/api/v3/reference/drives/create) for more information",
7-
version: "0.1.11",
7+
version: "0.1.12",
88
type: "action",
99
props: {
1010
googleDrive,

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default {
55
name: "Delete File",
66
description:
77
"Permanently delete a file or folder without moving it to the trash. [See the documentation](https://developers.google.com/drive/api/v3/reference/files/delete) for more information",
8-
version: "0.1.11",
8+
version: "0.1.12",
99
type: "action",
1010
props: {
1111
googleDrive,

components/google_drive/actions/delete-shared-drive/delete-shared-drive.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default {
44
key: "google_drive-delete-shared-drive",
55
name: "Delete Shared Drive",
66
description: "Delete a shared drive without any content. [See the documentation](https://developers.google.com/drive/api/v3/reference/drives/delete) for more information",
7-
version: "0.1.10",
7+
version: "0.1.11",
88
type: "action",
99
props: {
1010
googleDrive,

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
import googleDrive from "../../google_drive.app.mjs";
21
import fs from "fs";
32
import stream from "stream";
43
import { promisify } from "util";
54
import { GOOGLE_DRIVE_MIME_TYPE_PREFIX } from "../../common/constants.mjs";
6-
import googleWorkspaceExportFormats from "../common/google-workspace-export-formats.mjs";
75
import { toSingleLineString } from "../../common/utils.mjs";
6+
import googleDrive from "../../google_drive.app.mjs";
7+
import googleWorkspaceExportFormats from "../common/google-workspace-export-formats.mjs";
88

99
/**
1010
* Uses Google Drive API to download files to a `filePath` in the /tmp
@@ -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.13",
21+
version: "0.1.14",
2222
type: "action",
2323
props: {
2424
googleDrive,

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
import googleDrive from "../../google_drive.app.mjs";
2-
import { getListFilesOpts } from "../../common/utils.mjs";
31
import commonSearchQuery from "../../common/commonSearchQuery.mjs";
2+
import { getListFilesOpts } from "../../common/utils.mjs";
3+
import googleDrive from "../../google_drive.app.mjs";
44

55
export default {
66
key: "google_drive-find-file",
77
name: "Find File",
88
description: "Search for a specific file by name. [See the documentation](https://developers.google.com/drive/api/v3/search-files) for more information",
9-
version: "0.1.10",
9+
version: "0.1.11",
1010
type: "action",
1111
props: {
1212
googleDrive,

0 commit comments

Comments
 (0)