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:
@@ -73,7 +73,7 @@ export const ecomOrderFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The id of the order in the external service. ONLY REQUIRED IF EXTERNALCHECKOUTID NOT INCLUDED.',
|
||||
description: 'The ID of the order in the external service. ONLY REQUIRED IF EXTERNALCHECKOUTID NOT INCLUDED.',
|
||||
},
|
||||
{
|
||||
displayName: 'External checkout ID',
|
||||
@@ -90,7 +90,7 @@ export const ecomOrderFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The id of the cart in the external service. ONLY REQUIRED IF EXTERNALID IS NOT INCLUDED.',
|
||||
description: 'The ID of the cart in the external service. ONLY REQUIRED IF EXTERNALID IS NOT INCLUDED.',
|
||||
},
|
||||
{
|
||||
displayName: 'Order source',
|
||||
@@ -108,7 +108,7 @@ export const ecomOrderFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The order source code (0 - will not trigger automations, 1 - will trigger automations).',
|
||||
description: 'The order source code (0 - will not trigger automations, 1 - will trigger automations)',
|
||||
},
|
||||
{
|
||||
displayName: 'Customer Email',
|
||||
@@ -126,7 +126,7 @@ export const ecomOrderFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The email address of the customer who placed the order.',
|
||||
description: 'The email address of the customer who placed the order',
|
||||
},
|
||||
{
|
||||
displayName: 'Total price',
|
||||
@@ -163,7 +163,7 @@ export const ecomOrderFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
options: allCurrencies,
|
||||
description: 'The currency of the order (3-digit ISO code, e.g., "USD").',
|
||||
description: 'The currency of the order (3-digit ISO code, e.g., "USD")',
|
||||
},
|
||||
{
|
||||
displayName: 'Connection ID',
|
||||
@@ -181,7 +181,7 @@ export const ecomOrderFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The id of the connection from which this order originated.',
|
||||
description: 'The ID of the connection from which this order originated',
|
||||
},
|
||||
{
|
||||
displayName: 'Customer ID',
|
||||
@@ -199,7 +199,7 @@ export const ecomOrderFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The id of the customer associated with this order.',
|
||||
description: 'The ID of the customer associated with this order',
|
||||
},
|
||||
{
|
||||
displayName: 'Creation Date',
|
||||
@@ -217,7 +217,7 @@ export const ecomOrderFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The date the order was placed.',
|
||||
description: 'The date the order was placed',
|
||||
},
|
||||
{
|
||||
displayName: 'Abandoning Date',
|
||||
@@ -277,49 +277,49 @@ export const ecomOrderFields: INodeProperties[] = [
|
||||
name: 'quantity',
|
||||
type: 'number',
|
||||
default: 0,
|
||||
description: 'The quantity ordered.',
|
||||
description: 'The quantity ordered',
|
||||
},
|
||||
{
|
||||
displayName: 'Product external ID',
|
||||
name: 'externalid',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The id of the product in the external service.',
|
||||
description: 'The ID of the product in the external service',
|
||||
},
|
||||
{
|
||||
displayName: 'Product Category',
|
||||
name: 'category',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The category of the product.',
|
||||
description: 'The category of the product',
|
||||
},
|
||||
{
|
||||
displayName: 'SKU',
|
||||
name: 'sku',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The SKU for the product.',
|
||||
description: 'The SKU for the product',
|
||||
},
|
||||
{
|
||||
displayName: 'Description',
|
||||
name: 'description',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The description of the product.',
|
||||
description: 'The description of the product',
|
||||
},
|
||||
{
|
||||
displayName: 'Image URL',
|
||||
name: 'imageUrl',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'An Image URL that displays an image of the product.',
|
||||
description: 'An Image URL that displays an image of the product',
|
||||
},
|
||||
{
|
||||
displayName: 'Product URL',
|
||||
name: 'productUrl',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'A URL linking to the product in your store.',
|
||||
description: 'A URL linking to the product in your store',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -345,7 +345,7 @@ export const ecomOrderFields: INodeProperties[] = [
|
||||
name: 'shippingAmount',
|
||||
type: 'number',
|
||||
default: 0,
|
||||
description: 'The total shipping amount for the order in cents .',
|
||||
description: 'The total shipping amount for the order in cents',
|
||||
},
|
||||
|
||||
{
|
||||
@@ -353,35 +353,35 @@ export const ecomOrderFields: INodeProperties[] = [
|
||||
name: 'taxAmount',
|
||||
type: 'number',
|
||||
default: 0,
|
||||
description: 'The total tax amount for the order in cents.',
|
||||
description: 'The total tax amount for the order in cents',
|
||||
},
|
||||
{
|
||||
displayName: 'Discount Amount',
|
||||
name: 'discountAmount',
|
||||
type: 'number',
|
||||
default: 0,
|
||||
description: 'The total discount amount for the order in cents.',
|
||||
description: 'The total discount amount for the order in cents',
|
||||
},
|
||||
{
|
||||
displayName: 'Order URL',
|
||||
name: 'orderUrl',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The URL for the order in the external service.',
|
||||
description: 'The URL for the order in the external service',
|
||||
},
|
||||
{
|
||||
displayName: 'External updated date',
|
||||
name: 'externalUpdatedDate',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
description: 'The date the order was updated.',
|
||||
description: 'The date the order was updated',
|
||||
},
|
||||
{
|
||||
displayName: 'Shipping Method',
|
||||
name: 'shippingMethod',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The shipping method of the order.',
|
||||
description: 'The shipping method of the order',
|
||||
},
|
||||
{
|
||||
displayName: 'Order Number',
|
||||
@@ -412,7 +412,7 @@ export const ecomOrderFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The id of the e-commerce order.',
|
||||
description: 'The ID of the e-commerce order',
|
||||
},
|
||||
|
||||
{
|
||||
@@ -437,28 +437,28 @@ export const ecomOrderFields: INodeProperties[] = [
|
||||
name: 'externalid',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The id of the order in the external service. ONLY REQUIRED IF EXTERNALCHECKOUTID NOT INCLUDED.',
|
||||
description: 'The ID of the order in the external service. ONLY REQUIRED IF EXTERNALCHECKOUTID NOT INCLUDED.',
|
||||
},
|
||||
{
|
||||
displayName: 'External checkout ID',
|
||||
name: 'externalcheckoutid',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The id of the cart in the external service. ONLY REQUIRED IF EXTERNALID IS NOT INCLUDED.',
|
||||
description: 'The ID of the cart in the external service. ONLY REQUIRED IF EXTERNALID IS NOT INCLUDED.',
|
||||
},
|
||||
{
|
||||
displayName: 'Order source',
|
||||
name: 'source',
|
||||
type: 'number',
|
||||
default: 0,
|
||||
description: 'The order source code (0 - will not trigger automations, 1 - will trigger automations).',
|
||||
description: 'The order source code (0 - will not trigger automations, 1 - will trigger automations)',
|
||||
},
|
||||
{
|
||||
displayName: 'Customer Email',
|
||||
name: 'email',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The email address of the customer who placed the order.',
|
||||
description: 'The email address of the customer who placed the order',
|
||||
},
|
||||
{
|
||||
displayName: 'Total price',
|
||||
@@ -473,28 +473,28 @@ export const ecomOrderFields: INodeProperties[] = [
|
||||
type: 'options',
|
||||
default: 'eur',
|
||||
options: allCurrencies,
|
||||
description: 'The currency of the order (3-digit ISO code, e.g., "USD").',
|
||||
description: 'The currency of the order (3-digit ISO code, e.g., "USD")',
|
||||
},
|
||||
{
|
||||
displayName: 'Connection ID',
|
||||
name: 'connectionid',
|
||||
type: 'number',
|
||||
default: 0,
|
||||
description: 'The id of the connection from which this order originated.',
|
||||
description: 'The ID of the connection from which this order originated',
|
||||
},
|
||||
{
|
||||
displayName: 'Customer ID',
|
||||
name: 'customerid',
|
||||
type: 'number',
|
||||
default: 0,
|
||||
description: 'The id of the customer associated with this order.',
|
||||
description: 'The ID of the customer associated with this order',
|
||||
},
|
||||
{
|
||||
displayName: 'Creation Date',
|
||||
name: 'externalupdatedDate',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
description: 'The date the order was placed.',
|
||||
description: 'The date the order was placed',
|
||||
},
|
||||
{
|
||||
displayName: 'Abandoning Date',
|
||||
@@ -508,7 +508,7 @@ export const ecomOrderFields: INodeProperties[] = [
|
||||
name: 'shippingAmount',
|
||||
type: 'number',
|
||||
default: 0,
|
||||
description: 'The total shipping amount for the order in cents .',
|
||||
description: 'The total shipping amount for the order in cents',
|
||||
},
|
||||
|
||||
{
|
||||
@@ -516,35 +516,35 @@ export const ecomOrderFields: INodeProperties[] = [
|
||||
name: 'taxAmount',
|
||||
type: 'number',
|
||||
default: 0,
|
||||
description: 'The total tax amount for the order in cents.',
|
||||
description: 'The total tax amount for the order in cents',
|
||||
},
|
||||
{
|
||||
displayName: 'Discount Amount',
|
||||
name: 'discountAmount',
|
||||
type: 'number',
|
||||
default: 0,
|
||||
description: 'The total discount amount for the order in cents.',
|
||||
description: 'The total discount amount for the order in cents',
|
||||
},
|
||||
{
|
||||
displayName: 'Order URL',
|
||||
name: 'orderUrl',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The URL for the order in the external service.',
|
||||
description: 'The URL for the order in the external service',
|
||||
},
|
||||
{
|
||||
displayName: 'External updated date',
|
||||
name: 'externalUpdatedDate',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
description: 'The date the order was updated.',
|
||||
description: 'The date the order was updated',
|
||||
},
|
||||
{
|
||||
displayName: 'Shipping Method',
|
||||
name: 'shippingMethod',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The shipping method of the order.',
|
||||
description: 'The shipping method of the order',
|
||||
},
|
||||
{
|
||||
displayName: 'Order Number',
|
||||
@@ -585,49 +585,49 @@ export const ecomOrderFields: INodeProperties[] = [
|
||||
name: 'quantity',
|
||||
type: 'number',
|
||||
default: 0,
|
||||
description: 'The quantity ordered.',
|
||||
description: 'The quantity ordered',
|
||||
},
|
||||
{
|
||||
displayName: 'Product external ID',
|
||||
name: 'externalid',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The id of the product in the external service.',
|
||||
description: 'The ID of the product in the external service',
|
||||
},
|
||||
{
|
||||
displayName: 'Product Category',
|
||||
name: 'category',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The category of the product.',
|
||||
description: 'The category of the product',
|
||||
},
|
||||
{
|
||||
displayName: 'SKU',
|
||||
name: 'sku',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The SKU for the product.',
|
||||
description: 'The SKU for the product',
|
||||
},
|
||||
{
|
||||
displayName: 'Description',
|
||||
name: 'description',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The description of the product.',
|
||||
description: 'The description of the product',
|
||||
},
|
||||
{
|
||||
displayName: 'Image URL',
|
||||
name: 'imageUrl',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'An Image URL that displays an image of the product.',
|
||||
description: 'An Image URL that displays an image of the product',
|
||||
},
|
||||
{
|
||||
displayName: 'Product URL',
|
||||
name: 'productUrl',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'A URL linking to the product in your store.',
|
||||
description: 'A URL linking to the product in your store',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -653,7 +653,7 @@ export const ecomOrderFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The id of the e-commerce order.',
|
||||
description: 'The ID of the e-commerce order',
|
||||
},
|
||||
|
||||
// ----------------------------------
|
||||
@@ -674,7 +674,7 @@ export const ecomOrderFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The id of the e-commerce order.',
|
||||
description: 'The ID of the e-commerce order',
|
||||
},
|
||||
|
||||
// ----------------------------------
|
||||
|
||||
Reference in New Issue
Block a user