mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-23 04:39:08 +00:00
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:
@@ -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",
|
||||
},
|
||||
|
||||
// ----------------------------------
|
||||
|
||||
Reference in New Issue
Block a user