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:
@@ -60,7 +60,7 @@ export const contactFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
default: false,
|
||||
description: 'If set to true, all the results will be returned.',
|
||||
description: 'Whether to return all results or only up to a given limit',
|
||||
},
|
||||
{
|
||||
displayName: 'Limit',
|
||||
@@ -84,7 +84,7 @@ export const contactFields: INodeProperties[] = [
|
||||
maxValue: 1000,
|
||||
},
|
||||
default: 100,
|
||||
description: 'How many results to return.',
|
||||
description: 'Max number of results to return',
|
||||
},
|
||||
{
|
||||
displayName: 'Filters',
|
||||
@@ -108,7 +108,7 @@ export const contactFields: INodeProperties[] = [
|
||||
name: 'query',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The query field accepts valid <a href="https://sendgrid.com/docs/for-developers/sending-email/segmentation-query-language/">SGQL</a> for searching for a contact.',
|
||||
description: 'The query field accepts valid <a href="https://sendgrid.com/docs/for-developers/sending-email/segmentation-query-language/">SGQL</a> for searching for a contact',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -132,7 +132,7 @@ export const contactFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
description: 'Primary email for the contact.',
|
||||
description: 'Primary email for the contact',
|
||||
},
|
||||
{
|
||||
displayName: 'Additional Fields',
|
||||
@@ -227,7 +227,7 @@ export const contactFields: INodeProperties[] = [
|
||||
displayName: 'List IDs',
|
||||
name: 'listIdsUi',
|
||||
placeholder: 'List IDs',
|
||||
description: 'Adds a custom field to set also values which have not been predefined.',
|
||||
description: 'Adds a custom field to set also values which have not been predefined',
|
||||
type: 'fixedCollection',
|
||||
default: {},
|
||||
options: [
|
||||
@@ -243,7 +243,7 @@ export const contactFields: INodeProperties[] = [
|
||||
loadOptionsMethod: 'getListIds',
|
||||
},
|
||||
default: [],
|
||||
description: 'ID of the field to set.',
|
||||
description: 'ID of the field to set',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -326,7 +326,7 @@ export const contactFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
default: false,
|
||||
description: 'If set to true, all contacts will be deleted.',
|
||||
description: 'If set to true, all contacts will be deleted',
|
||||
},
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
@@ -358,7 +358,7 @@ export const contactFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
default: 'id',
|
||||
description: 'Search the user by ID or email.',
|
||||
description: 'Search the user by ID or email',
|
||||
},
|
||||
{
|
||||
displayName: 'Contact ID',
|
||||
@@ -379,7 +379,7 @@ export const contactFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
description: 'ID of the contact.',
|
||||
description: 'ID of the contact',
|
||||
},
|
||||
{
|
||||
displayName: 'Email',
|
||||
@@ -400,6 +400,6 @@ export const contactFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
description: 'Email of the contact.',
|
||||
description: 'Email of the contact',
|
||||
},
|
||||
];
|
||||
|
||||
@@ -65,7 +65,7 @@ export const listFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
default: false,
|
||||
description: 'If set to true, all the results will be returned.',
|
||||
description: 'Whether to return all results or only up to a given limit',
|
||||
},
|
||||
{
|
||||
displayName: 'Limit',
|
||||
@@ -89,7 +89,7 @@ export const listFields: INodeProperties[] = [
|
||||
maxValue: 1000,
|
||||
},
|
||||
default: 100,
|
||||
description: 'How many results to return.',
|
||||
description: 'Max number of results to return',
|
||||
},
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
@@ -111,7 +111,7 @@ export const listFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
description: 'Name of the list.',
|
||||
description: 'Name of the list',
|
||||
},
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
@@ -133,7 +133,7 @@ export const listFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
description: 'ID of the list.',
|
||||
description: 'ID of the list',
|
||||
},
|
||||
{
|
||||
displayName: 'Delete Contacts',
|
||||
@@ -150,7 +150,7 @@ export const listFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'Delete all contacts on the list.',
|
||||
description: 'Delete all contacts on the list',
|
||||
},
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
@@ -172,7 +172,7 @@ export const listFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
description: 'ID of the list.',
|
||||
description: 'ID of the list',
|
||||
},
|
||||
{
|
||||
displayName: 'Contact Sample',
|
||||
@@ -189,7 +189,7 @@ export const listFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'Return the contact sample.',
|
||||
description: 'Return the contact sample',
|
||||
},
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* list:update */
|
||||
@@ -210,7 +210,7 @@ export const listFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
description: 'ID of the list.',
|
||||
description: 'ID of the list',
|
||||
},
|
||||
{
|
||||
displayName: 'Name',
|
||||
@@ -228,6 +228,6 @@ export const listFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
description: 'Name of the list.',
|
||||
description: 'Name of the list',
|
||||
},
|
||||
];
|
||||
|
||||
@@ -18,7 +18,7 @@ export const mailOperations: INodeProperties[] = [
|
||||
{
|
||||
name: 'Send',
|
||||
value: 'send',
|
||||
description: 'Send an email.',
|
||||
description: 'Send an email',
|
||||
},
|
||||
],
|
||||
default: 'send',
|
||||
@@ -36,7 +36,7 @@ export const mailFields: INodeProperties[] = [
|
||||
type: 'string',
|
||||
default: '',
|
||||
placeholder: 'sender@domain.com',
|
||||
description: 'Email address of the sender of the email.',
|
||||
description: 'Email address of the sender of the email',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
@@ -54,7 +54,7 @@ export const mailFields: INodeProperties[] = [
|
||||
type: 'string',
|
||||
default: '',
|
||||
placeholder: 'John Smith',
|
||||
description: 'Name of the sender of the email.',
|
||||
description: 'Name of the sender of the email',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
@@ -72,7 +72,7 @@ export const mailFields: INodeProperties[] = [
|
||||
type: 'string',
|
||||
default: '',
|
||||
placeholder: 'recipient@domain.com',
|
||||
description: 'Comma-separated list of recipient email addresses.',
|
||||
description: 'Comma-separated list of recipient email addresses',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
@@ -89,7 +89,7 @@ export const mailFields: INodeProperties[] = [
|
||||
name: 'subject',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Subject of the email to send.',
|
||||
description: 'Subject of the email to send',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
@@ -110,7 +110,7 @@ export const mailFields: INodeProperties[] = [
|
||||
type: 'boolean',
|
||||
required: true,
|
||||
default: false,
|
||||
description: 'Whether this email will contain a dynamic template.',
|
||||
description: 'Whether this email will contain a dynamic template',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
@@ -127,7 +127,7 @@ export const mailFields: INodeProperties[] = [
|
||||
name: 'contentType',
|
||||
type: 'options',
|
||||
default: 'text/plain',
|
||||
description: 'MIME type of the email to send.',
|
||||
description: 'MIME type of the email to send',
|
||||
options: [
|
||||
{
|
||||
name: 'Plain Text',
|
||||
@@ -158,7 +158,7 @@ export const mailFields: INodeProperties[] = [
|
||||
type: 'string',
|
||||
default: '',
|
||||
required: true,
|
||||
description: 'Message body of the email to send.',
|
||||
description: 'Message body of the email to send',
|
||||
typeOptions: {
|
||||
alwaysOpenEditWindow: true,
|
||||
},
|
||||
@@ -230,7 +230,7 @@ export const mailFields: INodeProperties[] = [
|
||||
name: 'key',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Key of the dynamic template field.',
|
||||
description: 'Key of the dynamic template field',
|
||||
},
|
||||
{
|
||||
displayName: 'Value',
|
||||
@@ -272,7 +272,7 @@ export const mailFields: INodeProperties[] = [
|
||||
name: 'bccEmail',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Comma-separated list of emails of the recipients of a blind carbon copy of the email.',
|
||||
description: 'Comma-separated list of emails of the recipients of a blind carbon copy of the email',
|
||||
},
|
||||
{
|
||||
displayName: 'Categories',
|
||||
@@ -286,21 +286,21 @@ export const mailFields: INodeProperties[] = [
|
||||
name: 'ccEmail',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Comma-separated list of emails of the recipients of a carbon copy of the email.',
|
||||
description: 'Comma-separated list of emails of the recipients of a carbon copy of the email',
|
||||
},
|
||||
{
|
||||
displayName: 'Enable Sandbox',
|
||||
name: 'enableSandbox',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'Whether to use to the sandbox for testing out email-sending functionality.',
|
||||
description: 'Whether to use to the sandbox for testing out email-sending functionality',
|
||||
},
|
||||
{
|
||||
displayName: 'IP Pool Name',
|
||||
name: 'ipPoolName',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The IP Pool that you would like to send this email from.',
|
||||
description: 'The IP Pool that you would like to send this email from',
|
||||
},
|
||||
{
|
||||
displayName: 'Headers',
|
||||
@@ -321,14 +321,14 @@ export const mailFields: INodeProperties[] = [
|
||||
name: 'key',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Key to set in the header object.',
|
||||
description: 'Key to set in the header object',
|
||||
},
|
||||
{
|
||||
displayName: 'Value',
|
||||
name: 'value',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Value to set in the header object.',
|
||||
description: 'Value to set in the header object',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user