mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 02:51:14 +00:00
refactor: Remove n8n-core dependency in nodes-base (no-changelog) (#5649)
This commit is contained in:
committed by
GitHub
parent
5790e5e719
commit
7a4e9ef5fa
@@ -2,7 +2,7 @@ import { readFile, stat } from 'fs/promises';
|
||||
import type { BinaryMetadata, IBinaryData, INodeExecutionData } from 'n8n-workflow';
|
||||
import prettyBytes from 'pretty-bytes';
|
||||
import type { Readable } from 'stream';
|
||||
import { BINARY_ENCODING } from '../Constants';
|
||||
import { BINARY_ENCODING } from 'n8n-workflow';
|
||||
import type { IBinaryDataConfig, IBinaryDataManager } from '../Interfaces';
|
||||
import { BinaryDataFileSystem } from './FileSystem';
|
||||
import { binaryToBuffer } from './utils';
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
/* eslint-disable @typescript-eslint/naming-convention */
|
||||
export const BINARY_ENCODING = 'base64';
|
||||
export const CUSTOM_EXTENSION_ENV = 'N8N_CUSTOM_EXTENSIONS';
|
||||
export const DOWNLOADED_NODES_SUBDIRECTORY = 'nodes';
|
||||
export const ENCRYPTION_KEY_ENV_OVERWRITE = 'N8N_ENCRYPTION_KEY';
|
||||
@@ -10,7 +9,6 @@ export const USER_SETTINGS_SUBFOLDER = '.n8n';
|
||||
export const PLACEHOLDER_EMPTY_EXECUTION_ID = '__UNKNOWN__';
|
||||
export const PLACEHOLDER_EMPTY_WORKFLOW_ID = '__EMPTY__';
|
||||
export const TUNNEL_SUBDOMAIN_ENV = 'N8N_TUNNEL_SUBDOMAIN';
|
||||
export const WAIT_TIME_UNLIMITED = '3000-01-01T00:00:00.000Z';
|
||||
|
||||
export const RESPONSE_ERROR_MESSAGES = {
|
||||
NO_ENCRYPTION_KEY: 'Encryption key is missing or was not set',
|
||||
|
||||
@@ -15,9 +15,3 @@ export * from './NodeExecuteFunctions';
|
||||
export * from './WorkflowExecute';
|
||||
export { eventEmitter, NodeExecuteFunctions, UserSettings };
|
||||
export * from './errors';
|
||||
|
||||
declare module 'http' {
|
||||
export interface IncomingMessage {
|
||||
rawBody: Buffer;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user