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 monitorOperations: INodeProperties[] = [
{
@@ -10,9 +8,7 @@ export const monitorOperations: INodeProperties[] = [
noDataExpression: true,
displayOptions: {
show: {
resource: [
'monitor',
],
resource: ['monitor'],
},
},
options: [
@@ -69,12 +65,8 @@ export const monitorFields: INodeProperties[] = [
default: '',
displayOptions: {
show: {
resource: [
'monitor',
],
operation: [
'create',
],
resource: ['monitor'],
operation: ['create'],
},
},
description: 'The friendly name of the monitor',
@@ -109,12 +101,8 @@ export const monitorFields: INodeProperties[] = [
],
displayOptions: {
show: {
resource: [
'monitor',
],
operation: [
'create',
],
resource: ['monitor'],
operation: ['create'],
},
},
description: 'The type of the monitor',
@@ -127,12 +115,8 @@ export const monitorFields: INodeProperties[] = [
default: '',
displayOptions: {
show: {
resource: [
'monitor',
],
operation: [
'create',
],
resource: ['monitor'],
operation: ['create'],
},
},
description: 'The URL/IP of the monitor',
@@ -149,14 +133,8 @@ export const monitorFields: INodeProperties[] = [
default: '',
displayOptions: {
show: {
resource: [
'monitor',
],
operation: [
'delete',
'reset',
'get',
],
resource: ['monitor'],
operation: ['delete', 'reset', 'get'],
},
},
description: 'The ID of the monitor',
@@ -171,12 +149,8 @@ export const monitorFields: INodeProperties[] = [
type: 'boolean',
displayOptions: {
show: {
resource: [
'monitor',
],
operation: [
'getAll',
],
resource: ['monitor'],
operation: ['getAll'],
},
},
default: false,
@@ -188,15 +162,9 @@ export const monitorFields: INodeProperties[] = [
type: 'number',
displayOptions: {
show: {
resource: [
'monitor',
],
operation: [
'getAll',
],
returnAll: [
false,
],
resource: ['monitor'],
operation: ['getAll'],
returnAll: [false],
},
},
typeOptions: {
@@ -214,12 +182,8 @@ export const monitorFields: INodeProperties[] = [
default: {},
displayOptions: {
show: {
resource: [
'monitor',
],
operation: [
'getAll',
],
resource: ['monitor'],
operation: ['getAll'],
},
},
options: [
@@ -337,12 +301,8 @@ export const monitorFields: INodeProperties[] = [
default: '',
displayOptions: {
show: {
resource: [
'monitor',
],
operation: [
'update',
],
resource: ['monitor'],
operation: ['update'],
},
},
description: 'The ID of the monitor',
@@ -355,12 +315,8 @@ export const monitorFields: INodeProperties[] = [
default: {},
displayOptions: {
show: {
resource: [
'monitor',
],
operation: [
'update',
],
resource: ['monitor'],
operation: ['update'],
},
},
options: [