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:
@@ -146,11 +146,13 @@ export class Asana implements INodeType {
|
||||
name: 'Create',
|
||||
value: 'create',
|
||||
description: 'Create a subtask',
|
||||
action: 'Create a subtask',
|
||||
},
|
||||
{
|
||||
name: 'Get All',
|
||||
value: 'getAll',
|
||||
description: 'Get all substasks',
|
||||
action: 'Get all subtasks',
|
||||
},
|
||||
],
|
||||
default: 'create',
|
||||
@@ -413,36 +415,43 @@ export class Asana implements INodeType {
|
||||
name: 'Create',
|
||||
value: 'create',
|
||||
description: 'Create a task',
|
||||
action: 'Create a task',
|
||||
},
|
||||
{
|
||||
name: 'Delete',
|
||||
value: 'delete',
|
||||
description: 'Delete a task',
|
||||
action: 'Delete a task',
|
||||
},
|
||||
{
|
||||
name: 'Get',
|
||||
value: 'get',
|
||||
description: 'Get a task',
|
||||
action: 'Get a task',
|
||||
},
|
||||
{
|
||||
name: 'Get All',
|
||||
value: 'getAll',
|
||||
description: 'Get all tasks',
|
||||
action: 'Get all tasks',
|
||||
},
|
||||
{
|
||||
name: 'Move',
|
||||
value: 'move',
|
||||
description: 'Move a task',
|
||||
action: 'Move a task',
|
||||
},
|
||||
{
|
||||
name: 'Search',
|
||||
value: 'search',
|
||||
description: 'Search for tasks',
|
||||
action: 'Search a task',
|
||||
},
|
||||
{
|
||||
name: 'Update',
|
||||
value: 'update',
|
||||
description: 'Update a task',
|
||||
action: 'Update a task',
|
||||
},
|
||||
],
|
||||
default: 'create',
|
||||
@@ -967,11 +976,13 @@ export class Asana implements INodeType {
|
||||
name: 'Add',
|
||||
value: 'add',
|
||||
description: 'Add a comment to a task',
|
||||
action: 'Add a task comment',
|
||||
},
|
||||
{
|
||||
name: 'Remove',
|
||||
value: 'remove',
|
||||
description: 'Remove a comment from a task',
|
||||
action: 'Remove a task comment',
|
||||
},
|
||||
],
|
||||
default: 'add',
|
||||
@@ -1135,11 +1146,13 @@ export class Asana implements INodeType {
|
||||
name: 'Add',
|
||||
value: 'add',
|
||||
description: 'Add a task to a project',
|
||||
action: 'Add a task project',
|
||||
},
|
||||
{
|
||||
name: 'Remove',
|
||||
value: 'remove',
|
||||
description: 'Remove a task from a project',
|
||||
action: 'Remove a task project',
|
||||
},
|
||||
],
|
||||
default: 'add',
|
||||
@@ -1291,11 +1304,13 @@ export class Asana implements INodeType {
|
||||
name: 'Add',
|
||||
value: 'add',
|
||||
description: 'Add a tag to a task',
|
||||
action: 'Add a task tag',
|
||||
},
|
||||
{
|
||||
name: 'Remove',
|
||||
value: 'remove',
|
||||
description: 'Remove a tag from a task',
|
||||
action: 'Remove a task tag',
|
||||
},
|
||||
],
|
||||
default: 'add',
|
||||
@@ -1415,11 +1430,13 @@ export class Asana implements INodeType {
|
||||
name: 'Get',
|
||||
value: 'get',
|
||||
description: 'Get a user',
|
||||
action: 'Get a user',
|
||||
},
|
||||
{
|
||||
name: 'Get All',
|
||||
value: 'getAll',
|
||||
description: 'Get all users',
|
||||
action: 'Get all users',
|
||||
},
|
||||
],
|
||||
default: 'get',
|
||||
@@ -1494,26 +1511,31 @@ export class Asana implements INodeType {
|
||||
name: 'Create',
|
||||
value: 'create',
|
||||
description: 'Create a new project',
|
||||
action: 'Create a project',
|
||||
},
|
||||
{
|
||||
name: 'Delete',
|
||||
value: 'delete',
|
||||
description: 'Delete a project',
|
||||
action: 'Delete a project',
|
||||
},
|
||||
{
|
||||
name: 'Get',
|
||||
value: 'get',
|
||||
description: 'Get a project',
|
||||
action: 'Get a project',
|
||||
},
|
||||
{
|
||||
name: 'Get All',
|
||||
value: 'getAll',
|
||||
description: 'Get all projects',
|
||||
action: 'Get all projects',
|
||||
},
|
||||
{
|
||||
name: 'Update',
|
||||
value: 'update',
|
||||
description: 'Update a project',
|
||||
action: 'Update a project',
|
||||
},
|
||||
],
|
||||
default: 'get',
|
||||
|
||||
Reference in New Issue
Block a user