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 eventOperations: INodeProperties[] = [
{
@@ -10,9 +8,7 @@ export const eventOperations: INodeProperties[] = [
noDataExpression: true,
displayOptions: {
show: {
resource: [
'event',
],
resource: ['event'],
},
},
options: [
@@ -34,7 +30,6 @@ export const eventOperations: INodeProperties[] = [
];
export const eventFields: INodeProperties[] = [
/* -------------------------------------------------------------------------- */
/* event:getAll */
/* -------------------------------------------------------------------------- */
@@ -44,12 +39,8 @@ export const eventFields: INodeProperties[] = [
type: 'boolean',
displayOptions: {
show: {
operation: [
'getAll',
],
resource: [
'event',
],
operation: ['getAll'],
resource: ['event'],
},
},
default: false,
@@ -61,15 +52,9 @@ export const eventFields: INodeProperties[] = [
type: 'number',
displayOptions: {
show: {
operation: [
'getAll',
],
resource: [
'event',
],
returnAll: [
false,
],
operation: ['getAll'],
resource: ['event'],
returnAll: [false],
},
},
typeOptions: {
@@ -89,12 +74,8 @@ export const eventFields: INodeProperties[] = [
type: 'string',
displayOptions: {
show: {
operation: [
'create',
],
resource: [
'event',
],
operation: ['create'],
resource: ['event'],
},
},
required: true,
@@ -112,12 +93,8 @@ export const eventFields: INodeProperties[] = [
default: {},
displayOptions: {
show: {
resource: [
'event',
],
operation: [
'create',
],
resource: ['event'],
operation: ['create'],
},
},
options: [