From 53ced70b6066552be19f6434b41a43ccfff298cb Mon Sep 17 00:00:00 2001 From: Andrew Chuang Date: Tue, 28 Jan 2025 13:43:40 -0300 Subject: [PATCH 1/3] add shared drive prop --- .../google_sheets/sources/common/http-based/base.mjs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/components/google_sheets/sources/common/http-based/base.mjs b/components/google_sheets/sources/common/http-based/base.mjs index 8c33ca9ff00ae..203ccec709365 100644 --- a/components/google_sheets/sources/common/http-based/base.mjs +++ b/components/google_sheets/sources/common/http-based/base.mjs @@ -41,6 +41,15 @@ export default { intervalSeconds: WEBHOOK_SUBSCRIPTION_RENEWAL_SECONDS, }, }, + watchedDrive: { + propDefinition: [ + googleSheets, + "watchedDrive", + ], + description: "Defaults to My Drive. To select a [Shared Drive](https://support.google.com/a/users/answer/9310351) instead, select it from this list.", + optional: false, + }, + sheetID: { propDefinition: [ googleSheets, From 94c250ac20c3a732b808ee36662c7306e1a75076 Mon Sep 17 00:00:00 2001 From: Andrew Chuang Date: Tue, 28 Jan 2025 13:47:59 -0300 Subject: [PATCH 2/3] bump versions --- components/google_sheets/package.json | 2 +- components/google_sheets/sources/new-comment/new-comment.mjs | 2 +- .../google_sheets/sources/new-row-added/new-row-added.mjs | 2 +- components/google_sheets/sources/new-updates/new-updates.mjs | 2 +- .../google_sheets/sources/new-worksheet/new-worksheet.mjs | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/components/google_sheets/package.json b/components/google_sheets/package.json index 627ebb5f7fd95..7beb5705bc674 100644 --- a/components/google_sheets/package.json +++ b/components/google_sheets/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/google_sheets", - "version": "0.7.11", + "version": "0.7.12", "description": "Pipedream Google_sheets Components", "main": "google_sheets.app.mjs", "keywords": [ diff --git a/components/google_sheets/sources/new-comment/new-comment.mjs b/components/google_sheets/sources/new-comment/new-comment.mjs index 754fdad9756c9..12c9cf56250fa 100644 --- a/components/google_sheets/sources/new-comment/new-comment.mjs +++ b/components/google_sheets/sources/new-comment/new-comment.mjs @@ -6,7 +6,7 @@ export default { key: "google_sheets-new-comment", name: "New Comment (Instant)", description: "Emit new event each time a comment is added to a spreadsheet.", - version: "0.0.4", + version: "0.0.5", dedupe: "unique", type: "source", methods: { diff --git a/components/google_sheets/sources/new-row-added/new-row-added.mjs b/components/google_sheets/sources/new-row-added/new-row-added.mjs index e84d401e79c4a..3c7bdeceb0c40 100644 --- a/components/google_sheets/sources/new-row-added/new-row-added.mjs +++ b/components/google_sheets/sources/new-row-added/new-row-added.mjs @@ -8,7 +8,7 @@ export default { key: "google_sheets-new-row-added", name: "New Row Added (Instant)", description: "Emit new event each time a row or rows are added to the bottom of a spreadsheet.", - version: "0.1.8", + version: "0.1.9", dedupe: "unique", type: "source", props: { diff --git a/components/google_sheets/sources/new-updates/new-updates.mjs b/components/google_sheets/sources/new-updates/new-updates.mjs index 99e480dc8effa..16b57f1f35376 100644 --- a/components/google_sheets/sources/new-updates/new-updates.mjs +++ b/components/google_sheets/sources/new-updates/new-updates.mjs @@ -9,7 +9,7 @@ export default { type: "source", name: "New Updates (Instant)", description: "Emit new event each time a row or cell is updated in a spreadsheet.", - version: "0.2.6", + version: "0.2.7", dedupe: "unique", props: { ...httpBase.props, diff --git a/components/google_sheets/sources/new-worksheet/new-worksheet.mjs b/components/google_sheets/sources/new-worksheet/new-worksheet.mjs index d3076a5bb3643..0e6f1af5cf8d5 100644 --- a/components/google_sheets/sources/new-worksheet/new-worksheet.mjs +++ b/components/google_sheets/sources/new-worksheet/new-worksheet.mjs @@ -9,7 +9,7 @@ export default { type: "source", name: "New Worksheet (Instant)", description: "Emit new event each time a new worksheet is created in a spreadsheet.", - version: "0.1.9", + version: "0.1.10", dedupe: "unique", hooks: { ...httpBase.hooks, From 2eb596b7c3c510af7c8676d3cc83d59070086fd4 Mon Sep 17 00:00:00 2001 From: Andrew Chuang Date: Tue, 28 Jan 2025 14:10:22 -0300 Subject: [PATCH 3/3] make prop optional --- components/google_sheets/sources/common/http-based/base.mjs | 1 - 1 file changed, 1 deletion(-) diff --git a/components/google_sheets/sources/common/http-based/base.mjs b/components/google_sheets/sources/common/http-based/base.mjs index 203ccec709365..984ffb1572b08 100644 --- a/components/google_sheets/sources/common/http-based/base.mjs +++ b/components/google_sheets/sources/common/http-based/base.mjs @@ -47,7 +47,6 @@ export default { "watchedDrive", ], description: "Defaults to My Drive. To select a [Shared Drive](https://support.google.com/a/users/answer/9310351) instead, select it from this list.", - optional: false, }, sheetID: {