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 (#3432)
* ⚡ Update `lintfix` script * 👕 Remove unneeded lint exceptions * 👕 Run baseline `lintfix` * 👕 Apply `node-param-description-miscased-url` (#3441) * 👕 Apply `rule node-param-placeholder-miscased-id` (#3443) Co-authored-by: Iván Ovejero <ivov.src@gmail.com> * 👕 Apply `node-param-option-name-wrong-for-upsert` (#3446) * 👕 Apply `node-param-min-value-wrong-for-limit` (#3442) Co-authored-by: Iván Ovejero <ivov.src@gmail.com> * Apply `node-param-display-name-wrong-for-dynamic-options` (#3454) * 🔨 fix * ⚡ Fix `Assigned To` fields Co-authored-by: Michael Kret <michael.k@radency.com> * 👕 Apply `rule node-param-default-wrong-for-number` (#3453) * 👕 Apply `node-param-default-wrong-for-string` (#3452) Co-authored-by: Iván Ovejero <ivov.src@gmail.com> * Apply `node-param-display-name-miscased` (#3449) * 🔨 fix * 🔨 exceptions * ⚡ review fixes * 👕 Apply `node-param-description-lowercase-first-char` (#3451) * ⚡ fix * ⚡ review fixes * ⚡ fix Co-authored-by: Iván Ovejero <ivov.src@gmail.com> * 👕 Apply `node-param-description-wrong-for-dynamic-options` (#3456) * Rule working as intended * Add rule * 🔥 Remove repetitions * 👕 Add exceptions Co-authored-by: Iván Ovejero <ivov.src@gmail.com> * 👕 Small fix for `node-param-description-wrong-for-dynamic-options` * 👕 Apply `node-param-default-wrong-for-fixed-collection` (#3460) * 👕 Apply `node-param-description-line-break-html-tag` (#3462) * 👕 Run baseline `lintfix` * 👕 Apply `node-param-options-type-unsorted-items` (#3459) * ⚡ fix * 🔨 exceptions * Add exception for Salesmate and Zoom Co-authored-by: Michael Kret <michael.k@radency.com> Co-authored-by: Iván Ovejero <ivov.src@gmail.com> * ⚡ Restore `lintfix` command Co-authored-by: Omar Ajoue <krynble@gmail.com> Co-authored-by: Michael Kret <88898367+michael-radency@users.noreply.github.com> Co-authored-by: agobrech <45268029+agobrech@users.noreply.github.com> Co-authored-by: Michael Kret <michael.k@radency.com> Co-authored-by: brianinoa <54530642+brianinoa@users.noreply.github.com>
This commit is contained in:
@@ -57,6 +57,22 @@ export class FileMaker implements INodeType {
|
||||
name: 'Logout',
|
||||
value: 'logout',
|
||||
},*/
|
||||
{
|
||||
name: 'Create Record',
|
||||
value: 'create',
|
||||
},
|
||||
{
|
||||
name: 'Delete Record',
|
||||
value: 'delete',
|
||||
},
|
||||
{
|
||||
name: 'Duplicate Record',
|
||||
value: 'duplicate',
|
||||
},
|
||||
{
|
||||
name: 'Edit Record',
|
||||
value: 'edit',
|
||||
},
|
||||
{
|
||||
name: 'Find Records',
|
||||
value: 'find',
|
||||
@@ -73,22 +89,6 @@ export class FileMaker implements INodeType {
|
||||
name: 'Perform Script',
|
||||
value: 'performscript',
|
||||
},
|
||||
{
|
||||
name: 'Create Record',
|
||||
value: 'create',
|
||||
},
|
||||
{
|
||||
name: 'Edit Record',
|
||||
value: 'edit',
|
||||
},
|
||||
{
|
||||
name: 'Duplicate Record',
|
||||
value: 'duplicate',
|
||||
},
|
||||
{
|
||||
name: 'Delete Record',
|
||||
value: 'delete',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
@@ -96,7 +96,7 @@ export class FileMaker implements INodeType {
|
||||
// shared
|
||||
// ----------------------------------
|
||||
{
|
||||
displayName: 'Layout',
|
||||
displayName: 'Layout Name or ID',
|
||||
name: 'layout',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
@@ -107,7 +107,7 @@ export class FileMaker implements INodeType {
|
||||
required: true,
|
||||
displayOptions: {},
|
||||
placeholder: 'Layout Name',
|
||||
description: 'FileMaker Layout Name',
|
||||
description: 'FileMaker Layout Name. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Record ID',
|
||||
@@ -134,7 +134,7 @@ export class FileMaker implements INodeType {
|
||||
placeholder: '0',
|
||||
description: 'The record number of the first record in the range of records',
|
||||
type: 'number',
|
||||
default: '1',
|
||||
default: 1,
|
||||
displayOptions: {
|
||||
show: {
|
||||
action: [
|
||||
@@ -153,7 +153,7 @@ export class FileMaker implements INodeType {
|
||||
typeOptions: {
|
||||
minValue: 1,
|
||||
},
|
||||
default: '100',
|
||||
default: 100,
|
||||
displayOptions: {
|
||||
show: {
|
||||
action: [
|
||||
@@ -164,7 +164,7 @@ export class FileMaker implements INodeType {
|
||||
},
|
||||
},
|
||||
{
|
||||
displayName: 'Get portals',
|
||||
displayName: 'Get Portals',
|
||||
name: 'getPortals',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
@@ -180,7 +180,7 @@ export class FileMaker implements INodeType {
|
||||
},
|
||||
},
|
||||
{
|
||||
displayName: 'Portals',
|
||||
displayName: 'Portals Name or ID',
|
||||
name: 'portals',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
@@ -203,13 +203,13 @@ export class FileMaker implements INodeType {
|
||||
},
|
||||
},
|
||||
placeholder: 'Portals',
|
||||
description: 'The portal result set to return. Use the portal object name or portal table name. If this parameter is omitted, the API will return all portal objects and records in the layout. For best performance, pass the portal object name or portal table name.',
|
||||
description: 'The portal result set to return. Use the portal object name or portal table name. If this parameter is omitted, the API will return all portal objects and records in the layout. For best performance, pass the portal object name or portal table name. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
// ----------------------------------
|
||||
// find/records
|
||||
// ----------------------------------
|
||||
{
|
||||
displayName: 'Response Layout',
|
||||
displayName: 'Response Layout Name or ID',
|
||||
name: 'responseLayout',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
@@ -260,7 +260,7 @@ export class FileMaker implements INodeType {
|
||||
displayName: 'Field',
|
||||
values: [
|
||||
{
|
||||
displayName: 'Field',
|
||||
displayName: 'Field Name or ID',
|
||||
name: 'name',
|
||||
type: 'options',
|
||||
default: '',
|
||||
@@ -268,7 +268,7 @@ export class FileMaker implements INodeType {
|
||||
loadOptionsMethod: 'getFields',
|
||||
},
|
||||
options: [],
|
||||
description: 'Search Field',
|
||||
description: 'Search Field. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Value',
|
||||
@@ -293,7 +293,7 @@ export class FileMaker implements INodeType {
|
||||
],
|
||||
},
|
||||
{
|
||||
displayName: 'Sort data?',
|
||||
displayName: 'Sort Data?',
|
||||
name: 'setSort',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
@@ -335,7 +335,7 @@ export class FileMaker implements INodeType {
|
||||
displayName: 'Rules',
|
||||
values: [
|
||||
{
|
||||
displayName: 'Field',
|
||||
displayName: 'Field Name or ID',
|
||||
name: 'name',
|
||||
type: 'options',
|
||||
default: '',
|
||||
@@ -343,7 +343,7 @@ export class FileMaker implements INodeType {
|
||||
loadOptionsMethod: 'getFields',
|
||||
},
|
||||
options: [],
|
||||
description: 'Field Name',
|
||||
description: 'Field Name. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Order',
|
||||
@@ -367,7 +367,7 @@ export class FileMaker implements INodeType {
|
||||
],
|
||||
},
|
||||
{
|
||||
displayName: 'Before find script',
|
||||
displayName: 'Before Find Script',
|
||||
name: 'setScriptBefore',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
@@ -383,7 +383,7 @@ export class FileMaker implements INodeType {
|
||||
},
|
||||
},
|
||||
{
|
||||
displayName: 'Script Name',
|
||||
displayName: 'Script Name or ID',
|
||||
name: 'scriptBefore',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
@@ -405,7 +405,7 @@ export class FileMaker implements INodeType {
|
||||
},
|
||||
},
|
||||
placeholder: 'Script Name',
|
||||
description: 'The name of the FileMaker script to be run after the action specified by the API call and after the subsequent sort',
|
||||
description: 'The name of the FileMaker script to be run after the action specified by the API call and after the subsequent sort. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Script Parameter',
|
||||
@@ -428,7 +428,7 @@ export class FileMaker implements INodeType {
|
||||
description: 'A parameter for the FileMaker script',
|
||||
},
|
||||
{
|
||||
displayName: 'Before sort script',
|
||||
displayName: 'Before Sort Script',
|
||||
name: 'setScriptSort',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
@@ -444,7 +444,7 @@ export class FileMaker implements INodeType {
|
||||
},
|
||||
},
|
||||
{
|
||||
displayName: 'Script Name',
|
||||
displayName: 'Script Name or ID',
|
||||
name: 'scriptSort',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
@@ -466,7 +466,7 @@ export class FileMaker implements INodeType {
|
||||
},
|
||||
},
|
||||
placeholder: 'Script Name',
|
||||
description: 'The name of the FileMaker script to be run after the action specified by the API call but before the subsequent sort',
|
||||
description: 'The name of the FileMaker script to be run after the action specified by the API call but before the subsequent sort. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Script Parameter',
|
||||
@@ -489,7 +489,7 @@ export class FileMaker implements INodeType {
|
||||
description: 'A parameter for the FileMaker script',
|
||||
},
|
||||
{
|
||||
displayName: 'After sort script',
|
||||
displayName: 'After Sort Script',
|
||||
name: 'setScriptAfter',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
@@ -505,7 +505,7 @@ export class FileMaker implements INodeType {
|
||||
},
|
||||
},
|
||||
{
|
||||
displayName: 'Script Name',
|
||||
displayName: 'Script Name or ID',
|
||||
name: 'scriptAfter',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
@@ -527,7 +527,7 @@ export class FileMaker implements INodeType {
|
||||
},
|
||||
},
|
||||
placeholder: 'Script Name',
|
||||
description: 'The name of the FileMaker script to be run after the action specified by the API call and after the subsequent sort',
|
||||
description: 'The name of the FileMaker script to be run after the action specified by the API call and after the subsequent sort. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Script Parameter',
|
||||
@@ -606,7 +606,7 @@ export class FileMaker implements INodeType {
|
||||
displayName: 'Fields',
|
||||
values: [
|
||||
{
|
||||
displayName: 'Field',
|
||||
displayName: 'Field Name or ID',
|
||||
name: 'name',
|
||||
type: 'options',
|
||||
default: '',
|
||||
@@ -614,7 +614,7 @@ export class FileMaker implements INodeType {
|
||||
loadOptionsMethod: 'getFields',
|
||||
},
|
||||
options: [],
|
||||
description: 'Field Name',
|
||||
description: 'Field Name. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Value',
|
||||
@@ -630,7 +630,7 @@ export class FileMaker implements INodeType {
|
||||
// performscript
|
||||
// ----------------------------------
|
||||
{
|
||||
displayName: 'Script Name',
|
||||
displayName: 'Script Name or ID',
|
||||
name: 'script',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
@@ -647,7 +647,7 @@ export class FileMaker implements INodeType {
|
||||
},
|
||||
},
|
||||
placeholder: 'Script Name',
|
||||
description: 'The name of the FileMaker script to be run',
|
||||
description: 'The name of the FileMaker script to be run. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Script Parameter',
|
||||
|
||||
Reference in New Issue
Block a user