refactor: Format nodes-base package (A-F) (#3800)

* 🔨 prettier formated nodes - A

* 🔨 prettier formated nodes - B

*  prettier formated nodes - C

*  prettier formated nodes - D

*  prettier formated nodes - E-F

* 🎨 Adjust nodes-base formatting command (#3805)

* Format additional files in nodes A-F (#3811)

*  fixes

* 🎨 Add Mindee to ignored dirs

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
This commit is contained in:
Michael Kret
2022-08-01 23:47:55 +03:00
committed by GitHub
parent 2c17e6f3ca
commit 0ecbb4a19d
411 changed files with 12906 additions and 20148 deletions

View File

@@ -1,6 +1,4 @@
import {
INodeProperties,
} from 'n8n-workflow';
import { INodeProperties } from 'n8n-workflow';
export const contactListOperations: INodeProperties[] = [
{
@@ -10,9 +8,7 @@ export const contactListOperations: INodeProperties[] = [
noDataExpression: true,
displayOptions: {
show: {
resource: [
'contactList',
],
resource: ['contactList'],
},
},
options: [
@@ -46,7 +42,6 @@ export const contactListOperations: INodeProperties[] = [
];
export const contactListFields: INodeProperties[] = [
/* -------------------------------------------------------------------------- */
/* contactList:add */
/* -------------------------------------------------------------------------- */
@@ -60,19 +55,13 @@ export const contactListFields: INodeProperties[] = [
type: 'options',
displayOptions: {
show: {
operation: [
'add',
'remove',
'exist',
'getAll',
],
resource: [
'contactList',
],
operation: ['add', 'remove', 'exist', 'getAll'],
resource: ['contactList'],
},
},
default: '',
description: 'ID of the list to operate on. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
description:
'ID of the list to operate on. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
},
{
displayName: 'Contact ID',
@@ -81,14 +70,8 @@ export const contactListFields: INodeProperties[] = [
type: 'string',
displayOptions: {
show: {
operation: [
'add',
'remove',
'exist',
],
resource: [
'contactList',
],
operation: ['add', 'remove', 'exist'],
resource: ['contactList'],
},
},
default: '',
@@ -104,12 +87,8 @@ export const contactListFields: INodeProperties[] = [
type: 'boolean',
displayOptions: {
show: {
operation: [
'getAll',
],
resource: [
'contactList',
],
operation: ['getAll'],
resource: ['contactList'],
},
},
default: false,
@@ -121,15 +100,9 @@ export const contactListFields: INodeProperties[] = [
type: 'number',
displayOptions: {
show: {
operation: [
'getAll',
],
resource: [
'contactList',
],
returnAll: [
false,
],
operation: ['getAll'],
resource: ['contactList'],
returnAll: [false],
},
},
typeOptions: {