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:
@@ -63,7 +63,7 @@ export const fieldFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
default: false,
|
||||
description: 'Returns a list of your user contacts.',
|
||||
description: 'Whether to return all results or only up to a given limit',
|
||||
},
|
||||
{
|
||||
displayName: 'Limit',
|
||||
@@ -87,7 +87,7 @@ export const fieldFields: INodeProperties[] = [
|
||||
maxValue: 100,
|
||||
},
|
||||
default: 50,
|
||||
description: 'How many results to return.',
|
||||
description: 'Max number of results to return',
|
||||
},
|
||||
{
|
||||
displayName: 'Options',
|
||||
@@ -111,7 +111,7 @@ export const fieldFields: INodeProperties[] = [
|
||||
name: 'includeFieldPerms',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: `Set to 'true' if you'd like to get back the custom permissions for the field(s)`,
|
||||
description: 'Set to \'true\' if you\'d like to get back the custom permissions for the field(s)',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
@@ -52,7 +52,7 @@ export const fileFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The table identifier.',
|
||||
description: 'The table identifier',
|
||||
},
|
||||
{
|
||||
displayName: 'Record ID',
|
||||
@@ -71,7 +71,7 @@ export const fileFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The unique identifier of the record.',
|
||||
description: 'The unique identifier of the record',
|
||||
},
|
||||
{
|
||||
displayName: 'Field ID',
|
||||
@@ -90,7 +90,7 @@ export const fileFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The unique identifier of the field.',
|
||||
description: 'The unique identifier of the field',
|
||||
},
|
||||
{
|
||||
displayName: 'Version Number',
|
||||
@@ -109,7 +109,7 @@ export const fileFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The file attachment version number.',
|
||||
description: 'The file attachment version number',
|
||||
},
|
||||
{
|
||||
displayName: 'Binary Property',
|
||||
@@ -126,7 +126,7 @@ export const fileFields: INodeProperties[] = [
|
||||
name: 'binaryPropertyName',
|
||||
type: 'string',
|
||||
default: 'data',
|
||||
description: 'Object property name which holds binary data.',
|
||||
description: 'Object property name which holds binary data',
|
||||
required: true,
|
||||
},
|
||||
];
|
||||
|
||||
@@ -85,7 +85,7 @@ export const recordFields: INodeProperties[] = [
|
||||
default: '',
|
||||
required: true,
|
||||
placeholder: 'Select Fields...',
|
||||
description: 'Comma-separated list of the properties which should used as columns for the new rows.',
|
||||
description: 'Comma-separated list of the properties which should used as columns for the new rows',
|
||||
},
|
||||
{
|
||||
displayName: 'Simplify Response',
|
||||
@@ -102,7 +102,7 @@ export const recordFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
default: true,
|
||||
description: 'Return a simplified version of the response instead of the raw data.',
|
||||
description: 'Return a simplified version of the response instead of the raw data',
|
||||
},
|
||||
{
|
||||
displayName: 'Options',
|
||||
@@ -132,14 +132,14 @@ export const recordFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
default: [],
|
||||
description: `Specify an array of field ids that will return data for any updates or added record. Record ID (FID 3) is always returned if any field ID is requested.`,
|
||||
description: 'Specify an array of field IDs that will return data for any updates or added record. Record ID (FID 3) is always returned if any field ID is requested.',
|
||||
},
|
||||
{
|
||||
displayName: 'Use Field IDs',
|
||||
name: 'useFieldIDs',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'Use Field IDs instead of Field Names in Columns.',
|
||||
description: 'Use Field IDs instead of Field Names in Columns',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -180,7 +180,7 @@ export const recordFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: `The filter to delete records. To delete all records specify a filter that will include all records, for example {3.GT.0} where 3 is the ID of the Record ID field.`,
|
||||
description: 'The filter to delete records. To delete all records specify a filter that will include all records, for example {3.GT.0} where 3 is the ID of the Record ID field.',
|
||||
},
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* record:getAll */
|
||||
@@ -218,7 +218,7 @@ export const recordFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
default: false,
|
||||
description: 'Returns a list of your user contacts.',
|
||||
description: 'Whether to return all results or only up to a given limit',
|
||||
},
|
||||
{
|
||||
displayName: 'Limit',
|
||||
@@ -242,7 +242,7 @@ export const recordFields: INodeProperties[] = [
|
||||
maxValue: 100,
|
||||
},
|
||||
default: 50,
|
||||
description: 'How many results to return.',
|
||||
description: 'Max number of results to return',
|
||||
},
|
||||
{
|
||||
displayName: 'Options',
|
||||
@@ -269,7 +269,7 @@ export const recordFields: INodeProperties[] = [
|
||||
loadOptionsMethod: 'getTableFields',
|
||||
},
|
||||
default: [],
|
||||
description: 'An array of field ids for the fields that should be returned in the response. If empty, the default columns on the table will be returned.',
|
||||
description: 'An array of field IDs for the fields that should be returned in the response. If empty, the default columns on the table will be returned.',
|
||||
},
|
||||
{
|
||||
displayName: 'Sort By',
|
||||
@@ -293,7 +293,7 @@ export const recordFields: INodeProperties[] = [
|
||||
loadOptionsMethod: 'getTableFields',
|
||||
},
|
||||
default: '',
|
||||
description: 'The unique identifier of a field in a table.',
|
||||
description: 'The unique identifier of a field in a table',
|
||||
},
|
||||
{
|
||||
displayName: 'Order',
|
||||
@@ -314,14 +314,14 @@ export const recordFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
],
|
||||
description: `By default, queries will be sorted by the given sort fields or the default sort if the query does not provide any. Set to false to avoid sorting when the order of the data returned is not important. Returning data without sorting can improve performance.`,
|
||||
description: 'By default, queries will be sorted by the given sort fields or the default sort if the query does not provide any. Set to false to avoid sorting when the order of the data returned is not important. Returning data without sorting can improve performance.',
|
||||
},
|
||||
{
|
||||
displayName: 'Where',
|
||||
name: 'where',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The filter, using the <a href="https://help.quickbase.com/api-guide/componentsquery.html">Quick Base query language</a>, which determines the records to return.',
|
||||
description: 'The filter, using the <a href="https://help.quickbase.com/api-guide/componentsquery.html">Quick Base query language</a>, which determines the records to return',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -363,7 +363,7 @@ export const recordFields: INodeProperties[] = [
|
||||
default: '',
|
||||
required: true,
|
||||
placeholder: 'id,name,description',
|
||||
description: 'Comma-separated list of the properties which should used as columns for the new rows.',
|
||||
description: 'Comma-separated list of the properties which should used as columns for the new rows',
|
||||
},
|
||||
{
|
||||
displayName: 'Update Key',
|
||||
@@ -380,7 +380,7 @@ export const recordFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
description: 'update can use the key field on the table, or any other supported unique field.',
|
||||
description: 'update can use the key field on the table, or any other supported unique field',
|
||||
},
|
||||
{
|
||||
displayName: 'Simplify Response',
|
||||
@@ -397,7 +397,7 @@ export const recordFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
default: true,
|
||||
description: 'Return a simplified version of the response instead of the raw data.',
|
||||
description: 'Return a simplified version of the response instead of the raw data',
|
||||
},
|
||||
{
|
||||
displayName: 'Options',
|
||||
@@ -427,14 +427,14 @@ export const recordFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
default: [],
|
||||
description: `Specify an array of field ids that will return data for any updates or added record. Record ID (FID 3) is always returned if any field ID is requested.`,
|
||||
description: 'Specify an array of field IDs that will return data for any updates or added record. Record ID (FID 3) is always returned if any field ID is requested.',
|
||||
},
|
||||
{
|
||||
displayName: 'Use Field IDs',
|
||||
name: 'useFieldIDs',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'Use Field IDs instead of Field Names in Columns.',
|
||||
description: 'Use Field IDs instead of Field Names in Columns',
|
||||
},
|
||||
// {
|
||||
// displayName: 'Merge Field ID',
|
||||
@@ -488,7 +488,7 @@ export const recordFields: INodeProperties[] = [
|
||||
default: '',
|
||||
required: true,
|
||||
placeholder: 'id,name,description',
|
||||
description: 'Comma-separated list of the properties which should used as columns for the new rows.',
|
||||
description: 'Comma-separated list of the properties which should used as columns for the new rows',
|
||||
},
|
||||
{
|
||||
displayName: 'Update Key',
|
||||
@@ -505,7 +505,7 @@ export const recordFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
description: 'update can use the key field on the table, or any other supported unique field.',
|
||||
description: 'update can use the key field on the table, or any other supported unique field',
|
||||
},
|
||||
{
|
||||
displayName: 'Merge Field ID',
|
||||
@@ -525,7 +525,7 @@ export const recordFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
description: `<p>You're updating records in a Quick Base table with data from an external file. In order for a merge like this to work, Quick Base needs a way to match records in the source data with corresponding records in the destination table.</p><p>You make this possible by choosing the field in the app table that holds unique matching values. This is called a merge field.</p>`,
|
||||
description: '<p>You\'re updating records in a Quick Base table with data from an external file. In order for a merge like this to work, Quick Base needs a way to match records in the source data with corresponding records in the destination table.</p><p>You make this possible by choosing the field in the app table that holds unique matching values. This is called a merge field.</p>',
|
||||
},
|
||||
{
|
||||
displayName: 'Simplify Response',
|
||||
@@ -542,7 +542,7 @@ export const recordFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
default: true,
|
||||
description: 'Return a simplified version of the response instead of the raw data.',
|
||||
description: 'Return a simplified version of the response instead of the raw data',
|
||||
},
|
||||
{
|
||||
displayName: 'Options',
|
||||
@@ -572,14 +572,14 @@ export const recordFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
default: [],
|
||||
description: `Specify an array of field ids that will return data for any updates or added record. Record ID (FID 3) is always returned if any field ID is requested.`,
|
||||
description: 'Specify an array of field IDs that will return data for any updates or added record. Record ID (FID 3) is always returned if any field ID is requested.',
|
||||
},
|
||||
{
|
||||
displayName: 'Use Field IDs',
|
||||
name: 'useFieldIDs',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'Use Field IDs instead of Field Names in Columns.',
|
||||
description: 'Use Field IDs instead of Field Names in Columns',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
@@ -51,7 +51,7 @@ export const reportFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The table identifier.',
|
||||
description: 'The table identifier',
|
||||
},
|
||||
{
|
||||
displayName: 'Report ID',
|
||||
@@ -69,7 +69,7 @@ export const reportFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The identifier of the report, unique to the table.',
|
||||
description: 'The identifier of the report, unique to the table',
|
||||
},
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* report:run */
|
||||
@@ -90,7 +90,7 @@ export const reportFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The table identifier.',
|
||||
description: 'The table identifier',
|
||||
},
|
||||
{
|
||||
displayName: 'Report ID',
|
||||
@@ -108,7 +108,7 @@ export const reportFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The identifier of the report, unique to the table.',
|
||||
description: 'The identifier of the report, unique to the table',
|
||||
},
|
||||
{
|
||||
displayName: 'Return All',
|
||||
@@ -125,7 +125,7 @@ export const reportFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
default: true,
|
||||
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',
|
||||
@@ -151,6 +151,6 @@ export const reportFields: INodeProperties[] = [
|
||||
maxValue: 100,
|
||||
},
|
||||
default: 100,
|
||||
description: 'Number of results to return.',
|
||||
description: 'Max number of results to return',
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user