@pipedream/slack 0.9.0 → 0.9.1
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.
|
@@ -4,8 +4,8 @@ import constants from "../../common/constants.mjs";
|
|
|
4
4
|
export default {
|
|
5
5
|
key: "slack-approve-workflow",
|
|
6
6
|
name: "Approve Workflow",
|
|
7
|
-
description: "Suspend the workflow until approved by a
|
|
8
|
-
version: "0.0.
|
|
7
|
+
description: "Suspend the workflow until approved by a Slack message. [See the documentation](https://pipedream.com/docs/code/nodejs/rerun#flowsuspend)",
|
|
8
|
+
version: "0.0.2",
|
|
9
9
|
type: "action",
|
|
10
10
|
props: {
|
|
11
11
|
slack,
|
|
@@ -36,7 +36,7 @@ export default {
|
|
|
36
36
|
message: {
|
|
37
37
|
type: "string",
|
|
38
38
|
label: "Message",
|
|
39
|
-
description: "
|
|
39
|
+
description: "Text to include with the Approve and Cancel Buttons",
|
|
40
40
|
},
|
|
41
41
|
},
|
|
42
42
|
async run({ $ }) {
|
|
@@ -63,6 +63,7 @@ export default {
|
|
|
63
63
|
type: "plain_text",
|
|
64
64
|
text: "Approve",
|
|
65
65
|
},
|
|
66
|
+
style: "primary",
|
|
66
67
|
url: resume_url,
|
|
67
68
|
},
|
|
68
69
|
{
|
|
@@ -71,6 +72,7 @@ export default {
|
|
|
71
72
|
type: "plain_text",
|
|
72
73
|
text: "Cancel",
|
|
73
74
|
},
|
|
75
|
+
style: "danger",
|
|
74
76
|
url: cancel_url,
|
|
75
77
|
},
|
|
76
78
|
],
|