mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
feat(core): Improvements/overhaul for nodes working with binary data (#7651)
Github issue / Community forum post (link here to close automatically): --------- Co-authored-by: Giulio Andreini <andreini@netseven.it> Co-authored-by: Marcus <marcus@n8n.io>
This commit is contained in:
@@ -90,7 +90,7 @@ export class AwsRekognition implements INodeType {
|
||||
default: 'detectFaces',
|
||||
},
|
||||
{
|
||||
displayName: 'Binary Data',
|
||||
displayName: 'Binary File',
|
||||
name: 'binaryData',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
@@ -104,7 +104,7 @@ export class AwsRekognition implements INodeType {
|
||||
description: 'Whether the image to analyze should be taken from binary field',
|
||||
},
|
||||
{
|
||||
displayName: 'Binary Property',
|
||||
displayName: 'Input Binary Field',
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: ['analyze'],
|
||||
@@ -115,7 +115,7 @@ export class AwsRekognition implements INodeType {
|
||||
name: 'binaryPropertyName',
|
||||
type: 'string',
|
||||
default: 'data',
|
||||
description: 'Object property name which holds binary data',
|
||||
hint: 'The name of the input binary field containing the file to be written',
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
|
||||
@@ -373,7 +373,7 @@ export const fileFields: INodeProperties[] = [
|
||||
description: 'If not set the binary data filename will be used',
|
||||
},
|
||||
{
|
||||
displayName: 'Binary Data',
|
||||
displayName: 'Binary File',
|
||||
name: 'binaryData',
|
||||
type: 'boolean',
|
||||
default: true,
|
||||
@@ -401,7 +401,7 @@ export const fileFields: INodeProperties[] = [
|
||||
description: 'The text content of the file to upload',
|
||||
},
|
||||
{
|
||||
displayName: 'Binary Property',
|
||||
displayName: 'Input Binary Field',
|
||||
name: 'binaryPropertyName',
|
||||
type: 'string',
|
||||
default: 'data',
|
||||
@@ -414,7 +414,7 @@ export const fileFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
placeholder: '',
|
||||
description: 'Name of the binary property which contains the data for the file to be uploaded',
|
||||
hint: 'The name of the input binary field containing the file to be uploaded',
|
||||
},
|
||||
{
|
||||
displayName: 'Additional Fields',
|
||||
@@ -698,7 +698,7 @@ export const fileFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
displayName: 'Binary Property',
|
||||
displayName: 'Put Output File in Field',
|
||||
name: 'binaryPropertyName',
|
||||
type: 'string',
|
||||
required: true,
|
||||
@@ -709,7 +709,7 @@ export const fileFields: INodeProperties[] = [
|
||||
resource: ['file'],
|
||||
},
|
||||
},
|
||||
description: 'Name of the binary property to which to write the data of the read file',
|
||||
hint: 'The name of the output binary field to put the file in',
|
||||
},
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* file:delete */
|
||||
|
||||
@@ -373,7 +373,7 @@ export const fileFields: INodeProperties[] = [
|
||||
description: 'If not set the binary data filename will be used',
|
||||
},
|
||||
{
|
||||
displayName: 'Binary Data',
|
||||
displayName: 'Binary File',
|
||||
name: 'binaryData',
|
||||
type: 'boolean',
|
||||
default: true,
|
||||
@@ -401,7 +401,7 @@ export const fileFields: INodeProperties[] = [
|
||||
description: 'The text content of the file to upload',
|
||||
},
|
||||
{
|
||||
displayName: 'Binary Property',
|
||||
displayName: 'Input Binary Field',
|
||||
name: 'binaryPropertyName',
|
||||
type: 'string',
|
||||
default: 'data',
|
||||
@@ -414,7 +414,7 @@ export const fileFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
placeholder: '',
|
||||
description: 'Name of the binary property which contains the data for the file to be uploaded',
|
||||
hint: 'The name of the input binary field containing the file to be uploaded',
|
||||
},
|
||||
{
|
||||
displayName: 'Additional Fields',
|
||||
@@ -698,7 +698,7 @@ export const fileFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
displayName: 'Binary Property',
|
||||
displayName: 'Put Output File in Field',
|
||||
name: 'binaryPropertyName',
|
||||
type: 'string',
|
||||
required: true,
|
||||
@@ -709,7 +709,7 @@ export const fileFields: INodeProperties[] = [
|
||||
resource: ['file'],
|
||||
},
|
||||
},
|
||||
description: 'Name of the binary property to which to write the data of the read file',
|
||||
hint: 'The name of the output binary field to put the file in',
|
||||
},
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* file:delete */
|
||||
|
||||
Reference in New Issue
Block a user