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:
Iván Ovejero
2022-05-06 23:01:25 +02:00
committed by GitHub
parent 1ef10dd23f
commit 63b6c9f128
689 changed files with 6828 additions and 6935 deletions

View File

@@ -88,14 +88,14 @@ export const orderFields: INodeProperties[] = [
typeOptions: {
alwaysOpenEditWindow: true,
},
description: 'Note left by customer during checkout.',
description: 'Note left by customer during checkout',
},
{
displayName: 'Parent ID',
name: 'parentId',
type: 'string',
default: '',
description: 'Parent order ID.',
description: 'Parent order ID',
},
{
displayName: 'Payment Method ID',
@@ -155,7 +155,7 @@ export const orderFields: INodeProperties[] = [
},
],
default: 'pending',
description: 'A named status for the order.',
description: 'A named status for the order',
},
{
displayName: 'Transaction ID',
@@ -226,7 +226,7 @@ export const orderFields: INodeProperties[] = [
name: 'city',
type: 'string',
default: '',
description: 'ISO code or name of the state, province or district.',
description: 'ISO code or name of the state, province or district',
},
{
displayName: 'Postal Code',
@@ -286,7 +286,7 @@ export const orderFields: INodeProperties[] = [
name: 'code',
type: 'string',
default: '',
description: 'Coupon code.',
description: 'Coupon code',
},
{
displayName: 'Metadata',
@@ -308,14 +308,14 @@ export const orderFields: 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',
},
],
},
@@ -361,7 +361,7 @@ export const orderFields: INodeProperties[] = [
displayName: 'Tax Class ',
name: 'taxClass',
type: 'string',
description: 'Tax class of fee.',
description: 'Tax class of fee',
default: '',
},
{
@@ -379,14 +379,14 @@ export const orderFields: INodeProperties[] = [
},
],
default: '',
description: 'Tax class of fee.',
description: 'Tax class of fee',
},
{
displayName: 'Total ',
name: 'total',
type: 'string',
default: '',
description: 'Line total (after discounts).',
description: 'Line total (after discounts)',
},
{
displayName: 'Metadata',
@@ -408,14 +408,14 @@ export const orderFields: 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',
},
],
},
@@ -455,7 +455,7 @@ export const orderFields: INodeProperties[] = [
name: 'name',
type: 'string',
default: '',
description: 'Product name.',
description: 'Product name',
},
{
displayName: 'Product ID',
@@ -468,35 +468,35 @@ export const orderFields: INodeProperties[] = [
name: 'variationId',
type: 'number',
default: 0,
description: 'Variation ID, if applicable.',
description: 'Variation ID, if applicable',
},
{
displayName: 'Quantity',
name: 'quantity',
type: 'number',
default: 1,
description: 'Quantity ordered.',
description: 'Quantity ordered',
},
{
displayName: 'Tax Class',
name: 'taxClass',
type: 'string',
default: '',
description: 'Slug of the tax class of product.',
description: 'Slug of the tax class of product',
},
{
displayName: 'Subtotal',
name: 'subtotal',
type: 'string',
default: '',
description: 'Line subtotal (before discounts).',
description: 'Line subtotal (before discounts)',
},
{
displayName: 'Total',
name: 'total',
type: 'string',
default: '',
description: 'Line total (after discounts).',
description: 'Line total (after discounts)',
},
{
displayName: 'Metadata',
@@ -518,14 +518,14 @@ export const orderFields: 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',
},
],
},
@@ -565,14 +565,14 @@ export const orderFields: 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',
},
],
},
@@ -638,7 +638,7 @@ export const orderFields: INodeProperties[] = [
name: 'city',
type: 'string',
default: '',
description: 'ISO code or name of the state, province or district.',
description: 'ISO code or name of the state, province or district',
},
{
displayName: 'Postal Code',
@@ -692,7 +692,7 @@ export const orderFields: INodeProperties[] = [
displayName: 'Method ID ',
name: 'method ID',
type: 'string',
description: 'Shipping method ID.',
description: 'Shipping method ID',
default: '',
},
{
@@ -700,7 +700,7 @@ export const orderFields: INodeProperties[] = [
name: 'total',
type: 'string',
default: '',
description: 'Line total (after discounts).',
description: 'Line total (after discounts)',
},
{
displayName: 'Metadata',
@@ -722,14 +722,14 @@ export const orderFields: 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',
},
],
},
@@ -797,14 +797,14 @@ export const orderFields: INodeProperties[] = [
typeOptions: {
alwaysOpenEditWindow: true,
},
description: 'Note left by customer during checkout.',
description: 'Note left by customer during checkout',
},
{
displayName: 'Parent ID',
name: 'parentId',
type: 'string',
default: '',
description: 'Parent order ID.',
description: 'Parent order ID',
},
{
displayName: 'Payment Method ID',
@@ -857,7 +857,7 @@ export const orderFields: INodeProperties[] = [
},
],
default: 'pending',
description: 'A named status for the order.',
description: 'A named status for the order',
},
{
displayName: 'Transaction ID',
@@ -928,7 +928,7 @@ export const orderFields: INodeProperties[] = [
name: 'city',
type: 'string',
default: '',
description: 'ISO code or name of the state, province or district.',
description: 'ISO code or name of the state, province or district',
},
{
displayName: 'Postal Code',
@@ -988,7 +988,7 @@ export const orderFields: INodeProperties[] = [
name: 'code',
type: 'string',
default: '',
description: 'Coupon code.',
description: 'Coupon code',
},
{
displayName: 'Metadata',
@@ -1010,14 +1010,14 @@ export const orderFields: 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',
},
],
},
@@ -1063,7 +1063,7 @@ export const orderFields: INodeProperties[] = [
displayName: 'Tax Class ',
name: 'taxClass',
type: 'string',
description: 'Tax class of fee.',
description: 'Tax class of fee',
default: '',
},
{
@@ -1081,14 +1081,14 @@ export const orderFields: INodeProperties[] = [
},
],
default: '',
description: 'Tax class of fee.',
description: 'Tax class of fee',
},
{
displayName: 'Total ',
name: 'total',
type: 'string',
default: '',
description: 'Line total (after discounts).',
description: 'Line total (after discounts)',
},
{
displayName: 'Metadata',
@@ -1110,14 +1110,14 @@ export const orderFields: 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',
},
],
},
@@ -1157,7 +1157,7 @@ export const orderFields: INodeProperties[] = [
name: 'name',
type: 'string',
default: '',
description: 'Product name.',
description: 'Product name',
},
{
displayName: 'Product ID',
@@ -1170,35 +1170,35 @@ export const orderFields: INodeProperties[] = [
name: 'variationId',
type: 'number',
default: 0,
description: 'Variation ID, if applicable.',
description: 'Variation ID, if applicable',
},
{
displayName: 'Quantity',
name: 'quantity',
type: 'number',
default: 1,
description: 'Quantity ordered.',
description: 'Quantity ordered',
},
{
displayName: 'Tax Class',
name: 'taxClass',
type: 'string',
default: '',
description: 'Slug of the tax class of product.',
description: 'Slug of the tax class of product',
},
{
displayName: 'Subtotal',
name: 'subtotal',
type: 'string',
default: '',
description: 'Line subtotal (before discounts).',
description: 'Line subtotal (before discounts)',
},
{
displayName: 'Total',
name: 'total',
type: 'string',
default: '',
description: 'Line total (after discounts).',
description: 'Line total (after discounts)',
},
{
displayName: 'Metadata',
@@ -1220,14 +1220,14 @@ export const orderFields: 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',
},
],
},
@@ -1267,14 +1267,14 @@ export const orderFields: 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',
},
],
},
@@ -1340,7 +1340,7 @@ export const orderFields: INodeProperties[] = [
name: 'city',
type: 'string',
default: '',
description: 'ISO code or name of the state, province or district.',
description: 'ISO code or name of the state, province or district',
},
{
displayName: 'Postal Code',
@@ -1394,7 +1394,7 @@ export const orderFields: INodeProperties[] = [
displayName: 'Method ID ',
name: 'method ID',
type: 'string',
description: 'Shipping method ID.',
description: 'Shipping method ID',
default: '',
},
{
@@ -1402,7 +1402,7 @@ export const orderFields: INodeProperties[] = [
name: 'total',
type: 'string',
default: '',
description: 'Line total (after discounts).',
description: 'Line total (after discounts)',
},
{
displayName: 'Metadata',
@@ -1424,14 +1424,14 @@ export const orderFields: 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',
},
],
},
@@ -1478,7 +1478,7 @@ export const orderFields: 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',
@@ -1502,7 +1502,7 @@ export const orderFields: INodeProperties[] = [
maxValue: 100,
},
default: 50,
description: 'How many results to return.',
description: 'Max number of results to return',
},
{
displayName: 'Options',
@@ -1526,7 +1526,7 @@ export const orderFields: INodeProperties[] = [
name: 'after',
type: 'dateTime',
default: '',
description: 'Limit response to resources published after a given ISO8601 compliant date.',
description: 'Limit response to resources published after a given ISO8601 compliant date',
},
{
displayName: 'Before',
@@ -1540,7 +1540,7 @@ export const orderFields: INodeProperties[] = [
name: 'customer',
type: 'string',
default: '',
description: 'Limit result set to orders assigned a specific customer.',
description: 'Limit result set to orders assigned a specific customer',
},
{
displayName: 'Decimal Points',
@@ -1551,7 +1551,7 @@ export const orderFields: INodeProperties[] = [
maxValue: 10,
},
default: 2,
description: 'Number of decimal points to use in each resource.',
description: 'Number of decimal points to use in each resource',
},
{
displayName: 'Order',
@@ -1568,14 +1568,14 @@ export const orderFields: INodeProperties[] = [
},
],
default: 'desc',
description: 'Order sort attribute ascending or descending.',
description: 'Order sort attribute ascending or descending',
},
{
displayName: 'Product',
name: 'product',
type: 'string',
default: '',
description: 'Limit result set to orders assigned a specific product.',
description: 'Limit result set to orders assigned a specific product',
},
{
displayName: 'Order By',
@@ -1604,14 +1604,14 @@ export const orderFields: INodeProperties[] = [
},
],
default: 'id',
description: 'Sort collection by object attribute.',
description: 'Sort collection by object attribute',
},
{
displayName: 'Search',
name: 'search',
type: 'string',
default: '',
description: 'Limit results to those matching a string.',
description: 'Limit results to those matching a string',
},
{
displayName: 'Status',
@@ -1656,7 +1656,7 @@ export const orderFields: INodeProperties[] = [
},
],
default: 'any',
description: 'Limit result set to orders assigned a specific status.',
description: 'Limit result set to orders assigned a specific status',
},
],
},

