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,10 +1,6 @@
import {
INodeProperties,
} from 'n8n-workflow';
import { INodeProperties } from 'n8n-workflow';
import {
activeCampaignDefaultGetAllProperties,
} from './GenericFunctions';
import { activeCampaignDefaultGetAllProperties } from './GenericFunctions';
export const ecomOrderProductsOperations: INodeProperties[] = [
{
@@ -14,9 +10,7 @@ export const ecomOrderProductsOperations: INodeProperties[] = [
noDataExpression: true,
displayOptions: {
show: {
resource: [
'ecommerceOrderProducts',
],
resource: ['ecommerceOrderProducts'],
},
},
options: [
@@ -35,7 +29,7 @@ export const ecomOrderProductsOperations: INodeProperties[] = [
{
name: 'Get by Order ID',
value: 'getByOrderId',
description: 'Get data of an order\'s products',
description: "Get data of an order's products",
action: 'Get an e-commerce order product by order ID',
},
],
@@ -54,15 +48,11 @@ export const ecomOrderProductsFields: INodeProperties[] = [
default: 0,
displayOptions: {
show: {
operation: [
'getByOrderId',
],
resource: [
'ecommerceOrderProducts',
],
operation: ['getByOrderId'],
resource: ['ecommerceOrderProducts'],
},
},
description: 'The ID of the order whose products you\'d like returned',
description: "The ID of the order whose products you'd like returned",
},
// ----------------------------------
@@ -75,15 +65,11 @@ export const ecomOrderProductsFields: INodeProperties[] = [
default: 0,
displayOptions: {
show: {
operation: [
'getByProductId',
],
resource: [
'ecommerceOrderProducts',
],
operation: ['getByProductId'],
resource: ['ecommerceOrderProducts'],
},
},
description: 'The ID of the product you\'d like returned',
description: "The ID of the product you'd like returned",
},
// ----------------------------------