mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +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:
@@ -70,7 +70,7 @@ export class FacebookGraphApi implements INodeType {
|
||||
},
|
||||
],
|
||||
default: 'GET',
|
||||
description: 'The HTTP Method to be used for the request.',
|
||||
description: 'The HTTP Method to be used for the request',
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
@@ -140,7 +140,7 @@ export class FacebookGraphApi implements INodeType {
|
||||
},
|
||||
],
|
||||
default: '',
|
||||
description: 'The version of the Graph API to be used in the request.',
|
||||
description: 'The version of the Graph API to be used in the request',
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
@@ -159,14 +159,13 @@ export class FacebookGraphApi implements INodeType {
|
||||
default: '',
|
||||
description: 'Edge of the node on which to operate. Edges represent collections of objects which are attached to the node.',
|
||||
placeholder: 'videos',
|
||||
required: false,
|
||||
},
|
||||
{
|
||||
displayName: 'Ignore SSL Issues',
|
||||
name: 'allowUnauthorizedCerts',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'Still download the response even if SSL certificate validation is not possible. (Not recommended).',
|
||||
description: 'Whether to connect even if SSL certificate validation is not possible',
|
||||
},
|
||||
{
|
||||
displayName: 'Send Binary Data',
|
||||
@@ -182,13 +181,12 @@ export class FacebookGraphApi implements INodeType {
|
||||
},
|
||||
default: false,
|
||||
required: true,
|
||||
description: 'If binary data should be send as body.',
|
||||
description: 'If binary data should be send as body',
|
||||
},
|
||||
{
|
||||
displayName: 'Binary Property',
|
||||
name: 'binaryPropertyName',
|
||||
type: 'string',
|
||||
required: false,
|
||||
default: '',
|
||||
placeholder: 'file:data',
|
||||
displayOptions: {
|
||||
@@ -204,7 +202,7 @@ export class FacebookGraphApi implements INodeType {
|
||||
],
|
||||
},
|
||||
},
|
||||
description: `Name of the binary property which contains the data for the file to be uploaded. For Form-Data Multipart, they can be provided in the format: <code>"sendKey1:binaryProperty1,sendKey2:binaryProperty2</code>`,
|
||||
description: 'Name of the binary property which contains the data for the file to be uploaded. For Form-Data Multipart, they can be provided in the format: <code>"sendKey1:binaryProperty1,sendKey2:binaryProperty2</code>',
|
||||
},
|
||||
{
|
||||
displayName: 'Options',
|
||||
@@ -228,7 +226,7 @@ export class FacebookGraphApi implements INodeType {
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The list of fields to request in the GET request.',
|
||||
description: 'The list of fields to request in the GET request',
|
||||
default: {},
|
||||
options: [
|
||||
{
|
||||
@@ -240,7 +238,7 @@ export class FacebookGraphApi implements INodeType {
|
||||
name: 'name',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Name of the field.',
|
||||
description: 'Name of the field',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -266,14 +264,14 @@ export class FacebookGraphApi implements INodeType {
|
||||
name: 'name',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Name of the parameter.',
|
||||
description: 'Name of the parameter',
|
||||
},
|
||||
{
|
||||
displayName: 'Value',
|
||||
name: 'value',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Value of the parameter.',
|
||||
description: 'Value of the parameter',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -286,7 +284,6 @@ export class FacebookGraphApi implements INodeType {
|
||||
default: '{}',
|
||||
placeholder: '{\"field_name\": \"field_value\"}',
|
||||
description: 'The query parameters to send, defined as a JSON object',
|
||||
required: false,
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user