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,10 +1,6 @@
import {
INodeProperties,
} from 'n8n-workflow';
import { INodeProperties } from 'n8n-workflow';
const resource = [
'contact',
];
const resource = ['contact'];
export const contactOperations: INodeProperties[] = [
{
@@ -51,11 +47,9 @@ export const contactOperations: INodeProperties[] = [
],
default: 'getAll',
},
];
export const contactFields: INodeProperties[] = [
/* -------------------------------------------------------------------------- */
/* contact:getAll */
/* -------------------------------------------------------------------------- */
@@ -67,9 +61,7 @@ export const contactFields: INodeProperties[] = [
displayOptions: {
show: {
resource,
operation: [
'getAll',
],
operation: ['getAll'],
},
},
default: false,
@@ -82,12 +74,8 @@ export const contactFields: INodeProperties[] = [
displayOptions: {
show: {
resource,
operation: [
'getAll',
],
returnAll: [
false,
],
operation: ['getAll'],
returnAll: [false],
},
},
typeOptions: {
@@ -106,9 +94,7 @@ export const contactFields: INodeProperties[] = [
displayOptions: {
show: {
resource,
operation: [
'getAll',
],
operation: ['getAll'],
},
},
options: [
@@ -140,9 +126,7 @@ export const contactFields: INodeProperties[] = [
required: true,
displayOptions: {
show: {
operation: [
'get',
],
operation: ['get'],
resource,
},
},
@@ -160,9 +144,7 @@ export const contactFields: INodeProperties[] = [
required: true,
displayOptions: {
show: {
operation: [
'delete',
],
operation: ['delete'],
resource,
},
},
@@ -178,9 +160,7 @@ export const contactFields: INodeProperties[] = [
type: 'string',
displayOptions: {
show: {
operation: [
'create',
],
operation: ['create'],
resource,
},
},
@@ -194,9 +174,7 @@ export const contactFields: INodeProperties[] = [
type: 'string',
displayOptions: {
show: {
operation: [
'create',
],
operation: ['create'],
resource,
},
},
@@ -211,9 +189,7 @@ export const contactFields: INodeProperties[] = [
placeholder: 'Add Field',
displayOptions: {
show: {
operation: [
'create',
],
operation: ['create'],
resource,
},
},
@@ -277,9 +253,7 @@ export const contactFields: INodeProperties[] = [
required: true,
displayOptions: {
show: {
operation: [
'update',
],
operation: ['update'],
resource,
},
},
@@ -292,9 +266,7 @@ export const contactFields: INodeProperties[] = [
placeholder: 'Add Field',
displayOptions: {
show: {
operation: [
'update',
],
operation: ['update'],
resource,
},
},
@@ -359,5 +331,4 @@ export const contactFields: INodeProperties[] = [
},
],
},
];