Skip to content

Commit 2c4691b

Browse files
adding suggested annotations to slack actions
1 parent 214e592 commit 2c4691b

File tree

33 files changed

+225
-33
lines changed

33 files changed

+225
-33
lines changed

components/slack/actions/add-emoji-reaction/add-emoji-reaction.mjs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,14 @@ export default {
44
key: "slack-add-emoji-reaction",
55
name: "Add Emoji Reaction",
66
description: "Add an emoji reaction to a message. [See the documentation](https://api.slack.com/methods/reactions.add)",
7-
version: "0.0.15",
7+
version: "0.0.16",
88
type: "action",
9+
annotations: {
10+
destructiveHint: false,
11+
idempotentHint: false,
12+
openWorldHint: true,
13+
readOnlyHint: false,
14+
},
915
props: {
1016
slack,
1117
conversation: {

components/slack/actions/approve-workflow/approve-workflow.mjs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,14 @@ export default {
55
key: "slack-approve-workflow",
66
name: "Approve Workflow",
77
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.4",
8+
version: "0.0.5",
99
type: "action",
10+
annotations: {
11+
destructiveHint: false,
12+
idempotentHint: true,
13+
openWorldHint: true,
14+
readOnlyHint: false,
15+
},
1016
props: {
1117
slack,
1218
channelType: {

components/slack/actions/archive-channel/archive-channel.mjs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,14 @@ export default {
55
key: "slack-archive-channel",
66
name: "Archive Channel",
77
description: "Archive a channel. [See the documentation](https://api.slack.com/methods/conversations.archive)",
8-
version: "0.0.23",
8+
version: "0.0.24",
99
type: "action",
10+
annotations: {
11+
destructiveHint: true,
12+
idempotentHint: true,
13+
openWorldHint: true,
14+
readOnlyHint: false,
15+
},
1016
props: {
1117
slack,
1218
conversation: {

components/slack/actions/create-channel/create-channel.mjs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,14 @@ export default {
44
key: "slack-create-channel",
55
name: "Create a Channel",
66
description: "Create a new channel. [See the documentation](https://api.slack.com/methods/conversations.create)",
7-
version: "0.0.24",
7+
version: "0.0.25",
88
type: "action",
9+
annotations: {
10+
destructiveHint: false,
11+
idempotentHint: false,
12+
openWorldHint: true,
13+
readOnlyHint: false,
14+
},
915
props: {
1016
slack,
1117
channelName: {

components/slack/actions/create-reminder/create-reminder.mjs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,14 @@ export default {
44
key: "slack-create-reminder",
55
name: "Create Reminder",
66
description: "Create a reminder. [See the documentation](https://api.slack.com/methods/reminders.add)",
7-
version: "0.0.24",
7+
version: "0.0.25",
88
type: "action",
9+
annotations: {
10+
destructiveHint: false,
11+
idempotentHint: false,
12+
openWorldHint: true,
13+
readOnlyHint: false,
14+
},
915
props: {
1016
slack,
1117
text: {

components/slack/actions/delete-file/delete-file.mjs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,14 @@ export default {
44
key: "slack-delete-file",
55
name: "Delete File",
66
description: "Delete a file. [See the documentation](https://api.slack.com/methods/files.delete)",
7-
version: "0.0.23",
7+
version: "0.0.24",
88
type: "action",
9+
annotations: {
10+
destructiveHint: true,
11+
idempotentHint: true,
12+
openWorldHint: true,
13+
readOnlyHint: false,
14+
},
915
props: {
1016
slack,
1117
conversation: {

components/slack/actions/delete-message/delete-message.mjs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,14 @@ export default {
44
key: "slack-delete-message",
55
name: "Delete Message",
66
description: "Delete a message. [See the documentation](https://api.slack.com/methods/chat.delete)",
7-
version: "0.0.23",
7+
version: "0.0.24",
88
type: "action",
9+
annotations: {
10+
destructiveHint: true,
11+
idempotentHint: true,
12+
openWorldHint: true,
13+
readOnlyHint: false,
14+
},
915
props: {
1016
slack,
1117
conversation: {

components/slack/actions/find-message/find-message.mjs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,14 @@ export default {
44
key: "slack-find-message",
55
name: "Find Message",
66
description: "Find a Slack message. [See the documentation](https://api.slack.com/methods/search.messages)",
7-
version: "0.0.25",
7+
version: "0.0.26",
88
type: "action",
9+
annotations: {
10+
destructiveHint: false,
11+
idempotentHint: false,
12+
openWorldHint: true,
13+
readOnlyHint: false,
14+
},
915
props: {
1016
slack,
1117
query: {

components/slack/actions/find-user-by-email/find-user-by-email.mjs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,14 @@ export default {
44
key: "slack-find-user-by-email",
55
name: "Find User by Email",
66
description: "Find a user by matching against their email. [See the documentation](https://api.slack.com/methods/users.lookupByEmail)",
7-
version: "0.0.23",
7+
version: "0.0.24",
88
type: "action",
9+
annotations: {
10+
destructiveHint: false,
11+
idempotentHint: true,
12+
openWorldHint: true,
13+
readOnlyHint: true,
14+
},
915
props: {
1016
slack,
1117
email: {

components/slack/actions/get-file/get-file.mjs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,14 @@ export default {
44
key: "slack-get-file",
55
name: "Get File",
66
description: "Return information about a file. [See the documentation](https://api.slack.com/methods/files.info)",
7-
version: "0.0.23",
7+
version: "0.0.24",
88
type: "action",
9+
annotations: {
10+
destructiveHint: false,
11+
idempotentHint: true,
12+
openWorldHint: true,
13+
readOnlyHint: true,
14+
},
915
props: {
1016
slack,
1117
conversation: {

0 commit comments

Comments
 (0)