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:
@@ -124,14 +124,14 @@ export const contactFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getCustomFields',
|
||||
},
|
||||
description: 'The end user specified key of the user defined data.',
|
||||
description: 'The end user specified key of the user defined data',
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
displayName: 'Value',
|
||||
name: 'value',
|
||||
type: 'string',
|
||||
description: 'The end user specified value of the user defined data.',
|
||||
description: 'The end user specified value of the user defined data',
|
||||
default: '',
|
||||
},
|
||||
],
|
||||
@@ -142,14 +142,14 @@ export const contactFields: INodeProperties[] = [
|
||||
displayName: 'Day Of Cycle',
|
||||
name: 'dayOfCycle',
|
||||
type: 'string',
|
||||
description: `The day on which the contact is in the Autoresponder cycle. null indicates the contacts is not in the cycle.`,
|
||||
description: 'The day on which the contact is in the Autoresponder cycle. null indicates the contacts is not in the cycle.',
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
displayName: 'IP Address',
|
||||
name: 'ipAddress',
|
||||
type: 'string',
|
||||
description: `The contact's IP address. IPv4 and IPv6 formats are accepted.`,
|
||||
description: 'The contact\'s IP address. IPv4 and IPv6 formats are accepted.',
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
@@ -205,7 +205,7 @@ export const contactFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
description: 'Id of contact to delete.',
|
||||
description: 'ID of contact to delete',
|
||||
},
|
||||
{
|
||||
displayName: 'Options',
|
||||
@@ -228,14 +228,14 @@ export const contactFields: INodeProperties[] = [
|
||||
displayName: 'IP Address',
|
||||
name: 'ipAddress',
|
||||
type: 'string',
|
||||
description: `This makes it possible to pass the IP from which the contact unsubscribed. Used only if the messageId was send.`,
|
||||
description: 'This makes it possible to pass the IP from which the contact unsubscribed. Used only if the messageId was send.',
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
displayName: 'Message ID',
|
||||
name: 'messageId',
|
||||
type: 'string',
|
||||
description: `The ID of a message (such as a newsletter, an autoresponder, or an RSS-newsletter). When passed, this method will simulate the unsubscribe process, as if the contact clicked the unsubscribe link in a given message.`,
|
||||
description: 'The ID of a message (such as a newsletter, an autoresponder, or an RSS-newsletter). When passed, this method will simulate the unsubscribe process, as if the contact clicked the unsubscribe link in a given message.',
|
||||
default: '',
|
||||
},
|
||||
],
|
||||
@@ -283,7 +283,7 @@ export const contactFields: INodeProperties[] = [
|
||||
displayName: 'Fields',
|
||||
name: 'fields',
|
||||
type: 'string',
|
||||
description: `List of fields that should be returned. Id is always returned. Fields should be separated by comma`,
|
||||
description: 'List of fields that should be returned. ID is always returned. Fields should be separated by comma',
|
||||
default: '',
|
||||
},
|
||||
],
|
||||
@@ -307,12 +307,13 @@ export const contactFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
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',
|
||||
name: 'limit',
|
||||
type: 'number',
|
||||
description: 'Max number of results to return',
|
||||
default: 20,
|
||||
displayOptions: {
|
||||
show: {
|
||||
@@ -349,7 +350,7 @@ export const contactFields: INodeProperties[] = [
|
||||
displayName: 'Campaign ID',
|
||||
name: 'campaignId',
|
||||
type: 'string',
|
||||
description: `Search contacts by campaign ID`,
|
||||
description: 'Search contacts by campaign ID',
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
@@ -357,48 +358,48 @@ export const contactFields: INodeProperties[] = [
|
||||
name: 'changeOnFrom',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
description: `Search contacts edited from this date`,
|
||||
description: 'Search contacts edited from this date',
|
||||
},
|
||||
{
|
||||
displayName: 'Change On To',
|
||||
name: 'changeOnTo',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
description: `Search contacts edited to this date`,
|
||||
description: 'Search contacts edited to this date',
|
||||
},
|
||||
{
|
||||
displayName: 'Created On From',
|
||||
name: 'createdOnFrom',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
description: `Count data from this date`,
|
||||
description: 'Count data from this date',
|
||||
},
|
||||
{
|
||||
displayName: 'Created On To',
|
||||
name: 'createdOnTo',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
description: `Count data from this date`,
|
||||
description: 'Count data from this date',
|
||||
},
|
||||
{
|
||||
displayName: 'Exact Match',
|
||||
name: 'exactMatch',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: `When set to true it will search for contacts with the exact value of the email and name provided in the query string. Without this flag, matching is done via a standard 'like' comparison, which may sometimes be slow.`,
|
||||
description: 'When set to true it will search for contacts with the exact value of the email and name provided in the query string. Without this flag, matching is done via a standard \'like\' comparison, which may sometimes be slow.',
|
||||
},
|
||||
{
|
||||
displayName: 'Fields',
|
||||
name: 'fields',
|
||||
type: 'string',
|
||||
description: `List of fields that should be returned. Id is always returned. Fields should be separated by comma`,
|
||||
description: 'List of fields that should be returned. ID is always returned. Fields should be separated by comma',
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
displayName: 'Name',
|
||||
name: 'name',
|
||||
type: 'string',
|
||||
description: `Search contacts by name`,
|
||||
description: 'Search contacts by name',
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
@@ -459,7 +460,7 @@ export const contactFields: INodeProperties[] = [
|
||||
value: 'www',
|
||||
},
|
||||
],
|
||||
description: `Search contacts by origin`,
|
||||
description: 'Search contacts by origin',
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
@@ -573,14 +574,14 @@ export const contactFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getCustomFields',
|
||||
},
|
||||
description: 'The end user specified key of the user defined data.',
|
||||
description: 'The end user specified key of the user defined data',
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
displayName: 'Value',
|
||||
name: 'value',
|
||||
type: 'string',
|
||||
description: 'The end user specified value of the user defined data.',
|
||||
description: 'The end user specified value of the user defined data',
|
||||
default: '',
|
||||
},
|
||||
],
|
||||
@@ -591,7 +592,7 @@ export const contactFields: INodeProperties[] = [
|
||||
displayName: 'Day Of Cycle',
|
||||
name: 'dayOfCycle',
|
||||
type: 'string',
|
||||
description: `The day on which the contact is in the Autoresponder cycle. null indicates the contacts is not in the cycle.`,
|
||||
description: 'The day on which the contact is in the Autoresponder cycle. null indicates the contacts is not in the cycle.',
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
@@ -604,7 +605,7 @@ export const contactFields: INodeProperties[] = [
|
||||
displayName: 'IP Address',
|
||||
name: 'ipAddress',
|
||||
type: 'string',
|
||||
description: `The contact's IP address. IPv4 and IPv6 formats are accepted.`,
|
||||
description: 'The contact\'s IP address. IPv4 and IPv6 formats are accepted.',
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user