Skip to content

Commit

Permalink
feat(Merge Node): overhaul of merge node
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-radency authored Sep 13, 2022
1 parent b6c1187 commit f1a5697
Show file tree
Hide file tree
Showing 7 changed files with 1,599 additions and 472 deletions.
21 changes: 21 additions & 0 deletions packages/nodes-base/nodes/ItemLists/ItemLists.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,9 @@ export class ItemLists implements INodeType {
type: 'string',
default: '',
description: 'A field in the input items to aggregate together',
// eslint-disable-next-line n8n-nodes-base/node-param-placeholder-miscased-id
placeholder: 'e.g. id',
hint: ' Enter the field name as text',
},
],
},
Expand Down Expand Up @@ -206,6 +209,9 @@ export class ItemLists implements INodeType {
type: 'string',
default: '',
description: 'The name of a field in the input items to aggregate together',
// eslint-disable-next-line n8n-nodes-base/node-param-placeholder-miscased-id
placeholder: 'e.g. id',
hint: ' Enter the field name as text',
},
{
displayName: 'Rename Field',
Expand Down Expand Up @@ -293,6 +299,9 @@ export class ItemLists implements INodeType {
type: 'string',
default: '',
description: 'A field in the input to exclude from the object in output array',
// eslint-disable-next-line n8n-nodes-base/node-param-placeholder-miscased-id
placeholder: 'e.g. id',
hint: ' Enter the field name as text',
},
],
},
Expand Down Expand Up @@ -326,6 +335,9 @@ export class ItemLists implements INodeType {
type: 'string',
default: '',
description: 'Specify fields that will be included in output array',
// eslint-disable-next-line n8n-nodes-base/node-param-placeholder-miscased-id
placeholder: 'e.g. id',
hint: ' Enter the field name as text',
},
],
},
Expand Down Expand Up @@ -394,6 +406,9 @@ export class ItemLists implements INodeType {
type: 'string',
default: '',
description: 'A field in the input to exclude from the comparison',
// eslint-disable-next-line n8n-nodes-base/node-param-placeholder-miscased-id
placeholder: 'e.g. id',
hint: ' Enter the field name as text',
},
],
},
Expand Down Expand Up @@ -426,6 +441,9 @@ export class ItemLists implements INodeType {
type: 'string',
default: '',
description: 'A field in the input to add to the comparison',
// eslint-disable-next-line n8n-nodes-base/node-param-placeholder-miscased-id
placeholder: 'e.g. id',
hint: ' Enter the field name as text',
},
],
},
Expand Down Expand Up @@ -479,6 +497,9 @@ export class ItemLists implements INodeType {
required: true,
default: '',
description: 'The field to sort by',
// eslint-disable-next-line n8n-nodes-base/node-param-placeholder-miscased-id
placeholder: 'e.g. id',
hint: ' Enter the field name as text',
},
{
displayName: 'Order',
Expand Down
14 changes: 3 additions & 11 deletions packages/nodes-base/nodes/Merge/Merge.node.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
"node": "n8n-nodes-base.merge",
"nodeVersion": "1.0",
"codexVersion": "1.0",
"categories": [
"Core Nodes"
],
"categories": ["Core Nodes"],
"resources": {
"primaryDocumentation": [
{
Expand Down Expand Up @@ -43,14 +41,8 @@
}
]
},
"alias": [
"Join",
"Concatenate",
"Wait"
],
"alias": ["Join", "Concatenate", "Wait"],
"subcategories": {
"Core Nodes": [
"Flow"
]
"Core Nodes": ["Flow"]
}
}
Loading

0 comments on commit f1a5697

Please sign in to comment.