mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
refactor: Apply more eslint-plugin-n8n-nodes-base autofixable rules (#3243)
* ✏️ Alphabetize rules * 🔖 Update version * ⚡ Update lintfix command * ⚡ Run baseline lintfix * 📦 Update package-lock.json * 👕 Apply `node-param-description-untrimmed` (#3200) * Removing unneeded backticks (#3249) * 👕 Apply node-param-description-wrong-for-return-all (#3253) * 👕 Apply node-param-description-missing-limit (#3252) Co-authored-by: Iván Ovejero <ivov.src@gmail.com> * 👕 Apply node-param-description-excess-final-period (#3250) Co-authored-by: Iván Ovejero <ivov.src@gmail.com> * 👕 Apply node-param-description-unencoded-angle-brackets (#3256) Co-authored-by: Iván Ovejero <ivov.src@gmail.com> * 👕 Apply node-param-description-url-missing-protocol (#3258) * 👕 Apply `node-param-description-miscased-id` (#3254) Co-authored-by: Iván Ovejero <ivov.src@gmail.com> * 👕 Apply node-param-description-wrong-for-limit (#3257) Co-authored-by: Iván Ovejero <ivov.src@gmail.com> * 👕 Apply node-param-description-wrong-for-ignore-ssl-issues (#3261) * 👕 Apply rule * ⚡ Restore lintfix script * ⚡ Restore lintfix script Co-authored-by: agobrech <45268029+agobrech@users.noreply.github.com> Co-authored-by: Omar Ajoue <krynble@gmail.com> Co-authored-by: Michael Kret <88898367+michael-radency@users.noreply.github.com>
This commit is contained in:
@@ -136,27 +136,27 @@ export class Github implements INodeType {
|
||||
{
|
||||
name: 'Create',
|
||||
value: 'create',
|
||||
description: 'Create a new issue.',
|
||||
description: 'Create a new issue',
|
||||
},
|
||||
{
|
||||
name: 'Create Comment',
|
||||
value: 'createComment',
|
||||
description: 'Create a new comment on an issue.',
|
||||
description: 'Create a new comment on an issue',
|
||||
},
|
||||
{
|
||||
name: 'Edit',
|
||||
value: 'edit',
|
||||
description: 'Edit an issue.',
|
||||
description: 'Edit an issue',
|
||||
},
|
||||
{
|
||||
name: 'Get',
|
||||
value: 'get',
|
||||
description: 'Get the data of a single issue.',
|
||||
description: 'Get the data of a single issue',
|
||||
},
|
||||
{
|
||||
name: 'Lock',
|
||||
value: 'lock',
|
||||
description: 'Lock an issue.',
|
||||
description: 'Lock an issue',
|
||||
},
|
||||
],
|
||||
default: 'create',
|
||||
@@ -178,27 +178,27 @@ export class Github implements INodeType {
|
||||
{
|
||||
name: 'Create',
|
||||
value: 'create',
|
||||
description: 'Create a new file in repository.',
|
||||
description: 'Create a new file in repository',
|
||||
},
|
||||
{
|
||||
name: 'Delete',
|
||||
value: 'delete',
|
||||
description: 'Delete a file in repository.',
|
||||
description: 'Delete a file in repository',
|
||||
},
|
||||
{
|
||||
name: 'Edit',
|
||||
value: 'edit',
|
||||
description: 'Edit a file in repository.',
|
||||
description: 'Edit a file in repository',
|
||||
},
|
||||
{
|
||||
name: 'Get',
|
||||
value: 'get',
|
||||
description: 'Get the data of a single file.',
|
||||
description: 'Get the data of a single file',
|
||||
},
|
||||
{
|
||||
name: 'List',
|
||||
value: 'list',
|
||||
description: 'List contents of a folder.',
|
||||
description: 'List contents of a folder',
|
||||
},
|
||||
],
|
||||
default: 'create',
|
||||
@@ -220,32 +220,32 @@ export class Github implements INodeType {
|
||||
{
|
||||
name: 'Get',
|
||||
value: 'get',
|
||||
description: 'Get the data of a single repository.',
|
||||
description: 'Get the data of a single repository',
|
||||
},
|
||||
{
|
||||
name: 'Get License',
|
||||
value: 'getLicense',
|
||||
description: 'Returns the contents of the repository\'s license file, if one is detected.',
|
||||
description: 'Returns the contents of the repository\'s license file, if one is detected',
|
||||
},
|
||||
{
|
||||
name: 'Get Issues',
|
||||
value: 'getIssues',
|
||||
description: 'Returns issues of a repository.',
|
||||
description: 'Returns issues of a repository',
|
||||
},
|
||||
{
|
||||
name: 'Get Profile',
|
||||
value: 'getProfile',
|
||||
description: 'Get the community profile of a repository with metrics, health score, description, license, etc.',
|
||||
description: 'Get the community profile of a repository with metrics, health score, description, license, etc',
|
||||
},
|
||||
{
|
||||
name: 'List Popular Paths',
|
||||
value: 'listPopularPaths',
|
||||
description: 'Get the top 10 popular content paths over the last 14 days.',
|
||||
description: 'Get the top 10 popular content paths over the last 14 days',
|
||||
},
|
||||
{
|
||||
name: 'List Referrers',
|
||||
value: 'listReferrers',
|
||||
description: 'Get the top 10 referrering domains over the last 14 days.',
|
||||
description: 'Get the top 10 referrering domains over the last 14 days',
|
||||
},
|
||||
],
|
||||
default: 'getIssues',
|
||||
@@ -267,12 +267,12 @@ export class Github implements INodeType {
|
||||
{
|
||||
name: 'Get Repositories',
|
||||
value: 'getRepositories',
|
||||
description: 'Returns the repositories of a user.',
|
||||
description: 'Returns the repositories of a user',
|
||||
},
|
||||
{
|
||||
name: 'Invite',
|
||||
value: 'invite',
|
||||
description: 'Invites a user to an organization.',
|
||||
description: 'Invites a user to an organization',
|
||||
},
|
||||
],
|
||||
default: 'getRepositories',
|
||||
@@ -294,27 +294,27 @@ export class Github implements INodeType {
|
||||
{
|
||||
name: 'Create',
|
||||
value: 'create',
|
||||
description: 'Creates a new release.',
|
||||
description: 'Creates a new release',
|
||||
},
|
||||
{
|
||||
name: 'Get',
|
||||
value: 'get',
|
||||
description: 'Get a release.',
|
||||
description: 'Get a release',
|
||||
},
|
||||
{
|
||||
name: 'Get All',
|
||||
value: 'getAll',
|
||||
description: 'Get all repository releases.',
|
||||
description: 'Get all repository releases',
|
||||
},
|
||||
{
|
||||
name: 'Delete',
|
||||
value: 'delete',
|
||||
description: 'Delete a release.',
|
||||
description: 'Delete a release',
|
||||
},
|
||||
{
|
||||
name: 'Update',
|
||||
value: 'update',
|
||||
description: 'Update a release.',
|
||||
description: 'Update a release',
|
||||
},
|
||||
],
|
||||
default: 'create',
|
||||
@@ -336,22 +336,22 @@ export class Github implements INodeType {
|
||||
{
|
||||
name: 'Create',
|
||||
value: 'create',
|
||||
description: 'Creates a new review.',
|
||||
description: 'Creates a new review',
|
||||
},
|
||||
{
|
||||
name: 'Get',
|
||||
value: 'get',
|
||||
description: 'Get a review for a pull request.',
|
||||
description: 'Get a review for a pull request',
|
||||
},
|
||||
{
|
||||
name: 'Get All',
|
||||
value: 'getAll',
|
||||
description: 'Get all reviews for a pull request.',
|
||||
description: 'Get all reviews for a pull request',
|
||||
},
|
||||
{
|
||||
name: 'Update',
|
||||
value: 'update',
|
||||
description: 'Update a review.',
|
||||
description: 'Update a review',
|
||||
},
|
||||
],
|
||||
default: 'create',
|
||||
@@ -375,7 +375,7 @@ export class Github implements INodeType {
|
||||
},
|
||||
},
|
||||
placeholder: 'n8n-io',
|
||||
description: 'Owner of the repository.',
|
||||
description: 'Owner of the repository',
|
||||
},
|
||||
{
|
||||
displayName: 'Repository Name',
|
||||
@@ -394,7 +394,7 @@ export class Github implements INodeType {
|
||||
},
|
||||
},
|
||||
placeholder: 'n8n',
|
||||
description: 'The name of the repository.',
|
||||
description: 'The name of the repository',
|
||||
},
|
||||
|
||||
|
||||
@@ -436,7 +436,6 @@ export class Github implements INodeType {
|
||||
name: 'filePath',
|
||||
type: 'string',
|
||||
default: '',
|
||||
required: false,
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
@@ -448,7 +447,7 @@ export class Github implements INodeType {
|
||||
},
|
||||
},
|
||||
placeholder: 'docs/',
|
||||
description: 'The path of the folder to list.',
|
||||
description: 'The path of the folder to list',
|
||||
},
|
||||
|
||||
// ----------------------------------
|
||||
@@ -471,7 +470,7 @@ export class Github implements INodeType {
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'If the data to upload should be taken from binary field.',
|
||||
description: 'If the data to upload should be taken from binary field',
|
||||
},
|
||||
{
|
||||
displayName: 'File Content',
|
||||
@@ -495,7 +494,7 @@ export class Github implements INodeType {
|
||||
|
||||
},
|
||||
placeholder: '',
|
||||
description: 'The text content of the file.',
|
||||
description: 'The text content of the file',
|
||||
},
|
||||
{
|
||||
displayName: 'Binary Property',
|
||||
@@ -519,7 +518,7 @@ export class Github implements INodeType {
|
||||
|
||||
},
|
||||
placeholder: '',
|
||||
description: 'Name of the binary property which contains the data for the file.',
|
||||
description: 'Name of the binary property which contains the data for the file',
|
||||
},
|
||||
{
|
||||
displayName: 'Commit Message',
|
||||
@@ -544,7 +543,7 @@ export class Github implements INodeType {
|
||||
displayName: 'Additional Parameters',
|
||||
name: 'additionalParameters',
|
||||
placeholder: 'Add Parameter',
|
||||
description: 'Additional fields to add.',
|
||||
description: 'Additional fields to add',
|
||||
type: 'fixedCollection',
|
||||
default: {},
|
||||
displayOptions: {
|
||||
@@ -569,14 +568,14 @@ export class Github implements INodeType {
|
||||
name: 'name',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The name of the author of the commit.',
|
||||
description: 'The name of the author of the commit',
|
||||
},
|
||||
{
|
||||
displayName: 'Email',
|
||||
name: 'email',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The email of the author of the commit.',
|
||||
description: 'The email of the author of the commit',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -602,14 +601,14 @@ export class Github implements INodeType {
|
||||
name: 'name',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The name of the committer of the commit.',
|
||||
description: 'The name of the committer of the commit',
|
||||
},
|
||||
{
|
||||
displayName: 'Email',
|
||||
name: 'email',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The email of the committer of the commit.',
|
||||
description: 'The email of the committer of the commit',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -634,7 +633,7 @@ export class Github implements INodeType {
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'If set it will set the data of the file as binary property instead of returning the raw API response.',
|
||||
description: 'If set it will set the data of the file as binary property instead of returning the raw API response',
|
||||
},
|
||||
{
|
||||
displayName: 'Binary Property',
|
||||
@@ -657,14 +656,14 @@ export class Github implements INodeType {
|
||||
|
||||
},
|
||||
placeholder: '',
|
||||
description: 'Name of the binary property in which to save the binary data of the received file.',
|
||||
description: 'Name of the binary property in which to save the binary data of the received file',
|
||||
},
|
||||
|
||||
{
|
||||
displayName: 'Additional Parameters',
|
||||
name: 'additionalParameters',
|
||||
placeholder: 'Add Parameter',
|
||||
description: 'Additional fields to add.',
|
||||
description: 'Additional fields to add',
|
||||
type: 'collection',
|
||||
default: {},
|
||||
displayOptions: {
|
||||
@@ -712,7 +711,7 @@ export class Github implements INodeType {
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The title of the issue.',
|
||||
description: 'The title of the issue',
|
||||
},
|
||||
{
|
||||
displayName: 'Body',
|
||||
@@ -732,7 +731,7 @@ export class Github implements INodeType {
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The body of the issue.',
|
||||
description: 'The body of the issue',
|
||||
},
|
||||
{
|
||||
displayName: 'Labels',
|
||||
@@ -759,7 +758,7 @@ export class Github implements INodeType {
|
||||
name: 'label',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Label to add to issue.',
|
||||
description: 'Label to add to issue',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -788,7 +787,7 @@ export class Github implements INodeType {
|
||||
name: 'assignee',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'User to assign issue too.',
|
||||
description: 'User to assign issue too',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -812,7 +811,7 @@ export class Github implements INodeType {
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The number of the issue on which to create the comment on.',
|
||||
description: 'The number of the issue on which to create the comment on',
|
||||
},
|
||||
{
|
||||
displayName: 'Body',
|
||||
@@ -832,7 +831,7 @@ export class Github implements INodeType {
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
description: 'The body of the comment.',
|
||||
description: 'The body of the comment',
|
||||
},
|
||||
|
||||
// ----------------------------------
|
||||
@@ -854,7 +853,7 @@ export class Github implements INodeType {
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The number of the issue edit.',
|
||||
description: 'The number of the issue edit',
|
||||
},
|
||||
{
|
||||
displayName: 'Edit Fields',
|
||||
@@ -880,7 +879,7 @@ export class Github implements INodeType {
|
||||
name: 'title',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The title of the issue.',
|
||||
description: 'The title of the issue',
|
||||
},
|
||||
{
|
||||
displayName: 'Body',
|
||||
@@ -890,7 +889,7 @@ export class Github implements INodeType {
|
||||
rows: 5,
|
||||
},
|
||||
default: '',
|
||||
description: 'The body of the issue.',
|
||||
description: 'The body of the issue',
|
||||
},
|
||||
{
|
||||
displayName: 'State',
|
||||
@@ -900,16 +899,16 @@ export class Github implements INodeType {
|
||||
{
|
||||
name: 'Closed',
|
||||
value: 'closed',
|
||||
description: 'Set the state to "closed".',
|
||||
description: 'Set the state to "closed"',
|
||||
},
|
||||
{
|
||||
name: 'Open',
|
||||
value: 'open',
|
||||
description: 'Set the state to "open".',
|
||||
description: 'Set the state to "open"',
|
||||
},
|
||||
],
|
||||
default: 'open',
|
||||
description: 'The state to set.',
|
||||
description: 'The state to set',
|
||||
},
|
||||
{
|
||||
displayName: 'Labels',
|
||||
@@ -926,7 +925,7 @@ export class Github implements INodeType {
|
||||
name: 'label',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Label to add to issue.',
|
||||
description: 'Label to add to issue',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -945,7 +944,7 @@ export class Github implements INodeType {
|
||||
name: 'assignee',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'User to assign issue to.',
|
||||
description: 'User to assign issue to',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -971,7 +970,7 @@ export class Github implements INodeType {
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The number of the issue get data of.',
|
||||
description: 'The number of the issue get data of',
|
||||
},
|
||||
|
||||
// ----------------------------------
|
||||
@@ -993,7 +992,7 @@ export class Github implements INodeType {
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The number of the issue to lock.',
|
||||
description: 'The number of the issue to lock',
|
||||
},
|
||||
{
|
||||
displayName: 'Lock Reason',
|
||||
@@ -1032,7 +1031,7 @@ export class Github implements INodeType {
|
||||
},
|
||||
],
|
||||
default: 'resolved',
|
||||
description: 'The reason to lock the issue.',
|
||||
description: 'The reason to lock the issue',
|
||||
},
|
||||
|
||||
|
||||
@@ -1060,7 +1059,7 @@ export class Github implements INodeType {
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The tag of the release.',
|
||||
description: 'The tag of the release',
|
||||
},
|
||||
{
|
||||
displayName: 'Additional Fields',
|
||||
@@ -1086,7 +1085,7 @@ export class Github implements INodeType {
|
||||
name: 'name',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The name of the issue.',
|
||||
description: 'The name of the issue',
|
||||
},
|
||||
{
|
||||
displayName: 'Body',
|
||||
@@ -1096,21 +1095,21 @@ export class Github implements INodeType {
|
||||
rows: 5,
|
||||
},
|
||||
default: '',
|
||||
description: 'The body of the release.',
|
||||
description: 'The body of the release',
|
||||
},
|
||||
{
|
||||
displayName: 'Draft',
|
||||
name: 'draft',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'Set "true" to create a draft (unpublished) release, "false" to create a published one.',
|
||||
description: 'Set "true" to create a draft (unpublished) release, "false" to create a published one',
|
||||
},
|
||||
{
|
||||
displayName: 'Prerelease',
|
||||
name: 'prerelease',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'If set to "true" it will point out that the release is non-production ready.',
|
||||
description: 'If set to "true" it will point out that the release is non-production ready',
|
||||
},
|
||||
{
|
||||
displayName: 'Target Commitish',
|
||||
@@ -1175,35 +1174,35 @@ export class Github implements INodeType {
|
||||
rows: 5,
|
||||
},
|
||||
default: '',
|
||||
description: 'The body of the release.',
|
||||
description: 'The body of the release',
|
||||
},
|
||||
{
|
||||
displayName: 'Draft',
|
||||
name: 'draft',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'Set "true" to create a draft (unpublished) release, "false" to create a published one.',
|
||||
description: 'Set "true" to create a draft (unpublished) release, "false" to create a published one',
|
||||
},
|
||||
{
|
||||
displayName: 'Name',
|
||||
name: 'name',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The name of the release.',
|
||||
description: 'The name of the release',
|
||||
},
|
||||
{
|
||||
displayName: 'Prerelease',
|
||||
name: 'prerelease',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'If set to "true" it will point out that the release is non-production ready.',
|
||||
description: 'If set to "true" it will point out that the release is non-production ready',
|
||||
},
|
||||
{
|
||||
displayName: 'Tag Name',
|
||||
name: 'tag_name',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The name of the tag.',
|
||||
description: 'The name of the tag',
|
||||
},
|
||||
{
|
||||
displayName: 'Target Commitish',
|
||||
@@ -1232,7 +1231,7 @@ export class Github implements INodeType {
|
||||
},
|
||||
},
|
||||
default: false,
|
||||
description: 'If all results should be returned or only up to a given limit.',
|
||||
description: 'Whether to return all results or only up to a given limit',
|
||||
},
|
||||
{
|
||||
displayName: 'Limit',
|
||||
@@ -1256,7 +1255,7 @@ export class Github implements INodeType {
|
||||
maxValue: 100,
|
||||
},
|
||||
default: 50,
|
||||
description: 'How many results to return.',
|
||||
description: 'Max number of results to return',
|
||||
},
|
||||
|
||||
|
||||
@@ -1282,7 +1281,7 @@ export class Github implements INodeType {
|
||||
},
|
||||
},
|
||||
default: false,
|
||||
description: 'If all results should be returned or only up to a given limit.',
|
||||
description: 'Whether to return all results or only up to a given limit',
|
||||
},
|
||||
{
|
||||
displayName: 'Limit',
|
||||
@@ -1306,7 +1305,7 @@ export class Github implements INodeType {
|
||||
maxValue: 100,
|
||||
},
|
||||
default: 50,
|
||||
description: 'How many results to return.',
|
||||
description: 'Max number of results to return',
|
||||
},
|
||||
{
|
||||
displayName: 'Filters',
|
||||
@@ -1332,21 +1331,21 @@ export class Github implements INodeType {
|
||||
name: 'assignee',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Return only issues which are assigned to a specific user.',
|
||||
description: 'Return only issues which are assigned to a specific user',
|
||||
},
|
||||
{
|
||||
displayName: 'Creator',
|
||||
name: 'creator',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Return only issues which were created by a specific user.',
|
||||
description: 'Return only issues which were created by a specific user',
|
||||
},
|
||||
{
|
||||
displayName: 'Mentioned',
|
||||
name: 'mentioned',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Return only issues in which a specific user was mentioned.',
|
||||
description: 'Return only issues in which a specific user was mentioned',
|
||||
},
|
||||
{
|
||||
displayName: 'Labels',
|
||||
@@ -1360,7 +1359,7 @@ export class Github implements INodeType {
|
||||
name: 'since',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
description: 'Return only issues updated at or after this time.',
|
||||
description: 'Return only issues updated at or after this time',
|
||||
},
|
||||
{
|
||||
displayName: 'State',
|
||||
@@ -1370,21 +1369,21 @@ export class Github implements INodeType {
|
||||
{
|
||||
name: 'All',
|
||||
value: 'all',
|
||||
description: 'Returns issues with any state.',
|
||||
description: 'Returns issues with any state',
|
||||
},
|
||||
{
|
||||
name: 'Closed',
|
||||
value: 'closed',
|
||||
description: 'Return issues with "closed" state.',
|
||||
description: 'Return issues with "closed" state',
|
||||
},
|
||||
{
|
||||
name: 'Open',
|
||||
value: 'open',
|
||||
description: 'Return issues with "open" state.',
|
||||
description: 'Return issues with "open" state',
|
||||
},
|
||||
],
|
||||
default: 'open',
|
||||
description: 'The state to set.',
|
||||
description: 'The state to set',
|
||||
},
|
||||
{
|
||||
displayName: 'Sort',
|
||||
@@ -1394,21 +1393,21 @@ export class Github implements INodeType {
|
||||
{
|
||||
name: 'Created',
|
||||
value: 'created',
|
||||
description: 'Sort by created date.',
|
||||
description: 'Sort by created date',
|
||||
},
|
||||
{
|
||||
name: 'Updated',
|
||||
value: 'updated',
|
||||
description: 'Sort by updated date.',
|
||||
description: 'Sort by updated date',
|
||||
},
|
||||
{
|
||||
name: 'Comments',
|
||||
value: 'comments',
|
||||
description: 'Sort by comments.',
|
||||
description: 'Sort by comments',
|
||||
},
|
||||
],
|
||||
default: 'created',
|
||||
description: 'The order the issues should be returned in.',
|
||||
description: 'The order the issues should be returned in',
|
||||
},
|
||||
{
|
||||
displayName: 'Direction',
|
||||
@@ -1418,16 +1417,16 @@ export class Github implements INodeType {
|
||||
{
|
||||
name: 'Ascending',
|
||||
value: 'asc',
|
||||
description: 'Sort in ascending order.',
|
||||
description: 'Sort in ascending order',
|
||||
},
|
||||
{
|
||||
name: 'Descending',
|
||||
value: 'desc',
|
||||
description: 'Sort in descending order.',
|
||||
description: 'Sort in descending order',
|
||||
},
|
||||
],
|
||||
default: 'desc',
|
||||
description: 'The sort order.',
|
||||
description: 'The sort order',
|
||||
},
|
||||
|
||||
],
|
||||
@@ -1457,7 +1456,7 @@ export class Github implements INodeType {
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The number of the pull request.',
|
||||
description: 'The number of the pull request',
|
||||
},
|
||||
{
|
||||
displayName: 'Review ID',
|
||||
@@ -1476,7 +1475,7 @@ export class Github implements INodeType {
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'ID of the review.',
|
||||
description: 'ID of the review',
|
||||
},
|
||||
|
||||
// ----------------------------------
|
||||
@@ -1498,7 +1497,7 @@ export class Github implements INodeType {
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The number of the pull request.',
|
||||
description: 'The number of the pull request',
|
||||
},
|
||||
{
|
||||
displayName: 'Return All',
|
||||
@@ -1515,7 +1514,7 @@ export class Github implements INodeType {
|
||||
},
|
||||
},
|
||||
default: false,
|
||||
description: 'If all results should be returned or only up to a given limit.',
|
||||
description: 'Whether to return all results or only up to a given limit',
|
||||
},
|
||||
{
|
||||
displayName: 'Limit',
|
||||
@@ -1539,7 +1538,7 @@ export class Github implements INodeType {
|
||||
maxValue: 100,
|
||||
},
|
||||
default: 50,
|
||||
description: 'How many results to return.',
|
||||
description: 'Max number of results to return',
|
||||
},
|
||||
// ----------------------------------
|
||||
// review:create
|
||||
@@ -1560,7 +1559,7 @@ export class Github implements INodeType {
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The number of the pull request to review.',
|
||||
description: 'The number of the pull request to review',
|
||||
},
|
||||
{
|
||||
displayName: 'Event',
|
||||
@@ -1580,26 +1579,26 @@ export class Github implements INodeType {
|
||||
{
|
||||
name: 'Approve',
|
||||
value: 'approve',
|
||||
description: 'Approve the pull request.',
|
||||
description: 'Approve the pull request',
|
||||
},
|
||||
{
|
||||
name: 'Request Change',
|
||||
value: 'requestChanges',
|
||||
description: 'Request code changes.',
|
||||
description: 'Request code changes',
|
||||
},
|
||||
{
|
||||
name: 'Comment',
|
||||
value: 'comment',
|
||||
description: 'Add a comment without approval or change requests.',
|
||||
description: 'Add a comment without approval or change requests',
|
||||
},
|
||||
{
|
||||
name: 'Pending',
|
||||
value: 'pending',
|
||||
description: 'You will need to submit the pull request review when you are ready.',
|
||||
description: 'You will need to submit the pull request review when you are ready',
|
||||
},
|
||||
],
|
||||
default: 'approve',
|
||||
description: 'The review action you want to perform.',
|
||||
description: 'The review action you want to perform',
|
||||
},
|
||||
{
|
||||
displayName: 'Body',
|
||||
@@ -1623,7 +1622,7 @@ export class Github implements INodeType {
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
description: 'The body of the review (required for events Request Changes or Comment).',
|
||||
description: 'The body of the review (required for events Request Changes or Comment)',
|
||||
},
|
||||
{
|
||||
displayName: 'Additional Fields',
|
||||
@@ -1647,7 +1646,7 @@ export class Github implements INodeType {
|
||||
name: 'commitId',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The SHA of the commit that needs a review, if different from the latest.',
|
||||
description: 'The SHA of the commit that needs a review, if different from the latest',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -1692,7 +1691,7 @@ export class Github implements INodeType {
|
||||
},
|
||||
},
|
||||
default: false,
|
||||
description: 'If all results should be returned or only up to a given limit.',
|
||||
description: 'Whether to return all results or only up to a given limit',
|
||||
},
|
||||
{
|
||||
displayName: 'Limit',
|
||||
@@ -1716,7 +1715,7 @@ export class Github implements INodeType {
|
||||
maxValue: 100,
|
||||
},
|
||||
default: 50,
|
||||
description: 'How many results to return.',
|
||||
description: 'Max number of results to return',
|
||||
},
|
||||
// ----------------------------------
|
||||
// user:invite
|
||||
@@ -1737,7 +1736,7 @@ export class Github implements INodeType {
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The GitHub organization that the user is being invited to.',
|
||||
description: 'The GitHub organization that the user is being invited to',
|
||||
},
|
||||
{
|
||||
displayName: 'Email',
|
||||
@@ -1755,7 +1754,7 @@ export class Github implements INodeType {
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The email address of the invited user.',
|
||||
description: 'The email address of the invited user',
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user