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:
@@ -23,21 +23,25 @@ export const attachmentOperations: INodeProperties[] = [
|
||||
name: 'Create',
|
||||
value: 'create',
|
||||
description: 'Create a new attachment for a card',
|
||||
action: 'Create an attachment',
|
||||
},
|
||||
{
|
||||
name: 'Delete',
|
||||
value: 'delete',
|
||||
description: 'Delete an attachment',
|
||||
action: 'Delete an attachment',
|
||||
},
|
||||
{
|
||||
name: 'Get',
|
||||
value: 'get',
|
||||
description: 'Get the data of an attachment',
|
||||
action: 'Get an attachment',
|
||||
},
|
||||
{
|
||||
name: 'Get All',
|
||||
value: 'getAll',
|
||||
description: 'Returns all attachments for the card',
|
||||
action: 'Get all attachments',
|
||||
},
|
||||
],
|
||||
default: 'getAll',
|
||||
|
||||
@@ -23,21 +23,25 @@ export const boardOperations: INodeProperties[] = [
|
||||
name: 'Create',
|
||||
value: 'create',
|
||||
description: 'Create a new board',
|
||||
action: 'Create a board',
|
||||
},
|
||||
{
|
||||
name: 'Delete',
|
||||
value: 'delete',
|
||||
description: 'Delete a board',
|
||||
action: 'Delete a board',
|
||||
},
|
||||
{
|
||||
name: 'Get',
|
||||
value: 'get',
|
||||
description: 'Get the data of a board',
|
||||
action: 'Get a board',
|
||||
},
|
||||
{
|
||||
name: 'Update',
|
||||
value: 'update',
|
||||
description: 'Update a board',
|
||||
action: 'Update a board',
|
||||
},
|
||||
],
|
||||
default: 'create',
|
||||
|
||||
@@ -23,21 +23,25 @@ export const boardMemberOperations: INodeProperties[] = [
|
||||
name: 'Add',
|
||||
value: 'add',
|
||||
description: 'Add member to board using member ID',
|
||||
action: 'Add a board member',
|
||||
},
|
||||
{
|
||||
name: 'Get All',
|
||||
value: 'getAll',
|
||||
description: 'Get all members of a board',
|
||||
action: 'Get all board members',
|
||||
},
|
||||
{
|
||||
name: 'Invite',
|
||||
value: 'invite',
|
||||
description: 'Invite a new member to a board via email',
|
||||
action: 'Invite a board member',
|
||||
},
|
||||
{
|
||||
name: 'Remove',
|
||||
value: 'remove',
|
||||
description: 'Remove member from board using member ID',
|
||||
action: 'Remove a board member',
|
||||
},
|
||||
],
|
||||
default: 'add',
|
||||
|
||||
@@ -20,16 +20,19 @@ export const cardCommentOperations: INodeProperties[] = [
|
||||
name: 'Create',
|
||||
value: 'create',
|
||||
description: 'Create a comment on a card',
|
||||
action: 'Create a card comment',
|
||||
},
|
||||
{
|
||||
name: 'Delete',
|
||||
value: 'delete',
|
||||
description: 'Delete a comment from a card',
|
||||
action: 'Delete a card comment',
|
||||
},
|
||||
{
|
||||
name: 'Update',
|
||||
value: 'update',
|
||||
description: 'Update a comment on a card',
|
||||
action: 'Update a card comment',
|
||||
},
|
||||
],
|
||||
default: 'create',
|
||||
|
||||
@@ -23,21 +23,25 @@ export const cardOperations: INodeProperties[] = [
|
||||
name: 'Create',
|
||||
value: 'create',
|
||||
description: 'Create a new card',
|
||||
action: 'Create a card',
|
||||
},
|
||||
{
|
||||
name: 'Delete',
|
||||
value: 'delete',
|
||||
description: 'Delete a card',
|
||||
action: 'Delete a card',
|
||||
},
|
||||
{
|
||||
name: 'Get',
|
||||
value: 'get',
|
||||
description: 'Get the data of a card',
|
||||
action: 'Get a card',
|
||||
},
|
||||
{
|
||||
name: 'Update',
|
||||
value: 'update',
|
||||
description: 'Update a card',
|
||||
action: 'Update a card',
|
||||
},
|
||||
],
|
||||
default: 'create',
|
||||
|
||||
@@ -23,46 +23,55 @@ export const checklistOperations: INodeProperties[] = [
|
||||
name: 'Create',
|
||||
value: 'create',
|
||||
description: 'Create a new checklist',
|
||||
action: 'Create a checklist',
|
||||
},
|
||||
{
|
||||
name: 'Create Checklist Item',
|
||||
value: 'createCheckItem',
|
||||
description: 'Create a checklist item',
|
||||
action: 'Create checklist item',
|
||||
},
|
||||
{
|
||||
name: 'Delete',
|
||||
value: 'delete',
|
||||
description: 'Delete a checklist',
|
||||
action: 'Delete a checklist',
|
||||
},
|
||||
{
|
||||
name: 'Delete Checklist Item',
|
||||
value: 'deleteCheckItem',
|
||||
description: 'Delete a checklist item',
|
||||
action: 'Delete a checklist item',
|
||||
},
|
||||
{
|
||||
name: 'Get',
|
||||
value: 'get',
|
||||
description: 'Get the data of a checklist',
|
||||
action: 'Get a checklist',
|
||||
},
|
||||
{
|
||||
name: 'Get All',
|
||||
value: 'getAll',
|
||||
description: 'Returns all checklists for the card',
|
||||
action: 'Get all checklists',
|
||||
},
|
||||
{
|
||||
name: 'Get Checklist Items',
|
||||
value: 'getCheckItem',
|
||||
description: 'Get a specific checklist on a card',
|
||||
action: 'Get checklist items',
|
||||
},
|
||||
{
|
||||
name: 'Get Completed Checklist Items',
|
||||
value: 'completedCheckItems',
|
||||
description: 'Get the completed checklist items on a card',
|
||||
action: 'Get completed checklist items',
|
||||
},
|
||||
{
|
||||
name: 'Update Checklist Item',
|
||||
value: 'updateCheckItem',
|
||||
description: 'Update an item in a checklist on a card',
|
||||
action: 'Update a checklist item',
|
||||
},
|
||||
],
|
||||
default: 'getAll',
|
||||
|
||||
@@ -23,36 +23,43 @@ export const labelOperations: INodeProperties[] = [
|
||||
name: 'Add to Card',
|
||||
value: 'addLabel',
|
||||
description: 'Add a label to a card',
|
||||
action: 'Add a label to a card',
|
||||
},
|
||||
{
|
||||
name: 'Create',
|
||||
value: 'create',
|
||||
description: 'Create a new label',
|
||||
action: 'Create a label',
|
||||
},
|
||||
{
|
||||
name: 'Delete',
|
||||
value: 'delete',
|
||||
description: 'Delete a label',
|
||||
action: 'Delete a label',
|
||||
},
|
||||
{
|
||||
name: 'Get',
|
||||
value: 'get',
|
||||
description: 'Get the data of a label',
|
||||
action: 'Get a label',
|
||||
},
|
||||
{
|
||||
name: 'Get All',
|
||||
value: 'getAll',
|
||||
description: 'Returns all labels for the board',
|
||||
action: 'Get all labels',
|
||||
},
|
||||
{
|
||||
name: 'Remove From Card',
|
||||
value: 'removeLabel',
|
||||
description: 'Remove a label from a card',
|
||||
action: 'Remove a label from a card',
|
||||
},
|
||||
{
|
||||
name: 'Update',
|
||||
value: 'update',
|
||||
description: 'Update a label',
|
||||
action: 'Update a label',
|
||||
},
|
||||
|
||||
],
|
||||
|
||||
@@ -23,31 +23,37 @@ export const listOperations: INodeProperties[] = [
|
||||
name: 'Archive',
|
||||
value: 'archive',
|
||||
description: 'Archive/Unarchive a list',
|
||||
action: 'Archive/unarchive a list',
|
||||
},
|
||||
{
|
||||
name: 'Create',
|
||||
value: 'create',
|
||||
description: 'Create a new list',
|
||||
action: 'Create a list',
|
||||
},
|
||||
{
|
||||
name: 'Get',
|
||||
value: 'get',
|
||||
description: 'Get the data of a list',
|
||||
action: 'Get a list',
|
||||
},
|
||||
{
|
||||
name: 'Get All',
|
||||
value: 'getAll',
|
||||
description: 'Get all the lists',
|
||||
action: 'Get all lists',
|
||||
},
|
||||
{
|
||||
name: 'Get Cards',
|
||||
value: 'getCards',
|
||||
description: 'Get all the cards in a list',
|
||||
action: 'Get all cards in a list',
|
||||
},
|
||||
{
|
||||
name: 'Update',
|
||||
value: 'update',
|
||||
description: 'Update a list',
|
||||
action: 'Update a list',
|
||||
},
|
||||
],
|
||||
default: 'create',
|
||||
|
||||
Reference in New Issue
Block a user