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,6 +1,4 @@
import {
INodeProperties,
} from 'n8n-workflow';
import { INodeProperties } from 'n8n-workflow';
export const connectorOperations: INodeProperties[] = [
{
@@ -10,9 +8,7 @@ export const connectorOperations: INodeProperties[] = [
type: 'options',
displayOptions: {
show: {
resource: [
'connector',
],
resource: ['connector'],
},
},
options: [
@@ -34,18 +30,15 @@ export const connectorFields: INodeProperties[] = [
{
displayName: 'Connector Name',
name: 'name',
description: 'Connectors allow you to send Elastic Security cases into other systems (only ServiceNow, Jira, or IBM Resilient)',
description:
'Connectors allow you to send Elastic Security cases into other systems (only ServiceNow, Jira, or IBM Resilient)',
type: 'string',
required: true,
default: '',
displayOptions: {
show: {
resource: [
'connector',
],
operation: [
'create',
],
resource: ['connector'],
operation: ['create'],
},
},
},
@@ -71,12 +64,8 @@ export const connectorFields: INodeProperties[] = [
],
displayOptions: {
show: {
resource: [
'connector',
],
operation: [
'create',
],
resource: ['connector'],
operation: ['create'],
},
},
},
@@ -89,12 +78,8 @@ export const connectorFields: INodeProperties[] = [
default: '',
displayOptions: {
show: {
resource: [
'connector',
],
operation: [
'create',
],
resource: ['connector'],
operation: ['create'],
},
},
},
@@ -108,15 +93,9 @@ export const connectorFields: INodeProperties[] = [
default: '',
displayOptions: {
show: {
resource: [
'connector',
],
operation: [
'create',
],
connectorType: [
'.jira',
],
resource: ['connector'],
operation: ['create'],
connectorType: ['.jira'],
},
},
},
@@ -129,15 +108,9 @@ export const connectorFields: INodeProperties[] = [
default: '',
displayOptions: {
show: {
resource: [
'connector',
],
operation: [
'create',
],
connectorType: [
'.jira',
],
resource: ['connector'],
operation: ['create'],
connectorType: ['.jira'],
},
},
},
@@ -150,15 +123,9 @@ export const connectorFields: INodeProperties[] = [
default: '',
displayOptions: {
show: {
resource: [
'connector',
],
operation: [
'create',
],
connectorType: [
'.jira',
],
resource: ['connector'],
operation: ['create'],
connectorType: ['.jira'],
},
},
},
@@ -171,15 +138,9 @@ export const connectorFields: INodeProperties[] = [
default: '',
displayOptions: {
show: {
resource: [
'connector',
],
operation: [
'create',
],
connectorType: [
'.servicenow',
],
resource: ['connector'],
operation: ['create'],
connectorType: ['.servicenow'],
},
},
},
@@ -192,15 +153,9 @@ export const connectorFields: INodeProperties[] = [
default: '',
displayOptions: {
show: {
resource: [
'connector',
],
operation: [
'create',
],
connectorType: [
'.servicenow',
],
resource: ['connector'],
operation: ['create'],
connectorType: ['.servicenow'],
},
},
},
@@ -213,15 +168,9 @@ export const connectorFields: INodeProperties[] = [
default: '',
displayOptions: {
show: {
resource: [
'connector',
],
operation: [
'create',
],
connectorType: [
'.resilient',
],
resource: ['connector'],
operation: ['create'],
connectorType: ['.resilient'],
},
},
},
@@ -234,15 +183,9 @@ export const connectorFields: INodeProperties[] = [
default: '',
displayOptions: {
show: {
resource: [
'connector',
],
operation: [
'create',
],
connectorType: [
'.resilient',
],
resource: ['connector'],
operation: ['create'],
connectorType: ['.resilient'],
},
},
},
@@ -255,15 +198,9 @@ export const connectorFields: INodeProperties[] = [
default: '',
displayOptions: {
show: {
resource: [
'connector',
],
operation: [
'create',
],
connectorType: [
'.resilient',
],
resource: ['connector'],
operation: ['create'],
connectorType: ['.resilient'],
},
},
},