@pipedream/monday 0.6.1 → 0.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import monday from "../../monday.app.mjs";
|
|
2
|
+
import { ConfigurationError } from "@pipedream/platform";
|
|
2
3
|
|
|
3
4
|
export default {
|
|
4
5
|
props: {
|
|
@@ -15,6 +16,9 @@ export default {
|
|
|
15
16
|
const columns = await this.monday.listColumns({
|
|
16
17
|
boardId: +boardId,
|
|
17
18
|
});
|
|
19
|
+
if (!columns) {
|
|
20
|
+
throw new ConfigurationError(`No columns found for board ${boardId}`);
|
|
21
|
+
}
|
|
18
22
|
return columns.filter(({ id }) => id !== "name");
|
|
19
23
|
},
|
|
20
24
|
formatColumnValues(items) {
|
|
@@ -5,7 +5,7 @@ export default {
|
|
|
5
5
|
key: "monday-get-column-values",
|
|
6
6
|
name: "Get Column Values",
|
|
7
7
|
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)",
|
|
8
|
-
version: "0.0.
|
|
8
|
+
version: "0.0.5",
|
|
9
9
|
type: "action",
|
|
10
10
|
props: {
|
|
11
11
|
...common.props,
|
|
@@ -5,7 +5,7 @@ export default {
|
|
|
5
5
|
key: "monday-get-items-by-column-value",
|
|
6
6
|
name: "Get Items By Column Value",
|
|
7
7
|
description: "Searches a column for items matching a value. [See the documentation](https://developer.monday.com/api-reference/docs/items-page-by-column-values)",
|
|
8
|
-
version: "0.0.
|
|
8
|
+
version: "0.0.5",
|
|
9
9
|
type: "action",
|
|
10
10
|
props: {
|
|
11
11
|
...common.props,
|
|
@@ -8,7 +8,7 @@ export default {
|
|
|
8
8
|
key: "monday-update-column-values",
|
|
9
9
|
name: "Update Column Values",
|
|
10
10
|
description: "Update multiple column values of an item. [See the documentation](https://developer.monday.com/api-reference/docs/columns#change-multiple-column-values)",
|
|
11
|
-
version: "0.0.
|
|
11
|
+
version: "0.0.5",
|
|
12
12
|
type: "action",
|
|
13
13
|
props: {
|
|
14
14
|
...common.props,
|