From b427900cecc5df242f8b124aa57a5ef015cf6b52 Mon Sep 17 00:00:00 2001 From: agobrech <45268029+agobrech@users.noreply.github.com> Date: Fri, 22 Apr 2022 16:26:53 +0200 Subject: [PATCH] :shirt: Apply `node-param-description-excess-inner-whitespace` (#3191) * Rule looks good * Add whitespace rule in eslint config --- .eslintrc.js | 1 + .../nodes/Clearbit/Clearbit.node.ts | 3 +- .../nodes/ClickUp/TaskDescription.ts | 4 +- .../nodes/Clockify/ProjectDescription.ts | 2 +- .../nodes-base/nodes/Coda/TableDescription.ts | 15 ++------ .../nodes/FormIo/FormIoTrigger.node.ts | 4 +- .../nodes/Freshdesk/Freshdesk.node.ts | 12 ++---- .../nodes/Google/Drive/GoogleDrive.node.ts | 24 +++--------- .../HelpScout/ConversationDescription.ts | 3 +- .../nodes/Hubspot/DealDescription.ts | 3 +- .../nodes-base/nodes/Jira/IssueDescription.ts | 16 +++----- .../nodes/Mailchimp/Mailchimp.node.ts | 3 +- .../nodes/Mautic/ContactDescription.ts | 3 +- .../Microsoft/OneDrive/FileDescription.ts | 3 +- .../Microsoft/OneDrive/FolderDescription.ts | 3 +- packages/nodes-base/nodes/Notion/Blocks.ts | 3 +- .../nodes/Notion/DatabasePageDescription.ts | 9 ++--- .../nodes/OneSimpleApi/OneSimpleApi.node.ts | 6 +-- .../nodes/PagerDuty/IncidentDescription.ts | 3 +- .../nodes/Salesforce/ContactDescription.ts | 6 +-- .../nodes/Salesforce/LeadDescription.ts | 6 +-- .../nodes/Salesforce/TaskDescription.ts | 38 +++++-------------- .../nodes/SendGrid/ContactDescription.ts | 2 +- .../nodes/Shopify/ProductDescription.ts | 3 +- .../nodes-base/nodes/Signl4/Signl4.node.ts | 3 +- .../nodes/Spontit/PushDescription.ts | 3 +- packages/nodes-base/nodes/Wait/Wait.node.ts | 7 +--- .../nodes-base/nodes/Webhook/Webhook.node.ts | 4 +- 28 files changed, 58 insertions(+), 134 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index afb047923f..d8cd0baa6b 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -385,6 +385,7 @@ module.exports = { "n8n-nodes-base/node-param-collection-type-unsorted-items": "error", "n8n-nodes-base/node-param-default-wrong-for-fixed-collection": "error", "n8n-nodes-base/node-param-default-wrong-for-multi-options": "error", + "n8n-nodes-base/node-param-description-excess-inner-whitespace": "error", "n8n-nodes-base/node-param-description-empty-string": "error", "n8n-nodes-base/node-param-description-comma-separated-hyphen": "error", "n8n-nodes-base/node-param-default-wrong-for-simplify": "error", diff --git a/packages/nodes-base/nodes/Clearbit/Clearbit.node.ts b/packages/nodes-base/nodes/Clearbit/Clearbit.node.ts index 748912ea2b..2e63669a42 100644 --- a/packages/nodes-base/nodes/Clearbit/Clearbit.node.ts +++ b/packages/nodes-base/nodes/Clearbit/Clearbit.node.ts @@ -57,8 +57,7 @@ export class Clearbit implements INodeType { { name: 'Person', value: 'person', - description: `The Person API lets you retrieve social information associated with an email address, - such as a person’s name, location and Twitter handle.`, + description: 'The Person API lets you retrieve social information associated with an email address, such as a person’s name, location and Twitter handle.', }, ], default: 'company', diff --git a/packages/nodes-base/nodes/ClickUp/TaskDescription.ts b/packages/nodes-base/nodes/ClickUp/TaskDescription.ts index 4b8b5e4b68..c22958474b 100644 --- a/packages/nodes-base/nodes/ClickUp/TaskDescription.ts +++ b/packages/nodes-base/nodes/ClickUp/TaskDescription.ts @@ -1063,9 +1063,7 @@ export const taskFields: INodeProperties[] = [ }, }, default: false, - description: `The value is JSON and will be parsed as such. Is needed - if for example needed for labels which expects the value - to be an array.`, + description: 'The value is JSON and will be parsed as such. Is needed if for example needed for labels which expects the value to be an array.', }, { displayName: 'Value', diff --git a/packages/nodes-base/nodes/Clockify/ProjectDescription.ts b/packages/nodes-base/nodes/Clockify/ProjectDescription.ts index 90b60fb1eb..ac2c9bd426 100644 --- a/packages/nodes-base/nodes/Clockify/ProjectDescription.ts +++ b/packages/nodes-base/nodes/Clockify/ProjectDescription.ts @@ -295,7 +295,7 @@ export const projectFields: INodeProperties[] = [ name: 'contains-client', type: 'boolean', default: false, - description: 'If provided, projects will be filtered by whether they have a client.; ', + description: 'If provided, projects will be filtered by whether they have a client.; ', }, { displayName: 'Client Status', diff --git a/packages/nodes-base/nodes/Coda/TableDescription.ts b/packages/nodes-base/nodes/Coda/TableDescription.ts index 90a5812249..259f838f59 100644 --- a/packages/nodes-base/nodes/Coda/TableDescription.ts +++ b/packages/nodes-base/nodes/Coda/TableDescription.ts @@ -133,8 +133,7 @@ export const tableFields: INodeProperties[] = [ name: 'keyColumns', type: 'string', default: '', - description: `Optional column IDs, URLs, or names (fragile and discouraged), - specifying columns to be used as upsert keys. If more than one separate by a comma (,)`, + description: 'Optional column IDs, URLs, or names (fragile and discouraged), specifying columns to be used as upsert keys. If more than one separate by a comma (,)', }, ], }, @@ -202,11 +201,7 @@ export const tableFields: INodeProperties[] = [ ], }, }, - description: `ID or name of the row. Names are discouraged because - they're easily prone to being changed by users. If you're - using a name, be sure to URI-encode it. If there are - multiple rows with the same value in the identifying column, - an arbitrary one will be selected`, + description: 'ID or name of the row. Names are discouraged because they\'re easily prone to being changed by users. If you\'re using a name, be sure to URI-encode it. If there are multiple rows with the same value in the identifying column, an arbitrary one will be selected', }, { displayName: 'Options', @@ -569,11 +564,7 @@ export const tableFields: INodeProperties[] = [ ], }, }, - description: `ID or name of the row. Names are discouraged because - they're easily prone to being changed by users. If you're - using a name, be sure to URI-encode it. If there are multiple - rows with the same value in the identifying column, an arbitrary - one will be selected`, + description: 'ID or name of the row. Names are discouraged because they\'re easily prone to being changed by users. If you\'re using a name, be sure to URI-encode it. If there are multiple rows with the same value in the identifying column, an arbitrary one will be selected', }, { displayName: 'Column', diff --git a/packages/nodes-base/nodes/FormIo/FormIoTrigger.node.ts b/packages/nodes-base/nodes/FormIo/FormIoTrigger.node.ts index efb3dfb4b3..b2c36a8b30 100644 --- a/packages/nodes-base/nodes/FormIo/FormIoTrigger.node.ts +++ b/packages/nodes-base/nodes/FormIo/FormIoTrigger.node.ts @@ -53,7 +53,7 @@ export class FormIoTrigger implements INodeType { }, required: true, default: '', - description: `Choose from the list or specify an ID. You can also specify the ID using an expression`, + description: 'Choose from the list or specify an ID. You can also specify the ID using an expression', }, { displayName: 'Form Name/ID', @@ -67,7 +67,7 @@ export class FormIoTrigger implements INodeType { }, required: true, default: '', - description: `Choose from the list or specify an ID. You can also specify the ID using an expression`, + description: 'Choose from the list or specify an ID. You can also specify the ID using an expression', }, { displayName: 'Trigger Events', diff --git a/packages/nodes-base/nodes/Freshdesk/Freshdesk.node.ts b/packages/nodes-base/nodes/Freshdesk/Freshdesk.node.ts index 577065cbd6..45a10aba6e 100644 --- a/packages/nodes-base/nodes/Freshdesk/Freshdesk.node.ts +++ b/packages/nodes-base/nodes/Freshdesk/Freshdesk.node.ts @@ -432,8 +432,7 @@ export class Freshdesk implements INodeType { name: 'emailConfigId', type: 'number', default: '', - description: `ID of email config which is used for this ticket. (i.e., support@yourcompany.com/sales@yourcompany.com) - If product_id is given and email_config_id is not given, product's primary email_config_id will be set`, + description: 'ID of email config which is used for this ticket. (i.e., support@yourcompany.com/sales@yourcompany.com) If product_id is given and email_config_id is not given, product\'s primary email_config_id will be set', }, { displayName: 'FR Due By', @@ -468,8 +467,7 @@ export class Freshdesk implements INodeType { typeOptions: { loadOptionsMethod: 'getProducts', }, - description: `ID of the product to which the ticket is associated. - It will be ignored if the email_config_id attribute is set in the request.`, + description: 'ID of the product to which the ticket is associated. It will be ignored if the email_config_id attribute is set in the request.', }, { displayName: 'Subject', @@ -665,8 +663,7 @@ export class Freshdesk implements INodeType { name: 'emailConfigId', type: 'number', default: '', - description: `ID of email config which is used for this ticket. (i.e., support@yourcompany.com/sales@yourcompany.com) - If product_id is given and email_config_id is not given, product's primary email_config_id will be set`, + description: 'ID of email config which is used for this ticket. (i.e., support@yourcompany.com/sales@yourcompany.com) If product_id is given and email_config_id is not given, product\'s primary email_config_id will be set', }, { displayName: 'FR Due By', @@ -701,8 +698,7 @@ export class Freshdesk implements INodeType { typeOptions: { loadOptionsMethod: 'getProducts', }, - description: `ID of the product to which the ticket is associated. - It will be ignored if the email_config_id attribute is set in the request.`, + description: 'ID of the product to which the ticket is associated. It will be ignored if the email_config_id attribute is set in the request.', }, { displayName: 'Priority', diff --git a/packages/nodes-base/nodes/Google/Drive/GoogleDrive.node.ts b/packages/nodes-base/nodes/Google/Drive/GoogleDrive.node.ts index 245a83aba7..1d5069a2c9 100644 --- a/packages/nodes-base/nodes/Google/Drive/GoogleDrive.node.ts +++ b/packages/nodes-base/nodes/Google/Drive/GoogleDrive.node.ts @@ -1741,27 +1741,21 @@ export class GoogleDrive implements INodeType { name: 'adminManagedRestrictions', type: 'boolean', default: false, - description: `Whether the options to copy, print, or download files inside this shared drive, - should be disabled for readers and commenters. When this restriction is set to true, it will - override the similarly named field to true for any file inside this shared drive.`, + description: 'Whether the options to copy, print, or download files inside this shared drive, should be disabled for readers and commenters. When this restriction is set to true, it will override the similarly named field to true for any file inside this shared drive.', }, { displayName: 'Copy Requires Writer Permission', name: 'copyRequiresWriterPermission', type: 'boolean', default: false, - description: `Whether the options to copy, print, or download files inside this shared drive, - should be disabled for readers and commenters. When this restriction is set to true, it will - override the similarly named field to true for any file inside this shared drive.`, + description: 'Whether the options to copy, print, or download files inside this shared drive, should be disabled for readers and commenters. When this restriction is set to true, it will override the similarly named field to true for any file inside this shared drive.', }, { displayName: 'Domain Users Only', name: 'domainUsersOnly', type: 'boolean', default: false, - description: `Whether access to this shared drive and items inside this shared drive - is restricted to users of the domain to which this shared drive belongs. This restriction - may be overridden by other sharing policies controlled outside of this shared drive.`, + description: 'Whether access to this shared drive and items inside this shared drive is restricted to users of the domain to which this shared drive belongs. This restriction may be overridden by other sharing policies controlled outside of this shared drive.', }, { displayName: 'Drive Members Only', @@ -1983,27 +1977,21 @@ export class GoogleDrive implements INodeType { name: 'adminManagedRestrictions', type: 'boolean', default: false, - description: `Whether the options to copy, print, or download files inside this shared drive, - should be disabled for readers and commenters. When this restriction is set to true, it will - override the similarly named field to true for any file inside this shared drive.`, + description: 'Whether the options to copy, print, or download files inside this shared drive, should be disabled for readers and commenters. When this restriction is set to true, it will override the similarly named field to true for any file inside this shared drive.', }, { displayName: 'Copy Requires Writer Permission', name: 'copyRequiresWriterPermission', type: 'boolean', default: false, - description: `Whether the options to copy, print, or download files inside this shared drive, - should be disabled for readers and commenters. When this restriction is set to true, it will - override the similarly named field to true for any file inside this shared drive.`, + description: 'Whether the options to copy, print, or download files inside this shared drive, should be disabled for readers and commenters. When this restriction is set to true, it will override the similarly named field to true for any file inside this shared drive.', }, { displayName: 'Domain Users Only', name: 'domainUsersOnly', type: 'boolean', default: false, - description: `Whether access to this shared drive and items inside this shared drive - is restricted to users of the domain to which this shared drive belongs. This restriction - may be overridden by other sharing policies controlled outside of this shared drive.`, + description: 'Whether access to this shared drive and items inside this shared drive is restricted to users of the domain to which this shared drive belongs. This restriction may be overridden by other sharing policies controlled outside of this shared drive.', }, { displayName: 'Drive Members Only', diff --git a/packages/nodes-base/nodes/HelpScout/ConversationDescription.ts b/packages/nodes-base/nodes/HelpScout/ConversationDescription.ts index d29d2a85a2..8effcdf75f 100644 --- a/packages/nodes-base/nodes/HelpScout/ConversationDescription.ts +++ b/packages/nodes-base/nodes/HelpScout/ConversationDescription.ts @@ -195,8 +195,7 @@ export const conversationFields: INodeProperties[] = [ name: 'autoReply', type: 'boolean', default: false, - description: `When autoReply is set to true, an auto reply will be sent - as long as there is at least one customer thread in the conversation.`, + description: 'When autoReply is set to true, an auto reply will be sent as long as there is at least one customer thread in the conversation.', }, { displayName: 'Closed At', diff --git a/packages/nodes-base/nodes/Hubspot/DealDescription.ts b/packages/nodes-base/nodes/Hubspot/DealDescription.ts index 9405fad785..a6e440d466 100644 --- a/packages/nodes-base/nodes/Hubspot/DealDescription.ts +++ b/packages/nodes-base/nodes/Hubspot/DealDescription.ts @@ -440,8 +440,7 @@ export const dealFields: INodeProperties[] = [ name: 'includeAssociations', type: 'boolean', default: false, - description: `Include the IDs of the associated contacts and companies in the results. - This will also automatically include the num_associated_contacts property.`, + description: 'Include the IDs of the associated contacts and companies in the results. This will also automatically include the num_associated_contacts property.', }, { displayName: 'Properties', diff --git a/packages/nodes-base/nodes/Jira/IssueDescription.ts b/packages/nodes-base/nodes/Jira/IssueDescription.ts index 990160fd3d..efc9a688ab 100644 --- a/packages/nodes-base/nodes/Jira/IssueDescription.ts +++ b/packages/nodes-base/nodes/Jira/IssueDescription.ts @@ -282,8 +282,7 @@ export const issueFields: INodeProperties[] = [ name: 'updateHistory', type: 'boolean', default: false, - description: `Whether the project in which the issue is created is added to the user's - Recently viewed project list, as shown under Projects in Jira.`, + description: 'Whether the project in which the issue is created is added to the user\'s Recently viewed project list, as shown under Projects in Jira.', }, ], }, @@ -608,9 +607,7 @@ export const issueFields: INodeProperties[] = [ name: 'updateHistory', type: 'boolean', default: false, - description: `Whether the project in which the issue is created is added to the user's - Recently viewed project list, as shown under Projects in Jira. This also populates the - JQL issues search lastViewed field.`, + description: 'Whether the project in which the issue is created is added to the user\'s Recently viewed project list, as shown under Projects in Jira. This also populates the JQL issues search lastViewed field.', }, ], }, @@ -882,8 +879,7 @@ export const issueFields: INodeProperties[] = [ name: 'subject', type: 'string', default: '', - description: `The subject of the email notification for the issue. If this is not specified, - then the subject is set to the issue key and summary.`, + description: 'The subject of the email notification for the issue. If this is not specified, then the subject is set to the issue key and summary.', }, { displayName: 'Text Body', @@ -893,8 +889,7 @@ export const issueFields: INodeProperties[] = [ alwaysOpenEditWindow: true, }, default: '', - description: `The subject of the email notification for the issue. - If this is not specified, then the subject is set to the issue key and summary.`, + description: 'The subject of the email notification for the issue. If this is not specified, then the subject is set to the issue key and summary.', }, ], }, @@ -1136,8 +1131,7 @@ export const issueFields: INodeProperties[] = [ name: 'skipRemoteOnlyCondition', type: 'boolean', default: false, - description: `Indicates whether transitions with the condition Hide - From User Condition are included in the response.`, + description: 'Indicates whether transitions with the condition Hide From User Condition are included in the response.', }, ], }, diff --git a/packages/nodes-base/nodes/Mailchimp/Mailchimp.node.ts b/packages/nodes-base/nodes/Mailchimp/Mailchimp.node.ts index 41de49fc16..5d5c0b5f1f 100644 --- a/packages/nodes-base/nodes/Mailchimp/Mailchimp.node.ts +++ b/packages/nodes-base/nodes/Mailchimp/Mailchimp.node.ts @@ -1209,8 +1209,7 @@ export class Mailchimp implements INodeType { name: 'skipMergeValidation', type: 'boolean', default: false, - description: `If skip_merge_validation is true, member data will be accepted without merge field values, - even if the merge field is usually required`, + description: 'If skip_merge_validation is true, member data will be accepted without merge field values, even if the merge field is usually required', }, { displayName: 'Status', diff --git a/packages/nodes-base/nodes/Mautic/ContactDescription.ts b/packages/nodes-base/nodes/Mautic/ContactDescription.ts index 1822c21a32..dc27fbb74d 100644 --- a/packages/nodes-base/nodes/Mautic/ContactDescription.ts +++ b/packages/nodes-base/nodes/Mautic/ContactDescription.ts @@ -1434,8 +1434,7 @@ export const contactFields: INodeProperties[] = [ name: 'rawData', type: 'boolean', default: true, - description: `By default only the data of the fields get returned. If this - options gets set the RAW response with all data gets returned.`, + description: 'By default only the data of the fields get returned. If this options gets set the RAW response with all data gets returned.', }, ], }, diff --git a/packages/nodes-base/nodes/Microsoft/OneDrive/FileDescription.ts b/packages/nodes-base/nodes/Microsoft/OneDrive/FileDescription.ts index 98b13754b0..8c960609ad 100644 --- a/packages/nodes-base/nodes/Microsoft/OneDrive/FileDescription.ts +++ b/packages/nodes-base/nodes/Microsoft/OneDrive/FileDescription.ts @@ -276,8 +276,7 @@ export const fileFields: INodeProperties[] = [ }, }, default: '', - description: `The query text used to search for items. Values may be matched - across several fields including filename, metadata, and file content.`, + description: 'The query text used to search for items. Values may be matched across several fields including filename, metadata, and file content.', }, /* -------------------------------------------------------------------------- */ /* file:share */ diff --git a/packages/nodes-base/nodes/Microsoft/OneDrive/FolderDescription.ts b/packages/nodes-base/nodes/Microsoft/OneDrive/FolderDescription.ts index 5e9ee8a5df..62842a8fab 100644 --- a/packages/nodes-base/nodes/Microsoft/OneDrive/FolderDescription.ts +++ b/packages/nodes-base/nodes/Microsoft/OneDrive/FolderDescription.ts @@ -135,8 +135,7 @@ export const folderFields: INodeProperties[] = [ }, }, default: '', - description: `The query text used to search for items. Values may be matched - across several fields including filename, metadata, and file content.`, + description: 'The query text used to search for items. Values may be matched across several fields including filename, metadata, and file content.', }, /* -------------------------------------------------------------------------- */ /* folder:share */ diff --git a/packages/nodes-base/nodes/Notion/Blocks.ts b/packages/nodes-base/nodes/Notion/Blocks.ts index fc03c3ded4..821a8c6a9d 100644 --- a/packages/nodes-base/nodes/Notion/Blocks.ts +++ b/packages/nodes-base/nodes/Notion/Blocks.ts @@ -315,8 +315,7 @@ const typeText: INodeProperties[] = [ }, type: 'string', default: '', - description: `Text content. This field contains the actual content - of your text and is probably the field you'll use most often`, + description: 'Text content. This field contains the actual content of your text and is probably the field you\'ll use most often', }, { displayName: 'Is Link', diff --git a/packages/nodes-base/nodes/Notion/DatabasePageDescription.ts b/packages/nodes-base/nodes/Notion/DatabasePageDescription.ts index 2989abf4b1..ad007ba429 100644 --- a/packages/nodes-base/nodes/Notion/DatabasePageDescription.ts +++ b/packages/nodes-base/nodes/Notion/DatabasePageDescription.ts @@ -276,8 +276,7 @@ export const databasePageFields = [ }, }, default: [], - description: `Name of the options you want to set. - Multiples can be defined separated by comma`, + description: 'Name of the options you want to set. Multiples can be defined separated by comma', }, { displayName: 'Option', @@ -463,8 +462,7 @@ export const databasePageFields = [ }, type: 'dateTime', default: '', - description: ` - An ISO 8601 formatted date, with optional time. Represents the end of a date range`, + description: ' An ISO 8601 formatted date, with optional time. Represents the end of a date range', }, { displayName: 'Timezone', @@ -874,8 +872,7 @@ export const databasePageFields = [ }, type: 'dateTime', default: '', - description: ` - An ISO 8601 formatted date, with optional time. Represents the end of a date range`, + description: ' An ISO 8601 formatted date, with optional time. Represents the end of a date range', }, { displayName: 'Timezone', diff --git a/packages/nodes-base/nodes/OneSimpleApi/OneSimpleApi.node.ts b/packages/nodes-base/nodes/OneSimpleApi/OneSimpleApi.node.ts index 080db5a4cd..8153901067 100644 --- a/packages/nodes-base/nodes/OneSimpleApi/OneSimpleApi.node.ts +++ b/packages/nodes-base/nodes/OneSimpleApi/OneSimpleApi.node.ts @@ -307,8 +307,7 @@ export class OneSimpleApi implements INodeType { name: 'force', type: 'boolean', default: false, - description: `Normally the API will reuse a previously taken screenshot of the URL to give a faster response. - This option allows you to retake the screenshot at that exact time, for those times when it's necessary`, + description: 'Normally the API will reuse a previously taken screenshot of the URL to give a faster response. This option allows you to retake the screenshot at that exact time, for those times when it\'s necessary', }, ], }, @@ -536,8 +535,7 @@ export class OneSimpleApi implements INodeType { name: 'force', type: 'boolean', default: false, - description: `Normally the API will reuse a previously taken screenshot of the URL to give a faster response. - This option allows you to retake the screenshot at that exact time, for those times when it's necessary`, + description: 'Normally the API will reuse a previously taken screenshot of the URL to give a faster response. This option allows you to retake the screenshot at that exact time, for those times when it\'s necessary', }, { displayName: 'Full Page', diff --git a/packages/nodes-base/nodes/PagerDuty/IncidentDescription.ts b/packages/nodes-base/nodes/PagerDuty/IncidentDescription.ts index 07bf8b622e..4ec16a7be5 100644 --- a/packages/nodes-base/nodes/PagerDuty/IncidentDescription.ts +++ b/packages/nodes-base/nodes/PagerDuty/IncidentDescription.ts @@ -142,8 +142,7 @@ export const incidentFields: INodeProperties[] = [ name: 'incidentKey', type: 'string', default: '', - description: `Sending subsequent requests referencing the same service and with the same incident_key - will result in those requests being rejected if an open incident matches that incident_key.`, + description: 'Sending subsequent requests referencing the same service and with the same incident_key will result in those requests being rejected if an open incident matches that incident_key.', }, { displayName: 'Priority ID', diff --git a/packages/nodes-base/nodes/Salesforce/ContactDescription.ts b/packages/nodes-base/nodes/Salesforce/ContactDescription.ts index a49fe57c5b..a7533c5329 100644 --- a/packages/nodes-base/nodes/Salesforce/ContactDescription.ts +++ b/packages/nodes-base/nodes/Salesforce/ContactDescription.ts @@ -278,8 +278,7 @@ export const contactFields: INodeProperties[] = [ name: 'jigsaw', type: 'string', default: '', - description: `references the ID of a contact in Data.com. - If a contact has a value in this field, it means that a contact was imported as a contact from Data.com.`, + description: 'references the ID of a contact in Data.com. If a contact has a value in this field, it means that a contact was imported as a contact from Data.com.', }, { displayName: 'Lead Source', @@ -576,8 +575,7 @@ export const contactFields: INodeProperties[] = [ name: 'jigsaw', type: 'string', default: '', - description: `references the ID of a contact in Data.com. - If a contact has a value in this field, it means that a contact was imported as a contact from Data.com.`, + description: 'references the ID of a contact in Data.com. If a contact has a value in this field, it means that a contact was imported as a contact from Data.com.', }, { displayName: 'Last Name', diff --git a/packages/nodes-base/nodes/Salesforce/LeadDescription.ts b/packages/nodes-base/nodes/Salesforce/LeadDescription.ts index 05c5c6742a..0c85257e28 100644 --- a/packages/nodes-base/nodes/Salesforce/LeadDescription.ts +++ b/packages/nodes-base/nodes/Salesforce/LeadDescription.ts @@ -265,8 +265,7 @@ export const leadFields: INodeProperties[] = [ name: 'jigsaw', type: 'string', default: '', - description: `references the ID of a contact in Data.com. - If a lead has a value in this field, it means that a contact was imported as a lead from Data.com.`, + description: 'references the ID of a contact in Data.com. If a lead has a value in this field, it means that a contact was imported as a lead from Data.com.', }, { displayName: 'Lead Source', @@ -521,8 +520,7 @@ export const leadFields: INodeProperties[] = [ name: 'jigsaw', type: 'string', default: '', - description: `references the ID of a contact in Data.com. - If a lead has a value in this field, it means that a contact was imported as a lead from Data.com.`, + description: 'references the ID of a contact in Data.com. If a lead has a value in this field, it means that a contact was imported as a lead from Data.com.', }, { displayName: 'Last Name', diff --git a/packages/nodes-base/nodes/Salesforce/TaskDescription.ts b/packages/nodes-base/nodes/Salesforce/TaskDescription.ts index 17bf443fbe..b0762df388 100644 --- a/packages/nodes-base/nodes/Salesforce/TaskDescription.ts +++ b/packages/nodes-base/nodes/Salesforce/TaskDescription.ts @@ -109,17 +109,14 @@ export const taskFields: INodeProperties[] = [ alwaysOpenEditWindow: true, }, default: '', - description: `Represents the result of a given call, for example, “we'll call back,” or “call - unsuccessful.” Limit is 255 characters. Not subject to field-level security, available for any user - in an organization with Salesforce CRM Call Center.`, + description: 'Represents the result of a given call, for example, “we\'ll call back,” or “call unsuccessful.” Limit is 255 characters. Not subject to field-level security, available for any user in an organization with Salesforce CRM Call Center.', }, { displayName: 'Call Duration In Seconds', name: 'callDurationInSeconds', type: 'number', default: '', - description: `Duration of the call in seconds. Not subject to field-level security, - available for any user in an organization with Salesforce CRM Call Center`, + description: 'Duration of the call in seconds. Not subject to field-level security, available for any user in an organization with Salesforce CRM Call Center', }, { displayName: 'Call Object', @@ -260,8 +257,7 @@ export const taskFields: INodeProperties[] = [ name: 'recurrenceEndDateOnly', type: 'dateTime', default: '', - description: `The last date on which the task repeats. This field has a timestamp that - is always set to midnight in the Coordinated Universal Time (UTC) time zone.`, + description: 'The last date on which the task repeats. This field has a timestamp that is always set to midnight in the Coordinated Universal Time (UTC) time zone.', }, { displayName: 'Recurrence Month Of Year', @@ -360,10 +356,7 @@ export const taskFields: INodeProperties[] = [ name: 'reminderDateTime', type: 'dateTime', default: '', - description: `Represents the time when the reminder is scheduled to fire, - if IsReminderSet is set to true. If IsReminderSet is set to false, then the - user may have deselected the reminder checkbox in the Salesforce user interface, - or the reminder has already fired at the time indicated by the value.`, + description: 'Represents the time when the reminder is scheduled to fire, if IsReminderSet is set to true. If IsReminderSet is set to false, then the user may have deselected the reminder checkbox in the Salesforce user interface, or the reminder has already fired at the time indicated by the value.', }, { displayName: 'Subject', @@ -390,9 +383,7 @@ export const taskFields: INodeProperties[] = [ name: 'whatId', type: 'string', default: '', - description: `The WhatId represents nonhuman objects such as accounts, opportunities, - campaigns, cases, or custom objects. WhatIds are polymorphic. Polymorphic means a - WhatId is equivalent to the ID of a related object.`, + description: 'The WhatId represents nonhuman objects such as accounts, opportunities, campaigns, cases, or custom objects. WhatIds are polymorphic. Polymorphic means a WhatId is equivalent to the ID of a related object.', }, { displayName: 'Who Id', @@ -457,17 +448,14 @@ export const taskFields: INodeProperties[] = [ alwaysOpenEditWindow: true, }, default: '', - description: `Represents the result of a given call, for example, “we'll call back,” or “call - unsuccessful.” Limit is 255 characters. Not subject to field-level security, available for any user - in an organization with Salesforce CRM Call Center.`, + description: 'Represents the result of a given call, for example, “we\'ll call back,” or “call unsuccessful.” Limit is 255 characters. Not subject to field-level security, available for any user in an organization with Salesforce CRM Call Center.', }, { displayName: 'Call Duration In Seconds', name: 'callDurationInSeconds', type: 'number', default: '', - description: `Duration of the call in seconds. Not subject to field-level security, - available for any user in an organization with Salesforce CRM Call Center`, + description: 'Duration of the call in seconds. Not subject to field-level security, available for any user in an organization with Salesforce CRM Call Center', }, { displayName: 'Call Object', @@ -601,8 +589,7 @@ export const taskFields: INodeProperties[] = [ name: 'recurrenceEndDateOnly', type: 'dateTime', default: '', - description: `The last date on which the task repeats. This field has a timestamp that - is always set to midnight in the Coordinated Universal Time (UTC) time zone.`, + description: 'The last date on which the task repeats. This field has a timestamp that is always set to midnight in the Coordinated Universal Time (UTC) time zone.', }, { displayName: 'Recurrence Instance', @@ -728,10 +715,7 @@ export const taskFields: INodeProperties[] = [ name: 'reminderDateTime', type: 'dateTime', default: '', - description: `Represents the time when the reminder is scheduled to fire, - if IsReminderSet is set to true. If IsReminderSet is set to false, then the - user may have deselected the reminder checkbox in the Salesforce user interface, - or the reminder has already fired at the time indicated by the value.`, + description: 'Represents the time when the reminder is scheduled to fire, if IsReminderSet is set to true. If IsReminderSet is set to false, then the user may have deselected the reminder checkbox in the Salesforce user interface, or the reminder has already fired at the time indicated by the value.', }, { displayName: 'Type', @@ -748,9 +732,7 @@ export const taskFields: INodeProperties[] = [ name: 'whatId', type: 'string', default: '', - description: `The WhatId represents nonhuman objects such as accounts, opportunities, - campaigns, cases, or custom objects. WhatIds are polymorphic. Polymorphic means a - WhatId is equivalent to the ID of a related object.`, + description: 'The WhatId represents nonhuman objects such as accounts, opportunities, campaigns, cases, or custom objects. WhatIds are polymorphic. Polymorphic means a WhatId is equivalent to the ID of a related object.', }, { displayName: 'Who Id', diff --git a/packages/nodes-base/nodes/SendGrid/ContactDescription.ts b/packages/nodes-base/nodes/SendGrid/ContactDescription.ts index 10f1aa5e24..d46bece1ac 100644 --- a/packages/nodes-base/nodes/SendGrid/ContactDescription.ts +++ b/packages/nodes-base/nodes/SendGrid/ContactDescription.ts @@ -108,7 +108,7 @@ export const contactFields: INodeProperties[] = [ name: 'query', type: 'string', default: '', - description: 'The query field accepts valid SGQL for searching for a contact.', + description: 'The query field accepts valid SGQL for searching for a contact.', }, ], }, diff --git a/packages/nodes-base/nodes/Shopify/ProductDescription.ts b/packages/nodes-base/nodes/Shopify/ProductDescription.ts index ed56cddbeb..3a1274a97a 100644 --- a/packages/nodes-base/nodes/Shopify/ProductDescription.ts +++ b/packages/nodes-base/nodes/Shopify/ProductDescription.ts @@ -592,8 +592,7 @@ export const productFields: INodeProperties[] = [ name: 'fields', type: 'string', default: '', - description: `Fields the product will return, formatted as a string of comma-separated values. - By default all the fields are returned`, + description: 'Fields the product will return, formatted as a string of comma-separated values. By default all the fields are returned', }, ], }, diff --git a/packages/nodes-base/nodes/Signl4/Signl4.node.ts b/packages/nodes-base/nodes/Signl4/Signl4.node.ts index 40199d89ed..1ebcade84a 100644 --- a/packages/nodes-base/nodes/Signl4/Signl4.node.ts +++ b/packages/nodes-base/nodes/Signl4/Signl4.node.ts @@ -234,8 +234,7 @@ export class Signl4 implements INodeType { ], }, }, - description: `If the event originates from a record in a 3rd party system, use this parameter to pass - the unique ID of that record. That ID will be communicated in outbound webhook notifications from SIGNL4, which is great for correlation/synchronization of that record with the alert. If you resolve / close an alert you must use the same External ID as in the original alert.`, + description: 'If the event originates from a record in a 3rd party system, use this parameter to pass the unique ID of that record. That ID will be communicated in outbound webhook notifications from SIGNL4, which is great for correlation/synchronization of that record with the alert. If you resolve / close an alert you must use the same External ID as in the original alert.', }, ], }; diff --git a/packages/nodes-base/nodes/Spontit/PushDescription.ts b/packages/nodes-base/nodes/Spontit/PushDescription.ts index 140ac0e11f..640c75ca5a 100644 --- a/packages/nodes-base/nodes/Spontit/PushDescription.ts +++ b/packages/nodes-base/nodes/Spontit/PushDescription.ts @@ -45,8 +45,7 @@ export const pushFields: INodeProperties[] = [ ], }, }, - description: `To provide text in a push, supply one of either "content" or "pushContent" (or both). - Limited to 2500 characters. (Required if a value for "pushContent" is not provided).`, + description: 'To provide text in a push, supply one of either "content" or "pushContent" (or both). Limited to 2500 characters. (Required if a value for "pushContent" is not provided).', }, { displayName: 'Additional Fields', diff --git a/packages/nodes-base/nodes/Wait/Wait.node.ts b/packages/nodes-base/nodes/Wait/Wait.node.ts index ba447c3df6..4e8af0f5f7 100644 --- a/packages/nodes-base/nodes/Wait/Wait.node.ts +++ b/packages/nodes-base/nodes/Wait/Wait.node.ts @@ -385,8 +385,7 @@ export class Wait implements INodeType { name: 'limitWaitTime', type: 'boolean', default: false, - description: `If no webhook call is received, the workflow will automatically - resume execution after the specified limit type`, + description: 'If no webhook call is received, the workflow will automatically resume execution after the specified limit type', displayOptions: { show: { resume: [ @@ -549,9 +548,7 @@ export class Wait implements INodeType { ], }, }, - description: `Name of the binary property to which to write the data of - the received file. If the data gets received via "Form-Data Multipart" - it will be the prefix and a number starting with 0 will be attached to it.`, + description: 'Name of the binary property to which to write the data of the received file. If the data gets received via "Form-Data Multipart" it will be the prefix and a number starting with 0 will be attached to it.', }, { displayName: 'Ignore Bots', diff --git a/packages/nodes-base/nodes/Webhook/Webhook.node.ts b/packages/nodes-base/nodes/Webhook/Webhook.node.ts index c6ab3d2950..0a6281b742 100644 --- a/packages/nodes-base/nodes/Webhook/Webhook.node.ts +++ b/packages/nodes-base/nodes/Webhook/Webhook.node.ts @@ -301,9 +301,7 @@ export class Webhook implements INodeType { ], }, }, - description: `Name of the binary property to write the data of - the received file to. If the data gets received via "Form-Data Multipart" - it will be the prefix and a number starting with 0 will be attached to it.`, + description: 'Name of the binary property to write the data of the received file to. If the data gets received via "Form-Data Multipart" it will be the prefix and a number starting with 0 will be attached to it.', }, { displayName: 'Ignore Bots',