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 campaignOperations: INodeProperties[] = [
noDataExpression: true,
displayOptions: {
show: {
resource: [
'campaign',
],
resource: ['campaign'],
},
},
options: [
@@ -46,12 +44,8 @@ export const campaignFields: INodeProperties[] = [
default: 0,
displayOptions: {
show: {
resource: [
'campaign',
],
operation: [
'get',
],
resource: ['campaign'],
operation: ['get'],
},
},
description: 'The unique identifier for the campaign',
@@ -67,12 +61,8 @@ export const campaignFields: INodeProperties[] = [
default: 0,
displayOptions: {
show: {
resource: [
'campaign',
],
operation: [
'getMetrics',
],
resource: ['campaign'],
operation: ['getMetrics'],
},
},
description: 'The unique identifier for the campaign',
@@ -84,12 +74,8 @@ export const campaignFields: INodeProperties[] = [
default: 'days',
displayOptions: {
show: {
resource: [
'campaign',
],
operation: [
'getMetrics',
],
resource: ['campaign'],
operation: ['getMetrics'],
},
},
description: 'Specify metric period',
@@ -119,12 +105,8 @@ export const campaignFields: INodeProperties[] = [
default: false,
displayOptions: {
show: {
resource: [
'campaign',
],
operation: [
'getMetrics',
],
resource: ['campaign'],
operation: ['getMetrics'],
},
},
},
@@ -136,15 +118,9 @@ export const campaignFields: INodeProperties[] = [
default: {},
displayOptions: {
show: {
resource: [
'campaign',
],
operation: [
'getMetrics',
],
jsonParameters: [
false,
],
resource: ['campaign'],
operation: ['getMetrics'],
jsonParameters: [false],
},
},
options: [
@@ -153,7 +129,8 @@ export const campaignFields: INodeProperties[] = [
name: 'steps',
type: 'number',
default: 0,
description: 'Integer specifying how many steps to return. Defaults to the maximum number of timeperiods available, or 12 when using the months period. Maximum timeperiods available are 24 hours, 45 days, 12 weeks and 120 months',
description:
'Integer specifying how many steps to return. Defaults to the maximum number of timeperiods available, or 12 when using the months period. Maximum timeperiods available are 24 hours, 45 days, 12 weeks and 120 months',
typeOptions: {
minValue: 0,
maxValue: 120,