Skip to content

Commit 0b2eb83

Browse files
authored
Merging pull request #18603
* Enhance error handling in update-column-values action by adding ConfigurationError for response errors * Update version numbers for Monday components and actions to reflect recent changes. Bump package version to 0.8.2 and increment action versions across various components, ensuring consistency and alignment with the latest updates.
1 parent 4230b9e commit 0b2eb83

File tree

21 files changed

+29
-23
lines changed

21 files changed

+29
-23
lines changed

components/monday/actions/create-board/create-board.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default {
66
name: "Create Board",
77
description: "Creates a new board. [See the documentation](https://developer.monday.com/api-reference/reference/boards#create-a-board)",
88
type: "action",
9-
version: "0.0.9",
9+
version: "0.0.10",
1010
annotations: {
1111
destructiveHint: false,
1212
openWorldHint: true,

components/monday/actions/create-column/create-column.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default {
77
name: "Create Column",
88
description: "Creates a column. [See the documentation](https://developer.monday.com/api-reference/reference/columns#create-a-column)",
99
type: "action",
10-
version: "0.1.1",
10+
version: "0.1.2",
1111
annotations: {
1212
destructiveHint: false,
1313
openWorldHint: true,

components/monday/actions/create-group/create-group.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default {
55
name: "Create Group",
66
description: "Creates a new group in a specific board. [See the documentation](https://developer.monday.com/api-reference/reference/groups#create-a-group)",
77
type: "action",
8-
version: "0.0.10",
8+
version: "0.0.11",
99
annotations: {
1010
destructiveHint: false,
1111
openWorldHint: true,

components/monday/actions/create-item/create-item.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default {
88
name: "Create Item",
99
description: "Creates an item. [See the documentation](https://developer.monday.com/api-reference/reference/items#create-an-item)",
1010
type: "action",
11-
version: "0.1.1",
11+
version: "0.1.2",
1212
annotations: {
1313
destructiveHint: false,
1414
openWorldHint: true,

components/monday/actions/create-subitem/create-subitem.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default {
88
name: "Create Subitem",
99
description: "Creates a subitem. [See the documentation](https://developer.monday.com/api-reference/reference/subitems#create-a-subitem)",
1010
type: "action",
11-
version: "0.1.1",
11+
version: "0.1.2",
1212
annotations: {
1313
destructiveHint: false,
1414
openWorldHint: true,

components/monday/actions/create-update/create-update.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default {
66
name: "Create an Update",
77
description: "Creates a new update. [See the documentation](https://developer.monday.com/api-reference/reference/updates#create-an-update)",
88
type: "action",
9-
version: "0.0.12",
9+
version: "0.0.13",
1010
annotations: {
1111
destructiveHint: true,
1212
openWorldHint: true,

components/monday/actions/get-column-values/get-column-values.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default {
55
key: "monday-get-column-values",
66
name: "Get Column Values",
77
description: "Return values of specific column(s) for a board item. [See the documentation](https://developer.monday.com/api-reference/reference/column-values-v2)",
8-
version: "0.0.7",
8+
version: "0.0.8",
99
annotations: {
1010
destructiveHint: false,
1111
openWorldHint: true,

components/monday/actions/get-items-by-column-value/get-items-by-column-value.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default {
66
key: "monday-get-items-by-column-value",
77
name: "Get Items By Column Value",
88
description: "Searches a column for items matching a value. [See the documentation](https://developer.monday.com/api-reference/reference/items-page-by-column-values)",
9-
version: "0.1.1",
9+
version: "0.1.2",
1010
annotations: {
1111
destructiveHint: false,
1212
openWorldHint: true,

components/monday/actions/update-column-values/update-column-values.mjs

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
1-
import common from "../common/column-values.mjs";
21
import {
3-
axios, getFileStreamAndMetadata,
2+
axios,
3+
ConfigurationError,
4+
getFileStreamAndMetadata,
45
} from "@pipedream/platform";
56
import FormData from "form-data";
67
import { getColumnOptions } from "../../common/utils.mjs";
8+
import common from "../common/column-values.mjs";
79

810
export default {
911
...common,
1012
key: "monday-update-column-values",
1113
name: "Update Column Values",
1214
description: "Update multiple column values of an item. [See the documentation](https://developer.monday.com/api-reference/reference/columns#change-multiple-column-values)",
13-
version: "0.2.2",
15+
version: "0.2.3",
1416
annotations: {
1517
destructiveHint: true,
1618
openWorldHint: true,
@@ -121,6 +123,10 @@ export default {
121123
columnValues: JSON.stringify(columnValues),
122124
});
123125

126+
if (response.errors) {
127+
throw new ConfigurationError(JSON.stringify(response.errors[0]));
128+
}
129+
124130
if (response.error_message) {
125131
throw new Error(`${response.error_message} ${JSON.stringify(response.error_data)}`);
126132
}

components/monday/actions/update-item-name/update-item-name.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default {
55
name: "Update Item Name",
66
description: "Update an item's name. [See the documentation](https://developer.monday.com/api-reference/reference/columns#change-multiple-column-values)",
77
type: "action",
8-
version: "0.0.11",
8+
version: "0.0.12",
99
annotations: {
1010
destructiveHint: true,
1111
openWorldHint: true,

0 commit comments

Comments
 (0)