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,6 +20,7 @@ export const eventOperations: INodeProperties[] = [
|
||||
name: 'Track',
|
||||
value: 'track',
|
||||
description: 'Record the actions a user perform',
|
||||
action: 'Track an event',
|
||||
},
|
||||
],
|
||||
default: 'track',
|
||||
|
||||
@@ -20,16 +20,19 @@ export const userOperations: INodeProperties[] = [
|
||||
name: 'Create or Update',
|
||||
value: 'upsert',
|
||||
description: 'Create a new user, or update the current one if it already exists (upsert)',
|
||||
action: 'Create or update a user',
|
||||
},
|
||||
{
|
||||
name: 'Delete',
|
||||
value: 'delete',
|
||||
description: 'Delete a user',
|
||||
action: 'Delete a user',
|
||||
},
|
||||
{
|
||||
name: 'Get',
|
||||
value: 'get',
|
||||
description: 'Get a user',
|
||||
action: 'Get a user',
|
||||
},
|
||||
],
|
||||
default: 'upsert',
|
||||
|
||||
@@ -20,11 +20,13 @@ export const userListOperations: INodeProperties[] = [
|
||||
name: 'Add',
|
||||
value: 'add',
|
||||
description: 'Add user to list',
|
||||
action: 'Add a user to a list',
|
||||
},
|
||||
{
|
||||
name: 'Remove',
|
||||
value: 'remove',
|
||||
description: 'Remove a user from a list',
|
||||
action: 'Remove a user from a list',
|
||||
},
|
||||
],
|
||||
default: 'add',
|
||||
|
||||
Reference in New Issue
Block a user