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

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion components/monday/actions/create-board/create-board.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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.9",
version: "0.0.10",
annotations: {
destructiveHint: false,
openWorldHint: true,
Expand Down
2 changes: 1 addition & 1 deletion components/monday/actions/create-column/create-column.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,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.1.1",
version: "0.1.2",
annotations: {
destructiveHint: false,
openWorldHint: true,
Expand Down
2 changes: 1 addition & 1 deletion components/monday/actions/create-group/create-group.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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.10",
version: "0.0.11",
annotations: {
destructiveHint: false,
openWorldHint: true,
Expand Down
2 changes: 1 addition & 1 deletion components/monday/actions/create-item/create-item.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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.1",
version: "0.1.2",
annotations: {
destructiveHint: false,
openWorldHint: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.1.1",
version: "0.1.2",
annotations: {
destructiveHint: false,
openWorldHint: true,
Expand Down
2 changes: 1 addition & 1 deletion components/monday/actions/create-update/create-update.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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.12",
version: "0.0.13",
annotations: {
destructiveHint: true,
openWorldHint: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default {
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/reference/column-values-v2)",
version: "0.0.7",
version: "0.0.8",
annotations: {
destructiveHint: false,
openWorldHint: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,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.1.1",
version: "0.1.2",
annotations: {
destructiveHint: false,
openWorldHint: true,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
import common from "../common/column-values.mjs";
import {
axios, getFileStreamAndMetadata,
axios,
ConfigurationError,
getFileStreamAndMetadata,
} from "@pipedream/platform";
import FormData from "form-data";
import { getColumnOptions } from "../../common/utils.mjs";
import common from "../common/column-values.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.2.2",
version: "0.2.3",
annotations: {
destructiveHint: true,
openWorldHint: true,
Expand All @@ -19,12 +21,12 @@
type: "action",
props: {
...common.props,
updateInfoBox: {

Check warning on line 24 in components/monday/actions/update-column-values/update-column-values.mjs

View workflow job for this annotation

GitHub Actions / Lint Code Base

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

Check warning on line 24 in components/monday/actions/update-column-values/update-column-values.mjs

View workflow job for this annotation

GitHub Actions / Lint Code Base

Component prop updateInfoBox must have a label. See https://pipedream.com/docs/components/guidelines/#props
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",
},
boardId: {

Check warning on line 29 in components/monday/actions/update-column-values/update-column-values.mjs

View workflow job for this annotation

GitHub Actions / Lint Code Base

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

Check warning on line 29 in components/monday/actions/update-column-values/update-column-values.mjs

View workflow job for this annotation

GitHub Actions / Lint Code Base

Component prop boardId must have a label. See https://pipedream.com/docs/components/guidelines/#props
...common.props.boardId,
reloadProps: true,
},
Expand Down Expand Up @@ -121,6 +123,10 @@
columnValues: JSON.stringify(columnValues),
});

if (response.errors) {
throw new ConfigurationError(JSON.stringify(response.errors[0]));
}

if (response.error_message) {
throw new Error(`${response.error_message} ${JSON.stringify(response.error_data)}`);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.11",
version: "0.0.12",
annotations: {
destructiveHint: true,
openWorldHint: true,
Expand Down
2 changes: 1 addition & 1 deletion components/monday/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pipedream/monday",
"version": "0.8.1",
"version": "0.8.2",
"description": "Pipedream Monday Components",
"main": "monday.app.mjs",
"keywords": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
export default {
...common,
key: "monday-column-value-updated",
name: "Column Value Updated (Instant)",

Check warning on line 6 in components/monday/sources/column-value-updated/column-value-updated.mjs

View workflow job for this annotation

GitHub Actions / Lint Code Base

Source names should start with "New". See https://pipedream.com/docs/components/guidelines/#source-name
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,
Expand All @@ -16,7 +16,7 @@
},
props: {
...common.props,
alertBox: {

Check warning on line 19 in components/monday/sources/column-value-updated/column-value-updated.mjs

View workflow job for this annotation

GitHub Actions / Lint Code Base

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

Check warning on line 19 in components/monday/sources/column-value-updated/column-value-updated.mjs

View workflow job for this annotation

GitHub Actions / Lint Code Base

Component prop alertBox must have a label. See https://pipedream.com/docs/components/guidelines/#props
type: "alert",
alertType: "warning",
content: "For changes to `Name`, use the **Name Updated** trigger",
Expand Down
2 changes: 1 addition & 1 deletion components/monday/sources/name-updated/name-updated.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
export default {
...common,
key: "monday-name-updated",
name: "Name Updated (Instant)",

Check warning on line 6 in components/monday/sources/name-updated/name-updated.mjs

View workflow job for this annotation

GitHub Actions / Lint Code Base

Source names should start with "New". See https://pipedream.com/docs/components/guidelines/#source-name
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,
Expand Down
2 changes: 1 addition & 1 deletion components/monday/sources/new-board/new-board.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion components/monday/sources/new-item/new-item.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
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,
alertBox: {

Check warning on line 13 in components/monday/sources/new-subitem-update/new-subitem-update.mjs

View workflow job for this annotation

GitHub Actions / Lint Code Base

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

Check warning on line 13 in components/monday/sources/new-subitem-update/new-subitem-update.mjs

View workflow job for this annotation

GitHub Actions / Lint Code Base

Component prop alertBox must have a label. See https://pipedream.com/docs/components/guidelines/#props
type: "alert",
alertType: "warning",
content: "To create this trigger, you need to have at least one subitem previously created on your board",
Expand Down
2 changes: 1 addition & 1 deletion components/monday/sources/new-subitem/new-subitem.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion components/monday/sources/new-user/new-user.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Loading