mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +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:
@@ -127,6 +127,7 @@ export class Github implements INodeType {
|
||||
name: 'Get Repositories',
|
||||
value: 'getRepositories',
|
||||
description: 'Returns all repositories of an organization',
|
||||
action: 'Get repositories for an organization',
|
||||
},
|
||||
],
|
||||
default: 'getRepositories',
|
||||
@@ -147,26 +148,31 @@ export class Github implements INodeType {
|
||||
name: 'Create',
|
||||
value: 'create',
|
||||
description: 'Create a new issue',
|
||||
action: 'Create an issue',
|
||||
},
|
||||
{
|
||||
name: 'Create Comment',
|
||||
value: 'createComment',
|
||||
description: 'Create a new comment on an issue',
|
||||
action: 'Create a comment on an issue',
|
||||
},
|
||||
{
|
||||
name: 'Edit',
|
||||
value: 'edit',
|
||||
description: 'Edit an issue',
|
||||
action: 'Edit an issue',
|
||||
},
|
||||
{
|
||||
name: 'Get',
|
||||
value: 'get',
|
||||
description: 'Get the data of a single issue',
|
||||
action: 'Get an issue',
|
||||
},
|
||||
{
|
||||
name: 'Lock',
|
||||
value: 'lock',
|
||||
description: 'Lock an issue',
|
||||
action: 'Lock an issue',
|
||||
},
|
||||
],
|
||||
default: 'create',
|
||||
@@ -187,26 +193,31 @@ export class Github implements INodeType {
|
||||
name: 'Create',
|
||||
value: 'create',
|
||||
description: 'Create a new file in repository',
|
||||
action: 'Create a file',
|
||||
},
|
||||
{
|
||||
name: 'Delete',
|
||||
value: 'delete',
|
||||
description: 'Delete a file in repository',
|
||||
action: 'Delete a file',
|
||||
},
|
||||
{
|
||||
name: 'Edit',
|
||||
value: 'edit',
|
||||
description: 'Edit a file in repository',
|
||||
action: 'Edit a file',
|
||||
},
|
||||
{
|
||||
name: 'Get',
|
||||
value: 'get',
|
||||
description: 'Get the data of a single file',
|
||||
action: 'Get a file',
|
||||
},
|
||||
{
|
||||
name: 'List',
|
||||
value: 'list',
|
||||
description: 'List contents of a folder',
|
||||
action: 'List a file',
|
||||
},
|
||||
],
|
||||
default: 'create',
|
||||
@@ -227,32 +238,38 @@ export class Github implements INodeType {
|
||||
name: 'Get',
|
||||
value: 'get',
|
||||
description: 'Get the data of a single repository',
|
||||
action: 'Get a repository',
|
||||
},
|
||||
{
|
||||
name: 'Get Issues',
|
||||
value: 'getIssues',
|
||||
description: 'Returns issues of a repository',
|
||||
action: 'Get issues of a repository',
|
||||
},
|
||||
{
|
||||
name: 'Get License',
|
||||
value: 'getLicense',
|
||||
description: 'Returns the contents of the repository\'s license file, if one is detected',
|
||||
action: 'Get the license of a repository',
|
||||
},
|
||||
{
|
||||
name: 'Get Profile',
|
||||
value: 'getProfile',
|
||||
description:
|
||||
'Get the community profile of a repository with metrics, health score, description, license, etc',
|
||||
action: 'Get the profile of a repository',
|
||||
},
|
||||
{
|
||||
name: 'List Popular Paths',
|
||||
value: 'listPopularPaths',
|
||||
description: 'Get the top 10 popular content paths over the last 14 days',
|
||||
action: 'List popular paths in a repository',
|
||||
},
|
||||
{
|
||||
name: 'List Referrers',
|
||||
value: 'listReferrers',
|
||||
description: 'Get the top 10 referrering domains over the last 14 days',
|
||||
action: 'List the top referrers of a repository',
|
||||
},
|
||||
],
|
||||
default: 'getIssues',
|
||||
@@ -273,11 +290,13 @@ export class Github implements INodeType {
|
||||
name: 'Get Repositories',
|
||||
value: 'getRepositories',
|
||||
description: 'Returns the repositories of a user',
|
||||
action: 'Get a user\'s repositories',
|
||||
},
|
||||
{
|
||||
name: 'Invite',
|
||||
value: 'invite',
|
||||
description: 'Invites a user to an organization',
|
||||
action: 'Invite a user',
|
||||
},
|
||||
],
|
||||
default: 'getRepositories',
|
||||
@@ -298,26 +317,31 @@ export class Github implements INodeType {
|
||||
name: 'Create',
|
||||
value: 'create',
|
||||
description: 'Creates a new release',
|
||||
action: 'Create a release',
|
||||
},
|
||||
{
|
||||
name: 'Delete',
|
||||
value: 'delete',
|
||||
description: 'Delete a release',
|
||||
action: 'Delete a release',
|
||||
},
|
||||
{
|
||||
name: 'Get',
|
||||
value: 'get',
|
||||
description: 'Get a release',
|
||||
action: 'Get a release',
|
||||
},
|
||||
{
|
||||
name: 'Get All',
|
||||
value: 'getAll',
|
||||
description: 'Get all repository releases',
|
||||
action: 'Get all releases',
|
||||
},
|
||||
{
|
||||
name: 'Update',
|
||||
value: 'update',
|
||||
description: 'Update a release',
|
||||
action: 'Update a release',
|
||||
},
|
||||
],
|
||||
default: 'create',
|
||||
@@ -338,21 +362,25 @@ export class Github implements INodeType {
|
||||
name: 'Create',
|
||||
value: 'create',
|
||||
description: 'Creates a new review',
|
||||
action: 'Create a review',
|
||||
},
|
||||
{
|
||||
name: 'Get',
|
||||
value: 'get',
|
||||
description: 'Get a review for a pull request',
|
||||
action: 'Get a review',
|
||||
},
|
||||
{
|
||||
name: 'Get All',
|
||||
value: 'getAll',
|
||||
description: 'Get all reviews for a pull request',
|
||||
action: 'Get all reviews',
|
||||
},
|
||||
{
|
||||
name: 'Update',
|
||||
value: 'update',
|
||||
description: 'Update a review',
|
||||
action: 'Update a review',
|
||||
},
|
||||
],
|
||||
default: 'create',
|
||||
|
||||
Reference in New Issue
Block a user