n8n-3867-progressively-apply-prettier-to-all (#3873)

* 🔨 formatting nodes with prettier
This commit is contained in:
Michael Kret
2022-08-17 18:50:24 +03:00
committed by GitHub
parent f2d326c7f0
commit 91d7e16c81
1072 changed files with 42357 additions and 59109 deletions

View File

@@ -1,11 +1,6 @@
import {
INodeProperties,
} from 'n8n-workflow';
import { INodeProperties } from 'n8n-workflow';
import {
customerCreateFields,
customerUpdateFields,
} from './shared';
import { customerCreateFields, customerUpdateFields } from './shared';
export const customerOperations: INodeProperties[] = [
{
@@ -15,9 +10,7 @@ export const customerOperations: INodeProperties[] = [
noDataExpression: true,
displayOptions: {
show: {
resource: [
'customer',
],
resource: ['customer'],
},
},
options: [
@@ -69,12 +62,8 @@ export const customerFields: INodeProperties[] = [
default: '',
displayOptions: {
show: {
resource: [
'customer',
],
operation: [
'create',
],
resource: ['customer'],
operation: ['create'],
},
},
},
@@ -92,12 +81,8 @@ export const customerFields: INodeProperties[] = [
default: '',
displayOptions: {
show: {
resource: [
'customer',
],
operation: [
'delete',
],
resource: ['customer'],
operation: ['delete'],
},
},
},
@@ -114,12 +99,8 @@ export const customerFields: INodeProperties[] = [
default: '',
displayOptions: {
show: {
resource: [
'customer',
],
operation: [
'get',
],
resource: ['customer'],
operation: ['get'],
},
},
},
@@ -135,12 +116,8 @@ export const customerFields: INodeProperties[] = [
description: 'Whether to return all results or only up to a given limit',
displayOptions: {
show: {
resource: [
'customer',
],
operation: [
'getAll',
],
resource: ['customer'],
operation: ['getAll'],
},
},
},
@@ -155,15 +132,9 @@ export const customerFields: INodeProperties[] = [
},
displayOptions: {
show: {
resource: [
'customer',
],
operation: [
'getAll',
],
returnAll: [
false,
],
resource: ['customer'],
operation: ['getAll'],
returnAll: [false],
},
},
},
@@ -175,12 +146,8 @@ export const customerFields: INodeProperties[] = [
default: {},
displayOptions: {
show: {
resource: [
'customer',
],
operation: [
'getAll',
],
resource: ['customer'],
operation: ['getAll'],
},
},
options: [
@@ -249,12 +216,8 @@ export const customerFields: INodeProperties[] = [
default: '',
displayOptions: {
show: {
resource: [
'customer',
],
operation: [
'update',
],
resource: ['customer'],
operation: ['update'],
},
},
},