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';
import {
addressFixedCollection,
@@ -16,9 +14,7 @@ export const leadOperations: INodeProperties[] = [
noDataExpression: true,
displayOptions: {
show: {
resource: [
'lead',
],
resource: ['lead'],
},
},
options: [
@@ -65,12 +61,8 @@ export const leadFields: INodeProperties[] = [
default: '',
displayOptions: {
show: {
resource: [
'lead',
],
operation: [
'create',
],
resource: ['lead'],
operation: ['create'],
},
},
},
@@ -82,19 +74,11 @@ export const leadFields: INodeProperties[] = [
placeholder: 'Add Field',
displayOptions: {
show: {
resource: [
'lead',
],
operation: [
'create',
],
resource: ['lead'],
operation: ['create'],
},
},
options: [
addressFixedCollection,
emailFixedCollection,
phoneNumbersFixedCollection,
],
options: [addressFixedCollection, emailFixedCollection, phoneNumbersFixedCollection],
},
// ----------------------------------------
@@ -109,12 +93,8 @@ export const leadFields: INodeProperties[] = [
default: '',
displayOptions: {
show: {
resource: [
'lead',
],
operation: [
'delete',
],
resource: ['lead'],
operation: ['delete'],
},
},
},
@@ -131,12 +111,8 @@ export const leadFields: INodeProperties[] = [
default: '',
displayOptions: {
show: {
resource: [
'lead',
],
operation: [
'get',
],
resource: ['lead'],
operation: ['get'],
},
},
},
@@ -152,12 +128,8 @@ export const leadFields: INodeProperties[] = [
description: 'Whether to return all results or only up to a given limit',
displayOptions: {
show: {
resource: [
'lead',
],
operation: [
'getAll',
],
resource: ['lead'],
operation: ['getAll'],
},
},
},
@@ -173,15 +145,9 @@ export const leadFields: INodeProperties[] = [
},
displayOptions: {
show: {
resource: [
'lead',
],
operation: [
'getAll',
],
returnAll: [
false,
],
resource: ['lead'],
operation: ['getAll'],
returnAll: [false],
},
},
},
@@ -193,12 +159,8 @@ export const leadFields: INodeProperties[] = [
default: {},
displayOptions: {
show: {
resource: [
'lead',
],
operation: [
'getAll',
],
resource: ['lead'],
operation: ['getAll'],
},
},
options: [
@@ -231,12 +193,8 @@ export const leadFields: INodeProperties[] = [
default: '',
displayOptions: {
show: {
resource: [
'lead',
],
operation: [
'update',
],
resource: ['lead'],
operation: ['update'],
},
},
},
@@ -248,12 +206,8 @@ export const leadFields: INodeProperties[] = [
default: {},
displayOptions: {
show: {
resource: [
'lead',
],
operation: [
'update',
],
resource: ['lead'],
operation: ['update'],
},
},
options: [