refactor: Add action to all operations on all nodes (#3655)

* 👕 Add `action` to `INodePropertyOptions`

* 👕 Apply `node-param-operation-option-without-action`

* ✏️ Fix add/remove phrasing

* ✏️ Fix email template phrasing

* ✏️ Fix add/remove phrasing

* ✏️ Fix custom fields phrasing

* ✏️ Fix job report phrasing

* ✏️ Fix query phrasing

* ✏️ Various phrasing fixes

* ✏️ Fix final phrasings

* ✏️ Remove `conversation`

* ✏️ Fix plural
This commit is contained in:
Iván Ovejero
2022-07-10 22:50:51 +02:00
committed by GitHub
parent d5d4dd3845
commit 6f95121fac
648 changed files with 2651 additions and 3 deletions

View File

@@ -20,86 +20,103 @@ export const channelOperations: INodeProperties[] = [
name: 'Archive',
value: 'archive',
description: 'Archives a conversation',
action: 'Archive a channel',
},
{
name: 'Close',
value: 'close',
description: 'Closes a direct message or multi-person direct message',
action: 'Close a channel',
},
{
name: 'Create',
value: 'create',
description: 'Initiates a public or private channel-based conversation',
action: 'Create a channel',
},
{
name: 'Get',
value: 'get',
description: 'Get information about a channel',
action: 'Get a channel',
},
{
name: 'Get All',
value: 'getAll',
description: 'Get all channels in a Slack team',
action: 'Get all channels',
},
{
name: 'History',
value: 'history',
description: 'Get a conversation\'s history of messages and events',
action: 'Get the history of a channel',
},
{
name: 'Invite',
value: 'invite',
description: 'Invite a user to a channel',
action: 'Invite a user to a channel',
},
{
name: 'Join',
value: 'join',
description: 'Joins an existing conversation',
action: 'Join a channel',
},
{
name: 'Kick',
value: 'kick',
description: 'Removes a user from a channel',
action: 'Kick a user from a channel',
},
{
name: 'Leave',
value: 'leave',
description: 'Leaves a conversation',
action: 'Leave a channel',
},
{
name: 'Member',
value: 'member',
description: 'List members of a conversation',
action: 'Get members of a channel',
},
{
name: 'Open',
value: 'open',
description: 'Opens or resumes a direct message or multi-person direct message',
action: 'Open a channel',
},
{
name: 'Rename',
value: 'rename',
description: 'Renames a conversation',
action: 'Rename a channel',
},
{
name: 'Replies',
value: 'replies',
description: 'Get a thread of messages posted to a channel',
action: 'Get a thread of messages posted to a channel',
},
{
name: 'Set Purpose',
value: 'setPurpose',
description: 'Sets the purpose for a conversation',
action: 'Set the purpose of a channel',
},
{
name: 'Set Topic',
value: 'setTopic',
description: 'Sets the topic for a conversation',
action: 'Set the topic of a channel',
},
{
name: 'Unarchive',
value: 'unarchive',
description: 'Unarchives a conversation',
action: 'Unarchive a channel',
},
],
default: 'create',