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:
@@ -61,7 +61,7 @@ export const affiliateFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: `The affiliate’s email.`,
|
||||
description: 'The affiliate’s email',
|
||||
},
|
||||
{
|
||||
displayName: 'First Name',
|
||||
@@ -79,7 +79,7 @@ export const affiliateFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
description: `The affiliate’s firstname.`,
|
||||
description: 'The affiliate’s firstname',
|
||||
},
|
||||
{
|
||||
displayName: 'Last Name',
|
||||
@@ -97,7 +97,7 @@ export const affiliateFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
description: `The affiliate’s lastname.`,
|
||||
description: 'The affiliate’s lastname',
|
||||
},
|
||||
{
|
||||
displayName: 'Additional Fields',
|
||||
@@ -165,7 +165,7 @@ export const affiliateFields: INodeProperties[] = [
|
||||
name: 'country',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: `The country’s ISO_3166-1 code. <a href="https://en.wikipedia.org/wiki/ISO_3166-1">Codes</a>.`,
|
||||
description: 'The country’s ISO_3166-1 code. <a href="https://en.wikipedia.org/wiki/ISO_3166-1">Codes</a>.',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -176,7 +176,7 @@ export const affiliateFields: INodeProperties[] = [
|
||||
name: 'companyName',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: `The affiliate’s company data.`,
|
||||
description: 'The affiliate’s company data',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -200,7 +200,7 @@ export const affiliateFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The ID of the affiliate.',
|
||||
description: 'The ID of the affiliate',
|
||||
},
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
@@ -222,7 +222,7 @@ export const affiliateFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The ID of the affiliate.',
|
||||
description: 'The ID of the affiliate',
|
||||
},
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
@@ -243,7 +243,7 @@ export const affiliateFields: 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',
|
||||
@@ -267,7 +267,7 @@ export const affiliateFields: INodeProperties[] = [
|
||||
maxValue: 1000,
|
||||
},
|
||||
default: 100,
|
||||
description: 'How many results to return.',
|
||||
description: 'Max number of results to return',
|
||||
},
|
||||
{
|
||||
displayName: 'Filters',
|
||||
@@ -291,7 +291,7 @@ export const affiliateFields: INodeProperties[] = [
|
||||
name: 'affiliate_group_id',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Retrieves affiliates for a certain affiliate group.',
|
||||
description: 'Retrieves affiliates for a certain affiliate group',
|
||||
},
|
||||
{
|
||||
displayName: 'Click ID',
|
||||
@@ -311,7 +311,7 @@ export const affiliateFields: INodeProperties[] = [
|
||||
name: 'parentId',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Retrieves children for a certain parent affiliate.',
|
||||
description: 'Retrieves children for a certain parent affiliate',
|
||||
},
|
||||
{
|
||||
displayName: 'Referral Code',
|
||||
|
||||
@@ -18,17 +18,17 @@ export const affiliateMetadataOperations: INodeProperties[] = [
|
||||
{
|
||||
name: 'Add',
|
||||
value: 'add',
|
||||
description: `Add metadata to affiliate`,
|
||||
description: 'Add metadata to affiliate',
|
||||
},
|
||||
{
|
||||
name: 'Remove',
|
||||
value: 'remove',
|
||||
description: `Remove metadata from affiliate`,
|
||||
description: 'Remove metadata from affiliate',
|
||||
},
|
||||
{
|
||||
name: 'Update',
|
||||
value: 'update',
|
||||
description: `Update affiliate's metadata`,
|
||||
description: 'Update affiliate\'s metadata',
|
||||
},
|
||||
],
|
||||
default: 'add',
|
||||
@@ -56,7 +56,7 @@ export const affiliateMetadataFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The ID of the affiliate.',
|
||||
description: 'The ID of the affiliate',
|
||||
},
|
||||
{
|
||||
displayName: 'Metadata',
|
||||
@@ -88,14 +88,14 @@ export const affiliateMetadataFields: INodeProperties[] = [
|
||||
name: 'key',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Name of the metadata key to add.',
|
||||
description: 'Name of the metadata key to add',
|
||||
},
|
||||
{
|
||||
displayName: 'Value',
|
||||
name: 'value',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Value to set for the metadata key.',
|
||||
description: 'Value to set for the metadata key',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -121,7 +121,7 @@ export const affiliateMetadataFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The ID of the affiliate.',
|
||||
description: 'The ID of the affiliate',
|
||||
},
|
||||
{
|
||||
displayName: 'Key',
|
||||
@@ -138,7 +138,7 @@ export const affiliateMetadataFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
description: 'Name of the metadata key to remove.',
|
||||
description: 'Name of the metadata key to remove',
|
||||
},
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
@@ -160,7 +160,7 @@ export const affiliateMetadataFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The ID of the affiliate.',
|
||||
description: 'The ID of the affiliate',
|
||||
},
|
||||
{
|
||||
displayName: 'Key',
|
||||
@@ -177,7 +177,7 @@ export const affiliateMetadataFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
description: 'Name of the metadata key to update.',
|
||||
description: 'Name of the metadata key to update',
|
||||
},
|
||||
{
|
||||
displayName: 'Value',
|
||||
@@ -194,6 +194,6 @@ export const affiliateMetadataFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
description: 'Value to set for the metadata key.',
|
||||
description: 'Value to set for the metadata key',
|
||||
},
|
||||
];
|
||||
|
||||
@@ -69,7 +69,7 @@ export const programAffiliateFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: `The ID of the Program to add the affiliate to. This ID can be found as part of the URL when viewing the program on the platform.`,
|
||||
description: 'The ID of the Program to add the affiliate to. This ID can be found as part of the URL when viewing the program on the platform.',
|
||||
},
|
||||
{
|
||||
displayName: 'Affiliate ID',
|
||||
@@ -87,7 +87,7 @@ export const programAffiliateFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The ID of the affiliate.',
|
||||
description: 'The ID of the affiliate',
|
||||
},
|
||||
{
|
||||
displayName: 'Additional Fields',
|
||||
@@ -111,14 +111,14 @@ export const programAffiliateFields: INodeProperties[] = [
|
||||
name: 'approved',
|
||||
type: 'boolean',
|
||||
default: true,
|
||||
description: `An optional approval status.`,
|
||||
description: 'An optional approval status',
|
||||
},
|
||||
{
|
||||
displayName: 'Coupon',
|
||||
name: 'coupon',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'An optional coupon for this affiliate.',
|
||||
description: 'An optional coupon for this affiliate',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -144,7 +144,7 @@ export const programAffiliateFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: `The ID of the Program to add the affiliate to. This ID can be found as part of the URL when viewing the program on the platform.`,
|
||||
description: 'The ID of the Program to add the affiliate to. This ID can be found as part of the URL when viewing the program on the platform.',
|
||||
},
|
||||
{
|
||||
displayName: 'Affiliate ID',
|
||||
@@ -161,7 +161,7 @@ export const programAffiliateFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The ID of the affiliate.',
|
||||
description: 'The ID of the affiliate',
|
||||
},
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
@@ -185,7 +185,7 @@ export const programAffiliateFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: `The ID of the Program to add the affiliate to. This ID can be found as part of the URL when viewing the program on the platform.`,
|
||||
description: 'The ID of the Program to add the affiliate to. This ID can be found as part of the URL when viewing the program on the platform.',
|
||||
},
|
||||
{
|
||||
displayName: 'Affiliate ID',
|
||||
@@ -202,7 +202,7 @@ export const programAffiliateFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The ID of the affiliate.',
|
||||
description: 'The ID of the affiliate',
|
||||
},
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
@@ -227,7 +227,7 @@ export const programAffiliateFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: `The ID of the Program to add the affiliate to. This ID can be found as part of the URL when viewing the program on the platform.`,
|
||||
description: 'The ID of the Program to add the affiliate to. This ID can be found as part of the URL when viewing the program on the platform.',
|
||||
},
|
||||
{
|
||||
displayName: 'Affiliate ID',
|
||||
@@ -245,7 +245,7 @@ export const programAffiliateFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The ID of the affiliate.',
|
||||
description: 'The ID of the affiliate',
|
||||
},
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
@@ -270,7 +270,7 @@ export const programAffiliateFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: `The ID of the Program to add the affiliate to. This ID can be found as part of the URL when viewing the program on the platform.`,
|
||||
description: 'The ID of the Program to add the affiliate to. This ID can be found as part of the URL when viewing the program on the platform.',
|
||||
},
|
||||
{
|
||||
displayName: 'Return All',
|
||||
@@ -287,7 +287,7 @@ export const programAffiliateFields: 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',
|
||||
@@ -311,7 +311,7 @@ export const programAffiliateFields: INodeProperties[] = [
|
||||
maxValue: 1000,
|
||||
},
|
||||
default: 100,
|
||||
description: 'How many results to return.',
|
||||
description: 'Max number of results to return',
|
||||
},
|
||||
{
|
||||
displayName: 'Filters',
|
||||
@@ -335,21 +335,21 @@ export const programAffiliateFields: INodeProperties[] = [
|
||||
name: 'affiliate_group_id',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Retrieves affiliates for a certain affiliate group.',
|
||||
description: 'Retrieves affiliates for a certain affiliate group',
|
||||
},
|
||||
{
|
||||
displayName: 'Email',
|
||||
name: 'email',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'An email address.',
|
||||
description: 'An email address',
|
||||
},
|
||||
{
|
||||
displayName: 'Parent ID',
|
||||
name: 'parentId',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Retrieves children for a certain parent affiliate.',
|
||||
description: 'Retrieves children for a certain parent affiliate',
|
||||
},
|
||||
{
|
||||
displayName: 'Source ID',
|
||||
|
||||
Reference in New Issue
Block a user