@pipedream/google_drive 0.8.11 → 0.9.0

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.
Files changed (38) hide show
  1. package/actions/add-file-sharing-preference/add-file-sharing-preference.mjs +1 -1
  2. package/actions/copy-file/copy-file.mjs +1 -1
  3. package/actions/create-file-from-template/create-file-from-template.mjs +1 -1
  4. package/actions/create-file-from-text/create-file-from-text.mjs +1 -1
  5. package/actions/create-folder/create-folder.mjs +1 -1
  6. package/actions/create-shared-drive/create-shared-drive.mjs +1 -1
  7. package/actions/delete-file/delete-file.mjs +1 -1
  8. package/actions/delete-shared-drive/delete-shared-drive.mjs +1 -1
  9. package/actions/download-file/download-file.mjs +1 -1
  10. package/actions/find-file/find-file.mjs +1 -1
  11. package/actions/find-folder/find-folder.mjs +1 -1
  12. package/actions/find-forms/find-forms.mjs +1 -1
  13. package/actions/find-spreadsheets/find-spreadsheets.mjs +1 -1
  14. package/actions/get-file-by-id/get-file-by-id.mjs +1 -1
  15. package/actions/get-folder-id-for-path/get-folder-id-for-path.mjs +1 -1
  16. package/actions/get-shared-drive/get-shared-drive.mjs +1 -1
  17. package/actions/list-access-proposals/list-access-proposals.mjs +61 -0
  18. package/actions/list-files/list-files.mjs +1 -1
  19. package/actions/move-file/move-file.mjs +1 -1
  20. package/actions/move-file-to-trash/move-file-to-trash.mjs +1 -1
  21. package/actions/resolve-access-proposal/resolve-access-proposal.mjs +79 -0
  22. package/actions/search-shared-drives/search-shared-drives.mjs +1 -1
  23. package/actions/update-file/update-file.mjs +1 -1
  24. package/actions/update-shared-drive/update-shared-drive.mjs +1 -1
  25. package/actions/upload-file/upload-file.mjs +1 -1
  26. package/google_drive.app.mjs +38 -0
  27. package/package.json +2 -2
  28. package/sources/changes-to-specific-files/changes-to-specific-files.mjs +1 -1
  29. package/sources/changes-to-specific-files-shared-drive/changes-to-specific-files-shared-drive.mjs +1 -1
  30. package/sources/new-access-proposal/new-access-proposal.mjs +81 -0
  31. package/sources/new-access-proposal/test-event.mjs +13 -0
  32. package/sources/new-files-instant/new-files-instant.mjs +1 -1
  33. package/sources/new-files-shared-drive/new-files-shared-drive.mjs +1 -1
  34. package/sources/new-or-modified-comments/new-or-modified-comments.mjs +1 -1
  35. package/sources/new-or-modified-files/new-or-modified-files.mjs +1 -1
  36. package/sources/new-or-modified-folders/new-or-modified-folders.mjs +1 -1
  37. package/sources/new-shared-drive/new-shared-drive.mjs +1 -1
  38. package/sources/new-spreadsheet/new-spreadsheet.mjs +1 -1
