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 departmentOperations: INodeProperties[] = [
{
@@ -10,9 +8,7 @@ export const departmentOperations: INodeProperties[] = [
noDataExpression: true,
displayOptions: {
show: {
resource: [
'department',
],
resource: ['department'],
},
},
options: [
@@ -63,12 +59,8 @@ export const departmentFields: INodeProperties[] = [
default: '',
displayOptions: {
show: {
resource: [
'department',
],
operation: [
'create',
],
resource: ['department'],
operation: ['create'],
},
},
},
@@ -80,12 +72,8 @@ export const departmentFields: INodeProperties[] = [
default: {},
displayOptions: {
show: {
resource: [
'department',
],
operation: [
'create',
],
resource: ['department'],
operation: ['create'],
},
},
options: [
@@ -117,12 +105,8 @@ export const departmentFields: INodeProperties[] = [
default: '',
displayOptions: {
show: {
resource: [
'department',
],
operation: [
'delete',
],
resource: ['department'],
operation: ['delete'],
},
},
},
@@ -139,12 +123,8 @@ export const departmentFields: INodeProperties[] = [
default: '',
displayOptions: {
show: {
resource: [
'department',
],
operation: [
'get',
],
resource: ['department'],
operation: ['get'],
},
},
},
@@ -160,12 +140,8 @@ export const departmentFields: INodeProperties[] = [
description: 'Whether to return all results or only up to a given limit',
displayOptions: {
show: {
resource: [
'department',
],
operation: [
'getAll',
],
resource: ['department'],
operation: ['getAll'],
},
},
},
@@ -180,15 +156,9 @@ export const departmentFields: INodeProperties[] = [
},
displayOptions: {
show: {
resource: [
'department',
],
operation: [
'getAll',
],
returnAll: [
false,
],
resource: ['department'],
operation: ['getAll'],
returnAll: [false],
},
},
},
@@ -200,12 +170,8 @@ export const departmentFields: INodeProperties[] = [
default: {},
displayOptions: {
show: {
resource: [
'department',
],
operation: [
'getAll',
],
resource: ['department'],
operation: ['getAll'],
},
},
options: [
@@ -231,12 +197,8 @@ export const departmentFields: INodeProperties[] = [
default: '',
displayOptions: {
show: {
resource: [
'department',
],
operation: [
'update',
],
resource: ['department'],
operation: ['update'],
},
},
},
@@ -248,12 +210,8 @@ export const departmentFields: INodeProperties[] = [
default: {},
displayOptions: {
show: {
resource: [
'department',
],
operation: [
'update',
],
resource: ['department'],
operation: ['update'],
},
},
options: [