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,6 +1,4 @@
import {
INodeProperties
} from 'n8n-workflow';
import { INodeProperties } from 'n8n-workflow';
export const serviceOperations: INodeProperties[] = [
{
@@ -10,9 +8,7 @@ export const serviceOperations: INodeProperties[] = [
noDataExpression: true,
displayOptions: {
show: {
resource: [
'service',
],
resource: ['service'],
},
},
options: [
@@ -43,12 +39,8 @@ export const serviceFields: INodeProperties[] = [
type: 'boolean',
displayOptions: {
show: {
operation: [
'getAll',
],
resource: [
'service',
],
operation: ['getAll'],
resource: ['service'],
},
},
default: false,
@@ -60,15 +52,9 @@ export const serviceFields: INodeProperties[] = [
type: 'number',
displayOptions: {
show: {
operation: [
'getAll',
],
resource: [
'service',
],
returnAll: [
false,
],
operation: ['getAll'],
resource: ['service'],
returnAll: [false],
},
},
typeOptions: {
@@ -86,7 +72,8 @@ export const serviceFields: INodeProperties[] = [
displayName: 'Domain Name or ID',
name: 'domain',
type: 'options',
description: 'Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>',
description:
'Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>',
typeOptions: {
loadOptionsMethod: 'getDomains',
},
@@ -94,12 +81,8 @@ export const serviceFields: INodeProperties[] = [
required: true,
displayOptions: {
show: {
resource: [
'service',
],
operation: [
'call',
],
resource: ['service'],
operation: ['call'],
},
},
},
@@ -107,23 +90,18 @@ export const serviceFields: INodeProperties[] = [
displayName: 'Service Name or ID',
name: 'service',
type: 'options',
description: 'Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>',
description:
'Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>',
typeOptions: {
loadOptionsDependsOn: [
'domain',
],
loadOptionsDependsOn: ['domain'],
loadOptionsMethod: 'getDomainServices',
},
default: '',
required: true,
displayOptions: {
show: {
resource: [
'service',
],
operation: [
'call',
],
resource: ['service'],
operation: ['call'],
},
},
},
@@ -138,12 +116,8 @@ export const serviceFields: INodeProperties[] = [
default: {},
displayOptions: {
show: {
resource: [
'service',
],
operation: [
'call',
],
resource: ['service'],
operation: ['call'],
},
},
options: [