View File

@@ -65,7 +65,7 @@ export const productFields: INodeProperties[] = [
],
},
},
description: 'Product name.',
description: 'Product name',
},
{
displayName: 'Additional Fields',
@@ -158,14 +158,14 @@ export const productFields: INodeProperties[] = [
name: 'dateOnSaleFrom',
type: 'dateTime',
default: '',
description: `Start date of sale price, in the site's timezone.`,
description: 'Start date of sale price, in the site\'s timezone',
},
{
displayName: 'Date On Sale To',
name: 'dateOnSaleTo',
type: 'dateTime',
default: '',
description: `Ennd date of sale price, in the site's timezone.`,
description: 'Ennd date of sale price, in the site\'s timezone',
},
{
displayName: 'Description',
@@ -175,14 +175,14 @@ export const productFields: INodeProperties[] = [
alwaysOpenEditWindow: true,
},
default: '',
description: 'Product description.',
description: 'Product description',
},
{
displayName: 'Downloadable',
name: 'downloadable',
type: 'boolean',
default: false,
description: 'if the product is downloadable.',
description: 'if the product is downloadable',
},
{
displayName: 'External URL',
@@ -210,77 +210,77 @@ export const productFields: INodeProperties[] = [
name: 'menuOrder',
type: 'number',
default: 1,
description: 'Menu order, used to custom sort products.',
description: 'Menu order, used to custom sort products',
},
{
displayName: 'Parent ID',
name: 'parentId',
type: 'string',
default: '',
description: 'Product parent ID.',
description: 'Product parent ID',
},
{
displayName: 'Purchase Note',
name: 'purchaseNote',
type: 'string',
default: '',
description: 'Optional note to send the customer after purchase.',
description: 'Optional note to send the customer after purchase',
},
{
displayName: 'Regular Price',
name: 'regularPrice',
type: 'string',
default: '',
description: 'Product regular price.',
description: 'Product regular price',
},
{
displayName: 'Reviews Allowed',
name: 'reviewsAllowed',
type: 'boolean',
default: true,
description: 'Allow reviews.',
description: 'Allow reviews',
},
{
displayName: 'Sale Price',
name: 'salePrice',
type: 'string',
default: '',
description: 'Product sale price.',
description: 'Product sale price',
},
{
displayName: 'Shipping Class',
name: 'shippingClass',
type: 'string',
default: '',
description: 'Shipping class slug.',
description: 'Shipping class slug',
},
{
displayName: 'Short Description',
name: 'shortDescription',
type: 'string',
default: '',
description: 'Product short description.',
description: 'Product short description',
},
{
displayName: 'SKU',
name: 'sku',
type: 'string',
default: '',
description: 'Unique identifier.',
description: 'Unique identifier',
},
{
displayName: 'Slug',
name: 'slug',
type: 'string',
default: '',
description: 'Product slug.',
description: 'Product slug',
},
{
displayName: 'Sold Individually',
name: 'soldIndividually',
type: 'boolean',
default: false,
description: 'Allow one item to be bought in a single order.',
description: 'Allow one item to be bought in a single order',
},
{
displayName: 'Status',
@@ -305,7 +305,7 @@ export const productFields: INodeProperties[] = [
},
],
default: 'publish',
description: 'A named status for the product.',
description: 'A named status for the product',
},
{
displayName: 'Stock Quantity',
@@ -407,14 +407,14 @@ export const productFields: INodeProperties[] = [
name: 'virtual',
type: 'boolean',
default: false,
description: 'If the product is virtual.',
description: 'If the product is virtual',
},
{
displayName: 'Weight',
name: 'weight',
type: 'string',
default: '',
description: 'Product weight.',
description: 'Product weight',
},
],
},
@@ -448,21 +448,21 @@ export const productFields: INodeProperties[] = [
name: 'height',
type: 'string',
default: '',
description: 'Product height.',
description: 'Product height',
},
{
displayName: 'Length',
name: 'length',
type: 'string',
default: '',
description: 'Product length.',
description: 'Product length',
},
{
displayName: 'Width',
name: 'width',
type: 'string',
default: '',
description: 'Product width.',
description: 'Product width',
},
],
},
@@ -498,21 +498,21 @@ export const productFields: INodeProperties[] = [
name: 'alt',
type: 'string',
default: '',
description: 'Image alternative text.',
description: 'Image alternative text',
},
{
displayName: 'Src',
name: 'src',
type: 'string',
default: '',
description: 'Image URL.',
description: 'Image URL',
},
{
displayName: 'Name',
name: 'name',
type: 'string',
default: '',
description: 'Image name.',
description: 'Image name',
},
],
},
@@ -548,14 +548,14 @@ export const productFields: 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',
},
],
},
@@ -671,14 +671,14 @@ export const productFields: INodeProperties[] = [
name: 'dateOnSaleFrom',
type: 'dateTime',
default: '',
description: `Start date of sale price, in the site's timezone.`,
description: 'Start date of sale price, in the site\'s timezone',
},
{
displayName: 'Date On Sale To',
name: 'dateOnSaleTo',
type: 'dateTime',
default: '',
description: `Ennd date of sale price, in the site's timezone.`,
description: 'Ennd date of sale price, in the site\'s timezone',
},
{
displayName: 'Description',
@@ -688,14 +688,14 @@ export const productFields: INodeProperties[] = [
alwaysOpenEditWindow: true,
},
default: '',
description: 'Product description.',
description: 'Product description',
},
{
displayName: 'Downloadable',
name: 'downloadable',
type: 'boolean',
default: false,
description: 'if the product is downloadable.',
description: 'if the product is downloadable',
},
{
displayName: 'External URL',
@@ -723,84 +723,84 @@ export const productFields: INodeProperties[] = [
name: 'menuOrder',
type: 'number',
default: 1,
description: 'Menu order, used to custom sort products.',
description: 'Menu order, used to custom sort products',
},
{
displayName: 'Name',
name: 'name',
type: 'string',
default: '',
description: 'Product name.',
description: 'Product name',
},
{
displayName: 'Parent ID',
name: 'parentId',
type: 'string',
default: '',
description: 'Product parent ID.',
description: 'Product parent ID',
},
{
displayName: 'Purchase Note',
name: 'purchaseNote',
type: 'string',
default: '',
description: 'Optional note to send the customer after purchase.',
description: 'Optional note to send the customer after purchase',
},
{
displayName: 'Regular Price',
name: 'regularPrice',
type: 'string',
default: '',
description: 'Product regular price.',
description: 'Product regular price',
},
{
displayName: 'Reviews Allowed',
name: 'reviewsAllowed',
type: 'boolean',
default: true,
description: 'Allow reviews.',
description: 'Allow reviews',
},
{
displayName: 'Sale Price',
name: 'salePrice',
type: 'string',
default: '',
description: 'Product sale price.',
description: 'Product sale price',
},
{
displayName: 'Shipping Class',
name: 'shippingClass',
type: 'string',
default: '',
description: 'Shipping class slug.',
description: 'Shipping class slug',
},
{
displayName: 'Short Description',
name: 'shortDescription',
type: 'string',
default: '',
description: 'Product short description.',
description: 'Product short description',
},
{
displayName: 'SKU',
name: 'sku',
type: 'string',
default: '',
description: 'Unique identifier.',
description: 'Unique identifier',
},
{
displayName: 'Slug',
name: 'slug',
type: 'string',
default: '',
description: 'Product slug.',
description: 'Product slug',
},
{
displayName: 'Sold Individually',
name: 'soldIndividually',
type: 'boolean',
default: false,
description: 'Allow one item to be bought in a single order.',
description: 'Allow one item to be bought in a single order',
},
{
displayName: 'Status',
@@ -825,7 +825,7 @@ export const productFields: INodeProperties[] = [
},
],
default: 'publish',
description: 'A named status for the product.',
description: 'A named status for the product',
},
{
displayName: 'Stock Quantity',
@@ -927,14 +927,14 @@ export const productFields: INodeProperties[] = [
name: 'virtual',
type: 'boolean',
default: false,
description: 'If the product is virtual.',
description: 'If the product is virtual',
},
{
displayName: 'Weight',
name: 'weight',
type: 'string',
default: '',
description: 'Product weight.',
description: 'Product weight',
},
],
},
@@ -968,21 +968,21 @@ export const productFields: INodeProperties[] = [
name: 'height',
type: 'string',
default: '',
description: 'Product height.',
description: 'Product height',
},
{
displayName: 'Length',
name: 'length',
type: 'string',
default: '',
description: 'Product length.',
description: 'Product length',
},
{
displayName: 'Width',
name: 'width',
type: 'string',
default: '',
description: 'Product width.',
description: 'Product width',
},
],
},
@@ -1018,21 +1018,21 @@ export const productFields: INodeProperties[] = [
name: 'alt',
type: 'string',
default: '',
description: 'Image alternative text.',
description: 'Image alternative text',
},
{
displayName: 'Src',
name: 'src',
type: 'string',
default: '',
description: 'Image URL.',
description: 'Image URL',
},
{
displayName: 'Name',
name: 'name',
type: 'string',
default: '',
description: 'Image name.',
description: 'Image name',
},
],
},
@@ -1068,14 +1068,14 @@ export const productFields: 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',
},
],
},
@@ -1118,7 +1118,7 @@ export const productFields: 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',
@@ -1142,7 +1142,7 @@ export const productFields: INodeProperties[] = [
maxValue: 100,
},
default: 50,
description: 'How many results to return.',
description: 'Max number of results to return',
},
{
displayName: 'Options',
@@ -1166,7 +1166,7 @@ export const productFields: INodeProperties[] = [
name: 'after',
type: 'dateTime',
default: '',
description: 'Limit response to resources published after a given ISO8601 compliant date.',
description: 'Limit response to resources published after a given ISO8601 compliant date',
},
{
displayName: 'Before',
@@ -1183,7 +1183,7 @@ export const productFields: INodeProperties[] = [
typeOptions: {
loadOptionsMethod: 'getCategories',
},
description: 'Limit result set to products assigned a specific category ID.',
description: 'Limit result set to products assigned a specific category ID',
},
{
displayName: 'Context',
@@ -1204,28 +1204,28 @@ export const productFields: INodeProperties[] = [
},
],
default: 'view',
description: 'Scope under which the request is made; determines fields present in response.',
description: 'Scope under which the request is made; determines fields present in response',
},
{
displayName: 'Featured',
name: 'featured',
type: 'boolean',
default: false,
description: 'Limit result set to featured products.',
description: 'Limit result set to featured products',
},
{
displayName: 'Max Price',
name: 'maxPrice',
type: 'string',
default: '',
description: 'Limit result set to products based on a maximun price.',
description: 'Limit result set to products based on a maximun price',
},
{
displayName: 'Min Price',
name: 'minPrice',
type: 'string',
default: '',
description: 'Limit result set to products based on a minimum price.',
description: 'Limit result set to products based on a minimum price',
},
{
displayName: 'Order',
@@ -1242,7 +1242,7 @@ export const productFields: INodeProperties[] = [
},
],
default: 'desc',
description: 'Order sort attribute ascending or descending.',
description: 'Order sort attribute ascending or descending',
},
{
displayName: 'Order By',
@@ -1271,28 +1271,28 @@ export const productFields: INodeProperties[] = [
},
],
default: 'id',
description: 'Sort collection by object attribute.',
description: 'Sort collection by object attribute',
},
{
displayName: 'Search',
name: 'search',
type: 'string',
default: '',
description: 'Limit results to those matching a string.',
description: 'Limit results to those matching a string',
},
{
displayName: 'SKU',
name: 'sku',
type: 'string',
default: '',
description: 'Limit result set to products with a specific SKU.',
description: 'Limit result set to products with a specific SKU',
},
{
displayName: 'Slug',
name: 'slug',
type: 'string',
default: '',
description: 'Limit result set to products with a specific slug.',
description: 'Limit result set to products with a specific slug',
},
{
displayName: 'Status',
@@ -1321,7 +1321,7 @@ export const productFields: INodeProperties[] = [
},
],
default: 'any',
description: 'Limit result set to products assigned a specific status.',
description: 'Limit result set to products assigned a specific status',
},
{
displayName: 'Stock Status',
@@ -1352,7 +1352,7 @@ export const productFields: INodeProperties[] = [
typeOptions: {
loadOptionsMethod: 'getTags',
},
description: 'Limit result set to products assigned a specific tag ID.',
description: 'Limit result set to products assigned a specific tag ID',
},
{
displayName: 'Tax Class',

View File

@@ -103,7 +103,7 @@ export class WooCommerceTrigger implements INodeType {
value: 'product.deleted',
},
],
description: 'Determines which resource events the webhook is triggered for.',
description: 'Determines which resource events the webhook is triggered for',
},
],

View File

@@ -142,7 +142,7 @@ export const customerFields: INodeProperties[] = [
name: 'limit',
type: 'number',
default: 50,
description: 'How many results to return',
description: 'Max number of results to return',
typeOptions: {
minValue: 1,
},