mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
refactor(core): Reduce memory usage in the Webhook node (#4640)
use file streaming to pass webhook binaries around
This commit is contained in:
committed by
GitHub
parent
602b1e56d6
commit
07e4743a3e
@@ -27,13 +27,16 @@ export type IAllExecuteFunctions =
|
||||
| ITriggerFunctions
|
||||
| IWebhookFunctions;
|
||||
|
||||
export type BinaryFileType = 'text' | 'image' | 'video';
|
||||
export interface IBinaryData {
|
||||
[key: string]: string | undefined;
|
||||
data: string;
|
||||
mimeType: string;
|
||||
fileType?: BinaryFileType;
|
||||
fileName?: string;
|
||||
directory?: string;
|
||||
fileExtension?: string;
|
||||
fileSize?: string;
|
||||
id?: string;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user