@@ -20,7 +20,7 @@ export default {
20
20
  name: "Share File or Folder",
21
21
  description:
22
22
  "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.0",
23
+ version: "0.2.1",
24
24
  type: "action",
25
25
  props: {
26
26
  googleDrive,
@@ -4,7 +4,7 @@ export default {
4
4
  key: "google_drive-copy-file",
5
5
  name: "Copy File",
6
6
  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.7",
7
+ version: "0.1.8",
8
8
  type: "action",
9
9
  props: {
10
10
  googleDrive,
@@ -8,7 +8,7 @@ export default {
8
8
  key: "google_drive-create-file-from-template",
9
9
  name: "Create New File From Template",
10
10
  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.7",
11
+ version: "0.1.8",
12
12
  type: "action",
13
13
  props: {
14
14
  googleDrive,
@@ -5,7 +5,7 @@ export default {
5
5
  key: "google_drive-create-file-from-text",
6
6
  name: "Create New File From Text",
7
7
  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.0",
8
+ version: "0.2.1",
9
9
  type: "action",
10
10
  props: {
11
11
  googleDrive,
@@ -13,7 +13,7 @@ export default {
13
13
  key: "google_drive-create-folder",
14
14
  name: "Create Folder",
15
15
  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.8",
16
+ version: "0.1.9",
17
17
  type: "action",
18
18
  props: {
19
19
  googleDrive,
@@ -4,7 +4,7 @@ export default {
4
4
  key: "google_drive-create-shared-drive",
5
5
  name: "Create Shared Drive",
6
6
  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.8",
7
+ version: "0.1.9",
8
8
  type: "action",
9
9
  props: {
10
10
  googleDrive,
@@ -5,7 +5,7 @@ export default {
5
5
  name: "Delete File",
6
6
  description:
7
7
  "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.8",
8
+ version: "0.1.9",
9
9
  type: "action",
10
10
  props: {
11
11
  googleDrive,
@@ -4,7 +4,7 @@ export default {
4
4
  key: "google_drive-delete-shared-drive",
5
5
  name: "Delete Shared Drive",
6
6
  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.7",
7
+ version: "0.1.8",
8
8
  type: "action",
9
9
  props: {
10
10
  googleDrive,
@@ -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.7",
21
+ version: "0.1.8",
22
22
  type: "action",
23
23
  props: {
24
24
  googleDrive,
@@ -6,7 +6,7 @@ export default {
6
6
  key: "google_drive-find-file",
7
7
  name: "Find File",
8
8
  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.7",
9
+ version: "0.1.8",
10
10
  type: "action",
11
11
  props: {
12
12
  googleDrive,
@@ -7,7 +7,7 @@ export default {
7
7
  key: "google_drive-find-folder",
8
8
  name: "Find Folder",
9
9
  description: "Search for a specific folder by name. [See the documentation](https://developers.google.com/drive/api/v3/search-files) for more information",
10
- version: "0.1.7",
10
+ version: "0.1.8",
11
11
  type: "action",
12
12
  props: {
13
13
  googleDrive,
@@ -6,7 +6,7 @@ export default {
6
6
  key: "google_drive-find-forms",
7
7
  name: "Find Forms",
8
8
  description: "List Google Form documents or search for a Form by name. [See the documentation](https://developers.google.com/drive/api/v3/search-files) for more information",
9
- version: "0.0.8",
9
+ version: "0.0.9",
10
10
  type: "action",
11
11
  props: {
12
12
  googleDrive,
@@ -6,7 +6,7 @@ export default {
6
6
  key: "google_drive-find-spreadsheets",
7
7
  name: "Find Spreadsheets",
8
8
  description: "Search for a specific spreadsheet by name. [See the documentation](https://developers.google.com/drive/api/v3/search-files) for more information",
9
- version: "0.1.7",
9
+ version: "0.1.8",
10
10
  type: "action",
11
11
  props: {
12
12
  googleDrive,
@@ -5,7 +5,7 @@ export default {
5
5
  key: "google_drive-get-file-by-id",
6
6
  name: "Get File By ID",
7
7
  description: "Get info on a specific file. [See the documentation](https://developers.google.com/drive/api/reference/rest/v3/files/get) for more information",
8
- version: "0.0.4",
8
+ version: "0.0.5",
9
9
  type: "action",
10
10
  props: {
11
11
  googleDrive,
@@ -12,7 +12,7 @@ export default {
12
12
  key: "google_drive-get-folder-id-for-path",
13
13
  name: "Get Folder ID for a Path",
14
14
  description: "Retrieve a folderId for a path. [See the documentation](https://developers.google.com/drive/api/v3/search-files) for more information",
15
- version: "0.1.9",
15
+ version: "0.1.10",
16
16
  type: "action",
17
17
  props: {
18
18
  googleDrive,
@@ -4,7 +4,7 @@ export default {
4
4
  key: "google_drive-get-shared-drive",
5
5
  name: "Get Shared Drive",
6
6
  description: "Get metadata for one or all shared drives. [See the documentation](https://developers.google.com/drive/api/v3/reference/drives/get) for more information",
7
- version: "0.1.7",
7
+ version: "0.1.8",
8
8
  type: "action",
9
9
  props: {
10
10
  googleDrive,
@@ -0,0 +1,61 @@
1
+ import googleDrive from "../../google_drive.app.mjs";
2
+
3
+ export default {
4
+ key: "google_drive-list-access-proposals",
5
+ name: "List Access Proposals",
6
+ description: "List access proposals for a file or folder. [See the documentation](https://developers.google.com/workspace/drive/api/reference/rest/v3/accessproposals/list)",
7
+ version: "0.0.1",
8
+ type: "action",
9
+ props: {
10
+ googleDrive,
11
+ drive: {
12
+ propDefinition: [
13
+ googleDrive,
14
+ "watchedDrive",
15
+ ],
16
+ },
17
+ fileOrFolderId: {
18
+ propDefinition: [
19
+ googleDrive,
20
+ "fileOrFolderId",
21
+ (c) => ({
22
+ drive: c.drive,
23
+ }),
24
+ ],
25
+ },
26
+ maxResults: {
27
+ type: "integer",
28
+ label: "Max Results",
29
+ description: "The maximum number of results to return",
30
+ default: 100,
31
+ optional: true,
32
+ },
33
+ },
34
+ async run({ $ }) {
35
+ const results = [];
36
+ let pageToken;
37
+
38
+ do {
39
+ const {
40
+ accessProposals, nextPageToken,
41
+ } = await this.googleDrive.listAccessProposals({
42
+ fileId: this.fileOrFolderId,
43
+ pageToken,
44
+ });
45
+ if (!accessProposals) {
46
+ break;
47
+ }
48
+ results.push(...accessProposals);
49
+ if (this.maxResults && results.length >= this.maxResults) {
50
+ results.length = this.maxResults;
51
+ break;
52
+ }
53
+ pageToken = nextPageToken;
54
+ } while (pageToken);
55
+
56
+ $.export("$summary", `Successfully retrieved ${results.length} access proposal${results.length === 1
57
+ ? ""
58
+ : "s"}.`);
59
+ return results;
60
+ },
61
+ };
@@ -5,7 +5,7 @@ export default {
5
5
  key: "google_drive-list-files",
6
6
  name: "List Files",
7
7
  description: "List files from a specific folder. [See the documentation](https://developers.google.com/drive/api/v3/reference/files/list) for more information",
8
- version: "0.1.11",
8
+ version: "0.1.12",
9
9
  type: "action",
10
10
  props: {
11
11
  googleDrive,
@@ -4,7 +4,7 @@ export default {
4
4
  key: "google_drive-move-file",
5
5
  name: "Move File",
6
6
  description: "Move a file from one folder to another. [See the documentation](https://developers.google.com/drive/api/v3/reference/files/update) for more information",
7
- version: "0.1.7",
7
+ version: "0.1.8",
8
8
  type: "action",
9
9
  props: {
10
10
  googleDrive,
@@ -5,7 +5,7 @@ export default {
5
5
  key: "google_drive-move-file-to-trash",
6
6
  name: "Move File to Trash",
7
7
  description: "Move a file or folder to trash. [See the documentation](https://developers.google.com/drive/api/v3/reference/files/update) for more information",
8
- version: "0.1.7",
8
+ version: "0.1.8",
9
9
  type: "action",
10
10
  props: {
11
11
  googleDrive,
@@ -0,0 +1,79 @@
1
+ import googleDrive from "../../google_drive.app.mjs";
2
+ import { ConfigurationError } from "@pipedream/platform";
3
+
4
+ export default {
5
+ key: "google_drive-resolve-access-proposal",
6
+ name: "Resolve Access Proposals",
7
+ description: "Accept or deny a request for access to a file or folder in Google Drive. [See the documentation](https://developers.google.com/workspace/drive/api/reference/rest/v3/accessproposals/resolve)",
8
+ version: "0.0.1",
9
+ type: "action",
10
+ props: {
11
+ googleDrive,
12
+ drive: {
13
+ propDefinition: [
14
+ googleDrive,
15
+ "watchedDrive",
16
+ ],
17
+ },
18
+ fileOrFolderId: {
19
+ propDefinition: [
20
+ googleDrive,
21
+ "fileOrFolderId",
22
+ (c) => ({
23
+ drive: c.drive,
24
+ }),
25
+ ],
26
+ },
27
+ accessProposalId: {
28
+ propDefinition: [
29
+ googleDrive,
30
+ "accessProposalId",
31
+ (c) => ({
32
+ fileId: c.fileOrFolderId,
33
+ }),
34
+ ],
35
+ },
36
+ action: {
37
+ type: "string",
38
+ label: "Action",
39
+ description: "The action to take on the AccessProposal",
40
+ options: [
41
+ "ACCEPT",
42
+ "DENY",
43
+ ],
44
+ },
45
+ roles: {
46
+ type: "string[]",
47
+ label: "Roles",
48
+ description: "The roles to allow. Note: This field is required for the `ACCEPT` action.",
49
+ options: [
50
+ "writer",
51
+ "commenter",
52
+ "reader",
53
+ ],
54
+ optional: true,
55
+ },
56
+ sendNotification: {
57
+ type: "boolean",
58
+ label: "Send Notification",
59
+ description: "Whether to send an email to the requester when the AccessProposal is denied or accepted",
60
+ optional: true,
61
+ },
62
+ },
63
+ async run({ $ }) {
64
+ if (this.action === "ACCEPT" && !this.roles?.length) {
65
+ throw new ConfigurationError("A Role is required for the `ACCEPT` action");
66
+ }
67
+
68
+ const response = await this.googleDrive.resolveAccessProposal({
69
+ fileId: this.fileOrFolderId,
70
+ proposalId: this.accessProposalId,
71
+ action: this.action,
72
+ role: this.roles,
73
+ sendNotification: this.sendNotification,
74
+ });
75
+
76
+ $.export("$summary", `Successfully resolved proposal with ID: ${this.accessProposalId}`);
77
+ return response;
78
+ },
79
+ };
@@ -4,7 +4,7 @@ export default {
4
4
  key: "google_drive-search-shared-drives",
5
5
  name: "Search for Shared Drives",
6
6
  description: "Search for shared drives with query options. [See the documentation](https://developers.google.com/drive/api/v3/search-shareddrives) for more information",
7
- version: "0.1.8",
7
+ version: "0.1.9",
8
8
  type: "action",
9
9
  props: {
10
10
  googleDrive,
@@ -9,7 +9,7 @@ export default {
9
9
  key: "google_drive-update-file",
10
10
  name: "Update File",
11
11
  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",
12
- version: "1.0.0",
12
+ version: "1.0.1",
13
13
  type: "action",
14
14
  additionalProps,
15
15
  props: {
@@ -4,7 +4,7 @@ export default {
4
4
  key: "google_drive-update-shared-drive",
5
5
  name: "Update Shared Drive",
6
6
  description: "Update an existing shared drive. [See the documentation](https://developers.google.com/drive/api/v3/reference/drives/update) for more information",
7
- version: "0.1.7",
7
+ version: "0.1.8",
8
8
  type: "action",
9
9
  props: {
10
10
  googleDrive,
@@ -13,7 +13,7 @@ export default {
13
13
  key: "google_drive-upload-file",
14
14
  name: "Upload File",
15
15
  description: "Upload a file to Google Drive. [See the documentation](https://developers.google.com/drive/api/v3/manage-uploads) for more information",
16
- version: "1.0.0",
16
+ version: "1.0.1",
17
17
  type: "action",
18
18
  additionalProps,
19
19
  props: {
@@ -255,6 +255,36 @@ export default {
255
255
  `),
256
256
  optional: true,
257
257
  },
258
+ accessProposalId: {
259
+ type: "string",
260
+ label: "Access Proposal ID",
261
+ description: "The identifier of an access proposal (when a user requests access to a file/folder)",
262
+ async options({
263
+ fileId, prevContext,
264
+ }) {
265
+ if (!fileId) {
266
+ return [];
267
+ }
268
+ const { pageToken } = prevContext;
269
+ const {
270
+ accessProposals, nextPageToken,
271
+ } = await this.listAccessProposals({
272
+ fileId,
273
+ pageToken,
274
+ });
275
+ return {
276
+ options: accessProposals?.map(({
277
+ proposalId: value, requesterEmailAddress: label,
278
+ }) => ({
279
+ label,
280
+ value,
281
+ })) || [],
282
+ context: {
283
+ pageToken: nextPageToken,
284
+ },
285
+ };
286
+ },
287
+ },
258
288
  },
259
289
  methods: {
260
290
  // Static methods
@@ -1437,5 +1467,13 @@ export default {
1437
1467
  async getExportFormats() {
1438
1468
  return (await this.getAbout("exportFormats")).exportFormats;
1439
1469
  },
1470
+ async listAccessProposals(opts = {}) {
1471
+ const drive = this.drive();
1472
+ return (await drive.accessproposals.list(opts)).data;
1473
+ },
1474
+ async resolveAccessProposal(opts = {}) {
1475
+ const drive = this.drive();
1476
+ return (await drive.accessproposals.resolve(opts)).data;
1477
+ },
1440
1478
  },
1441
1479
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pipedream/google_drive",
3
- "version": "0.8.11",
3
+ "version": "0.9.0",
4
4
  "description": "Pipedream Google_drive Components",
5
5
  "main": "google_drive.app.mjs",
6
6
  "keywords": [
@@ -11,7 +11,7 @@
11
11
  "author": "Pipedream <support@pipedream.com> (https://pipedream.com/)",
12
12
  "dependencies": {
13
13
  "@googleapis/drive": "^2.3.0",
14
- "@pipedream/platform": "^1.4.0",
14
+ "@pipedream/platform": "^3.0.3",
15
15
  "cron-parser": "^4.9.0",
16
16
  "google-docs-mustaches": "^1.2.2",
17
17
  "got": "13.0.0",
@@ -15,7 +15,7 @@ export default {
15
15
  key: "google_drive-changes-to-specific-files",
16
16
  name: "Changes to Specific Files",
17
17
  description: "Watches for changes to specific files, emitting an event when a change is made to one of those files. To watch for changes to [shared drive](https://support.google.com/a/users/answer/9310351) files, use the **Changes to Specific Files (Shared Drive)** source instead.",
18
- version: "0.2.4",
18
+ version: "0.2.5",
19
19
  type: "source",
20
20
  // Dedupe events based on the "x-goog-message-number" header for the target channel:
21
21
  // https://developers.google.com/drive/api/v3/push#making-watch-requests
@@ -27,7 +27,7 @@ export default {
27
27
  key: "google_drive-changes-to-specific-files-shared-drive",
28
28
  name: "Changes to Specific Files (Shared Drive)",
29
29
  description: "Watches for changes to specific files in a shared drive, emitting an event when a change is made to one of those files",
30
- version: "0.2.4",
30
+ version: "0.2.5",
31
31
  type: "source",
32
32
  // Dedupe events based on the "x-goog-message-number" header for the target channel:
33
33
  // https://developers.google.com/drive/api/v3/push#making-watch-requests
@@ -0,0 +1,81 @@
1
+ import googleDrive from "../../google_drive.app.mjs";
2
+ import { DEFAULT_POLLING_SOURCE_TIMER_INTERVAL } from "@pipedream/platform";
3
+ import sampleEmit from "./test-event.mjs";
4
+
5
+ export default {
6
+ key: "google_drive-new-access-proposal",
7
+ name: "New Access Proposal",
8
+ description: "Emit new event when a new access proposal is requested in Google Drive",
9
+ version: "0.0.1",
10
+ type: "source",
11
+ dedupe: "unique",
12
+ props: {
13
+ googleDrive,
14
+ db: "$.service.db",
15
+ timer: {
16
+ type: "$.interface.timer",
17
+ default: {
18
+ intervalSeconds: DEFAULT_POLLING_SOURCE_TIMER_INTERVAL,
19
+ },
20
+ },
21
+ drive: {
22
+ propDefinition: [
23
+ googleDrive,
24
+ "watchedDrive",
25
+ ],
26
+ },
27
+ fileOrFolderId: {
28
+ propDefinition: [
29
+ googleDrive,
30
+ "fileOrFolderId",
31
+ (c) => ({
32
+ drive: c.drive,
33
+ }),
34
+ ],
35
+ },
36
+ },
37
+ methods: {
38
+ _getLastTs() {
39
+ return this.db.get("lastTs") || 0;
40
+ },
41
+ _setLastTs(lastTs) {
42
+ this.db.set("lastTs", lastTs);
43
+ },
44
+ generateMeta(item) {
45
+ return {
46
+ id: item.proposalId,
47
+ summary: `New Request From: ${item.requesterEmailAddress}`,
48
+ ts: Date.parse(item.createTime),
49
+ };
50
+ },
51
+ },
52
+ async run() {
53
+ const lastTs = this._getLastTs();
54
+ let maxTs = lastTs;
55
+ let pageToken;
56
+
57
+ do {
58
+ const {
59
+ accessProposals, nextPageToken,
60
+ } = await this.googleDrive.listAccessProposals({
61
+ fileId: this.fileOrFolderId,
62
+ pageToken,
63
+ });
64
+ if (!accessProposals) {
65
+ break;
66
+ }
67
+ for (const proposal of accessProposals) {
68
+ const ts = Date.parse(proposal.createTime);
69
+ if (ts > lastTs) {
70
+ const meta = this.generateMeta(proposal);
71
+ this.$emit(proposal, meta);
72
+ maxTs = Math.max(ts, maxTs);
73
+ }
74
+ }
75
+ pageToken = nextPageToken;
76
+ } while (pageToken);
77
+
78
+ this._setLastTs(maxTs);
79
+ },
80
+ sampleEmit,
81
+ };
@@ -0,0 +1,13 @@
1
+ export default {
2
+ "fileId": "",
3
+ "proposalId": "",
4
+ "requesterEmailAddress": "",
5
+ "recipientEmailAddress": "",
6
+ "rolesAndViews": [
7
+ {
8
+ "role": "writer"
9
+ }
10
+ ],
11
+ "requestMessage": "",
12
+ "createTime": "2025-04-11T18:36:28.979859Z"
13
+ }
@@ -10,7 +10,7 @@ export default {
10
10
  key: "google_drive-new-files-instant",
11
11
  name: "New Files (Instant)",
12
12
  description: "Emit new event when a new file is added in your linked Google Drive",
13
- version: "0.1.12",
13
+ version: "0.1.13",
14
14
  type: "source",
15
15
  dedupe: "unique",
16
16
  props: {
@@ -7,7 +7,7 @@ export default {
7
7
  key: "google_drive-new-files-shared-drive",
8
8
  name: "New Files (Shared Drive)",
9
9
  description: "Emit new event when a new file is added in your shared Google Drive",
10
- version: "0.0.1",
10
+ version: "0.0.2",
11
11
  type: "source",
12
12
  dedupe: "unique",
13
13
  props: {
@@ -17,7 +17,7 @@ export default {
17
17
  name: "New or Modified Comments (Instant)",
18
18
  description:
19
19
  "Emit new event when a comment is created or modified in the selected file",
20
- version: "1.0.3",
20
+ version: "1.0.4",
21
21
  type: "source",
22
22
  // Dedupe events based on the "x-goog-message-number" header for the target channel:
23
23
  // https://developers.google.com/drive/api/v3/push#making-watch-requests
@@ -24,7 +24,7 @@ export default {
24
24
  key: "google_drive-new-or-modified-files",
25
25
  name: "New or Modified Files (Instant)",
26
26
  description: "Emit new event when a file in the selected Drive is created, modified or trashed.",
27
- version: "0.3.4",
27
+ version: "0.3.5",
28
28
  type: "source",
29
29
  // Dedupe events based on the "x-goog-message-number" header for the target channel:
30
30
  // https://developers.google.com/drive/api/v3/push#making-watch-requests
@@ -20,7 +20,7 @@ export default {
20
20
  key: "google_drive-new-or-modified-folders",
21
21
  name: "New or Modified Folders (Instant)",
22
22
  description: "Emit new event when a folder is created or modified in the selected Drive",
23
- version: "0.1.9",
23
+ version: "0.1.10",
24
24
  type: "source",
25
25
  // Dedupe events based on the "x-goog-message-number" header for the target channel:
26
26
  // https://developers.google.com/drive/api/v3/push#making-watch-requests
@@ -5,7 +5,7 @@ export default {
5
5
  key: "google_drive-new-shared-drive",
6
6
  name: "New Shared Drive",
7
7
  description: "Emits a new event any time a shared drive is created.",
8
- version: "0.1.7",
8
+ version: "0.1.8",
9
9
  type: "source",
10
10
  dedupe: "unique",
11
11
  props: {
@@ -6,7 +6,7 @@ export default {
6
6
  type: "source",
7
7
  name: "New Spreadsheet (Instant)",
8
8
  description: "Emit new event when a new spreadsheet is created in a drive.",
9
- version: "0.1.9",
9
+ version: "0.1.10",
10
10
  props: {
11
11
  googleDrive: newFilesInstant.props.googleDrive,
12
12
  db: newFilesInstant.props.db,