mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +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,6 +20,7 @@ export const accountOperations: INodeProperties[] = [
|
||||
name: 'Me',
|
||||
value: 'me',
|
||||
description: 'Get current user\'s account information',
|
||||
action: 'Get the current user\'s account information',
|
||||
},
|
||||
],
|
||||
default: 'me',
|
||||
|
||||
@@ -20,6 +20,7 @@ export const eventOperations: INodeProperties[] = [
|
||||
name: 'Get',
|
||||
value: 'get',
|
||||
description: 'Get single event by ID',
|
||||
action: 'Get an event by ID',
|
||||
},
|
||||
],
|
||||
default: 'get',
|
||||
|
||||
@@ -20,6 +20,7 @@ export const mediaOperations: INodeProperties[] = [
|
||||
name: 'Upload',
|
||||
value: 'upload',
|
||||
description: 'Send media to a chat room',
|
||||
action: 'Upload media to a chatroom',
|
||||
},
|
||||
],
|
||||
default: 'upload',
|
||||
|
||||
@@ -20,11 +20,13 @@ export const messageOperations: INodeProperties[] = [
|
||||
name: 'Create',
|
||||
value: 'create',
|
||||
description: 'Send a message to a room',
|
||||
action: 'Create a message',
|
||||
},
|
||||
{
|
||||
name: 'Get All',
|
||||
value: 'getAll',
|
||||
description: 'Gets all messages from a room',
|
||||
action: 'Get all messages',
|
||||
},
|
||||
],
|
||||
default: 'create',
|
||||
|
||||
@@ -20,26 +20,31 @@ export const roomOperations: INodeProperties[] = [
|
||||
name: 'Create',
|
||||
value: 'create',
|
||||
description: 'New chat room with defined settings',
|
||||
action: 'Create a room',
|
||||
},
|
||||
{
|
||||
name: 'Invite',
|
||||
value: 'invite',
|
||||
description: 'Invite a user to a room',
|
||||
action: 'Invite a room',
|
||||
},
|
||||
{
|
||||
name: 'Join',
|
||||
value: 'join',
|
||||
description: 'Join a new room',
|
||||
action: 'Join a room',
|
||||
},
|
||||
{
|
||||
name: 'Kick',
|
||||
value: 'kick',
|
||||
description: 'Kick a user from a room',
|
||||
action: 'Kick a user from a room',
|
||||
},
|
||||
{
|
||||
name: 'Leave',
|
||||
value: 'leave',
|
||||
description: 'Leave a room',
|
||||
action: 'Leave a room',
|
||||
},
|
||||
],
|
||||
default: 'create',
|
||||
|
||||
@@ -20,6 +20,7 @@ export const roomMemberOperations: INodeProperties[] = [
|
||||
name: 'Get All',
|
||||
value: 'getAll',
|
||||
description: 'Get all members',
|
||||
action: 'Get all room members',
|
||||
},
|
||||
],
|
||||
default: 'getAll',
|
||||
|
||||
Reference in New Issue
Block a user