mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +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:
@@ -68,7 +68,7 @@ export const contactFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
description: 'Name of the contact.',
|
||||
description: 'Name of the contact',
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
@@ -86,7 +86,7 @@ export const contactFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: `Primary email address of the contact. If you want to associate additional email(s) with this contact, use the other_emails attribute.`,
|
||||
description: 'Primary email address of the contact. If you want to associate additional email(s) with this contact, use the other_emails attribute.',
|
||||
},
|
||||
{
|
||||
displayName: 'Contact ID',
|
||||
@@ -128,7 +128,7 @@ export const contactFields: INodeProperties[] = [
|
||||
name: 'address',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Address of the contact.',
|
||||
description: 'Address of the contact',
|
||||
},
|
||||
// {
|
||||
// displayName: 'Avatar',
|
||||
@@ -143,7 +143,7 @@ export const contactFields: INodeProperties[] = [
|
||||
name: 'company_id',
|
||||
type: 'number',
|
||||
default: '',
|
||||
description: 'ID of the primary company to which this contact belongs.',
|
||||
description: 'ID of the primary company to which this contact belongs',
|
||||
},
|
||||
{
|
||||
displayName: 'Custom Fields',
|
||||
@@ -153,7 +153,7 @@ export const contactFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
multipleValues: true,
|
||||
},
|
||||
description: `Key value pairs containing the name and value of the custom field. Only dates in the format YYYY-MM-DD are accepted as input for custom date fields.`,
|
||||
description: 'Key value pairs containing the name and value of the custom field. Only dates in the format YYYY-MM-DD are accepted as input for custom date fields.',
|
||||
default: [],
|
||||
options: [
|
||||
{
|
||||
@@ -165,14 +165,14 @@ export const contactFields: INodeProperties[] = [
|
||||
name: 'name',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: `Custom Field\'s name.`,
|
||||
description: 'Custom Field\'s name',
|
||||
},
|
||||
{
|
||||
displayName: 'Value',
|
||||
name: 'value',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: `Custom Field\'s values.`,
|
||||
description: 'Custom Field\'s values',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -183,7 +183,7 @@ export const contactFields: INodeProperties[] = [
|
||||
name: 'description',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'A small description of the contact.',
|
||||
description: 'A small description of the contact',
|
||||
},
|
||||
{
|
||||
displayName: 'Email',
|
||||
@@ -197,28 +197,28 @@ export const contactFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: `Primary email address of the contact. If you want to associate additional email(s) with this contact, use the other_emails attribute.`,
|
||||
description: 'Primary email address of the contact. If you want to associate additional email(s) with this contact, use the other_emails attribute.',
|
||||
},
|
||||
{
|
||||
displayName: 'Job Title',
|
||||
name: 'job_title',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Job title of the contact.',
|
||||
description: 'Job title of the contact',
|
||||
},
|
||||
{
|
||||
displayName: 'Language',
|
||||
name: 'language',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: `Language of the contact. Default language is "en". This attribute can only be set if the Multiple Language feature is enabled (Garden plan and above).`,
|
||||
description: 'Language of the contact. Default language is "en". This attribute can only be set if the Multiple Language feature is enabled (Garden plan and above).',
|
||||
},
|
||||
{
|
||||
displayName: 'Mobile',
|
||||
name: 'mobile',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Mobile number of the contact.',
|
||||
description: 'Mobile number of the contact',
|
||||
},
|
||||
{
|
||||
displayName: 'Name',
|
||||
@@ -232,7 +232,7 @@ export const contactFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'Name of the contact.',
|
||||
description: 'Name of the contact',
|
||||
},
|
||||
{
|
||||
displayName: 'Other Companies',
|
||||
@@ -243,7 +243,7 @@ export const contactFields: INodeProperties[] = [
|
||||
multipleValues: true,
|
||||
},
|
||||
placeholder: 'Add Company',
|
||||
description: `Additional companies associated with the contact. This attribute can only be set if the Multiple Companies feature is enabled (Estate plan and above).`,
|
||||
description: 'Additional companies associated with the contact. This attribute can only be set if the Multiple Companies feature is enabled (Estate plan and above).',
|
||||
},
|
||||
{
|
||||
displayName: 'Other Emails',
|
||||
@@ -254,14 +254,14 @@ export const contactFields: INodeProperties[] = [
|
||||
multipleValues: true,
|
||||
},
|
||||
placeholder: 'Add Email',
|
||||
description: 'Additional emails associated with the contact.',
|
||||
description: 'Additional emails associated with the contact',
|
||||
},
|
||||
{
|
||||
displayName: 'Phone',
|
||||
name: 'phone',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Telephone number of the contact.',
|
||||
description: 'Telephone number of the contact',
|
||||
},
|
||||
{
|
||||
displayName: 'Tags',
|
||||
@@ -271,35 +271,35 @@ export const contactFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
multipleValues: true,
|
||||
},
|
||||
description: 'Tags associated with this contact.',
|
||||
description: 'Tags associated with this contact',
|
||||
},
|
||||
{
|
||||
displayName: 'Time Zone',
|
||||
name: 'time_zone',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: `Time zone of the contact. Default value is the time zone of the domain. This attribute can only be set if the Multiple Time Zone feature is enabled (Garden plan and above).`,
|
||||
description: 'Time zone of the contact. Default value is the time zone of the domain. This attribute can only be set if the Multiple Time Zone feature is enabled (Garden plan and above).',
|
||||
},
|
||||
{
|
||||
displayName: 'Twitter ID',
|
||||
name: 'twitter_id',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Twitter handle of the contact.',
|
||||
description: 'Twitter handle of the contact',
|
||||
},
|
||||
{
|
||||
displayName: 'Unique External ID',
|
||||
name: 'unique_external_id',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'External ID of the contact.',
|
||||
description: 'External ID of the contact',
|
||||
},
|
||||
{
|
||||
displayName: 'View All Tickets',
|
||||
name: 'view_all_tickets',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: `Set to true if the contact can see all the tickets that are associated with the company to which they belong.`,
|
||||
description: 'Set to true if the contact can see all the tickets that are associated with the company to which they belong',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user