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:
@@ -66,7 +66,7 @@ export const threadFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
required: true,
|
||||
description: 'The ID of the channel.',
|
||||
description: 'The ID of the channel',
|
||||
},
|
||||
{
|
||||
displayName: 'Title',
|
||||
@@ -84,7 +84,7 @@ export const threadFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
required: true,
|
||||
description: 'The title of the new thread (1 < length < 300).',
|
||||
description: 'The title of the new thread (1 < length < 300)',
|
||||
},
|
||||
{
|
||||
displayName: 'Content',
|
||||
@@ -102,7 +102,7 @@ export const threadFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
required: true,
|
||||
description: 'The content of the thread.',
|
||||
description: 'The content of the thread',
|
||||
},
|
||||
{
|
||||
displayName: 'Additional Fields',
|
||||
@@ -139,7 +139,7 @@ export const threadFields: INodeProperties[] = [
|
||||
displayName: 'Action',
|
||||
name: 'action',
|
||||
type: 'options',
|
||||
description: 'The action of the button.',
|
||||
description: 'The action of the button',
|
||||
options: [
|
||||
{
|
||||
name: 'Open URL',
|
||||
@@ -160,7 +160,7 @@ export const threadFields: INodeProperties[] = [
|
||||
displayName: 'Button Text',
|
||||
name: 'button_text',
|
||||
type: 'string',
|
||||
description: 'The text for the action button.',
|
||||
description: 'The text for the action button',
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
@@ -175,7 +175,7 @@ export const threadFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The text for the action button.',
|
||||
description: 'The text for the action button',
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
@@ -202,7 +202,7 @@ export const threadFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'URL to redirect.',
|
||||
description: 'URL to redirect',
|
||||
default: '',
|
||||
},
|
||||
],
|
||||
@@ -227,7 +227,7 @@ export const threadFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
default: [],
|
||||
description: 'The users that are directly mentioned.',
|
||||
description: 'The users that are directly mentioned',
|
||||
},
|
||||
{
|
||||
displayName: 'Recipients',
|
||||
@@ -240,21 +240,21 @@ export const threadFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
default: [],
|
||||
description: 'The users that will attached to the thread.',
|
||||
description: 'The users that will attached to the thread',
|
||||
},
|
||||
{
|
||||
displayName: 'Send as integration',
|
||||
name: 'send_as_integration',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'Displays the integration as the thread creator.',
|
||||
description: 'Displays the integration as the thread creator',
|
||||
},
|
||||
{
|
||||
displayName: 'Temporary ID',
|
||||
name: 'temp_id',
|
||||
type: 'number',
|
||||
default: 0,
|
||||
description: 'The temporary ID of the thread.',
|
||||
description: 'The temporary ID of the thread',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -278,7 +278,7 @@ export const threadFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
required: true,
|
||||
description: 'The ID of the thread.',
|
||||
description: 'The ID of the thread',
|
||||
},
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* thread:getAll */
|
||||
@@ -299,7 +299,7 @@ export const threadFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
required: true,
|
||||
description: 'The ID of the channel.',
|
||||
description: 'The ID of the channel',
|
||||
},
|
||||
{
|
||||
displayName: 'Return All',
|
||||
@@ -316,7 +316,7 @@ export const threadFields: 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',
|
||||
@@ -340,7 +340,7 @@ export const threadFields: INodeProperties[] = [
|
||||
maxValue: 100,
|
||||
},
|
||||
default: 50,
|
||||
description: 'How many results to return.',
|
||||
description: 'Max number of results to return',
|
||||
},
|
||||
{
|
||||
displayName: 'Filters',
|
||||
@@ -364,7 +364,7 @@ export const threadFields: INodeProperties[] = [
|
||||
name: 'as_ids',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'If enabled, only the IDs of the threads are returned.',
|
||||
description: 'If enabled, only the IDs of the threads are returned',
|
||||
},
|
||||
{
|
||||
displayName: 'Filter By',
|
||||
@@ -385,21 +385,21 @@ export const threadFields: INodeProperties[] = [
|
||||
},
|
||||
],
|
||||
default: '',
|
||||
description: 'A filter can be one of <code>attached_to_me</code>, <code>everyone</code> and <code>is_starred</code>.',
|
||||
description: 'A filter can be one of <code>attached_to_me</code>, <code>everyone</code> and <code>is_starred</code>',
|
||||
},
|
||||
{
|
||||
displayName: 'Newer Than',
|
||||
name: 'newer_than_ts',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
description: 'Limits threads to those newer when the specified Unix time.',
|
||||
description: 'Limits threads to those newer when the specified Unix time',
|
||||
},
|
||||
{
|
||||
displayName: 'Older Than',
|
||||
name: 'older_than_ts',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
description: 'Limits threads to those older than the specified Unix time.',
|
||||
description: 'Limits threads to those older than the specified Unix time',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -423,7 +423,7 @@ export const threadFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
required: true,
|
||||
description: 'The ID of the thread.',
|
||||
description: 'The ID of the thread',
|
||||
},
|
||||
{
|
||||
displayName: 'Update Fields',
|
||||
@@ -460,7 +460,7 @@ export const threadFields: INodeProperties[] = [
|
||||
displayName: 'Action',
|
||||
name: 'action',
|
||||
type: 'options',
|
||||
description: 'The action of the button.',
|
||||
description: 'The action of the button',
|
||||
options: [
|
||||
{
|
||||
name: 'Open URL',
|
||||
@@ -481,7 +481,7 @@ export const threadFields: INodeProperties[] = [
|
||||
displayName: 'Button Text',
|
||||
name: 'button_text',
|
||||
type: 'string',
|
||||
description: 'The text for the action button.',
|
||||
description: 'The text for the action button',
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
@@ -496,7 +496,7 @@ export const threadFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The text for the action button.',
|
||||
description: 'The text for the action button',
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
@@ -523,7 +523,7 @@ export const threadFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'URL to redirect.',
|
||||
description: 'URL to redirect',
|
||||
default: '',
|
||||
},
|
||||
],
|
||||
@@ -542,7 +542,7 @@ export const threadFields: INodeProperties[] = [
|
||||
name: 'content',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The content of the thread.',
|
||||
description: 'The content of the thread',
|
||||
},
|
||||
{
|
||||
displayName: 'Direct Mentions',
|
||||
@@ -555,14 +555,14 @@ export const threadFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
default: [],
|
||||
description: 'The users that are directly mentioned.',
|
||||
description: 'The users that are directly mentioned',
|
||||
},
|
||||
{
|
||||
displayName: 'Title',
|
||||
name: 'title',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The title of the thread (1 < length < 300).',
|
||||
description: 'The title of the thread (1 < length < 300)',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user