mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
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:
@@ -20,36 +20,43 @@ export const channelOperations: INodeProperties[] = [
|
||||
name: 'Archive',
|
||||
value: 'archive',
|
||||
description: 'Archive a channel',
|
||||
action: 'Archive a channel',
|
||||
},
|
||||
{
|
||||
name: 'Create',
|
||||
value: 'create',
|
||||
description: 'Initiates a public or private channel-based conversation',
|
||||
action: 'Create a channel',
|
||||
},
|
||||
{
|
||||
name: 'Delete',
|
||||
value: 'delete',
|
||||
description: 'Delete a channel',
|
||||
action: 'Delete 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',
|
||||
action: 'Get all channels',
|
||||
},
|
||||
{
|
||||
name: 'Unarchive',
|
||||
value: 'unarchive',
|
||||
description: 'Unarchive a channel',
|
||||
action: 'Unarchive a channel',
|
||||
},
|
||||
{
|
||||
name: 'Update',
|
||||
value: 'update',
|
||||
description: 'Update a channel',
|
||||
action: 'Update a channel',
|
||||
},
|
||||
],
|
||||
default: 'create',
|
||||
|
||||
@@ -20,26 +20,31 @@ export const commentOperations: INodeProperties[] = [
|
||||
name: 'Create',
|
||||
value: 'create',
|
||||
description: 'Create a new comment to a thread',
|
||||
action: 'Create a comment',
|
||||
},
|
||||
{
|
||||
name: 'Delete',
|
||||
value: 'delete',
|
||||
description: 'Delete a comment',
|
||||
action: 'Delete a comment',
|
||||
},
|
||||
{
|
||||
name: 'Get',
|
||||
value: 'get',
|
||||
description: 'Get information about a comment',
|
||||
action: 'Get a comment',
|
||||
},
|
||||
{
|
||||
name: 'Get All',
|
||||
value: 'getAll',
|
||||
description: 'Get all comments',
|
||||
action: 'Get all comments',
|
||||
},
|
||||
{
|
||||
name: 'Update',
|
||||
value: 'update',
|
||||
description: 'Update a comment',
|
||||
action: 'Update a comment',
|
||||
},
|
||||
],
|
||||
default: 'create',
|
||||
|
||||
@@ -20,26 +20,31 @@ export const messageConversationOperations: INodeProperties[] = [
|
||||
name: 'Create',
|
||||
value: 'create',
|
||||
description: 'Create a message in a conversation',
|
||||
action: 'Create a message',
|
||||
},
|
||||
{
|
||||
name: 'Delete',
|
||||
value: 'delete',
|
||||
description: 'Delete a message in a conversation',
|
||||
action: 'Delete a message',
|
||||
},
|
||||
{
|
||||
name: 'Get',
|
||||
value: 'get',
|
||||
description: 'Get a message in a conversation',
|
||||
action: 'Get a message',
|
||||
},
|
||||
{
|
||||
name: 'Get All',
|
||||
value: 'getAll',
|
||||
description: 'Get all messages in a conversation',
|
||||
action: 'Get all messages',
|
||||
},
|
||||
{
|
||||
name: 'Update',
|
||||
value: 'update',
|
||||
description: 'Update a message in a conversation',
|
||||
action: 'Update a message',
|
||||
},
|
||||
],
|
||||
default: 'create',
|
||||
|
||||
@@ -20,26 +20,31 @@ export const threadOperations: INodeProperties[] = [
|
||||
name: 'Create',
|
||||
value: 'create',
|
||||
description: 'Create a new thread in a channel',
|
||||
action: 'Create a thread',
|
||||
},
|
||||
{
|
||||
name: 'Delete',
|
||||
value: 'delete',
|
||||
description: 'Delete a thread',
|
||||
action: 'Delete a thread',
|
||||
},
|
||||
{
|
||||
name: 'Get',
|
||||
value: 'get',
|
||||
description: 'Get information about a thread',
|
||||
action: 'Get a thread',
|
||||
},
|
||||
{
|
||||
name: 'Get All',
|
||||
value: 'getAll',
|
||||
description: 'Get all threads',
|
||||
action: 'Get all threads',
|
||||
},
|
||||
{
|
||||
name: 'Update',
|
||||
value: 'update',
|
||||
description: 'Update a thread',
|
||||
action: 'Update a thread',
|
||||
},
|
||||
],
|
||||
default: 'create',
|
||||
|
||||
Reference in New Issue
Block a user