feat(Set Node): Preserve binary data by default (#9668)
Co-authored-by: Michael Kret <michael.k@radency.com>
This commit is contained in:
@@ -21,7 +21,7 @@ const versionDescription: INodeTypeDescription = {
|
||||
name: 'set',
|
||||
iconColor: 'blue',
|
||||
group: ['input'],
|
||||
version: [3, 3.1, 3.2, 3.3],
|
||||
version: [3, 3.1, 3.2, 3.3, 3.4],
|
||||
description: 'Modify, add, or remove item fields',
|
||||
subtitle: '={{$parameter["mode"]}}',
|
||||
defaults: {
|
||||
@@ -208,8 +208,27 @@ const versionDescription: INodeTypeDescription = {
|
||||
name: 'includeBinary',
|
||||
type: 'boolean',
|
||||
default: true,
|
||||
displayOptions: {
|
||||
hide: {
|
||||
'@version': [{ _cnd: { gte: 3.4 } }],
|
||||
},
|
||||
},
|
||||
description: 'Whether binary data should be included if present in the input item',
|
||||
},
|
||||
{
|
||||
displayName: 'Strip Binary Data',
|
||||
name: 'stripBinary',
|
||||
type: 'boolean',
|
||||
default: true,
|
||||
description:
|
||||
'Whether binary data should be stripped from the input item. Only applies when "Include Other Input Fields" is enabled.',
|
||||
displayOptions: {
|
||||
show: {
|
||||
'@version': [{ _cnd: { gte: 3.4 } }],
|
||||
'/includeOtherFields': [true],
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
displayName: 'Ignore Type Conversion Errors',
|
||||
name: 'ignoreConversionErrors',
|
||||
|
||||
Reference in New Issue
Block a user