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 goalKeyResultOperations: INodeProperties[] = [
{
@@ -10,9 +8,7 @@ export const goalKeyResultOperations: INodeProperties[] = [
noDataExpression: true,
displayOptions: {
show: {
resource: [
'goalKeyResult',
],
resource: ['goalKeyResult'],
},
},
options: [
@@ -40,7 +36,6 @@ export const goalKeyResultOperations: INodeProperties[] = [
];
export const goalKeyResultFields: INodeProperties[] = [
/* -------------------------------------------------------------------------- */
/* goalKeyResult:create */
/* -------------------------------------------------------------------------- */
@@ -51,12 +46,8 @@ export const goalKeyResultFields: INodeProperties[] = [
default: '',
displayOptions: {
show: {
resource: [
'goalKeyResult',
],
operation: [
'create',
],
resource: ['goalKeyResult'],
operation: ['create'],
},
},
required: true,
@@ -68,12 +59,8 @@ export const goalKeyResultFields: INodeProperties[] = [
default: '',
displayOptions: {
show: {
resource: [
'goalKeyResult',
],
operation: [
'create',
],
resource: ['goalKeyResult'],
operation: ['create'],
},
},
required: true,
@@ -107,12 +94,8 @@ export const goalKeyResultFields: INodeProperties[] = [
default: '',
displayOptions: {
show: {
resource: [
'goalKeyResult',
],
operation: [
'create',
],
resource: ['goalKeyResult'],
operation: ['create'],
},
},
required: true,
@@ -125,12 +108,8 @@ export const goalKeyResultFields: INodeProperties[] = [
default: {},
displayOptions: {
show: {
resource: [
'goalKeyResult',
],
operation: [
'create',
],
resource: ['goalKeyResult'],
operation: ['create'],
},
},
options: [
@@ -177,7 +156,8 @@ export const goalKeyResultFields: INodeProperties[] = [
name: 'unit',
type: 'string',
default: '',
description: 'Only matters for type Number and Currency. For Currency the unit must be a valid currency code.',
description:
'Only matters for type Number and Currency. For Currency the unit must be a valid currency code.',
},
],
},
@@ -192,12 +172,8 @@ export const goalKeyResultFields: INodeProperties[] = [
default: '',
displayOptions: {
show: {
resource: [
'goalKeyResult',
],
operation: [
'delete',
],
resource: ['goalKeyResult'],
operation: ['delete'],
},
},
required: true,
@@ -213,12 +189,8 @@ export const goalKeyResultFields: INodeProperties[] = [
default: '',
displayOptions: {
show: {
resource: [
'goalKeyResult',
],
operation: [
'update',
],
resource: ['goalKeyResult'],
operation: ['update'],
},
},
required: true,
@@ -231,12 +203,8 @@ export const goalKeyResultFields: INodeProperties[] = [
default: {},
displayOptions: {
show: {
resource: [
'goalKeyResult',
],
operation: [
'update',
],
resource: ['goalKeyResult'],
operation: ['update'],
},
},
options: [
@@ -287,7 +255,8 @@ export const goalKeyResultFields: INodeProperties[] = [
name: 'unit',
type: 'string',
default: '',
description: 'Only matters for type Number and Currency. For Currency the unit must be a valid currency code.',
description:
'Only matters for type Number and Currency. For Currency the unit must be a valid currency code.',
},
],
},