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

@@ -8,9 +8,7 @@ export const reportOperations: INodeProperties[] = [
noDataExpression: true,
displayOptions: {
show: {
resource: [
'report',
],
resource: ['report'],
},
},
options: [
@@ -26,7 +24,6 @@ export const reportOperations: INodeProperties[] = [
];
export const reportFields: INodeProperties[] = [
/* -------------------------------------------------------------------------- */
/* report:get */
/* -------------------------------------------------------------------------- */
@@ -34,18 +31,15 @@ export const reportFields: INodeProperties[] = [
displayName: 'Event Name or ID',
name: 'eventId',
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: 'getEvents',
},
displayOptions: {
show: {
resource: [
'report',
],
operation: [
'get',
],
resource: ['report'],
operation: ['get'],
},
},
default: '',
@@ -56,21 +50,16 @@ export const reportFields: INodeProperties[] = [
type: 'options',
typeOptions: {
loadOptionsMethod: 'getEventSessions',
loadOptionsDependsOn: [
'eventId',
],
loadOptionsDependsOn: ['eventId'],
},
default: '',
required: true,
description: 'ID of the session. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
description:
'ID of the session. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
displayOptions: {
show: {
resource: [
'report',
],
operation: [
'get',
],
resource: ['report'],
operation: ['get'],
},
},
},
@@ -82,12 +71,8 @@ export const reportFields: INodeProperties[] = [
default: {},
displayOptions: {
show: {
resource: [
'report',
],
operation: [
'get',
],
resource: ['report'],
operation: ['get'],
},
},
options: [