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 projectOperations: INodeProperties[] = [
{
@@ -10,9 +8,7 @@ export const projectOperations: INodeProperties[] = [
noDataExpression: true,
displayOptions: {
show: {
resource: [
'project',
],
resource: ['project'],
},
},
options: [
@@ -59,12 +55,8 @@ export const projectFields: INodeProperties[] = [
default: '',
displayOptions: {
show: {
resource: [
'project',
],
operation: [
'create',
],
resource: ['project'],
operation: ['create'],
},
},
},
@@ -76,12 +68,8 @@ export const projectFields: INodeProperties[] = [
default: {},
displayOptions: {
show: {
resource: [
'project',
],
operation: [
'create',
],
resource: ['project'],
operation: ['create'],
},
},
options: [
@@ -130,12 +118,8 @@ export const projectFields: INodeProperties[] = [
default: '',
displayOptions: {
show: {
resource: [
'project',
],
operation: [
'delete',
],
resource: ['project'],
operation: ['delete'],
},
},
},
@@ -152,12 +136,8 @@ export const projectFields: INodeProperties[] = [
default: '',
displayOptions: {
show: {
resource: [
'project',
],
operation: [
'get',
],
resource: ['project'],
operation: ['get'],
},
},
},
@@ -173,12 +153,8 @@ export const projectFields: INodeProperties[] = [
description: 'Whether to return all results or only up to a given limit',
displayOptions: {
show: {
resource: [
'project',
],
operation: [
'getAll',
],
resource: ['project'],
operation: ['getAll'],
},
},
},
@@ -194,15 +170,9 @@ export const projectFields: INodeProperties[] = [
},
displayOptions: {
show: {
resource: [
'project',
],
operation: [
'getAll',
],
returnAll: [
false,
],
resource: ['project'],
operation: ['getAll'],
returnAll: [false],
},
},
},
@@ -214,12 +184,8 @@ export const projectFields: INodeProperties[] = [
placeholder: 'Add Filter',
displayOptions: {
show: {
resource: [
'project',
],
operation: [
'getAll',
],
resource: ['project'],
operation: ['getAll'],
},
},
options: [
@@ -245,12 +211,8 @@ export const projectFields: INodeProperties[] = [
default: '',
displayOptions: {
show: {
resource: [
'project',
],
operation: [
'update',
],
resource: ['project'],
operation: ['update'],
},
},
},
@@ -262,12 +224,8 @@ export const projectFields: INodeProperties[] = [
default: {},
displayOptions: {
show: {
resource: [
'project',
],
operation: [
'update',
],
resource: ['project'],
operation: ['update'],
},
},
options: [