mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +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:
@@ -65,7 +65,7 @@ export const userFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
description: 'The Intercom defined id representing the Lead',
|
||||
description: 'The Intercom defined ID representing the Lead',
|
||||
},
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
@@ -86,7 +86,7 @@ export const userFields: 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',
|
||||
@@ -110,7 +110,7 @@ export const userFields: INodeProperties[] = [
|
||||
maxValue: 60,
|
||||
},
|
||||
default: 50,
|
||||
description: 'How many results to return.',
|
||||
description: 'Max number of results to return',
|
||||
},
|
||||
{
|
||||
displayName: 'Filters',
|
||||
@@ -183,7 +183,7 @@ export const userFields: INodeProperties[] = [
|
||||
name: 'ID',
|
||||
value: 'id',
|
||||
default: '',
|
||||
description: 'The Intercom defined id representing the Lead',
|
||||
description: 'The Intercom defined ID representing the Lead',
|
||||
},
|
||||
{
|
||||
name: 'User ID',
|
||||
@@ -193,7 +193,7 @@ export const userFields: INodeProperties[] = [
|
||||
},
|
||||
],
|
||||
default: '',
|
||||
description: 'The property to select the user by.',
|
||||
description: 'The property to select the user by',
|
||||
},
|
||||
{
|
||||
displayName: 'Value',
|
||||
@@ -235,7 +235,7 @@ export const userFields: INodeProperties[] = [
|
||||
{
|
||||
name: 'ID',
|
||||
value: 'id',
|
||||
description: 'The Intercom defined id representing the user',
|
||||
description: 'The Intercom defined ID representing the user',
|
||||
},
|
||||
{
|
||||
name: 'Email',
|
||||
@@ -250,7 +250,7 @@ export const userFields: INodeProperties[] = [
|
||||
|
||||
],
|
||||
default: 'id',
|
||||
description: 'The property via which to query the user.',
|
||||
description: 'The property via which to query the user',
|
||||
},
|
||||
{
|
||||
displayName: 'Value',
|
||||
@@ -297,7 +297,7 @@ export const userFields: INodeProperties[] = [
|
||||
{
|
||||
name: 'Email',
|
||||
value: 'email',
|
||||
description: `The user's email address. It is required on creation if a user_id is not supplied.`,
|
||||
description: 'The user\'s email address. It is required on creation if a user_id is not supplied.',
|
||||
},
|
||||
],
|
||||
default: '',
|
||||
@@ -371,7 +371,7 @@ export const userFields: INodeProperties[] = [
|
||||
loadOptionsMethod: 'getCompanies',
|
||||
},
|
||||
default: [],
|
||||
description: 'Identifies the companies this user belongs to.',
|
||||
description: 'Identifies the companies this user belongs to',
|
||||
},
|
||||
{
|
||||
displayName: 'Email',
|
||||
@@ -416,7 +416,7 @@ export const userFields: INodeProperties[] = [
|
||||
type: 'number',
|
||||
default: false,
|
||||
options: [],
|
||||
description: `How many sessions the user has recorded`,
|
||||
description: 'How many sessions the user has recorded',
|
||||
},
|
||||
{
|
||||
displayName: 'User ID',
|
||||
@@ -455,7 +455,7 @@ export const userFields: INodeProperties[] = [
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
options: [],
|
||||
description: 'A boolean value, which if true, instructs Intercom to update the users last_request_at value to the current API service time in UTC.',
|
||||
description: 'A boolean value, which if true, instructs Intercom to update the users last_request_at value to the current API service time in UTC',
|
||||
},
|
||||
{
|
||||
displayName: 'UTM Campaign',
|
||||
@@ -498,7 +498,6 @@ export const userFields: INodeProperties[] = [
|
||||
displayName: 'Custom Attributes',
|
||||
name: 'customAttributesJson',
|
||||
type: 'json',
|
||||
required: false,
|
||||
typeOptions: {
|
||||
alwaysOpenEditWindow: true,
|
||||
},
|
||||
@@ -517,7 +516,7 @@ export const userFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
description: 'A hash of key/value pairs to represent custom data you want to attribute to a user.',
|
||||
description: 'A hash of key/value pairs to represent custom data you want to attribute to a user',
|
||||
},
|
||||
{
|
||||
displayName: 'Custom Attributes',
|
||||
@@ -528,7 +527,6 @@ export const userFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
multipleValues: true,
|
||||
},
|
||||
required: false,
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
@@ -563,6 +561,6 @@ export const userFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
],
|
||||
description: 'A hash of key/value pairs to represent custom data you want to attribute to a user.',
|
||||
description: 'A hash of key/value pairs to represent custom data you want to attribute to a user',
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user