refactor: Format nodes-base package (A-F) (#3800)

* 🔨 prettier formated nodes - A

* 🔨 prettier formated nodes - B

*  prettier formated nodes - C

*  prettier formated nodes - D

*  prettier formated nodes - E-F

* 🎨 Adjust nodes-base formatting command (#3805)

* Format additional files in nodes A-F (#3811)

*  fixes

* 🎨 Add Mindee to ignored dirs

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
This commit is contained in:
Michael Kret
2022-08-01 23:47:55 +03:00
committed by GitHub
parent 2c17e6f3ca
commit 0ecbb4a19d
411 changed files with 12906 additions and 20148 deletions

View File

@@ -1,11 +1,6 @@
import {
INodeProperties,
} from 'n8n-workflow';
import { INodeProperties } from 'n8n-workflow';
import {
eventAdditionalFieldsOptions,
makeSimpleField,
} from './SharedFields';
import { eventAdditionalFieldsOptions, makeSimpleField } from './SharedFields';
export const eventOperations: INodeProperties[] = [
{
@@ -15,9 +10,7 @@ export const eventOperations: INodeProperties[] = [
noDataExpression: true,
displayOptions: {
show: {
resource: [
'event',
],
resource: ['event'],
},
},
options: [
@@ -54,12 +47,8 @@ export const eventFields: INodeProperties[] = [
default: '',
displayOptions: {
show: {
resource: [
'event',
],
operation: [
'create',
],
resource: ['event'],
operation: ['create'],
},
},
},
@@ -72,12 +61,8 @@ export const eventFields: INodeProperties[] = [
default: '',
displayOptions: {
show: {
resource: [
'event',
],
operation: [
'create',
],
resource: ['event'],
operation: ['create'],
},
},
},
@@ -90,12 +75,8 @@ export const eventFields: INodeProperties[] = [
default: {},
displayOptions: {
show: {
resource: [
'event',
],
operation: [
'create',
],
resource: ['event'],
operation: ['create'],
},
},
options: eventAdditionalFieldsOptions,
@@ -113,12 +94,8 @@ export const eventFields: INodeProperties[] = [
required: true,
displayOptions: {
show: {
resource: [
'event',
],
operation: [
'get',
],
resource: ['event'],
operation: ['get'],
},
},
},
@@ -135,12 +112,8 @@ export const eventFields: INodeProperties[] = [
description: 'Whether to return all results or only up to a given limit',
displayOptions: {
show: {
resource: [
'event',
],
operation: [
'getAll',
],
resource: ['event'],
operation: ['getAll'],
},
},
},
@@ -155,15 +128,9 @@ export const eventFields: INodeProperties[] = [
},
displayOptions: {
show: {
resource: [
'event',
],
operation: [
'getAll',
],
returnAll: [
false,
],
resource: ['event'],
operation: ['getAll'],
returnAll: [false],
},
},
},