Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion components/google_sheets/actions/add-column/add-column.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default {
key: "google_sheets-add-column",
name: "Create Column",
description: "Create a new column in a spreadsheet. [See the documentation](https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets.values/batchUpdate)",
version: "0.1.10",
version: "0.1.11",
type: "action",
props: {
googleSheets,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default {
key: "google_sheets-add-multiple-rows",
name: "Add Multiple Rows",
description: "Add multiple rows of data to a Google Sheet. [See the documentation](https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets.values/append)",
version: "0.2.13",
version: "0.2.14",
type: "action",
props: {
googleSheets,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default {
key: "google_sheets-add-single-row",
name: "Add Single Row",
description: "Add a single row of data to Google Sheets. [See the documentation](https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets.values/append)",
version: "2.1.15",
version: "2.1.16",
type: "action",
props: {
googleSheets,
Expand Down
2 changes: 1 addition & 1 deletion components/google_sheets/actions/clear-cell/clear-cell.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default {
key: "google_sheets-clear-cell",
name: "Clear Cell",
description: "Delete the content of a specific cell in a spreadsheet. [See the documentation](https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets.values/clear)",
version: "0.1.14",
version: "0.1.15",
type: "action",
props: {
googleSheets,
Expand Down
2 changes: 1 addition & 1 deletion components/google_sheets/actions/clear-rows/clear-rows.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default {
key: "google_sheets-clear-rows",
name: "Clear Rows",
description: "Delete the content of a row or rows in a spreadsheet. Deleted rows will appear as blank rows. [See the documentation](https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets.values/clear)",
version: "0.1.12",
version: "0.1.13",
type: "action",
props: {
googleSheets,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default {
key: "google_sheets-copy-worksheet",
name: "Copy Worksheet",
description: "Copy an existing worksheet to another Google Sheets file. [See the documentation](https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets.sheets/copyTo)",
version: "0.1.10",
version: "0.1.11",
type: "action",
props: {
googleSheets,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default {
key: "google_sheets-create-spreadsheet",
name: "Create Spreadsheet",
description: "Create a blank spreadsheet or duplicate an existing spreadsheet. [See the documentation](https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets/create)",
version: "0.1.12",
version: "0.1.13",
type: "action",
props: {
googleSheets,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default {
key: "google_sheets-create-worksheet",
name: "Create Worksheet",
description: "Create a blank worksheet with a title. [See the documentation](https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets.values/batchUpdate)",
version: "0.1.10",
version: "0.1.11",
type: "action",
props: {
googleSheets,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default {
key: "google_sheets-delete-rows",
name: "Delete Rows",
description: "Deletes the specified rows from a spreadsheet. [See the documentation](https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets/request#deletedimensionrequest)",
version: "0.0.10",
version: "0.0.11",
type: "action",
props: {
googleSheets,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default {
key: "google_sheets-delete-worksheet",
name: "Delete Worksheet",
description: "Delete a specific worksheet. [See the documentation](https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets.values/batchUpdate)",
version: "0.1.10",
version: "0.1.11",
type: "action",
props: {
googleSheets,
Expand Down
2 changes: 1 addition & 1 deletion components/google_sheets/actions/find-row/find-row.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default {
key: "google_sheets-find-row",
name: "Find Row",
description: "Find one or more rows by a column and value. [See the documentation](https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets.values/get)",
version: "0.2.13",
version: "0.2.14",
type: "action",
props: {
googleSheets,
Expand Down
2 changes: 1 addition & 1 deletion components/google_sheets/actions/get-cell/get-cell.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default {
key: "google_sheets-get-cell",
name: "Get Cell",
description: "Fetch the contents of a specific cell in a spreadsheet. [See the documentation](https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets.values/get)",
version: "0.1.12",
version: "0.1.13",
type: "action",
props: {
googleSheets,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default {
key: "google_sheets-get-spreadsheet-by-id",
name: "Get Spreadsheet by ID",
description: "Returns the spreadsheet at the given ID. [See the documentation](https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets/get) for more information",
version: "0.1.11",
version: "0.1.12",
type: "action",
props: {
googleSheets,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default {
key: "google_sheets-get-values-in-range",
name: "Get Values in Range",
description: "Get all values or values from a range of cells using A1 notation. [See the documentation](https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets.values/get)",
version: "0.1.12",
version: "0.1.13",
type: "action",
props: {
googleSheets,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default {
key: "google_sheets-insert-anchored-note",
name: "Insert an Anchored Note",
description: "Insert a note on a spreadsheet cell. [See the documentation](https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets/batchUpdate)",
version: "0.1.10",
version: "0.1.11",
type: "action",
props: {
app,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default {
key: "google_sheets-insert-comment",
name: "Insert Comment",
description: "Insert a comment into a spreadsheet. [See the documentation](https://developers.google.com/drive/api/v3/reference/comments/create)",
version: "0.1.11",
version: "0.1.12",
type: "action",
props: {
app,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default {
key: "google_sheets-list-worksheets",
name: "List Worksheets",
description: "Get a list of all worksheets in a spreadsheet. [See the documentation](https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets/get)",
version: "0.1.10",
version: "0.1.11",
type: "action",
props: {
googleSheets,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default {
key: "google_sheets-update-cell",
name: "Update Cell",
description: "Update a cell in a spreadsheet. [See the documentation](https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets.values/update)",
version: "0.1.12",
version: "0.1.13",
type: "action",
props: {
googleSheets,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default {
key: "google_sheets-update-multiple-rows",
name: "Update Multiple Rows",
description: "Update multiple rows in a spreadsheet defined by a range. [See the documentation](https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets.values/update)",
version: "0.1.12",
version: "0.1.13",
type: "action",
props: {
googleSheets,
Expand Down
2 changes: 1 addition & 1 deletion components/google_sheets/actions/update-row/update-row.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default {
key: "google_sheets-update-row",
name: "Update Row",
description: "Update a row in a spreadsheet. [See the documentation](https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets.values/update)",
version: "0.1.14",
version: "0.1.15",
type: "action",
props: {
googleSheets,
Expand Down
2 changes: 1 addition & 1 deletion components/google_sheets/actions/upsert-row/upsert-row.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default {
key: "google_sheets-upsert-row",
name: "Upsert Row",
description: "Upsert a row of data in a Google Sheet. [See the documentation](https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets.values/append)",
version: "0.1.14",
version: "0.1.15",
type: "action",
props: {
googleSheets,
Expand Down
2 changes: 1 addition & 1 deletion components/google_sheets/google_sheets.app.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@
label: "Row Values",
description: "Provide an array of arrays",
},
rowsDescription: {

Check warning on line 47 in components/google_sheets/google_sheets.app.mjs

View workflow job for this annotation

GitHub Actions / Lint Code Base

Component prop rowsDescription must have a description. See https://pipedream.com/docs/components/guidelines/#props

Check warning on line 47 in components/google_sheets/google_sheets.app.mjs

View workflow job for this annotation

GitHub Actions / Lint Code Base

Component prop rowsDescription must have a label. See https://pipedream.com/docs/components/guidelines/#props
type: "alert",
alertType: "neutral",
content: "Each nested array should represent a row, with each element of the nested array representing a cell/column value (e.g., passing `[[\"Foo\",1,2],[\"Bar\",3,4]]` will insert two rows of data with three columns each). The most common pattern is to reference an array of arrays exported by a previous step (e.g., `{{steps.foo.$return_value}}`). You may also enter or construct a string that will `JSON.parse()` to an array of arrays.",
},
headersDisplay: {

Check warning on line 52 in components/google_sheets/google_sheets.app.mjs

View workflow job for this annotation

GitHub Actions / Lint Code Base

Component prop headersDisplay must have a description. See https://pipedream.com/docs/components/guidelines/#props

Check warning on line 52 in components/google_sheets/google_sheets.app.mjs

View workflow job for this annotation

GitHub Actions / Lint Code Base

Component prop headersDisplay must have a label. See https://pipedream.com/docs/components/guidelines/#props
type: "alert",
alertType: "info",
content: "",
Expand All @@ -71,7 +71,7 @@
},
},
worksheetIDs: {
type: "string",
type: "integer",
label: "Worksheet ID",
description: "Select a worksheet or provide a worksheet ID",
async options({ sheetId }) {
Expand Down
2 changes: 1 addition & 1 deletion components/google_sheets/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pipedream/google_sheets",
"version": "0.8.10",
"version": "0.8.11",
"description": "Pipedream Google_sheets Components",
"main": "google_sheets.app.mjs",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion components/google_sheets/sources/common/new-row-added.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default {
sheetId: c.sheetID,
}),
],
type: "string[]",
type: "integer[]",
label: "Worksheet ID(s)",
description: "Select one or more worksheet(s), or provide an array of worksheet IDs.",
},
Expand Down
2 changes: 1 addition & 1 deletion components/google_sheets/sources/common/new-updates.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default {
sheetId: c.sheetID,
}),
],
type: "string[]",
type: "integer[]",
label: "Worksheet ID(s)",
description: "Select one or more worksheet(s), or provide an array of worksheet IDs.",
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.9",
version: "0.0.10",
dedupe: "unique",
type: "source",
methods: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default {
key: "google_sheets-new-row-added-polling",
name: "New Row Added",
description: "Emit new event each time a row or rows are added to the bottom of a spreadsheet.",
version: "0.0.8",
version: "0.0.9",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue

🧩 Analysis chain

Version bump only.

Since this spreads ...common, ensure common.new-row-added’s worksheetIDs prop changed to integer[] and downstream logic treats them as numbers.


🏁 Script executed:

#!/bin/bash
rg -n -C3 'new-row-added\.mjs'
rg -n -C2 'worksheetIDs' components/google_sheets/sources/common

Length of output: 4239


Version bump only — worksheetIDs must be numeric and handled as numbers.

  • common.new-row-added still converts worksheetIDs to strings; change the prop to integer[] (if not already) and stop coercing to strings (remove or replace .map(i => i.toString())) so downstream logic compares numbers.
  • Fix locations: components/google_sheets/sources/common/new-row-added.mjs (props at ~line 11; getWorksheetIds() at ~line 114), components/google_sheets/sources/common/new-updates.mjs (props at ~line 11; getWorksheetIds() at ~line 57; usage around ~lines 166–183), and verify consumers such as components/google_sheets/sources/new-row-added-polling/new-row-added-polling.mjs that import ...common.
🤖 Prompt for AI Agents
In components/google_sheets/sources/common/new-row-added.mjs (props around line
11; getWorksheetIds around line 114),
components/google_sheets/sources/common/new-updates.mjs (props around line 11;
getWorksheetIds around line 57; usages ~166–183), and consumers like
components/google_sheets/sources/new-row-added-polling/new-row-added-polling.mjs,
change the worksheetIDs prop type to integer[] (or equivalent runtime validation
to ensure numbers), remove any .map(i => i.toString()) coercions, update
getWorksheetIds() implementations to parse/return numbers (e.g., Number(...) or
parseInt) and ensure all downstream comparisons treat IDs as numbers, and update
any usage sites to compare numerically rather than against string IDs so the
entire flow consistently handles worksheet IDs as numbers.

dedupe: "unique",
type: "source",
props: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.16",
version: "0.1.17",
dedupe: "unique",
type: "source",
props: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.11",
version: "0.2.12",
dedupe: "unique",
props: {
...httpBase.props,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.14",
version: "0.1.15",
dedupe: "unique",
hooks: {
...httpBase.hooks,
Expand Down
Loading