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:
Michael Kret
2024-01-03 13:08:16 +02:00
committed by GitHub
parent 259323b97e
commit 5e16dd4ab4
119 changed files with 4477 additions and 1201 deletions

View File

@@ -184,7 +184,7 @@ export class FacebookGraphApi implements INodeType {
description: 'Whether to connect even if SSL certificate validation is not possible',
},
{
displayName: 'Send Binary Data',
displayName: 'Send Binary File',
name: 'sendBinaryData',
type: 'boolean',
displayOptions: {
@@ -197,7 +197,7 @@ export class FacebookGraphApi implements INodeType {
description: 'Whether binary data should be sent as body',
},
{
displayName: 'Binary Property',
displayName: 'Input Binary Field',
name: 'binaryPropertyName',
type: 'string',
default: '',
@@ -210,8 +210,9 @@ export class FacebookGraphApi implements INodeType {
httpRequestMethod: ['POST', 'PUT'],
},
},
hint: 'The name of the input binary field containing the file to be uploaded',
description:
'Name of the binary property which contains the data for the file to be uploaded. For Form-Data Multipart, they can be provided in the format: <code>"sendKey1:binaryProperty1,sendKey2:binaryProperty2</code>',
'For Form-Data Multipart, they can be provided in the format: <code>"sendKey1:binaryProperty1,sendKey2:binaryProperty2</code>',
},
{
displayName: 'Options',