From 232b3a2c04fe3b6ff8e75b6e65817e143a2ac150 Mon Sep 17 00:00:00 2001 From: GTFalcao Date: Tue, 21 Jan 2025 15:43:32 -0300 Subject: [PATCH 01/21] pnpm --- pnpm-lock.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a2d916b34964b..6013dcb0fe882 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -8294,8 +8294,7 @@ importers: components/propeller: {} - components/proposify: - specifiers: {} + components/proposify: {} components/proprofs_quiz_maker: {} From e884c7d59e91be9242042c446ee03442ba6a7a8e Mon Sep 17 00:00:00 2001 From: GTFalcao Date: Wed, 22 Jan 2025 03:16:01 -0300 Subject: [PATCH 02/21] Description updates --- .../actions/create-board/create-board.mjs | 2 +- .../actions/create-group/create-group.mjs | 2 +- .../actions/create-item/create-item.mjs | 2 +- .../update-item-name/update-item-name.mjs | 2 +- components/monday/monday.app.mjs | 24 +++++++++---------- 5 files changed, 16 insertions(+), 16 deletions(-) diff --git a/components/monday/actions/create-board/create-board.mjs b/components/monday/actions/create-board/create-board.mjs index 0265b5f7e985c..9a4508eb762ea 100644 --- a/components/monday/actions/create-board/create-board.mjs +++ b/components/monday/actions/create-board/create-board.mjs @@ -4,7 +4,7 @@ import monday from "../../monday.app.mjs"; export default { key: "monday-create-board", name: "Create Board", - description: "Creates a new board. [See the documentation](https://api.developer.monday.com/docs/boards#create-a-board)", + description: "Creates a new board. [See the documentation](https://developer.monday.com/api-reference/reference/boards#create-a-board)", type: "action", version: "0.0.7", props: { diff --git a/components/monday/actions/create-group/create-group.mjs b/components/monday/actions/create-group/create-group.mjs index 9f8eecef42c6e..c7c3d860e9139 100644 --- a/components/monday/actions/create-group/create-group.mjs +++ b/components/monday/actions/create-group/create-group.mjs @@ -3,7 +3,7 @@ import monday from "../../monday.app.mjs"; export default { key: "monday-create-group", name: "Create Group", - description: "Creates a new group in a specific board. [See the documentation](https://api.developer.monday.com/docs/groups-queries#create-a-group)", + description: "Creates a new group in a specific board. [See the documentation](https://developer.monday.com/api-reference/reference/groups#create-a-group)", type: "action", version: "0.0.8", props: { diff --git a/components/monday/actions/create-item/create-item.mjs b/components/monday/actions/create-item/create-item.mjs index 871e83caa77d9..cbc2dbc961559 100644 --- a/components/monday/actions/create-item/create-item.mjs +++ b/components/monday/actions/create-item/create-item.mjs @@ -6,7 +6,7 @@ export default { ...commonCreateItem, key: "monday-create-item", name: "Create Item", - description: "Creates an item. [See the documentation](https://api.developer.monday.com/docs/items-queries#create-an-item)", + description: "Creates an item. [See the documentation](https://developer.monday.com/api-reference/reference/items#create-an-item)", type: "action", version: "0.0.10", props: { diff --git a/components/monday/actions/update-item-name/update-item-name.mjs b/components/monday/actions/update-item-name/update-item-name.mjs index d9e5913bff44d..7f3b25d394e8e 100644 --- a/components/monday/actions/update-item-name/update-item-name.mjs +++ b/components/monday/actions/update-item-name/update-item-name.mjs @@ -3,7 +3,7 @@ import monday from "../../monday.app.mjs"; export default { key: "monday-update-item-name", name: "Update Item Name", - description: "Update an item's name. [See the documentation](https://api.developer.monday.com/docs/item-name)", + description: "Update an item's name. [See the documentation](https://developer.monday.com/api-reference/reference/columns#change-multiple-column-values)", type: "action", version: "0.0.9", props: { diff --git a/components/monday/monday.app.mjs b/components/monday/monday.app.mjs index 51d66e26702e4..6d144a2c02629 100644 --- a/components/monday/monday.app.mjs +++ b/components/monday/monday.app.mjs @@ -13,7 +13,7 @@ export default { boardId: { type: "string", label: "Board ID", - description: "The board's unique identifier", + description: "Select a board, or provide a board ID.", async options({ page }) { return this.listBoardsOptions({ page: page + 1, @@ -23,18 +23,18 @@ export default { boardName: { type: "string", label: "Board Name", - description: "The board's name", + description: "The new board's name", }, boardKind: { type: "string", label: "Board Kind", - description: "The board's kind (`public` / `private` / `share`)", + description: "The new board's kind (`public` / `private` / `share`)", options: constants.BOARD_KIND_OPTIONS, }, folderId: { type: "integer", label: "Folder ID", - description: "Board folder ID", + description: "Optionally select a folder to create the board in, or provide a folder ID.", optional: true, async options({ workspaceId }) { return this.listFolderOptions({ @@ -45,7 +45,7 @@ export default { workspaceId: { type: "integer", label: "Workspace ID", - description: "Board workspace ID. If you don't specify this field, the board will be created in the **Main Workspace**", + description: "Select a workspace to create the board in, or provide a workspace ID. If not specified, the **Main Workspace** will be used.", optional: true, async options() { return this.listWorkspacesOptions(); @@ -54,18 +54,18 @@ export default { templateId: { type: "integer", label: "Board Template ID", - description: "Board ID saved as a custom template. The ID can be obteined from the url in browser selecting the corresponding board (e.g. `https://{subdomain}.monday.com/boards/2419687965`) where `2419687965` is the ID of the template", + description: "The board's template ID. You can obtain it from the URL when selecting the desired board (e.g. `https://{subdomain}.monday.com/boards/2419687965`) where `2419687965` is the template ID. [See the documentation](https://developer.monday.com/api-reference/reference/boards#create-a-board) for more information.", optional: true, }, groupName: { type: "string", label: "Group Name", - description: "The name of the new group", + description: "The name of the new group.", }, groupId: { type: "string", label: "Group ID", - description: "The group's unique identifier", + description: "Select a group or provide a group ID.", optional: true, async options({ boardId }) { return this.listGroupsOptions({ @@ -76,7 +76,7 @@ export default { itemName: { type: "string", label: "Item Name", - description: "The item's name", + description: "The new item's name", }, itemColumnValues: { type: "object", @@ -98,7 +98,7 @@ export default { itemId: { type: "string", label: "Item ID", - description: "The item's unique identifier", + description: "Select an item or provide an item ID.", optional: true, async options({ boardId, prevContext, @@ -112,7 +112,7 @@ export default { updateId: { type: "string", label: "Update ID", - description: "The update's unique identifier", + description: "Select an update or provide an update ID.", optional: true, async options({ page, boardId, @@ -126,7 +126,7 @@ export default { column: { type: "string", label: "Column", - description: "Column to watch for changes", + description: "Select a column to watch for changes.", async options({ boardId }) { const columns = await this.listColumns({ boardId: +boardId, From bc10fe99a2ed89cbae817e797bcb9081c9954ed3 Mon Sep 17 00:00:00 2001 From: GTFalcao Date: Wed, 22 Jan 2025 03:25:09 -0300 Subject: [PATCH 03/21] Source description updates and version bumps --- .../column-value-updated/column-value-updated.mjs | 14 +++++++++++--- .../monday/sources/name-updated/name-updated.mjs | 6 +++--- components/monday/sources/new-board/new-board.mjs | 6 +++--- components/monday/sources/new-item/new-item.mjs | 6 +++--- .../new-subitem-update/new-subitem-update.mjs | 9 +++++++-- .../monday/sources/new-subitem/new-subitem.mjs | 11 ++++++++--- components/monday/sources/new-user/new-user.mjs | 6 +++--- .../specific-column-updated.mjs | 11 ++++++++--- .../subitem-column-value-updated.mjs | 11 ++++++++--- .../subitem-name-updated/subitem-name-updated.mjs | 11 ++++++++--- 10 files changed, 62 insertions(+), 29 deletions(-) diff --git a/components/monday/sources/column-value-updated/column-value-updated.mjs b/components/monday/sources/column-value-updated/column-value-updated.mjs index 42f8c70507577..feb78e02d0645 100644 --- a/components/monday/sources/column-value-updated/column-value-updated.mjs +++ b/components/monday/sources/column-value-updated/column-value-updated.mjs @@ -3,10 +3,10 @@ import common from "../common/common-webhook.mjs"; export default { ...common, key: "monday-column-value-updated", - name: "New Column Value Updated (Instant)", - description: "Emit new event when a column value is updated on a board in Monday. For changes to Name, use the Name Updated Trigger.", + name: "Column Value Updated (Instant)", + description: "Emit new event when a column value is updated on a board. [See the documentation](https://developer.monday.com/api-reference/reference/webhooks#sample-payload-for-webhook-events)", type: "source", - version: "0.0.7", + version: "0.0.8", dedupe: "unique", hooks: { ...common.hooks, @@ -14,6 +14,14 @@ export default { await this.commonDeploy(); }, }, + props: { + ...common.props, + alertBox: { + type: "alert", + alertType: "warning", + content: "For changes to `Name`, use the **Name Updated** trigger.", + }, + }, methods: { ...common.methods, getWebhookArgs() { diff --git a/components/monday/sources/name-updated/name-updated.mjs b/components/monday/sources/name-updated/name-updated.mjs index bc44566b3ecba..bf276e44f5172 100644 --- a/components/monday/sources/name-updated/name-updated.mjs +++ b/components/monday/sources/name-updated/name-updated.mjs @@ -3,10 +3,10 @@ import common from "../common/common-webhook.mjs"; export default { ...common, key: "monday-name-updated", - name: "New Name Updated (Instant)", - description: "Emit new event when an item's Name is updated on a board in Monday.", + name: "Name Updated (Instant)", + description: "Emit new event when an item's name is updated. [See the documentation](https://developer.monday.com/api-reference/reference/webhooks#sample-payload-for-webhook-events)", type: "source", - version: "0.0.7", + version: "0.0.8", dedupe: "unique", hooks: { ...common.hooks, diff --git a/components/monday/sources/new-board/new-board.mjs b/components/monday/sources/new-board/new-board.mjs index 45b0c92fc3518..d731b3c015f75 100644 --- a/components/monday/sources/new-board/new-board.mjs +++ b/components/monday/sources/new-board/new-board.mjs @@ -3,10 +3,10 @@ import common from "../common/common-polling.mjs"; export default { ...common, key: "monday-new-board", - name: "New Board", - description: "Emit new event when a new board is created in Monday.", + name: "New Board Created", + description: "Emit new event when a board is created in Monday. [See the documentation](https://developer.monday.com/api-reference/reference/webhooks#sample-payload-for-webhook-events)", type: "source", - version: "0.0.8", + version: "0.0.9", dedupe: "unique", props: { ...common.props, diff --git a/components/monday/sources/new-item/new-item.mjs b/components/monday/sources/new-item/new-item.mjs index 1ab43010d4c0b..03e1b00613ca1 100644 --- a/components/monday/sources/new-item/new-item.mjs +++ b/components/monday/sources/new-item/new-item.mjs @@ -3,10 +3,10 @@ import common from "../common/common-webhook.mjs"; export default { ...common, key: "monday-new-item", - name: "New Item (Instant)", - description: "Emit new event when a new item is added to a board in Monday.", + name: "New Item Created (Instant)", + description: "Emit new event when a new item is added to a board. [See the documentation](https://developer.monday.com/api-reference/reference/webhooks#sample-payload-for-webhook-events)", type: "source", - version: "0.0.7", + version: "0.0.8", dedupe: "unique", hooks: { ...common.hooks, diff --git a/components/monday/sources/new-subitem-update/new-subitem-update.mjs b/components/monday/sources/new-subitem-update/new-subitem-update.mjs index fda7a097cce35..67be9d1915031 100644 --- a/components/monday/sources/new-subitem-update/new-subitem-update.mjs +++ b/components/monday/sources/new-subitem-update/new-subitem-update.mjs @@ -4,12 +4,17 @@ export default { ...common, key: "monday-new-subitem-update", name: "New Sub-Item Update (Instant)", - description: "Emit new event when an update is posted in sub-items. To create this trigger, you need to have at least one subitem previously created on your board.", + description: "Emit new event when an update is posted in sub-items. [See the documentation](https://developer.monday.com/api-reference/reference/webhooks#sample-payload-for-webhook-events)", type: "source", - version: "0.0.6", + version: "0.0.7", dedupe: "unique", props: { ...common.props, + alertBox: { + type: "alert", + alertType: "warning", + content: "To create this trigger, you need to have at least one subitem previously created on your board.", + }, boardId: { propDefinition: [ common.props.monday, diff --git a/components/monday/sources/new-subitem/new-subitem.mjs b/components/monday/sources/new-subitem/new-subitem.mjs index b8cdb1f9fdf92..e1e430069c6b5 100644 --- a/components/monday/sources/new-subitem/new-subitem.mjs +++ b/components/monday/sources/new-subitem/new-subitem.mjs @@ -3,13 +3,18 @@ import common from "../common/common-webhook.mjs"; export default { ...common, key: "monday-new-subitem", - name: "New Sub-Item (Instant)", - description: "Emit new event when a sub-item is created. To create this trigger, you need to have at least one subitem previously created on your board.", + name: "New Sub-Item Created (Instant)", + description: "Emit new event when a sub-item is created. [See the documentation](https://developer.monday.com/api-reference/reference/webhooks#sample-payload-for-webhook-events)", type: "source", - version: "0.0.6", + version: "0.0.7", dedupe: "unique", props: { ...common.props, + alertBox: { + type: "alert", + alertType: "warning", + content: "To create this trigger, you need to have at least one subitem previously created on your board.", + }, boardId: { propDefinition: [ common.props.monday, diff --git a/components/monday/sources/new-user/new-user.mjs b/components/monday/sources/new-user/new-user.mjs index 140a44b960e97..146b70e3e112f 100644 --- a/components/monday/sources/new-user/new-user.mjs +++ b/components/monday/sources/new-user/new-user.mjs @@ -3,10 +3,10 @@ import common from "../common/common-polling.mjs"; export default { ...common, key: "monday-new-user", - name: "New User", - description: "Emit new event when a new user is created in Monday.", + name: "New User Created", + description: "Emit new event when a new user is created in Monday. [See the documentation](https://developer.monday.com/api-reference/reference/webhooks#sample-payload-for-webhook-events)", type: "source", - version: "0.0.8", + version: "0.0.9", dedupe: "unique", methods: { ...common.methods, diff --git a/components/monday/sources/specific-column-updated/specific-column-updated.mjs b/components/monday/sources/specific-column-updated/specific-column-updated.mjs index 9506bdec9d007..8e4f8faffadc7 100644 --- a/components/monday/sources/specific-column-updated/specific-column-updated.mjs +++ b/components/monday/sources/specific-column-updated/specific-column-updated.mjs @@ -3,10 +3,10 @@ import common from "../common/common-webhook.mjs"; export default { ...common, key: "monday-specific-column-updated", - name: "New Specific Column Updated (Instant)", - description: "Emit new event when a value in the specified column is updated on a board in Monday. For changes to Name, use the Name Updated Trigger.", + name: "Specific Column Updated (Instant)", + description: "Emit new event when a value in the specified column is updated. [See the documentation](https://developer.monday.com/api-reference/reference/webhooks#sample-payload-for-webhook-events)", type: "source", - version: "0.0.7", + version: "0.0.8", dedupe: "unique", hooks: { ...common.hooks, @@ -16,6 +16,11 @@ export default { }, props: { ...common.props, + alertBox: { + type: "alert", + alertType: "warning", + content: "For changes to `Name`, use the **Name Updated** trigger.", + }, column: { propDefinition: [ common.props.monday, diff --git a/components/monday/sources/subitem-column-value-updated/subitem-column-value-updated.mjs b/components/monday/sources/subitem-column-value-updated/subitem-column-value-updated.mjs index 704346211c713..1b16f31aa0c95 100644 --- a/components/monday/sources/subitem-column-value-updated/subitem-column-value-updated.mjs +++ b/components/monday/sources/subitem-column-value-updated/subitem-column-value-updated.mjs @@ -3,13 +3,18 @@ import common from "../common/common-webhook.mjs"; export default { ...common, key: "monday-subitem-column-value-updated", - name: "New Sub-Item Column Value Updated (Instant)", - description: "Emit new event when any sub-item column changes. To create this trigger, you need to have at least one subitem previously created on your board.", + name: "Sub-Item Column Value Updated (Instant)", + description: "Emit new event when any sub-item column changes. [See the documentation](https://developer.monday.com/api-reference/reference/webhooks#sample-payload-for-webhook-events)", type: "source", - version: "0.0.7", + version: "0.0.8", dedupe: "unique", props: { ...common.props, + alertBox: { + type: "alert", + alertType: "warning", + content: "To create this trigger, you need to have at least one subitem previously created on your board.", + }, boardId: { propDefinition: [ common.props.monday, diff --git a/components/monday/sources/subitem-name-updated/subitem-name-updated.mjs b/components/monday/sources/subitem-name-updated/subitem-name-updated.mjs index eab81f1c5a8b7..8cf8872fc6214 100644 --- a/components/monday/sources/subitem-name-updated/subitem-name-updated.mjs +++ b/components/monday/sources/subitem-name-updated/subitem-name-updated.mjs @@ -3,13 +3,18 @@ import common from "../common/common-webhook.mjs"; export default { ...common, key: "monday-subitem-name-updated", - name: "New Sub-Item Name Updated (Instant)", - description: "Emit new event when a sub-item name changes. To create this trigger, you need to have at least one subitem previously created on your board.", + name: "Sub-Item Name Updated (Instant)", + description: "Emit new event when a sub-item name changes. [See the documentation](https://developer.monday.com/api-reference/reference/webhooks#sample-payload-for-webhook-events)", type: "source", - version: "0.0.6", + version: "0.0.7", dedupe: "unique", props: { ...common.props, + alertBox: { + type: "alert", + alertType: "warning", + content: "To create this trigger, you need to have at least one subitem previously created on your board.", + }, boardId: { propDefinition: [ common.props.monday, From 7dda91a88d7d3d80e53fb5ecbd82f063fb719ffb Mon Sep 17 00:00:00 2001 From: GTFalcao Date: Wed, 22 Jan 2025 23:29:49 -0300 Subject: [PATCH 04/21] Version bumps --- components/monday/actions/create-board/create-board.mjs | 2 +- components/monday/actions/create-column/create-column.mjs | 2 +- components/monday/actions/create-group/create-group.mjs | 2 +- components/monday/actions/create-item/create-item.mjs | 2 +- components/monday/actions/create-subitem/create-subitem.mjs | 2 +- components/monday/actions/create-update/create-update.mjs | 2 +- .../monday/actions/get-column-values/get-column-values.mjs | 2 +- .../get-items-by-column-value/get-items-by-column-value.mjs | 2 +- .../actions/update-column-values/update-column-values.mjs | 2 +- components/monday/actions/update-item-name/update-item-name.mjs | 2 +- components/monday/package.json | 2 +- .../sources/column-value-updated/column-value-updated.mjs | 2 +- components/monday/sources/name-updated/name-updated.mjs | 2 +- components/monday/sources/new-board/new-board.mjs | 2 +- components/monday/sources/new-item/new-item.mjs | 2 +- .../monday/sources/new-subitem-update/new-subitem-update.mjs | 2 +- components/monday/sources/new-subitem/new-subitem.mjs | 2 +- components/monday/sources/new-user/new-user.mjs | 2 +- .../sources/specific-column-updated/specific-column-updated.mjs | 2 +- .../subitem-column-value-updated.mjs | 2 +- .../sources/subitem-name-updated/subitem-name-updated.mjs | 2 +- 21 files changed, 21 insertions(+), 21 deletions(-) diff --git a/components/monday/actions/create-board/create-board.mjs b/components/monday/actions/create-board/create-board.mjs index 9a4508eb762ea..50a48b120e580 100644 --- a/components/monday/actions/create-board/create-board.mjs +++ b/components/monday/actions/create-board/create-board.mjs @@ -6,7 +6,7 @@ export default { name: "Create Board", description: "Creates a new board. [See the documentation](https://developer.monday.com/api-reference/reference/boards#create-a-board)", type: "action", - version: "0.0.7", + version: "0.0.8", props: { monday, boardName: { diff --git a/components/monday/actions/create-column/create-column.mjs b/components/monday/actions/create-column/create-column.mjs index 33679372bc4db..719493fb6af7c 100644 --- a/components/monday/actions/create-column/create-column.mjs +++ b/components/monday/actions/create-column/create-column.mjs @@ -6,7 +6,7 @@ export default { name: "Create Column", description: "Creates a column. [See the documentation](https://developer.monday.com/api-reference/reference/columns#create-a-column)", type: "action", - version: "0.0.8", + version: "0.0.9", props: { monday, boardId: { diff --git a/components/monday/actions/create-group/create-group.mjs b/components/monday/actions/create-group/create-group.mjs index c7c3d860e9139..f4a4d690fb29b 100644 --- a/components/monday/actions/create-group/create-group.mjs +++ b/components/monday/actions/create-group/create-group.mjs @@ -5,7 +5,7 @@ export default { name: "Create Group", description: "Creates a new group in a specific board. [See the documentation](https://developer.monday.com/api-reference/reference/groups#create-a-group)", type: "action", - version: "0.0.8", + version: "0.0.9", props: { monday, boardId: { diff --git a/components/monday/actions/create-item/create-item.mjs b/components/monday/actions/create-item/create-item.mjs index cbc2dbc961559..5db307df662f3 100644 --- a/components/monday/actions/create-item/create-item.mjs +++ b/components/monday/actions/create-item/create-item.mjs @@ -8,7 +8,7 @@ export default { name: "Create Item", description: "Creates an item. [See the documentation](https://developer.monday.com/api-reference/reference/items#create-an-item)", type: "action", - version: "0.0.10", + version: "0.0.11", props: { monday, boardId: { diff --git a/components/monday/actions/create-subitem/create-subitem.mjs b/components/monday/actions/create-subitem/create-subitem.mjs index efce5aed79932..ea4a408d25576 100644 --- a/components/monday/actions/create-subitem/create-subitem.mjs +++ b/components/monday/actions/create-subitem/create-subitem.mjs @@ -8,7 +8,7 @@ export default { name: "Create Subitem", description: "Creates a subitem. [See the documentation](https://developer.monday.com/api-reference/reference/subitems#create-a-subitem)", type: "action", - version: "0.0.3", + version: "0.0.4", props: { monday, boardId: { diff --git a/components/monday/actions/create-update/create-update.mjs b/components/monday/actions/create-update/create-update.mjs index bd43cf9b438f5..43f39902d0f6d 100644 --- a/components/monday/actions/create-update/create-update.mjs +++ b/components/monday/actions/create-update/create-update.mjs @@ -6,7 +6,7 @@ export default { name: "Create an Update", description: "Creates a new update. [See the documentation](https://developer.monday.com/api-reference/reference/updates#create-an-update)", type: "action", - version: "0.0.10", + version: "0.0.11", props: { monday, updateBody: { diff --git a/components/monday/actions/get-column-values/get-column-values.mjs b/components/monday/actions/get-column-values/get-column-values.mjs index 2fcbf0e9e432f..965ee87f9fb46 100644 --- a/components/monday/actions/get-column-values/get-column-values.mjs +++ b/components/monday/actions/get-column-values/get-column-values.mjs @@ -5,7 +5,7 @@ export default { key: "monday-get-column-values", name: "Get Column Values", description: "Return values of a specific column or columns for a board item. [See the documentation](https://developer.monday.com/api-reference/docs/column-values-v2)", - version: "0.0.5", + version: "0.0.6", type: "action", props: { ...common.props, diff --git a/components/monday/actions/get-items-by-column-value/get-items-by-column-value.mjs b/components/monday/actions/get-items-by-column-value/get-items-by-column-value.mjs index 19a86e32780b8..cb2712cec9eba 100644 --- a/components/monday/actions/get-items-by-column-value/get-items-by-column-value.mjs +++ b/components/monday/actions/get-items-by-column-value/get-items-by-column-value.mjs @@ -5,7 +5,7 @@ export default { key: "monday-get-items-by-column-value", name: "Get Items By Column Value", description: "Searches a column for items matching a value. [See the documentation](https://developer.monday.com/api-reference/docs/items-page-by-column-values)", - version: "0.0.5", + version: "0.0.6", type: "action", props: { ...common.props, diff --git a/components/monday/actions/update-column-values/update-column-values.mjs b/components/monday/actions/update-column-values/update-column-values.mjs index 0983cc572a247..aa6ba9f94e413 100644 --- a/components/monday/actions/update-column-values/update-column-values.mjs +++ b/components/monday/actions/update-column-values/update-column-values.mjs @@ -8,7 +8,7 @@ export default { key: "monday-update-column-values", name: "Update Column Values", description: "Update multiple column values of an item. [See the documentation](https://developer.monday.com/api-reference/docs/columns#change-multiple-column-values)", - version: "0.0.5", + version: "0.0.6", type: "action", props: { ...common.props, diff --git a/components/monday/actions/update-item-name/update-item-name.mjs b/components/monday/actions/update-item-name/update-item-name.mjs index 7f3b25d394e8e..f0888f3bc06e2 100644 --- a/components/monday/actions/update-item-name/update-item-name.mjs +++ b/components/monday/actions/update-item-name/update-item-name.mjs @@ -5,7 +5,7 @@ export default { name: "Update Item Name", description: "Update an item's name. [See the documentation](https://developer.monday.com/api-reference/reference/columns#change-multiple-column-values)", type: "action", - version: "0.0.9", + version: "0.0.10", props: { monday, boardId: { diff --git a/components/monday/package.json b/components/monday/package.json index 61c57fb1fe045..ce48c1bb44f7c 100644 --- a/components/monday/package.json +++ b/components/monday/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/monday", - "version": "0.6.3", + "version": "0.7.0", "description": "Pipedream Monday Components", "main": "monday.app.mjs", "keywords": [ diff --git a/components/monday/sources/column-value-updated/column-value-updated.mjs b/components/monday/sources/column-value-updated/column-value-updated.mjs index feb78e02d0645..48cd764ca5e0f 100644 --- a/components/monday/sources/column-value-updated/column-value-updated.mjs +++ b/components/monday/sources/column-value-updated/column-value-updated.mjs @@ -6,7 +6,7 @@ export default { name: "Column Value Updated (Instant)", description: "Emit new event when a column value is updated on a board. [See the documentation](https://developer.monday.com/api-reference/reference/webhooks#sample-payload-for-webhook-events)", type: "source", - version: "0.0.8", + version: "0.0.9", dedupe: "unique", hooks: { ...common.hooks, diff --git a/components/monday/sources/name-updated/name-updated.mjs b/components/monday/sources/name-updated/name-updated.mjs index bf276e44f5172..d1e53590e1475 100644 --- a/components/monday/sources/name-updated/name-updated.mjs +++ b/components/monday/sources/name-updated/name-updated.mjs @@ -6,7 +6,7 @@ export default { name: "Name Updated (Instant)", description: "Emit new event when an item's name is updated. [See the documentation](https://developer.monday.com/api-reference/reference/webhooks#sample-payload-for-webhook-events)", type: "source", - version: "0.0.8", + version: "0.0.9", dedupe: "unique", hooks: { ...common.hooks, diff --git a/components/monday/sources/new-board/new-board.mjs b/components/monday/sources/new-board/new-board.mjs index d731b3c015f75..08df48f692d45 100644 --- a/components/monday/sources/new-board/new-board.mjs +++ b/components/monday/sources/new-board/new-board.mjs @@ -6,7 +6,7 @@ export default { name: "New Board Created", description: "Emit new event when a board is created in Monday. [See the documentation](https://developer.monday.com/api-reference/reference/webhooks#sample-payload-for-webhook-events)", type: "source", - version: "0.0.9", + version: "0.0.10", dedupe: "unique", props: { ...common.props, diff --git a/components/monday/sources/new-item/new-item.mjs b/components/monday/sources/new-item/new-item.mjs index 03e1b00613ca1..07595aea44777 100644 --- a/components/monday/sources/new-item/new-item.mjs +++ b/components/monday/sources/new-item/new-item.mjs @@ -6,7 +6,7 @@ export default { name: "New Item Created (Instant)", description: "Emit new event when a new item is added to a board. [See the documentation](https://developer.monday.com/api-reference/reference/webhooks#sample-payload-for-webhook-events)", type: "source", - version: "0.0.8", + version: "0.0.9", dedupe: "unique", hooks: { ...common.hooks, diff --git a/components/monday/sources/new-subitem-update/new-subitem-update.mjs b/components/monday/sources/new-subitem-update/new-subitem-update.mjs index 67be9d1915031..0bd7f8783a93a 100644 --- a/components/monday/sources/new-subitem-update/new-subitem-update.mjs +++ b/components/monday/sources/new-subitem-update/new-subitem-update.mjs @@ -6,7 +6,7 @@ export default { name: "New Sub-Item Update (Instant)", description: "Emit new event when an update is posted in sub-items. [See the documentation](https://developer.monday.com/api-reference/reference/webhooks#sample-payload-for-webhook-events)", type: "source", - version: "0.0.7", + version: "0.0.8", dedupe: "unique", props: { ...common.props, diff --git a/components/monday/sources/new-subitem/new-subitem.mjs b/components/monday/sources/new-subitem/new-subitem.mjs index e1e430069c6b5..f814fde32a1c6 100644 --- a/components/monday/sources/new-subitem/new-subitem.mjs +++ b/components/monday/sources/new-subitem/new-subitem.mjs @@ -6,7 +6,7 @@ export default { name: "New Sub-Item Created (Instant)", description: "Emit new event when a sub-item is created. [See the documentation](https://developer.monday.com/api-reference/reference/webhooks#sample-payload-for-webhook-events)", type: "source", - version: "0.0.7", + version: "0.0.8", dedupe: "unique", props: { ...common.props, diff --git a/components/monday/sources/new-user/new-user.mjs b/components/monday/sources/new-user/new-user.mjs index 146b70e3e112f..876b0dc7a687d 100644 --- a/components/monday/sources/new-user/new-user.mjs +++ b/components/monday/sources/new-user/new-user.mjs @@ -6,7 +6,7 @@ export default { name: "New User Created", description: "Emit new event when a new user is created in Monday. [See the documentation](https://developer.monday.com/api-reference/reference/webhooks#sample-payload-for-webhook-events)", type: "source", - version: "0.0.9", + version: "0.0.10", dedupe: "unique", methods: { ...common.methods, diff --git a/components/monday/sources/specific-column-updated/specific-column-updated.mjs b/components/monday/sources/specific-column-updated/specific-column-updated.mjs index 8e4f8faffadc7..a6be2defef561 100644 --- a/components/monday/sources/specific-column-updated/specific-column-updated.mjs +++ b/components/monday/sources/specific-column-updated/specific-column-updated.mjs @@ -6,7 +6,7 @@ export default { name: "Specific Column Updated (Instant)", description: "Emit new event when a value in the specified column is updated. [See the documentation](https://developer.monday.com/api-reference/reference/webhooks#sample-payload-for-webhook-events)", type: "source", - version: "0.0.8", + version: "0.0.9", dedupe: "unique", hooks: { ...common.hooks, diff --git a/components/monday/sources/subitem-column-value-updated/subitem-column-value-updated.mjs b/components/monday/sources/subitem-column-value-updated/subitem-column-value-updated.mjs index 1b16f31aa0c95..4c24d87ad4507 100644 --- a/components/monday/sources/subitem-column-value-updated/subitem-column-value-updated.mjs +++ b/components/monday/sources/subitem-column-value-updated/subitem-column-value-updated.mjs @@ -6,7 +6,7 @@ export default { name: "Sub-Item Column Value Updated (Instant)", description: "Emit new event when any sub-item column changes. [See the documentation](https://developer.monday.com/api-reference/reference/webhooks#sample-payload-for-webhook-events)", type: "source", - version: "0.0.8", + version: "0.0.9", dedupe: "unique", props: { ...common.props, diff --git a/components/monday/sources/subitem-name-updated/subitem-name-updated.mjs b/components/monday/sources/subitem-name-updated/subitem-name-updated.mjs index 8cf8872fc6214..66be241908829 100644 --- a/components/monday/sources/subitem-name-updated/subitem-name-updated.mjs +++ b/components/monday/sources/subitem-name-updated/subitem-name-updated.mjs @@ -6,7 +6,7 @@ export default { name: "Sub-Item Name Updated (Instant)", description: "Emit new event when a sub-item name changes. [See the documentation](https://developer.monday.com/api-reference/reference/webhooks#sample-payload-for-webhook-events)", type: "source", - version: "0.0.7", + version: "0.0.8", dedupe: "unique", props: { ...common.props, From adc568154d61c5f24c35a711d52d630e40b3850b Mon Sep 17 00:00:00 2001 From: GTFalcao Date: Thu, 23 Jan 2025 00:42:39 -0300 Subject: [PATCH 05/21] More description updates --- components/monday/actions/common/common-create-item.mjs | 8 ++++---- components/monday/actions/create-column/create-column.mjs | 8 ++++---- .../monday/actions/create-subitem/create-subitem.mjs | 4 ++-- components/monday/actions/create-update/create-update.mjs | 2 +- .../actions/get-column-values/get-column-values.mjs | 6 +++--- .../get-items-by-column-value.mjs | 2 +- .../actions/update-column-values/update-column-values.mjs | 6 +++++- 7 files changed, 20 insertions(+), 16 deletions(-) diff --git a/components/monday/actions/common/common-create-item.mjs b/components/monday/actions/common/common-create-item.mjs index 05b41c7f2a7c6..f2cbf6d03450f 100644 --- a/components/monday/actions/common/common-create-item.mjs +++ b/components/monday/actions/common/common-create-item.mjs @@ -11,7 +11,7 @@ export default { }), ], type: "string[]", - description: "Select columns to fill", + description: "Select which item columns to set values for.", reloadProps: true, }, }, @@ -23,11 +23,11 @@ export default { for (const column of this.columns) { let description; if (column === "status") { - description = "Value for status. [Status Index Value Map](https://view.monday.com/1073554546-ad9f20a427a16e67ded630108994c11b?r=use1)"; + description = "The status of the item. [See more about status values here](https://view.monday.com/1073554546-ad9f20a427a16e67ded630108994c11b?r=use1)."; } else if (column === "person") { - description = "The ID of the person/user to add to item"; + description = "The ID of a person/user."; } else if (column === "date4") { - description = "Enter date of item in YYYY-MM-DD format. Eg. `2022-09-02`"; + description = "A date string in `YYYY-MM-DD` format, e.g. `2022-09-02`."; } else { description = `Value for column ${column}. See the [Column Type Reference](https://developer.monday.com/api-reference/docs/column-types-reference) to learn more about entering column type values.`; } diff --git a/components/monday/actions/create-column/create-column.mjs b/components/monday/actions/create-column/create-column.mjs index 719493fb6af7c..9e886855929b1 100644 --- a/components/monday/actions/create-column/create-column.mjs +++ b/components/monday/actions/create-column/create-column.mjs @@ -18,19 +18,19 @@ export default { title: { type: "string", label: "Title", - description: "The new column's title.", + description: "The title of the new column.", }, columnType: { type: "string", label: "Column Type", - description: "The new column's title", + description: "The type of the new column.", options: constants.COLUMN_TYPE_OPTIONS, reloadProps: true, }, description: { type: "string", label: "Description", - description: "The column's description.", + description: "The description of the new column.", optional: true, }, }, @@ -39,7 +39,7 @@ export default { const defaults = { type: "string", label: "Defaults", - description: "The new column's defaults. For use with column types `status` or `dropdown`. [See the documentation](https://developer.monday.com/api-reference/reference/columns#create-a-status-or-dropdown-column-with-custom-labels) for additional information.", + description: "The new column's defaults. For use with column types `status` or `dropdown`. [See the documentation](https://developer.monday.com/api-reference/reference/columns#create-a-status-or-dropdown-column-with-custom-labels) for more information.", optional: true, }; if (this.columnType === "status") { diff --git a/components/monday/actions/create-subitem/create-subitem.mjs b/components/monday/actions/create-subitem/create-subitem.mjs index ea4a408d25576..8c9f23233062d 100644 --- a/components/monday/actions/create-subitem/create-subitem.mjs +++ b/components/monday/actions/create-subitem/create-subitem.mjs @@ -26,14 +26,14 @@ export default { }), ], optional: false, - description: "The parent item's unique identifier", + description: "Select a parent item or provide an item ID.", }, itemName: { propDefinition: [ monday, "itemName", ], - description: "The new subitem's name", + description: "The new subitem's name.", }, ...commonCreateItem.props, }, diff --git a/components/monday/actions/create-update/create-update.mjs b/components/monday/actions/create-update/create-update.mjs index 43f39902d0f6d..a33def209bd2b 100644 --- a/components/monday/actions/create-update/create-update.mjs +++ b/components/monday/actions/create-update/create-update.mjs @@ -33,7 +33,7 @@ export default { }, parentId: { label: "Parent Update ID", - description: "The parent post identifier", + description: "Select a parent update or provide an update ID.", propDefinition: [ monday, "updateId", diff --git a/components/monday/actions/get-column-values/get-column-values.mjs b/components/monday/actions/get-column-values/get-column-values.mjs index 965ee87f9fb46..42f4c861bb8d9 100644 --- a/components/monday/actions/get-column-values/get-column-values.mjs +++ b/components/monday/actions/get-column-values/get-column-values.mjs @@ -4,7 +4,7 @@ export default { ...common, key: "monday-get-column-values", name: "Get Column Values", - description: "Return values of a specific column or columns for a board item. [See the documentation](https://developer.monday.com/api-reference/docs/column-values-v2)", + description: "Return values of specific column(s) for a board item. [See the documentation](https://developer.monday.com/api-reference/docs/column-values-v2)", version: "0.0.6", type: "action", props: { @@ -29,7 +29,7 @@ export default { ], type: "string[]", label: "Columns", - description: "Return data from the specified column(s)", + description: "Select the column(s) to return data from.", optional: true, }, }, @@ -49,7 +49,7 @@ export default { throw new Error(response.errors[0].message); } - $.export("$summary", `Successfully retrieved column values for item with ID ${this.itemId}.`); + $.export("$summary", `Successfully retrieved column values for item with ID ${this.itemId}`); return this.formatColumnValues(response.data.items); }, diff --git a/components/monday/actions/get-items-by-column-value/get-items-by-column-value.mjs b/components/monday/actions/get-items-by-column-value/get-items-by-column-value.mjs index cb2712cec9eba..9a0d4dfcc1899 100644 --- a/components/monday/actions/get-items-by-column-value/get-items-by-column-value.mjs +++ b/components/monday/actions/get-items-by-column-value/get-items-by-column-value.mjs @@ -22,7 +22,7 @@ export default { value: { type: "string", label: "Value", - description: "The value to serach for. [See documentation](https://developer.monday.com/api-reference/docs/items-by-column-values#supported-limited-support-and-unsupported-columns) for additional information about column values.", + description: "The value to search for. [See the documentation](https://developer.monday.com/api-reference/docs/items-by-column-values#supported-limited-support-and-unsupported-columns) for additional information about column values.", }, }, async run({ $ }) { diff --git a/components/monday/actions/update-column-values/update-column-values.mjs b/components/monday/actions/update-column-values/update-column-values.mjs index aa6ba9f94e413..50742f00c2ea3 100644 --- a/components/monday/actions/update-column-values/update-column-values.mjs +++ b/components/monday/actions/update-column-values/update-column-values.mjs @@ -12,9 +12,13 @@ export default { type: "action", props: { ...common.props, + updateInfoBox: { + type: "alert", + alertType: "info", + content: "See the [Column types reference](https://developer.monday.com/api-reference/docs/column-types-reference) to find the proper data structures for supported column types.", + }, boardId: { ...common.props.boardId, - description: "The board's unique identifier. See the [Column types reference](https://developer.monday.com/api-reference/docs/column-types-reference) to find the proper data structures for supported column types.", reloadProps: true, }, itemId: { From 97dc84814852afe956bb23fc076c767c62be20d9 Mon Sep 17 00:00:00 2001 From: GTFalcao Date: Thu, 23 Jan 2025 00:44:24 -0300 Subject: [PATCH 06/21] Description update --- components/monday/sources/new-board/new-board.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/monday/sources/new-board/new-board.mjs b/components/monday/sources/new-board/new-board.mjs index 08df48f692d45..a9eba593ceceb 100644 --- a/components/monday/sources/new-board/new-board.mjs +++ b/components/monday/sources/new-board/new-board.mjs @@ -14,7 +14,7 @@ export default { type: "integer", min: 1, label: "Max API Requests per Execution", - description: "The maximum number of API requests to make per execution (e.g., multiple requests are required to retrieve paginated results)", + description: "The maximum number of API requests to make per execution (multiple requests are required to retrieve paginated results)", optional: true, default: 1, }, From 22e15bc16a94cb54d5503364e080178145efe10c Mon Sep 17 00:00:00 2001 From: GTFalcao Date: Thu, 23 Jan 2025 14:51:05 -0300 Subject: [PATCH 07/21] Version number fixes --- components/monday/monday.app.mjs | 2 +- .../sources/column-value-updated/column-value-updated.mjs | 2 +- components/monday/sources/name-updated/name-updated.mjs | 2 +- components/monday/sources/new-board/new-board.mjs | 2 +- components/monday/sources/new-item/new-item.mjs | 2 +- .../monday/sources/new-subitem-update/new-subitem-update.mjs | 2 +- components/monday/sources/new-subitem/new-subitem.mjs | 2 +- components/monday/sources/new-user/new-user.mjs | 2 +- .../sources/specific-column-updated/specific-column-updated.mjs | 2 +- .../subitem-column-value-updated.mjs | 2 +- .../sources/subitem-name-updated/subitem-name-updated.mjs | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/components/monday/monday.app.mjs b/components/monday/monday.app.mjs index 6d144a2c02629..9027828f501a2 100644 --- a/components/monday/monday.app.mjs +++ b/components/monday/monday.app.mjs @@ -34,7 +34,7 @@ export default { folderId: { type: "integer", label: "Folder ID", - description: "Optionally select a folder to create the board in, or provide a folder ID.", + description: "Optionally select a folder to create the board in, or provide a folder ID.", optional: true, async options({ workspaceId }) { return this.listFolderOptions({ diff --git a/components/monday/sources/column-value-updated/column-value-updated.mjs b/components/monday/sources/column-value-updated/column-value-updated.mjs index 48cd764ca5e0f..feb78e02d0645 100644 --- a/components/monday/sources/column-value-updated/column-value-updated.mjs +++ b/components/monday/sources/column-value-updated/column-value-updated.mjs @@ -6,7 +6,7 @@ export default { name: "Column Value Updated (Instant)", description: "Emit new event when a column value is updated on a board. [See the documentation](https://developer.monday.com/api-reference/reference/webhooks#sample-payload-for-webhook-events)", type: "source", - version: "0.0.9", + version: "0.0.8", dedupe: "unique", hooks: { ...common.hooks, diff --git a/components/monday/sources/name-updated/name-updated.mjs b/components/monday/sources/name-updated/name-updated.mjs index d1e53590e1475..bf276e44f5172 100644 --- a/components/monday/sources/name-updated/name-updated.mjs +++ b/components/monday/sources/name-updated/name-updated.mjs @@ -6,7 +6,7 @@ export default { name: "Name Updated (Instant)", description: "Emit new event when an item's name is updated. [See the documentation](https://developer.monday.com/api-reference/reference/webhooks#sample-payload-for-webhook-events)", type: "source", - version: "0.0.9", + version: "0.0.8", dedupe: "unique", hooks: { ...common.hooks, diff --git a/components/monday/sources/new-board/new-board.mjs b/components/monday/sources/new-board/new-board.mjs index a9eba593ceceb..1b6b6ffc9a904 100644 --- a/components/monday/sources/new-board/new-board.mjs +++ b/components/monday/sources/new-board/new-board.mjs @@ -6,7 +6,7 @@ export default { name: "New Board Created", description: "Emit new event when a board is created in Monday. [See the documentation](https://developer.monday.com/api-reference/reference/webhooks#sample-payload-for-webhook-events)", type: "source", - version: "0.0.10", + version: "0.0.9", dedupe: "unique", props: { ...common.props, diff --git a/components/monday/sources/new-item/new-item.mjs b/components/monday/sources/new-item/new-item.mjs index 07595aea44777..03e1b00613ca1 100644 --- a/components/monday/sources/new-item/new-item.mjs +++ b/components/monday/sources/new-item/new-item.mjs @@ -6,7 +6,7 @@ export default { name: "New Item Created (Instant)", description: "Emit new event when a new item is added to a board. [See the documentation](https://developer.monday.com/api-reference/reference/webhooks#sample-payload-for-webhook-events)", type: "source", - version: "0.0.9", + version: "0.0.8", dedupe: "unique", hooks: { ...common.hooks, diff --git a/components/monday/sources/new-subitem-update/new-subitem-update.mjs b/components/monday/sources/new-subitem-update/new-subitem-update.mjs index 0bd7f8783a93a..67be9d1915031 100644 --- a/components/monday/sources/new-subitem-update/new-subitem-update.mjs +++ b/components/monday/sources/new-subitem-update/new-subitem-update.mjs @@ -6,7 +6,7 @@ export default { name: "New Sub-Item Update (Instant)", description: "Emit new event when an update is posted in sub-items. [See the documentation](https://developer.monday.com/api-reference/reference/webhooks#sample-payload-for-webhook-events)", type: "source", - version: "0.0.8", + version: "0.0.7", dedupe: "unique", props: { ...common.props, diff --git a/components/monday/sources/new-subitem/new-subitem.mjs b/components/monday/sources/new-subitem/new-subitem.mjs index f814fde32a1c6..e1e430069c6b5 100644 --- a/components/monday/sources/new-subitem/new-subitem.mjs +++ b/components/monday/sources/new-subitem/new-subitem.mjs @@ -6,7 +6,7 @@ export default { name: "New Sub-Item Created (Instant)", description: "Emit new event when a sub-item is created. [See the documentation](https://developer.monday.com/api-reference/reference/webhooks#sample-payload-for-webhook-events)", type: "source", - version: "0.0.8", + version: "0.0.7", dedupe: "unique", props: { ...common.props, diff --git a/components/monday/sources/new-user/new-user.mjs b/components/monday/sources/new-user/new-user.mjs index 876b0dc7a687d..146b70e3e112f 100644 --- a/components/monday/sources/new-user/new-user.mjs +++ b/components/monday/sources/new-user/new-user.mjs @@ -6,7 +6,7 @@ export default { name: "New User Created", description: "Emit new event when a new user is created in Monday. [See the documentation](https://developer.monday.com/api-reference/reference/webhooks#sample-payload-for-webhook-events)", type: "source", - version: "0.0.10", + version: "0.0.9", dedupe: "unique", methods: { ...common.methods, diff --git a/components/monday/sources/specific-column-updated/specific-column-updated.mjs b/components/monday/sources/specific-column-updated/specific-column-updated.mjs index a6be2defef561..8e4f8faffadc7 100644 --- a/components/monday/sources/specific-column-updated/specific-column-updated.mjs +++ b/components/monday/sources/specific-column-updated/specific-column-updated.mjs @@ -6,7 +6,7 @@ export default { name: "Specific Column Updated (Instant)", description: "Emit new event when a value in the specified column is updated. [See the documentation](https://developer.monday.com/api-reference/reference/webhooks#sample-payload-for-webhook-events)", type: "source", - version: "0.0.9", + version: "0.0.8", dedupe: "unique", hooks: { ...common.hooks, diff --git a/components/monday/sources/subitem-column-value-updated/subitem-column-value-updated.mjs b/components/monday/sources/subitem-column-value-updated/subitem-column-value-updated.mjs index 4c24d87ad4507..1b16f31aa0c95 100644 --- a/components/monday/sources/subitem-column-value-updated/subitem-column-value-updated.mjs +++ b/components/monday/sources/subitem-column-value-updated/subitem-column-value-updated.mjs @@ -6,7 +6,7 @@ export default { name: "Sub-Item Column Value Updated (Instant)", description: "Emit new event when any sub-item column changes. [See the documentation](https://developer.monday.com/api-reference/reference/webhooks#sample-payload-for-webhook-events)", type: "source", - version: "0.0.9", + version: "0.0.8", dedupe: "unique", props: { ...common.props, diff --git a/components/monday/sources/subitem-name-updated/subitem-name-updated.mjs b/components/monday/sources/subitem-name-updated/subitem-name-updated.mjs index 66be241908829..8cf8872fc6214 100644 --- a/components/monday/sources/subitem-name-updated/subitem-name-updated.mjs +++ b/components/monday/sources/subitem-name-updated/subitem-name-updated.mjs @@ -6,7 +6,7 @@ export default { name: "Sub-Item Name Updated (Instant)", description: "Emit new event when a sub-item name changes. [See the documentation](https://developer.monday.com/api-reference/reference/webhooks#sample-payload-for-webhook-events)", type: "source", - version: "0.0.8", + version: "0.0.7", dedupe: "unique", props: { ...common.props, From 43a3d33ac2ee32872e43579ec19b92203be9d579 Mon Sep 17 00:00:00 2001 From: GTFalcao Date: Mon, 10 Feb 2025 22:19:47 -0300 Subject: [PATCH 08/21] Adding status options and adjusting doc links --- .../actions/common/common-create-item.mjs | 10 +- .../get-column-values/get-column-values.mjs | 2 +- .../get-items-by-column-value.mjs | 4 +- .../update-column-values.mjs | 4 +- components/monday/common/constants.mjs | 164 ++++++++++++++++++ components/monday/common/utils.mjs | 4 + 6 files changed, 181 insertions(+), 7 deletions(-) diff --git a/components/monday/actions/common/common-create-item.mjs b/components/monday/actions/common/common-create-item.mjs index f2cbf6d03450f..227282ced014e 100644 --- a/components/monday/actions/common/common-create-item.mjs +++ b/components/monday/actions/common/common-create-item.mjs @@ -1,3 +1,5 @@ +import constants from "../../common/constants.mjs"; +import { capitalizeWord } from "../../common/utils.mjs"; import monday from "../../monday.app.mjs"; export default { @@ -20,26 +22,30 @@ export default { if (!this.columns) { return props; } + let options; for (const column of this.columns) { let description; if (column === "status") { description = "The status of the item. [See more about status values here](https://view.monday.com/1073554546-ad9f20a427a16e67ded630108994c11b?r=use1)."; + options = constants.STATUS_OPTIONS; } else if (column === "person") { description = "The ID of a person/user."; } else if (column === "date4") { description = "A date string in `YYYY-MM-DD` format, e.g. `2022-09-02`."; } else { - description = `Value for column ${column}. See the [Column Type Reference](https://developer.monday.com/api-reference/docs/column-types-reference) to learn more about entering column type values.`; + description = `Value for column ${column}. See the [Column Type Reference](https://developer.monday.com/api-reference/reference/column-types-reference) to learn more about entering column type values.`; } props[column] = { type: "string", - label: column, + label: capitalizeWord(column), description, + options, }; } return props; }, methods: { + capitalizeWord, getEmailValue(value) { let email = value; if (typeof value === "string") { diff --git a/components/monday/actions/get-column-values/get-column-values.mjs b/components/monday/actions/get-column-values/get-column-values.mjs index 42f4c861bb8d9..0f0c3e792581b 100644 --- a/components/monday/actions/get-column-values/get-column-values.mjs +++ b/components/monday/actions/get-column-values/get-column-values.mjs @@ -4,7 +4,7 @@ export default { ...common, key: "monday-get-column-values", name: "Get Column Values", - description: "Return values of specific column(s) for a board item. [See the documentation](https://developer.monday.com/api-reference/docs/column-values-v2)", + description: "Return values of specific column(s) for a board item. [See the documentation](https://developer.monday.com/api-reference/reference/column-values-v2)", version: "0.0.6", type: "action", props: { diff --git a/components/monday/actions/get-items-by-column-value/get-items-by-column-value.mjs b/components/monday/actions/get-items-by-column-value/get-items-by-column-value.mjs index 9a0d4dfcc1899..bef7cce4efd7b 100644 --- a/components/monday/actions/get-items-by-column-value/get-items-by-column-value.mjs +++ b/components/monday/actions/get-items-by-column-value/get-items-by-column-value.mjs @@ -4,7 +4,7 @@ export default { ...common, key: "monday-get-items-by-column-value", name: "Get Items By Column Value", - description: "Searches a column for items matching a value. [See the documentation](https://developer.monday.com/api-reference/docs/items-page-by-column-values)", + description: "Searches a column for items matching a value. [See the documentation](https://developer.monday.com/api-reference/reference/items-page-by-column-values)", version: "0.0.6", type: "action", props: { @@ -22,7 +22,7 @@ export default { value: { type: "string", label: "Value", - description: "The value to search for. [See the documentation](https://developer.monday.com/api-reference/docs/items-by-column-values#supported-limited-support-and-unsupported-columns) for additional information about column values.", + description: "The value to search for. [See the documentation](https://developer.monday.com/api-reference/reference/items-page-by-column-values#supported-and-unsupported-columns) for additional information about column values.", }, }, async run({ $ }) { diff --git a/components/monday/actions/update-column-values/update-column-values.mjs b/components/monday/actions/update-column-values/update-column-values.mjs index 50742f00c2ea3..3d26449097c3f 100644 --- a/components/monday/actions/update-column-values/update-column-values.mjs +++ b/components/monday/actions/update-column-values/update-column-values.mjs @@ -7,7 +7,7 @@ export default { ...common, key: "monday-update-column-values", name: "Update Column Values", - description: "Update multiple column values of an item. [See the documentation](https://developer.monday.com/api-reference/docs/columns#change-multiple-column-values)", + description: "Update multiple column values of an item. [See the documentation](https://developer.monday.com/api-reference/reference/columns#change-multiple-column-values)", version: "0.0.6", type: "action", props: { @@ -15,7 +15,7 @@ export default { updateInfoBox: { type: "alert", alertType: "info", - content: "See the [Column types reference](https://developer.monday.com/api-reference/docs/column-types-reference) to find the proper data structures for supported column types.", + content: "See the [Column types reference](https://developer.monday.com/api-reference/reference/column-types-reference) to find the proper data structures for supported column types.", }, boardId: { ...common.props.boardId, diff --git a/components/monday/common/constants.mjs b/components/monday/common/constants.mjs index f7f267ba751b9..461fbdc89dbfd 100644 --- a/components/monday/common/constants.mjs +++ b/components/monday/common/constants.mjs @@ -141,8 +141,172 @@ const BOARD_TYPE = { SUB_ITEMS_BOARD: "sub_items_board", }; +const STATUS_OPTIONS = [ + { + label: "Grey", + value: "5", + }, + { + label: "Orange", + value: "0", + }, + { + label: "Green Shadow", + value: "1", + }, + { + label: "Red Shadow", + value: "2", + }, + { + label: "Blue Links", + value: "3", + }, + { + label: "Purple", + value: "4", + }, + { + label: "Grass Green", + value: "6", + }, + { + label: "Bright Blue", + value: "7", + }, + { + label: "Mustered", + value: "8", + }, + { + label: "Yellow", + value: "9", + }, + { + label: "Soft Black", + value: "10", + }, + { + label: "Dark Red", + value: "11", + }, + { + label: "Dark Pink", + value: "12", + }, + { + label: "Light Pink", + value: "13", + }, + { + label: "Dark Purple", + value: "14", + }, + { + label: "Lime Green", + value: "15", + }, + { + label: "Turquoise", + value: "16", + }, + { + label: "Trolley Grey", + value: "17", + }, + { + label: "Brown", + value: "18", + }, + { + label: "Dark Orange", + value: "19", + }, + { + label: "Sunset", + value: "101", + }, + { + label: "Bubble", + value: "102", + }, + { + label: "Peach", + value: "103", + }, + { + label: "Berry", + value: "104", + }, + { + label: "Winter", + value: "105", + }, + { + label: "River", + value: "106", + }, + { + label: "Navy", + value: "107", + }, + { + label: "Australia", + value: "108", + }, + { + label: "Indigo", + value: "109", + }, + { + label: "Dark Indigo", + value: "110", + }, + { + label: "Pecan", + value: "151", + }, + { + label: "Light Magic", + value: "152", + }, + { + label: "Sky", + value: "153", + }, + { + label: "Cold Blue", + value: "154", + }, + { + label: "Kids", + value: "155", + }, + { + label: "Purple Gray", + value: "156", + }, + { + label: "Corona", + value: "157", + }, + { + label: "Sail", + value: "158", + }, + { + label: "Old Rose", + value: "159", + }, + { + label: "Eden", + value: "160", + }, +]; + export default { BOARD_KIND_OPTIONS, COLUMN_TYPE_OPTIONS, BOARD_TYPE, + STATUS_OPTIONS, }; diff --git a/components/monday/common/utils.mjs b/components/monday/common/utils.mjs index 77174847f66ff..96e37fce52e01 100644 --- a/components/monday/common/utils.mjs +++ b/components/monday/common/utils.mjs @@ -23,6 +23,10 @@ function toNumber(value) { : strNumber(value); } +export function capitalizeWord(str) { + return str.slice(0, 1).toUpperCase() + str.slice(1); +} + export default { emptyStrToUndefined, strinfied, From c1e43df7eb74ce674e1e601e9ab1a6ed93e2c8a1 Mon Sep 17 00:00:00 2001 From: GTFalcao Date: Mon, 10 Feb 2025 23:27:27 -0300 Subject: [PATCH 09/21] Parsing status options for columns --- .../actions/common/common-create-item.mjs | 28 +++++++++++++++---- components/monday/common/queries.mjs | 11 ++++++++ components/monday/monday.app.mjs | 11 +++++++- 3 files changed, 43 insertions(+), 7 deletions(-) diff --git a/components/monday/actions/common/common-create-item.mjs b/components/monday/actions/common/common-create-item.mjs index 227282ced014e..d12f90b818338 100644 --- a/components/monday/actions/common/common-create-item.mjs +++ b/components/monday/actions/common/common-create-item.mjs @@ -1,4 +1,3 @@ -import constants from "../../common/constants.mjs"; import { capitalizeWord } from "../../common/utils.mjs"; import monday from "../../monday.app.mjs"; @@ -22,12 +21,29 @@ export default { if (!this.columns) { return props; } - let options; + const columnData = await this.monday.listColumns({ + boardId: +this.boardId, + }); for (const column of this.columns) { - let description; - if (column === "status") { - description = "The status of the item. [See more about status values here](https://view.monday.com/1073554546-ad9f20a427a16e67ded630108994c11b?r=use1)."; - options = constants.STATUS_OPTIONS; + let description, options; + const columnOptions = columnData.find(({ id }) => id === column)?.settings_str; + if (columnOptions) { + try { + options = Object.entries(JSON.parse(columnOptions).labels).map(([ + value, + label, + ]) => ({ + label: label !== "" + ? label + : value, + value, + })); + } catch (err) { + console.log(`Error parsing options for column "${column}": ${err}`); + } + } + if (column.endsWith("status")) { + description = "A status value for the item. [See more about status values here](https://view.monday.com/1073554546-ad9f20a427a16e67ded630108994c11b?r=use1)."; } else if (column === "person") { description = "The ID of a person/user."; } else if (column === "date4") { diff --git a/components/monday/common/queries.mjs b/components/monday/common/queries.mjs index d335b1fd40e5f..0792bf8738012 100644 --- a/components/monday/common/queries.mjs +++ b/components/monday/common/queries.mjs @@ -98,12 +98,23 @@ export default { boards (ids: [$boardId]) { columns { id + settings_str title type } } } `, + listColumnOptions: ` + query listColumnOptions ($boardId: ID!) { + boards (ids: [$boardId]) { + columns { + id + title + } + } + } + `, listUsers: ` query { users ( diff --git a/components/monday/monday.app.mjs b/components/monday/monday.app.mjs index 9027828f501a2..d1a62e5fcd3c7 100644 --- a/components/monday/monday.app.mjs +++ b/components/monday/monday.app.mjs @@ -128,7 +128,7 @@ export default { label: "Column", description: "Select a column to watch for changes.", async options({ boardId }) { - const columns = await this.listColumns({ + const columns = await this.listColumnOptions({ boardId: +boardId, }); return columns @@ -307,6 +307,15 @@ export default { }, }); }, + async listColumnOptions(variables) { + const { data } = await this.makeRequest({ + query: queries.listColumnOptions, + options: { + variables, + }, + }); + return data?.boards[0]?.columns; + }, async listColumns(variables) { const { data } = await this.makeRequest({ query: queries.listColumns, From 58ded281e1f1f208c64f537fd2461d74897ad8f3 Mon Sep 17 00:00:00 2001 From: GTFalcao Date: Mon, 10 Feb 2025 23:58:51 -0300 Subject: [PATCH 10/21] Adding options for all columns that have them available --- .../actions/common/common-create-item.mjs | 29 +--- .../actions/create-item/create-item.mjs | 2 +- .../actions/create-subitem/create-subitem.mjs | 2 +- .../get-items-by-column-value.mjs | 27 ++- .../update-column-values.mjs | 16 +- components/monday/common/constants.mjs | 164 ------------------ components/monday/common/utils.mjs | 29 +++- 7 files changed, 68 insertions(+), 201 deletions(-) diff --git a/components/monday/actions/common/common-create-item.mjs b/components/monday/actions/common/common-create-item.mjs index d12f90b818338..8d24c1a4eee06 100644 --- a/components/monday/actions/common/common-create-item.mjs +++ b/components/monday/actions/common/common-create-item.mjs @@ -1,4 +1,6 @@ -import { capitalizeWord } from "../../common/utils.mjs"; +import { + capitalizeWord, getColumnOptions, +} from "../../common/utils.mjs"; import monday from "../../monday.app.mjs"; export default { @@ -26,30 +28,15 @@ export default { }); for (const column of this.columns) { let description, options; - const columnOptions = columnData.find(({ id }) => id === column)?.settings_str; - if (columnOptions) { - try { - options = Object.entries(JSON.parse(columnOptions).labels).map(([ - value, - label, - ]) => ({ - label: label !== "" - ? label - : value, - value, - })); - } catch (err) { - console.log(`Error parsing options for column "${column}": ${err}`); - } - } - if (column.endsWith("status")) { - description = "A status value for the item. [See more about status values here](https://view.monday.com/1073554546-ad9f20a427a16e67ded630108994c11b?r=use1)."; - } else if (column === "person") { + options = getColumnOptions(columnData, column); + if (column === "person") { description = "The ID of a person/user."; } else if (column === "date4") { description = "A date string in `YYYY-MM-DD` format, e.g. `2022-09-02`."; + } else if (options) { + description = `Select a value from the list for column "${column}".`; } else { - description = `Value for column ${column}. See the [Column Type Reference](https://developer.monday.com/api-reference/reference/column-types-reference) to learn more about entering column type values.`; + description = `Value for column "${column}". See the [Column Type Reference](https://developer.monday.com/api-reference/reference/column-types-reference) to learn more about entering column type values.`; } props[column] = { type: "string", diff --git a/components/monday/actions/create-item/create-item.mjs b/components/monday/actions/create-item/create-item.mjs index 5db307df662f3..057ae0ff8c54a 100644 --- a/components/monday/actions/create-item/create-item.mjs +++ b/components/monday/actions/create-item/create-item.mjs @@ -8,7 +8,7 @@ export default { name: "Create Item", description: "Creates an item. [See the documentation](https://developer.monday.com/api-reference/reference/items#create-an-item)", type: "action", - version: "0.0.11", + version: "0.1.0", props: { monday, boardId: { diff --git a/components/monday/actions/create-subitem/create-subitem.mjs b/components/monday/actions/create-subitem/create-subitem.mjs index 8c9f23233062d..483a9a2f3061c 100644 --- a/components/monday/actions/create-subitem/create-subitem.mjs +++ b/components/monday/actions/create-subitem/create-subitem.mjs @@ -8,7 +8,7 @@ export default { name: "Create Subitem", description: "Creates a subitem. [See the documentation](https://developer.monday.com/api-reference/reference/subitems#create-a-subitem)", type: "action", - version: "0.0.4", + version: "0.1.0", props: { monday, boardId: { diff --git a/components/monday/actions/get-items-by-column-value/get-items-by-column-value.mjs b/components/monday/actions/get-items-by-column-value/get-items-by-column-value.mjs index bef7cce4efd7b..cf4bbf76ad51e 100644 --- a/components/monday/actions/get-items-by-column-value/get-items-by-column-value.mjs +++ b/components/monday/actions/get-items-by-column-value/get-items-by-column-value.mjs @@ -1,3 +1,4 @@ +import { getColumnOptions } from "../../common/utils.mjs"; import common from "../common/column-values.mjs"; export default { @@ -5,7 +6,7 @@ export default { key: "monday-get-items-by-column-value", name: "Get Items By Column Value", description: "Searches a column for items matching a value. [See the documentation](https://developer.monday.com/api-reference/reference/items-page-by-column-values)", - version: "0.0.6", + version: "0.1.0", type: "action", props: { ...common.props, @@ -18,12 +19,26 @@ export default { }), ], description: "The column to search", + reloadProps: true, }, - value: { - type: "string", - label: "Value", - description: "The value to search for. [See the documentation](https://developer.monday.com/api-reference/reference/items-page-by-column-values#supported-and-unsupported-columns) for additional information about column values.", - }, + }, + async additionalProps() { + const columnData = await this.monday.listColumns({ + boardId: +this.boardId, + }); + + const options = getColumnOptions(columnData, this.columnId); + + return { + value: { + type: "string", + label: "Value", + description: `The value to search for.${options + ? "" + : " [See the documentation](https://developer.monday.com/api-reference/reference/items-page-by-column-values#supported-and-unsupported-columns) for additional information about column values."} `, + options, + }, + }; }, async run({ $ }) { const response = await this.monday.getItemsByColumnValue({ diff --git a/components/monday/actions/update-column-values/update-column-values.mjs b/components/monday/actions/update-column-values/update-column-values.mjs index 3d26449097c3f..cdeae7decf851 100644 --- a/components/monday/actions/update-column-values/update-column-values.mjs +++ b/components/monday/actions/update-column-values/update-column-values.mjs @@ -2,13 +2,14 @@ import common from "../common/column-values.mjs"; import { axios } from "@pipedream/platform"; import fs from "fs"; import FormData from "form-data"; +import { getColumnOptions } from "../../common/utils.mjs"; export default { ...common, key: "monday-update-column-values", name: "Update Column Values", description: "Update multiple column values of an item. [See the documentation](https://developer.monday.com/api-reference/reference/columns#change-multiple-column-values)", - version: "0.0.6", + version: "0.1.0", type: "action", props: { ...common.props, @@ -34,14 +35,19 @@ export default { }, async additionalProps() { const props = {}; - if (this.boardId) { - const columns = await this.getColumns(this.boardId); + const { boardId } = this; + if (boardId) { + const columns = await this.monday.listColumns({ + boardId: +boardId, + }); for (const column of columns) { - props[column.id] = { + const id = column.id; + props[id] = { type: "string", label: column.title, - description: `The value for column ${column.title}`, + description: `The value for the "${column.title}" column (\`${id}\`)`, optional: true, + options: getColumnOptions(columns, id), }; if (column.type === "file") { props[column.id].description += ". The path to a file in the `/tmp` directory. [See the documentation on working with files](https://pipedream.com/docs/code/nodejs/working-with-files/#writing-a-file-to-tmp)."; diff --git a/components/monday/common/constants.mjs b/components/monday/common/constants.mjs index 461fbdc89dbfd..f7f267ba751b9 100644 --- a/components/monday/common/constants.mjs +++ b/components/monday/common/constants.mjs @@ -141,172 +141,8 @@ const BOARD_TYPE = { SUB_ITEMS_BOARD: "sub_items_board", }; -const STATUS_OPTIONS = [ - { - label: "Grey", - value: "5", - }, - { - label: "Orange", - value: "0", - }, - { - label: "Green Shadow", - value: "1", - }, - { - label: "Red Shadow", - value: "2", - }, - { - label: "Blue Links", - value: "3", - }, - { - label: "Purple", - value: "4", - }, - { - label: "Grass Green", - value: "6", - }, - { - label: "Bright Blue", - value: "7", - }, - { - label: "Mustered", - value: "8", - }, - { - label: "Yellow", - value: "9", - }, - { - label: "Soft Black", - value: "10", - }, - { - label: "Dark Red", - value: "11", - }, - { - label: "Dark Pink", - value: "12", - }, - { - label: "Light Pink", - value: "13", - }, - { - label: "Dark Purple", - value: "14", - }, - { - label: "Lime Green", - value: "15", - }, - { - label: "Turquoise", - value: "16", - }, - { - label: "Trolley Grey", - value: "17", - }, - { - label: "Brown", - value: "18", - }, - { - label: "Dark Orange", - value: "19", - }, - { - label: "Sunset", - value: "101", - }, - { - label: "Bubble", - value: "102", - }, - { - label: "Peach", - value: "103", - }, - { - label: "Berry", - value: "104", - }, - { - label: "Winter", - value: "105", - }, - { - label: "River", - value: "106", - }, - { - label: "Navy", - value: "107", - }, - { - label: "Australia", - value: "108", - }, - { - label: "Indigo", - value: "109", - }, - { - label: "Dark Indigo", - value: "110", - }, - { - label: "Pecan", - value: "151", - }, - { - label: "Light Magic", - value: "152", - }, - { - label: "Sky", - value: "153", - }, - { - label: "Cold Blue", - value: "154", - }, - { - label: "Kids", - value: "155", - }, - { - label: "Purple Gray", - value: "156", - }, - { - label: "Corona", - value: "157", - }, - { - label: "Sail", - value: "158", - }, - { - label: "Old Rose", - value: "159", - }, - { - label: "Eden", - value: "160", - }, -]; - export default { BOARD_KIND_OPTIONS, COLUMN_TYPE_OPTIONS, BOARD_TYPE, - STATUS_OPTIONS, }; diff --git a/components/monday/common/utils.mjs b/components/monday/common/utils.mjs index 96e37fce52e01..bcaece3ed1175 100644 --- a/components/monday/common/utils.mjs +++ b/components/monday/common/utils.mjs @@ -1,12 +1,12 @@ function emptyStrToUndefined(value) { - const trimmed = typeof(value) === "string" && value.trim(); + const trimmed = typeof value === "string" && value.trim(); return trimmed === "" ? undefined : value; } function strinfied(value) { - return typeof(value) === "object" + return typeof value === "object" ? JSON.stringify(value) : emptyStrToUndefined(value); } @@ -18,7 +18,7 @@ function strNumber(value) { } function toNumber(value) { - return typeof(value) === "number" + return typeof value === "number" ? value : strNumber(value); } @@ -27,6 +27,29 @@ export function capitalizeWord(str) { return str.slice(0, 1).toUpperCase() + str.slice(1); } +export function getColumnOptions(allColumnData, columnId) { + const columnOptions = allColumnData.find( + ({ id }) => id === columnId, + )?.settings_str; + if (columnOptions) { + try { + return Object.entries(JSON.parse(columnOptions).labels).map( + ([ + value, + label, + ]) => ({ + label: label !== "" + ? label + : value, + value, + }), + ); + } catch (err) { + console.log(`Error parsing options for column "${columnId}": ${err}`); + } + } +} + export default { emptyStrToUndefined, strinfied, From 1b4822b32cbc93719dca47d93ed88a986c8dff5c Mon Sep 17 00:00:00 2001 From: GTFalcao Date: Tue, 11 Feb 2025 00:49:53 -0300 Subject: [PATCH 11/21] Massive improvements to props supporting async options --- .../actions/common/common-create-item.mjs | 7 +- .../actions/create-column/create-column.mjs | 64 ++++++++++++------- .../actions/create-item/create-item.mjs | 2 +- .../actions/create-subitem/create-subitem.mjs | 4 +- .../actions/create-update/create-update.mjs | 2 +- .../get-column-values/get-column-values.mjs | 2 +- .../get-items-by-column-value.mjs | 2 +- .../update-column-values.mjs | 4 +- components/monday/common/utils.mjs | 30 +++++---- components/monday/monday.app.mjs | 18 +++--- .../column-value-updated.mjs | 2 +- .../new-subitem-update/new-subitem-update.mjs | 4 +- .../sources/new-subitem/new-subitem.mjs | 4 +- .../specific-column-updated.mjs | 2 +- .../subitem-column-value-updated.mjs | 4 +- .../subitem-name-updated.mjs | 4 +- 16 files changed, 90 insertions(+), 65 deletions(-) diff --git a/components/monday/actions/common/common-create-item.mjs b/components/monday/actions/common/common-create-item.mjs index 8d24c1a4eee06..3076095d332ff 100644 --- a/components/monday/actions/common/common-create-item.mjs +++ b/components/monday/actions/common/common-create-item.mjs @@ -14,7 +14,7 @@ export default { }), ], type: "string[]", - description: "Select which item columns to set values for.", + description: "Select which item columns to set values for", reloadProps: true, }, }, @@ -26,13 +26,14 @@ export default { const columnData = await this.monday.listColumns({ boardId: +this.boardId, }); + console.log(columnData); for (const column of this.columns) { let description, options; options = getColumnOptions(columnData, column); if (column === "person") { - description = "The ID of a person/user."; + description = "The ID of a person/user"; } else if (column === "date4") { - description = "A date string in `YYYY-MM-DD` format, e.g. `2022-09-02`."; + description = "A date string in `YYYY-MM-DD` format, e.g. `2022-09-02`"; } else if (options) { description = `Select a value from the list for column "${column}".`; } else { diff --git a/components/monday/actions/create-column/create-column.mjs b/components/monday/actions/create-column/create-column.mjs index 9e886855929b1..c14b2e46a7710 100644 --- a/components/monday/actions/create-column/create-column.mjs +++ b/components/monday/actions/create-column/create-column.mjs @@ -1,12 +1,13 @@ import constants from "../../common/constants.mjs"; import monday from "../../monday.app.mjs"; +import { ConfigurationError } from "@pipedream/platform"; export default { key: "monday-create-column", name: "Create Column", description: "Creates a column. [See the documentation](https://developer.monday.com/api-reference/reference/columns#create-a-column)", type: "action", - version: "0.0.9", + version: "0.1.0", props: { monday, boardId: { @@ -18,45 +19,64 @@ export default { title: { type: "string", label: "Title", - description: "The title of the new column.", + description: "The title of the new column", }, columnType: { type: "string", label: "Column Type", - description: "The type of the new column.", + description: "The type of the new column", options: constants.COLUMN_TYPE_OPTIONS, reloadProps: true, }, description: { type: "string", label: "Description", - description: "The description of the new column.", + description: "The description of the new column", optional: true, }, }, async additionalProps() { const props = {}; - const defaults = { - type: "string", - label: "Defaults", - description: "The new column's defaults. For use with column types `status` or `dropdown`. [See the documentation](https://developer.monday.com/api-reference/reference/columns#create-a-status-or-dropdown-column-with-custom-labels) for more information.", - optional: true, - }; - if (this.columnType === "status") { - props.defaults = { - ...defaults, - default: "{\"labels\":{\"1\":\"Option1\",\"2\":\"Option2\",\"3\":\"Option3\",\"4\": \"Option4\"}}", - }; - } - if (this.columnType === "dropdown") { + if ([ + "status", + "dropdown", + ].includes(this.columnType)) { props.defaults = { - ...defaults, - default: "{\"settings\":{\"labels\":[{\"id\":1,\"name\":\"Option1\"}, {\"id\":2,\"name\":\"Option2\"}, {\"id\":3,\"name\":\"Option3\"}]}}", + type: "string", + label: "Custom Labels (Defaults)", + description: "The new column's custom labels (defaults). For use with column types `status` or `dropdown`. Should be an object in the format `{ \"1\": \"Technology\", \"2\": \"Marketing\" }` where each key is the label ID and each value is the label text. [See the documentation](https://developer.monday.com/api-reference/reference/columns#create-a-status-or-dropdown-column-with-custom-labels) for more information.", + optional: true, }; } return props; }, async run({ $ }) { + let { defaults } = this; + if (defaults) { + try { + if (this.columnType === "status") { + defaults = JSON.stringify({ + labels: JSON.parse(defaults), + }); + } else if (this.columnType === "dropdown") { + const obj = JSON.parse(defaults); + defaults = JSON.stringify({ + settings: { + labels: Object.entries(obj).map(([ + id, + name, + ]) => ({ + id: Number(id), + name, + })), + }, + }); + } + } catch (err) { + throw new ConfigurationError(`Error parsing \`Custom Labels\` as JSON: "${err}"`); + } + } + $.export("debug", defaults); const { data, errors, @@ -66,11 +86,7 @@ export default { boardId: +this.boardId, title: this.title, columnType: this.columnType, - defaults: this.defaults - ? typeof this.defaults !== "string" - ? JSON.stringify(this.defaults) - : this.defaults - : undefined, + defaults, description: this.description, }); diff --git a/components/monday/actions/create-item/create-item.mjs b/components/monday/actions/create-item/create-item.mjs index 057ae0ff8c54a..5fbdf6a548319 100644 --- a/components/monday/actions/create-item/create-item.mjs +++ b/components/monday/actions/create-item/create-item.mjs @@ -8,7 +8,7 @@ export default { name: "Create Item", description: "Creates an item. [See the documentation](https://developer.monday.com/api-reference/reference/items#create-an-item)", type: "action", - version: "0.1.0", + version: "0.1.{{ts}}", props: { monday, boardId: { diff --git a/components/monday/actions/create-subitem/create-subitem.mjs b/components/monday/actions/create-subitem/create-subitem.mjs index 483a9a2f3061c..6f4d9e47c6690 100644 --- a/components/monday/actions/create-subitem/create-subitem.mjs +++ b/components/monday/actions/create-subitem/create-subitem.mjs @@ -26,14 +26,14 @@ export default { }), ], optional: false, - description: "Select a parent item or provide an item ID.", + description: "Select a parent item or provide an item ID", }, itemName: { propDefinition: [ monday, "itemName", ], - description: "The new subitem's name.", + description: "The new subitem's name", }, ...commonCreateItem.props, }, diff --git a/components/monday/actions/create-update/create-update.mjs b/components/monday/actions/create-update/create-update.mjs index a33def209bd2b..ed2a7a6f372be 100644 --- a/components/monday/actions/create-update/create-update.mjs +++ b/components/monday/actions/create-update/create-update.mjs @@ -33,7 +33,7 @@ export default { }, parentId: { label: "Parent Update ID", - description: "Select a parent update or provide an update ID.", + description: "Select a parent update or provide an update ID", propDefinition: [ monday, "updateId", diff --git a/components/monday/actions/get-column-values/get-column-values.mjs b/components/monday/actions/get-column-values/get-column-values.mjs index 0f0c3e792581b..287942c53eca2 100644 --- a/components/monday/actions/get-column-values/get-column-values.mjs +++ b/components/monday/actions/get-column-values/get-column-values.mjs @@ -29,7 +29,7 @@ export default { ], type: "string[]", label: "Columns", - description: "Select the column(s) to return data from.", + description: "Select the column(s) to return data from", optional: true, }, }, diff --git a/components/monday/actions/get-items-by-column-value/get-items-by-column-value.mjs b/components/monday/actions/get-items-by-column-value/get-items-by-column-value.mjs index cf4bbf76ad51e..6b03b6d11aad1 100644 --- a/components/monday/actions/get-items-by-column-value/get-items-by-column-value.mjs +++ b/components/monday/actions/get-items-by-column-value/get-items-by-column-value.mjs @@ -35,7 +35,7 @@ export default { label: "Value", description: `The value to search for.${options ? "" - : " [See the documentation](https://developer.monday.com/api-reference/reference/items-page-by-column-values#supported-and-unsupported-columns) for additional information about column values."} `, + : " [See the documentation](https://developer.monday.com/api-reference/reference/items-page-by-column-values#supported-and-unsupported-columns) for additional information about column values"} `, options, }, }; diff --git a/components/monday/actions/update-column-values/update-column-values.mjs b/components/monday/actions/update-column-values/update-column-values.mjs index cdeae7decf851..8c725ebc8f87c 100644 --- a/components/monday/actions/update-column-values/update-column-values.mjs +++ b/components/monday/actions/update-column-values/update-column-values.mjs @@ -16,7 +16,7 @@ export default { updateInfoBox: { type: "alert", alertType: "info", - content: "See the [Column types reference](https://developer.monday.com/api-reference/reference/column-types-reference) to find the proper data structures for supported column types.", + content: "See the [Column types reference](https://developer.monday.com/api-reference/reference/column-types-reference) to find the proper data structures for supported column types", }, boardId: { ...common.props.boardId, @@ -50,7 +50,7 @@ export default { options: getColumnOptions(columns, id), }; if (column.type === "file") { - props[column.id].description += ". The path to a file in the `/tmp` directory. [See the documentation on working with files](https://pipedream.com/docs/code/nodejs/working-with-files/#writing-a-file-to-tmp)."; + props[column.id].description += ". The path to a file in the `/tmp` directory. [See the documentation on working with files](https://pipedream.com/docs/code/nodejs/working-with-files/#writing-a-file-to-tmp)"; } } } diff --git a/components/monday/common/utils.mjs b/components/monday/common/utils.mjs index bcaece3ed1175..f8bba9d444ca5 100644 --- a/components/monday/common/utils.mjs +++ b/components/monday/common/utils.mjs @@ -33,17 +33,25 @@ export function getColumnOptions(allColumnData, columnId) { )?.settings_str; if (columnOptions) { try { - return Object.entries(JSON.parse(columnOptions).labels).map( - ([ - value, - label, - ]) => ({ - label: label !== "" - ? label - : value, - value, - }), - ); + const labels = JSON.parse(columnOptions).labels; + return Array.isArray(labels) + ? labels.map(({ + id, name, + }) => ({ + label: name, + value: id.toString(), + })) + : Object.entries(labels).map( + ([ + value, + label, + ]) => ({ + label: label !== "" + ? label + : value, + value, + }), + ); } catch (err) { console.log(`Error parsing options for column "${columnId}": ${err}`); } diff --git a/components/monday/monday.app.mjs b/components/monday/monday.app.mjs index d1a62e5fcd3c7..2fc4de93f81c1 100644 --- a/components/monday/monday.app.mjs +++ b/components/monday/monday.app.mjs @@ -13,7 +13,7 @@ export default { boardId: { type: "string", label: "Board ID", - description: "Select a board, or provide a board ID.", + description: "Select a board, or provide a board ID", async options({ page }) { return this.listBoardsOptions({ page: page + 1, @@ -34,7 +34,7 @@ export default { folderId: { type: "integer", label: "Folder ID", - description: "Optionally select a folder to create the board in, or provide a folder ID.", + description: "Optionally select a folder to create the board in, or provide a folder ID", optional: true, async options({ workspaceId }) { return this.listFolderOptions({ @@ -45,7 +45,7 @@ export default { workspaceId: { type: "integer", label: "Workspace ID", - description: "Select a workspace to create the board in, or provide a workspace ID. If not specified, the **Main Workspace** will be used.", + description: "Select a workspace to create the board in, or provide a workspace ID. If not specified, the **Main Workspace** will be used", optional: true, async options() { return this.listWorkspacesOptions(); @@ -54,18 +54,18 @@ export default { templateId: { type: "integer", label: "Board Template ID", - description: "The board's template ID. You can obtain it from the URL when selecting the desired board (e.g. `https://{subdomain}.monday.com/boards/2419687965`) where `2419687965` is the template ID. [See the documentation](https://developer.monday.com/api-reference/reference/boards#create-a-board) for more information.", + description: "The board's template ID. You can obtain it from the URL when selecting the desired board (e.g. `https://{subdomain}.monday.com/boards/2419687965`) where `2419687965` is the template ID. [See the documentation](https://developer.monday.com/api-reference/reference/boards#create-a-board) for more information", optional: true, }, groupName: { type: "string", label: "Group Name", - description: "The name of the new group.", + description: "The name of the new group", }, groupId: { type: "string", label: "Group ID", - description: "Select a group or provide a group ID.", + description: "Select a group or provide a group ID", optional: true, async options({ boardId }) { return this.listGroupsOptions({ @@ -98,7 +98,7 @@ export default { itemId: { type: "string", label: "Item ID", - description: "Select an item or provide an item ID.", + description: "Select an item or provide an item ID", optional: true, async options({ boardId, prevContext, @@ -112,7 +112,7 @@ export default { updateId: { type: "string", label: "Update ID", - description: "Select an update or provide an update ID.", + description: "Select an update or provide an update ID", optional: true, async options({ page, boardId, @@ -126,7 +126,7 @@ export default { column: { type: "string", label: "Column", - description: "Select a column to watch for changes.", + description: "Select a column to watch for changes", async options({ boardId }) { const columns = await this.listColumnOptions({ boardId: +boardId, diff --git a/components/monday/sources/column-value-updated/column-value-updated.mjs b/components/monday/sources/column-value-updated/column-value-updated.mjs index feb78e02d0645..b9c24655cc029 100644 --- a/components/monday/sources/column-value-updated/column-value-updated.mjs +++ b/components/monday/sources/column-value-updated/column-value-updated.mjs @@ -19,7 +19,7 @@ export default { alertBox: { type: "alert", alertType: "warning", - content: "For changes to `Name`, use the **Name Updated** trigger.", + content: "For changes to `Name`, use the **Name Updated** trigger", }, }, methods: { diff --git a/components/monday/sources/new-subitem-update/new-subitem-update.mjs b/components/monday/sources/new-subitem-update/new-subitem-update.mjs index 67be9d1915031..9fa17bc4c06c1 100644 --- a/components/monday/sources/new-subitem-update/new-subitem-update.mjs +++ b/components/monday/sources/new-subitem-update/new-subitem-update.mjs @@ -13,7 +13,7 @@ export default { alertBox: { type: "alert", alertType: "warning", - content: "To create this trigger, you need to have at least one subitem previously created on your board.", + content: "To create this trigger, you need to have at least one subitem previously created on your board", }, boardId: { propDefinition: [ @@ -25,7 +25,7 @@ export default { methods: { ...common.methods, getWebhookCreationError() { - return "Failed to establish webhook. To create this trigger, you need to have at least one subitem previously created on your board."; + return "Failed to establish webhook. To create this trigger, you need to have at least one subitem previously created on your board"; }, getWebhookArgs() { return { diff --git a/components/monday/sources/new-subitem/new-subitem.mjs b/components/monday/sources/new-subitem/new-subitem.mjs index e1e430069c6b5..26942653260b0 100644 --- a/components/monday/sources/new-subitem/new-subitem.mjs +++ b/components/monday/sources/new-subitem/new-subitem.mjs @@ -13,7 +13,7 @@ export default { alertBox: { type: "alert", alertType: "warning", - content: "To create this trigger, you need to have at least one subitem previously created on your board.", + content: "To create this trigger, you need to have at least one subitem previously created on your board", }, boardId: { propDefinition: [ @@ -25,7 +25,7 @@ export default { methods: { ...common.methods, getWebhookCreationError() { - return "Failed to establish webhook. To create this trigger, you need to have at least one subitem previously created on your board."; + return "Failed to establish webhook. To create this trigger, you need to have at least one subitem previously created on your board"; }, getWebhookArgs() { return { diff --git a/components/monday/sources/specific-column-updated/specific-column-updated.mjs b/components/monday/sources/specific-column-updated/specific-column-updated.mjs index 8e4f8faffadc7..da0616a946429 100644 --- a/components/monday/sources/specific-column-updated/specific-column-updated.mjs +++ b/components/monday/sources/specific-column-updated/specific-column-updated.mjs @@ -19,7 +19,7 @@ export default { alertBox: { type: "alert", alertType: "warning", - content: "For changes to `Name`, use the **Name Updated** trigger.", + content: "For changes to `Name`, use the **Name Updated** trigger", }, column: { propDefinition: [ diff --git a/components/monday/sources/subitem-column-value-updated/subitem-column-value-updated.mjs b/components/monday/sources/subitem-column-value-updated/subitem-column-value-updated.mjs index 1b16f31aa0c95..34c6191b80e34 100644 --- a/components/monday/sources/subitem-column-value-updated/subitem-column-value-updated.mjs +++ b/components/monday/sources/subitem-column-value-updated/subitem-column-value-updated.mjs @@ -13,7 +13,7 @@ export default { alertBox: { type: "alert", alertType: "warning", - content: "To create this trigger, you need to have at least one subitem previously created on your board.", + content: "To create this trigger, you need to have at least one subitem previously created on your board", }, boardId: { propDefinition: [ @@ -25,7 +25,7 @@ export default { methods: { ...common.methods, getWebhookCreationError() { - return "Failed to establish webhook. To create this trigger, you need to have at least one subitem previously created on your board."; + return "Failed to establish webhook. To create this trigger, you need to have at least one subitem previously created on your board"; }, getWebhookArgs() { return { diff --git a/components/monday/sources/subitem-name-updated/subitem-name-updated.mjs b/components/monday/sources/subitem-name-updated/subitem-name-updated.mjs index 8cf8872fc6214..39dc57d4ac159 100644 --- a/components/monday/sources/subitem-name-updated/subitem-name-updated.mjs +++ b/components/monday/sources/subitem-name-updated/subitem-name-updated.mjs @@ -13,7 +13,7 @@ export default { alertBox: { type: "alert", alertType: "warning", - content: "To create this trigger, you need to have at least one subitem previously created on your board.", + content: "To create this trigger, you need to have at least one subitem previously created on your board", }, boardId: { propDefinition: [ @@ -25,7 +25,7 @@ export default { methods: { ...common.methods, getWebhookCreationError() { - return "Failed to establish webhook. To create this trigger, you need to have at least one subitem previously created on your board."; + return "Failed to establish webhook. To create this trigger, you need to have at least one subitem previously created on your board"; }, getWebhookArgs() { return { From 198463a4c22f84674ed31b50548cabe78314768c Mon Sep 17 00:00:00 2001 From: GTFalcao Date: Tue, 11 Feb 2025 00:51:19 -0300 Subject: [PATCH 12/21] Version bump --- components/monday/actions/create-item/create-item.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/monday/actions/create-item/create-item.mjs b/components/monday/actions/create-item/create-item.mjs index 5fbdf6a548319..057ae0ff8c54a 100644 --- a/components/monday/actions/create-item/create-item.mjs +++ b/components/monday/actions/create-item/create-item.mjs @@ -8,7 +8,7 @@ export default { name: "Create Item", description: "Creates an item. [See the documentation](https://developer.monday.com/api-reference/reference/items#create-an-item)", type: "action", - version: "0.1.{{ts}}", + version: "0.1.0", props: { monday, boardId: { From 4baab2411fde56e4c69869dc800a08e40e230a64 Mon Sep 17 00:00:00 2001 From: GTFalcao Date: Tue, 11 Feb 2025 14:10:33 -0300 Subject: [PATCH 13/21] OAuth component version bumps --- components/monday_oauth/actions/create-board/create-board.mjs | 2 +- components/monday_oauth/actions/create-column/create-column.mjs | 2 +- components/monday_oauth/actions/create-group/create-group.mjs | 2 +- components/monday_oauth/actions/create-item/create-item.mjs | 2 +- .../monday_oauth/actions/create-subitem/create-subitem.mjs | 2 +- components/monday_oauth/actions/create-update/create-update.mjs | 2 +- .../actions/get-column-values/get-column-values.mjs | 2 +- .../get-items-by-column-value/get-items-by-column-value.mjs | 2 +- .../actions/update-column-values/update-column-values.mjs | 2 +- .../monday_oauth/actions/update-item-name/update-item-name.mjs | 2 +- components/monday_oauth/package.json | 2 +- .../sources/column-value-updated/column-value-updated.mjs | 2 +- components/monday_oauth/sources/name-updated/name-updated.mjs | 2 +- components/monday_oauth/sources/new-board/new-board.mjs | 2 +- components/monday_oauth/sources/new-item/new-item.mjs | 2 +- .../sources/new-subitem-update/new-subitem-update.mjs | 2 +- components/monday_oauth/sources/new-subitem/new-subitem.mjs | 2 +- .../subitem-column-value-updated.mjs | 2 +- .../sources/subitem-name-updated/subitem-name-updated.mjs | 2 +- 19 files changed, 19 insertions(+), 19 deletions(-) diff --git a/components/monday_oauth/actions/create-board/create-board.mjs b/components/monday_oauth/actions/create-board/create-board.mjs index 1d4746fa86914..c8b1692c4e1d8 100644 --- a/components/monday_oauth/actions/create-board/create-board.mjs +++ b/components/monday_oauth/actions/create-board/create-board.mjs @@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, app); export default { ...others, key: "monday_oauth-create-board", - version: "0.0.2", + version: "0.0.3", name, description, type, diff --git a/components/monday_oauth/actions/create-column/create-column.mjs b/components/monday_oauth/actions/create-column/create-column.mjs index 93c962fa553d4..f4e25d996468c 100644 --- a/components/monday_oauth/actions/create-column/create-column.mjs +++ b/components/monday_oauth/actions/create-column/create-column.mjs @@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, app); export default { ...others, key: "monday_oauth-create-column", - version: "0.0.2", + version: "0.1.0", name, description, type, diff --git a/components/monday_oauth/actions/create-group/create-group.mjs b/components/monday_oauth/actions/create-group/create-group.mjs index 94f854523905d..fb75b275ad5ba 100644 --- a/components/monday_oauth/actions/create-group/create-group.mjs +++ b/components/monday_oauth/actions/create-group/create-group.mjs @@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, app); export default { ...others, key: "monday_oauth-create-group", - version: "0.0.2", + version: "0.0.3", name, description, type, diff --git a/components/monday_oauth/actions/create-item/create-item.mjs b/components/monday_oauth/actions/create-item/create-item.mjs index 5bb331b889fc0..26406367c6efd 100644 --- a/components/monday_oauth/actions/create-item/create-item.mjs +++ b/components/monday_oauth/actions/create-item/create-item.mjs @@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, app); export default { ...others, key: "monday_oauth-create-item", - version: "0.0.2", + version: "0.1.0", name, description, type, diff --git a/components/monday_oauth/actions/create-subitem/create-subitem.mjs b/components/monday_oauth/actions/create-subitem/create-subitem.mjs index 6cfed8f5f74d7..c2e1e4b7cae3b 100644 --- a/components/monday_oauth/actions/create-subitem/create-subitem.mjs +++ b/components/monday_oauth/actions/create-subitem/create-subitem.mjs @@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, app); export default { ...others, key: "monday_oauth-create-subitem", - version: "0.0.2", + version: "0.1.0", name, description, type, diff --git a/components/monday_oauth/actions/create-update/create-update.mjs b/components/monday_oauth/actions/create-update/create-update.mjs index 10d8886aa4943..2533a2f5fd958 100644 --- a/components/monday_oauth/actions/create-update/create-update.mjs +++ b/components/monday_oauth/actions/create-update/create-update.mjs @@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, app); export default { ...others, key: "monday_oauth-create-update", - version: "0.0.2", + version: "0.0.3", name, description, type, diff --git a/components/monday_oauth/actions/get-column-values/get-column-values.mjs b/components/monday_oauth/actions/get-column-values/get-column-values.mjs index 6226e5a96a4d4..4b6ca502c99bb 100644 --- a/components/monday_oauth/actions/get-column-values/get-column-values.mjs +++ b/components/monday_oauth/actions/get-column-values/get-column-values.mjs @@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, app); export default { ...others, key: "monday_oauth-get-column-values", - version: "0.0.2", + version: "0.0.3", name, description, type, diff --git a/components/monday_oauth/actions/get-items-by-column-value/get-items-by-column-value.mjs b/components/monday_oauth/actions/get-items-by-column-value/get-items-by-column-value.mjs index 0b663a476a2fe..b0cd786cf74e5 100644 --- a/components/monday_oauth/actions/get-items-by-column-value/get-items-by-column-value.mjs +++ b/components/monday_oauth/actions/get-items-by-column-value/get-items-by-column-value.mjs @@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, app); export default { ...others, key: "monday_oauth-get-items-by-column-value", - version: "0.0.2", + version: "0.1.0", name, description, type, diff --git a/components/monday_oauth/actions/update-column-values/update-column-values.mjs b/components/monday_oauth/actions/update-column-values/update-column-values.mjs index 79ff107f2bb77..33af2d0b6eb97 100644 --- a/components/monday_oauth/actions/update-column-values/update-column-values.mjs +++ b/components/monday_oauth/actions/update-column-values/update-column-values.mjs @@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, app); export default { ...others, key: "monday_oauth-update-column-values", - version: "0.0.2", + version: "0.1.0", name, description, type, diff --git a/components/monday_oauth/actions/update-item-name/update-item-name.mjs b/components/monday_oauth/actions/update-item-name/update-item-name.mjs index 2fbd388f93d7e..75e0f295ee53d 100644 --- a/components/monday_oauth/actions/update-item-name/update-item-name.mjs +++ b/components/monday_oauth/actions/update-item-name/update-item-name.mjs @@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, app); export default { ...others, key: "monday_oauth-update-item-name", - version: "0.0.2", + version: "0.0.3", name, description, type, diff --git a/components/monday_oauth/package.json b/components/monday_oauth/package.json index 8d33cbd5b9f97..a39a681e1f8c6 100644 --- a/components/monday_oauth/package.json +++ b/components/monday_oauth/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/monday_oauth", - "version": "0.1.1", + "version": "0.2.0", "description": "Pipedream monday.com (OAuth) Components", "main": "monday_oauth.app.mjs", "keywords": [ diff --git a/components/monday_oauth/sources/column-value-updated/column-value-updated.mjs b/components/monday_oauth/sources/column-value-updated/column-value-updated.mjs index c6e0010d1fba6..c0da666b6e103 100644 --- a/components/monday_oauth/sources/column-value-updated/column-value-updated.mjs +++ b/components/monday_oauth/sources/column-value-updated/column-value-updated.mjs @@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, app); export default { ...others, key: "monday_oauth-column-value-updated", - version: "0.0.2", + version: "0.0.3", name, description, type, diff --git a/components/monday_oauth/sources/name-updated/name-updated.mjs b/components/monday_oauth/sources/name-updated/name-updated.mjs index 5d5c0e3328fd7..81347b49ef2ee 100644 --- a/components/monday_oauth/sources/name-updated/name-updated.mjs +++ b/components/monday_oauth/sources/name-updated/name-updated.mjs @@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, app); export default { ...others, key: "monday_oauth-name-updated", - version: "0.0.2", + version: "0.0.3", name, description, type, diff --git a/components/monday_oauth/sources/new-board/new-board.mjs b/components/monday_oauth/sources/new-board/new-board.mjs index 8a1c72201afe8..e638adcb996b6 100644 --- a/components/monday_oauth/sources/new-board/new-board.mjs +++ b/components/monday_oauth/sources/new-board/new-board.mjs @@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, app); export default { ...others, key: "monday_oauth-new-board", - version: "0.0.2", + version: "0.0.3", name, description, type, diff --git a/components/monday_oauth/sources/new-item/new-item.mjs b/components/monday_oauth/sources/new-item/new-item.mjs index 2052ec37e94c1..ffab036923101 100644 --- a/components/monday_oauth/sources/new-item/new-item.mjs +++ b/components/monday_oauth/sources/new-item/new-item.mjs @@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, app); export default { ...others, key: "monday_oauth-new-item", - version: "0.0.2", + version: "0.0.3", name, description, type, diff --git a/components/monday_oauth/sources/new-subitem-update/new-subitem-update.mjs b/components/monday_oauth/sources/new-subitem-update/new-subitem-update.mjs index f713a05ea26dc..c344b0f024bed 100644 --- a/components/monday_oauth/sources/new-subitem-update/new-subitem-update.mjs +++ b/components/monday_oauth/sources/new-subitem-update/new-subitem-update.mjs @@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, app); export default { ...others, key: "monday_oauth-new-subitem-update", - version: "0.0.2", + version: "0.0.3", name, description, type, diff --git a/components/monday_oauth/sources/new-subitem/new-subitem.mjs b/components/monday_oauth/sources/new-subitem/new-subitem.mjs index e76b60b6bba6d..706c7ac12f85b 100644 --- a/components/monday_oauth/sources/new-subitem/new-subitem.mjs +++ b/components/monday_oauth/sources/new-subitem/new-subitem.mjs @@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, app); export default { ...others, key: "monday_oauth-new-subitem", - version: "0.0.2", + version: "0.0.3", name, description, type, diff --git a/components/monday_oauth/sources/subitem-column-value-updated/subitem-column-value-updated.mjs b/components/monday_oauth/sources/subitem-column-value-updated/subitem-column-value-updated.mjs index 73e05101f8b59..3bcaa1c34e393 100644 --- a/components/monday_oauth/sources/subitem-column-value-updated/subitem-column-value-updated.mjs +++ b/components/monday_oauth/sources/subitem-column-value-updated/subitem-column-value-updated.mjs @@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, app); export default { ...others, key: "monday_oauth-subitem-column-value-updated", - version: "0.0.2", + version: "0.0.3", name, description, type, diff --git a/components/monday_oauth/sources/subitem-name-updated/subitem-name-updated.mjs b/components/monday_oauth/sources/subitem-name-updated/subitem-name-updated.mjs index ea0c54e264b97..b8b896698bb93 100644 --- a/components/monday_oauth/sources/subitem-name-updated/subitem-name-updated.mjs +++ b/components/monday_oauth/sources/subitem-name-updated/subitem-name-updated.mjs @@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, app); export default { ...others, key: "monday_oauth-subitem-name-updated", - version: "0.0.2", + version: "0.0.3", name, description, type, From deb60465ee8fce29b31f4431d7683de8df99dc2e Mon Sep 17 00:00:00 2001 From: GTFalcao Date: Wed, 12 Feb 2025 07:19:30 -0300 Subject: [PATCH 14/21] Adjusting options for 'get items by column value' --- .../get-items-by-column-value.mjs | 2 +- components/monday/common/utils.mjs | 30 +++++++++++-------- 2 files changed, 18 insertions(+), 14 deletions(-) diff --git a/components/monday/actions/get-items-by-column-value/get-items-by-column-value.mjs b/components/monday/actions/get-items-by-column-value/get-items-by-column-value.mjs index 6b03b6d11aad1..10777b3195060 100644 --- a/components/monday/actions/get-items-by-column-value/get-items-by-column-value.mjs +++ b/components/monday/actions/get-items-by-column-value/get-items-by-column-value.mjs @@ -27,7 +27,7 @@ export default { boardId: +this.boardId, }); - const options = getColumnOptions(columnData, this.columnId); + const options = getColumnOptions(columnData, this.columnId, true); return { value: { diff --git a/components/monday/common/utils.mjs b/components/monday/common/utils.mjs index f8bba9d444ca5..eb8f0f2f2a168 100644 --- a/components/monday/common/utils.mjs +++ b/components/monday/common/utils.mjs @@ -27,31 +27,35 @@ export function capitalizeWord(str) { return str.slice(0, 1).toUpperCase() + str.slice(1); } -export function getColumnOptions(allColumnData, columnId) { +export function getColumnOptions(allColumnData, columnId, useLabels = false) { const columnOptions = allColumnData.find( ({ id }) => id === columnId, )?.settings_str; if (columnOptions) { try { const labels = JSON.parse(columnOptions).labels; - return Array.isArray(labels) + return (Array.isArray(labels) ? labels.map(({ id, name, - }) => ({ - label: name, - value: id.toString(), - })) + }) => useLabels + ? name + : ({ + label: name, + value: id.toString(), + })) : Object.entries(labels).map( ([ value, label, - ]) => ({ - label: label !== "" - ? label - : value, - value, - }), - ); + ]) => useLabels + ? label + : ({ + label: label !== "" + ? label + : value, + value, + }), + )).filter((str) => str); } catch (err) { console.log(`Error parsing options for column "${columnId}": ${err}`); } From a3a916d4315269c4a36808d6addb9a3f789a7956 Mon Sep 17 00:00:00 2001 From: GTFalcao Date: Thu, 13 Feb 2025 18:44:37 -0300 Subject: [PATCH 15/21] pnpm --- pnpm-lock.yaml | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 93987cddb5b1d..411fb290b0834 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -774,8 +774,7 @@ importers: specifier: ^2.3.3 version: 2.3.3 - components/applicantstack: - specifiers: {} + components/applicantstack: {} components/appointedd: dependencies: @@ -3613,8 +3612,7 @@ importers: specifier: ^1.2.0 version: 1.6.6 - components/felt: - specifiers: {} + components/felt: {} components/fibery: dependencies: @@ -7585,8 +7583,7 @@ importers: specifier: ^3.0.3 version: 3.0.3 - components/ory: - specifiers: {} + components/ory: {} components/osu: {} @@ -10368,8 +10365,7 @@ importers: specifier: ^4.17.20 version: 4.17.21 - components/stack_overflow_for_teams: - specifiers: {} + components/stack_overflow_for_teams: {} components/stackshare_api: {} @@ -12422,8 +12418,7 @@ importers: specifier: ^3.0.3 version: 3.0.3 - components/zep: - specifiers: {} + components/zep: {} components/zerobounce: dependencies: From 06f6140351d53047929d2a02a87278f018d10398 Mon Sep 17 00:00:00 2001 From: GTFalcao Date: Fri, 14 Feb 2025 00:02:09 -0300 Subject: [PATCH 16/21] temporarily adjusting imports --- components/monday_oauth/actions/create-board/create-board.mjs | 2 +- .../monday_oauth/actions/create-column/create-column.mjs | 2 +- components/monday_oauth/actions/create-group/create-group.mjs | 2 +- components/monday_oauth/actions/create-item/create-item.mjs | 2 +- .../monday_oauth/actions/create-subitem/create-subitem.mjs | 2 +- .../monday_oauth/actions/create-update/create-update.mjs | 2 +- .../actions/get-column-values/get-column-values.mjs | 4 ++-- .../get-items-by-column-value/get-items-by-column-value.mjs | 4 ++-- .../actions/update-column-values/update-column-values.mjs | 2 +- .../actions/update-item-name/update-item-name.mjs | 2 +- components/monday_oauth/monday_oauth.app.mjs | 2 +- .../sources/column-value-updated/column-value-updated.mjs | 2 +- components/monday_oauth/sources/name-updated/name-updated.mjs | 2 +- components/monday_oauth/sources/new-board/new-board.mjs | 2 +- components/monday_oauth/sources/new-item/new-item.mjs | 2 +- .../sources/new-subitem-update/new-subitem-update.mjs | 2 +- components/monday_oauth/sources/new-subitem/new-subitem.mjs | 2 +- .../subitem-column-value-updated.mjs | 2 +- .../sources/subitem-name-updated/subitem-name-updated.mjs | 2 +- 19 files changed, 21 insertions(+), 21 deletions(-) diff --git a/components/monday_oauth/actions/create-board/create-board.mjs b/components/monday_oauth/actions/create-board/create-board.mjs index c8b1692c4e1d8..85c8a71babbb1 100644 --- a/components/monday_oauth/actions/create-board/create-board.mjs +++ b/components/monday_oauth/actions/create-board/create-board.mjs @@ -1,5 +1,5 @@ import app from "../../monday_oauth.app.mjs"; -import common from "@pipedream/monday/actions/create-board/create-board.mjs"; +import common from "../../../monday/actions/create-board/create-board.mjs"; import { adjustPropDefinitions } from "../../common/utils.mjs"; diff --git a/components/monday_oauth/actions/create-column/create-column.mjs b/components/monday_oauth/actions/create-column/create-column.mjs index f4e25d996468c..a6726eca49b6e 100644 --- a/components/monday_oauth/actions/create-column/create-column.mjs +++ b/components/monday_oauth/actions/create-column/create-column.mjs @@ -1,5 +1,5 @@ import app from "../../monday_oauth.app.mjs"; -import common from "@pipedream/monday/actions/create-column/create-column.mjs"; +import common from "../../../monday/actions/create-column/create-column.mjs"; import { adjustPropDefinitions } from "../../common/utils.mjs"; diff --git a/components/monday_oauth/actions/create-group/create-group.mjs b/components/monday_oauth/actions/create-group/create-group.mjs index fb75b275ad5ba..3f0333ebed62b 100644 --- a/components/monday_oauth/actions/create-group/create-group.mjs +++ b/components/monday_oauth/actions/create-group/create-group.mjs @@ -1,5 +1,5 @@ import app from "../../monday_oauth.app.mjs"; -import common from "@pipedream/monday/actions/create-group/create-group.mjs"; +import common from "../../../monday/actions/create-group/create-group.mjs"; import { adjustPropDefinitions } from "../../common/utils.mjs"; diff --git a/components/monday_oauth/actions/create-item/create-item.mjs b/components/monday_oauth/actions/create-item/create-item.mjs index 26406367c6efd..61f8550673819 100644 --- a/components/monday_oauth/actions/create-item/create-item.mjs +++ b/components/monday_oauth/actions/create-item/create-item.mjs @@ -1,5 +1,5 @@ import app from "../../monday_oauth.app.mjs"; -import common from "@pipedream/monday/actions/create-item/create-item.mjs"; +import common from "../../../monday/actions/create-item/create-item.mjs"; import { adjustPropDefinitions } from "../../common/utils.mjs"; diff --git a/components/monday_oauth/actions/create-subitem/create-subitem.mjs b/components/monday_oauth/actions/create-subitem/create-subitem.mjs index c2e1e4b7cae3b..9820ccab9cfbd 100644 --- a/components/monday_oauth/actions/create-subitem/create-subitem.mjs +++ b/components/monday_oauth/actions/create-subitem/create-subitem.mjs @@ -1,5 +1,5 @@ import app from "../../monday_oauth.app.mjs"; -import common from "@pipedream/monday/actions/create-subitem/create-subitem.mjs"; +import common from "../../../monday/actions/create-subitem/create-subitem.mjs"; import { adjustPropDefinitions } from "../../common/utils.mjs"; diff --git a/components/monday_oauth/actions/create-update/create-update.mjs b/components/monday_oauth/actions/create-update/create-update.mjs index 2533a2f5fd958..34f791db428a8 100644 --- a/components/monday_oauth/actions/create-update/create-update.mjs +++ b/components/monday_oauth/actions/create-update/create-update.mjs @@ -1,5 +1,5 @@ import app from "../../monday_oauth.app.mjs"; -import common from "@pipedream/monday/actions/create-update/create-update.mjs"; +import common from "../../../monday/actions/create-update/create-update.mjs"; import { adjustPropDefinitions } from "../../common/utils.mjs"; diff --git a/components/monday_oauth/actions/get-column-values/get-column-values.mjs b/components/monday_oauth/actions/get-column-values/get-column-values.mjs index 4b6ca502c99bb..d4fe3dd67105d 100644 --- a/components/monday_oauth/actions/get-column-values/get-column-values.mjs +++ b/components/monday_oauth/actions/get-column-values/get-column-values.mjs @@ -1,5 +1,5 @@ import app from "../../monday_oauth.app.mjs"; -import common from "@pipedream/monday/actions/get-column-values/get-column-values.mjs"; +import common from "../../../monday/actions/get-column-values/get-column-values.mjs"; import { adjustPropDefinitions } from "../../common/utils.mjs"; @@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, app); export default { ...others, key: "monday_oauth-get-column-values", - version: "0.0.3", + version: "0.0.{{ts}}", name, description, type, diff --git a/components/monday_oauth/actions/get-items-by-column-value/get-items-by-column-value.mjs b/components/monday_oauth/actions/get-items-by-column-value/get-items-by-column-value.mjs index b0cd786cf74e5..8f11e20c595da 100644 --- a/components/monday_oauth/actions/get-items-by-column-value/get-items-by-column-value.mjs +++ b/components/monday_oauth/actions/get-items-by-column-value/get-items-by-column-value.mjs @@ -1,5 +1,5 @@ import app from "../../monday_oauth.app.mjs"; -import common from "@pipedream/monday/actions/get-items-by-column-value/get-items-by-column-value.mjs"; +import common from "../../../monday/actions/get-items-by-column-value/get-items-by-column-value.mjs"; import { adjustPropDefinitions } from "../../common/utils.mjs"; @@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, app); export default { ...others, key: "monday_oauth-get-items-by-column-value", - version: "0.1.0", + version: "0.1.{{ts}}", name, description, type, diff --git a/components/monday_oauth/actions/update-column-values/update-column-values.mjs b/components/monday_oauth/actions/update-column-values/update-column-values.mjs index 33af2d0b6eb97..6d5f3973fb09b 100644 --- a/components/monday_oauth/actions/update-column-values/update-column-values.mjs +++ b/components/monday_oauth/actions/update-column-values/update-column-values.mjs @@ -1,5 +1,5 @@ import app from "../../monday_oauth.app.mjs"; -import common from "@pipedream/monday/actions/update-column-values/update-column-values.mjs"; +import common from "../../../monday/actions/update-column-values/update-column-values.mjs"; import { adjustPropDefinitions } from "../../common/utils.mjs"; diff --git a/components/monday_oauth/actions/update-item-name/update-item-name.mjs b/components/monday_oauth/actions/update-item-name/update-item-name.mjs index 75e0f295ee53d..df59a0c6bfcd0 100644 --- a/components/monday_oauth/actions/update-item-name/update-item-name.mjs +++ b/components/monday_oauth/actions/update-item-name/update-item-name.mjs @@ -1,5 +1,5 @@ import app from "../../monday_oauth.app.mjs"; -import common from "@pipedream/monday/actions/update-item-name/update-item-name.mjs"; +import common from "../../../monday/actions/update-item-name/update-item-name.mjs"; import { adjustPropDefinitions } from "../../common/utils.mjs"; diff --git a/components/monday_oauth/monday_oauth.app.mjs b/components/monday_oauth/monday_oauth.app.mjs index 64c60d27825c2..94eb7016c1b64 100644 --- a/components/monday_oauth/monday_oauth.app.mjs +++ b/components/monday_oauth/monday_oauth.app.mjs @@ -1,4 +1,4 @@ -import common from "@pipedream/monday"; +import common from "../monday/monday.app.mjs"; import mondaySdk from "monday-sdk-js"; export default { diff --git a/components/monday_oauth/sources/column-value-updated/column-value-updated.mjs b/components/monday_oauth/sources/column-value-updated/column-value-updated.mjs index c0da666b6e103..71e7e07080fd9 100644 --- a/components/monday_oauth/sources/column-value-updated/column-value-updated.mjs +++ b/components/monday_oauth/sources/column-value-updated/column-value-updated.mjs @@ -1,5 +1,5 @@ import app from "../../monday_oauth.app.mjs"; -import common from "@pipedream/monday/sources/column-value-updated/column-value-updated.mjs"; +import common from "../../../monday/sources/column-value-updated/column-value-updated.mjs"; import { adjustPropDefinitions } from "../../common/utils.mjs"; diff --git a/components/monday_oauth/sources/name-updated/name-updated.mjs b/components/monday_oauth/sources/name-updated/name-updated.mjs index 81347b49ef2ee..9ff2f54ff094c 100644 --- a/components/monday_oauth/sources/name-updated/name-updated.mjs +++ b/components/monday_oauth/sources/name-updated/name-updated.mjs @@ -1,5 +1,5 @@ import app from "../../monday_oauth.app.mjs"; -import common from "@pipedream/monday/sources/name-updated/name-updated.mjs"; +import common from "../../../monday/sources/name-updated/name-updated.mjs"; import { adjustPropDefinitions } from "../../common/utils.mjs"; diff --git a/components/monday_oauth/sources/new-board/new-board.mjs b/components/monday_oauth/sources/new-board/new-board.mjs index e638adcb996b6..3ff4c855e60d1 100644 --- a/components/monday_oauth/sources/new-board/new-board.mjs +++ b/components/monday_oauth/sources/new-board/new-board.mjs @@ -1,5 +1,5 @@ import app from "../../monday_oauth.app.mjs"; -import common from "@pipedream/monday/sources/new-board/new-board.mjs"; +import common from "../../../monday/sources/new-board/new-board.mjs"; import { adjustPropDefinitions } from "../../common/utils.mjs"; diff --git a/components/monday_oauth/sources/new-item/new-item.mjs b/components/monday_oauth/sources/new-item/new-item.mjs index ffab036923101..229b413a9a5d2 100644 --- a/components/monday_oauth/sources/new-item/new-item.mjs +++ b/components/monday_oauth/sources/new-item/new-item.mjs @@ -1,5 +1,5 @@ import app from "../../monday_oauth.app.mjs"; -import common from "@pipedream/monday/sources/new-item/new-item.mjs"; +import common from "../../../monday/sources/new-item/new-item.mjs"; import { adjustPropDefinitions } from "../../common/utils.mjs"; diff --git a/components/monday_oauth/sources/new-subitem-update/new-subitem-update.mjs b/components/monday_oauth/sources/new-subitem-update/new-subitem-update.mjs index c344b0f024bed..151cae6bef683 100644 --- a/components/monday_oauth/sources/new-subitem-update/new-subitem-update.mjs +++ b/components/monday_oauth/sources/new-subitem-update/new-subitem-update.mjs @@ -1,5 +1,5 @@ import app from "../../monday_oauth.app.mjs"; -import common from "@pipedream/monday/sources/new-subitem-update/new-subitem-update.mjs"; +import common from "../../../monday/sources/new-subitem-update/new-subitem-update.mjs"; import { adjustPropDefinitions } from "../../common/utils.mjs"; diff --git a/components/monday_oauth/sources/new-subitem/new-subitem.mjs b/components/monday_oauth/sources/new-subitem/new-subitem.mjs index 706c7ac12f85b..203be5186b369 100644 --- a/components/monday_oauth/sources/new-subitem/new-subitem.mjs +++ b/components/monday_oauth/sources/new-subitem/new-subitem.mjs @@ -1,5 +1,5 @@ import app from "../../monday_oauth.app.mjs"; -import common from "@pipedream/monday/sources/new-subitem/new-subitem.mjs"; +import common from "../../../monday/sources/new-subitem/new-subitem.mjs"; import { adjustPropDefinitions } from "../../common/utils.mjs"; diff --git a/components/monday_oauth/sources/subitem-column-value-updated/subitem-column-value-updated.mjs b/components/monday_oauth/sources/subitem-column-value-updated/subitem-column-value-updated.mjs index 3bcaa1c34e393..9e34a7d09f81b 100644 --- a/components/monday_oauth/sources/subitem-column-value-updated/subitem-column-value-updated.mjs +++ b/components/monday_oauth/sources/subitem-column-value-updated/subitem-column-value-updated.mjs @@ -1,5 +1,5 @@ import app from "../../monday_oauth.app.mjs"; -import common from "@pipedream/monday/sources/subitem-column-value-updated/subitem-column-value-updated.mjs"; +import common from "../../../monday/sources/subitem-column-value-updated/subitem-column-value-updated.mjs"; import { adjustPropDefinitions } from "../../common/utils.mjs"; diff --git a/components/monday_oauth/sources/subitem-name-updated/subitem-name-updated.mjs b/components/monday_oauth/sources/subitem-name-updated/subitem-name-updated.mjs index b8b896698bb93..fa1ddd23a9e61 100644 --- a/components/monday_oauth/sources/subitem-name-updated/subitem-name-updated.mjs +++ b/components/monday_oauth/sources/subitem-name-updated/subitem-name-updated.mjs @@ -1,5 +1,5 @@ import app from "../../monday_oauth.app.mjs"; -import common from "@pipedream/monday/sources/subitem-name-updated/subitem-name-updated.mjs"; +import common from "../../../monday/sources/subitem-name-updated/subitem-name-updated.mjs"; import { adjustPropDefinitions } from "../../common/utils.mjs"; From c311057b8274b2b8160a837d9efde4fd1ab3389b Mon Sep 17 00:00:00 2001 From: GTFalcao Date: Fri, 14 Feb 2025 00:48:07 -0300 Subject: [PATCH 17/21] Adding optional chaining to avoid exceptions on empty lists --- components/monday/monday.app.mjs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/components/monday/monday.app.mjs b/components/monday/monday.app.mjs index 2fc4de93f81c1..da43d4db51f6d 100644 --- a/components/monday/monday.app.mjs +++ b/components/monday/monday.app.mjs @@ -132,11 +132,11 @@ export default { boardId: +boardId, }); return columns - .filter((column) => column.id !== "name") + ?.filter((column) => column.id !== "name") .map((column) => ({ label: column.title, value: column.id, - })); + })) ?? []; }, }, }, @@ -385,13 +385,13 @@ export default { const { boards } = data; return boards - .filter(({ type }) => type !== constants.BOARD_TYPE.SUB_ITEMS_BOARD) + ?.filter(({ type }) => type !== constants.BOARD_TYPE.SUB_ITEMS_BOARD) .map(({ id, name, }) => ({ label: name, value: id, - })); + })) ?? []; }, async listFolderOptions(variables) { const { From ab30ea497f29b2ca1cb5e9dfac8c560e170f9180 Mon Sep 17 00:00:00 2001 From: Leo Vu Date: Fri, 14 Feb 2025 11:59:51 +0700 Subject: [PATCH 18/21] Remove debug --- components/monday/actions/create-column/create-column.mjs | 1 - 1 file changed, 1 deletion(-) diff --git a/components/monday/actions/create-column/create-column.mjs b/components/monday/actions/create-column/create-column.mjs index c14b2e46a7710..9cd9b0d395d79 100644 --- a/components/monday/actions/create-column/create-column.mjs +++ b/components/monday/actions/create-column/create-column.mjs @@ -76,7 +76,6 @@ export default { throw new ConfigurationError(`Error parsing \`Custom Labels\` as JSON: "${err}"`); } } - $.export("debug", defaults); const { data, errors, From dab670a46bc2253146aba251a799135a73ee1412 Mon Sep 17 00:00:00 2001 From: GTFalcao Date: Fri, 14 Feb 2025 10:16:31 -0300 Subject: [PATCH 19/21] Re-adjusting imports and version bumps --- components/monday_oauth/actions/create-board/create-board.mjs | 2 +- .../monday_oauth/actions/create-column/create-column.mjs | 2 +- components/monday_oauth/actions/create-group/create-group.mjs | 2 +- components/monday_oauth/actions/create-item/create-item.mjs | 2 +- .../monday_oauth/actions/create-subitem/create-subitem.mjs | 2 +- .../monday_oauth/actions/create-update/create-update.mjs | 2 +- .../actions/get-column-values/get-column-values.mjs | 4 ++-- .../get-items-by-column-value/get-items-by-column-value.mjs | 4 ++-- .../actions/update-column-values/update-column-values.mjs | 2 +- .../actions/update-item-name/update-item-name.mjs | 2 +- .../sources/column-value-updated/column-value-updated.mjs | 2 +- components/monday_oauth/sources/name-updated/name-updated.mjs | 2 +- components/monday_oauth/sources/new-board/new-board.mjs | 2 +- components/monday_oauth/sources/new-item/new-item.mjs | 2 +- .../sources/new-subitem-update/new-subitem-update.mjs | 2 +- components/monday_oauth/sources/new-subitem/new-subitem.mjs | 2 +- .../subitem-column-value-updated.mjs | 2 +- .../sources/subitem-name-updated/subitem-name-updated.mjs | 2 +- 18 files changed, 20 insertions(+), 20 deletions(-) diff --git a/components/monday_oauth/actions/create-board/create-board.mjs b/components/monday_oauth/actions/create-board/create-board.mjs index 85c8a71babbb1..c8b1692c4e1d8 100644 --- a/components/monday_oauth/actions/create-board/create-board.mjs +++ b/components/monday_oauth/actions/create-board/create-board.mjs @@ -1,5 +1,5 @@ import app from "../../monday_oauth.app.mjs"; -import common from "../../../monday/actions/create-board/create-board.mjs"; +import common from "@pipedream/monday/actions/create-board/create-board.mjs"; import { adjustPropDefinitions } from "../../common/utils.mjs"; diff --git a/components/monday_oauth/actions/create-column/create-column.mjs b/components/monday_oauth/actions/create-column/create-column.mjs index a6726eca49b6e..f4e25d996468c 100644 --- a/components/monday_oauth/actions/create-column/create-column.mjs +++ b/components/monday_oauth/actions/create-column/create-column.mjs @@ -1,5 +1,5 @@ import app from "../../monday_oauth.app.mjs"; -import common from "../../../monday/actions/create-column/create-column.mjs"; +import common from "@pipedream/monday/actions/create-column/create-column.mjs"; import { adjustPropDefinitions } from "../../common/utils.mjs"; diff --git a/components/monday_oauth/actions/create-group/create-group.mjs b/components/monday_oauth/actions/create-group/create-group.mjs index 3f0333ebed62b..fb75b275ad5ba 100644 --- a/components/monday_oauth/actions/create-group/create-group.mjs +++ b/components/monday_oauth/actions/create-group/create-group.mjs @@ -1,5 +1,5 @@ import app from "../../monday_oauth.app.mjs"; -import common from "../../../monday/actions/create-group/create-group.mjs"; +import common from "@pipedream/monday/actions/create-group/create-group.mjs"; import { adjustPropDefinitions } from "../../common/utils.mjs"; diff --git a/components/monday_oauth/actions/create-item/create-item.mjs b/components/monday_oauth/actions/create-item/create-item.mjs index 61f8550673819..26406367c6efd 100644 --- a/components/monday_oauth/actions/create-item/create-item.mjs +++ b/components/monday_oauth/actions/create-item/create-item.mjs @@ -1,5 +1,5 @@ import app from "../../monday_oauth.app.mjs"; -import common from "../../../monday/actions/create-item/create-item.mjs"; +import common from "@pipedream/monday/actions/create-item/create-item.mjs"; import { adjustPropDefinitions } from "../../common/utils.mjs"; diff --git a/components/monday_oauth/actions/create-subitem/create-subitem.mjs b/components/monday_oauth/actions/create-subitem/create-subitem.mjs index 9820ccab9cfbd..c2e1e4b7cae3b 100644 --- a/components/monday_oauth/actions/create-subitem/create-subitem.mjs +++ b/components/monday_oauth/actions/create-subitem/create-subitem.mjs @@ -1,5 +1,5 @@ import app from "../../monday_oauth.app.mjs"; -import common from "../../../monday/actions/create-subitem/create-subitem.mjs"; +import common from "@pipedream/monday/actions/create-subitem/create-subitem.mjs"; import { adjustPropDefinitions } from "../../common/utils.mjs"; diff --git a/components/monday_oauth/actions/create-update/create-update.mjs b/components/monday_oauth/actions/create-update/create-update.mjs index 34f791db428a8..2533a2f5fd958 100644 --- a/components/monday_oauth/actions/create-update/create-update.mjs +++ b/components/monday_oauth/actions/create-update/create-update.mjs @@ -1,5 +1,5 @@ import app from "../../monday_oauth.app.mjs"; -import common from "../../../monday/actions/create-update/create-update.mjs"; +import common from "@pipedream/monday/actions/create-update/create-update.mjs"; import { adjustPropDefinitions } from "../../common/utils.mjs"; diff --git a/components/monday_oauth/actions/get-column-values/get-column-values.mjs b/components/monday_oauth/actions/get-column-values/get-column-values.mjs index d4fe3dd67105d..4b6ca502c99bb 100644 --- a/components/monday_oauth/actions/get-column-values/get-column-values.mjs +++ b/components/monday_oauth/actions/get-column-values/get-column-values.mjs @@ -1,5 +1,5 @@ import app from "../../monday_oauth.app.mjs"; -import common from "../../../monday/actions/get-column-values/get-column-values.mjs"; +import common from "@pipedream/monday/actions/get-column-values/get-column-values.mjs"; import { adjustPropDefinitions } from "../../common/utils.mjs"; @@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, app); export default { ...others, key: "monday_oauth-get-column-values", - version: "0.0.{{ts}}", + version: "0.0.3", name, description, type, diff --git a/components/monday_oauth/actions/get-items-by-column-value/get-items-by-column-value.mjs b/components/monday_oauth/actions/get-items-by-column-value/get-items-by-column-value.mjs index 8f11e20c595da..b0cd786cf74e5 100644 --- a/components/monday_oauth/actions/get-items-by-column-value/get-items-by-column-value.mjs +++ b/components/monday_oauth/actions/get-items-by-column-value/get-items-by-column-value.mjs @@ -1,5 +1,5 @@ import app from "../../monday_oauth.app.mjs"; -import common from "../../../monday/actions/get-items-by-column-value/get-items-by-column-value.mjs"; +import common from "@pipedream/monday/actions/get-items-by-column-value/get-items-by-column-value.mjs"; import { adjustPropDefinitions } from "../../common/utils.mjs"; @@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, app); export default { ...others, key: "monday_oauth-get-items-by-column-value", - version: "0.1.{{ts}}", + version: "0.1.0", name, description, type, diff --git a/components/monday_oauth/actions/update-column-values/update-column-values.mjs b/components/monday_oauth/actions/update-column-values/update-column-values.mjs index 6d5f3973fb09b..33af2d0b6eb97 100644 --- a/components/monday_oauth/actions/update-column-values/update-column-values.mjs +++ b/components/monday_oauth/actions/update-column-values/update-column-values.mjs @@ -1,5 +1,5 @@ import app from "../../monday_oauth.app.mjs"; -import common from "../../../monday/actions/update-column-values/update-column-values.mjs"; +import common from "@pipedream/monday/actions/update-column-values/update-column-values.mjs"; import { adjustPropDefinitions } from "../../common/utils.mjs"; diff --git a/components/monday_oauth/actions/update-item-name/update-item-name.mjs b/components/monday_oauth/actions/update-item-name/update-item-name.mjs index df59a0c6bfcd0..75e0f295ee53d 100644 --- a/components/monday_oauth/actions/update-item-name/update-item-name.mjs +++ b/components/monday_oauth/actions/update-item-name/update-item-name.mjs @@ -1,5 +1,5 @@ import app from "../../monday_oauth.app.mjs"; -import common from "../../../monday/actions/update-item-name/update-item-name.mjs"; +import common from "@pipedream/monday/actions/update-item-name/update-item-name.mjs"; import { adjustPropDefinitions } from "../../common/utils.mjs"; diff --git a/components/monday_oauth/sources/column-value-updated/column-value-updated.mjs b/components/monday_oauth/sources/column-value-updated/column-value-updated.mjs index 71e7e07080fd9..c0da666b6e103 100644 --- a/components/monday_oauth/sources/column-value-updated/column-value-updated.mjs +++ b/components/monday_oauth/sources/column-value-updated/column-value-updated.mjs @@ -1,5 +1,5 @@ import app from "../../monday_oauth.app.mjs"; -import common from "../../../monday/sources/column-value-updated/column-value-updated.mjs"; +import common from "@pipedream/monday/sources/column-value-updated/column-value-updated.mjs"; import { adjustPropDefinitions } from "../../common/utils.mjs"; diff --git a/components/monday_oauth/sources/name-updated/name-updated.mjs b/components/monday_oauth/sources/name-updated/name-updated.mjs index 9ff2f54ff094c..81347b49ef2ee 100644 --- a/components/monday_oauth/sources/name-updated/name-updated.mjs +++ b/components/monday_oauth/sources/name-updated/name-updated.mjs @@ -1,5 +1,5 @@ import app from "../../monday_oauth.app.mjs"; -import common from "../../../monday/sources/name-updated/name-updated.mjs"; +import common from "@pipedream/monday/sources/name-updated/name-updated.mjs"; import { adjustPropDefinitions } from "../../common/utils.mjs"; diff --git a/components/monday_oauth/sources/new-board/new-board.mjs b/components/monday_oauth/sources/new-board/new-board.mjs index 3ff4c855e60d1..e638adcb996b6 100644 --- a/components/monday_oauth/sources/new-board/new-board.mjs +++ b/components/monday_oauth/sources/new-board/new-board.mjs @@ -1,5 +1,5 @@ import app from "../../monday_oauth.app.mjs"; -import common from "../../../monday/sources/new-board/new-board.mjs"; +import common from "@pipedream/monday/sources/new-board/new-board.mjs"; import { adjustPropDefinitions } from "../../common/utils.mjs"; diff --git a/components/monday_oauth/sources/new-item/new-item.mjs b/components/monday_oauth/sources/new-item/new-item.mjs index 229b413a9a5d2..ffab036923101 100644 --- a/components/monday_oauth/sources/new-item/new-item.mjs +++ b/components/monday_oauth/sources/new-item/new-item.mjs @@ -1,5 +1,5 @@ import app from "../../monday_oauth.app.mjs"; -import common from "../../../monday/sources/new-item/new-item.mjs"; +import common from "@pipedream/monday/sources/new-item/new-item.mjs"; import { adjustPropDefinitions } from "../../common/utils.mjs"; diff --git a/components/monday_oauth/sources/new-subitem-update/new-subitem-update.mjs b/components/monday_oauth/sources/new-subitem-update/new-subitem-update.mjs index 151cae6bef683..c344b0f024bed 100644 --- a/components/monday_oauth/sources/new-subitem-update/new-subitem-update.mjs +++ b/components/monday_oauth/sources/new-subitem-update/new-subitem-update.mjs @@ -1,5 +1,5 @@ import app from "../../monday_oauth.app.mjs"; -import common from "../../../monday/sources/new-subitem-update/new-subitem-update.mjs"; +import common from "@pipedream/monday/sources/new-subitem-update/new-subitem-update.mjs"; import { adjustPropDefinitions } from "../../common/utils.mjs"; diff --git a/components/monday_oauth/sources/new-subitem/new-subitem.mjs b/components/monday_oauth/sources/new-subitem/new-subitem.mjs index 203be5186b369..706c7ac12f85b 100644 --- a/components/monday_oauth/sources/new-subitem/new-subitem.mjs +++ b/components/monday_oauth/sources/new-subitem/new-subitem.mjs @@ -1,5 +1,5 @@ import app from "../../monday_oauth.app.mjs"; -import common from "../../../monday/sources/new-subitem/new-subitem.mjs"; +import common from "@pipedream/monday/sources/new-subitem/new-subitem.mjs"; import { adjustPropDefinitions } from "../../common/utils.mjs"; diff --git a/components/monday_oauth/sources/subitem-column-value-updated/subitem-column-value-updated.mjs b/components/monday_oauth/sources/subitem-column-value-updated/subitem-column-value-updated.mjs index 9e34a7d09f81b..3bcaa1c34e393 100644 --- a/components/monday_oauth/sources/subitem-column-value-updated/subitem-column-value-updated.mjs +++ b/components/monday_oauth/sources/subitem-column-value-updated/subitem-column-value-updated.mjs @@ -1,5 +1,5 @@ import app from "../../monday_oauth.app.mjs"; -import common from "../../../monday/sources/subitem-column-value-updated/subitem-column-value-updated.mjs"; +import common from "@pipedream/monday/sources/subitem-column-value-updated/subitem-column-value-updated.mjs"; import { adjustPropDefinitions } from "../../common/utils.mjs"; diff --git a/components/monday_oauth/sources/subitem-name-updated/subitem-name-updated.mjs b/components/monday_oauth/sources/subitem-name-updated/subitem-name-updated.mjs index fa1ddd23a9e61..b8b896698bb93 100644 --- a/components/monday_oauth/sources/subitem-name-updated/subitem-name-updated.mjs +++ b/components/monday_oauth/sources/subitem-name-updated/subitem-name-updated.mjs @@ -1,5 +1,5 @@ import app from "../../monday_oauth.app.mjs"; -import common from "../../../monday/sources/subitem-name-updated/subitem-name-updated.mjs"; +import common from "@pipedream/monday/sources/subitem-name-updated/subitem-name-updated.mjs"; import { adjustPropDefinitions } from "../../common/utils.mjs"; From 41c918f289be878421a5e03fb8b532823dea0969 Mon Sep 17 00:00:00 2001 From: GTFalcao Date: Fri, 14 Feb 2025 10:24:47 -0300 Subject: [PATCH 20/21] Version and import adjustments --- components/monday/actions/common/common-create-item.mjs | 1 - components/monday_oauth/monday_oauth.app.mjs | 2 +- components/monday_oauth/package.json | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/components/monday/actions/common/common-create-item.mjs b/components/monday/actions/common/common-create-item.mjs index 3076095d332ff..ae99103a97049 100644 --- a/components/monday/actions/common/common-create-item.mjs +++ b/components/monday/actions/common/common-create-item.mjs @@ -26,7 +26,6 @@ export default { const columnData = await this.monday.listColumns({ boardId: +this.boardId, }); - console.log(columnData); for (const column of this.columns) { let description, options; options = getColumnOptions(columnData, column); diff --git a/components/monday_oauth/monday_oauth.app.mjs b/components/monday_oauth/monday_oauth.app.mjs index 94eb7016c1b64..64c60d27825c2 100644 --- a/components/monday_oauth/monday_oauth.app.mjs +++ b/components/monday_oauth/monday_oauth.app.mjs @@ -1,4 +1,4 @@ -import common from "../monday/monday.app.mjs"; +import common from "@pipedream/monday"; import mondaySdk from "monday-sdk-js"; export default { diff --git a/components/monday_oauth/package.json b/components/monday_oauth/package.json index a39a681e1f8c6..d147722a3e147 100644 --- a/components/monday_oauth/package.json +++ b/components/monday_oauth/package.json @@ -13,7 +13,7 @@ "access": "public" }, "dependencies": { - "@pipedream/monday": "^0.6.3", + "@pipedream/monday": "^0.7.0", "monday-sdk-js": "^0.5.5" } } From 881d32655047be123b56afac51ca310c210d1b1c Mon Sep 17 00:00:00 2001 From: GTFalcao Date: Fri, 14 Feb 2025 15:20:21 -0300 Subject: [PATCH 21/21] Reverting Monday OAuth changes --- components/monday_oauth/actions/create-board/create-board.mjs | 2 +- .../monday_oauth/actions/create-column/create-column.mjs | 2 +- components/monday_oauth/actions/create-group/create-group.mjs | 2 +- components/monday_oauth/actions/create-item/create-item.mjs | 2 +- .../monday_oauth/actions/create-subitem/create-subitem.mjs | 2 +- .../monday_oauth/actions/create-update/create-update.mjs | 2 +- .../actions/get-column-values/get-column-values.mjs | 2 +- .../get-items-by-column-value/get-items-by-column-value.mjs | 2 +- .../actions/update-column-values/update-column-values.mjs | 2 +- .../actions/update-item-name/update-item-name.mjs | 2 +- components/monday_oauth/package.json | 4 ++-- .../sources/column-value-updated/column-value-updated.mjs | 2 +- components/monday_oauth/sources/name-updated/name-updated.mjs | 2 +- components/monday_oauth/sources/new-board/new-board.mjs | 2 +- components/monday_oauth/sources/new-item/new-item.mjs | 2 +- .../sources/new-subitem-update/new-subitem-update.mjs | 2 +- components/monday_oauth/sources/new-subitem/new-subitem.mjs | 2 +- .../subitem-column-value-updated.mjs | 2 +- .../sources/subitem-name-updated/subitem-name-updated.mjs | 2 +- 19 files changed, 20 insertions(+), 20 deletions(-) diff --git a/components/monday_oauth/actions/create-board/create-board.mjs b/components/monday_oauth/actions/create-board/create-board.mjs index c8b1692c4e1d8..1d4746fa86914 100644 --- a/components/monday_oauth/actions/create-board/create-board.mjs +++ b/components/monday_oauth/actions/create-board/create-board.mjs @@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, app); export default { ...others, key: "monday_oauth-create-board", - version: "0.0.3", + version: "0.0.2", name, description, type, diff --git a/components/monday_oauth/actions/create-column/create-column.mjs b/components/monday_oauth/actions/create-column/create-column.mjs index f4e25d996468c..93c962fa553d4 100644 --- a/components/monday_oauth/actions/create-column/create-column.mjs +++ b/components/monday_oauth/actions/create-column/create-column.mjs @@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, app); export default { ...others, key: "monday_oauth-create-column", - version: "0.1.0", + version: "0.0.2", name, description, type, diff --git a/components/monday_oauth/actions/create-group/create-group.mjs b/components/monday_oauth/actions/create-group/create-group.mjs index fb75b275ad5ba..94f854523905d 100644 --- a/components/monday_oauth/actions/create-group/create-group.mjs +++ b/components/monday_oauth/actions/create-group/create-group.mjs @@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, app); export default { ...others, key: "monday_oauth-create-group", - version: "0.0.3", + version: "0.0.2", name, description, type, diff --git a/components/monday_oauth/actions/create-item/create-item.mjs b/components/monday_oauth/actions/create-item/create-item.mjs index 26406367c6efd..5bb331b889fc0 100644 --- a/components/monday_oauth/actions/create-item/create-item.mjs +++ b/components/monday_oauth/actions/create-item/create-item.mjs @@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, app); export default { ...others, key: "monday_oauth-create-item", - version: "0.1.0", + version: "0.0.2", name, description, type, diff --git a/components/monday_oauth/actions/create-subitem/create-subitem.mjs b/components/monday_oauth/actions/create-subitem/create-subitem.mjs index c2e1e4b7cae3b..6cfed8f5f74d7 100644 --- a/components/monday_oauth/actions/create-subitem/create-subitem.mjs +++ b/components/monday_oauth/actions/create-subitem/create-subitem.mjs @@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, app); export default { ...others, key: "monday_oauth-create-subitem", - version: "0.1.0", + version: "0.0.2", name, description, type, diff --git a/components/monday_oauth/actions/create-update/create-update.mjs b/components/monday_oauth/actions/create-update/create-update.mjs index 2533a2f5fd958..10d8886aa4943 100644 --- a/components/monday_oauth/actions/create-update/create-update.mjs +++ b/components/monday_oauth/actions/create-update/create-update.mjs @@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, app); export default { ...others, key: "monday_oauth-create-update", - version: "0.0.3", + version: "0.0.2", name, description, type, diff --git a/components/monday_oauth/actions/get-column-values/get-column-values.mjs b/components/monday_oauth/actions/get-column-values/get-column-values.mjs index 4b6ca502c99bb..6226e5a96a4d4 100644 --- a/components/monday_oauth/actions/get-column-values/get-column-values.mjs +++ b/components/monday_oauth/actions/get-column-values/get-column-values.mjs @@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, app); export default { ...others, key: "monday_oauth-get-column-values", - version: "0.0.3", + version: "0.0.2", name, description, type, diff --git a/components/monday_oauth/actions/get-items-by-column-value/get-items-by-column-value.mjs b/components/monday_oauth/actions/get-items-by-column-value/get-items-by-column-value.mjs index b0cd786cf74e5..0b663a476a2fe 100644 --- a/components/monday_oauth/actions/get-items-by-column-value/get-items-by-column-value.mjs +++ b/components/monday_oauth/actions/get-items-by-column-value/get-items-by-column-value.mjs @@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, app); export default { ...others, key: "monday_oauth-get-items-by-column-value", - version: "0.1.0", + version: "0.0.2", name, description, type, diff --git a/components/monday_oauth/actions/update-column-values/update-column-values.mjs b/components/monday_oauth/actions/update-column-values/update-column-values.mjs index 33af2d0b6eb97..79ff107f2bb77 100644 --- a/components/monday_oauth/actions/update-column-values/update-column-values.mjs +++ b/components/monday_oauth/actions/update-column-values/update-column-values.mjs @@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, app); export default { ...others, key: "monday_oauth-update-column-values", - version: "0.1.0", + version: "0.0.2", name, description, type, diff --git a/components/monday_oauth/actions/update-item-name/update-item-name.mjs b/components/monday_oauth/actions/update-item-name/update-item-name.mjs index 75e0f295ee53d..2fbd388f93d7e 100644 --- a/components/monday_oauth/actions/update-item-name/update-item-name.mjs +++ b/components/monday_oauth/actions/update-item-name/update-item-name.mjs @@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, app); export default { ...others, key: "monday_oauth-update-item-name", - version: "0.0.3", + version: "0.0.2", name, description, type, diff --git a/components/monday_oauth/package.json b/components/monday_oauth/package.json index d147722a3e147..8d33cbd5b9f97 100644 --- a/components/monday_oauth/package.json +++ b/components/monday_oauth/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/monday_oauth", - "version": "0.2.0", + "version": "0.1.1", "description": "Pipedream monday.com (OAuth) Components", "main": "monday_oauth.app.mjs", "keywords": [ @@ -13,7 +13,7 @@ "access": "public" }, "dependencies": { - "@pipedream/monday": "^0.7.0", + "@pipedream/monday": "^0.6.3", "monday-sdk-js": "^0.5.5" } } diff --git a/components/monday_oauth/sources/column-value-updated/column-value-updated.mjs b/components/monday_oauth/sources/column-value-updated/column-value-updated.mjs index c0da666b6e103..c6e0010d1fba6 100644 --- a/components/monday_oauth/sources/column-value-updated/column-value-updated.mjs +++ b/components/monday_oauth/sources/column-value-updated/column-value-updated.mjs @@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, app); export default { ...others, key: "monday_oauth-column-value-updated", - version: "0.0.3", + version: "0.0.2", name, description, type, diff --git a/components/monday_oauth/sources/name-updated/name-updated.mjs b/components/monday_oauth/sources/name-updated/name-updated.mjs index 81347b49ef2ee..5d5c0e3328fd7 100644 --- a/components/monday_oauth/sources/name-updated/name-updated.mjs +++ b/components/monday_oauth/sources/name-updated/name-updated.mjs @@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, app); export default { ...others, key: "monday_oauth-name-updated", - version: "0.0.3", + version: "0.0.2", name, description, type, diff --git a/components/monday_oauth/sources/new-board/new-board.mjs b/components/monday_oauth/sources/new-board/new-board.mjs index e638adcb996b6..8a1c72201afe8 100644 --- a/components/monday_oauth/sources/new-board/new-board.mjs +++ b/components/monday_oauth/sources/new-board/new-board.mjs @@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, app); export default { ...others, key: "monday_oauth-new-board", - version: "0.0.3", + version: "0.0.2", name, description, type, diff --git a/components/monday_oauth/sources/new-item/new-item.mjs b/components/monday_oauth/sources/new-item/new-item.mjs index ffab036923101..2052ec37e94c1 100644 --- a/components/monday_oauth/sources/new-item/new-item.mjs +++ b/components/monday_oauth/sources/new-item/new-item.mjs @@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, app); export default { ...others, key: "monday_oauth-new-item", - version: "0.0.3", + version: "0.0.2", name, description, type, diff --git a/components/monday_oauth/sources/new-subitem-update/new-subitem-update.mjs b/components/monday_oauth/sources/new-subitem-update/new-subitem-update.mjs index c344b0f024bed..f713a05ea26dc 100644 --- a/components/monday_oauth/sources/new-subitem-update/new-subitem-update.mjs +++ b/components/monday_oauth/sources/new-subitem-update/new-subitem-update.mjs @@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, app); export default { ...others, key: "monday_oauth-new-subitem-update", - version: "0.0.3", + version: "0.0.2", name, description, type, diff --git a/components/monday_oauth/sources/new-subitem/new-subitem.mjs b/components/monday_oauth/sources/new-subitem/new-subitem.mjs index 706c7ac12f85b..e76b60b6bba6d 100644 --- a/components/monday_oauth/sources/new-subitem/new-subitem.mjs +++ b/components/monday_oauth/sources/new-subitem/new-subitem.mjs @@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, app); export default { ...others, key: "monday_oauth-new-subitem", - version: "0.0.3", + version: "0.0.2", name, description, type, diff --git a/components/monday_oauth/sources/subitem-column-value-updated/subitem-column-value-updated.mjs b/components/monday_oauth/sources/subitem-column-value-updated/subitem-column-value-updated.mjs index 3bcaa1c34e393..73e05101f8b59 100644 --- a/components/monday_oauth/sources/subitem-column-value-updated/subitem-column-value-updated.mjs +++ b/components/monday_oauth/sources/subitem-column-value-updated/subitem-column-value-updated.mjs @@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, app); export default { ...others, key: "monday_oauth-subitem-column-value-updated", - version: "0.0.3", + version: "0.0.2", name, description, type, diff --git a/components/monday_oauth/sources/subitem-name-updated/subitem-name-updated.mjs b/components/monday_oauth/sources/subitem-name-updated/subitem-name-updated.mjs index b8b896698bb93..ea0c54e264b97 100644 --- a/components/monday_oauth/sources/subitem-name-updated/subitem-name-updated.mjs +++ b/components/monday_oauth/sources/subitem-name-updated/subitem-name-updated.mjs @@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, app); export default { ...others, key: "monday_oauth-subitem-name-updated", - version: "0.0.3", + version: "0.0.2", name, description, type,