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:
@@ -51,7 +51,7 @@ export const collectionFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
required: true,
|
||||
description: 'Name of the collection to operate on.',
|
||||
description: 'Name of the collection to operate on',
|
||||
},
|
||||
|
||||
// Collection:entry:getAll
|
||||
@@ -70,7 +70,7 @@ export const collectionFields: 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',
|
||||
@@ -94,7 +94,7 @@ export const collectionFields: INodeProperties[] = [
|
||||
maxValue: 500,
|
||||
},
|
||||
default: 100,
|
||||
description: 'How many results to return.',
|
||||
description: 'Max number of results to return',
|
||||
},
|
||||
{
|
||||
displayName: 'Options',
|
||||
@@ -122,7 +122,7 @@ export const collectionFields: INodeProperties[] = [
|
||||
alwaysOpenEditWindow: true,
|
||||
},
|
||||
placeholder: '_id,name',
|
||||
description: 'Comma-separated list of fields to get.',
|
||||
description: 'Comma-separated list of fields to get',
|
||||
},
|
||||
{
|
||||
displayName: 'Filter Query',
|
||||
@@ -133,14 +133,14 @@ export const collectionFields: INodeProperties[] = [
|
||||
alwaysOpenEditWindow: true,
|
||||
},
|
||||
placeholder: '{"name": "Jim"}',
|
||||
description: 'Filter query in <a href="https://jeroen.github.io/mongolite/query-data.html">Mongolite format</a>.',
|
||||
description: 'Filter query in <a href="https://jeroen.github.io/mongolite/query-data.html">Mongolite format</a>',
|
||||
},
|
||||
{
|
||||
displayName: 'Language',
|
||||
name: 'language',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Return normalized language fields.',
|
||||
description: 'Return normalized language fields',
|
||||
},
|
||||
{
|
||||
displayName: 'Populate',
|
||||
@@ -148,21 +148,21 @@ export const collectionFields: INodeProperties[] = [
|
||||
type: 'boolean',
|
||||
required: true,
|
||||
default: true,
|
||||
description: 'Resolve linked collection items.',
|
||||
description: 'Resolve linked collection items',
|
||||
},
|
||||
{
|
||||
displayName: 'RAW Data',
|
||||
name: 'rawData',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: `Returns the data exactly in the way it got received from the API.`,
|
||||
description: 'Returns the data exactly in the way it got received from the API',
|
||||
},
|
||||
{
|
||||
displayName: 'Skip',
|
||||
name: 'skip',
|
||||
type: 'number',
|
||||
default: '',
|
||||
description: 'Skip number of entries.',
|
||||
description: 'Skip number of entries',
|
||||
},
|
||||
{
|
||||
displayName: 'Sort Query',
|
||||
@@ -170,7 +170,7 @@ export const collectionFields: INodeProperties[] = [
|
||||
type: 'json',
|
||||
default: '',
|
||||
placeholder: '{"price": -1}',
|
||||
description: 'Sort query in <a href="https://jeroen.github.io/mongolite/query-data.html">Mongolite format</a>.',
|
||||
description: 'Sort query in <a href="https://jeroen.github.io/mongolite/query-data.html">Mongolite format</a>',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -212,7 +212,7 @@ export const collectionFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'If new entry fields should be set via the value-key pair UI or JSON.',
|
||||
description: 'If new entry fields should be set via the value-key pair UI or JSON',
|
||||
},
|
||||
{
|
||||
displayName: 'Entry Data',
|
||||
@@ -236,7 +236,7 @@ export const collectionFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'Entry data to send as JSON.',
|
||||
description: 'Entry data to send as JSON',
|
||||
},
|
||||
{
|
||||
displayName: 'Entry Data',
|
||||
@@ -270,18 +270,18 @@ export const collectionFields: INodeProperties[] = [
|
||||
name: 'name',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Name of the field.',
|
||||
description: 'Name of the field',
|
||||
},
|
||||
{
|
||||
displayName: 'Value',
|
||||
name: 'value',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Value of the field.',
|
||||
description: 'Value of the field',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
description: 'Entry data to send.',
|
||||
description: 'Entry data to send',
|
||||
},
|
||||
];
|
||||
|
||||
@@ -39,7 +39,7 @@ export const formFields: INodeProperties[] = [
|
||||
},
|
||||
default: '',
|
||||
required: true,
|
||||
description: 'Name of the form to operate on.',
|
||||
description: 'Name of the form to operate on',
|
||||
},
|
||||
|
||||
// Form:submit
|
||||
@@ -58,7 +58,7 @@ export const formFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'If form fields should be set via the value-key pair UI or JSON.',
|
||||
description: 'If form fields should be set via the value-key pair UI or JSON',
|
||||
},
|
||||
{
|
||||
displayName: 'Form Data',
|
||||
@@ -81,7 +81,7 @@ export const formFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'Form data to send as JSON.',
|
||||
description: 'Form data to send as JSON',
|
||||
},
|
||||
{
|
||||
displayName: 'Form Data',
|
||||
@@ -114,18 +114,18 @@ export const formFields: INodeProperties[] = [
|
||||
name: 'name',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Name of the field.',
|
||||
description: 'Name of the field',
|
||||
},
|
||||
{
|
||||
displayName: 'Value',
|
||||
name: 'value',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Value of the field.',
|
||||
description: 'Value of the field',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
description: 'Form data to send.',
|
||||
description: 'Form data to send',
|
||||
},
|
||||
];
|
||||
|
||||
@@ -41,6 +41,6 @@ export const singletonFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
required: true,
|
||||
description: 'Name of the singleton to operate on.',
|
||||
description: 'Name of the singleton to operate on',
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user