diff --git a/packages/cli/src/WebhookHelpers.ts b/packages/cli/src/WebhookHelpers.ts index aa73abd3a388b..e399f10beb657 100644 --- a/packages/cli/src/WebhookHelpers.ts +++ b/packages/cli/src/WebhookHelpers.ts @@ -16,7 +16,7 @@ import type express from 'express'; import get from 'lodash.get'; -import { BINARY_ENCODING, BinaryDataManager, NodeExecuteFunctions, eventEmitter } from 'n8n-core'; +import { BinaryDataManager, NodeExecuteFunctions, eventEmitter } from 'n8n-core'; import type { IBinaryKeyData, @@ -35,6 +35,7 @@ import type { WorkflowExecuteMode, } from 'n8n-workflow'; import { + BINARY_ENCODING, createDeferredPromise, ErrorReporterProxy as ErrorReporter, LoggerProxy as Logger, diff --git a/packages/core/src/BinaryDataManager/index.ts b/packages/core/src/BinaryDataManager/index.ts index a019fdaddb165..b3ddb8738d6c6 100644 --- a/packages/core/src/BinaryDataManager/index.ts +++ b/packages/core/src/BinaryDataManager/index.ts @@ -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'; diff --git a/packages/core/src/Constants.ts b/packages/core/src/Constants.ts index 6d2fe99321336..72894e6eaa5b3 100644 --- a/packages/core/src/Constants.ts +++ b/packages/core/src/Constants.ts @@ -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', diff --git a/packages/core/src/index.ts b/packages/core/src/index.ts index 34deb18f363a1..61cca27d8e8dc 100644 --- a/packages/core/src/index.ts +++ b/packages/core/src/index.ts @@ -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; - } -} diff --git a/packages/node-dev/src/Build.ts b/packages/node-dev/src/Build.ts index c15affb5d1aed..096d4b6c06b4b 100644 --- a/packages/node-dev/src/Build.ts +++ b/packages/node-dev/src/Build.ts @@ -46,7 +46,7 @@ export async function createCustomTsconfig() { /** * Builds and copies credentials and nodes * - * @param {IBuildOptions} [options] Options to overwrite default behaviour + * @param {IBuildOptions} [options] Options to overwrite default behavior */ export async function buildFiles({ destinationFolder = UserSettings.getUserN8nFolderCustomExtensionPath(), diff --git a/packages/node-dev/templates/execute/simple.ts b/packages/node-dev/templates/execute/simple.ts index 04d97a0768274..e48bb62a89d1f 100644 --- a/packages/node-dev/templates/execute/simple.ts +++ b/packages/node-dev/templates/execute/simple.ts @@ -1,5 +1,9 @@ -import { IExecuteFunctions } from 'n8n-core'; -import { INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import { + IExecuteFunctions, + INodeExecutionData, + INodeType, + INodeTypeDescription, +} from 'n8n-workflow'; export class ClassNameReplace implements INodeType { description: INodeTypeDescription = { diff --git a/packages/node-dev/templates/trigger/simple.ts b/packages/node-dev/templates/trigger/simple.ts index 8702fed988274..d1ba8fab1355a 100644 --- a/packages/node-dev/templates/trigger/simple.ts +++ b/packages/node-dev/templates/trigger/simple.ts @@ -1,5 +1,4 @@ -import { ITriggerFunctions } from 'n8n-core'; -import { INodeType, INodeTypeDescription, ITriggerResponse } from 'n8n-workflow'; +import { ITriggerFunctions, INodeType, INodeTypeDescription, ITriggerResponse } from 'n8n-workflow'; export class ClassNameReplace implements INodeType { description: INodeTypeDescription = { diff --git a/packages/node-dev/templates/webhook/simple.ts b/packages/node-dev/templates/webhook/simple.ts index 76934e5978429..e7dccd146f4c3 100644 --- a/packages/node-dev/templates/webhook/simple.ts +++ b/packages/node-dev/templates/webhook/simple.ts @@ -1,6 +1,10 @@ -import { IWebhookFunctions } from 'n8n-core'; - -import { IDataObject, INodeTypeDescription, INodeType, IWebhookResponseData } from 'n8n-workflow'; +import { + IDataObject, + IWebhookFunctions, + INodeTypeDescription, + INodeType, + IWebhookResponseData, +} from 'n8n-workflow'; export class ClassNameReplace implements INodeType { description: INodeTypeDescription = { diff --git a/packages/nodes-base/credentials/ShopifyApi.credentials.ts b/packages/nodes-base/credentials/ShopifyApi.credentials.ts index 25f5ae3e1bc2a..93ef009304e97 100644 --- a/packages/nodes-base/credentials/ShopifyApi.credentials.ts +++ b/packages/nodes-base/credentials/ShopifyApi.credentials.ts @@ -1,4 +1,4 @@ -import { BINARY_ENCODING } from 'n8n-core'; +import { BINARY_ENCODING } from 'n8n-workflow'; import type { ICredentialDataDecryptedObject, ICredentialTestRequest, diff --git a/packages/nodes-base/nodes/ActionNetwork/ActionNetwork.node.ts b/packages/nodes-base/nodes/ActionNetwork/ActionNetwork.node.ts index e7aa0c69cc6aa..7c2089ce166e4 100644 --- a/packages/nodes-base/nodes/ActionNetwork/ActionNetwork.node.ts +++ b/packages/nodes-base/nodes/ActionNetwork/ActionNetwork.node.ts @@ -1,7 +1,6 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { IDataObject, + IExecuteFunctions, INodeExecutionData, INodeType, INodeTypeDescription, diff --git a/packages/nodes-base/nodes/ActionNetwork/GenericFunctions.ts b/packages/nodes-base/nodes/ActionNetwork/GenericFunctions.ts index 1de5b018fb374..ac4f481d75e35 100644 --- a/packages/nodes-base/nodes/ActionNetwork/GenericFunctions.ts +++ b/packages/nodes-base/nodes/ActionNetwork/GenericFunctions.ts @@ -1,6 +1,4 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject, ILoadOptionsFunctions } from 'n8n-workflow'; +import type { IDataObject, IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-workflow'; import type { OptionsWithUri } from 'request'; diff --git a/packages/nodes-base/nodes/ActiveCampaign/ActiveCampaign.node.ts b/packages/nodes-base/nodes/ActiveCampaign/ActiveCampaign.node.ts index 4941acf03b99c..fddbc8a268178 100644 --- a/packages/nodes-base/nodes/ActiveCampaign/ActiveCampaign.node.ts +++ b/packages/nodes-base/nodes/ActiveCampaign/ActiveCampaign.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/ActiveCampaign/ActiveCampaignTrigger.node.ts b/packages/nodes-base/nodes/ActiveCampaign/ActiveCampaignTrigger.node.ts index 1d316e9ab0ebb..49314a20a6255 100644 --- a/packages/nodes-base/nodes/ActiveCampaign/ActiveCampaignTrigger.node.ts +++ b/packages/nodes-base/nodes/ActiveCampaign/ActiveCampaignTrigger.node.ts @@ -1,6 +1,6 @@ -import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; - import type { + IHookFunctions, + IWebhookFunctions, IDataObject, ILoadOptionsFunctions, INodePropertyOptions, diff --git a/packages/nodes-base/nodes/ActiveCampaign/GenericFunctions.ts b/packages/nodes-base/nodes/ActiveCampaign/GenericFunctions.ts index 54c81b3901f33..5350d7d17b6a4 100644 --- a/packages/nodes-base/nodes/ActiveCampaign/GenericFunctions.ts +++ b/packages/nodes-base/nodes/ActiveCampaign/GenericFunctions.ts @@ -1,6 +1,11 @@ -import type { IExecuteFunctions, IHookFunctions } from 'n8n-core'; - -import type { IDataObject, ILoadOptionsFunctions, INodeProperties, JsonObject } from 'n8n-workflow'; +import type { + IDataObject, + IExecuteFunctions, + IHookFunctions, + ILoadOptionsFunctions, + INodeProperties, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; import type { OptionsWithUri } from 'request'; diff --git a/packages/nodes-base/nodes/AcuityScheduling/AcuitySchedulingTrigger.node.ts b/packages/nodes-base/nodes/AcuityScheduling/AcuitySchedulingTrigger.node.ts index 85377674d3f1d..de920558fc5e1 100644 --- a/packages/nodes-base/nodes/AcuityScheduling/AcuitySchedulingTrigger.node.ts +++ b/packages/nodes-base/nodes/AcuityScheduling/AcuitySchedulingTrigger.node.ts @@ -1,6 +1,6 @@ -import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; - import type { + IHookFunctions, + IWebhookFunctions, IDataObject, INodeType, INodeTypeDescription, diff --git a/packages/nodes-base/nodes/AcuityScheduling/GenericFunctions.ts b/packages/nodes-base/nodes/AcuityScheduling/GenericFunctions.ts index 2492be7c8fc24..46722dad9b053 100644 --- a/packages/nodes-base/nodes/AcuityScheduling/GenericFunctions.ts +++ b/packages/nodes-base/nodes/AcuityScheduling/GenericFunctions.ts @@ -1,12 +1,13 @@ import type { OptionsWithUri } from 'request'; import type { + IDataObject, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, IWebhookFunctions, -} from 'n8n-core'; -import type { IDataObject, JsonObject } from 'n8n-workflow'; + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function acuitySchedulingApiRequest( diff --git a/packages/nodes-base/nodes/Affinity/Affinity.node.ts b/packages/nodes-base/nodes/Affinity/Affinity.node.ts index 6d85aad421d99..7e529e67595cb 100644 --- a/packages/nodes-base/nodes/Affinity/Affinity.node.ts +++ b/packages/nodes-base/nodes/Affinity/Affinity.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Affinity/AffinityTrigger.node.ts b/packages/nodes-base/nodes/Affinity/AffinityTrigger.node.ts index eca99ab6bd366..e7b04339cfc04 100644 --- a/packages/nodes-base/nodes/Affinity/AffinityTrigger.node.ts +++ b/packages/nodes-base/nodes/Affinity/AffinityTrigger.node.ts @@ -1,6 +1,6 @@ -import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; - import type { + IHookFunctions, + IWebhookFunctions, IDataObject, INodeType, INodeTypeDescription, diff --git a/packages/nodes-base/nodes/Affinity/GenericFunctions.ts b/packages/nodes-base/nodes/Affinity/GenericFunctions.ts index 1266077e8d30f..15bcf5480fe8a 100644 --- a/packages/nodes-base/nodes/Affinity/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Affinity/GenericFunctions.ts @@ -1,10 +1,14 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { BINARY_ENCODING } from 'n8n-core'; - -import type { IDataObject, IHookFunctions, IWebhookFunctions, JsonObject } from 'n8n-workflow'; -import { NodeApiError } from 'n8n-workflow'; +import type { + IDataObject, + IExecuteFunctions, + ILoadOptionsFunctions, + IHookFunctions, + IWebhookFunctions, + JsonObject, +} from 'n8n-workflow'; +import { BINARY_ENCODING, NodeApiError } from 'n8n-workflow'; export async function affinityApiRequest( this: IExecuteFunctions | IWebhookFunctions | IHookFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/AgileCrm/AgileCrm.node.ts b/packages/nodes-base/nodes/AgileCrm/AgileCrm.node.ts index ad24cc3bad553..0730efd29b78e 100644 --- a/packages/nodes-base/nodes/AgileCrm/AgileCrm.node.ts +++ b/packages/nodes-base/nodes/AgileCrm/AgileCrm.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/AgileCrm/GenericFunctions.ts b/packages/nodes-base/nodes/AgileCrm/GenericFunctions.ts index 7269b7f985483..3fb6345f2f2d2 100644 --- a/packages/nodes-base/nodes/AgileCrm/GenericFunctions.ts +++ b/packages/nodes-base/nodes/AgileCrm/GenericFunctions.ts @@ -1,13 +1,13 @@ import type { OptionsWithUri } from 'request'; import type { + IDataObject, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, -} from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; import type { IContactUpdate } from './ContactInterface'; diff --git a/packages/nodes-base/nodes/Airtable/Airtable.node.ts b/packages/nodes-base/nodes/Airtable/Airtable.node.ts index 494b9899b0079..eb8d499b32022 100644 --- a/packages/nodes-base/nodes/Airtable/Airtable.node.ts +++ b/packages/nodes-base/nodes/Airtable/Airtable.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/Airtable/AirtableTrigger.node.ts b/packages/nodes-base/nodes/Airtable/AirtableTrigger.node.ts index 9902557e047e2..b54ae8f8da0f4 100644 --- a/packages/nodes-base/nodes/Airtable/AirtableTrigger.node.ts +++ b/packages/nodes-base/nodes/Airtable/AirtableTrigger.node.ts @@ -1,6 +1,5 @@ -import type { IPollFunctions } from 'n8n-core'; - import type { + IPollFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/Airtable/GenericFunctions.ts b/packages/nodes-base/nodes/Airtable/GenericFunctions.ts index 6b046a1e5a652..80e769e18a22b 100644 --- a/packages/nodes-base/nodes/Airtable/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Airtable/GenericFunctions.ts @@ -1,10 +1,10 @@ -import type { IExecuteFunctions, IPollFunctions } from 'n8n-core'; - import type { OptionsWithUri } from 'request'; import type { IBinaryKeyData, IDataObject, + IExecuteFunctions, + IPollFunctions, ILoadOptionsFunctions, INodeExecutionData, } from 'n8n-workflow'; diff --git a/packages/nodes-base/nodes/Amqp/Amqp.node.ts b/packages/nodes-base/nodes/Amqp/Amqp.node.ts index 8f7657fb77b2c..38746077f27ac 100644 --- a/packages/nodes-base/nodes/Amqp/Amqp.node.ts +++ b/packages/nodes-base/nodes/Amqp/Amqp.node.ts @@ -1,8 +1,8 @@ import type { ContainerOptions, Dictionary, EventContext } from 'rhea'; import { create_container } from 'rhea'; -import type { IExecuteFunctions } from 'n8n-core'; import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/Amqp/AmqpTrigger.node.ts b/packages/nodes-base/nodes/Amqp/AmqpTrigger.node.ts index 68dcd10e210e2..d69fa908b6064 100644 --- a/packages/nodes-base/nodes/Amqp/AmqpTrigger.node.ts +++ b/packages/nodes-base/nodes/Amqp/AmqpTrigger.node.ts @@ -1,8 +1,13 @@ import type { ContainerOptions, EventContext, Message, ReceiverOptions } from 'rhea'; import { create_container } from 'rhea'; -import type { ITriggerFunctions } from 'n8n-core'; -import type { IDataObject, INodeType, INodeTypeDescription, ITriggerResponse } from 'n8n-workflow'; +import type { + ITriggerFunctions, + IDataObject, + INodeType, + INodeTypeDescription, + ITriggerResponse, +} from 'n8n-workflow'; import { deepCopy, jsonParse, NodeOperationError } from 'n8n-workflow'; export class AmqpTrigger implements INodeType { diff --git a/packages/nodes-base/nodes/ApiTemplateIo/ApiTemplateIo.node.ts b/packages/nodes-base/nodes/ApiTemplateIo/ApiTemplateIo.node.ts index cbdd192a3e3c9..41398e4e7aadc 100644 --- a/packages/nodes-base/nodes/ApiTemplateIo/ApiTemplateIo.node.ts +++ b/packages/nodes-base/nodes/ApiTemplateIo/ApiTemplateIo.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/ApiTemplateIo/GenericFunctions.ts b/packages/nodes-base/nodes/ApiTemplateIo/GenericFunctions.ts index aef669dae22c9..a5d90db168671 100644 --- a/packages/nodes-base/nodes/ApiTemplateIo/GenericFunctions.ts +++ b/packages/nodes-base/nodes/ApiTemplateIo/GenericFunctions.ts @@ -1,7 +1,6 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import type { JsonObject } from 'n8n-workflow'; +import type { IExecuteFunctions, ILoadOptionsFunctions, JsonObject } from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function apiTemplateIoApiRequest( diff --git a/packages/nodes-base/nodes/Asana/Asana.node.ts b/packages/nodes-base/nodes/Asana/Asana.node.ts index 3029c56f1ac51..6e6efdcc3e32b 100644 --- a/packages/nodes-base/nodes/Asana/Asana.node.ts +++ b/packages/nodes-base/nodes/Asana/Asana.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, IHttpRequestMethods, ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Asana/AsanaTrigger.node.ts b/packages/nodes-base/nodes/Asana/AsanaTrigger.node.ts index e8cce229e0e2c..2115baa2c5b47 100644 --- a/packages/nodes-base/nodes/Asana/AsanaTrigger.node.ts +++ b/packages/nodes-base/nodes/Asana/AsanaTrigger.node.ts @@ -1,6 +1,6 @@ -import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; - import type { + IHookFunctions, + IWebhookFunctions, IDataObject, ILoadOptionsFunctions, INodePropertyOptions, diff --git a/packages/nodes-base/nodes/Asana/GenericFunctions.ts b/packages/nodes-base/nodes/Asana/GenericFunctions.ts index 519dc6a338fb0..4839ceed770d1 100644 --- a/packages/nodes-base/nodes/Asana/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Asana/GenericFunctions.ts @@ -1,7 +1,8 @@ -import type { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions } from 'n8n-core'; - import type { IDataObject, + IExecuteFunctions, + IHookFunctions, + ILoadOptionsFunctions, IHttpRequestMethods, IHttpRequestOptions, INodePropertyOptions, diff --git a/packages/nodes-base/nodes/Automizy/Automizy.node.ts b/packages/nodes-base/nodes/Automizy/Automizy.node.ts index 9e77f5141925b..da4c8f1a4cd7e 100644 --- a/packages/nodes-base/nodes/Automizy/Automizy.node.ts +++ b/packages/nodes-base/nodes/Automizy/Automizy.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Automizy/GenericFunctions.ts b/packages/nodes-base/nodes/Automizy/GenericFunctions.ts index 7fd08548a1235..44b2760a7b3f4 100644 --- a/packages/nodes-base/nodes/Automizy/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Automizy/GenericFunctions.ts @@ -1,8 +1,12 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + IExecuteSingleFunctions, + ILoadOptionsFunctions, + IDataObject, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function automizyApiRequest( diff --git a/packages/nodes-base/nodes/Autopilot/Autopilot.node.ts b/packages/nodes-base/nodes/Autopilot/Autopilot.node.ts index 3d17b80198780..daba7d550636d 100644 --- a/packages/nodes-base/nodes/Autopilot/Autopilot.node.ts +++ b/packages/nodes-base/nodes/Autopilot/Autopilot.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Autopilot/AutopilotTrigger.node.ts b/packages/nodes-base/nodes/Autopilot/AutopilotTrigger.node.ts index 2bb4a13697116..ee208e1d54d3a 100644 --- a/packages/nodes-base/nodes/Autopilot/AutopilotTrigger.node.ts +++ b/packages/nodes-base/nodes/Autopilot/AutopilotTrigger.node.ts @@ -1,6 +1,6 @@ -import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; - import type { + IHookFunctions, + IWebhookFunctions, IDataObject, INodeType, INodeTypeDescription, diff --git a/packages/nodes-base/nodes/Autopilot/GenericFunctions.ts b/packages/nodes-base/nodes/Autopilot/GenericFunctions.ts index bd73190879b99..006472ef77556 100644 --- a/packages/nodes-base/nodes/Autopilot/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Autopilot/GenericFunctions.ts @@ -1,8 +1,13 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; - -import type { IDataObject, IHookFunctions, IWebhookFunctions, JsonObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + ILoadOptionsFunctions, + IDataObject, + IHookFunctions, + IWebhookFunctions, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function autopilotApiRequest( diff --git a/packages/nodes-base/nodes/Aws/AwsLambda.node.ts b/packages/nodes-base/nodes/Aws/AwsLambda.node.ts index a7e31607416ac..f5404f6522533 100644 --- a/packages/nodes-base/nodes/Aws/AwsLambda.node.ts +++ b/packages/nodes-base/nodes/Aws/AwsLambda.node.ts @@ -1,5 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Aws/AwsSns.node.ts b/packages/nodes-base/nodes/Aws/AwsSns.node.ts index 60451d446c546..3cd4d33f2e31b 100644 --- a/packages/nodes-base/nodes/Aws/AwsSns.node.ts +++ b/packages/nodes-base/nodes/Aws/AwsSns.node.ts @@ -1,5 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Aws/AwsSnsTrigger.node.ts b/packages/nodes-base/nodes/Aws/AwsSnsTrigger.node.ts index e9644a736e916..f38ca25613434 100644 --- a/packages/nodes-base/nodes/Aws/AwsSnsTrigger.node.ts +++ b/packages/nodes-base/nodes/Aws/AwsSnsTrigger.node.ts @@ -1,6 +1,6 @@ -import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; - import type { + IHookFunctions, + IWebhookFunctions, ILoadOptionsFunctions, INodeListSearchItems, INodeListSearchResult, diff --git a/packages/nodes-base/nodes/Aws/CertificateManager/AwsCertificateManager.node.ts b/packages/nodes-base/nodes/Aws/CertificateManager/AwsCertificateManager.node.ts index 39397a999bad8..493e240a70ffe 100644 --- a/packages/nodes-base/nodes/Aws/CertificateManager/AwsCertificateManager.node.ts +++ b/packages/nodes-base/nodes/Aws/CertificateManager/AwsCertificateManager.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/Aws/CertificateManager/GenericFunctions.ts b/packages/nodes-base/nodes/Aws/CertificateManager/GenericFunctions.ts index ec178291b38ae..16f2e3c43d744 100644 --- a/packages/nodes-base/nodes/Aws/CertificateManager/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Aws/CertificateManager/GenericFunctions.ts @@ -1,13 +1,14 @@ import get from 'lodash.get'; import type { + IDataObject, IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions, IWebhookFunctions, -} from 'n8n-core'; - -import type { IDataObject, IHttpRequestOptions, JsonObject } from 'n8n-workflow'; + IHttpRequestOptions, + JsonObject, +} from 'n8n-workflow'; import { jsonParse, NodeApiError } from 'n8n-workflow'; export async function awsApiRequest( diff --git a/packages/nodes-base/nodes/Aws/Comprehend/AwsComprehend.node.ts b/packages/nodes-base/nodes/Aws/Comprehend/AwsComprehend.node.ts index 7ff7086299d80..d86ecc77cdd97 100644 --- a/packages/nodes-base/nodes/Aws/Comprehend/AwsComprehend.node.ts +++ b/packages/nodes-base/nodes/Aws/Comprehend/AwsComprehend.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/Aws/Comprehend/GenericFunctions.ts b/packages/nodes-base/nodes/Aws/Comprehend/GenericFunctions.ts index f8742dc5223d7..f8b6bee8b88e0 100644 --- a/packages/nodes-base/nodes/Aws/Comprehend/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Aws/Comprehend/GenericFunctions.ts @@ -5,9 +5,8 @@ import type { IHookFunctions, ILoadOptionsFunctions, IWebhookFunctions, -} from 'n8n-core'; - -import type { IHttpRequestOptions } from 'n8n-workflow'; + IHttpRequestOptions, +} from 'n8n-workflow'; export async function awsApiRequest( this: IHookFunctions | IExecuteFunctions | ILoadOptionsFunctions | IWebhookFunctions, diff --git a/packages/nodes-base/nodes/Aws/DynamoDB/AwsDynamoDB.node.ts b/packages/nodes-base/nodes/Aws/DynamoDB/AwsDynamoDB.node.ts index 39158c26eaf3a..354808befbc44 100644 --- a/packages/nodes-base/nodes/Aws/DynamoDB/AwsDynamoDB.node.ts +++ b/packages/nodes-base/nodes/Aws/DynamoDB/AwsDynamoDB.node.ts @@ -1,7 +1,6 @@ /* eslint-disable n8n-nodes-base/node-filename-against-convention */ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Aws/DynamoDB/GenericFunctions.ts b/packages/nodes-base/nodes/Aws/DynamoDB/GenericFunctions.ts index b23784527c632..a44214133ca72 100644 --- a/packages/nodes-base/nodes/Aws/DynamoDB/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Aws/DynamoDB/GenericFunctions.ts @@ -1,11 +1,12 @@ import type { + IDataObject, IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions, IWebhookFunctions, -} from 'n8n-core'; - -import type { IDataObject, IHttpRequestOptions, INodeExecutionData } from 'n8n-workflow'; + IHttpRequestOptions, + INodeExecutionData, +} from 'n8n-workflow'; import { deepCopy } from 'n8n-workflow'; import type { IRequestBody } from './types'; diff --git a/packages/nodes-base/nodes/Aws/ELB/AwsElb.node.ts b/packages/nodes-base/nodes/Aws/ELB/AwsElb.node.ts index bacedf2714c7d..b8101fd57252b 100644 --- a/packages/nodes-base/nodes/Aws/ELB/AwsElb.node.ts +++ b/packages/nodes-base/nodes/Aws/ELB/AwsElb.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Aws/ELB/GenericFunctions.ts b/packages/nodes-base/nodes/Aws/ELB/GenericFunctions.ts index e2f5537e5156c..013150e2b577d 100644 --- a/packages/nodes-base/nodes/Aws/ELB/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Aws/ELB/GenericFunctions.ts @@ -3,13 +3,14 @@ import get from 'lodash.get'; import { parseString } from 'xml2js'; import type { + IDataObject, IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions, IWebhookFunctions, -} from 'n8n-core'; - -import type { IDataObject, IHttpRequestOptions, JsonObject } from 'n8n-workflow'; + IHttpRequestOptions, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function awsApiRequest( diff --git a/packages/nodes-base/nodes/Aws/GenericFunctions.ts b/packages/nodes-base/nodes/Aws/GenericFunctions.ts index bd5d124ea35c7..7611eaab78601 100644 --- a/packages/nodes-base/nodes/Aws/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Aws/GenericFunctions.ts @@ -5,9 +5,9 @@ import type { IHookFunctions, ILoadOptionsFunctions, IWebhookFunctions, -} from 'n8n-core'; - -import type { IHttpRequestOptions, JsonObject } from 'n8n-workflow'; + IHttpRequestOptions, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function awsApiRequest( diff --git a/packages/nodes-base/nodes/Aws/Rekognition/GenericFunctions.ts b/packages/nodes-base/nodes/Aws/Rekognition/GenericFunctions.ts index 482dd6b723efe..d9a49cc8a3ff5 100644 --- a/packages/nodes-base/nodes/Aws/Rekognition/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Aws/Rekognition/GenericFunctions.ts @@ -3,13 +3,13 @@ import get from 'lodash.get'; import { parseString } from 'xml2js'; import type { + IDataObject, IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions, IWebhookFunctions, -} from 'n8n-core'; - -import type { IDataObject, IHttpRequestOptions } from 'n8n-workflow'; + IHttpRequestOptions, +} from 'n8n-workflow'; import { pascalCase } from 'change-case'; diff --git a/packages/nodes-base/nodes/Aws/S3/GenericFunctions.ts b/packages/nodes-base/nodes/Aws/S3/GenericFunctions.ts index cd5556dfb1fe1..e9d77c393dfcb 100644 --- a/packages/nodes-base/nodes/Aws/S3/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Aws/S3/GenericFunctions.ts @@ -3,13 +3,13 @@ import get from 'lodash.get'; import { parseString } from 'xml2js'; import type { + IDataObject, IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions, IWebhookFunctions, -} from 'n8n-core'; - -import type { IDataObject, IHttpRequestOptions } from 'n8n-workflow'; + IHttpRequestOptions, +} from 'n8n-workflow'; export async function awsApiRequest( this: IHookFunctions | IExecuteFunctions | ILoadOptionsFunctions | IWebhookFunctions, diff --git a/packages/nodes-base/nodes/Aws/SES/AwsSes.node.ts b/packages/nodes-base/nodes/Aws/SES/AwsSes.node.ts index aaf33419c4835..eaf9b17af6858 100644 --- a/packages/nodes-base/nodes/Aws/SES/AwsSes.node.ts +++ b/packages/nodes-base/nodes/Aws/SES/AwsSes.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Aws/SES/GenericFunctions.ts b/packages/nodes-base/nodes/Aws/SES/GenericFunctions.ts index 82ced0804407d..79fb349d05e09 100644 --- a/packages/nodes-base/nodes/Aws/SES/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Aws/SES/GenericFunctions.ts @@ -1,13 +1,14 @@ import { parseString } from 'xml2js'; import type { + IDataObject, IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions, IWebhookFunctions, -} from 'n8n-core'; - -import type { IDataObject, IHttpRequestOptions, JsonObject } from 'n8n-workflow'; + IHttpRequestOptions, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; import get from 'lodash.get'; diff --git a/packages/nodes-base/nodes/Aws/Textract/GenericFunctions.ts b/packages/nodes-base/nodes/Aws/Textract/GenericFunctions.ts index 3d49d2d1b098f..addd787ce7219 100644 --- a/packages/nodes-base/nodes/Aws/Textract/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Aws/Textract/GenericFunctions.ts @@ -8,15 +8,12 @@ import type { OptionsWithUri } from 'request'; import { parseString } from 'xml2js'; import type { + ICredentialDataDecryptedObject, + ICredentialTestFunctions, IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions, IWebhookFunctions, -} from 'n8n-core'; - -import type { - ICredentialDataDecryptedObject, - ICredentialTestFunctions, IHttpRequestOptions, JsonObject, } from 'n8n-workflow'; diff --git a/packages/nodes-base/nodes/Aws/Transcribe/AwsTranscribe.node.ts b/packages/nodes-base/nodes/Aws/Transcribe/AwsTranscribe.node.ts index 127b961f4a210..01e8b19ea0ec3 100644 --- a/packages/nodes-base/nodes/Aws/Transcribe/AwsTranscribe.node.ts +++ b/packages/nodes-base/nodes/Aws/Transcribe/AwsTranscribe.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/Aws/Transcribe/GenericFunctions.ts b/packages/nodes-base/nodes/Aws/Transcribe/GenericFunctions.ts index 3dff43e92f609..c894a5cf536b5 100644 --- a/packages/nodes-base/nodes/Aws/Transcribe/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Aws/Transcribe/GenericFunctions.ts @@ -6,13 +6,14 @@ import { sign } from 'aws4'; import type { OptionsWithUri } from 'request'; import type { + ICredentialDataDecryptedObject, + IDataObject, IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions, IWebhookFunctions, -} from 'n8n-core'; - -import type { ICredentialDataDecryptedObject, IDataObject, JsonObject } from 'n8n-workflow'; + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; import get from 'lodash.get'; diff --git a/packages/nodes-base/nodes/BambooHr/BambooHr.node.ts b/packages/nodes-base/nodes/BambooHr/BambooHr.node.ts index bd204610e5019..1b7795f215bd1 100644 --- a/packages/nodes-base/nodes/BambooHr/BambooHr.node.ts +++ b/packages/nodes-base/nodes/BambooHr/BambooHr.node.ts @@ -1,6 +1,9 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { INodeType, INodeTypeBaseDescription, INodeTypeDescription } from 'n8n-workflow'; +import type { + IExecuteFunctions, + INodeType, + INodeTypeBaseDescription, + INodeTypeDescription, +} from 'n8n-workflow'; import { router } from './v1/actions/router'; import { versionDescription } from './v1/actions/versionDescription'; diff --git a/packages/nodes-base/nodes/BambooHr/v1/actions/companyReport/get/execute.ts b/packages/nodes-base/nodes/BambooHr/v1/actions/companyReport/get/execute.ts index 653756c1caa7c..62dc60ca28d6f 100644 --- a/packages/nodes-base/nodes/BambooHr/v1/actions/companyReport/get/execute.ts +++ b/packages/nodes-base/nodes/BambooHr/v1/actions/companyReport/get/execute.ts @@ -1,6 +1,4 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/BambooHr/v1/actions/employee/create/execute.ts b/packages/nodes-base/nodes/BambooHr/v1/actions/employee/create/execute.ts index 89e51edeb3dde..6dda349bcb131 100644 --- a/packages/nodes-base/nodes/BambooHr/v1/actions/employee/create/execute.ts +++ b/packages/nodes-base/nodes/BambooHr/v1/actions/employee/create/execute.ts @@ -1,6 +1,4 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/BambooHr/v1/actions/employee/get/execute.ts b/packages/nodes-base/nodes/BambooHr/v1/actions/employee/get/execute.ts index f434a06174fc0..5b9fe12109f47 100644 --- a/packages/nodes-base/nodes/BambooHr/v1/actions/employee/get/execute.ts +++ b/packages/nodes-base/nodes/BambooHr/v1/actions/employee/get/execute.ts @@ -1,6 +1,4 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/BambooHr/v1/actions/employee/getAll/execute.ts b/packages/nodes-base/nodes/BambooHr/v1/actions/employee/getAll/execute.ts index e640af2ad3c10..0c7bf5f822a49 100644 --- a/packages/nodes-base/nodes/BambooHr/v1/actions/employee/getAll/execute.ts +++ b/packages/nodes-base/nodes/BambooHr/v1/actions/employee/getAll/execute.ts @@ -1,6 +1,4 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/BambooHr/v1/actions/employee/update/execute.ts b/packages/nodes-base/nodes/BambooHr/v1/actions/employee/update/execute.ts index 83f3e8be5ef84..25c13478e3fce 100644 --- a/packages/nodes-base/nodes/BambooHr/v1/actions/employee/update/execute.ts +++ b/packages/nodes-base/nodes/BambooHr/v1/actions/employee/update/execute.ts @@ -1,6 +1,4 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow'; import { NodeOperationError } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/BambooHr/v1/actions/employeeDocument/del/execute.ts b/packages/nodes-base/nodes/BambooHr/v1/actions/employeeDocument/del/execute.ts index 69c05d2b63bb3..29881657cbfb0 100644 --- a/packages/nodes-base/nodes/BambooHr/v1/actions/employeeDocument/del/execute.ts +++ b/packages/nodes-base/nodes/BambooHr/v1/actions/employeeDocument/del/execute.ts @@ -1,6 +1,4 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/BambooHr/v1/actions/employeeDocument/download/execute.ts b/packages/nodes-base/nodes/BambooHr/v1/actions/employeeDocument/download/execute.ts index 71cd2a6cebb20..fcb32dc2e58cd 100644 --- a/packages/nodes-base/nodes/BambooHr/v1/actions/employeeDocument/download/execute.ts +++ b/packages/nodes-base/nodes/BambooHr/v1/actions/employeeDocument/download/execute.ts @@ -1,6 +1,4 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/BambooHr/v1/actions/employeeDocument/getAll/execute.ts b/packages/nodes-base/nodes/BambooHr/v1/actions/employeeDocument/getAll/execute.ts index 64fe5fc066fa8..631f8bb994a89 100644 --- a/packages/nodes-base/nodes/BambooHr/v1/actions/employeeDocument/getAll/execute.ts +++ b/packages/nodes-base/nodes/BambooHr/v1/actions/employeeDocument/getAll/execute.ts @@ -1,6 +1,4 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/BambooHr/v1/actions/employeeDocument/update/execute.ts b/packages/nodes-base/nodes/BambooHr/v1/actions/employeeDocument/update/execute.ts index 5397bed3cc4ef..92f48d01a5e44 100644 --- a/packages/nodes-base/nodes/BambooHr/v1/actions/employeeDocument/update/execute.ts +++ b/packages/nodes-base/nodes/BambooHr/v1/actions/employeeDocument/update/execute.ts @@ -1,6 +1,4 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/BambooHr/v1/actions/file/del/execute.ts b/packages/nodes-base/nodes/BambooHr/v1/actions/file/del/execute.ts index c31b9ac101a6f..94e805b38019f 100644 --- a/packages/nodes-base/nodes/BambooHr/v1/actions/file/del/execute.ts +++ b/packages/nodes-base/nodes/BambooHr/v1/actions/file/del/execute.ts @@ -1,6 +1,4 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/BambooHr/v1/actions/file/download/execute.ts b/packages/nodes-base/nodes/BambooHr/v1/actions/file/download/execute.ts index 8e9eef4a720be..be7b82467612b 100644 --- a/packages/nodes-base/nodes/BambooHr/v1/actions/file/download/execute.ts +++ b/packages/nodes-base/nodes/BambooHr/v1/actions/file/download/execute.ts @@ -1,6 +1,4 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/BambooHr/v1/actions/file/getAll/execute.ts b/packages/nodes-base/nodes/BambooHr/v1/actions/file/getAll/execute.ts index 944a39f5535b8..09b72eef50694 100644 --- a/packages/nodes-base/nodes/BambooHr/v1/actions/file/getAll/execute.ts +++ b/packages/nodes-base/nodes/BambooHr/v1/actions/file/getAll/execute.ts @@ -1,6 +1,4 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/BambooHr/v1/actions/file/update/execute.ts b/packages/nodes-base/nodes/BambooHr/v1/actions/file/update/execute.ts index 5a5844221061d..43d9717c4b172 100644 --- a/packages/nodes-base/nodes/BambooHr/v1/actions/file/update/execute.ts +++ b/packages/nodes-base/nodes/BambooHr/v1/actions/file/update/execute.ts @@ -1,6 +1,4 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/BambooHr/v1/actions/router.ts b/packages/nodes-base/nodes/BambooHr/v1/actions/router.ts index 55ce4f657bbae..fe667dfa0a535 100644 --- a/packages/nodes-base/nodes/BambooHr/v1/actions/router.ts +++ b/packages/nodes-base/nodes/BambooHr/v1/actions/router.ts @@ -1,7 +1,5 @@ /* eslint-disable @typescript-eslint/no-unsafe-argument */ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { INodeExecutionData } from 'n8n-workflow'; +import type { IExecuteFunctions, INodeExecutionData } from 'n8n-workflow'; import * as employee from './employee'; import * as employeeDocument from './employeeDocument'; diff --git a/packages/nodes-base/nodes/BambooHr/v1/transport/index.ts b/packages/nodes-base/nodes/BambooHr/v1/transport/index.ts index 920718fb51db2..e20d26a8d7165 100644 --- a/packages/nodes-base/nodes/BambooHr/v1/transport/index.ts +++ b/packages/nodes-base/nodes/BambooHr/v1/transport/index.ts @@ -1,6 +1,10 @@ -import type { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions } from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; +import type { + IDataObject, + IExecuteFunctions, + IHookFunctions, + ILoadOptionsFunctions, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; import type { OptionsWithUrl } from 'request'; diff --git a/packages/nodes-base/nodes/Bannerbear/Bannerbear.node.ts b/packages/nodes-base/nodes/Bannerbear/Bannerbear.node.ts index ebdb752e5070c..4bbde0a7e8406 100644 --- a/packages/nodes-base/nodes/Bannerbear/Bannerbear.node.ts +++ b/packages/nodes-base/nodes/Bannerbear/Bannerbear.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Bannerbear/GenericFunctions.ts b/packages/nodes-base/nodes/Bannerbear/GenericFunctions.ts index 0934bf07a5347..82874197aab05 100644 --- a/packages/nodes-base/nodes/Bannerbear/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Bannerbear/GenericFunctions.ts @@ -1,8 +1,13 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; - -import type { IDataObject, IHookFunctions, IWebhookFunctions, JsonObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + ILoadOptionsFunctions, + IDataObject, + IHookFunctions, + IWebhookFunctions, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; import { snakeCase } from 'change-case'; diff --git a/packages/nodes-base/nodes/Baserow/Baserow.node.ts b/packages/nodes-base/nodes/Baserow/Baserow.node.ts index 0c84aa3f1576f..eb997b4d51d57 100644 --- a/packages/nodes-base/nodes/Baserow/Baserow.node.ts +++ b/packages/nodes-base/nodes/Baserow/Baserow.node.ts @@ -1,4 +1,5 @@ import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, @@ -6,8 +7,6 @@ import type { INodeTypeDescription, } from 'n8n-workflow'; -import type { IExecuteFunctions } from 'n8n-core'; - import { baserowApiRequest, baserowApiRequestAllItems, diff --git a/packages/nodes-base/nodes/Baserow/GenericFunctions.ts b/packages/nodes-base/nodes/Baserow/GenericFunctions.ts index 8b1c5e1f22aac..d53c4eb532798 100644 --- a/packages/nodes-base/nodes/Baserow/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Baserow/GenericFunctions.ts @@ -1,8 +1,11 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { OptionsWithUri } from 'request'; -import type { IDataObject, ILoadOptionsFunctions, JsonObject } from 'n8n-workflow'; +import type { + IDataObject, + IExecuteFunctions, + ILoadOptionsFunctions, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; import type { Accumulator, BaserowCredentials, LoadedResource } from './types'; diff --git a/packages/nodes-base/nodes/Beeminder/Beeminder.node.functions.ts b/packages/nodes-base/nodes/Beeminder/Beeminder.node.functions.ts index 2ba818c2555f1..7e7f294826cff 100644 --- a/packages/nodes-base/nodes/Beeminder/Beeminder.node.functions.ts +++ b/packages/nodes-base/nodes/Beeminder/Beeminder.node.functions.ts @@ -1,6 +1,10 @@ -import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; - -import type { IDataObject, IHookFunctions, IWebhookFunctions } from 'n8n-workflow'; +import type { + IExecuteFunctions, + ILoadOptionsFunctions, + IDataObject, + IHookFunctions, + IWebhookFunctions, +} from 'n8n-workflow'; import { beeminderApiRequest, beeminderApiRequestAllItems } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Beeminder/Beeminder.node.ts b/packages/nodes-base/nodes/Beeminder/Beeminder.node.ts index 697022c75e3b8..0657905e0f2a4 100644 --- a/packages/nodes-base/nodes/Beeminder/Beeminder.node.ts +++ b/packages/nodes-base/nodes/Beeminder/Beeminder.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Beeminder/GenericFunctions.ts b/packages/nodes-base/nodes/Beeminder/GenericFunctions.ts index 7cd7b31e56d65..c776b17116ab8 100644 --- a/packages/nodes-base/nodes/Beeminder/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Beeminder/GenericFunctions.ts @@ -1,8 +1,12 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; - -import type { IDataObject, IHookFunctions, IWebhookFunctions } from 'n8n-workflow'; +import type { + IExecuteFunctions, + ILoadOptionsFunctions, + IDataObject, + IHookFunctions, + IWebhookFunctions, +} from 'n8n-workflow'; const BEEMINDER_URI = 'https://www.beeminder.com/api/v1'; diff --git a/packages/nodes-base/nodes/Bitbucket/BitbucketTrigger.node.ts b/packages/nodes-base/nodes/Bitbucket/BitbucketTrigger.node.ts index 69109f98325c5..6bf6ba373a2df 100644 --- a/packages/nodes-base/nodes/Bitbucket/BitbucketTrigger.node.ts +++ b/packages/nodes-base/nodes/Bitbucket/BitbucketTrigger.node.ts @@ -1,8 +1,8 @@ import type { OptionsWithUri } from 'request'; -import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; - import type { + IHookFunctions, + IWebhookFunctions, ICredentialsDecrypted, ICredentialTestFunctions, IDataObject, diff --git a/packages/nodes-base/nodes/Bitbucket/GenericFunctions.ts b/packages/nodes-base/nodes/Bitbucket/GenericFunctions.ts index 0f9ce524fb989..084f209de4a0a 100644 --- a/packages/nodes-base/nodes/Bitbucket/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Bitbucket/GenericFunctions.ts @@ -1,11 +1,12 @@ import type { OptionsWithUri } from 'request'; import type { + IDataObject, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, -} from 'n8n-core'; -import type { IDataObject, JsonObject } from 'n8n-workflow'; + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function bitbucketApiRequest( diff --git a/packages/nodes-base/nodes/Bitly/Bitly.node.ts b/packages/nodes-base/nodes/Bitly/Bitly.node.ts index 887e099b6bac1..c2b74baff0e08 100644 --- a/packages/nodes-base/nodes/Bitly/Bitly.node.ts +++ b/packages/nodes-base/nodes/Bitly/Bitly.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Bitly/GenericFunctions.ts b/packages/nodes-base/nodes/Bitly/GenericFunctions.ts index 067eb40615e63..e959caac3ae3d 100644 --- a/packages/nodes-base/nodes/Bitly/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Bitly/GenericFunctions.ts @@ -1,13 +1,13 @@ import type { OptionsWithUri } from 'request'; import type { + IDataObject, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, -} from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function bitlyApiRequest( diff --git a/packages/nodes-base/nodes/Bitwarden/Bitwarden.node.ts b/packages/nodes-base/nodes/Bitwarden/Bitwarden.node.ts index 3988a47bbc37a..7fb65d9ac41f0 100644 --- a/packages/nodes-base/nodes/Bitwarden/Bitwarden.node.ts +++ b/packages/nodes-base/nodes/Bitwarden/Bitwarden.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Bitwarden/GenericFunctions.ts b/packages/nodes-base/nodes/Bitwarden/GenericFunctions.ts index 91169e74647e2..e91cba2e32476 100644 --- a/packages/nodes-base/nodes/Bitwarden/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Bitwarden/GenericFunctions.ts @@ -1,7 +1,6 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { IDataObject, + IExecuteFunctions, ILoadOptionsFunctions, INodePropertyOptions, JsonObject, diff --git a/packages/nodes-base/nodes/Box/BoxTrigger.node.ts b/packages/nodes-base/nodes/Box/BoxTrigger.node.ts index 2f8ff31e2a025..370ef54e6df10 100644 --- a/packages/nodes-base/nodes/Box/BoxTrigger.node.ts +++ b/packages/nodes-base/nodes/Box/BoxTrigger.node.ts @@ -1,6 +1,10 @@ -import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; - -import type { INodeType, INodeTypeDescription, IWebhookResponseData } from 'n8n-workflow'; +import type { + IHookFunctions, + IWebhookFunctions, + INodeType, + INodeTypeDescription, + IWebhookResponseData, +} from 'n8n-workflow'; import { boxApiRequest, boxApiRequestAllItems } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Box/GenericFunctions.ts b/packages/nodes-base/nodes/Box/GenericFunctions.ts index 098b8a6c9eba0..1249681399f6e 100644 --- a/packages/nodes-base/nodes/Box/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Box/GenericFunctions.ts @@ -1,13 +1,14 @@ import type { OptionsWithUri } from 'request'; import type { + IDataObject, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, -} from 'n8n-core'; - -import type { IDataObject, IOAuth2Options, JsonObject } from 'n8n-workflow'; + IOAuth2Options, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function boxApiRequest( diff --git a/packages/nodes-base/nodes/Brandfetch/Brandfetch.node.ts b/packages/nodes-base/nodes/Brandfetch/Brandfetch.node.ts index 43314f2933dd1..22259c3cdba58 100644 --- a/packages/nodes-base/nodes/Brandfetch/Brandfetch.node.ts +++ b/packages/nodes-base/nodes/Brandfetch/Brandfetch.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/Brandfetch/GenericFunctions.ts b/packages/nodes-base/nodes/Brandfetch/GenericFunctions.ts index afbc6a657e46d..15a59c07b340b 100644 --- a/packages/nodes-base/nodes/Brandfetch/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Brandfetch/GenericFunctions.ts @@ -1,13 +1,13 @@ import type { OptionsWithUri } from 'request'; import type { + IDataObject, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, -} from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function brandfetchApiRequest( diff --git a/packages/nodes-base/nodes/Bubble/Bubble.node.ts b/packages/nodes-base/nodes/Bubble/Bubble.node.ts index e6f0f3a8cfa19..4b59dbb15e928 100644 --- a/packages/nodes-base/nodes/Bubble/Bubble.node.ts +++ b/packages/nodes-base/nodes/Bubble/Bubble.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/Bubble/GenericFunctions.ts b/packages/nodes-base/nodes/Bubble/GenericFunctions.ts index 62a6438f03167..3128e91ee9438 100644 --- a/packages/nodes-base/nodes/Bubble/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Bubble/GenericFunctions.ts @@ -1,6 +1,10 @@ -import type { IExecuteFunctions, IHookFunctions } from 'n8n-core'; - -import type { IDataObject, ILoadOptionsFunctions, JsonObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + IHookFunctions, + IDataObject, + ILoadOptionsFunctions, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; import type { OptionsWithUri } from 'request'; diff --git a/packages/nodes-base/nodes/Cal/CalTrigger.node.ts b/packages/nodes-base/nodes/Cal/CalTrigger.node.ts index 793eef98e2bee..340797cec3bfb 100644 --- a/packages/nodes-base/nodes/Cal/CalTrigger.node.ts +++ b/packages/nodes-base/nodes/Cal/CalTrigger.node.ts @@ -1,7 +1,7 @@ -import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; - import type { IDataObject, + IHookFunctions, + IWebhookFunctions, ILoadOptionsFunctions, INodePropertyOptions, INodeType, diff --git a/packages/nodes-base/nodes/Cal/GenericFunctions.ts b/packages/nodes-base/nodes/Cal/GenericFunctions.ts index 4910c0d5b6e7f..e95eb42cfedfa 100644 --- a/packages/nodes-base/nodes/Cal/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Cal/GenericFunctions.ts @@ -1,7 +1,7 @@ -import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; - import type { IDataObject, + IExecuteFunctions, + ILoadOptionsFunctions, IHookFunctions, IHttpRequestMethods, IHttpRequestOptions, diff --git a/packages/nodes-base/nodes/Calendly/CalendlyTrigger.node.ts b/packages/nodes-base/nodes/Calendly/CalendlyTrigger.node.ts index 7252e7b6ec84b..53aec5c53e841 100644 --- a/packages/nodes-base/nodes/Calendly/CalendlyTrigger.node.ts +++ b/packages/nodes-base/nodes/Calendly/CalendlyTrigger.node.ts @@ -1,6 +1,6 @@ -import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; - import type { + IHookFunctions, + IWebhookFunctions, IDataObject, INodeType, INodeTypeDescription, diff --git a/packages/nodes-base/nodes/Calendly/GenericFunctions.ts b/packages/nodes-base/nodes/Calendly/GenericFunctions.ts index 46d473605f9a6..af6f532623ec3 100644 --- a/packages/nodes-base/nodes/Calendly/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Calendly/GenericFunctions.ts @@ -1,11 +1,11 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; - import type { ICredentialDataDecryptedObject, ICredentialTestFunctions, IDataObject, + IExecuteFunctions, + ILoadOptionsFunctions, IHookFunctions, IWebhookFunctions, } from 'n8n-workflow'; diff --git a/packages/nodes-base/nodes/Chargebee/Chargebee.node.ts b/packages/nodes-base/nodes/Chargebee/Chargebee.node.ts index 2a97d652c15a1..781c252bcec67 100644 --- a/packages/nodes-base/nodes/Chargebee/Chargebee.node.ts +++ b/packages/nodes-base/nodes/Chargebee/Chargebee.node.ts @@ -1,5 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/Chargebee/ChargebeeTrigger.node.ts b/packages/nodes-base/nodes/Chargebee/ChargebeeTrigger.node.ts index 19298dc8bebd5..2acf1b780328d 100644 --- a/packages/nodes-base/nodes/Chargebee/ChargebeeTrigger.node.ts +++ b/packages/nodes-base/nodes/Chargebee/ChargebeeTrigger.node.ts @@ -1,7 +1,6 @@ -import type { IWebhookFunctions } from 'n8n-core'; - import type { IDataObject, + IWebhookFunctions, INodeType, INodeTypeDescription, IWebhookResponseData, diff --git a/packages/nodes-base/nodes/CircleCi/CircleCi.node.ts b/packages/nodes-base/nodes/CircleCi/CircleCi.node.ts index 48f2831739fbf..edc4f0dcbcbf5 100644 --- a/packages/nodes-base/nodes/CircleCi/CircleCi.node.ts +++ b/packages/nodes-base/nodes/CircleCi/CircleCi.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/CircleCi/GenericFunctions.ts b/packages/nodes-base/nodes/CircleCi/GenericFunctions.ts index 41b2a775949fe..3a3f47d2ac16d 100644 --- a/packages/nodes-base/nodes/CircleCi/GenericFunctions.ts +++ b/packages/nodes-base/nodes/CircleCi/GenericFunctions.ts @@ -1,13 +1,13 @@ import type { OptionsWithUri } from 'request'; import type { + IDataObject, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, -} from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function circleciApiRequest( diff --git a/packages/nodes-base/nodes/Cisco/Webex/CiscoWebexTrigger.node.ts b/packages/nodes-base/nodes/Cisco/Webex/CiscoWebexTrigger.node.ts index e300d641eaba4..56635b50e6063 100644 --- a/packages/nodes-base/nodes/Cisco/Webex/CiscoWebexTrigger.node.ts +++ b/packages/nodes-base/nodes/Cisco/Webex/CiscoWebexTrigger.node.ts @@ -1,6 +1,6 @@ -import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; - import type { + IHookFunctions, + IWebhookFunctions, IDataObject, INodeType, INodeTypeDescription, diff --git a/packages/nodes-base/nodes/Cisco/Webex/GenericFunctions.ts b/packages/nodes-base/nodes/Cisco/Webex/GenericFunctions.ts index 7eba4e70915ea..90724978774e8 100644 --- a/packages/nodes-base/nodes/Cisco/Webex/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Cisco/Webex/GenericFunctions.ts @@ -1,10 +1,11 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions } from 'n8n-core'; - import type { ICredentialDataDecryptedObject, IDataObject, + IExecuteFunctions, + IHookFunctions, + ILoadOptionsFunctions, INodeProperties, IWebhookFunctions, JsonObject, diff --git a/packages/nodes-base/nodes/Citrix/ADC/GenericFunctions.ts b/packages/nodes-base/nodes/Citrix/ADC/GenericFunctions.ts index e37229745a107..d4b9aad4c75b5 100644 --- a/packages/nodes-base/nodes/Citrix/ADC/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Citrix/ADC/GenericFunctions.ts @@ -1,8 +1,13 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; - -import type { IDataObject, IHookFunctions, IWebhookFunctions, JsonObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + ILoadOptionsFunctions, + IDataObject, + IHookFunctions, + IWebhookFunctions, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function citrixADCApiRequest( diff --git a/packages/nodes-base/nodes/Clearbit/Clearbit.node.ts b/packages/nodes-base/nodes/Clearbit/Clearbit.node.ts index d99106f185b44..8a39ed87f453a 100644 --- a/packages/nodes-base/nodes/Clearbit/Clearbit.node.ts +++ b/packages/nodes-base/nodes/Clearbit/Clearbit.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/Clearbit/GenericFunctions.ts b/packages/nodes-base/nodes/Clearbit/GenericFunctions.ts index f443e8f2372b1..f5dcfe34091d2 100644 --- a/packages/nodes-base/nodes/Clearbit/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Clearbit/GenericFunctions.ts @@ -1,13 +1,13 @@ import type { OptionsWithUri } from 'request'; import type { + IDataObject, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, -} from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function clearbitApiRequest( diff --git a/packages/nodes-base/nodes/ClickUp/ClickUp.node.ts b/packages/nodes-base/nodes/ClickUp/ClickUp.node.ts index 37fb535552172..9825986bcea2e 100644 --- a/packages/nodes-base/nodes/ClickUp/ClickUp.node.ts +++ b/packages/nodes-base/nodes/ClickUp/ClickUp.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/ClickUp/ClickUpTrigger.node.ts b/packages/nodes-base/nodes/ClickUp/ClickUpTrigger.node.ts index 3f88c19f46639..4772205693c6b 100644 --- a/packages/nodes-base/nodes/ClickUp/ClickUpTrigger.node.ts +++ b/packages/nodes-base/nodes/ClickUp/ClickUpTrigger.node.ts @@ -1,6 +1,6 @@ -import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; - import type { + IHookFunctions, + IWebhookFunctions, IDataObject, ILoadOptionsFunctions, INodePropertyOptions, diff --git a/packages/nodes-base/nodes/ClickUp/GenericFunctions.ts b/packages/nodes-base/nodes/ClickUp/GenericFunctions.ts index 40182083ffd2c..30ccdb4ff1a0c 100644 --- a/packages/nodes-base/nodes/ClickUp/GenericFunctions.ts +++ b/packages/nodes-base/nodes/ClickUp/GenericFunctions.ts @@ -1,14 +1,15 @@ import type { OptionsWithUri } from 'request'; import type { + IDataObject, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, IWebhookFunctions, -} from 'n8n-core'; - -import type { IDataObject, IOAuth2Options, JsonObject } from 'n8n-workflow'; + IOAuth2Options, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function clickupApiRequest( diff --git a/packages/nodes-base/nodes/Clockify/Clockify.node.ts b/packages/nodes-base/nodes/Clockify/Clockify.node.ts index 1b7357c993dd1..cb8e32e051224 100644 --- a/packages/nodes-base/nodes/Clockify/Clockify.node.ts +++ b/packages/nodes-base/nodes/Clockify/Clockify.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Clockify/ClockifyTrigger.node.ts b/packages/nodes-base/nodes/Clockify/ClockifyTrigger.node.ts index 2ccce87fdf4a0..6af36fd6cc5f0 100644 --- a/packages/nodes-base/nodes/Clockify/ClockifyTrigger.node.ts +++ b/packages/nodes-base/nodes/Clockify/ClockifyTrigger.node.ts @@ -1,7 +1,7 @@ import moment from 'moment-timezone'; -import type { IPollFunctions } from 'n8n-core'; import type { + IPollFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Clockify/GenericFunctions.ts b/packages/nodes-base/nodes/Clockify/GenericFunctions.ts index 1f898ade8c3b3..621356270f0b4 100644 --- a/packages/nodes-base/nodes/Clockify/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Clockify/GenericFunctions.ts @@ -1,8 +1,11 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, ILoadOptionsFunctions, IPollFunctions } from 'n8n-core'; - -import type { IDataObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + ILoadOptionsFunctions, + IPollFunctions, + IDataObject, +} from 'n8n-workflow'; export async function clockifyApiRequest( this: ILoadOptionsFunctions | IPollFunctions | IExecuteFunctions, diff --git a/packages/nodes-base/nodes/Cloudflare/Cloudflare.node.ts b/packages/nodes-base/nodes/Cloudflare/Cloudflare.node.ts index 24defa030cf28..ac6a0c5558aa7 100644 --- a/packages/nodes-base/nodes/Cloudflare/Cloudflare.node.ts +++ b/packages/nodes-base/nodes/Cloudflare/Cloudflare.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Cloudflare/GenericFunctions.ts b/packages/nodes-base/nodes/Cloudflare/GenericFunctions.ts index ff586129a7d5a..43424366a2d75 100644 --- a/packages/nodes-base/nodes/Cloudflare/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Cloudflare/GenericFunctions.ts @@ -1,13 +1,13 @@ import type { OptionsWithUri } from 'request'; import type { + IDataObject, IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions, IPollFunctions, -} from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function cloudflareApiRequest( diff --git a/packages/nodes-base/nodes/Cockpit/Cockpit.node.ts b/packages/nodes-base/nodes/Cockpit/Cockpit.node.ts index 4d675ea1cdb2f..ba88d62fbbade 100644 --- a/packages/nodes-base/nodes/Cockpit/Cockpit.node.ts +++ b/packages/nodes-base/nodes/Cockpit/Cockpit.node.ts @@ -1,5 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Cockpit/CollectionFunctions.ts b/packages/nodes-base/nodes/Cockpit/CollectionFunctions.ts index b3e86911382ba..20739f3910887 100644 --- a/packages/nodes-base/nodes/Cockpit/CollectionFunctions.ts +++ b/packages/nodes-base/nodes/Cockpit/CollectionFunctions.ts @@ -1,5 +1,9 @@ -import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import type { IDataObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + IExecuteSingleFunctions, + ILoadOptionsFunctions, + IDataObject, +} from 'n8n-workflow'; import { jsonParse } from 'n8n-workflow'; import type { ICollection } from './CollectionInterface'; import { cockpitApiRequest } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Cockpit/FormFunctions.ts b/packages/nodes-base/nodes/Cockpit/FormFunctions.ts index dc9fa97365b20..3083912892ec5 100644 --- a/packages/nodes-base/nodes/Cockpit/FormFunctions.ts +++ b/packages/nodes-base/nodes/Cockpit/FormFunctions.ts @@ -1,5 +1,9 @@ -import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import type { IDataObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + IExecuteSingleFunctions, + ILoadOptionsFunctions, + IDataObject, +} from 'n8n-workflow'; import type { IForm } from './FormInterface'; import { cockpitApiRequest } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Cockpit/GenericFunctions.ts b/packages/nodes-base/nodes/Cockpit/GenericFunctions.ts index 0dd1539abd52b..16101fb9abfb6 100644 --- a/packages/nodes-base/nodes/Cockpit/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Cockpit/GenericFunctions.ts @@ -1,5 +1,10 @@ -import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import type { IDataObject, JsonObject } from 'n8n-workflow'; +import type { + IDataObject, + IExecuteFunctions, + IExecuteSingleFunctions, + ILoadOptionsFunctions, + JsonObject, +} from 'n8n-workflow'; import { jsonParse, NodeApiError } from 'n8n-workflow'; import type { OptionsWithUri } from 'request'; diff --git a/packages/nodes-base/nodes/Cockpit/SingletonFunctions.ts b/packages/nodes-base/nodes/Cockpit/SingletonFunctions.ts index fb4f083f2448a..1fcbd8f3c5678 100644 --- a/packages/nodes-base/nodes/Cockpit/SingletonFunctions.ts +++ b/packages/nodes-base/nodes/Cockpit/SingletonFunctions.ts @@ -1,4 +1,8 @@ -import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { + IExecuteFunctions, + IExecuteSingleFunctions, + ILoadOptionsFunctions, +} from 'n8n-workflow'; import { cockpitApiRequest } from './GenericFunctions'; export async function getSingleton( diff --git a/packages/nodes-base/nodes/Coda/Coda.node.ts b/packages/nodes-base/nodes/Coda/Coda.node.ts index 76d1361d0a355..75679eb3c2f0b 100644 --- a/packages/nodes-base/nodes/Coda/Coda.node.ts +++ b/packages/nodes-base/nodes/Coda/Coda.node.ts @@ -1,5 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Coda/GenericFunctions.ts b/packages/nodes-base/nodes/Coda/GenericFunctions.ts index 13636430bad91..50c047c8f872c 100644 --- a/packages/nodes-base/nodes/Coda/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Coda/GenericFunctions.ts @@ -1,6 +1,11 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import type { IDataObject, JsonObject } from 'n8n-workflow'; +import type { + IDataObject, + IExecuteFunctions, + IExecuteSingleFunctions, + ILoadOptionsFunctions, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function codaApiRequest( diff --git a/packages/nodes-base/nodes/Code/Code.node.ts b/packages/nodes-base/nodes/Code/Code.node.ts index 9ce62560866fd..4d6b647c822b0 100644 --- a/packages/nodes-base/nodes/Code/Code.node.ts +++ b/packages/nodes-base/nodes/Code/Code.node.ts @@ -80,7 +80,7 @@ export class Code implements INodeType { const context = getSandboxContext.call(this); context.items = context.$input.all(); - const sandbox = new Sandbox(context, workflowMode, nodeMode); + const sandbox = new Sandbox(context, workflowMode, nodeMode, this.helpers); if (workflowMode === 'manual') { sandbox.on('console.log', this.sendMessageToUI); @@ -113,7 +113,7 @@ export class Code implements INodeType { const context = getSandboxContext.call(this, index); context.item = context.$input.item; - const sandbox = new Sandbox(context, workflowMode, nodeMode); + const sandbox = new Sandbox(context, workflowMode, nodeMode, this.helpers); if (workflowMode === 'manual') { sandbox.on('console.log', this.sendMessageToUI); diff --git a/packages/nodes-base/nodes/Code/Sandbox.ts b/packages/nodes-base/nodes/Code/Sandbox.ts index c8374d3a3846f..9cb72c1bbb37c 100644 --- a/packages/nodes-base/nodes/Code/Sandbox.ts +++ b/packages/nodes-base/nodes/Code/Sandbox.ts @@ -1,4 +1,3 @@ -import { normalizeItems } from 'n8n-core'; import type { NodeVMOptions } from 'vm2'; import { NodeVM } from 'vm2'; import { ValidationError } from './ValidationError'; @@ -23,6 +22,7 @@ export class Sandbox extends NodeVM { context: ReturnType, workflowMode: WorkflowExecuteMode, private nodeMode: CodeNodeMode, + private helpers: IExecuteFunctions['helpers'], ) { super(Sandbox.getSandboxOptions(context, workflowMode)); } @@ -138,7 +138,7 @@ export class Sandbox extends NodeVM { } } - return normalizeItems(executionResult as INodeExecutionData[]); + return this.helpers.normalizeItems(executionResult as INodeExecutionData[]); } private async runCodeEachItem() { diff --git a/packages/nodes-base/nodes/CoinGecko/CoinGecko.node.ts b/packages/nodes-base/nodes/CoinGecko/CoinGecko.node.ts index 33587e894e64e..1378bdf2030e2 100644 --- a/packages/nodes-base/nodes/CoinGecko/CoinGecko.node.ts +++ b/packages/nodes-base/nodes/CoinGecko/CoinGecko.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/CoinGecko/GenericFunctions.ts b/packages/nodes-base/nodes/CoinGecko/GenericFunctions.ts index afbb2f702b231..4ec589c78db59 100644 --- a/packages/nodes-base/nodes/CoinGecko/GenericFunctions.ts +++ b/packages/nodes-base/nodes/CoinGecko/GenericFunctions.ts @@ -1,8 +1,12 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + IExecuteSingleFunctions, + ILoadOptionsFunctions, + IDataObject, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function coinGeckoApiRequest( diff --git a/packages/nodes-base/nodes/CompareDatasets/CompareDatasets.node.ts b/packages/nodes-base/nodes/CompareDatasets/CompareDatasets.node.ts index 8cccc59d346ad..3d7809244e5df 100644 --- a/packages/nodes-base/nodes/CompareDatasets/CompareDatasets.node.ts +++ b/packages/nodes-base/nodes/CompareDatasets/CompareDatasets.node.ts @@ -1,5 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/Contentful/Contentful.node.ts b/packages/nodes-base/nodes/Contentful/Contentful.node.ts index e2e775e9f228d..c49d4b9b674b8 100644 --- a/packages/nodes-base/nodes/Contentful/Contentful.node.ts +++ b/packages/nodes-base/nodes/Contentful/Contentful.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/Contentful/GenericFunctions.ts b/packages/nodes-base/nodes/Contentful/GenericFunctions.ts index c43fcc0b5bdbc..210876500ca47 100644 --- a/packages/nodes-base/nodes/Contentful/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Contentful/GenericFunctions.ts @@ -1,8 +1,12 @@ -import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; - import type { OptionsWithUri } from 'request'; -import type { IDataObject, JsonObject } from 'n8n-workflow'; +import type { + IDataObject, + IExecuteFunctions, + IExecuteSingleFunctions, + ILoadOptionsFunctions, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function contentfulApiRequest( diff --git a/packages/nodes-base/nodes/ConvertKit/ConvertKit.node.ts b/packages/nodes-base/nodes/ConvertKit/ConvertKit.node.ts index 0090cf618502f..f40c265f291c4 100644 --- a/packages/nodes-base/nodes/ConvertKit/ConvertKit.node.ts +++ b/packages/nodes-base/nodes/ConvertKit/ConvertKit.node.ts @@ -1,6 +1,6 @@ -import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, + ILoadOptionsFunctions, IDataObject, INodeExecutionData, INodePropertyOptions, diff --git a/packages/nodes-base/nodes/ConvertKit/ConvertKitTrigger.node.ts b/packages/nodes-base/nodes/ConvertKit/ConvertKitTrigger.node.ts index f4e286c25eae2..24b1d14cb7809 100644 --- a/packages/nodes-base/nodes/ConvertKit/ConvertKitTrigger.node.ts +++ b/packages/nodes-base/nodes/ConvertKit/ConvertKitTrigger.node.ts @@ -1,6 +1,6 @@ -import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; - import type { + IHookFunctions, + IWebhookFunctions, IDataObject, ILoadOptionsFunctions, INodePropertyOptions, diff --git a/packages/nodes-base/nodes/ConvertKit/GenericFunctions.ts b/packages/nodes-base/nodes/ConvertKit/GenericFunctions.ts index 8204a97e09f8b..acb6cb6a3efdd 100644 --- a/packages/nodes-base/nodes/ConvertKit/GenericFunctions.ts +++ b/packages/nodes-base/nodes/ConvertKit/GenericFunctions.ts @@ -1,8 +1,13 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; - -import type { IDataObject, IHookFunctions, JsonObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + IExecuteSingleFunctions, + ILoadOptionsFunctions, + IDataObject, + IHookFunctions, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function convertKitApiRequest( diff --git a/packages/nodes-base/nodes/Copper/Copper.node.ts b/packages/nodes-base/nodes/Copper/Copper.node.ts index d7fd7f4645662..a193bf4a9f25d 100644 --- a/packages/nodes-base/nodes/Copper/Copper.node.ts +++ b/packages/nodes-base/nodes/Copper/Copper.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/Copper/CopperTrigger.node.ts b/packages/nodes-base/nodes/Copper/CopperTrigger.node.ts index fd96e528b448c..74238b10abf4a 100644 --- a/packages/nodes-base/nodes/Copper/CopperTrigger.node.ts +++ b/packages/nodes-base/nodes/Copper/CopperTrigger.node.ts @@ -1,6 +1,6 @@ -import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; - import type { + IHookFunctions, + IWebhookFunctions, IDataObject, INodeType, INodeTypeDescription, diff --git a/packages/nodes-base/nodes/Copper/GenericFunctions.ts b/packages/nodes-base/nodes/Copper/GenericFunctions.ts index 9c29a3cdfc2c7..1b46cf5709a51 100644 --- a/packages/nodes-base/nodes/Copper/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Copper/GenericFunctions.ts @@ -3,14 +3,15 @@ import { createHash } from 'crypto'; import type { OptionsWithUri } from 'request'; import type { + ICredentialDataDecryptedObject, + IDataObject, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, IWebhookFunctions, -} from 'n8n-core'; - -import type { ICredentialDataDecryptedObject, IDataObject, JsonObject } from 'n8n-workflow'; + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; import flow from 'lodash.flow'; diff --git a/packages/nodes-base/nodes/Cortex/GenericFunctions.ts b/packages/nodes-base/nodes/Cortex/GenericFunctions.ts index 3298ed4fbfb46..c13f5f6109dea 100644 --- a/packages/nodes-base/nodes/Cortex/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Cortex/GenericFunctions.ts @@ -1,13 +1,12 @@ import type { OptionsWithUri } from 'request'; import type { + IDataObject, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, -} from 'n8n-core'; - -import type { IDataObject } from 'n8n-workflow'; +} from 'n8n-workflow'; import moment from 'moment'; diff --git a/packages/nodes-base/nodes/CrateDb/CrateDb.node.ts b/packages/nodes-base/nodes/CrateDb/CrateDb.node.ts index 35047dbeba91f..489bbdb6173ac 100644 --- a/packages/nodes-base/nodes/CrateDb/CrateDb.node.ts +++ b/packages/nodes-base/nodes/CrateDb/CrateDb.node.ts @@ -1,5 +1,9 @@ -import type { IExecuteFunctions } from 'n8n-core'; -import type { INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { + IExecuteFunctions, + INodeExecutionData, + INodeType, + INodeTypeDescription, +} from 'n8n-workflow'; import { NodeOperationError } from 'n8n-workflow'; import { diff --git a/packages/nodes-base/nodes/Cron/Cron.node.ts b/packages/nodes-base/nodes/Cron/Cron.node.ts index a83e3509f6ac9..e84ad5f69d58b 100644 --- a/packages/nodes-base/nodes/Cron/Cron.node.ts +++ b/packages/nodes-base/nodes/Cron/Cron.node.ts @@ -1,5 +1,10 @@ -import type { ITriggerFunctions } from 'n8n-core'; -import type { INodeType, INodeTypeDescription, ITriggerResponse, TriggerTime } from 'n8n-workflow'; +import type { + ITriggerFunctions, + INodeType, + INodeTypeDescription, + ITriggerResponse, + TriggerTime, +} from 'n8n-workflow'; import { NodeHelpers, toCronExpression } from 'n8n-workflow'; import { CronJob } from 'cron'; diff --git a/packages/nodes-base/nodes/Crypto/Crypto.node.ts b/packages/nodes-base/nodes/Crypto/Crypto.node.ts index b150425129ffb..c1346b1a6f6d5 100644 --- a/packages/nodes-base/nodes/Crypto/Crypto.node.ts +++ b/packages/nodes-base/nodes/Crypto/Crypto.node.ts @@ -1,8 +1,7 @@ import set from 'lodash.set'; -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, ILoadOptionsFunctions, INodeExecutionData, INodePropertyOptions, diff --git a/packages/nodes-base/nodes/CustomerIo/CustomerIo.node.ts b/packages/nodes-base/nodes/CustomerIo/CustomerIo.node.ts index 40952a6bbf60f..d9526152e628a 100644 --- a/packages/nodes-base/nodes/CustomerIo/CustomerIo.node.ts +++ b/packages/nodes-base/nodes/CustomerIo/CustomerIo.node.ts @@ -1,5 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/CustomerIo/CustomerIoTrigger.node.ts b/packages/nodes-base/nodes/CustomerIo/CustomerIoTrigger.node.ts index dbde86f5e07d4..07106e1b7a2a2 100644 --- a/packages/nodes-base/nodes/CustomerIo/CustomerIoTrigger.node.ts +++ b/packages/nodes-base/nodes/CustomerIo/CustomerIoTrigger.node.ts @@ -1,6 +1,6 @@ -import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; - import type { + IHookFunctions, + IWebhookFunctions, IDataObject, INodeType, INodeTypeDescription, diff --git a/packages/nodes-base/nodes/CustomerIo/GenericFunctions.ts b/packages/nodes-base/nodes/CustomerIo/GenericFunctions.ts index bbbe12a78b5d3..5b7292edb6d24 100644 --- a/packages/nodes-base/nodes/CustomerIo/GenericFunctions.ts +++ b/packages/nodes-base/nodes/CustomerIo/GenericFunctions.ts @@ -1,6 +1,11 @@ -import type { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions } from 'n8n-core'; - -import type { IDataObject, IHttpRequestMethods, IHttpRequestOptions } from 'n8n-workflow'; +import type { + IExecuteFunctions, + IHookFunctions, + ILoadOptionsFunctions, + IDataObject, + IHttpRequestMethods, + IHttpRequestOptions, +} from 'n8n-workflow'; import get from 'lodash.get'; diff --git a/packages/nodes-base/nodes/DateTime/DateTime.node.ts b/packages/nodes-base/nodes/DateTime/DateTime.node.ts index 099b3d1c51e2d..90f38cdb4cf2e 100644 --- a/packages/nodes-base/nodes/DateTime/DateTime.node.ts +++ b/packages/nodes-base/nodes/DateTime/DateTime.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, ILoadOptionsFunctions, INodeExecutionData, INodePropertyOptions, diff --git a/packages/nodes-base/nodes/DeepL/DeepL.node.ts b/packages/nodes-base/nodes/DeepL/DeepL.node.ts index f7839ada0420c..1dee0443a833b 100644 --- a/packages/nodes-base/nodes/DeepL/DeepL.node.ts +++ b/packages/nodes-base/nodes/DeepL/DeepL.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/DeepL/GenericFunctions.ts b/packages/nodes-base/nodes/DeepL/GenericFunctions.ts index 275d4df8e8e96..4193e867072d5 100644 --- a/packages/nodes-base/nodes/DeepL/GenericFunctions.ts +++ b/packages/nodes-base/nodes/DeepL/GenericFunctions.ts @@ -1,8 +1,12 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + IExecuteSingleFunctions, + ILoadOptionsFunctions, + IDataObject, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function deepLApiRequest( diff --git a/packages/nodes-base/nodes/Demio/Demio.node.ts b/packages/nodes-base/nodes/Demio/Demio.node.ts index 4529dc3995347..3733166b48c9e 100644 --- a/packages/nodes-base/nodes/Demio/Demio.node.ts +++ b/packages/nodes-base/nodes/Demio/Demio.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Demio/GenericFunctions.ts b/packages/nodes-base/nodes/Demio/GenericFunctions.ts index c4a224455b767..db2e63ed3730c 100644 --- a/packages/nodes-base/nodes/Demio/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Demio/GenericFunctions.ts @@ -1,13 +1,13 @@ import type { OptionsWithUri } from 'request'; import type { + IDataObject, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, -} from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function demioApiRequest( diff --git a/packages/nodes-base/nodes/Dhl/Dhl.node.ts b/packages/nodes-base/nodes/Dhl/Dhl.node.ts index 924d54171cde5..d60fdac0bfa34 100644 --- a/packages/nodes-base/nodes/Dhl/Dhl.node.ts +++ b/packages/nodes-base/nodes/Dhl/Dhl.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, ICredentialDataDecryptedObject, ICredentialsDecrypted, ICredentialTestFunctions, diff --git a/packages/nodes-base/nodes/Dhl/GenericFunctions.ts b/packages/nodes-base/nodes/Dhl/GenericFunctions.ts index 4c167c3b17fac..d670e8835e521 100644 --- a/packages/nodes-base/nodes/Dhl/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Dhl/GenericFunctions.ts @@ -1,16 +1,13 @@ import type { OptionsWithUri } from 'request'; import type { + ICredentialDataDecryptedObject, + ICredentialTestFunctions, + IDataObject, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, -} from 'n8n-core'; - -import type { - ICredentialDataDecryptedObject, - ICredentialTestFunctions, - IDataObject, JsonObject, } from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; diff --git a/packages/nodes-base/nodes/Discord/Discord.node.ts b/packages/nodes-base/nodes/Discord/Discord.node.ts index 905de0805ed2c..282536d3b772f 100644 --- a/packages/nodes-base/nodes/Discord/Discord.node.ts +++ b/packages/nodes-base/nodes/Discord/Discord.node.ts @@ -1,5 +1,9 @@ -import type { IExecuteFunctions } from 'n8n-core'; -import type { INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { + IExecuteFunctions, + INodeExecutionData, + INodeType, + INodeTypeDescription, +} from 'n8n-workflow'; import { jsonParse, NodeApiError, NodeOperationError, sleep } from 'n8n-workflow'; import type { DiscordAttachment, DiscordWebhook } from './Interfaces'; diff --git a/packages/nodes-base/nodes/Discourse/Discourse.node.ts b/packages/nodes-base/nodes/Discourse/Discourse.node.ts index 322cee5c95e14..454f8f62a283c 100644 --- a/packages/nodes-base/nodes/Discourse/Discourse.node.ts +++ b/packages/nodes-base/nodes/Discourse/Discourse.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Discourse/GenericFunctions.ts b/packages/nodes-base/nodes/Discourse/GenericFunctions.ts index 175f375aed4c1..64330c7ca9c62 100644 --- a/packages/nodes-base/nodes/Discourse/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Discourse/GenericFunctions.ts @@ -1,8 +1,12 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + IExecuteSingleFunctions, + ILoadOptionsFunctions, + IDataObject, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function discourseApiRequest( diff --git a/packages/nodes-base/nodes/Disqus/Disqus.node.ts b/packages/nodes-base/nodes/Disqus/Disqus.node.ts index a07e083595327..41222d243c8b6 100644 --- a/packages/nodes-base/nodes/Disqus/Disqus.node.ts +++ b/packages/nodes-base/nodes/Disqus/Disqus.node.ts @@ -1,5 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/Disqus/GenericFunctions.ts b/packages/nodes-base/nodes/Disqus/GenericFunctions.ts index 4ae9521f87b72..d6471873f5e99 100644 --- a/packages/nodes-base/nodes/Disqus/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Disqus/GenericFunctions.ts @@ -1,11 +1,12 @@ import type { OptionsWithUri } from 'request'; import type { + IDataObject, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, -} from 'n8n-core'; -import type { IDataObject, JsonObject } from 'n8n-workflow'; + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function disqusApiRequest( diff --git a/packages/nodes-base/nodes/Drift/Drift.node.ts b/packages/nodes-base/nodes/Drift/Drift.node.ts index 13e58c917e059..2cf3770747fd7 100644 --- a/packages/nodes-base/nodes/Drift/Drift.node.ts +++ b/packages/nodes-base/nodes/Drift/Drift.node.ts @@ -1,5 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/Drift/GenericFunctions.ts b/packages/nodes-base/nodes/Drift/GenericFunctions.ts index 6b6df1041f120..aa738728184b7 100644 --- a/packages/nodes-base/nodes/Drift/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Drift/GenericFunctions.ts @@ -1,8 +1,13 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; - -import type { IDataObject, IHookFunctions, IWebhookFunctions, JsonObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + ILoadOptionsFunctions, + IDataObject, + IHookFunctions, + IWebhookFunctions, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function driftApiRequest( diff --git a/packages/nodes-base/nodes/Dropbox/GenericFunctions.ts b/packages/nodes-base/nodes/Dropbox/GenericFunctions.ts index e5832f6a6b915..274fdf5276feb 100644 --- a/packages/nodes-base/nodes/Dropbox/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Dropbox/GenericFunctions.ts @@ -1,8 +1,6 @@ -import type { IExecuteFunctions, IHookFunctions } from 'n8n-core'; - import type { OptionsWithUri } from 'request'; -import type { IDataObject, JsonObject } from 'n8n-workflow'; +import type { IDataObject, IExecuteFunctions, IHookFunctions, JsonObject } from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; /** diff --git a/packages/nodes-base/nodes/Dropcontact/Dropcontact.node.ts b/packages/nodes-base/nodes/Dropcontact/Dropcontact.node.ts index 35acbbfd57d83..3254325826db3 100644 --- a/packages/nodes-base/nodes/Dropcontact/Dropcontact.node.ts +++ b/packages/nodes-base/nodes/Dropcontact/Dropcontact.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/Dropcontact/GenericFunction.ts b/packages/nodes-base/nodes/Dropcontact/GenericFunction.ts index 271ebf6c7cc63..4e09f3981eeea 100644 --- a/packages/nodes-base/nodes/Dropcontact/GenericFunction.ts +++ b/packages/nodes-base/nodes/Dropcontact/GenericFunction.ts @@ -1,6 +1,10 @@ -import type { IExecuteFunctions, IHookFunctions } from 'n8n-core'; - -import type { IDataObject, ILoadOptionsFunctions, IPairedItemData } from 'n8n-workflow'; +import type { + IExecuteFunctions, + IHookFunctions, + IDataObject, + ILoadOptionsFunctions, + IPairedItemData, +} from 'n8n-workflow'; import type { OptionsWithUri } from 'request'; diff --git a/packages/nodes-base/nodes/ERPNext/ERPNext.node.ts b/packages/nodes-base/nodes/ERPNext/ERPNext.node.ts index f2ef75328f4f2..13a5d39d0dd79 100644 --- a/packages/nodes-base/nodes/ERPNext/ERPNext.node.ts +++ b/packages/nodes-base/nodes/ERPNext/ERPNext.node.ts @@ -1,7 +1,6 @@ /* eslint-disable n8n-nodes-base/node-filename-against-convention */ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/ERPNext/GenericFunctions.ts b/packages/nodes-base/nodes/ERPNext/GenericFunctions.ts index 3e419c7b35770..bb390bb26e03c 100644 --- a/packages/nodes-base/nodes/ERPNext/GenericFunctions.ts +++ b/packages/nodes-base/nodes/ERPNext/GenericFunctions.ts @@ -1,8 +1,12 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; - -import type { IDataObject, IHookFunctions, IWebhookFunctions } from 'n8n-workflow'; +import type { + IExecuteFunctions, + ILoadOptionsFunctions, + IDataObject, + IHookFunctions, + IWebhookFunctions, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; /** diff --git a/packages/nodes-base/nodes/Egoi/Egoi.node.ts b/packages/nodes-base/nodes/Egoi/Egoi.node.ts index daee3b0b068bb..54d36f42c9361 100644 --- a/packages/nodes-base/nodes/Egoi/Egoi.node.ts +++ b/packages/nodes-base/nodes/Egoi/Egoi.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Egoi/GenericFunctions.ts b/packages/nodes-base/nodes/Egoi/GenericFunctions.ts index 80eb48d6af549..e1abbb2bff441 100644 --- a/packages/nodes-base/nodes/Egoi/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Egoi/GenericFunctions.ts @@ -1,13 +1,13 @@ import type { OptionsWithUrl } from 'request'; import type { + IDataObject, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, -} from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; interface IContact { diff --git a/packages/nodes-base/nodes/Elastic/ElasticSecurity/ElasticSecurity.node.ts b/packages/nodes-base/nodes/Elastic/ElasticSecurity/ElasticSecurity.node.ts index 4aeb4e5d0702d..235d6967e7dc3 100644 --- a/packages/nodes-base/nodes/Elastic/ElasticSecurity/ElasticSecurity.node.ts +++ b/packages/nodes-base/nodes/Elastic/ElasticSecurity/ElasticSecurity.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, ICredentialsDecrypted, ICredentialTestFunctions, IDataObject, diff --git a/packages/nodes-base/nodes/Elastic/ElasticSecurity/GenericFunctions.ts b/packages/nodes-base/nodes/Elastic/ElasticSecurity/GenericFunctions.ts index 7f242de187fc7..c1cf82b25b4ea 100644 --- a/packages/nodes-base/nodes/Elastic/ElasticSecurity/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Elastic/ElasticSecurity/GenericFunctions.ts @@ -1,6 +1,9 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject, ILoadOptionsFunctions, JsonObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + IDataObject, + ILoadOptionsFunctions, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError, NodeOperationError } from 'n8n-workflow'; import type { OptionsWithUri } from 'request'; diff --git a/packages/nodes-base/nodes/Elastic/Elasticsearch/Elasticsearch.node.ts b/packages/nodes-base/nodes/Elastic/Elasticsearch/Elasticsearch.node.ts index 1fe89b8ab4446..043dd3a4b50ff 100644 --- a/packages/nodes-base/nodes/Elastic/Elasticsearch/Elasticsearch.node.ts +++ b/packages/nodes-base/nodes/Elastic/Elasticsearch/Elasticsearch.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/Elastic/Elasticsearch/GenericFunctions.ts b/packages/nodes-base/nodes/Elastic/Elasticsearch/GenericFunctions.ts index e4503280c83a0..56d137a03a551 100644 --- a/packages/nodes-base/nodes/Elastic/Elasticsearch/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Elastic/Elasticsearch/GenericFunctions.ts @@ -1,8 +1,6 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; +import type { IExecuteFunctions, IDataObject, JsonObject } from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; import type { ElasticsearchApiCredentials } from './types'; diff --git a/packages/nodes-base/nodes/EmailReadImap/v1/EmailReadImapV1.node.ts b/packages/nodes-base/nodes/EmailReadImap/v1/EmailReadImapV1.node.ts index 9da9a45059b36..547f099225dc8 100644 --- a/packages/nodes-base/nodes/EmailReadImap/v1/EmailReadImapV1.node.ts +++ b/packages/nodes-base/nodes/EmailReadImap/v1/EmailReadImapV1.node.ts @@ -1,6 +1,6 @@ /* eslint-disable n8n-nodes-base/node-filename-against-convention */ -import type { ITriggerFunctions } from 'n8n-core'; import type { + ITriggerFunctions, IBinaryData, IBinaryKeyData, ICredentialDataDecryptedObject, diff --git a/packages/nodes-base/nodes/EmailReadImap/v2/EmailReadImapV2.node.ts b/packages/nodes-base/nodes/EmailReadImap/v2/EmailReadImapV2.node.ts index a2ca0f0bd7538..33e1c59595e3b 100644 --- a/packages/nodes-base/nodes/EmailReadImap/v2/EmailReadImapV2.node.ts +++ b/packages/nodes-base/nodes/EmailReadImap/v2/EmailReadImapV2.node.ts @@ -1,6 +1,6 @@ /* eslint-disable n8n-nodes-base/node-filename-against-convention */ -import type { ITriggerFunctions } from 'n8n-core'; import type { + ITriggerFunctions, IBinaryData, IBinaryKeyData, ICredentialsDecrypted, diff --git a/packages/nodes-base/nodes/EmailSend/v2/EmailSendV2.node.ts b/packages/nodes-base/nodes/EmailSend/v2/EmailSendV2.node.ts index d4aeac740159d..a7dfc3b638f6d 100644 --- a/packages/nodes-base/nodes/EmailSend/v2/EmailSendV2.node.ts +++ b/packages/nodes-base/nodes/EmailSend/v2/EmailSendV2.node.ts @@ -1,7 +1,6 @@ /* eslint-disable n8n-nodes-base/node-filename-against-convention */ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, INodeExecutionData, INodeType, INodeTypeBaseDescription, diff --git a/packages/nodes-base/nodes/Emelia/Emelia.node.ts b/packages/nodes-base/nodes/Emelia/Emelia.node.ts index e54052a82b579..4c0e5338c86c8 100644 --- a/packages/nodes-base/nodes/Emelia/Emelia.node.ts +++ b/packages/nodes-base/nodes/Emelia/Emelia.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Emelia/GenericFunctions.ts b/packages/nodes-base/nodes/Emelia/GenericFunctions.ts index 043000f5b6ea7..ae52f1719bf1b 100644 --- a/packages/nodes-base/nodes/Emelia/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Emelia/GenericFunctions.ts @@ -1,8 +1,8 @@ -import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; - import type { ICredentialsDecrypted, ICredentialTestFunctions, + IExecuteFunctions, + ILoadOptionsFunctions, IHookFunctions, INodeCredentialTestResult, INodePropertyOptions, diff --git a/packages/nodes-base/nodes/ErrorTrigger/ErrorTrigger.node.ts b/packages/nodes-base/nodes/ErrorTrigger/ErrorTrigger.node.ts index fb610fc38d2dc..fe3a71660fb23 100644 --- a/packages/nodes-base/nodes/ErrorTrigger/ErrorTrigger.node.ts +++ b/packages/nodes-base/nodes/ErrorTrigger/ErrorTrigger.node.ts @@ -1,5 +1,9 @@ -import type { IExecuteFunctions } from 'n8n-core'; -import type { INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { + IExecuteFunctions, + INodeExecutionData, + INodeType, + INodeTypeDescription, +} from 'n8n-workflow'; export class ErrorTrigger implements INodeType { description: INodeTypeDescription = { diff --git a/packages/nodes-base/nodes/Eventbrite/EventbriteTrigger.node.ts b/packages/nodes-base/nodes/Eventbrite/EventbriteTrigger.node.ts index 4a4e3ecbb6d4b..834e1564c330a 100644 --- a/packages/nodes-base/nodes/Eventbrite/EventbriteTrigger.node.ts +++ b/packages/nodes-base/nodes/Eventbrite/EventbriteTrigger.node.ts @@ -1,6 +1,6 @@ -import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; - import type { + IHookFunctions, + IWebhookFunctions, IDataObject, ILoadOptionsFunctions, INodePropertyOptions, diff --git a/packages/nodes-base/nodes/Eventbrite/GenericFunctions.ts b/packages/nodes-base/nodes/Eventbrite/GenericFunctions.ts index dba22be6abc40..ca4d36417f88d 100644 --- a/packages/nodes-base/nodes/Eventbrite/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Eventbrite/GenericFunctions.ts @@ -1,14 +1,14 @@ import type { OptionsWithUri } from 'request'; import type { + IDataObject, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, IWebhookFunctions, -} from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function eventbriteApiRequest( diff --git a/packages/nodes-base/nodes/ExecuteCommand/ExecuteCommand.node.ts b/packages/nodes-base/nodes/ExecuteCommand/ExecuteCommand.node.ts index d001c0369f989..ceb47cf51666f 100644 --- a/packages/nodes-base/nodes/ExecuteCommand/ExecuteCommand.node.ts +++ b/packages/nodes-base/nodes/ExecuteCommand/ExecuteCommand.node.ts @@ -1,5 +1,9 @@ -import type { IExecuteFunctions } from 'n8n-core'; -import type { INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { + IExecuteFunctions, + INodeExecutionData, + INodeType, + INodeTypeDescription, +} from 'n8n-workflow'; import { NodeOperationError } from 'n8n-workflow'; import { exec } from 'child_process'; diff --git a/packages/nodes-base/nodes/ExecuteWorkflow/ExecuteWorkflow.node.ts b/packages/nodes-base/nodes/ExecuteWorkflow/ExecuteWorkflow.node.ts index 3dc0977f71def..c2623ce3f4f69 100644 --- a/packages/nodes-base/nodes/ExecuteWorkflow/ExecuteWorkflow.node.ts +++ b/packages/nodes-base/nodes/ExecuteWorkflow/ExecuteWorkflow.node.ts @@ -1,7 +1,7 @@ import { readFile as fsReadFile } from 'fs/promises'; -import type { IExecuteFunctions } from 'n8n-core'; import type { + IExecuteFunctions, IExecuteWorkflowInfo, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/ExecuteWorkflowTrigger/ExecuteWorkflowTrigger.node.ts b/packages/nodes-base/nodes/ExecuteWorkflowTrigger/ExecuteWorkflowTrigger.node.ts index cbccd5b6af8a6..d73f7331e7629 100644 --- a/packages/nodes-base/nodes/ExecuteWorkflowTrigger/ExecuteWorkflowTrigger.node.ts +++ b/packages/nodes-base/nodes/ExecuteWorkflowTrigger/ExecuteWorkflowTrigger.node.ts @@ -1,5 +1,9 @@ -import type { IExecuteFunctions } from 'n8n-core'; -import type { INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { + IExecuteFunctions, + INodeExecutionData, + INodeType, + INodeTypeDescription, +} from 'n8n-workflow'; export class ExecuteWorkflowTrigger implements INodeType { description: INodeTypeDescription = { diff --git a/packages/nodes-base/nodes/Facebook/FacebookTrigger.node.ts b/packages/nodes-base/nodes/Facebook/FacebookTrigger.node.ts index b0b613b9dd998..7f9c5cbe446ba 100644 --- a/packages/nodes-base/nodes/Facebook/FacebookTrigger.node.ts +++ b/packages/nodes-base/nodes/Facebook/FacebookTrigger.node.ts @@ -1,6 +1,6 @@ -import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; - import type { + IHookFunctions, + IWebhookFunctions, IDataObject, ILoadOptionsFunctions, INodePropertyOptions, diff --git a/packages/nodes-base/nodes/Facebook/GenericFunctions.ts b/packages/nodes-base/nodes/Facebook/GenericFunctions.ts index 9cc6aa60a72a0..bbad071aa2533 100644 --- a/packages/nodes-base/nodes/Facebook/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Facebook/GenericFunctions.ts @@ -1,14 +1,14 @@ import type { OptionsWithUri } from 'request'; import type { + IDataObject, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, IWebhookFunctions, -} from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; import { capitalCase } from 'change-case'; diff --git a/packages/nodes-base/nodes/Figma/FigmaTrigger.node.ts b/packages/nodes-base/nodes/Figma/FigmaTrigger.node.ts index d6d853c852289..bf096dd6ec784 100644 --- a/packages/nodes-base/nodes/Figma/FigmaTrigger.node.ts +++ b/packages/nodes-base/nodes/Figma/FigmaTrigger.node.ts @@ -1,6 +1,6 @@ -import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; - import type { + IHookFunctions, + IWebhookFunctions, IDataObject, INodeType, INodeTypeDescription, diff --git a/packages/nodes-base/nodes/Figma/GenericFunctions.ts b/packages/nodes-base/nodes/Figma/GenericFunctions.ts index 3fb79a1cad47b..7af362db76831 100644 --- a/packages/nodes-base/nodes/Figma/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Figma/GenericFunctions.ts @@ -1,13 +1,13 @@ import type { OptionsWithUri } from 'request'; import type { + IDataObject, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, -} from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function figmaApiRequest( diff --git a/packages/nodes-base/nodes/FileMaker/FileMaker.node.ts b/packages/nodes-base/nodes/FileMaker/FileMaker.node.ts index 329e2f2c4d4c6..898986ad3a591 100644 --- a/packages/nodes-base/nodes/FileMaker/FileMaker.node.ts +++ b/packages/nodes-base/nodes/FileMaker/FileMaker.node.ts @@ -1,7 +1,7 @@ /* eslint-disable n8n-nodes-base/node-filename-against-convention */ -import type { IExecuteFunctions } from 'n8n-core'; import type { IDataObject, + IExecuteFunctions, ILoadOptionsFunctions, INodeExecutionData, INodePropertyOptions, diff --git a/packages/nodes-base/nodes/FileMaker/GenericFunctions.ts b/packages/nodes-base/nodes/FileMaker/GenericFunctions.ts index 9607aaaec2ae0..bab9888743714 100644 --- a/packages/nodes-base/nodes/FileMaker/GenericFunctions.ts +++ b/packages/nodes-base/nodes/FileMaker/GenericFunctions.ts @@ -1,6 +1,11 @@ -import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; - -import type { IDataObject, INodePropertyOptions, JsonObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + IExecuteSingleFunctions, + ILoadOptionsFunctions, + IDataObject, + INodePropertyOptions, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError, NodeOperationError } from 'n8n-workflow'; import type { OptionsWithUri } from 'request'; diff --git a/packages/nodes-base/nodes/Flow/Flow.node.ts b/packages/nodes-base/nodes/Flow/Flow.node.ts index ce38b63cb8969..277f527e62f2e 100644 --- a/packages/nodes-base/nodes/Flow/Flow.node.ts +++ b/packages/nodes-base/nodes/Flow/Flow.node.ts @@ -1,5 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/Flow/FlowTrigger.node.ts b/packages/nodes-base/nodes/Flow/FlowTrigger.node.ts index fadc50ce2d986..6351eb1596473 100644 --- a/packages/nodes-base/nodes/Flow/FlowTrigger.node.ts +++ b/packages/nodes-base/nodes/Flow/FlowTrigger.node.ts @@ -1,6 +1,6 @@ -import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; - import type { + IHookFunctions, + IWebhookFunctions, IDataObject, INodeType, INodeTypeDescription, diff --git a/packages/nodes-base/nodes/Flow/GenericFunctions.ts b/packages/nodes-base/nodes/Flow/GenericFunctions.ts index 70903c45230f0..0ea3e23191283 100644 --- a/packages/nodes-base/nodes/Flow/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Flow/GenericFunctions.ts @@ -1,11 +1,12 @@ import type { OptionsWithUri } from 'request'; import type { + IDataObject, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, -} from 'n8n-core'; -import type { IDataObject, JsonObject } from 'n8n-workflow'; + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function flowApiRequest( diff --git a/packages/nodes-base/nodes/FormIo/FormIoTrigger.node.ts b/packages/nodes-base/nodes/FormIo/FormIoTrigger.node.ts index 5217c75924b3e..6e8e0561acef6 100644 --- a/packages/nodes-base/nodes/FormIo/FormIoTrigger.node.ts +++ b/packages/nodes-base/nodes/FormIo/FormIoTrigger.node.ts @@ -1,7 +1,7 @@ -import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; - import type { IDataObject, + IHookFunctions, + IWebhookFunctions, ILoadOptionsFunctions, INodePropertyOptions, INodeType, diff --git a/packages/nodes-base/nodes/FormIo/GenericFunctions.ts b/packages/nodes-base/nodes/FormIo/GenericFunctions.ts index 0a4c85e5d042e..be82c1c9800a4 100644 --- a/packages/nodes-base/nodes/FormIo/GenericFunctions.ts +++ b/packages/nodes-base/nodes/FormIo/GenericFunctions.ts @@ -1,6 +1,10 @@ -import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; - -import type { IHookFunctions, IWebhookFunctions, JsonObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + ILoadOptionsFunctions, + IHookFunctions, + IWebhookFunctions, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; interface IFormIoCredentials { diff --git a/packages/nodes-base/nodes/Formstack/FormstackTrigger.node.ts b/packages/nodes-base/nodes/Formstack/FormstackTrigger.node.ts index c3c26f442a35c..54732eb813973 100644 --- a/packages/nodes-base/nodes/Formstack/FormstackTrigger.node.ts +++ b/packages/nodes-base/nodes/Formstack/FormstackTrigger.node.ts @@ -1,6 +1,6 @@ -import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; - import type { + IHookFunctions, + IWebhookFunctions, IDataObject, INodeType, INodeTypeDescription, diff --git a/packages/nodes-base/nodes/Formstack/GenericFunctions.ts b/packages/nodes-base/nodes/Formstack/GenericFunctions.ts index 52ec0bda448ab..7de8096dfc20e 100644 --- a/packages/nodes-base/nodes/Formstack/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Formstack/GenericFunctions.ts @@ -1,11 +1,12 @@ import type { + IDataObject, IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions, IWebhookFunctions, -} from 'n8n-core'; - -import type { IDataObject, INodePropertyOptions, JsonObject } from 'n8n-workflow'; + INodePropertyOptions, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; import type { OptionsWithUri } from 'request'; diff --git a/packages/nodes-base/nodes/Freshdesk/Freshdesk.node.ts b/packages/nodes-base/nodes/Freshdesk/Freshdesk.node.ts index 2e43a258a404c..259766752fb56 100644 --- a/packages/nodes-base/nodes/Freshdesk/Freshdesk.node.ts +++ b/packages/nodes-base/nodes/Freshdesk/Freshdesk.node.ts @@ -1,4 +1,5 @@ import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, @@ -8,8 +9,6 @@ import type { } from 'n8n-workflow'; import { NodeOperationError } from 'n8n-workflow'; -import type { IExecuteFunctions } from 'n8n-core'; - import { capitalize, freshdeskApiRequest, diff --git a/packages/nodes-base/nodes/Freshdesk/GenericFunctions.ts b/packages/nodes-base/nodes/Freshdesk/GenericFunctions.ts index 823b16134c792..29663066778d4 100644 --- a/packages/nodes-base/nodes/Freshdesk/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Freshdesk/GenericFunctions.ts @@ -1,10 +1,12 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { BINARY_ENCODING } from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; -import { NodeApiError } from 'n8n-workflow'; +import type { + IDataObject, + IExecuteFunctions, + ILoadOptionsFunctions, + JsonObject, +} from 'n8n-workflow'; +import { BINARY_ENCODING, NodeApiError } from 'n8n-workflow'; export async function freshdeskApiRequest( this: IExecuteFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Freshservice/Freshservice.node.ts b/packages/nodes-base/nodes/Freshservice/Freshservice.node.ts index 2775d7de0ca9d..0f8854b1b85e4 100644 --- a/packages/nodes-base/nodes/Freshservice/Freshservice.node.ts +++ b/packages/nodes-base/nodes/Freshservice/Freshservice.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Freshservice/GenericFunctions.ts b/packages/nodes-base/nodes/Freshservice/GenericFunctions.ts index c75db17b6e16e..8cf420fab5b44 100644 --- a/packages/nodes-base/nodes/Freshservice/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Freshservice/GenericFunctions.ts @@ -1,6 +1,10 @@ -import type { IExecuteFunctions, IHookFunctions } from 'n8n-core'; - -import type { IDataObject, ILoadOptionsFunctions, JsonObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + IHookFunctions, + IDataObject, + ILoadOptionsFunctions, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError, NodeOperationError } from 'n8n-workflow'; import type { diff --git a/packages/nodes-base/nodes/FreshworksCrm/FreshworksCrm.node.ts b/packages/nodes-base/nodes/FreshworksCrm/FreshworksCrm.node.ts index 86c3058a4eb88..61d9cac506def 100644 --- a/packages/nodes-base/nodes/FreshworksCrm/FreshworksCrm.node.ts +++ b/packages/nodes-base/nodes/FreshworksCrm/FreshworksCrm.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/FreshworksCrm/GenericFunctions.ts b/packages/nodes-base/nodes/FreshworksCrm/GenericFunctions.ts index d57a1e643bbd2..8c737abad1578 100644 --- a/packages/nodes-base/nodes/FreshworksCrm/GenericFunctions.ts +++ b/packages/nodes-base/nodes/FreshworksCrm/GenericFunctions.ts @@ -1,6 +1,9 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject, ILoadOptionsFunctions, JsonObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + IDataObject, + ILoadOptionsFunctions, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError, NodeOperationError } from 'n8n-workflow'; import type { OptionsWithUri } from 'request'; diff --git a/packages/nodes-base/nodes/Ftp/Ftp.node.ts b/packages/nodes-base/nodes/Ftp/Ftp.node.ts index ba8628a6d0d82..66575b454b7cd 100644 --- a/packages/nodes-base/nodes/Ftp/Ftp.node.ts +++ b/packages/nodes-base/nodes/Ftp/Ftp.node.ts @@ -1,4 +1,3 @@ -import { BINARY_ENCODING } from 'n8n-core'; import type { ICredentialDataDecryptedObject, ICredentialsDecrypted, @@ -11,7 +10,7 @@ import type { INodeTypeDescription, JsonObject, } from 'n8n-workflow'; -import { NodeApiError } from 'n8n-workflow'; +import { BINARY_ENCODING, NodeApiError } from 'n8n-workflow'; import { createWriteStream } from 'fs'; import { basename, dirname } from 'path'; import type { Readable } from 'stream'; diff --git a/packages/nodes-base/nodes/Function/Function.node.ts b/packages/nodes-base/nodes/Function/Function.node.ts index a186f2d6276be..cdf1a110edd42 100644 --- a/packages/nodes-base/nodes/Function/Function.node.ts +++ b/packages/nodes-base/nodes/Function/Function.node.ts @@ -1,7 +1,7 @@ import type { NodeVMOptions } from 'vm2'; import { NodeVM } from 'vm2'; -import type { IExecuteFunctions } from 'n8n-core'; import type { + IExecuteFunctions, IBinaryKeyData, IDataObject, INodeExecutionData, diff --git a/packages/nodes-base/nodes/FunctionItem/FunctionItem.node.ts b/packages/nodes-base/nodes/FunctionItem/FunctionItem.node.ts index cf58cf0e5b6e4..a81948fcb9987 100644 --- a/packages/nodes-base/nodes/FunctionItem/FunctionItem.node.ts +++ b/packages/nodes-base/nodes/FunctionItem/FunctionItem.node.ts @@ -1,8 +1,8 @@ /* eslint-disable @typescript-eslint/no-loop-func */ import type { NodeVMOptions, VMRequire } from 'vm2'; import { NodeVM } from 'vm2'; -import type { IExecuteFunctions } from 'n8n-core'; import type { + IExecuteFunctions, IBinaryKeyData, IDataObject, INodeExecutionData, diff --git a/packages/nodes-base/nodes/GetResponse/GenericFunctions.ts b/packages/nodes-base/nodes/GetResponse/GenericFunctions.ts index e7d1367827603..cfe90904245a2 100644 --- a/packages/nodes-base/nodes/GetResponse/GenericFunctions.ts +++ b/packages/nodes-base/nodes/GetResponse/GenericFunctions.ts @@ -1,13 +1,13 @@ import type { OptionsWithUri } from 'request'; import type { + IDataObject, IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions, IWebhookFunctions, -} from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function getresponseApiRequest( diff --git a/packages/nodes-base/nodes/GetResponse/GetResponse.node.ts b/packages/nodes-base/nodes/GetResponse/GetResponse.node.ts index b2f1abfb823fa..862b03fa72e70 100644 --- a/packages/nodes-base/nodes/GetResponse/GetResponse.node.ts +++ b/packages/nodes-base/nodes/GetResponse/GetResponse.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/GetResponse/GetResponseTrigger.node.ts b/packages/nodes-base/nodes/GetResponse/GetResponseTrigger.node.ts index e290dc1f8ef0b..71d4aaf9373fa 100644 --- a/packages/nodes-base/nodes/GetResponse/GetResponseTrigger.node.ts +++ b/packages/nodes-base/nodes/GetResponse/GetResponseTrigger.node.ts @@ -1,6 +1,6 @@ -import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; - import type { + IHookFunctions, + IWebhookFunctions, IDataObject, ILoadOptionsFunctions, INodePropertyOptions, diff --git a/packages/nodes-base/nodes/Ghost/GenericFunctions.ts b/packages/nodes-base/nodes/Ghost/GenericFunctions.ts index 7fe74a3b70f69..602d9cb28a108 100644 --- a/packages/nodes-base/nodes/Ghost/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Ghost/GenericFunctions.ts @@ -1,13 +1,12 @@ import type { OptionsWithUri } from 'request'; import type { + IDataObject, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, -} from 'n8n-core'; - -import type { IDataObject } from 'n8n-workflow'; +} from 'n8n-workflow'; export async function ghostApiRequest( this: IHookFunctions | IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Ghost/Ghost.node.ts b/packages/nodes-base/nodes/Ghost/Ghost.node.ts index 2f0e93ba90c81..fecd1938af82a 100644 --- a/packages/nodes-base/nodes/Ghost/Ghost.node.ts +++ b/packages/nodes-base/nodes/Ghost/Ghost.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Git/Git.node.ts b/packages/nodes-base/nodes/Git/Git.node.ts index 84b09a65409a8..b4dc39c57efa7 100644 --- a/packages/nodes-base/nodes/Git/Git.node.ts +++ b/packages/nodes-base/nodes/Git/Git.node.ts @@ -1,5 +1,9 @@ -import type { IExecuteFunctions } from 'n8n-core'; -import type { INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { + IExecuteFunctions, + INodeExecutionData, + INodeType, + INodeTypeDescription, +} from 'n8n-workflow'; import { addConfigFields, diff --git a/packages/nodes-base/nodes/Github/GenericFunctions.ts b/packages/nodes-base/nodes/Github/GenericFunctions.ts index cb99b5fb3dc43..348647b12d661 100644 --- a/packages/nodes-base/nodes/Github/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Github/GenericFunctions.ts @@ -1,8 +1,12 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, IHookFunctions } from 'n8n-core'; - -import type { IDataObject, ILoadOptionsFunctions, JsonObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + IHookFunctions, + IDataObject, + ILoadOptionsFunctions, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError, NodeOperationError } from 'n8n-workflow'; /** diff --git a/packages/nodes-base/nodes/Github/GithubTrigger.node.ts b/packages/nodes-base/nodes/Github/GithubTrigger.node.ts index 57549ab6e4aef..6b16e7eb1cbbb 100644 --- a/packages/nodes-base/nodes/Github/GithubTrigger.node.ts +++ b/packages/nodes-base/nodes/Github/GithubTrigger.node.ts @@ -1,6 +1,6 @@ -import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; - import type { + IHookFunctions, + IWebhookFunctions, IDataObject, INodeType, INodeTypeDescription, diff --git a/packages/nodes-base/nodes/Gitlab/GenericFunctions.ts b/packages/nodes-base/nodes/Gitlab/GenericFunctions.ts index 7f1738483994f..21c9da8f8d329 100644 --- a/packages/nodes-base/nodes/Gitlab/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Gitlab/GenericFunctions.ts @@ -1,6 +1,4 @@ -import type { IExecuteFunctions, IHookFunctions } from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; +import type { IExecuteFunctions, IHookFunctions, IDataObject, JsonObject } from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; import type { OptionsWithUri } from 'request'; diff --git a/packages/nodes-base/nodes/Gitlab/GitlabTrigger.node.ts b/packages/nodes-base/nodes/Gitlab/GitlabTrigger.node.ts index 07229db99d5e4..a02c826ed5aaf 100644 --- a/packages/nodes-base/nodes/Gitlab/GitlabTrigger.node.ts +++ b/packages/nodes-base/nodes/Gitlab/GitlabTrigger.node.ts @@ -1,6 +1,6 @@ -import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; - import type { + IHookFunctions, + IWebhookFunctions, IDataObject, INodeType, INodeTypeDescription, diff --git a/packages/nodes-base/nodes/GoToWebinar/GenericFunctions.ts b/packages/nodes-base/nodes/GoToWebinar/GenericFunctions.ts index b40544b45d47f..2d52b2f11a7e7 100644 --- a/packages/nodes-base/nodes/GoToWebinar/GenericFunctions.ts +++ b/packages/nodes-base/nodes/GoToWebinar/GenericFunctions.ts @@ -1,7 +1,7 @@ -import type { IExecuteFunctions, IHookFunctions } from 'n8n-core'; - import type { IDataObject, + IExecuteFunctions, + IHookFunctions, ILoadOptionsFunctions, INodePropertyOptions, JsonObject, diff --git a/packages/nodes-base/nodes/GoToWebinar/GoToWebinar.node.ts b/packages/nodes-base/nodes/GoToWebinar/GoToWebinar.node.ts index 4dcce9f04643b..f49f8e8c58db5 100644 --- a/packages/nodes-base/nodes/GoToWebinar/GoToWebinar.node.ts +++ b/packages/nodes-base/nodes/GoToWebinar/GoToWebinar.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Google/Analytics/v1/GenericFunctions.ts b/packages/nodes-base/nodes/Google/Analytics/v1/GenericFunctions.ts index 165e625af47cd..aaac818ff6eb8 100644 --- a/packages/nodes-base/nodes/Google/Analytics/v1/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Google/Analytics/v1/GenericFunctions.ts @@ -1,6 +1,11 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import type { IDataObject, JsonObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + IExecuteSingleFunctions, + ILoadOptionsFunctions, + IDataObject, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function googleApiRequest( diff --git a/packages/nodes-base/nodes/Google/Analytics/v1/GoogleAnalyticsV1.node.ts b/packages/nodes-base/nodes/Google/Analytics/v1/GoogleAnalyticsV1.node.ts index 31cf06033537c..5ccfbcb3eff3d 100644 --- a/packages/nodes-base/nodes/Google/Analytics/v1/GoogleAnalyticsV1.node.ts +++ b/packages/nodes-base/nodes/Google/Analytics/v1/GoogleAnalyticsV1.node.ts @@ -1,7 +1,6 @@ /* eslint-disable n8n-nodes-base/node-filename-against-convention */ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Google/Analytics/v2/GoogleAnalyticsV2.node.ts b/packages/nodes-base/nodes/Google/Analytics/v2/GoogleAnalyticsV2.node.ts index 89d52e7c71f18..ec1dd18965ee0 100644 --- a/packages/nodes-base/nodes/Google/Analytics/v2/GoogleAnalyticsV2.node.ts +++ b/packages/nodes-base/nodes/Google/Analytics/v2/GoogleAnalyticsV2.node.ts @@ -1,6 +1,6 @@ /* eslint-disable n8n-nodes-base/node-filename-against-convention */ -import type { IExecuteFunctions } from 'n8n-core'; import type { + IExecuteFunctions, INodeExecutionData, INodeType, INodeTypeBaseDescription, diff --git a/packages/nodes-base/nodes/Google/Analytics/v2/actions/report/get.ga4.operation.ts b/packages/nodes-base/nodes/Google/Analytics/v2/actions/report/get.ga4.operation.ts index 9108989aa7c28..612bc4556015f 100644 --- a/packages/nodes-base/nodes/Google/Analytics/v2/actions/report/get.ga4.operation.ts +++ b/packages/nodes-base/nodes/Google/Analytics/v2/actions/report/get.ga4.operation.ts @@ -1,5 +1,9 @@ -import type { IExecuteFunctions } from 'n8n-core'; -import type { IDataObject, INodeExecutionData, INodeProperties } from 'n8n-workflow'; +import type { + IExecuteFunctions, + IDataObject, + INodeExecutionData, + INodeProperties, +} from 'n8n-workflow'; import { checkDuplicates, defaultEndDate, diff --git a/packages/nodes-base/nodes/Google/Analytics/v2/actions/report/get.universal.operation.ts b/packages/nodes-base/nodes/Google/Analytics/v2/actions/report/get.universal.operation.ts index ff3cb1f40a4d3..faca9dfe42df6 100644 --- a/packages/nodes-base/nodes/Google/Analytics/v2/actions/report/get.universal.operation.ts +++ b/packages/nodes-base/nodes/Google/Analytics/v2/actions/report/get.universal.operation.ts @@ -1,5 +1,9 @@ -import type { IExecuteFunctions } from 'n8n-core'; -import type { IDataObject, INodeExecutionData, INodeProperties } from 'n8n-workflow'; +import type { + IExecuteFunctions, + IDataObject, + INodeExecutionData, + INodeProperties, +} from 'n8n-workflow'; import type { IData, IDimension, IMetric } from '../../helpers/Interfaces'; import { checkDuplicates, diff --git a/packages/nodes-base/nodes/Google/Analytics/v2/actions/router.ts b/packages/nodes-base/nodes/Google/Analytics/v2/actions/router.ts index df201931ef41e..47ded6e2a4380 100644 --- a/packages/nodes-base/nodes/Google/Analytics/v2/actions/router.ts +++ b/packages/nodes-base/nodes/Google/Analytics/v2/actions/router.ts @@ -1,5 +1,4 @@ -import type { IExecuteFunctions } from 'n8n-core'; -import type { INodeExecutionData } from 'n8n-workflow'; +import type { IExecuteFunctions, INodeExecutionData } from 'n8n-workflow'; import { NodeOperationError } from 'n8n-workflow'; import type { GoogleAnalytics, ReportBasedOnProperty } from './node.type'; diff --git a/packages/nodes-base/nodes/Google/Analytics/v2/actions/userActivity/search.operation.ts b/packages/nodes-base/nodes/Google/Analytics/v2/actions/userActivity/search.operation.ts index dfa6f79a1dac9..f24e65125d272 100644 --- a/packages/nodes-base/nodes/Google/Analytics/v2/actions/userActivity/search.operation.ts +++ b/packages/nodes-base/nodes/Google/Analytics/v2/actions/userActivity/search.operation.ts @@ -1,5 +1,9 @@ -import type { IExecuteFunctions } from 'n8n-core'; -import type { IDataObject, INodeExecutionData, INodeProperties } from 'n8n-workflow'; +import type { + IExecuteFunctions, + IDataObject, + INodeExecutionData, + INodeProperties, +} from 'n8n-workflow'; import { googleApiRequest, googleApiRequestAllItems } from '../../transport'; export const description: INodeProperties[] = [ diff --git a/packages/nodes-base/nodes/Google/Analytics/v2/helpers/utils.ts b/packages/nodes-base/nodes/Google/Analytics/v2/helpers/utils.ts index 71d37220539b1..d0fcde930d32d 100644 --- a/packages/nodes-base/nodes/Google/Analytics/v2/helpers/utils.ts +++ b/packages/nodes-base/nodes/Google/Analytics/v2/helpers/utils.ts @@ -1,5 +1,10 @@ -import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import type { IDataObject, INodeListSearchItems, INodePropertyOptions } from 'n8n-workflow'; +import type { + IExecuteFunctions, + ILoadOptionsFunctions, + IDataObject, + INodeListSearchItems, + INodePropertyOptions, +} from 'n8n-workflow'; import { NodeOperationError } from 'n8n-workflow'; import { DateTime } from 'luxon'; diff --git a/packages/nodes-base/nodes/Google/Analytics/v2/transport/index.ts b/packages/nodes-base/nodes/Google/Analytics/v2/transport/index.ts index ce4a824003ff2..804db4671764b 100644 --- a/packages/nodes-base/nodes/Google/Analytics/v2/transport/index.ts +++ b/packages/nodes-base/nodes/Google/Analytics/v2/transport/index.ts @@ -1,6 +1,11 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import type { IDataObject, JsonObject } from 'n8n-workflow'; +import type { + IDataObject, + IExecuteFunctions, + IExecuteSingleFunctions, + ILoadOptionsFunctions, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function googleApiRequest( diff --git a/packages/nodes-base/nodes/Google/BigQuery/GenericFunctions.ts b/packages/nodes-base/nodes/Google/BigQuery/GenericFunctions.ts index 9f62de8ba1f8d..db1d20c4a3caa 100644 --- a/packages/nodes-base/nodes/Google/BigQuery/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Google/BigQuery/GenericFunctions.ts @@ -1,8 +1,12 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + IExecuteSingleFunctions, + ILoadOptionsFunctions, + IDataObject, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError, NodeOperationError } from 'n8n-workflow'; import moment from 'moment-timezone'; diff --git a/packages/nodes-base/nodes/Google/BigQuery/GoogleBigQuery.node.ts b/packages/nodes-base/nodes/Google/BigQuery/GoogleBigQuery.node.ts index ce340591ee0ba..f4bd44385fc2f 100644 --- a/packages/nodes-base/nodes/Google/BigQuery/GoogleBigQuery.node.ts +++ b/packages/nodes-base/nodes/Google/BigQuery/GoogleBigQuery.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Google/Books/GenericFunctions.ts b/packages/nodes-base/nodes/Google/Books/GenericFunctions.ts index 593538153fade..ed42ba9c6a957 100644 --- a/packages/nodes-base/nodes/Google/Books/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Google/Books/GenericFunctions.ts @@ -1,8 +1,12 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + IExecuteSingleFunctions, + ILoadOptionsFunctions, + IDataObject, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; import moment from 'moment-timezone'; diff --git a/packages/nodes-base/nodes/Google/Books/GoogleBooks.node.ts b/packages/nodes-base/nodes/Google/Books/GoogleBooks.node.ts index 64a1efdedbd40..8f83b0cdcdd7a 100644 --- a/packages/nodes-base/nodes/Google/Books/GoogleBooks.node.ts +++ b/packages/nodes-base/nodes/Google/Books/GoogleBooks.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/Google/Calendar/GenericFunctions.ts b/packages/nodes-base/nodes/Google/Calendar/GenericFunctions.ts index 2379b78698f4b..4b26b099e2f7b 100644 --- a/packages/nodes-base/nodes/Google/Calendar/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Google/Calendar/GenericFunctions.ts @@ -1,9 +1,10 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; - import type { IDataObject, + IExecuteFunctions, + IExecuteSingleFunctions, + ILoadOptionsFunctions, INodeListSearchItems, INodeListSearchResult, IPollFunctions, diff --git a/packages/nodes-base/nodes/Google/Calendar/GoogleCalendar.node.ts b/packages/nodes-base/nodes/Google/Calendar/GoogleCalendar.node.ts index 9079fb1c34ccf..fd68301e7569f 100644 --- a/packages/nodes-base/nodes/Google/Calendar/GoogleCalendar.node.ts +++ b/packages/nodes-base/nodes/Google/Calendar/GoogleCalendar.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Google/Chat/GenericFunctions.ts b/packages/nodes-base/nodes/Google/Chat/GenericFunctions.ts index ec12705ab5d9e..bd60ce1cc3dab 100644 --- a/packages/nodes-base/nodes/Google/Chat/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Google/Chat/GenericFunctions.ts @@ -1,11 +1,11 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; - import type { - // ICredentialDataDecryptedObject, ICredentialTestFunctions, IDataObject, + IExecuteFunctions, + IExecuteSingleFunctions, + ILoadOptionsFunctions, INodeProperties, JsonObject, } from 'n8n-workflow'; diff --git a/packages/nodes-base/nodes/Google/Chat/GoogleChat.node.ts b/packages/nodes-base/nodes/Google/Chat/GoogleChat.node.ts index 5c7393802ec42..affcc6236c50e 100644 --- a/packages/nodes-base/nodes/Google/Chat/GoogleChat.node.ts +++ b/packages/nodes-base/nodes/Google/Chat/GoogleChat.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, ICredentialsDecrypted, ICredentialTestFunctions, IDataObject, diff --git a/packages/nodes-base/nodes/Google/CloudNaturalLanguage/GenericFunctions.ts b/packages/nodes-base/nodes/Google/CloudNaturalLanguage/GenericFunctions.ts index 0e5da0904ad1b..3430912a0e999 100644 --- a/packages/nodes-base/nodes/Google/CloudNaturalLanguage/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Google/CloudNaturalLanguage/GenericFunctions.ts @@ -1,8 +1,12 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + IExecuteSingleFunctions, + ILoadOptionsFunctions, + IDataObject, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function googleApiRequest( diff --git a/packages/nodes-base/nodes/Google/CloudNaturalLanguage/GoogleCloudNaturalLanguage.node.ts b/packages/nodes-base/nodes/Google/CloudNaturalLanguage/GoogleCloudNaturalLanguage.node.ts index da43d10a8e915..1c0813b3a7641 100644 --- a/packages/nodes-base/nodes/Google/CloudNaturalLanguage/GoogleCloudNaturalLanguage.node.ts +++ b/packages/nodes-base/nodes/Google/CloudNaturalLanguage/GoogleCloudNaturalLanguage.node.ts @@ -1,6 +1,9 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { + IExecuteFunctions, + INodeExecutionData, + INodeType, + INodeTypeDescription, +} from 'n8n-workflow'; import type { IData } from './Interface'; diff --git a/packages/nodes-base/nodes/Google/Contacts/GenericFunctions.ts b/packages/nodes-base/nodes/Google/Contacts/GenericFunctions.ts index da6cee4c58d5f..55cc5c75a3cdb 100644 --- a/packages/nodes-base/nodes/Google/Contacts/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Google/Contacts/GenericFunctions.ts @@ -1,8 +1,12 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + IExecuteSingleFunctions, + ILoadOptionsFunctions, + IDataObject, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function googleApiRequest( diff --git a/packages/nodes-base/nodes/Google/Contacts/GoogleContacts.node.ts b/packages/nodes-base/nodes/Google/Contacts/GoogleContacts.node.ts index 0cb2e6bce4414..8b641fe147cb7 100644 --- a/packages/nodes-base/nodes/Google/Contacts/GoogleContacts.node.ts +++ b/packages/nodes-base/nodes/Google/Contacts/GoogleContacts.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Google/Docs/GenericFunctions.ts b/packages/nodes-base/nodes/Google/Docs/GenericFunctions.ts index 3537c88587bdd..a082254e73519 100644 --- a/packages/nodes-base/nodes/Google/Docs/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Google/Docs/GenericFunctions.ts @@ -1,8 +1,11 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + ILoadOptionsFunctions, + IDataObject, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; import moment from 'moment-timezone'; diff --git a/packages/nodes-base/nodes/Google/Docs/GoogleDocs.node.ts b/packages/nodes-base/nodes/Google/Docs/GoogleDocs.node.ts index f9b552cabf33f..e360924d853d0 100644 --- a/packages/nodes-base/nodes/Google/Docs/GoogleDocs.node.ts +++ b/packages/nodes-base/nodes/Google/Docs/GoogleDocs.node.ts @@ -1,6 +1,6 @@ -import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, + ILoadOptionsFunctions, IDataObject, INodeExecutionData, INodePropertyOptions, diff --git a/packages/nodes-base/nodes/Google/Drive/GenericFunctions.ts b/packages/nodes-base/nodes/Google/Drive/GenericFunctions.ts index f526e1e454b9d..4daee7ee9fc86 100644 --- a/packages/nodes-base/nodes/Google/Drive/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Google/Drive/GenericFunctions.ts @@ -1,8 +1,13 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; - -import type { IDataObject, IPollFunctions, JsonObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + IExecuteSingleFunctions, + ILoadOptionsFunctions, + IDataObject, + IPollFunctions, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; import moment from 'moment-timezone'; diff --git a/packages/nodes-base/nodes/Google/Drive/GoogleDrive.node.ts b/packages/nodes-base/nodes/Google/Drive/GoogleDrive.node.ts index 3382b36aa4bf1..f51d1461a685d 100644 --- a/packages/nodes-base/nodes/Google/Drive/GoogleDrive.node.ts +++ b/packages/nodes-base/nodes/Google/Drive/GoogleDrive.node.ts @@ -1,5 +1,3 @@ -import { BINARY_ENCODING } from 'n8n-core'; - import type { IDataObject, IExecuteFunctions, @@ -7,6 +5,7 @@ import type { INodeType, INodeTypeDescription, } from 'n8n-workflow'; +import { BINARY_ENCODING } from 'n8n-workflow'; import { googleApiRequest, googleApiRequestAllItems } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Google/Drive/GoogleDriveTrigger.node.ts b/packages/nodes-base/nodes/Google/Drive/GoogleDriveTrigger.node.ts index 82080fe4578d8..ab087f5a3aaf7 100644 --- a/packages/nodes-base/nodes/Google/Drive/GoogleDriveTrigger.node.ts +++ b/packages/nodes-base/nodes/Google/Drive/GoogleDriveTrigger.node.ts @@ -1,6 +1,5 @@ -import type { IPollFunctions } from 'n8n-core'; - import type { + IPollFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Google/Firebase/CloudFirestore/GenericFunctions.ts b/packages/nodes-base/nodes/Google/Firebase/CloudFirestore/GenericFunctions.ts index bc43ff40a92a7..ae1f5e141bf3c 100644 --- a/packages/nodes-base/nodes/Google/Firebase/CloudFirestore/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Google/Firebase/CloudFirestore/GenericFunctions.ts @@ -1,8 +1,12 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + IExecuteSingleFunctions, + ILoadOptionsFunctions, + IDataObject, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; import moment from 'moment-timezone'; diff --git a/packages/nodes-base/nodes/Google/Firebase/CloudFirestore/GoogleFirebaseCloudFirestore.node.ts b/packages/nodes-base/nodes/Google/Firebase/CloudFirestore/GoogleFirebaseCloudFirestore.node.ts index 6dce53e0d3b45..6e1c2b17e6868 100644 --- a/packages/nodes-base/nodes/Google/Firebase/CloudFirestore/GoogleFirebaseCloudFirestore.node.ts +++ b/packages/nodes-base/nodes/Google/Firebase/CloudFirestore/GoogleFirebaseCloudFirestore.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Google/Firebase/RealtimeDatabase/GenericFunctions.ts b/packages/nodes-base/nodes/Google/Firebase/RealtimeDatabase/GenericFunctions.ts index 877c3a29fdb09..ccf0c189cbef6 100644 --- a/packages/nodes-base/nodes/Google/Firebase/RealtimeDatabase/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Google/Firebase/RealtimeDatabase/GenericFunctions.ts @@ -1,8 +1,12 @@ import type { OptionsWithUrl } from 'request'; -import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + IExecuteSingleFunctions, + ILoadOptionsFunctions, + IDataObject, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function googleApiRequest( diff --git a/packages/nodes-base/nodes/Google/Firebase/RealtimeDatabase/GoogleFirebaseRealtimeDatabase.node.ts b/packages/nodes-base/nodes/Google/Firebase/RealtimeDatabase/GoogleFirebaseRealtimeDatabase.node.ts index f69ec937c7073..d63d49b6d7e76 100644 --- a/packages/nodes-base/nodes/Google/Firebase/RealtimeDatabase/GoogleFirebaseRealtimeDatabase.node.ts +++ b/packages/nodes-base/nodes/Google/Firebase/RealtimeDatabase/GoogleFirebaseRealtimeDatabase.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Google/GSuiteAdmin/GSuiteAdmin.node.ts b/packages/nodes-base/nodes/Google/GSuiteAdmin/GSuiteAdmin.node.ts index e4d9b99990367..1d7a435748711 100644 --- a/packages/nodes-base/nodes/Google/GSuiteAdmin/GSuiteAdmin.node.ts +++ b/packages/nodes-base/nodes/Google/GSuiteAdmin/GSuiteAdmin.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Google/GSuiteAdmin/GenericFunctions.ts b/packages/nodes-base/nodes/Google/GSuiteAdmin/GenericFunctions.ts index 2e0c631d87601..848bab2e96935 100644 --- a/packages/nodes-base/nodes/Google/GSuiteAdmin/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Google/GSuiteAdmin/GenericFunctions.ts @@ -1,8 +1,12 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + IExecuteSingleFunctions, + ILoadOptionsFunctions, + IDataObject, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function googleApiRequest( diff --git a/packages/nodes-base/nodes/Google/Gmail/GenericFunctions.ts b/packages/nodes-base/nodes/Google/Gmail/GenericFunctions.ts index 62b5d7791d403..99fcce1943464 100644 --- a/packages/nodes-base/nodes/Google/Gmail/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Google/Gmail/GenericFunctions.ts @@ -2,12 +2,13 @@ import type { OptionsWithUri } from 'request'; import { simpleParser } from 'mailparser'; -import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; - import type { IBinaryKeyData, ICredentialDataDecryptedObject, IDataObject, + IExecuteFunctions, + IExecuteSingleFunctions, + ILoadOptionsFunctions, INodeExecutionData, IPollFunctions, JsonObject, diff --git a/packages/nodes-base/nodes/Google/Gmail/GmailTrigger.node.ts b/packages/nodes-base/nodes/Google/Gmail/GmailTrigger.node.ts index 8f7b389773e89..ab9f9abb6e1e2 100644 --- a/packages/nodes-base/nodes/Google/Gmail/GmailTrigger.node.ts +++ b/packages/nodes-base/nodes/Google/Gmail/GmailTrigger.node.ts @@ -1,6 +1,5 @@ -import type { IPollFunctions } from 'n8n-core'; - import type { + IPollFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Google/Gmail/v2/GmailV2.node.ts b/packages/nodes-base/nodes/Google/Gmail/v2/GmailV2.node.ts index 4e9e5c55ccce6..43a01aacb70a7 100644 --- a/packages/nodes-base/nodes/Google/Gmail/v2/GmailV2.node.ts +++ b/packages/nodes-base/nodes/Google/Gmail/v2/GmailV2.node.ts @@ -1,7 +1,6 @@ /* eslint-disable n8n-nodes-base/node-filename-against-convention */ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Google/Perspective/GenericFunctions.ts b/packages/nodes-base/nodes/Google/Perspective/GenericFunctions.ts index 66b658d2dc0d4..9363d4392b537 100644 --- a/packages/nodes-base/nodes/Google/Perspective/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Google/Perspective/GenericFunctions.ts @@ -1,8 +1,6 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; +import type { IExecuteFunctions, IDataObject, JsonObject } from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function googleApiRequest( diff --git a/packages/nodes-base/nodes/Google/Perspective/GooglePerspective.node.ts b/packages/nodes-base/nodes/Google/Perspective/GooglePerspective.node.ts index 2b35201f902c4..66ad3232ee39d 100644 --- a/packages/nodes-base/nodes/Google/Perspective/GooglePerspective.node.ts +++ b/packages/nodes-base/nodes/Google/Perspective/GooglePerspective.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, ILoadOptionsFunctions, INodeExecutionData, INodePropertyOptions, diff --git a/packages/nodes-base/nodes/Google/Sheet/v1/GenericFunctions.ts b/packages/nodes-base/nodes/Google/Sheet/v1/GenericFunctions.ts index 1603395fd12f3..95f0421b07e96 100644 --- a/packages/nodes-base/nodes/Google/Sheet/v1/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Google/Sheet/v1/GenericFunctions.ts @@ -1,8 +1,13 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; - -import type { ICredentialTestFunctions, IDataObject, JsonObject } from 'n8n-workflow'; +import type { + ICredentialTestFunctions, + IDataObject, + IExecuteFunctions, + IExecuteSingleFunctions, + ILoadOptionsFunctions, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; import moment from 'moment-timezone'; diff --git a/packages/nodes-base/nodes/Google/Sheet/v1/GoogleSheet.ts b/packages/nodes-base/nodes/Google/Sheet/v1/GoogleSheet.ts index 7bd56df0fe774..40fb2b9980cca 100644 --- a/packages/nodes-base/nodes/Google/Sheet/v1/GoogleSheet.ts +++ b/packages/nodes-base/nodes/Google/Sheet/v1/GoogleSheet.ts @@ -1,8 +1,6 @@ -import type { IDataObject } from 'n8n-workflow'; +import type { IExecuteFunctions, ILoadOptionsFunctions, IDataObject } from 'n8n-workflow'; import { NodeOperationError } from 'n8n-workflow'; -import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; - import { googleApiRequest } from './GenericFunctions'; import { utils as xlsxUtils } from 'xlsx'; diff --git a/packages/nodes-base/nodes/Google/Sheet/v1/GoogleSheetsV1.node.ts b/packages/nodes-base/nodes/Google/Sheet/v1/GoogleSheetsV1.node.ts index 1ca0e728cb6d9..9cdf31e1c2216 100644 --- a/packages/nodes-base/nodes/Google/Sheet/v1/GoogleSheetsV1.node.ts +++ b/packages/nodes-base/nodes/Google/Sheet/v1/GoogleSheetsV1.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, ICredentialsDecrypted, ICredentialTestFunctions, IDataObject, diff --git a/packages/nodes-base/nodes/Google/Sheet/v2/GoogleSheetsV2.node.ts b/packages/nodes-base/nodes/Google/Sheet/v2/GoogleSheetsV2.node.ts index 3c285a4f7f8a2..de2973ca2a60c 100644 --- a/packages/nodes-base/nodes/Google/Sheet/v2/GoogleSheetsV2.node.ts +++ b/packages/nodes-base/nodes/Google/Sheet/v2/GoogleSheetsV2.node.ts @@ -1,5 +1,9 @@ -import type { IExecuteFunctions } from 'n8n-core'; -import type { INodeType, INodeTypeBaseDescription, INodeTypeDescription } from 'n8n-workflow'; +import type { + IExecuteFunctions, + INodeType, + INodeTypeBaseDescription, + INodeTypeDescription, +} from 'n8n-workflow'; import { versionDescription } from './actions/versionDescription'; import { credentialTest, listSearch, loadOptions } from './methods'; import { router } from './actions/router'; diff --git a/packages/nodes-base/nodes/Google/Sheet/v2/actions/router.ts b/packages/nodes-base/nodes/Google/Sheet/v2/actions/router.ts index 89ad4268c3292..ab5929c31baa3 100644 --- a/packages/nodes-base/nodes/Google/Sheet/v2/actions/router.ts +++ b/packages/nodes-base/nodes/Google/Sheet/v2/actions/router.ts @@ -1,5 +1,4 @@ -import type { IExecuteFunctions } from 'n8n-core'; -import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow'; import * as sheet from './sheet/Sheet.resource'; import * as spreadsheet from './spreadsheet/SpreadSheet.resource'; import { GoogleSheet } from '../helpers/GoogleSheet'; diff --git a/packages/nodes-base/nodes/Google/Sheet/v2/actions/sheet/append.operation.ts b/packages/nodes-base/nodes/Google/Sheet/v2/actions/sheet/append.operation.ts index 4e4b0146a688b..bb9d36106c383 100644 --- a/packages/nodes-base/nodes/Google/Sheet/v2/actions/sheet/append.operation.ts +++ b/packages/nodes-base/nodes/Google/Sheet/v2/actions/sheet/append.operation.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow'; import type { SheetProperties, ValueInputOption } from '../../helpers/GoogleSheets.types'; -import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; import type { GoogleSheet } from '../../helpers/GoogleSheet'; import { autoMapInputData, mapFields, untilSheetSelected } from '../../helpers/GoogleSheets.utils'; import { cellFormat, handlingExtraData } from './commonDescription'; diff --git a/packages/nodes-base/nodes/Google/Sheet/v2/actions/sheet/appendOrUpdate.operation.ts b/packages/nodes-base/nodes/Google/Sheet/v2/actions/sheet/appendOrUpdate.operation.ts index fc74d82467b78..b8b11fb9ccbe4 100644 --- a/packages/nodes-base/nodes/Google/Sheet/v2/actions/sheet/appendOrUpdate.operation.ts +++ b/packages/nodes-base/nodes/Google/Sheet/v2/actions/sheet/appendOrUpdate.operation.ts @@ -1,11 +1,10 @@ -import type { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow'; import type { ISheetUpdateData, SheetProperties, ValueInputOption, ValueRenderOption, } from '../../helpers/GoogleSheets.types'; -import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; import { NodeOperationError } from 'n8n-workflow'; import type { GoogleSheet } from '../../helpers/GoogleSheet'; import { untilSheetSelected } from '../../helpers/GoogleSheets.utils'; diff --git a/packages/nodes-base/nodes/Google/Sheet/v2/actions/sheet/clear.operation.ts b/packages/nodes-base/nodes/Google/Sheet/v2/actions/sheet/clear.operation.ts index 54fbe7f0c427e..f65d6a5e3946d 100644 --- a/packages/nodes-base/nodes/Google/Sheet/v2/actions/sheet/clear.operation.ts +++ b/packages/nodes-base/nodes/Google/Sheet/v2/actions/sheet/clear.operation.ts @@ -1,5 +1,4 @@ -import type { IExecuteFunctions } from 'n8n-core'; -import type { INodeExecutionData } from 'n8n-workflow'; +import type { IExecuteFunctions, INodeExecutionData } from 'n8n-workflow'; import type { SheetProperties } from '../../helpers/GoogleSheets.types'; import type { GoogleSheet } from '../../helpers/GoogleSheet'; import { diff --git a/packages/nodes-base/nodes/Google/Sheet/v2/actions/sheet/create.operation.ts b/packages/nodes-base/nodes/Google/Sheet/v2/actions/sheet/create.operation.ts index 5f0493e5a8239..2b3d024581f62 100644 --- a/packages/nodes-base/nodes/Google/Sheet/v2/actions/sheet/create.operation.ts +++ b/packages/nodes-base/nodes/Google/Sheet/v2/actions/sheet/create.operation.ts @@ -1,5 +1,4 @@ -import type { IExecuteFunctions } from 'n8n-core'; -import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow'; import type { SheetProperties } from '../../helpers/GoogleSheets.types'; import { apiRequest } from '../../transport'; import type { GoogleSheet } from '../../helpers/GoogleSheet'; diff --git a/packages/nodes-base/nodes/Google/Sheet/v2/actions/sheet/delete.operation.ts b/packages/nodes-base/nodes/Google/Sheet/v2/actions/sheet/delete.operation.ts index f23435cf61a0f..42ec063c5e897 100644 --- a/packages/nodes-base/nodes/Google/Sheet/v2/actions/sheet/delete.operation.ts +++ b/packages/nodes-base/nodes/Google/Sheet/v2/actions/sheet/delete.operation.ts @@ -1,5 +1,4 @@ -import type { IExecuteFunctions } from 'n8n-core'; -import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow'; import type { SheetProperties } from '../../helpers/GoogleSheets.types'; import type { GoogleSheet } from '../../helpers/GoogleSheet'; import { getColumnNumber, untilSheetSelected } from '../../helpers/GoogleSheets.utils'; diff --git a/packages/nodes-base/nodes/Google/Sheet/v2/actions/sheet/read.operation.ts b/packages/nodes-base/nodes/Google/Sheet/v2/actions/sheet/read.operation.ts index 6e48096f004ce..b4b64d1786f2f 100644 --- a/packages/nodes-base/nodes/Google/Sheet/v2/actions/sheet/read.operation.ts +++ b/packages/nodes-base/nodes/Google/Sheet/v2/actions/sheet/read.operation.ts @@ -1,5 +1,4 @@ -import type { IExecuteFunctions } from 'n8n-core'; -import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow'; import type { GoogleSheet } from '../../helpers/GoogleSheet'; import { getRangeString, diff --git a/packages/nodes-base/nodes/Google/Sheet/v2/actions/sheet/remove.operation.ts b/packages/nodes-base/nodes/Google/Sheet/v2/actions/sheet/remove.operation.ts index 8e5855d289765..7c856d2621bab 100644 --- a/packages/nodes-base/nodes/Google/Sheet/v2/actions/sheet/remove.operation.ts +++ b/packages/nodes-base/nodes/Google/Sheet/v2/actions/sheet/remove.operation.ts @@ -1,5 +1,4 @@ -import type { IExecuteFunctions } from 'n8n-core'; -import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../transport'; import type { GoogleSheet } from '../../helpers/GoogleSheet'; diff --git a/packages/nodes-base/nodes/Google/Sheet/v2/actions/sheet/update.operation.ts b/packages/nodes-base/nodes/Google/Sheet/v2/actions/sheet/update.operation.ts index da0de7881c1e9..499cd0fb8f11d 100644 --- a/packages/nodes-base/nodes/Google/Sheet/v2/actions/sheet/update.operation.ts +++ b/packages/nodes-base/nodes/Google/Sheet/v2/actions/sheet/update.operation.ts @@ -1,11 +1,10 @@ -import type { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow'; import type { ISheetUpdateData, SheetProperties, ValueInputOption, ValueRenderOption, } from '../../helpers/GoogleSheets.types'; -import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; import { NodeOperationError } from 'n8n-workflow'; import type { GoogleSheet } from '../../helpers/GoogleSheet'; import { untilSheetSelected } from '../../helpers/GoogleSheets.utils'; diff --git a/packages/nodes-base/nodes/Google/Sheet/v2/actions/spreadsheet/create.operation.ts b/packages/nodes-base/nodes/Google/Sheet/v2/actions/spreadsheet/create.operation.ts index 7fb605cd01513..d1e93c717104d 100644 --- a/packages/nodes-base/nodes/Google/Sheet/v2/actions/spreadsheet/create.operation.ts +++ b/packages/nodes-base/nodes/Google/Sheet/v2/actions/spreadsheet/create.operation.ts @@ -1,5 +1,4 @@ -import type { IExecuteFunctions } from 'n8n-core'; -import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow'; import type { SpreadSheetProperties } from '../../helpers/GoogleSheets.types'; import { apiRequest } from '../../transport'; diff --git a/packages/nodes-base/nodes/Google/Sheet/v2/actions/spreadsheet/delete.operation.ts b/packages/nodes-base/nodes/Google/Sheet/v2/actions/spreadsheet/delete.operation.ts index f7322db8eac0d..787b6412f6d9f 100644 --- a/packages/nodes-base/nodes/Google/Sheet/v2/actions/spreadsheet/delete.operation.ts +++ b/packages/nodes-base/nodes/Google/Sheet/v2/actions/spreadsheet/delete.operation.ts @@ -1,5 +1,4 @@ -import type { IExecuteFunctions } from 'n8n-core'; -import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow'; import type { SpreadSheetProperties } from '../../helpers/GoogleSheets.types'; import { apiRequest } from '../../transport'; diff --git a/packages/nodes-base/nodes/Google/Sheet/v2/helpers/GoogleSheet.ts b/packages/nodes-base/nodes/Google/Sheet/v2/helpers/GoogleSheet.ts index c3fb40b0f8b46..c40aa13ffe6b4 100644 --- a/packages/nodes-base/nodes/Google/Sheet/v2/helpers/GoogleSheet.ts +++ b/packages/nodes-base/nodes/Google/Sheet/v2/helpers/GoogleSheet.ts @@ -1,6 +1,10 @@ -import type { IDataObject, IPollFunctions } from 'n8n-workflow'; +import type { + IExecuteFunctions, + ILoadOptionsFunctions, + IDataObject, + IPollFunctions, +} from 'n8n-workflow'; import { NodeOperationError } from 'n8n-workflow'; -import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; import { apiRequest } from '../transport'; import { utils as xlsxUtils } from 'xlsx'; import get from 'lodash.get'; diff --git a/packages/nodes-base/nodes/Google/Sheet/v2/helpers/GoogleSheets.utils.ts b/packages/nodes-base/nodes/Google/Sheet/v2/helpers/GoogleSheets.utils.ts index 7d4fab02361c8..74907f2277435 100644 --- a/packages/nodes-base/nodes/Google/Sheet/v2/helpers/GoogleSheets.utils.ts +++ b/packages/nodes-base/nodes/Google/Sheet/v2/helpers/GoogleSheets.utils.ts @@ -1,5 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeListSearchItems, diff --git a/packages/nodes-base/nodes/Google/Sheet/v2/transport/index.ts b/packages/nodes-base/nodes/Google/Sheet/v2/transport/index.ts index 790eec4b4e2b4..f55ee6f942261 100644 --- a/packages/nodes-base/nodes/Google/Sheet/v2/transport/index.ts +++ b/packages/nodes-base/nodes/Google/Sheet/v2/transport/index.ts @@ -1,8 +1,10 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; import type { ICredentialTestFunctions, IDataObject, + IExecuteFunctions, + IExecuteSingleFunctions, + ILoadOptionsFunctions, IPollFunctions, JsonObject, } from 'n8n-workflow'; diff --git a/packages/nodes-base/nodes/Google/Slides/GenericFunctions.ts b/packages/nodes-base/nodes/Google/Slides/GenericFunctions.ts index c86ca96574691..e9b2aa548b2ac 100644 --- a/packages/nodes-base/nodes/Google/Slides/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Google/Slides/GenericFunctions.ts @@ -1,8 +1,11 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + ILoadOptionsFunctions, + IDataObject, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; import moment from 'moment-timezone'; diff --git a/packages/nodes-base/nodes/Google/Slides/GoogleSlides.node.ts b/packages/nodes-base/nodes/Google/Slides/GoogleSlides.node.ts index 53956c45e3658..b8f18d2391a3a 100644 --- a/packages/nodes-base/nodes/Google/Slides/GoogleSlides.node.ts +++ b/packages/nodes-base/nodes/Google/Slides/GoogleSlides.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Google/Task/GenericFunctions.ts b/packages/nodes-base/nodes/Google/Task/GenericFunctions.ts index 31c03c05a4438..265b11773c562 100644 --- a/packages/nodes-base/nodes/Google/Task/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Google/Task/GenericFunctions.ts @@ -1,8 +1,12 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + IExecuteSingleFunctions, + ILoadOptionsFunctions, + IDataObject, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function googleApiRequest( diff --git a/packages/nodes-base/nodes/Google/Task/GoogleTasks.node.ts b/packages/nodes-base/nodes/Google/Task/GoogleTasks.node.ts index 04416c22e86ad..68d5876506cba 100644 --- a/packages/nodes-base/nodes/Google/Task/GoogleTasks.node.ts +++ b/packages/nodes-base/nodes/Google/Task/GoogleTasks.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Google/Translate/GenericFunctions.ts b/packages/nodes-base/nodes/Google/Translate/GenericFunctions.ts index b842cb6b61ab7..b65cef0c12fe9 100644 --- a/packages/nodes-base/nodes/Google/Translate/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Google/Translate/GenericFunctions.ts @@ -1,8 +1,12 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + IExecuteSingleFunctions, + ILoadOptionsFunctions, + IDataObject, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; import moment from 'moment-timezone'; diff --git a/packages/nodes-base/nodes/Google/Translate/GoogleTranslate.node.ts b/packages/nodes-base/nodes/Google/Translate/GoogleTranslate.node.ts index 3e808a7d7327c..c907f0a8f1292 100644 --- a/packages/nodes-base/nodes/Google/Translate/GoogleTranslate.node.ts +++ b/packages/nodes-base/nodes/Google/Translate/GoogleTranslate.node.ts @@ -1,7 +1,6 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { IDataObject, + IExecuteFunctions, ILoadOptionsFunctions, INodeExecutionData, INodePropertyOptions, diff --git a/packages/nodes-base/nodes/Google/YouTube/GenericFunctions.ts b/packages/nodes-base/nodes/Google/YouTube/GenericFunctions.ts index 656cb94a5f530..e18ea26ce5a3c 100644 --- a/packages/nodes-base/nodes/Google/YouTube/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Google/YouTube/GenericFunctions.ts @@ -1,8 +1,12 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + IExecuteSingleFunctions, + ILoadOptionsFunctions, + IDataObject, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function googleApiRequest( diff --git a/packages/nodes-base/nodes/Google/YouTube/YouTube.node.ts b/packages/nodes-base/nodes/Google/YouTube/YouTube.node.ts index 4ef41ea265768..b1209f66f5191 100644 --- a/packages/nodes-base/nodes/Google/YouTube/YouTube.node.ts +++ b/packages/nodes-base/nodes/Google/YouTube/YouTube.node.ts @@ -1,4 +1,3 @@ -import { BINARY_ENCODING } from 'n8n-core'; import type { IDataObject, IExecuteFunctions, @@ -8,7 +7,7 @@ import type { INodeType, INodeTypeDescription, } from 'n8n-workflow'; -import { NodeOperationError } from 'n8n-workflow'; +import { BINARY_ENCODING, NodeOperationError } from 'n8n-workflow'; import type { Readable } from 'stream'; import { googleApiRequest, googleApiRequestAllItems } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Gotify/GenericFunctions.ts b/packages/nodes-base/nodes/Gotify/GenericFunctions.ts index 43fc6ba74b556..b9c50da913331 100644 --- a/packages/nodes-base/nodes/Gotify/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Gotify/GenericFunctions.ts @@ -1,8 +1,12 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + IExecuteSingleFunctions, + ILoadOptionsFunctions, + IDataObject, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function gotifyApiRequest( diff --git a/packages/nodes-base/nodes/Gotify/Gotify.node.ts b/packages/nodes-base/nodes/Gotify/Gotify.node.ts index 018f6e104e0e1..0ced6e1912c61 100644 --- a/packages/nodes-base/nodes/Gotify/Gotify.node.ts +++ b/packages/nodes-base/nodes/Gotify/Gotify.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/Grafana/GenericFunctions.ts b/packages/nodes-base/nodes/Grafana/GenericFunctions.ts index 21d10ea33cd82..48d72bd9d7063 100644 --- a/packages/nodes-base/nodes/Grafana/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Grafana/GenericFunctions.ts @@ -1,6 +1,9 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject, ILoadOptionsFunctions, JsonObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + IDataObject, + ILoadOptionsFunctions, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError, NodeOperationError } from 'n8n-workflow'; import type { OptionsWithUri } from 'request'; diff --git a/packages/nodes-base/nodes/Grafana/Grafana.node.ts b/packages/nodes-base/nodes/Grafana/Grafana.node.ts index 92dcd3d1c09b9..02107fe8a068e 100644 --- a/packages/nodes-base/nodes/Grafana/Grafana.node.ts +++ b/packages/nodes-base/nodes/Grafana/Grafana.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/GraphQL/GraphQL.node.ts b/packages/nodes-base/nodes/GraphQL/GraphQL.node.ts index 92badb367d499..13129d9d3aea2 100644 --- a/packages/nodes-base/nodes/GraphQL/GraphQL.node.ts +++ b/packages/nodes-base/nodes/GraphQL/GraphQL.node.ts @@ -1,6 +1,6 @@ /* eslint-disable n8n-nodes-base/node-filename-against-convention */ -import type { IExecuteFunctions } from 'n8n-core'; import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/Grist/GenericFunctions.ts b/packages/nodes-base/nodes/Grist/GenericFunctions.ts index 3a2d77be8b58a..3fb890c20b19c 100644 --- a/packages/nodes-base/nodes/Grist/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Grist/GenericFunctions.ts @@ -1,8 +1,11 @@ -import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; - import type { OptionsWithUri } from 'request'; -import type { IDataObject, JsonObject } from 'n8n-workflow'; +import type { + IDataObject, + IExecuteFunctions, + ILoadOptionsFunctions, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError, NodeOperationError } from 'n8n-workflow'; import type { diff --git a/packages/nodes-base/nodes/Grist/Grist.node.ts b/packages/nodes-base/nodes/Grist/Grist.node.ts index 7b7f9a593d902..cbc152205e986 100644 --- a/packages/nodes-base/nodes/Grist/Grist.node.ts +++ b/packages/nodes-base/nodes/Grist/Grist.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, ICredentialsDecrypted, ICredentialTestFunctions, IDataObject, diff --git a/packages/nodes-base/nodes/Gumroad/GenericFunctions.ts b/packages/nodes-base/nodes/Gumroad/GenericFunctions.ts index 54ef0cca82598..35023996dea57 100644 --- a/packages/nodes-base/nodes/Gumroad/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Gumroad/GenericFunctions.ts @@ -1,12 +1,13 @@ import type { OptionsWithUri } from 'request'; import type { + IDataObject, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, IWebhookFunctions, -} from 'n8n-core'; -import type { IDataObject, JsonObject } from 'n8n-workflow'; + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function gumroadApiRequest( diff --git a/packages/nodes-base/nodes/Gumroad/GumroadTrigger.node.ts b/packages/nodes-base/nodes/Gumroad/GumroadTrigger.node.ts index bdea5643853e7..e8d2cd9a26c85 100644 --- a/packages/nodes-base/nodes/Gumroad/GumroadTrigger.node.ts +++ b/packages/nodes-base/nodes/Gumroad/GumroadTrigger.node.ts @@ -1,6 +1,6 @@ -import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; - import type { + IHookFunctions, + IWebhookFunctions, IDataObject, INodeType, INodeTypeDescription, diff --git a/packages/nodes-base/nodes/HackerNews/GenericFunctions.ts b/packages/nodes-base/nodes/HackerNews/GenericFunctions.ts index fce70da36b54c..b82ea5a647679 100644 --- a/packages/nodes-base/nodes/HackerNews/GenericFunctions.ts +++ b/packages/nodes-base/nodes/HackerNews/GenericFunctions.ts @@ -1,6 +1,10 @@ -import type { IExecuteFunctions, IHookFunctions } from 'n8n-core'; - -import type { IDataObject, ILoadOptionsFunctions, JsonObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + IHookFunctions, + IDataObject, + ILoadOptionsFunctions, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; import type { OptionsWithUri } from 'request'; diff --git a/packages/nodes-base/nodes/HackerNews/HackerNews.node.ts b/packages/nodes-base/nodes/HackerNews/HackerNews.node.ts index 3c23bcea1292d..c5596c1a350cb 100644 --- a/packages/nodes-base/nodes/HackerNews/HackerNews.node.ts +++ b/packages/nodes-base/nodes/HackerNews/HackerNews.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/HaloPSA/GenericFunctions.ts b/packages/nodes-base/nodes/HaloPSA/GenericFunctions.ts index 9cecd614885b0..dd8a022582bc0 100644 --- a/packages/nodes-base/nodes/HaloPSA/GenericFunctions.ts +++ b/packages/nodes-base/nodes/HaloPSA/GenericFunctions.ts @@ -1,9 +1,9 @@ -import type { IExecuteFunctions, IHookFunctions } from 'n8n-core'; - import type { ICredentialDataDecryptedObject, ICredentialTestFunctions, IDataObject, + IExecuteFunctions, + IHookFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions, IPollFunctions, diff --git a/packages/nodes-base/nodes/HaloPSA/HaloPSA.node.ts b/packages/nodes-base/nodes/HaloPSA/HaloPSA.node.ts index 2a46185a74931..341f76c9b1d48 100644 --- a/packages/nodes-base/nodes/HaloPSA/HaloPSA.node.ts +++ b/packages/nodes-base/nodes/HaloPSA/HaloPSA.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, ICredentialDataDecryptedObject, ICredentialsDecrypted, ICredentialTestFunctions, diff --git a/packages/nodes-base/nodes/Harvest/GenericFunctions.ts b/packages/nodes-base/nodes/Harvest/GenericFunctions.ts index 312c949dac998..583741c35f5ea 100644 --- a/packages/nodes-base/nodes/Harvest/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Harvest/GenericFunctions.ts @@ -1,13 +1,13 @@ import type { OptionsWithUri } from 'request'; import type { + IDataObject, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, -} from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function harvestApiRequest( diff --git a/packages/nodes-base/nodes/Harvest/Harvest.node.ts b/packages/nodes-base/nodes/Harvest/Harvest.node.ts index b2931ba2341ce..05f37984dd946 100644 --- a/packages/nodes-base/nodes/Harvest/Harvest.node.ts +++ b/packages/nodes-base/nodes/Harvest/Harvest.node.ts @@ -1,6 +1,6 @@ -import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, + ILoadOptionsFunctions, IDataObject, INodeExecutionData, INodePropertyOptions, diff --git a/packages/nodes-base/nodes/HelpScout/GenericFunctions.ts b/packages/nodes-base/nodes/HelpScout/GenericFunctions.ts index 4d21b8f51e47b..d54b13d7e5bb9 100644 --- a/packages/nodes-base/nodes/HelpScout/GenericFunctions.ts +++ b/packages/nodes-base/nodes/HelpScout/GenericFunctions.ts @@ -1,13 +1,13 @@ import type { OptionsWithUri } from 'request'; import type { + IDataObject, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, -} from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; import get from 'lodash.get'; diff --git a/packages/nodes-base/nodes/HelpScout/HelpScout.node.ts b/packages/nodes-base/nodes/HelpScout/HelpScout.node.ts index d68f840a5cdc9..0c90a294f5e8b 100644 --- a/packages/nodes-base/nodes/HelpScout/HelpScout.node.ts +++ b/packages/nodes-base/nodes/HelpScout/HelpScout.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IBinaryKeyData, IDataObject, ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/HelpScout/HelpScoutTrigger.node.ts b/packages/nodes-base/nodes/HelpScout/HelpScoutTrigger.node.ts index 1c5bcc4f95f95..eb4f7b6ecc10e 100644 --- a/packages/nodes-base/nodes/HelpScout/HelpScoutTrigger.node.ts +++ b/packages/nodes-base/nodes/HelpScout/HelpScoutTrigger.node.ts @@ -1,6 +1,6 @@ -import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; - import type { + IHookFunctions, + IWebhookFunctions, IDataObject, INodeType, INodeTypeDescription, diff --git a/packages/nodes-base/nodes/HomeAssistant/GenericFunctions.ts b/packages/nodes-base/nodes/HomeAssistant/GenericFunctions.ts index 89e4dac2a301b..f277b4f9de76a 100644 --- a/packages/nodes-base/nodes/HomeAssistant/GenericFunctions.ts +++ b/packages/nodes-base/nodes/HomeAssistant/GenericFunctions.ts @@ -1,8 +1,12 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; - -import type { IDataObject, INodePropertyOptions, JsonObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + ILoadOptionsFunctions, + IDataObject, + INodePropertyOptions, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function homeAssistantApiRequest( diff --git a/packages/nodes-base/nodes/HomeAssistant/HomeAssistant.node.ts b/packages/nodes-base/nodes/HomeAssistant/HomeAssistant.node.ts index 9e04244765bdd..cadc3a235e21b 100644 --- a/packages/nodes-base/nodes/HomeAssistant/HomeAssistant.node.ts +++ b/packages/nodes-base/nodes/HomeAssistant/HomeAssistant.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, ICredentialsDecrypted, ICredentialTestFunctions, IDataObject, diff --git a/packages/nodes-base/nodes/HttpRequest/V1/HttpRequestV1.node.ts b/packages/nodes-base/nodes/HttpRequest/V1/HttpRequestV1.node.ts index 67a854f9e3479..7b989d6611b4b 100644 --- a/packages/nodes-base/nodes/HttpRequest/V1/HttpRequestV1.node.ts +++ b/packages/nodes-base/nodes/HttpRequest/V1/HttpRequestV1.node.ts @@ -1,7 +1,6 @@ // eslint-disable-next-line n8n-nodes-base/node-filename-against-convention -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/HttpRequest/V3/HttpRequestV3.node.ts b/packages/nodes-base/nodes/HttpRequest/V3/HttpRequestV3.node.ts index 498a1097e67be..791927f979e2b 100644 --- a/packages/nodes-base/nodes/HttpRequest/V3/HttpRequestV3.node.ts +++ b/packages/nodes-base/nodes/HttpRequest/V3/HttpRequestV3.node.ts @@ -1,5 +1,4 @@ import type { Readable } from 'stream'; -import { BINARY_ENCODING } from 'n8n-core'; import type { IBinaryKeyData, @@ -11,7 +10,7 @@ import type { INodeTypeDescription, JsonObject, } from 'n8n-workflow'; -import { jsonParse, NodeApiError, NodeOperationError, sleep } from 'n8n-workflow'; +import { BINARY_ENCODING, jsonParse, NodeApiError, NodeOperationError, sleep } from 'n8n-workflow'; import type { OptionsWithUri } from 'request-promise-native'; diff --git a/packages/nodes-base/nodes/Hubspot/GenericFunctions.ts b/packages/nodes-base/nodes/Hubspot/GenericFunctions.ts index a380a222bd776..15b9d2da585df 100644 --- a/packages/nodes-base/nodes/Hubspot/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Hubspot/GenericFunctions.ts @@ -1,16 +1,13 @@ import type { OptionsWithUri } from 'request'; import type { + ICredentialDataDecryptedObject, + ICredentialTestFunctions, + IDataObject, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, -} from 'n8n-core'; - -import type { - ICredentialDataDecryptedObject, - ICredentialTestFunctions, - IDataObject, JsonObject, } from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; diff --git a/packages/nodes-base/nodes/Hubspot/Hubspot.node.ts b/packages/nodes-base/nodes/Hubspot/Hubspot.node.ts index c547ab70bfa22..ac00a6b205e7a 100644 --- a/packages/nodes-base/nodes/Hubspot/Hubspot.node.ts +++ b/packages/nodes-base/nodes/Hubspot/Hubspot.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, ICredentialDataDecryptedObject, ICredentialsDecrypted, ICredentialTestFunctions, diff --git a/packages/nodes-base/nodes/Hubspot/HubspotTrigger.node.ts b/packages/nodes-base/nodes/Hubspot/HubspotTrigger.node.ts index 583728492abac..99e0ee10f3e98 100644 --- a/packages/nodes-base/nodes/Hubspot/HubspotTrigger.node.ts +++ b/packages/nodes-base/nodes/Hubspot/HubspotTrigger.node.ts @@ -1,6 +1,6 @@ -import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; - import type { + IHookFunctions, + IWebhookFunctions, IDataObject, ILoadOptionsFunctions, INodePropertyOptions, diff --git a/packages/nodes-base/nodes/HumanticAI/GenericFunctions.ts b/packages/nodes-base/nodes/HumanticAI/GenericFunctions.ts index fb952ac9318d9..d33ae31a96493 100644 --- a/packages/nodes-base/nodes/HumanticAI/GenericFunctions.ts +++ b/packages/nodes-base/nodes/HumanticAI/GenericFunctions.ts @@ -1,13 +1,13 @@ import type { OptionsWithUri } from 'request'; import type { + IDataObject, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, -} from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function humanticAiApiRequest( diff --git a/packages/nodes-base/nodes/Hunter/GenericFunctions.ts b/packages/nodes-base/nodes/Hunter/GenericFunctions.ts index 601830fd0658d..8627f4f2c2d50 100644 --- a/packages/nodes-base/nodes/Hunter/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Hunter/GenericFunctions.ts @@ -1,11 +1,12 @@ import type { OptionsWithUri } from 'request'; import type { + IDataObject, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, -} from 'n8n-core'; -import type { IDataObject, JsonObject } from 'n8n-workflow'; + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function hunterApiRequest( diff --git a/packages/nodes-base/nodes/Hunter/Hunter.node.ts b/packages/nodes-base/nodes/Hunter/Hunter.node.ts index e630a5da88146..224518fa7c7c7 100644 --- a/packages/nodes-base/nodes/Hunter/Hunter.node.ts +++ b/packages/nodes-base/nodes/Hunter/Hunter.node.ts @@ -1,5 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/ICalendar/ICalendar.node.ts b/packages/nodes-base/nodes/ICalendar/ICalendar.node.ts index 48b17593da9b3..c08c2b72e274e 100644 --- a/packages/nodes-base/nodes/ICalendar/ICalendar.node.ts +++ b/packages/nodes-base/nodes/ICalendar/ICalendar.node.ts @@ -1,7 +1,6 @@ /* eslint-disable n8n-nodes-base/node-filename-against-convention */ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/If/If.node.ts b/packages/nodes-base/nodes/If/If.node.ts index 6c19c082f6775..b7c6f3f6e58f4 100644 --- a/packages/nodes-base/nodes/If/If.node.ts +++ b/packages/nodes-base/nodes/If/If.node.ts @@ -1,6 +1,6 @@ import moment from 'moment'; -import type { IExecuteFunctions } from 'n8n-core'; import type { + IExecuteFunctions, INodeExecutionData, INodeParameters, INodeType, diff --git a/packages/nodes-base/nodes/Intercom/GenericFunctions.ts b/packages/nodes-base/nodes/Intercom/GenericFunctions.ts index 4a3d927bcb462..f064da22d31b3 100644 --- a/packages/nodes-base/nodes/Intercom/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Intercom/GenericFunctions.ts @@ -1,13 +1,13 @@ import type { OptionsWithUri } from 'request'; import type { + IDataObject, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, -} from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function intercomApiRequest( diff --git a/packages/nodes-base/nodes/Intercom/Intercom.node.ts b/packages/nodes-base/nodes/Intercom/Intercom.node.ts index 83faa932d6f5d..f51e4fdb66fc3 100644 --- a/packages/nodes-base/nodes/Intercom/Intercom.node.ts +++ b/packages/nodes-base/nodes/Intercom/Intercom.node.ts @@ -1,5 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Interval/Interval.node.ts b/packages/nodes-base/nodes/Interval/Interval.node.ts index 6a18b3699a6d4..496f3df994376 100644 --- a/packages/nodes-base/nodes/Interval/Interval.node.ts +++ b/packages/nodes-base/nodes/Interval/Interval.node.ts @@ -1,5 +1,9 @@ -import type { ITriggerFunctions } from 'n8n-core'; -import type { INodeType, INodeTypeDescription, ITriggerResponse } from 'n8n-workflow'; +import type { + ITriggerFunctions, + INodeType, + INodeTypeDescription, + ITriggerResponse, +} from 'n8n-workflow'; import { NodeOperationError } from 'n8n-workflow'; export class Interval implements INodeType { diff --git a/packages/nodes-base/nodes/InvoiceNinja/GenericFunctions.ts b/packages/nodes-base/nodes/InvoiceNinja/GenericFunctions.ts index f88d099802f4e..187d637ebae38 100644 --- a/packages/nodes-base/nodes/InvoiceNinja/GenericFunctions.ts +++ b/packages/nodes-base/nodes/InvoiceNinja/GenericFunctions.ts @@ -1,13 +1,13 @@ import type { OptionsWithUri } from 'request'; import type { + IDataObject, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, -} from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; + JsonObject, +} from 'n8n-workflow'; import { NodeApiError, NodeOperationError } from 'n8n-workflow'; import get from 'lodash.get'; diff --git a/packages/nodes-base/nodes/InvoiceNinja/InvoiceNinja.node.ts b/packages/nodes-base/nodes/InvoiceNinja/InvoiceNinja.node.ts index b02c2754cdcb3..947ca7d9945cd 100644 --- a/packages/nodes-base/nodes/InvoiceNinja/InvoiceNinja.node.ts +++ b/packages/nodes-base/nodes/InvoiceNinja/InvoiceNinja.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/InvoiceNinja/InvoiceNinjaTrigger.node.ts b/packages/nodes-base/nodes/InvoiceNinja/InvoiceNinjaTrigger.node.ts index 9b23e7f3d3bad..ad331c7e8f186 100644 --- a/packages/nodes-base/nodes/InvoiceNinja/InvoiceNinjaTrigger.node.ts +++ b/packages/nodes-base/nodes/InvoiceNinja/InvoiceNinjaTrigger.node.ts @@ -1,6 +1,10 @@ -import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; - -import type { INodeType, INodeTypeDescription, IWebhookResponseData } from 'n8n-workflow'; +import type { + IHookFunctions, + IWebhookFunctions, + INodeType, + INodeTypeDescription, + IWebhookResponseData, +} from 'n8n-workflow'; import { eventID, diff --git a/packages/nodes-base/nodes/ItemLists/V1/ItemListsV1.node.ts b/packages/nodes-base/nodes/ItemLists/V1/ItemListsV1.node.ts index 7e230c94d17c0..4b6e3c7b1611e 100644 --- a/packages/nodes-base/nodes/ItemLists/V1/ItemListsV1.node.ts +++ b/packages/nodes-base/nodes/ItemLists/V1/ItemListsV1.node.ts @@ -1,9 +1,9 @@ import type { NodeVMOptions } from 'vm2'; import { NodeVM } from 'vm2'; -import type { IExecuteFunctions } from 'n8n-core'; import type { IDataObject, + IExecuteFunctions, INode, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/ItemLists/V2/ItemListsV2.node.ts b/packages/nodes-base/nodes/ItemLists/V2/ItemListsV2.node.ts index 04cf2f1808f50..f97061c6f133a 100644 --- a/packages/nodes-base/nodes/ItemLists/V2/ItemListsV2.node.ts +++ b/packages/nodes-base/nodes/ItemLists/V2/ItemListsV2.node.ts @@ -1,9 +1,9 @@ import type { NodeVMOptions } from 'vm2'; import { NodeVM } from 'vm2'; -import type { IExecuteFunctions } from 'n8n-core'; import type { IDataObject, + IExecuteFunctions, INode, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/Iterable/GenericFunctions.ts b/packages/nodes-base/nodes/Iterable/GenericFunctions.ts index 11735fd71a09e..1b488ab5e7a28 100644 --- a/packages/nodes-base/nodes/Iterable/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Iterable/GenericFunctions.ts @@ -1,8 +1,12 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + IExecuteSingleFunctions, + ILoadOptionsFunctions, + IDataObject, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function iterableApiRequest( diff --git a/packages/nodes-base/nodes/Iterable/Iterable.node.ts b/packages/nodes-base/nodes/Iterable/Iterable.node.ts index f61998e8a2eb3..e4d48b983afdc 100644 --- a/packages/nodes-base/nodes/Iterable/Iterable.node.ts +++ b/packages/nodes-base/nodes/Iterable/Iterable.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Jenkins/GenericFunctions.ts b/packages/nodes-base/nodes/Jenkins/GenericFunctions.ts index 40ce7625459ff..04e471bee6706 100644 --- a/packages/nodes-base/nodes/Jenkins/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Jenkins/GenericFunctions.ts @@ -1,13 +1,13 @@ import type { OptionsWithUri } from 'request'; import type { + IDataObject, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, -} from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export function tolerateTrailingSlash(baseUrl: string) { diff --git a/packages/nodes-base/nodes/Jenkins/Jenkins.node.ts b/packages/nodes-base/nodes/Jenkins/Jenkins.node.ts index 47bd1db76f744..5ba983f2e5a09 100644 --- a/packages/nodes-base/nodes/Jenkins/Jenkins.node.ts +++ b/packages/nodes-base/nodes/Jenkins/Jenkins.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, ICredentialsDecrypted, ICredentialTestFunctions, IDataObject, diff --git a/packages/nodes-base/nodes/Jira/GenericFunctions.ts b/packages/nodes-base/nodes/Jira/GenericFunctions.ts index ac1e5a53228a6..6f7d70ad317b0 100644 --- a/packages/nodes-base/nodes/Jira/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Jira/GenericFunctions.ts @@ -1,13 +1,14 @@ import type { OptionsWithUri } from 'request'; import type { + IDataObject, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, -} from 'n8n-core'; - -import type { IDataObject, INodeListSearchItems, JsonObject } from 'n8n-workflow'; + INodeListSearchItems, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function jiraSoftwareCloudApiRequest( diff --git a/packages/nodes-base/nodes/Jira/Jira.node.ts b/packages/nodes-base/nodes/Jira/Jira.node.ts index 8cd27494b67bc..5f9f77f6886da 100644 --- a/packages/nodes-base/nodes/Jira/Jira.node.ts +++ b/packages/nodes-base/nodes/Jira/Jira.node.ts @@ -1,12 +1,10 @@ import type { Readable } from 'stream'; import mergeWith from 'lodash.mergewith'; -import type { IExecuteFunctions } from 'n8n-core'; -import { BINARY_ENCODING } from 'n8n-core'; - import type { IBinaryKeyData, IDataObject, + IExecuteFunctions, ILoadOptionsFunctions, INodeExecutionData, INodeListSearchItems, @@ -15,7 +13,7 @@ import type { INodeType, INodeTypeDescription, } from 'n8n-workflow'; -import { NodeOperationError } from 'n8n-workflow'; +import { BINARY_ENCODING, NodeOperationError } from 'n8n-workflow'; import { filterSortSearchListItems, diff --git a/packages/nodes-base/nodes/Jira/JiraTrigger.node.ts b/packages/nodes-base/nodes/Jira/JiraTrigger.node.ts index 80783d167f0a6..8a2e1113d4456 100644 --- a/packages/nodes-base/nodes/Jira/JiraTrigger.node.ts +++ b/packages/nodes-base/nodes/Jira/JiraTrigger.node.ts @@ -1,8 +1,8 @@ -import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; - import type { ICredentialDataDecryptedObject, IDataObject, + IHookFunctions, + IWebhookFunctions, INodeType, INodeTypeDescription, IWebhookResponseData, diff --git a/packages/nodes-base/nodes/JotForm/GenericFunctions.ts b/packages/nodes-base/nodes/JotForm/GenericFunctions.ts index 5e02b3fee3a22..863a75596a73b 100644 --- a/packages/nodes-base/nodes/JotForm/GenericFunctions.ts +++ b/packages/nodes-base/nodes/JotForm/GenericFunctions.ts @@ -1,12 +1,13 @@ import type { OptionsWithUri } from 'request'; import type { + IDataObject, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, IWebhookFunctions, -} from 'n8n-core'; -import type { IDataObject, JsonObject } from 'n8n-workflow'; + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function jotformApiRequest( diff --git a/packages/nodes-base/nodes/JotForm/JotFormTrigger.node.ts b/packages/nodes-base/nodes/JotForm/JotFormTrigger.node.ts index 77efa6d85719f..e9030fe23c413 100644 --- a/packages/nodes-base/nodes/JotForm/JotFormTrigger.node.ts +++ b/packages/nodes-base/nodes/JotForm/JotFormTrigger.node.ts @@ -1,8 +1,8 @@ import * as formidable from 'formidable'; -import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; - import type { + IHookFunctions, + IWebhookFunctions, IDataObject, ILoadOptionsFunctions, INodePropertyOptions, diff --git a/packages/nodes-base/nodes/Kafka/Kafka.node.ts b/packages/nodes-base/nodes/Kafka/Kafka.node.ts index d57ebb498c92f..3b06faca2edb2 100644 --- a/packages/nodes-base/nodes/Kafka/Kafka.node.ts +++ b/packages/nodes-base/nodes/Kafka/Kafka.node.ts @@ -3,9 +3,8 @@ import { CompressionTypes, Kafka as apacheKafka } from 'kafkajs'; import { SchemaRegistry } from '@kafkajs/confluent-schema-registry'; -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, ICredentialDataDecryptedObject, ICredentialsDecrypted, ICredentialTestFunctions, diff --git a/packages/nodes-base/nodes/Kafka/KafkaTrigger.node.ts b/packages/nodes-base/nodes/Kafka/KafkaTrigger.node.ts index e16ab70d71f64..1ff27bd302ec3 100644 --- a/packages/nodes-base/nodes/Kafka/KafkaTrigger.node.ts +++ b/packages/nodes-base/nodes/Kafka/KafkaTrigger.node.ts @@ -3,9 +3,13 @@ import { Kafka as apacheKafka, logLevel } from 'kafkajs'; import { SchemaRegistry } from '@kafkajs/confluent-schema-registry'; -import type { ITriggerFunctions } from 'n8n-core'; - -import type { IDataObject, INodeType, INodeTypeDescription, ITriggerResponse } from 'n8n-workflow'; +import type { + ITriggerFunctions, + IDataObject, + INodeType, + INodeTypeDescription, + ITriggerResponse, +} from 'n8n-workflow'; import { NodeOperationError } from 'n8n-workflow'; export class KafkaTrigger implements INodeType { diff --git a/packages/nodes-base/nodes/Keap/GenericFunctions.ts b/packages/nodes-base/nodes/Keap/GenericFunctions.ts index 31b0f62fbe938..15adc3ea8a16c 100644 --- a/packages/nodes-base/nodes/Keap/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Keap/GenericFunctions.ts @@ -1,13 +1,13 @@ import type { OptionsWithUri } from 'request'; import type { + IDataObject, IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions, IWebhookFunctions, -} from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; import { snakeCase } from 'change-case'; diff --git a/packages/nodes-base/nodes/Keap/KeapTrigger.node.ts b/packages/nodes-base/nodes/Keap/KeapTrigger.node.ts index 83812d95f8c51..0ee412d907f20 100644 --- a/packages/nodes-base/nodes/Keap/KeapTrigger.node.ts +++ b/packages/nodes-base/nodes/Keap/KeapTrigger.node.ts @@ -1,6 +1,6 @@ -import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; - import type { + IHookFunctions, + IWebhookFunctions, IDataObject, ILoadOptionsFunctions, INodePropertyOptions, diff --git a/packages/nodes-base/nodes/Kitemaker/GenericFunctions.ts b/packages/nodes-base/nodes/Kitemaker/GenericFunctions.ts index e193d8f5ae8ae..e668293b68112 100644 --- a/packages/nodes-base/nodes/Kitemaker/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Kitemaker/GenericFunctions.ts @@ -1,6 +1,10 @@ -import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; - -import type { IDataObject, IHookFunctions, JsonObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + ILoadOptionsFunctions, + IDataObject, + IHookFunctions, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function kitemakerRequest( diff --git a/packages/nodes-base/nodes/Kitemaker/Kitemaker.node.ts b/packages/nodes-base/nodes/Kitemaker/Kitemaker.node.ts index 7f6a0ee0d863b..94714f6866324 100644 --- a/packages/nodes-base/nodes/Kitemaker/Kitemaker.node.ts +++ b/packages/nodes-base/nodes/Kitemaker/Kitemaker.node.ts @@ -1,7 +1,6 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { IDataObject, + IExecuteFunctions, ILoadOptionsFunctions, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/KoBoToolbox/GenericFunctions.ts b/packages/nodes-base/nodes/KoBoToolbox/GenericFunctions.ts index 417ac88fbd872..4cf3d01311618 100644 --- a/packages/nodes-base/nodes/KoBoToolbox/GenericFunctions.ts +++ b/packages/nodes-base/nodes/KoBoToolbox/GenericFunctions.ts @@ -1,7 +1,7 @@ -import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; - import type { IDataObject, + IExecuteFunctions, + ILoadOptionsFunctions, IHookFunctions, IHttpRequestOptions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/KoBoToolbox/KoBoToolbox.node.ts b/packages/nodes-base/nodes/KoBoToolbox/KoBoToolbox.node.ts index 3c70469384248..2fd41b86d0b0c 100644 --- a/packages/nodes-base/nodes/KoBoToolbox/KoBoToolbox.node.ts +++ b/packages/nodes-base/nodes/KoBoToolbox/KoBoToolbox.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IBinaryKeyData, IDataObject, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Lemlist/GenericFunctions.ts b/packages/nodes-base/nodes/Lemlist/GenericFunctions.ts index 7864c94a01e06..70e6e5c46501b 100644 --- a/packages/nodes-base/nodes/Lemlist/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Lemlist/GenericFunctions.ts @@ -1,6 +1,9 @@ -import type { IExecuteFunctions, IHookFunctions } from 'n8n-core'; - -import type { IDataObject, ILoadOptionsFunctions } from 'n8n-workflow'; +import type { + IExecuteFunctions, + IHookFunctions, + IDataObject, + ILoadOptionsFunctions, +} from 'n8n-workflow'; import type { OptionsWithUri } from 'request'; diff --git a/packages/nodes-base/nodes/Lemlist/Lemlist.node.ts b/packages/nodes-base/nodes/Lemlist/Lemlist.node.ts index 759ab50bbdbf8..06de58a088ac3 100644 --- a/packages/nodes-base/nodes/Lemlist/Lemlist.node.ts +++ b/packages/nodes-base/nodes/Lemlist/Lemlist.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Lemlist/LemlistTrigger.node.ts b/packages/nodes-base/nodes/Lemlist/LemlistTrigger.node.ts index d23b3ed413cda..6cae55780c40d 100644 --- a/packages/nodes-base/nodes/Lemlist/LemlistTrigger.node.ts +++ b/packages/nodes-base/nodes/Lemlist/LemlistTrigger.node.ts @@ -1,6 +1,6 @@ -import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; - import type { + IHookFunctions, + IWebhookFunctions, IDataObject, ILoadOptionsFunctions, INodeType, diff --git a/packages/nodes-base/nodes/Line/GenericFunctions.ts b/packages/nodes-base/nodes/Line/GenericFunctions.ts index 1139837e36503..0b57cbbfc1e7d 100644 --- a/packages/nodes-base/nodes/Line/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Line/GenericFunctions.ts @@ -1,13 +1,13 @@ import type { OptionsWithUri } from 'request'; import type { + IDataObject, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, -} from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function lineApiRequest( diff --git a/packages/nodes-base/nodes/Linear/GenericFunctions.ts b/packages/nodes-base/nodes/Linear/GenericFunctions.ts index 03a9bd75a2467..21fed19e1c8dd 100644 --- a/packages/nodes-base/nodes/Linear/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Linear/GenericFunctions.ts @@ -1,11 +1,11 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; - import type { ICredentialDataDecryptedObject, ICredentialTestFunctions, IDataObject, + IExecuteFunctions, + ILoadOptionsFunctions, IHookFunctions, IWebhookFunctions, JsonObject, diff --git a/packages/nodes-base/nodes/Linear/Linear.node.ts b/packages/nodes-base/nodes/Linear/Linear.node.ts index 577e83074c9fd..644d6a8142a82 100644 --- a/packages/nodes-base/nodes/Linear/Linear.node.ts +++ b/packages/nodes-base/nodes/Linear/Linear.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, ICredentialDataDecryptedObject, ICredentialsDecrypted, ICredentialTestFunctions, diff --git a/packages/nodes-base/nodes/Linear/LinearTrigger.node.ts b/packages/nodes-base/nodes/Linear/LinearTrigger.node.ts index 7da955000bf62..e127d7b01c727 100644 --- a/packages/nodes-base/nodes/Linear/LinearTrigger.node.ts +++ b/packages/nodes-base/nodes/Linear/LinearTrigger.node.ts @@ -1,6 +1,6 @@ -import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; - import type { + IHookFunctions, + IWebhookFunctions, ILoadOptionsFunctions, INodePropertyOptions, INodeType, diff --git a/packages/nodes-base/nodes/LingvaNex/GenericFunctions.ts b/packages/nodes-base/nodes/LingvaNex/GenericFunctions.ts index 84e6c7d2b273d..895a7bd83136f 100644 --- a/packages/nodes-base/nodes/LingvaNex/GenericFunctions.ts +++ b/packages/nodes-base/nodes/LingvaNex/GenericFunctions.ts @@ -1,13 +1,13 @@ import type { OptionsWithUri } from 'request'; import type { + IDataObject, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, -} from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function lingvaNexApiRequest( diff --git a/packages/nodes-base/nodes/LingvaNex/LingvaNex.node.ts b/packages/nodes-base/nodes/LingvaNex/LingvaNex.node.ts index 5bdc6f3341263..fd1f03b120eaa 100644 --- a/packages/nodes-base/nodes/LingvaNex/LingvaNex.node.ts +++ b/packages/nodes-base/nodes/LingvaNex/LingvaNex.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/LinkedIn/GenericFunctions.ts b/packages/nodes-base/nodes/LinkedIn/GenericFunctions.ts index 7fb62b2496d02..7dd7ea2f08adc 100644 --- a/packages/nodes-base/nodes/LinkedIn/GenericFunctions.ts +++ b/packages/nodes-base/nodes/LinkedIn/GenericFunctions.ts @@ -1,7 +1,12 @@ import type { OptionsWithUrl } from 'request'; -import type { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import type { IDataObject, JsonObject } from 'n8n-workflow'; +import type { + IDataObject, + IExecuteFunctions, + IHookFunctions, + ILoadOptionsFunctions, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function linkedInApiRequest( diff --git a/packages/nodes-base/nodes/LocalFileTrigger/LocalFileTrigger.node.ts b/packages/nodes-base/nodes/LocalFileTrigger/LocalFileTrigger.node.ts index ac2b341d894a2..7bfea916c6f5c 100644 --- a/packages/nodes-base/nodes/LocalFileTrigger/LocalFileTrigger.node.ts +++ b/packages/nodes-base/nodes/LocalFileTrigger/LocalFileTrigger.node.ts @@ -1,5 +1,10 @@ -import type { ITriggerFunctions } from 'n8n-core'; -import type { IDataObject, INodeType, INodeTypeDescription, ITriggerResponse } from 'n8n-workflow'; +import type { + ITriggerFunctions, + IDataObject, + INodeType, + INodeTypeDescription, + ITriggerResponse, +} from 'n8n-workflow'; import { watch } from 'chokidar'; diff --git a/packages/nodes-base/nodes/MQTT/Mqtt.node.ts b/packages/nodes-base/nodes/MQTT/Mqtt.node.ts index 846d34674b643..8110c04d05930 100644 --- a/packages/nodes-base/nodes/MQTT/Mqtt.node.ts +++ b/packages/nodes-base/nodes/MQTT/Mqtt.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, ICredentialDataDecryptedObject, ICredentialsDecrypted, ICredentialTestFunctions, diff --git a/packages/nodes-base/nodes/MQTT/MqttTrigger.node.ts b/packages/nodes-base/nodes/MQTT/MqttTrigger.node.ts index b92568d17bdf7..18336afd91863 100644 --- a/packages/nodes-base/nodes/MQTT/MqttTrigger.node.ts +++ b/packages/nodes-base/nodes/MQTT/MqttTrigger.node.ts @@ -1,6 +1,10 @@ -import type { ITriggerFunctions } from 'n8n-core'; - -import type { IDataObject, INodeType, INodeTypeDescription, ITriggerResponse } from 'n8n-workflow'; +import type { + ITriggerFunctions, + IDataObject, + INodeType, + INodeTypeDescription, + ITriggerResponse, +} from 'n8n-workflow'; import { NodeOperationError } from 'n8n-workflow'; import mqtt from 'mqtt'; diff --git a/packages/nodes-base/nodes/Magento/GenericFunctions.ts b/packages/nodes-base/nodes/Magento/GenericFunctions.ts index a0550d891f800..b076fe13e7e5f 100644 --- a/packages/nodes-base/nodes/Magento/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Magento/GenericFunctions.ts @@ -1,13 +1,15 @@ import type { OptionsWithUri } from 'request'; import type { + IDataObject, IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions, IWebhookFunctions, -} from 'n8n-core'; - -import type { IDataObject, INodeProperties, INodePropertyOptions, JsonObject } from 'n8n-workflow'; + INodeProperties, + INodePropertyOptions, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; import type { Address, Filter, FilterGroup, ProductAttribute, Search } from './Types'; diff --git a/packages/nodes-base/nodes/Magento/Magento2.node.ts b/packages/nodes-base/nodes/Magento/Magento2.node.ts index 59a720262185d..1ea5f95228a02 100644 --- a/packages/nodes-base/nodes/Magento/Magento2.node.ts +++ b/packages/nodes-base/nodes/Magento/Magento2.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Mailcheck/GenericFunctions.ts b/packages/nodes-base/nodes/Mailcheck/GenericFunctions.ts index af2c376024a3f..657c4d077f6af 100644 --- a/packages/nodes-base/nodes/Mailcheck/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Mailcheck/GenericFunctions.ts @@ -1,13 +1,12 @@ import type { OptionsWithUri } from 'request'; import type { + IDataObject, IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions, IWebhookFunctions, -} from 'n8n-core'; - -import type { IDataObject } from 'n8n-workflow'; +} from 'n8n-workflow'; export async function mailCheckApiRequest( this: IWebhookFunctions | IHookFunctions | IExecuteFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Mailcheck/Mailcheck.node.ts b/packages/nodes-base/nodes/Mailcheck/Mailcheck.node.ts index 10afb975d4bb8..fcf7d5d5510d5 100644 --- a/packages/nodes-base/nodes/Mailcheck/Mailcheck.node.ts +++ b/packages/nodes-base/nodes/Mailcheck/Mailcheck.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/Mailchimp/GenericFunctions.ts b/packages/nodes-base/nodes/Mailchimp/GenericFunctions.ts index 141d871461cd5..f73b7a3d22186 100644 --- a/packages/nodes-base/nodes/Mailchimp/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Mailchimp/GenericFunctions.ts @@ -1,13 +1,13 @@ import type { OptionsWithUrl } from 'request'; import type { + IDataObject, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, -} from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; + JsonObject, +} from 'n8n-workflow'; import { NodeApiError, NodeOperationError } from 'n8n-workflow'; async function getMetadata( diff --git a/packages/nodes-base/nodes/Mailchimp/Mailchimp.node.ts b/packages/nodes-base/nodes/Mailchimp/Mailchimp.node.ts index bb126b5051190..4b2b60d3ffb62 100644 --- a/packages/nodes-base/nodes/Mailchimp/Mailchimp.node.ts +++ b/packages/nodes-base/nodes/Mailchimp/Mailchimp.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Mailchimp/MailchimpTrigger.node.ts b/packages/nodes-base/nodes/Mailchimp/MailchimpTrigger.node.ts index 96ebd4af79667..0d74231dd248d 100644 --- a/packages/nodes-base/nodes/Mailchimp/MailchimpTrigger.node.ts +++ b/packages/nodes-base/nodes/Mailchimp/MailchimpTrigger.node.ts @@ -1,7 +1,7 @@ -import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; - import type { IDataObject, + IHookFunctions, + IWebhookFunctions, ILoadOptionsFunctions, INodePropertyOptions, INodeType, diff --git a/packages/nodes-base/nodes/MailerLite/GenericFunctions.ts b/packages/nodes-base/nodes/MailerLite/GenericFunctions.ts index 6808b57be7056..d27d7a38822dc 100644 --- a/packages/nodes-base/nodes/MailerLite/GenericFunctions.ts +++ b/packages/nodes-base/nodes/MailerLite/GenericFunctions.ts @@ -1,13 +1,13 @@ import type { OptionsWithUri } from 'request'; import type { + IDataObject, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, -} from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function mailerliteApiRequest( diff --git a/packages/nodes-base/nodes/MailerLite/MailerLite.node.ts b/packages/nodes-base/nodes/MailerLite/MailerLite.node.ts index 407f4b7a61923..cdf6c34dd1dbe 100644 --- a/packages/nodes-base/nodes/MailerLite/MailerLite.node.ts +++ b/packages/nodes-base/nodes/MailerLite/MailerLite.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/MailerLite/MailerLiteTrigger.node.ts b/packages/nodes-base/nodes/MailerLite/MailerLiteTrigger.node.ts index e52f225419501..b4f7a52a230c0 100644 --- a/packages/nodes-base/nodes/MailerLite/MailerLiteTrigger.node.ts +++ b/packages/nodes-base/nodes/MailerLite/MailerLiteTrigger.node.ts @@ -1,6 +1,6 @@ -import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; - import type { + IHookFunctions, + IWebhookFunctions, IDataObject, INodeType, INodeTypeDescription, diff --git a/packages/nodes-base/nodes/Mailgun/Mailgun.node.ts b/packages/nodes-base/nodes/Mailgun/Mailgun.node.ts index abb12690e04c5..7305f5c5a200d 100644 --- a/packages/nodes-base/nodes/Mailgun/Mailgun.node.ts +++ b/packages/nodes-base/nodes/Mailgun/Mailgun.node.ts @@ -1,5 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/Mailjet/GenericFunctions.ts b/packages/nodes-base/nodes/Mailjet/GenericFunctions.ts index c474cc1f15608..89e5c44e1ac64 100644 --- a/packages/nodes-base/nodes/Mailjet/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Mailjet/GenericFunctions.ts @@ -1,8 +1,12 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; - -import type { IDataObject, IHookFunctions } from 'n8n-workflow'; +import type { + IExecuteFunctions, + IExecuteSingleFunctions, + ILoadOptionsFunctions, + IDataObject, + IHookFunctions, +} from 'n8n-workflow'; export async function mailjetApiRequest( this: IExecuteFunctions | IExecuteSingleFunctions | IHookFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Mailjet/Mailjet.node.ts b/packages/nodes-base/nodes/Mailjet/Mailjet.node.ts index be82c8372addc..9588ff9df95c2 100644 --- a/packages/nodes-base/nodes/Mailjet/Mailjet.node.ts +++ b/packages/nodes-base/nodes/Mailjet/Mailjet.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Mailjet/MailjetTrigger.node.ts b/packages/nodes-base/nodes/Mailjet/MailjetTrigger.node.ts index dd15d13ab44f0..7204461b63693 100644 --- a/packages/nodes-base/nodes/Mailjet/MailjetTrigger.node.ts +++ b/packages/nodes-base/nodes/Mailjet/MailjetTrigger.node.ts @@ -1,6 +1,6 @@ -import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; - import type { + IHookFunctions, + IWebhookFunctions, IDataObject, INodeType, INodeTypeDescription, diff --git a/packages/nodes-base/nodes/Mandrill/GenericFunctions.ts b/packages/nodes-base/nodes/Mandrill/GenericFunctions.ts index 4a00dd917682d..60c89b140b92b 100644 --- a/packages/nodes-base/nodes/Mandrill/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Mandrill/GenericFunctions.ts @@ -1,9 +1,12 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions } from 'n8n-core'; - import map from 'lodash.map'; -import type { JsonObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + IHookFunctions, + ILoadOptionsFunctions, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function mandrillApiRequest( diff --git a/packages/nodes-base/nodes/Mandrill/Mandrill.node.ts b/packages/nodes-base/nodes/Mandrill/Mandrill.node.ts index 3b429a14a6508..a2064cd60f97f 100644 --- a/packages/nodes-base/nodes/Mandrill/Mandrill.node.ts +++ b/packages/nodes-base/nodes/Mandrill/Mandrill.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/ManualTrigger/ManualTrigger.node.ts b/packages/nodes-base/nodes/ManualTrigger/ManualTrigger.node.ts index 624d41dafe4fc..66b47a5d7ea1a 100644 --- a/packages/nodes-base/nodes/ManualTrigger/ManualTrigger.node.ts +++ b/packages/nodes-base/nodes/ManualTrigger/ManualTrigger.node.ts @@ -1,5 +1,9 @@ -import type { ITriggerFunctions } from 'n8n-core'; -import type { INodeType, INodeTypeDescription, ITriggerResponse } from 'n8n-workflow'; +import type { + ITriggerFunctions, + INodeType, + INodeTypeDescription, + ITriggerResponse, +} from 'n8n-workflow'; export class ManualTrigger implements INodeType { description: INodeTypeDescription = { diff --git a/packages/nodes-base/nodes/Markdown/Markdown.node.ts b/packages/nodes-base/nodes/Markdown/Markdown.node.ts index bf29ecea6c547..a0b7d2b13baa1 100644 --- a/packages/nodes-base/nodes/Markdown/Markdown.node.ts +++ b/packages/nodes-base/nodes/Markdown/Markdown.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/Marketstack/GenericFunctions.ts b/packages/nodes-base/nodes/Marketstack/GenericFunctions.ts index 8281ced75b2b3..c20a7657917f4 100644 --- a/packages/nodes-base/nodes/Marketstack/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Marketstack/GenericFunctions.ts @@ -1,8 +1,6 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; +import type { IExecuteFunctions, IDataObject, JsonObject } from 'n8n-workflow'; import { NodeApiError, NodeOperationError } from 'n8n-workflow'; export async function marketstackApiRequest( diff --git a/packages/nodes-base/nodes/Marketstack/Marketstack.node.ts b/packages/nodes-base/nodes/Marketstack/Marketstack.node.ts index e848d3687746c..079c1f5fc9e73 100644 --- a/packages/nodes-base/nodes/Marketstack/Marketstack.node.ts +++ b/packages/nodes-base/nodes/Marketstack/Marketstack.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/Matrix/Matrix.node.ts b/packages/nodes-base/nodes/Matrix/Matrix.node.ts index 9739af5c5b344..a4addebb62573 100644 --- a/packages/nodes-base/nodes/Matrix/Matrix.node.ts +++ b/packages/nodes-base/nodes/Matrix/Matrix.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Mattermost/v1/MattermostV1.node.ts b/packages/nodes-base/nodes/Mattermost/v1/MattermostV1.node.ts index 925749b13ab4e..c099142f03f0d 100644 --- a/packages/nodes-base/nodes/Mattermost/v1/MattermostV1.node.ts +++ b/packages/nodes-base/nodes/Mattermost/v1/MattermostV1.node.ts @@ -1,6 +1,9 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { INodeType, INodeTypeBaseDescription, INodeTypeDescription } from 'n8n-workflow'; +import type { + IExecuteFunctions, + INodeType, + INodeTypeBaseDescription, + INodeTypeDescription, +} from 'n8n-workflow'; import { versionDescription } from './actions/versionDescription'; import { loadOptions } from './methods'; diff --git a/packages/nodes-base/nodes/Mattermost/v1/actions/channel/addUser/execute.ts b/packages/nodes-base/nodes/Mattermost/v1/actions/channel/addUser/execute.ts index 700bd8e0589ca..0dd9c33326b27 100644 --- a/packages/nodes-base/nodes/Mattermost/v1/actions/channel/addUser/execute.ts +++ b/packages/nodes-base/nodes/Mattermost/v1/actions/channel/addUser/execute.ts @@ -1,6 +1,4 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/Mattermost/v1/actions/channel/create/execute.ts b/packages/nodes-base/nodes/Mattermost/v1/actions/channel/create/execute.ts index 1713512827419..1b5743c83cc67 100644 --- a/packages/nodes-base/nodes/Mattermost/v1/actions/channel/create/execute.ts +++ b/packages/nodes-base/nodes/Mattermost/v1/actions/channel/create/execute.ts @@ -1,6 +1,4 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/Mattermost/v1/actions/channel/del/execute.ts b/packages/nodes-base/nodes/Mattermost/v1/actions/channel/del/execute.ts index 43187ef190681..b1d5fb0f30511 100644 --- a/packages/nodes-base/nodes/Mattermost/v1/actions/channel/del/execute.ts +++ b/packages/nodes-base/nodes/Mattermost/v1/actions/channel/del/execute.ts @@ -1,6 +1,4 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/Mattermost/v1/actions/channel/members/execute.ts b/packages/nodes-base/nodes/Mattermost/v1/actions/channel/members/execute.ts index a735f72e54918..6e04675f12e17 100644 --- a/packages/nodes-base/nodes/Mattermost/v1/actions/channel/members/execute.ts +++ b/packages/nodes-base/nodes/Mattermost/v1/actions/channel/members/execute.ts @@ -1,6 +1,4 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest, apiRequestAllItems } from '../../../transport'; diff --git a/packages/nodes-base/nodes/Mattermost/v1/actions/channel/restore/execute.ts b/packages/nodes-base/nodes/Mattermost/v1/actions/channel/restore/execute.ts index fed5e848fdb98..975c4955e283b 100644 --- a/packages/nodes-base/nodes/Mattermost/v1/actions/channel/restore/execute.ts +++ b/packages/nodes-base/nodes/Mattermost/v1/actions/channel/restore/execute.ts @@ -1,6 +1,4 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/Mattermost/v1/actions/channel/search/execute.ts b/packages/nodes-base/nodes/Mattermost/v1/actions/channel/search/execute.ts index 0945ea2547764..e8f19605ad742 100644 --- a/packages/nodes-base/nodes/Mattermost/v1/actions/channel/search/execute.ts +++ b/packages/nodes-base/nodes/Mattermost/v1/actions/channel/search/execute.ts @@ -1,6 +1,4 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/Mattermost/v1/actions/channel/statistics/execute.ts b/packages/nodes-base/nodes/Mattermost/v1/actions/channel/statistics/execute.ts index 5b48083a12e1d..b8713bcc20b65 100644 --- a/packages/nodes-base/nodes/Mattermost/v1/actions/channel/statistics/execute.ts +++ b/packages/nodes-base/nodes/Mattermost/v1/actions/channel/statistics/execute.ts @@ -1,6 +1,4 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/Mattermost/v1/actions/message/del/execute.ts b/packages/nodes-base/nodes/Mattermost/v1/actions/message/del/execute.ts index 8fe76503e38ad..27d10566a3864 100644 --- a/packages/nodes-base/nodes/Mattermost/v1/actions/message/del/execute.ts +++ b/packages/nodes-base/nodes/Mattermost/v1/actions/message/del/execute.ts @@ -1,6 +1,4 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/Mattermost/v1/actions/message/post/execute.ts b/packages/nodes-base/nodes/Mattermost/v1/actions/message/post/execute.ts index 163038f2286bc..38f3eb6797186 100644 --- a/packages/nodes-base/nodes/Mattermost/v1/actions/message/post/execute.ts +++ b/packages/nodes-base/nodes/Mattermost/v1/actions/message/post/execute.ts @@ -1,6 +1,4 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/Mattermost/v1/actions/message/postEphemeral/execute.ts b/packages/nodes-base/nodes/Mattermost/v1/actions/message/postEphemeral/execute.ts index 1595d4e708b7b..0df51a8d08057 100644 --- a/packages/nodes-base/nodes/Mattermost/v1/actions/message/postEphemeral/execute.ts +++ b/packages/nodes-base/nodes/Mattermost/v1/actions/message/postEphemeral/execute.ts @@ -1,6 +1,4 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/Mattermost/v1/actions/reaction/create/execute.ts b/packages/nodes-base/nodes/Mattermost/v1/actions/reaction/create/execute.ts index 6b3c3ae2ad29e..6e20a80383110 100644 --- a/packages/nodes-base/nodes/Mattermost/v1/actions/reaction/create/execute.ts +++ b/packages/nodes-base/nodes/Mattermost/v1/actions/reaction/create/execute.ts @@ -1,6 +1,4 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/Mattermost/v1/actions/reaction/del/execute.ts b/packages/nodes-base/nodes/Mattermost/v1/actions/reaction/del/execute.ts index 638c10c4c4f2f..60ed961f47565 100644 --- a/packages/nodes-base/nodes/Mattermost/v1/actions/reaction/del/execute.ts +++ b/packages/nodes-base/nodes/Mattermost/v1/actions/reaction/del/execute.ts @@ -1,6 +1,4 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/Mattermost/v1/actions/reaction/getAll/execute.ts b/packages/nodes-base/nodes/Mattermost/v1/actions/reaction/getAll/execute.ts index f0fddda9dfe5f..ae85f76b0e6ec 100644 --- a/packages/nodes-base/nodes/Mattermost/v1/actions/reaction/getAll/execute.ts +++ b/packages/nodes-base/nodes/Mattermost/v1/actions/reaction/getAll/execute.ts @@ -1,6 +1,4 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/Mattermost/v1/actions/router.ts b/packages/nodes-base/nodes/Mattermost/v1/actions/router.ts index 0813546689881..bd1af59af2ed4 100644 --- a/packages/nodes-base/nodes/Mattermost/v1/actions/router.ts +++ b/packages/nodes-base/nodes/Mattermost/v1/actions/router.ts @@ -1,6 +1,4 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow'; import * as channel from './channel'; import * as message from './message'; diff --git a/packages/nodes-base/nodes/Mattermost/v1/actions/user/create/execute.ts b/packages/nodes-base/nodes/Mattermost/v1/actions/user/create/execute.ts index d117fb34a2a8a..6f1023487faac 100644 --- a/packages/nodes-base/nodes/Mattermost/v1/actions/user/create/execute.ts +++ b/packages/nodes-base/nodes/Mattermost/v1/actions/user/create/execute.ts @@ -1,6 +1,4 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/Mattermost/v1/actions/user/deactive/execute.ts b/packages/nodes-base/nodes/Mattermost/v1/actions/user/deactive/execute.ts index 626a10ae67bf2..85eeee3b6f3e5 100644 --- a/packages/nodes-base/nodes/Mattermost/v1/actions/user/deactive/execute.ts +++ b/packages/nodes-base/nodes/Mattermost/v1/actions/user/deactive/execute.ts @@ -1,6 +1,4 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/Mattermost/v1/actions/user/getAll/execute.ts b/packages/nodes-base/nodes/Mattermost/v1/actions/user/getAll/execute.ts index dc83aaaa8317c..65c25d8da6e87 100644 --- a/packages/nodes-base/nodes/Mattermost/v1/actions/user/getAll/execute.ts +++ b/packages/nodes-base/nodes/Mattermost/v1/actions/user/getAll/execute.ts @@ -1,6 +1,4 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow'; import { NodeOperationError } from 'n8n-workflow'; import { apiRequest, apiRequestAllItems } from '../../../transport'; diff --git a/packages/nodes-base/nodes/Mattermost/v1/actions/user/getByEmail/execute.ts b/packages/nodes-base/nodes/Mattermost/v1/actions/user/getByEmail/execute.ts index b5f1f22a74f42..738625d4540cf 100644 --- a/packages/nodes-base/nodes/Mattermost/v1/actions/user/getByEmail/execute.ts +++ b/packages/nodes-base/nodes/Mattermost/v1/actions/user/getByEmail/execute.ts @@ -1,6 +1,4 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/Mattermost/v1/actions/user/getById/execute.ts b/packages/nodes-base/nodes/Mattermost/v1/actions/user/getById/execute.ts index 3bacfd7e4be99..187cc30624ff5 100644 --- a/packages/nodes-base/nodes/Mattermost/v1/actions/user/getById/execute.ts +++ b/packages/nodes-base/nodes/Mattermost/v1/actions/user/getById/execute.ts @@ -1,6 +1,4 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/Mattermost/v1/actions/user/invite/execute.ts b/packages/nodes-base/nodes/Mattermost/v1/actions/user/invite/execute.ts index 4bc861b511c94..24fc0cdf273d1 100644 --- a/packages/nodes-base/nodes/Mattermost/v1/actions/user/invite/execute.ts +++ b/packages/nodes-base/nodes/Mattermost/v1/actions/user/invite/execute.ts @@ -1,6 +1,4 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/Mattermost/v1/transport/index.ts b/packages/nodes-base/nodes/Mattermost/v1/transport/index.ts index b5f650da5ffc7..53433954a17a2 100644 --- a/packages/nodes-base/nodes/Mattermost/v1/transport/index.ts +++ b/packages/nodes-base/nodes/Mattermost/v1/transport/index.ts @@ -1,6 +1,7 @@ -import type { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, + IHookFunctions, + ILoadOptionsFunctions, GenericValue, IDataObject, IHttpRequestMethods, diff --git a/packages/nodes-base/nodes/Mautic/GenericFunctions.ts b/packages/nodes-base/nodes/Mautic/GenericFunctions.ts index 3afea8b3874b3..63add5325a8de 100644 --- a/packages/nodes-base/nodes/Mautic/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Mautic/GenericFunctions.ts @@ -1,11 +1,11 @@ import type { + IDataObject, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, -} from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; import type { OptionsWithUri } from 'request'; diff --git a/packages/nodes-base/nodes/Mautic/Mautic.node.ts b/packages/nodes-base/nodes/Mautic/Mautic.node.ts index 3db55530a7e78..2195c79a1b73f 100644 --- a/packages/nodes-base/nodes/Mautic/Mautic.node.ts +++ b/packages/nodes-base/nodes/Mautic/Mautic.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Mautic/MauticTrigger.node.ts b/packages/nodes-base/nodes/Mautic/MauticTrigger.node.ts index e9dace1619f56..15050bf87539d 100644 --- a/packages/nodes-base/nodes/Mautic/MauticTrigger.node.ts +++ b/packages/nodes-base/nodes/Mautic/MauticTrigger.node.ts @@ -1,8 +1,8 @@ import { parse as urlParse } from 'url'; -import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; - import type { + IHookFunctions, + IWebhookFunctions, IDataObject, ILoadOptionsFunctions, INodePropertyOptions, diff --git a/packages/nodes-base/nodes/Medium/GenericFunctions.ts b/packages/nodes-base/nodes/Medium/GenericFunctions.ts index 9fff315afc16c..5ac51fed315d2 100644 --- a/packages/nodes-base/nodes/Medium/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Medium/GenericFunctions.ts @@ -1,13 +1,13 @@ import type { OptionsWithUri } from 'request'; import type { + IDataObject, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, -} from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function mediumApiRequest( diff --git a/packages/nodes-base/nodes/Medium/Medium.node.ts b/packages/nodes-base/nodes/Medium/Medium.node.ts index a3443fee587a9..cbefa404199b3 100644 --- a/packages/nodes-base/nodes/Medium/Medium.node.ts +++ b/packages/nodes-base/nodes/Medium/Medium.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Merge/v1/MergeV1.node.ts b/packages/nodes-base/nodes/Merge/v1/MergeV1.node.ts index a809f2bf76652..1e928c6ce610e 100644 --- a/packages/nodes-base/nodes/Merge/v1/MergeV1.node.ts +++ b/packages/nodes-base/nodes/Merge/v1/MergeV1.node.ts @@ -1,9 +1,8 @@ /* eslint-disable n8n-nodes-base/node-filename-against-convention */ import get from 'lodash.get'; -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, GenericValue, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/Merge/v2/MergeV2.node.ts b/packages/nodes-base/nodes/Merge/v2/MergeV2.node.ts index 7ba84c4cb9973..5b8593bd9e590 100644 --- a/packages/nodes-base/nodes/Merge/v2/MergeV2.node.ts +++ b/packages/nodes-base/nodes/Merge/v2/MergeV2.node.ts @@ -1,9 +1,9 @@ /* eslint-disable n8n-nodes-base/node-filename-against-convention */ -import type { IExecuteFunctions } from 'n8n-core'; import merge from 'lodash.merge'; import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/MessageBird/GenericFunctions.ts b/packages/nodes-base/nodes/MessageBird/GenericFunctions.ts index f09bb3d9d6adc..8ad09e74bb173 100644 --- a/packages/nodes-base/nodes/MessageBird/GenericFunctions.ts +++ b/packages/nodes-base/nodes/MessageBird/GenericFunctions.ts @@ -1,8 +1,6 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, IHookFunctions } from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; +import type { IExecuteFunctions, IHookFunctions, IDataObject, JsonObject } from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; /** diff --git a/packages/nodes-base/nodes/MessageBird/MessageBird.node.ts b/packages/nodes-base/nodes/MessageBird/MessageBird.node.ts index aa3d131ad623e..b9245753f6035 100644 --- a/packages/nodes-base/nodes/MessageBird/MessageBird.node.ts +++ b/packages/nodes-base/nodes/MessageBird/MessageBird.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/Microsoft/Dynamics/GenericFunctions.ts b/packages/nodes-base/nodes/Microsoft/Dynamics/GenericFunctions.ts index cf1ad138a7353..dba23f3953f1a 100644 --- a/packages/nodes-base/nodes/Microsoft/Dynamics/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Microsoft/Dynamics/GenericFunctions.ts @@ -1,8 +1,14 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; - -import type { IDataObject, INodeProperties, INodePropertyOptions, JsonObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + IExecuteSingleFunctions, + ILoadOptionsFunctions, + IDataObject, + INodeProperties, + INodePropertyOptions, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function microsoftApiRequest( diff --git a/packages/nodes-base/nodes/Microsoft/Dynamics/MicrosoftDynamicsCrm.node.ts b/packages/nodes-base/nodes/Microsoft/Dynamics/MicrosoftDynamicsCrm.node.ts index 07a59c8a085c3..6df1d682dd9f2 100644 --- a/packages/nodes-base/nodes/Microsoft/Dynamics/MicrosoftDynamicsCrm.node.ts +++ b/packages/nodes-base/nodes/Microsoft/Dynamics/MicrosoftDynamicsCrm.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Microsoft/Excel/GenericFunctions.ts b/packages/nodes-base/nodes/Microsoft/Excel/GenericFunctions.ts index 707035b716a3f..f29ed80272cb8 100644 --- a/packages/nodes-base/nodes/Microsoft/Excel/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Microsoft/Excel/GenericFunctions.ts @@ -1,6 +1,11 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import type { IDataObject, JsonObject } from 'n8n-workflow'; +import type { + IDataObject, + IExecuteFunctions, + IExecuteSingleFunctions, + ILoadOptionsFunctions, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function microsoftApiRequest( diff --git a/packages/nodes-base/nodes/Microsoft/Excel/MicrosoftExcel.node.ts b/packages/nodes-base/nodes/Microsoft/Excel/MicrosoftExcel.node.ts index 99d624ec87117..951f445ccf32a 100644 --- a/packages/nodes-base/nodes/Microsoft/Excel/MicrosoftExcel.node.ts +++ b/packages/nodes-base/nodes/Microsoft/Excel/MicrosoftExcel.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Microsoft/GraphSecurity/GenericFunctions.ts b/packages/nodes-base/nodes/Microsoft/GraphSecurity/GenericFunctions.ts index b3efc2004cd5e..fd6b94a8668ac 100644 --- a/packages/nodes-base/nodes/Microsoft/GraphSecurity/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Microsoft/GraphSecurity/GenericFunctions.ts @@ -1,6 +1,4 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; +import type { IExecuteFunctions, IDataObject, JsonObject } from 'n8n-workflow'; import { NodeApiError, NodeOperationError } from 'n8n-workflow'; import type { OptionsWithUri } from 'request'; diff --git a/packages/nodes-base/nodes/Microsoft/GraphSecurity/MicrosoftGraphSecurity.node.ts b/packages/nodes-base/nodes/Microsoft/GraphSecurity/MicrosoftGraphSecurity.node.ts index c99cdb7e02972..e61ff38028049 100644 --- a/packages/nodes-base/nodes/Microsoft/GraphSecurity/MicrosoftGraphSecurity.node.ts +++ b/packages/nodes-base/nodes/Microsoft/GraphSecurity/MicrosoftGraphSecurity.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/Microsoft/OneDrive/GenericFunctions.ts b/packages/nodes-base/nodes/Microsoft/OneDrive/GenericFunctions.ts index 8844245db33a2..881cde156fea5 100644 --- a/packages/nodes-base/nodes/Microsoft/OneDrive/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Microsoft/OneDrive/GenericFunctions.ts @@ -1,8 +1,12 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + IExecuteSingleFunctions, + ILoadOptionsFunctions, + IDataObject, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function microsoftApiRequest( diff --git a/packages/nodes-base/nodes/Microsoft/Outlook/GenericFunctions.ts b/packages/nodes-base/nodes/Microsoft/Outlook/GenericFunctions.ts index 8389f8b6d32d1..2f76822be1f38 100644 --- a/packages/nodes-base/nodes/Microsoft/Outlook/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Microsoft/Outlook/GenericFunctions.ts @@ -1,10 +1,14 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { BINARY_ENCODING } from 'n8n-core'; - -import type { IDataObject, INodeExecutionData, JsonObject } from 'n8n-workflow'; -import { NodeApiError } from 'n8n-workflow'; +import type { + IDataObject, + IExecuteFunctions, + IExecuteSingleFunctions, + ILoadOptionsFunctions, + INodeExecutionData, + JsonObject, +} from 'n8n-workflow'; +import { BINARY_ENCODING, NodeApiError } from 'n8n-workflow'; export async function microsoftApiRequest( this: IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Microsoft/Sql/MicrosoftSql.node.ts b/packages/nodes-base/nodes/Microsoft/Sql/MicrosoftSql.node.ts index 0b57c0563236e..8c7c00dee2787 100644 --- a/packages/nodes-base/nodes/Microsoft/Sql/MicrosoftSql.node.ts +++ b/packages/nodes-base/nodes/Microsoft/Sql/MicrosoftSql.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, ICredentialDataDecryptedObject, ICredentialsDecrypted, ICredentialTestFunctions, diff --git a/packages/nodes-base/nodes/Microsoft/Teams/GenericFunctions.ts b/packages/nodes-base/nodes/Microsoft/Teams/GenericFunctions.ts index 79f692281b874..cb44f3465e453 100644 --- a/packages/nodes-base/nodes/Microsoft/Teams/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Microsoft/Teams/GenericFunctions.ts @@ -1,8 +1,12 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + IExecuteSingleFunctions, + ILoadOptionsFunctions, + IDataObject, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function microsoftApiRequest( diff --git a/packages/nodes-base/nodes/Microsoft/Teams/MicrosoftTeams.node.ts b/packages/nodes-base/nodes/Microsoft/Teams/MicrosoftTeams.node.ts index 18bcaf6fd372d..886071c2bc83d 100644 --- a/packages/nodes-base/nodes/Microsoft/Teams/MicrosoftTeams.node.ts +++ b/packages/nodes-base/nodes/Microsoft/Teams/MicrosoftTeams.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Microsoft/ToDo/GenericFunctions.ts b/packages/nodes-base/nodes/Microsoft/ToDo/GenericFunctions.ts index 940b626c1e3c8..a6fcff72637ea 100644 --- a/packages/nodes-base/nodes/Microsoft/ToDo/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Microsoft/ToDo/GenericFunctions.ts @@ -1,8 +1,11 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject, ILoadOptionsFunctions, JsonObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + IDataObject, + ILoadOptionsFunctions, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function microsoftApiRequest( diff --git a/packages/nodes-base/nodes/Microsoft/ToDo/MicrosoftToDo.node.ts b/packages/nodes-base/nodes/Microsoft/ToDo/MicrosoftToDo.node.ts index 256929753e53d..e4728f429beca 100644 --- a/packages/nodes-base/nodes/Microsoft/ToDo/MicrosoftToDo.node.ts +++ b/packages/nodes-base/nodes/Microsoft/ToDo/MicrosoftToDo.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Mindee/GenericFunctions.ts b/packages/nodes-base/nodes/Mindee/GenericFunctions.ts index f19d46c6b515d..1b69ff951bdd8 100644 --- a/packages/nodes-base/nodes/Mindee/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Mindee/GenericFunctions.ts @@ -1,8 +1,12 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + IExecuteSingleFunctions, + ILoadOptionsFunctions, + IDataObject, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function mindeeApiRequest( diff --git a/packages/nodes-base/nodes/Misp/GenericFunctions.ts b/packages/nodes-base/nodes/Misp/GenericFunctions.ts index 5c79b7f5a4190..0d798f3e0c647 100644 --- a/packages/nodes-base/nodes/Misp/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Misp/GenericFunctions.ts @@ -1,6 +1,9 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject, ILoadOptionsFunctions, JsonObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + IDataObject, + ILoadOptionsFunctions, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError, NodeOperationError } from 'n8n-workflow'; import type { OptionsWithUri } from 'request'; diff --git a/packages/nodes-base/nodes/Misp/Misp.node.ts b/packages/nodes-base/nodes/Misp/Misp.node.ts index 73f6a3cdcc780..3221508a291be 100644 --- a/packages/nodes-base/nodes/Misp/Misp.node.ts +++ b/packages/nodes-base/nodes/Misp/Misp.node.ts @@ -1,6 +1,6 @@ -import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, + ILoadOptionsFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/Mocean/GenericFunctions.ts b/packages/nodes-base/nodes/Mocean/GenericFunctions.ts index 7cfea02908eff..87868fc66006e 100644 --- a/packages/nodes-base/nodes/Mocean/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Mocean/GenericFunctions.ts @@ -1,6 +1,4 @@ -import type { IExecuteFunctions, IHookFunctions } from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; +import type { IExecuteFunctions, IHookFunctions, IDataObject, JsonObject } from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; /** diff --git a/packages/nodes-base/nodes/Mocean/Mocean.node.ts b/packages/nodes-base/nodes/Mocean/Mocean.node.ts index 0c0614423808e..e027da5054060 100644 --- a/packages/nodes-base/nodes/Mocean/Mocean.node.ts +++ b/packages/nodes-base/nodes/Mocean/Mocean.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, ICredentialsDecrypted, ICredentialTestFunctions, IDataObject, diff --git a/packages/nodes-base/nodes/MondayCom/GenericFunctions.ts b/packages/nodes-base/nodes/MondayCom/GenericFunctions.ts index 86ef8348fe5bf..2c7831fe6578a 100644 --- a/packages/nodes-base/nodes/MondayCom/GenericFunctions.ts +++ b/packages/nodes-base/nodes/MondayCom/GenericFunctions.ts @@ -1,8 +1,13 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; - -import type { IDataObject, IHookFunctions, IWebhookFunctions, JsonObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + ILoadOptionsFunctions, + IDataObject, + IHookFunctions, + IWebhookFunctions, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; import get from 'lodash.get'; diff --git a/packages/nodes-base/nodes/MondayCom/MondayCom.node.ts b/packages/nodes-base/nodes/MondayCom/MondayCom.node.ts index cd297ae78ce1d..8574b1ca973ce 100644 --- a/packages/nodes-base/nodes/MondayCom/MondayCom.node.ts +++ b/packages/nodes-base/nodes/MondayCom/MondayCom.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/MongoDb/GenericFunctions.ts b/packages/nodes-base/nodes/MongoDb/GenericFunctions.ts index 436df9b5ea3b6..ecf395b19766f 100644 --- a/packages/nodes-base/nodes/MongoDb/GenericFunctions.ts +++ b/packages/nodes-base/nodes/MongoDb/GenericFunctions.ts @@ -1,6 +1,9 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { ICredentialDataDecryptedObject, IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { + ICredentialDataDecryptedObject, + IDataObject, + IExecuteFunctions, + INodeExecutionData, +} from 'n8n-workflow'; import { NodeOperationError } from 'n8n-workflow'; import type { diff --git a/packages/nodes-base/nodes/MongoDb/MongoDb.node.ts b/packages/nodes-base/nodes/MongoDb/MongoDb.node.ts index 96d1e9f91109a..5bf7c723d2b7a 100644 --- a/packages/nodes-base/nodes/MongoDb/MongoDb.node.ts +++ b/packages/nodes-base/nodes/MongoDb/MongoDb.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, ICredentialsDecrypted, ICredentialTestFunctions, IDataObject, diff --git a/packages/nodes-base/nodes/MonicaCrm/GenericFunctions.ts b/packages/nodes-base/nodes/MonicaCrm/GenericFunctions.ts index 8693602db7a8f..fc788a917011a 100644 --- a/packages/nodes-base/nodes/MonicaCrm/GenericFunctions.ts +++ b/packages/nodes-base/nodes/MonicaCrm/GenericFunctions.ts @@ -1,6 +1,9 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject, ILoadOptionsFunctions, JsonObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + IDataObject, + ILoadOptionsFunctions, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError, NodeOperationError } from 'n8n-workflow'; import type { OptionsWithUri } from 'request'; diff --git a/packages/nodes-base/nodes/MonicaCrm/MonicaCrm.node.ts b/packages/nodes-base/nodes/MonicaCrm/MonicaCrm.node.ts index df5d5899d1ace..84cefdbd55982 100644 --- a/packages/nodes-base/nodes/MonicaCrm/MonicaCrm.node.ts +++ b/packages/nodes-base/nodes/MonicaCrm/MonicaCrm.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/MoveBinaryData/MoveBinaryData.node.ts b/packages/nodes-base/nodes/MoveBinaryData/MoveBinaryData.node.ts index eceb14fee7c62..9effb343727e6 100644 --- a/packages/nodes-base/nodes/MoveBinaryData/MoveBinaryData.node.ts +++ b/packages/nodes-base/nodes/MoveBinaryData/MoveBinaryData.node.ts @@ -3,10 +3,8 @@ import set from 'lodash.set'; import unset from 'lodash.unset'; import prettyBytes from 'pretty-bytes'; -import type { IExecuteFunctions } from 'n8n-core'; -import { BINARY_ENCODING } from 'n8n-core'; - import type { + IExecuteFunctions, IBinaryData, IDataObject, INodeExecutionData, @@ -14,7 +12,13 @@ import type { INodeType, INodeTypeDescription, } from 'n8n-workflow'; -import { deepCopy, jsonParse, NodeOperationError, fileTypeFromMimeType } from 'n8n-workflow'; +import { + BINARY_ENCODING, + deepCopy, + jsonParse, + NodeOperationError, + fileTypeFromMimeType, +} from 'n8n-workflow'; import iconv from 'iconv-lite'; iconv.encodingExists('utf8'); diff --git a/packages/nodes-base/nodes/Msg91/GenericFunctions.ts b/packages/nodes-base/nodes/Msg91/GenericFunctions.ts index f13a91da9f1cc..cabc018cf64e4 100644 --- a/packages/nodes-base/nodes/Msg91/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Msg91/GenericFunctions.ts @@ -1,6 +1,4 @@ -import type { IExecuteFunctions, IHookFunctions } from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; +import type { IExecuteFunctions, IHookFunctions, IDataObject, JsonObject } from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; /** diff --git a/packages/nodes-base/nodes/Msg91/Msg91.node.ts b/packages/nodes-base/nodes/Msg91/Msg91.node.ts index 7153b1915d80a..dd099e2f70f77 100644 --- a/packages/nodes-base/nodes/Msg91/Msg91.node.ts +++ b/packages/nodes-base/nodes/Msg91/Msg91.node.ts @@ -1,5 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/MySql/MySql.node.ts b/packages/nodes-base/nodes/MySql/MySql.node.ts index de4a90dff4950..3c3e68def8570 100644 --- a/packages/nodes-base/nodes/MySql/MySql.node.ts +++ b/packages/nodes-base/nodes/MySql/MySql.node.ts @@ -1,4 +1,5 @@ import type { + IExecuteFunctions, ICredentialDataDecryptedObject, ICredentialsDecrypted, ICredentialTestFunctions, @@ -13,7 +14,6 @@ import { NodeOperationError } from 'n8n-workflow'; import type mysql2 from 'mysql2/promise'; import { copyInputItems, createConnection, searchTables } from './GenericFunctions'; -import type { IExecuteFunctions } from 'n8n-core'; export class MySql implements INodeType { description: INodeTypeDescription = { diff --git a/packages/nodes-base/nodes/N8nTrainingCustomerDatastore/N8nTrainingCustomerDatastore.node.ts b/packages/nodes-base/nodes/N8nTrainingCustomerDatastore/N8nTrainingCustomerDatastore.node.ts index bb2cf787a7071..1318b0bafcc61 100644 --- a/packages/nodes-base/nodes/N8nTrainingCustomerDatastore/N8nTrainingCustomerDatastore.node.ts +++ b/packages/nodes-base/nodes/N8nTrainingCustomerDatastore/N8nTrainingCustomerDatastore.node.ts @@ -1,6 +1,9 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { + IExecuteFunctions, + INodeExecutionData, + INodeType, + INodeTypeDescription, +} from 'n8n-workflow'; const data = [ { diff --git a/packages/nodes-base/nodes/N8nTrainingCustomerMessenger/N8nTrainingCustomerMessenger.node.ts b/packages/nodes-base/nodes/N8nTrainingCustomerMessenger/N8nTrainingCustomerMessenger.node.ts index fc53cd38b9e86..bc3dda5c211ce 100644 --- a/packages/nodes-base/nodes/N8nTrainingCustomerMessenger/N8nTrainingCustomerMessenger.node.ts +++ b/packages/nodes-base/nodes/N8nTrainingCustomerMessenger/N8nTrainingCustomerMessenger.node.ts @@ -1,6 +1,9 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { + IExecuteFunctions, + INodeExecutionData, + INodeType, + INodeTypeDescription, +} from 'n8n-workflow'; export class N8nTrainingCustomerMessenger implements INodeType { description: INodeTypeDescription = { diff --git a/packages/nodes-base/nodes/N8nTrigger/N8nTrigger.node.ts b/packages/nodes-base/nodes/N8nTrigger/N8nTrigger.node.ts index b8a4cf115a8f4..758a22c9b6565 100644 --- a/packages/nodes-base/nodes/N8nTrigger/N8nTrigger.node.ts +++ b/packages/nodes-base/nodes/N8nTrigger/N8nTrigger.node.ts @@ -1,5 +1,9 @@ -import type { ITriggerFunctions } from 'n8n-core'; -import type { INodeType, INodeTypeDescription, ITriggerResponse } from 'n8n-workflow'; +import type { + ITriggerFunctions, + INodeType, + INodeTypeDescription, + ITriggerResponse, +} from 'n8n-workflow'; type eventType = 'Instance started' | undefined; diff --git a/packages/nodes-base/nodes/Nasa/GenericFunctions.ts b/packages/nodes-base/nodes/Nasa/GenericFunctions.ts index ee90e6065202e..c20cb3856d6e2 100644 --- a/packages/nodes-base/nodes/Nasa/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Nasa/GenericFunctions.ts @@ -1,8 +1,6 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, IHookFunctions } from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; +import type { IExecuteFunctions, IHookFunctions, IDataObject, JsonObject } from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function nasaApiRequest( diff --git a/packages/nodes-base/nodes/Nasa/Nasa.node.ts b/packages/nodes-base/nodes/Nasa/Nasa.node.ts index 4f9a01a685274..373276dd8af8e 100644 --- a/packages/nodes-base/nodes/Nasa/Nasa.node.ts +++ b/packages/nodes-base/nodes/Nasa/Nasa.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/Netlify/GenericFunctions.ts b/packages/nodes-base/nodes/Netlify/GenericFunctions.ts index 580b68d6885ac..21bdd9241118e 100644 --- a/packages/nodes-base/nodes/Netlify/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Netlify/GenericFunctions.ts @@ -1,13 +1,13 @@ import type { OptionsWithUri } from 'request'; import type { + IDataObject, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, -} from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function netlifyApiRequest( diff --git a/packages/nodes-base/nodes/Netlify/Netlify.node.ts b/packages/nodes-base/nodes/Netlify/Netlify.node.ts index 6f48029e6473b..e9bed05212f09 100644 --- a/packages/nodes-base/nodes/Netlify/Netlify.node.ts +++ b/packages/nodes-base/nodes/Netlify/Netlify.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Netlify/NetlifyTrigger.node.ts b/packages/nodes-base/nodes/Netlify/NetlifyTrigger.node.ts index af54927fa9e9b..5a00a7f5baf15 100644 --- a/packages/nodes-base/nodes/Netlify/NetlifyTrigger.node.ts +++ b/packages/nodes-base/nodes/Netlify/NetlifyTrigger.node.ts @@ -1,6 +1,6 @@ -import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; - import type { + IHookFunctions, + IWebhookFunctions, IDataObject, ILoadOptionsFunctions, INodePropertyOptions, diff --git a/packages/nodes-base/nodes/NextCloud/GenericFunctions.ts b/packages/nodes-base/nodes/NextCloud/GenericFunctions.ts index 74cf4eb645957..e1ba3be8f8d7e 100644 --- a/packages/nodes-base/nodes/NextCloud/GenericFunctions.ts +++ b/packages/nodes-base/nodes/NextCloud/GenericFunctions.ts @@ -1,4 +1,4 @@ -import type { IExecuteFunctions, IHookFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IHookFunctions } from 'n8n-workflow'; import type { OptionsWithUri } from 'request'; diff --git a/packages/nodes-base/nodes/NoOp/NoOp.node.ts b/packages/nodes-base/nodes/NoOp/NoOp.node.ts index 44531a293fb3d..8a8321ae18302 100644 --- a/packages/nodes-base/nodes/NoOp/NoOp.node.ts +++ b/packages/nodes-base/nodes/NoOp/NoOp.node.ts @@ -1,5 +1,9 @@ -import type { IExecuteFunctions } from 'n8n-core'; -import type { INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { + IExecuteFunctions, + INodeExecutionData, + INodeType, + INodeTypeDescription, +} from 'n8n-workflow'; export class NoOp implements INodeType { description: INodeTypeDescription = { diff --git a/packages/nodes-base/nodes/NocoDB/GenericFunctions.ts b/packages/nodes-base/nodes/NocoDB/GenericFunctions.ts index 53bdf653ca65a..2bc682124461a 100644 --- a/packages/nodes-base/nodes/NocoDB/GenericFunctions.ts +++ b/packages/nodes-base/nodes/NocoDB/GenericFunctions.ts @@ -1,8 +1,14 @@ -import type { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions } from 'n8n-core'; - import type { OptionsWithUri } from 'request'; -import type { IBinaryKeyData, IDataObject, INodeExecutionData, IPollFunctions } from 'n8n-workflow'; +import type { + IBinaryKeyData, + IDataObject, + IExecuteFunctions, + IHookFunctions, + ILoadOptionsFunctions, + INodeExecutionData, + IPollFunctions, +} from 'n8n-workflow'; import { jsonParse, NodeOperationError } from 'n8n-workflow'; interface IAttachment { diff --git a/packages/nodes-base/nodes/Notion/GenericFunctions.ts b/packages/nodes-base/nodes/Notion/GenericFunctions.ts index 08fbc3cd1fcf9..6f7f89b457685 100644 --- a/packages/nodes-base/nodes/Notion/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Notion/GenericFunctions.ts @@ -1,16 +1,13 @@ import type { OptionsWithUri } from 'request'; import type { + IBinaryKeyData, + IDataObject, + IDisplayOptions, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, -} from 'n8n-core'; - -import type { - IBinaryKeyData, - IDataObject, - IDisplayOptions, INodeExecutionData, INodeProperties, IPollFunctions, diff --git a/packages/nodes-base/nodes/Notion/NotionTrigger.node.ts b/packages/nodes-base/nodes/Notion/NotionTrigger.node.ts index 7fe53f7f286a3..d453e88ea49b6 100644 --- a/packages/nodes-base/nodes/Notion/NotionTrigger.node.ts +++ b/packages/nodes-base/nodes/Notion/NotionTrigger.node.ts @@ -1,6 +1,5 @@ -import type { IPollFunctions } from 'n8n-core'; - import type { + IPollFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/Notion/v1/NotionV1.node.ts b/packages/nodes-base/nodes/Notion/v1/NotionV1.node.ts index a52e16b35c720..45d2f0e36cfd1 100644 --- a/packages/nodes-base/nodes/Notion/v1/NotionV1.node.ts +++ b/packages/nodes-base/nodes/Notion/v1/NotionV1.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Notion/v2/NotionV2.node.ts b/packages/nodes-base/nodes/Notion/v2/NotionV2.node.ts index ac897f15c1cd2..6565175fd66cf 100644 --- a/packages/nodes-base/nodes/Notion/v2/NotionV2.node.ts +++ b/packages/nodes-base/nodes/Notion/v2/NotionV2.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Odoo/GenericFunctions.ts b/packages/nodes-base/nodes/Odoo/GenericFunctions.ts index 08fb3ab67a011..573642ff3e822 100644 --- a/packages/nodes-base/nodes/Odoo/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Odoo/GenericFunctions.ts @@ -1,13 +1,13 @@ import type { OptionsWithUri } from 'request'; import type { + IDataObject, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, -} from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; const serviceJSONRPC = 'object'; diff --git a/packages/nodes-base/nodes/Odoo/Odoo.node.ts b/packages/nodes-base/nodes/Odoo/Odoo.node.ts index 4425f32b8a5f6..35ce0fa5aefcf 100644 --- a/packages/nodes-base/nodes/Odoo/Odoo.node.ts +++ b/packages/nodes-base/nodes/Odoo/Odoo.node.ts @@ -1,7 +1,7 @@ -import type { IExecuteFunctions } from 'n8n-core'; import type { OptionsWithUri } from 'request'; import type { + IExecuteFunctions, ICredentialsDecrypted, ICredentialTestFunctions, IDataObject, diff --git a/packages/nodes-base/nodes/OneSimpleApi/GenericFunctions.ts b/packages/nodes-base/nodes/OneSimpleApi/GenericFunctions.ts index b7e89bb44a706..b4c0ed746f127 100644 --- a/packages/nodes-base/nodes/OneSimpleApi/GenericFunctions.ts +++ b/packages/nodes-base/nodes/OneSimpleApi/GenericFunctions.ts @@ -1,8 +1,6 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; +import type { IExecuteFunctions, IDataObject, JsonObject } from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function oneSimpleApiRequest( diff --git a/packages/nodes-base/nodes/OneSimpleApi/OneSimpleApi.node.ts b/packages/nodes-base/nodes/OneSimpleApi/OneSimpleApi.node.ts index 8bd650526b16b..7f133b4c0513c 100644 --- a/packages/nodes-base/nodes/OneSimpleApi/OneSimpleApi.node.ts +++ b/packages/nodes-base/nodes/OneSimpleApi/OneSimpleApi.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/Onfleet/Onfleet.node.ts b/packages/nodes-base/nodes/Onfleet/Onfleet.node.ts index 2e8af446e22de..494879723bcfb 100644 --- a/packages/nodes-base/nodes/Onfleet/Onfleet.node.ts +++ b/packages/nodes-base/nodes/Onfleet/Onfleet.node.ts @@ -1,4 +1,5 @@ import type { + IExecuteFunctions, ICredentialsDecrypted, ICredentialTestFunctions, IDataObject, @@ -10,8 +11,6 @@ import type { import { taskFields, taskOperations } from './descriptions/TaskDescription'; -import type { IExecuteFunctions } from 'n8n-core'; - import { destinationFields, destinationOperations } from './descriptions/DestinationDescription'; import { resourceLoaders } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Onfleet/OnfleetTrigger.node.ts b/packages/nodes-base/nodes/Onfleet/OnfleetTrigger.node.ts index ed4fb7b032705..3735a852df231 100644 --- a/packages/nodes-base/nodes/Onfleet/OnfleetTrigger.node.ts +++ b/packages/nodes-base/nodes/Onfleet/OnfleetTrigger.node.ts @@ -1,4 +1,6 @@ import type { + IHookFunctions, + IWebhookFunctions, IDataObject, INodeType, INodeTypeDescription, @@ -6,7 +8,6 @@ import type { JsonObject, } from 'n8n-workflow'; import { NodeApiError, NodeOperationError } from 'n8n-workflow'; -import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; import { eventDisplay, eventNameField } from './descriptions/OnfleetWebhookDescription'; diff --git a/packages/nodes-base/nodes/OpenThesaurus/GenericFunctions.ts b/packages/nodes-base/nodes/OpenThesaurus/GenericFunctions.ts index 52e51d52d2e54..38a5f39bc1e1e 100644 --- a/packages/nodes-base/nodes/OpenThesaurus/GenericFunctions.ts +++ b/packages/nodes-base/nodes/OpenThesaurus/GenericFunctions.ts @@ -1,13 +1,13 @@ import type { OptionsWithUri } from 'request'; import type { + IDataObject, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, -} from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function openThesaurusApiRequest( diff --git a/packages/nodes-base/nodes/OpenThesaurus/OpenThesaurus.node.ts b/packages/nodes-base/nodes/OpenThesaurus/OpenThesaurus.node.ts index c46b247206402..aab2b8577d300 100644 --- a/packages/nodes-base/nodes/OpenThesaurus/OpenThesaurus.node.ts +++ b/packages/nodes-base/nodes/OpenThesaurus/OpenThesaurus.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/OpenWeatherMap/OpenWeatherMap.node.ts b/packages/nodes-base/nodes/OpenWeatherMap/OpenWeatherMap.node.ts index 6497cd8b1e8a8..04fcb306707ee 100644 --- a/packages/nodes-base/nodes/OpenWeatherMap/OpenWeatherMap.node.ts +++ b/packages/nodes-base/nodes/OpenWeatherMap/OpenWeatherMap.node.ts @@ -1,5 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/Orbit/GenericFunctions.ts b/packages/nodes-base/nodes/Orbit/GenericFunctions.ts index 4e7fd71a86a17..86ff031d2a29a 100644 --- a/packages/nodes-base/nodes/Orbit/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Orbit/GenericFunctions.ts @@ -1,13 +1,13 @@ import type { OptionsWithUri } from 'request'; import type { + JsonObject, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, -} from 'n8n-core'; - -import type { JsonObject, IDataObject } from 'n8n-workflow'; + IDataObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; import type { IRelation } from './Interfaces'; diff --git a/packages/nodes-base/nodes/Orbit/Orbit.node.ts b/packages/nodes-base/nodes/Orbit/Orbit.node.ts index 87244f60b0941..6c6c0a0e74689 100644 --- a/packages/nodes-base/nodes/Orbit/Orbit.node.ts +++ b/packages/nodes-base/nodes/Orbit/Orbit.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Oura/GenericFunctions.ts b/packages/nodes-base/nodes/Oura/GenericFunctions.ts index e4205c299c740..a520f7f1446f1 100644 --- a/packages/nodes-base/nodes/Oura/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Oura/GenericFunctions.ts @@ -1,13 +1,13 @@ import type { OptionsWithUri } from 'request'; import type { + IDataObject, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, -} from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function ouraApiRequest( diff --git a/packages/nodes-base/nodes/Oura/Oura.node.ts b/packages/nodes-base/nodes/Oura/Oura.node.ts index 182410146528c..d7cc845ec4650 100644 --- a/packages/nodes-base/nodes/Oura/Oura.node.ts +++ b/packages/nodes-base/nodes/Oura/Oura.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/Paddle/GenericFunctions.ts b/packages/nodes-base/nodes/Paddle/GenericFunctions.ts index 2943d59994a8e..457028faead92 100644 --- a/packages/nodes-base/nodes/Paddle/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Paddle/GenericFunctions.ts @@ -1,14 +1,14 @@ import type { OptionsWithUri } from 'request'; import type { + JsonObject, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, IWebhookFunctions, -} from 'n8n-core'; - -import type { JsonObject, IDataObject } from 'n8n-workflow'; + IDataObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function paddleApiRequest( diff --git a/packages/nodes-base/nodes/Paddle/Paddle.node.ts b/packages/nodes-base/nodes/Paddle/Paddle.node.ts index be4cfbc7d2ae5..a6951cb244038 100644 --- a/packages/nodes-base/nodes/Paddle/Paddle.node.ts +++ b/packages/nodes-base/nodes/Paddle/Paddle.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/PagerDuty/GenericFunctions.ts b/packages/nodes-base/nodes/PagerDuty/GenericFunctions.ts index 80540ffa548cd..52837e07ec19d 100644 --- a/packages/nodes-base/nodes/PagerDuty/GenericFunctions.ts +++ b/packages/nodes-base/nodes/PagerDuty/GenericFunctions.ts @@ -1,8 +1,13 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; - -import type { JsonObject, IDataObject, IHookFunctions, IWebhookFunctions } from 'n8n-workflow'; +import type { + JsonObject, + IDataObject, + IExecuteFunctions, + ILoadOptionsFunctions, + IHookFunctions, + IWebhookFunctions, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; import { snakeCase } from 'change-case'; diff --git a/packages/nodes-base/nodes/PagerDuty/PagerDuty.node.ts b/packages/nodes-base/nodes/PagerDuty/PagerDuty.node.ts index 58f123a5cec6f..55a8c222e95ba 100644 --- a/packages/nodes-base/nodes/PagerDuty/PagerDuty.node.ts +++ b/packages/nodes-base/nodes/PagerDuty/PagerDuty.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/PayPal/GenericFunctions.ts b/packages/nodes-base/nodes/PayPal/GenericFunctions.ts index f2d8298eb2a1c..6d64e29d18ea2 100644 --- a/packages/nodes-base/nodes/PayPal/GenericFunctions.ts +++ b/packages/nodes-base/nodes/PayPal/GenericFunctions.ts @@ -1,16 +1,15 @@ import type { OptionsWithUri } from 'request'; import type { + JsonObject, + IDataObject, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, IWebhookFunctions, -} from 'n8n-core'; -import { BINARY_ENCODING } from 'n8n-core'; - -import type { JsonObject, IDataObject } from 'n8n-workflow'; -import { NodeApiError, NodeOperationError } from 'n8n-workflow'; +} from 'n8n-workflow'; +import { BINARY_ENCODING, NodeApiError, NodeOperationError } from 'n8n-workflow'; function getEnvironment(env: string) { return { diff --git a/packages/nodes-base/nodes/PayPal/PayPal.node.ts b/packages/nodes-base/nodes/PayPal/PayPal.node.ts index a65d475175987..856ab8822b045 100644 --- a/packages/nodes-base/nodes/PayPal/PayPal.node.ts +++ b/packages/nodes-base/nodes/PayPal/PayPal.node.ts @@ -1,6 +1,6 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions } from 'n8n-core'; import type { + IExecuteFunctions, ICredentialsDecrypted, ICredentialTestFunctions, IDataObject, diff --git a/packages/nodes-base/nodes/PayPal/PayPalTrigger.node.ts b/packages/nodes-base/nodes/PayPal/PayPalTrigger.node.ts index e1bd0735c4830..0cbd3519b14eb 100644 --- a/packages/nodes-base/nodes/PayPal/PayPalTrigger.node.ts +++ b/packages/nodes-base/nodes/PayPal/PayPalTrigger.node.ts @@ -1,6 +1,6 @@ -import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; - import type { + IHookFunctions, + IWebhookFunctions, IDataObject, ILoadOptionsFunctions, INodePropertyOptions, diff --git a/packages/nodes-base/nodes/Peekalink/GenericFunctions.ts b/packages/nodes-base/nodes/Peekalink/GenericFunctions.ts index bde7d1fd324a6..b288aa77f2f07 100644 --- a/packages/nodes-base/nodes/Peekalink/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Peekalink/GenericFunctions.ts @@ -1,13 +1,13 @@ import type { OptionsWithUri } from 'request'; import type { + JsonObject, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, -} from 'n8n-core'; - -import type { JsonObject, IDataObject } from 'n8n-workflow'; + IDataObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function peekalinkApiRequest( diff --git a/packages/nodes-base/nodes/Peekalink/Peekalink.node.ts b/packages/nodes-base/nodes/Peekalink/Peekalink.node.ts index b41e318fd9ec8..920564fb5a404 100644 --- a/packages/nodes-base/nodes/Peekalink/Peekalink.node.ts +++ b/packages/nodes-base/nodes/Peekalink/Peekalink.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/Phantombuster/GenericFunctions.ts b/packages/nodes-base/nodes/Phantombuster/GenericFunctions.ts index add08a50b15b8..904cd1114e7f9 100644 --- a/packages/nodes-base/nodes/Phantombuster/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Phantombuster/GenericFunctions.ts @@ -1,8 +1,12 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; - -import type { JsonObject, IDataObject } from 'n8n-workflow'; +import type { + JsonObject, + IDataObject, + IExecuteFunctions, + IExecuteSingleFunctions, + ILoadOptionsFunctions, +} from 'n8n-workflow'; import { NodeApiError, NodeOperationError } from 'n8n-workflow'; export async function phantombusterApiRequest( diff --git a/packages/nodes-base/nodes/Phantombuster/Phantombuster.node.ts b/packages/nodes-base/nodes/Phantombuster/Phantombuster.node.ts index 1be88c0bb3683..23827052ad4d8 100644 --- a/packages/nodes-base/nodes/Phantombuster/Phantombuster.node.ts +++ b/packages/nodes-base/nodes/Phantombuster/Phantombuster.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/PhilipsHue/GenericFunctions.ts b/packages/nodes-base/nodes/PhilipsHue/GenericFunctions.ts index 2058b6e199e74..77953f45e4177 100644 --- a/packages/nodes-base/nodes/PhilipsHue/GenericFunctions.ts +++ b/packages/nodes-base/nodes/PhilipsHue/GenericFunctions.ts @@ -1,8 +1,11 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; - -import type { JsonObject, IDataObject } from 'n8n-workflow'; +import type { + JsonObject, + IDataObject, + IExecuteFunctions, + ILoadOptionsFunctions, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function philipsHueApiRequest( diff --git a/packages/nodes-base/nodes/PhilipsHue/PhilipsHue.node.ts b/packages/nodes-base/nodes/PhilipsHue/PhilipsHue.node.ts index 2564309de0f7b..677725a3fc930 100644 --- a/packages/nodes-base/nodes/PhilipsHue/PhilipsHue.node.ts +++ b/packages/nodes-base/nodes/PhilipsHue/PhilipsHue.node.ts @@ -1,7 +1,6 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { IDataObject, + IExecuteFunctions, ILoadOptionsFunctions, INodeExecutionData, INodePropertyOptions, diff --git a/packages/nodes-base/nodes/Pipedrive/GenericFunctions.ts b/packages/nodes-base/nodes/Pipedrive/GenericFunctions.ts index e4aab75c20197..86bfc264ba11f 100644 --- a/packages/nodes-base/nodes/Pipedrive/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Pipedrive/GenericFunctions.ts @@ -1,6 +1,11 @@ -import type { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions } from 'n8n-core'; - -import type { JsonObject, IDataObject, INodePropertyOptions } from 'n8n-workflow'; +import type { + JsonObject, + IDataObject, + IExecuteFunctions, + IHookFunctions, + ILoadOptionsFunctions, + INodePropertyOptions, +} from 'n8n-workflow'; import { NodeApiError, NodeOperationError } from 'n8n-workflow'; import type { OptionsWithUri } from 'request'; diff --git a/packages/nodes-base/nodes/Pipedrive/PipedriveTrigger.node.ts b/packages/nodes-base/nodes/Pipedrive/PipedriveTrigger.node.ts index 3e74a7373973b..60c0c2f316675 100644 --- a/packages/nodes-base/nodes/Pipedrive/PipedriveTrigger.node.ts +++ b/packages/nodes-base/nodes/Pipedrive/PipedriveTrigger.node.ts @@ -1,6 +1,6 @@ -import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; - import type { + IHookFunctions, + IWebhookFunctions, ICredentialDataDecryptedObject, IDataObject, INodeType, diff --git a/packages/nodes-base/nodes/Plivo/GenericFunctions.ts b/packages/nodes-base/nodes/Plivo/GenericFunctions.ts index c6f57e17b6219..f308f6be47877 100644 --- a/packages/nodes-base/nodes/Plivo/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Plivo/GenericFunctions.ts @@ -1,6 +1,4 @@ -import type { IExecuteFunctions, IHookFunctions } from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; +import type { IExecuteFunctions, IHookFunctions, IDataObject, JsonObject } from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; import type { OptionsWithUri } from 'request'; diff --git a/packages/nodes-base/nodes/Plivo/Plivo.node.ts b/packages/nodes-base/nodes/Plivo/Plivo.node.ts index 1099b6942e563..bc3f5b674ab4f 100644 --- a/packages/nodes-base/nodes/Plivo/Plivo.node.ts +++ b/packages/nodes-base/nodes/Plivo/Plivo.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/PostHog/GenericFunctions.ts b/packages/nodes-base/nodes/PostHog/GenericFunctions.ts index 871b00ef4c538..0ef0201ae6cfa 100644 --- a/packages/nodes-base/nodes/PostHog/GenericFunctions.ts +++ b/packages/nodes-base/nodes/PostHog/GenericFunctions.ts @@ -1,8 +1,11 @@ import type { OptionsWithUrl } from 'request'; -import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + ILoadOptionsFunctions, + IDataObject, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function posthogApiRequest( diff --git a/packages/nodes-base/nodes/PostHog/PostHog.node.ts b/packages/nodes-base/nodes/PostHog/PostHog.node.ts index f16b6721d820d..c05cd71917b94 100644 --- a/packages/nodes-base/nodes/PostHog/PostHog.node.ts +++ b/packages/nodes-base/nodes/PostHog/PostHog.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/Postgres/Postgres.node.functions.ts b/packages/nodes-base/nodes/Postgres/Postgres.node.functions.ts index a13c45759a40c..df0331ddc7521 100644 --- a/packages/nodes-base/nodes/Postgres/Postgres.node.functions.ts +++ b/packages/nodes-base/nodes/Postgres/Postgres.node.functions.ts @@ -1,5 +1,4 @@ -import type { IExecuteFunctions } from 'n8n-core'; -import type { IDataObject, INodeExecutionData, JsonObject } from 'n8n-workflow'; +import type { IExecuteFunctions, IDataObject, INodeExecutionData, JsonObject } from 'n8n-workflow'; import type pgPromise from 'pg-promise'; import type pg from 'pg-promise/typescript/pg-subset'; diff --git a/packages/nodes-base/nodes/Postgres/Postgres.node.ts b/packages/nodes-base/nodes/Postgres/Postgres.node.ts index 2fe841c2d7ab6..ed1ca9171bc5e 100644 --- a/packages/nodes-base/nodes/Postgres/Postgres.node.ts +++ b/packages/nodes-base/nodes/Postgres/Postgres.node.ts @@ -1,5 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; import type { + IExecuteFunctions, ICredentialsDecrypted, ICredentialTestFunctions, IDataObject, diff --git a/packages/nodes-base/nodes/Postmark/GenericFunctions.ts b/packages/nodes-base/nodes/Postmark/GenericFunctions.ts index 3aa05b8d1d73e..fd38598233731 100644 --- a/packages/nodes-base/nodes/Postmark/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Postmark/GenericFunctions.ts @@ -1,8 +1,13 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; - -import type { IDataObject, IHookFunctions, IWebhookFunctions, JsonObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + ILoadOptionsFunctions, + IDataObject, + IHookFunctions, + IWebhookFunctions, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function postmarkApiRequest( diff --git a/packages/nodes-base/nodes/Postmark/PostmarkTrigger.node.ts b/packages/nodes-base/nodes/Postmark/PostmarkTrigger.node.ts index 73154582aea75..54252a6cc531b 100644 --- a/packages/nodes-base/nodes/Postmark/PostmarkTrigger.node.ts +++ b/packages/nodes-base/nodes/Postmark/PostmarkTrigger.node.ts @@ -1,7 +1,7 @@ -import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; - import type { IDataObject, + IHookFunctions, + IWebhookFunctions, INodeType, INodeTypeDescription, IWebhookResponseData, diff --git a/packages/nodes-base/nodes/ProfitWell/GenericFunctions.ts b/packages/nodes-base/nodes/ProfitWell/GenericFunctions.ts index 8edc2dc44b05a..da3bcb1e97ed5 100644 --- a/packages/nodes-base/nodes/ProfitWell/GenericFunctions.ts +++ b/packages/nodes-base/nodes/ProfitWell/GenericFunctions.ts @@ -1,13 +1,13 @@ import type { OptionsWithUri } from 'request'; import type { + IDataObject, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, -} from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function profitWellApiRequest( diff --git a/packages/nodes-base/nodes/ProfitWell/ProfitWell.node.ts b/packages/nodes-base/nodes/ProfitWell/ProfitWell.node.ts index a70976f772e41..d5a834024c215 100644 --- a/packages/nodes-base/nodes/ProfitWell/ProfitWell.node.ts +++ b/packages/nodes-base/nodes/ProfitWell/ProfitWell.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Pushbullet/GenericFunctions.ts b/packages/nodes-base/nodes/Pushbullet/GenericFunctions.ts index 6b4ace5ac9b94..003e58d981eaf 100644 --- a/packages/nodes-base/nodes/Pushbullet/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Pushbullet/GenericFunctions.ts @@ -1,8 +1,11 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + ILoadOptionsFunctions, + IDataObject, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function pushbulletApiRequest( diff --git a/packages/nodes-base/nodes/Pushcut/GenericFunctions.ts b/packages/nodes-base/nodes/Pushcut/GenericFunctions.ts index 0a8117dca6121..7b1c8c4ec3cd2 100644 --- a/packages/nodes-base/nodes/Pushcut/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Pushcut/GenericFunctions.ts @@ -1,8 +1,12 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; - -import type { IDataObject, IHookFunctions, JsonObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + ILoadOptionsFunctions, + IDataObject, + IHookFunctions, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function pushcutApiRequest( diff --git a/packages/nodes-base/nodes/Pushcut/Pushcut.node.ts b/packages/nodes-base/nodes/Pushcut/Pushcut.node.ts index 28bfc83cfe998..9b0832d209757 100644 --- a/packages/nodes-base/nodes/Pushcut/Pushcut.node.ts +++ b/packages/nodes-base/nodes/Pushcut/Pushcut.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Pushcut/PushcutTrigger.node.ts b/packages/nodes-base/nodes/Pushcut/PushcutTrigger.node.ts index 72b2c1a853bdc..e40171c7a3917 100644 --- a/packages/nodes-base/nodes/Pushcut/PushcutTrigger.node.ts +++ b/packages/nodes-base/nodes/Pushcut/PushcutTrigger.node.ts @@ -1,6 +1,10 @@ -import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; - -import type { INodeType, INodeTypeDescription, IWebhookResponseData } from 'n8n-workflow'; +import type { + IHookFunctions, + IWebhookFunctions, + INodeType, + INodeTypeDescription, + IWebhookResponseData, +} from 'n8n-workflow'; import { pushcutApiRequest } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Pushover/GenericFunctions.ts b/packages/nodes-base/nodes/Pushover/GenericFunctions.ts index 03b185f7903f9..f5333705ada2e 100644 --- a/packages/nodes-base/nodes/Pushover/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Pushover/GenericFunctions.ts @@ -1,7 +1,8 @@ -import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; - import type { IDataObject, + IExecuteFunctions, + IExecuteSingleFunctions, + ILoadOptionsFunctions, IHttpRequestMethods, IHttpRequestOptions, JsonObject, diff --git a/packages/nodes-base/nodes/QuestDb/QuestDb.node.ts b/packages/nodes-base/nodes/QuestDb/QuestDb.node.ts index 64efce4b499ad..b21699c7252d0 100644 --- a/packages/nodes-base/nodes/QuestDb/QuestDb.node.ts +++ b/packages/nodes-base/nodes/QuestDb/QuestDb.node.ts @@ -1,5 +1,9 @@ -import type { IExecuteFunctions } from 'n8n-core'; -import type { INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { + IExecuteFunctions, + INodeExecutionData, + INodeType, + INodeTypeDescription, +} from 'n8n-workflow'; import { NodeOperationError } from 'n8n-workflow'; import pgPromise from 'pg-promise'; diff --git a/packages/nodes-base/nodes/QuickBase/GenericFunctions.ts b/packages/nodes-base/nodes/QuickBase/GenericFunctions.ts index 448d762c36ec9..e9d9278de0b58 100644 --- a/packages/nodes-base/nodes/QuickBase/GenericFunctions.ts +++ b/packages/nodes-base/nodes/QuickBase/GenericFunctions.ts @@ -1,13 +1,13 @@ import type { OptionsWithUri } from 'request'; import type { + IDataObject, IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions, IWebhookFunctions, -} from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; + JsonObject, +} from 'n8n-workflow'; import { NodeApiError, NodeOperationError } from 'n8n-workflow'; export async function quickbaseApiRequest( diff --git a/packages/nodes-base/nodes/QuickBase/QuickBase.node.ts b/packages/nodes-base/nodes/QuickBase/QuickBase.node.ts index d24241e69376d..04ef96327c5d8 100644 --- a/packages/nodes-base/nodes/QuickBase/QuickBase.node.ts +++ b/packages/nodes-base/nodes/QuickBase/QuickBase.node.ts @@ -1,7 +1,6 @@ /* eslint-disable n8n-nodes-base/node-filename-against-convention */ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/QuickBooks/GenericFunctions.ts b/packages/nodes-base/nodes/QuickBooks/GenericFunctions.ts index 6cdce056418dd..85a39bdafd408 100644 --- a/packages/nodes-base/nodes/QuickBooks/GenericFunctions.ts +++ b/packages/nodes-base/nodes/QuickBooks/GenericFunctions.ts @@ -1,7 +1,7 @@ -import type { IExecuteFunctions, IHookFunctions } from 'n8n-core'; - import type { IDataObject, + IExecuteFunctions, + IHookFunctions, ILoadOptionsFunctions, INodeExecutionData, INodePropertyOptions, diff --git a/packages/nodes-base/nodes/QuickBooks/QuickBooks.node.ts b/packages/nodes-base/nodes/QuickBooks/QuickBooks.node.ts index 71adde2bafe65..373ed80f59bef 100644 --- a/packages/nodes-base/nodes/QuickBooks/QuickBooks.node.ts +++ b/packages/nodes-base/nodes/QuickBooks/QuickBooks.node.ts @@ -1,7 +1,6 @@ /* eslint-disable n8n-nodes-base/node-filename-against-convention */ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/RabbitMQ/RabbitMQ.node.ts b/packages/nodes-base/nodes/RabbitMQ/RabbitMQ.node.ts index b4956b86e0ab7..b2e47208eff6f 100644 --- a/packages/nodes-base/nodes/RabbitMQ/RabbitMQ.node.ts +++ b/packages/nodes-base/nodes/RabbitMQ/RabbitMQ.node.ts @@ -1,7 +1,7 @@ /* eslint-disable n8n-nodes-base/node-filename-against-convention */ -import type { IExecuteFunctions } from 'n8n-core'; import * as amqplib from 'amqplib'; import type { + IExecuteFunctions, ICredentialsDecrypted, ICredentialTestFunctions, IDataObject, diff --git a/packages/nodes-base/nodes/Raindrop/GenericFunctions.ts b/packages/nodes-base/nodes/Raindrop/GenericFunctions.ts index 8ac15e6131f45..cde8a82e906cb 100644 --- a/packages/nodes-base/nodes/Raindrop/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Raindrop/GenericFunctions.ts @@ -1,6 +1,10 @@ -import type { IExecuteFunctions, IHookFunctions } from 'n8n-core'; - -import type { IDataObject, ILoadOptionsFunctions, JsonObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + IHookFunctions, + IDataObject, + ILoadOptionsFunctions, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; import type { OptionsWithUri } from 'request'; diff --git a/packages/nodes-base/nodes/Raindrop/Raindrop.node.ts b/packages/nodes-base/nodes/Raindrop/Raindrop.node.ts index dc3d5f167b4fb..5c3632189eb93 100644 --- a/packages/nodes-base/nodes/Raindrop/Raindrop.node.ts +++ b/packages/nodes-base/nodes/Raindrop/Raindrop.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/ReadBinaryFile/ReadBinaryFile.node.ts b/packages/nodes-base/nodes/ReadBinaryFile/ReadBinaryFile.node.ts index 3ebc913835738..00b591ee61945 100644 --- a/packages/nodes-base/nodes/ReadBinaryFile/ReadBinaryFile.node.ts +++ b/packages/nodes-base/nodes/ReadBinaryFile/ReadBinaryFile.node.ts @@ -1,5 +1,9 @@ -import type { IExecuteFunctions } from 'n8n-core'; -import type { INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { + IExecuteFunctions, + INodeExecutionData, + INodeType, + INodeTypeDescription, +} from 'n8n-workflow'; export class ReadBinaryFile implements INodeType { description: INodeTypeDescription = { diff --git a/packages/nodes-base/nodes/ReadBinaryFiles/ReadBinaryFiles.node.ts b/packages/nodes-base/nodes/ReadBinaryFiles/ReadBinaryFiles.node.ts index 3f2c668162dc6..bd9ebcb666d88 100644 --- a/packages/nodes-base/nodes/ReadBinaryFiles/ReadBinaryFiles.node.ts +++ b/packages/nodes-base/nodes/ReadBinaryFiles/ReadBinaryFiles.node.ts @@ -1,5 +1,9 @@ -import type { IExecuteFunctions } from 'n8n-core'; -import type { INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { + IExecuteFunctions, + INodeExecutionData, + INodeType, + INodeTypeDescription, +} from 'n8n-workflow'; import glob from 'fast-glob'; export class ReadBinaryFiles implements INodeType { diff --git a/packages/nodes-base/nodes/ReadPdf/ReadPDF.node.ts b/packages/nodes-base/nodes/ReadPdf/ReadPDF.node.ts index 8fc6adb182af2..6626c94e53575 100644 --- a/packages/nodes-base/nodes/ReadPdf/ReadPDF.node.ts +++ b/packages/nodes-base/nodes/ReadPdf/ReadPDF.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/Reddit/GenericFunctions.ts b/packages/nodes-base/nodes/Reddit/GenericFunctions.ts index 8137433b2b56b..0008785eba174 100644 --- a/packages/nodes-base/nodes/Reddit/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Reddit/GenericFunctions.ts @@ -1,6 +1,4 @@ -import type { IExecuteFunctions, IHookFunctions } from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; +import type { IExecuteFunctions, IHookFunctions, IDataObject, JsonObject } from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; import type { OptionsWithUri } from 'request'; diff --git a/packages/nodes-base/nodes/Reddit/Reddit.node.ts b/packages/nodes-base/nodes/Reddit/Reddit.node.ts index 6ca92747cf057..0980361273908 100644 --- a/packages/nodes-base/nodes/Reddit/Reddit.node.ts +++ b/packages/nodes-base/nodes/Reddit/Reddit.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/Redis/Redis.node.ts b/packages/nodes-base/nodes/Redis/Redis.node.ts index 402ff56f0fe6d..72f952f73e113 100644 --- a/packages/nodes-base/nodes/Redis/Redis.node.ts +++ b/packages/nodes-base/nodes/Redis/Redis.node.ts @@ -1,5 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; import type { + IExecuteFunctions, GenericValue, ICredentialDataDecryptedObject, ICredentialsDecrypted, diff --git a/packages/nodes-base/nodes/Redis/RedisTrigger.node.ts b/packages/nodes-base/nodes/Redis/RedisTrigger.node.ts index 478e39c8438eb..2224ee652d291 100644 --- a/packages/nodes-base/nodes/Redis/RedisTrigger.node.ts +++ b/packages/nodes-base/nodes/Redis/RedisTrigger.node.ts @@ -1,6 +1,10 @@ -import type { ITriggerFunctions } from 'n8n-core'; - -import type { IDataObject, INodeType, INodeTypeDescription, ITriggerResponse } from 'n8n-workflow'; +import type { + ITriggerFunctions, + IDataObject, + INodeType, + INodeTypeDescription, + ITriggerResponse, +} from 'n8n-workflow'; import { NodeOperationError } from 'n8n-workflow'; import redis from 'redis'; diff --git a/packages/nodes-base/nodes/RenameKeys/RenameKeys.node.ts b/packages/nodes-base/nodes/RenameKeys/RenameKeys.node.ts index 37756aca7f15e..82bc6f3f7cff8 100644 --- a/packages/nodes-base/nodes/RenameKeys/RenameKeys.node.ts +++ b/packages/nodes-base/nodes/RenameKeys/RenameKeys.node.ts @@ -1,5 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/Rocketchat/GenericFunctions.ts b/packages/nodes-base/nodes/Rocketchat/GenericFunctions.ts index 06b2d81842deb..e45a307fc2b86 100644 --- a/packages/nodes-base/nodes/Rocketchat/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Rocketchat/GenericFunctions.ts @@ -1,7 +1,6 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import type { IDataObject } from 'n8n-workflow'; +import type { IDataObject, IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-workflow'; export async function rocketchatApiRequest( this: IExecuteFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Rocketchat/Rocketchat.node.ts b/packages/nodes-base/nodes/Rocketchat/Rocketchat.node.ts index 6a28fab7009a6..7c1dbce58e250 100644 --- a/packages/nodes-base/nodes/Rocketchat/Rocketchat.node.ts +++ b/packages/nodes-base/nodes/Rocketchat/Rocketchat.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/RssFeedRead/RssFeedRead.node.ts b/packages/nodes-base/nodes/RssFeedRead/RssFeedRead.node.ts index 5fe3cb70a79c5..637f589b8565c 100644 --- a/packages/nodes-base/nodes/RssFeedRead/RssFeedRead.node.ts +++ b/packages/nodes-base/nodes/RssFeedRead/RssFeedRead.node.ts @@ -1,5 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/Rundeck/Rundeck.node.ts b/packages/nodes-base/nodes/Rundeck/Rundeck.node.ts index 52c801f4e7a1e..1ad253620fa83 100644 --- a/packages/nodes-base/nodes/Rundeck/Rundeck.node.ts +++ b/packages/nodes-base/nodes/Rundeck/Rundeck.node.ts @@ -1,5 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/Rundeck/RundeckApi.ts b/packages/nodes-base/nodes/Rundeck/RundeckApi.ts index bc86f7567cf1b..fe85acde4eac7 100644 --- a/packages/nodes-base/nodes/Rundeck/RundeckApi.ts +++ b/packages/nodes-base/nodes/Rundeck/RundeckApi.ts @@ -1,6 +1,5 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions } from 'n8n-core'; -import type { IDataObject, JsonObject } from 'n8n-workflow'; +import type { IDataObject, IExecuteFunctions, JsonObject } from 'n8n-workflow'; import { NodeApiError, NodeOperationError } from 'n8n-workflow'; export interface RundeckCredentials { diff --git a/packages/nodes-base/nodes/S3/GenericFunctions.ts b/packages/nodes-base/nodes/S3/GenericFunctions.ts index 0afe0d4b16548..0d7043b7dab93 100644 --- a/packages/nodes-base/nodes/S3/GenericFunctions.ts +++ b/packages/nodes-base/nodes/S3/GenericFunctions.ts @@ -8,13 +8,13 @@ import type { OptionsWithUri } from 'request'; import { parseString } from 'xml2js'; import type { + IDataObject, IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions, IWebhookFunctions, -} from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; + JsonObject, +} from 'n8n-workflow'; import { NodeApiError, NodeOperationError } from 'n8n-workflow'; import { URL } from 'url'; diff --git a/packages/nodes-base/nodes/Salesforce/GenericFunctions.ts b/packages/nodes-base/nodes/Salesforce/GenericFunctions.ts index 28741b4c00365..7e7837fc17020 100644 --- a/packages/nodes-base/nodes/Salesforce/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Salesforce/GenericFunctions.ts @@ -1,8 +1,13 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; - -import type { IDataObject, INodePropertyOptions, JsonObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + IExecuteSingleFunctions, + ILoadOptionsFunctions, + IDataObject, + INodePropertyOptions, + JsonObject, +} from 'n8n-workflow'; import { LoggerProxy as Logger, NodeApiError } from 'n8n-workflow'; import moment from 'moment-timezone'; diff --git a/packages/nodes-base/nodes/Salesforce/Salesforce.node.ts b/packages/nodes-base/nodes/Salesforce/Salesforce.node.ts index 09c9bfdcbf7d2..53d2b33c99e82 100644 --- a/packages/nodes-base/nodes/Salesforce/Salesforce.node.ts +++ b/packages/nodes-base/nodes/Salesforce/Salesforce.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Salesmate/GenericFunctions.ts b/packages/nodes-base/nodes/Salesmate/GenericFunctions.ts index e1d5926f88458..466b3efc0ddec 100644 --- a/packages/nodes-base/nodes/Salesmate/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Salesmate/GenericFunctions.ts @@ -1,13 +1,14 @@ import type { OptionsWithUri } from 'request'; + import type { + IDataObject, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, IWebhookFunctions, -} from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function salesmateApiRequest( diff --git a/packages/nodes-base/nodes/Salesmate/Salesmate.node.ts b/packages/nodes-base/nodes/Salesmate/Salesmate.node.ts index ed8aa56bcce2f..dd89c1a859e1f 100644 --- a/packages/nodes-base/nodes/Salesmate/Salesmate.node.ts +++ b/packages/nodes-base/nodes/Salesmate/Salesmate.node.ts @@ -1,5 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Schedule/ScheduleTrigger.node.ts b/packages/nodes-base/nodes/Schedule/ScheduleTrigger.node.ts index bbf7de5015a96..a6fec54d16032 100644 --- a/packages/nodes-base/nodes/Schedule/ScheduleTrigger.node.ts +++ b/packages/nodes-base/nodes/Schedule/ScheduleTrigger.node.ts @@ -1,5 +1,10 @@ -import type { ITriggerFunctions } from 'n8n-core'; -import type { IDataObject, INodeType, INodeTypeDescription, ITriggerResponse } from 'n8n-workflow'; +import type { + ITriggerFunctions, + IDataObject, + INodeType, + INodeTypeDescription, + ITriggerResponse, +} from 'n8n-workflow'; import { NodeOperationError } from 'n8n-workflow'; import { CronJob } from 'cron'; diff --git a/packages/nodes-base/nodes/SeaTable/GenericFunctions.ts b/packages/nodes-base/nodes/SeaTable/GenericFunctions.ts index 543c96877816d..d08880507b52e 100644 --- a/packages/nodes-base/nodes/SeaTable/GenericFunctions.ts +++ b/packages/nodes-base/nodes/SeaTable/GenericFunctions.ts @@ -1,8 +1,12 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { OptionsWithUri } from 'request'; -import type { IDataObject, ILoadOptionsFunctions, IPollFunctions, JsonObject } from 'n8n-workflow'; +import type { + IDataObject, + IExecuteFunctions, + ILoadOptionsFunctions, + IPollFunctions, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; import type { TDtableMetadataColumns, TDtableViewColumns, TEndpointVariableName } from './types'; diff --git a/packages/nodes-base/nodes/SeaTable/SeaTable.node.ts b/packages/nodes-base/nodes/SeaTable/SeaTable.node.ts index dac8668c7b716..2c40e3bd47810 100644 --- a/packages/nodes-base/nodes/SeaTable/SeaTable.node.ts +++ b/packages/nodes-base/nodes/SeaTable/SeaTable.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/SeaTable/SeaTableTrigger.node.ts b/packages/nodes-base/nodes/SeaTable/SeaTableTrigger.node.ts index fd3745c507d1c..9ede573334f85 100644 --- a/packages/nodes-base/nodes/SeaTable/SeaTableTrigger.node.ts +++ b/packages/nodes-base/nodes/SeaTable/SeaTableTrigger.node.ts @@ -1,6 +1,5 @@ -import type { IPollFunctions } from 'n8n-core'; - import type { + IPollFunctions, ILoadOptionsFunctions, INodeExecutionData, INodePropertyOptions, diff --git a/packages/nodes-base/nodes/SecurityScorecard/GenericFunctions.ts b/packages/nodes-base/nodes/SecurityScorecard/GenericFunctions.ts index 0d1e3da9922b6..c3ed713a8d5bb 100644 --- a/packages/nodes-base/nodes/SecurityScorecard/GenericFunctions.ts +++ b/packages/nodes-base/nodes/SecurityScorecard/GenericFunctions.ts @@ -1,8 +1,12 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions } from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + IHookFunctions, + ILoadOptionsFunctions, + IDataObject, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function scorecardApiRequest( diff --git a/packages/nodes-base/nodes/SecurityScorecard/SecurityScorecard.node.ts b/packages/nodes-base/nodes/SecurityScorecard/SecurityScorecard.node.ts index fe339a2add74e..2deb1de4ad280 100644 --- a/packages/nodes-base/nodes/SecurityScorecard/SecurityScorecard.node.ts +++ b/packages/nodes-base/nodes/SecurityScorecard/SecurityScorecard.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/Segment/GenericFunctions.ts b/packages/nodes-base/nodes/Segment/GenericFunctions.ts index 8d977cd44de53..739a526963e87 100644 --- a/packages/nodes-base/nodes/Segment/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Segment/GenericFunctions.ts @@ -1,12 +1,12 @@ import type { OptionsWithUri } from 'request'; import type { + IDataObject, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, IWebhookFunctions, -} from 'n8n-core'; -import type { IDataObject } from 'n8n-workflow'; +} from 'n8n-workflow'; export async function segmentApiRequest( this: diff --git a/packages/nodes-base/nodes/Segment/Segment.node.ts b/packages/nodes-base/nodes/Segment/Segment.node.ts index c9fce4fe36c7a..f83db44a1f917 100644 --- a/packages/nodes-base/nodes/Segment/Segment.node.ts +++ b/packages/nodes-base/nodes/Segment/Segment.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/SendGrid/GenericFunctions.ts b/packages/nodes-base/nodes/SendGrid/GenericFunctions.ts index 8b692dc48851c..cced148f89073 100644 --- a/packages/nodes-base/nodes/SendGrid/GenericFunctions.ts +++ b/packages/nodes-base/nodes/SendGrid/GenericFunctions.ts @@ -1,13 +1,12 @@ import type { OptionsWithUri } from 'request'; import type { + IDataObject, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, -} from 'n8n-core'; - -import type { IDataObject } from 'n8n-workflow'; +} from 'n8n-workflow'; export async function sendGridApiRequest( this: IHookFunctions | IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Sendy/GenericFunctions.ts b/packages/nodes-base/nodes/Sendy/GenericFunctions.ts index 7766ecb2ad88c..c36e00fb7ab53 100644 --- a/packages/nodes-base/nodes/Sendy/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Sendy/GenericFunctions.ts @@ -1,8 +1,11 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + ILoadOptionsFunctions, + IDataObject, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function sendyApiRequest( diff --git a/packages/nodes-base/nodes/Sendy/Sendy.node.ts b/packages/nodes-base/nodes/Sendy/Sendy.node.ts index 6064b1caa53e6..fb5865f5a448b 100644 --- a/packages/nodes-base/nodes/Sendy/Sendy.node.ts +++ b/packages/nodes-base/nodes/Sendy/Sendy.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/SentryIo/GenericFunctions.ts b/packages/nodes-base/nodes/SentryIo/GenericFunctions.ts index 133c4ced19845..0046b12f9884d 100644 --- a/packages/nodes-base/nodes/SentryIo/GenericFunctions.ts +++ b/packages/nodes-base/nodes/SentryIo/GenericFunctions.ts @@ -1,14 +1,14 @@ import type { OptionsWithUri } from 'request'; import type { + IDataObject, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, IWebhookFunctions, -} from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function sentryIoApiRequest( diff --git a/packages/nodes-base/nodes/SentryIo/SentryIo.node.ts b/packages/nodes-base/nodes/SentryIo/SentryIo.node.ts index 6d7f42361bd9d..c3b355c8ca3f2 100644 --- a/packages/nodes-base/nodes/SentryIo/SentryIo.node.ts +++ b/packages/nodes-base/nodes/SentryIo/SentryIo.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/ServiceNow/GenericFunctions.ts b/packages/nodes-base/nodes/ServiceNow/GenericFunctions.ts index c564bf1055f0a..71d9e997736d0 100644 --- a/packages/nodes-base/nodes/ServiceNow/GenericFunctions.ts +++ b/packages/nodes-base/nodes/ServiceNow/GenericFunctions.ts @@ -1,8 +1,12 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; - -import type { IDataObject, INodePropertyOptions, JsonObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + ILoadOptionsFunctions, + IDataObject, + INodePropertyOptions, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function serviceNowApiRequest( diff --git a/packages/nodes-base/nodes/Set/Set.node.ts b/packages/nodes-base/nodes/Set/Set.node.ts index 97ca8b8571e9f..0bfacf0437b4d 100644 --- a/packages/nodes-base/nodes/Set/Set.node.ts +++ b/packages/nodes-base/nodes/Set/Set.node.ts @@ -1,5 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; import type { + IExecuteFunctions, INodeExecutionData, INodeParameters, INodeType, diff --git a/packages/nodes-base/nodes/Shopify/GenericFunctions.ts b/packages/nodes-base/nodes/Shopify/GenericFunctions.ts index 42fe31b94093c..d10f9d74b95b8 100644 --- a/packages/nodes-base/nodes/Shopify/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Shopify/GenericFunctions.ts @@ -1,13 +1,13 @@ import type { OptionsWithUri } from 'request'; import type { + IDataObject, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, -} from 'n8n-core'; - -import type { IDataObject, IOAuth2Options } from 'n8n-workflow'; + IOAuth2Options, +} from 'n8n-workflow'; import { snakeCase } from 'change-case'; diff --git a/packages/nodes-base/nodes/Shopify/Shopify.node.ts b/packages/nodes-base/nodes/Shopify/Shopify.node.ts index ecef6c4cb64b2..bd244dab07327 100644 --- a/packages/nodes-base/nodes/Shopify/Shopify.node.ts +++ b/packages/nodes-base/nodes/Shopify/Shopify.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Shopify/ShopifyTrigger.node.ts b/packages/nodes-base/nodes/Shopify/ShopifyTrigger.node.ts index f07642c0c26b2..3fef89e3a56fa 100644 --- a/packages/nodes-base/nodes/Shopify/ShopifyTrigger.node.ts +++ b/packages/nodes-base/nodes/Shopify/ShopifyTrigger.node.ts @@ -1,6 +1,6 @@ -import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; - import type { + IHookFunctions, + IWebhookFunctions, IDataObject, INodeType, INodeTypeDescription, diff --git a/packages/nodes-base/nodes/Signl4/GenericFunctions.ts b/packages/nodes-base/nodes/Signl4/GenericFunctions.ts index b4ea190af1551..198ace3caf1ad 100644 --- a/packages/nodes-base/nodes/Signl4/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Signl4/GenericFunctions.ts @@ -1,6 +1,4 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; +import type { IExecuteFunctions, IDataObject, JsonObject } from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; import type { OptionsWithUri } from 'request'; diff --git a/packages/nodes-base/nodes/Slack/V1/GenericFunctions.ts b/packages/nodes-base/nodes/Slack/V1/GenericFunctions.ts index 1c7be15513576..4e7255fac4a9e 100644 --- a/packages/nodes-base/nodes/Slack/V1/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Slack/V1/GenericFunctions.ts @@ -1,8 +1,13 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; - -import type { IDataObject, IOAuth2Options, JsonObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + IExecuteSingleFunctions, + ILoadOptionsFunctions, + IDataObject, + IOAuth2Options, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError, NodeOperationError } from 'n8n-workflow'; import get from 'lodash.get'; diff --git a/packages/nodes-base/nodes/Slack/V2/GenericFunctions.ts b/packages/nodes-base/nodes/Slack/V2/GenericFunctions.ts index 00780840c3b38..88f7a043e2e8a 100644 --- a/packages/nodes-base/nodes/Slack/V2/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Slack/V2/GenericFunctions.ts @@ -1,6 +1,11 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import type { IDataObject, IOAuth2Options } from 'n8n-workflow'; +import type { + IDataObject, + IExecuteFunctions, + IExecuteSingleFunctions, + ILoadOptionsFunctions, + IOAuth2Options, +} from 'n8n-workflow'; import { NodeOperationError } from 'n8n-workflow'; diff --git a/packages/nodes-base/nodes/Slack/V2/SlackV2.node.ts b/packages/nodes-base/nodes/Slack/V2/SlackV2.node.ts index 930f6b3e97230..f2672403bad79 100644 --- a/packages/nodes-base/nodes/Slack/V2/SlackV2.node.ts +++ b/packages/nodes-base/nodes/Slack/V2/SlackV2.node.ts @@ -1,4 +1,3 @@ -import { BINARY_ENCODING } from 'n8n-core'; import type { Readable } from 'stream'; import type { @@ -16,7 +15,7 @@ import type { JsonObject, } from 'n8n-workflow'; -import { NodeOperationError } from 'n8n-workflow'; +import { BINARY_ENCODING, NodeOperationError } from 'n8n-workflow'; import { channelFields, channelOperations } from './ChannelDescription'; import { messageFields, messageOperations } from './MessageDescription'; diff --git a/packages/nodes-base/nodes/Sms77/GenericFunctions.ts b/packages/nodes-base/nodes/Sms77/GenericFunctions.ts index fe69007a6afc1..a4836165f96e9 100644 --- a/packages/nodes-base/nodes/Sms77/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Sms77/GenericFunctions.ts @@ -1,6 +1,4 @@ -import type { IExecuteFunctions, IHookFunctions } from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; +import type { IExecuteFunctions, IHookFunctions, IDataObject, JsonObject } from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; import type { OptionsWithUri } from 'request'; diff --git a/packages/nodes-base/nodes/Sms77/Sms77.node.ts b/packages/nodes-base/nodes/Sms77/Sms77.node.ts index 28fc2492882a7..c85617f202b82 100644 --- a/packages/nodes-base/nodes/Sms77/Sms77.node.ts +++ b/packages/nodes-base/nodes/Sms77/Sms77.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/Snowflake/Snowflake.node.ts b/packages/nodes-base/nodes/Snowflake/Snowflake.node.ts index ab0ee55f0a9d3..8264cdce7a83c 100644 --- a/packages/nodes-base/nodes/Snowflake/Snowflake.node.ts +++ b/packages/nodes-base/nodes/Snowflake/Snowflake.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/SplitInBatches/SplitInBatches.node.ts b/packages/nodes-base/nodes/SplitInBatches/SplitInBatches.node.ts index 3dfbce35ebdd1..63059f3687e43 100644 --- a/packages/nodes-base/nodes/SplitInBatches/SplitInBatches.node.ts +++ b/packages/nodes-base/nodes/SplitInBatches/SplitInBatches.node.ts @@ -1,5 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; import type { + IExecuteFunctions, INodeExecutionData, INodeType, INodeTypeDescription, diff --git a/packages/nodes-base/nodes/Splunk/GenericFunctions.ts b/packages/nodes-base/nodes/Splunk/GenericFunctions.ts index 7e6301a5cbf9b..903dd212282ec 100644 --- a/packages/nodes-base/nodes/Splunk/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Splunk/GenericFunctions.ts @@ -1,6 +1,9 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject, ILoadOptionsFunctions, JsonObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + IDataObject, + ILoadOptionsFunctions, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; import type { OptionsWithUri } from 'request'; diff --git a/packages/nodes-base/nodes/Splunk/Splunk.node.ts b/packages/nodes-base/nodes/Splunk/Splunk.node.ts index a7fe0fa3c84aa..7fbbab14fbf07 100644 --- a/packages/nodes-base/nodes/Splunk/Splunk.node.ts +++ b/packages/nodes-base/nodes/Splunk/Splunk.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, ICredentialsDecrypted, ICredentialTestFunctions, IDataObject, diff --git a/packages/nodes-base/nodes/Spontit/GenericFunctions.ts b/packages/nodes-base/nodes/Spontit/GenericFunctions.ts index ddcbe5883a9ef..38e75aa3d14db 100644 --- a/packages/nodes-base/nodes/Spontit/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Spontit/GenericFunctions.ts @@ -1,13 +1,13 @@ import type { OptionsWithUri } from 'request'; import type { + IDataObject, IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions, IWebhookFunctions, -} from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function spontitApiRequest( diff --git a/packages/nodes-base/nodes/Spontit/Spontit.node.ts b/packages/nodes-base/nodes/Spontit/Spontit.node.ts index 459cd07e93a10..b54cd906e2619 100644 --- a/packages/nodes-base/nodes/Spontit/Spontit.node.ts +++ b/packages/nodes-base/nodes/Spontit/Spontit.node.ts @@ -1,5 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/Spotify/GenericFunctions.ts b/packages/nodes-base/nodes/Spotify/GenericFunctions.ts index b95025cf96afc..752962363746e 100644 --- a/packages/nodes-base/nodes/Spotify/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Spotify/GenericFunctions.ts @@ -1,8 +1,6 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, IHookFunctions } from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; +import type { IExecuteFunctions, IHookFunctions, IDataObject, JsonObject } from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; import get from 'lodash.get'; diff --git a/packages/nodes-base/nodes/Spotify/Spotify.node.ts b/packages/nodes-base/nodes/Spotify/Spotify.node.ts index 812c28697b482..2203cdbe4bf49 100644 --- a/packages/nodes-base/nodes/Spotify/Spotify.node.ts +++ b/packages/nodes-base/nodes/Spotify/Spotify.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/SseTrigger/SseTrigger.node.ts b/packages/nodes-base/nodes/SseTrigger/SseTrigger.node.ts index 99ef24dbc2bac..a0cfde72d4fd4 100644 --- a/packages/nodes-base/nodes/SseTrigger/SseTrigger.node.ts +++ b/packages/nodes-base/nodes/SseTrigger/SseTrigger.node.ts @@ -1,7 +1,11 @@ import EventSource from 'eventsource'; - -import type { ITriggerFunctions } from 'n8n-core'; -import type { IDataObject, INodeType, INodeTypeDescription, ITriggerResponse } from 'n8n-workflow'; +import type { + IDataObject, + ITriggerFunctions, + INodeType, + INodeTypeDescription, + ITriggerResponse, +} from 'n8n-workflow'; import { jsonParse } from 'n8n-workflow'; export class SseTrigger implements INodeType { diff --git a/packages/nodes-base/nodes/Ssh/Ssh.node.ts b/packages/nodes-base/nodes/Ssh/Ssh.node.ts index 0c0063314fc09..04fb96fcc1505 100644 --- a/packages/nodes-base/nodes/Ssh/Ssh.node.ts +++ b/packages/nodes-base/nodes/Ssh/Ssh.node.ts @@ -1,5 +1,3 @@ -import { BINARY_ENCODING } from 'n8n-core'; - import type { IDataObject, IExecuteFunctions, @@ -7,6 +5,7 @@ import type { INodeType, INodeTypeDescription, } from 'n8n-workflow'; +import { BINARY_ENCODING } from 'n8n-workflow'; import { rm, writeFile } from 'fs/promises'; diff --git a/packages/nodes-base/nodes/Stackby/GenericFunction.ts b/packages/nodes-base/nodes/Stackby/GenericFunction.ts index 1eead3da6ff02..d5368105d1a83 100644 --- a/packages/nodes-base/nodes/Stackby/GenericFunction.ts +++ b/packages/nodes-base/nodes/Stackby/GenericFunction.ts @@ -1,8 +1,13 @@ -import type { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions } from 'n8n-core'; - import type { OptionsWithUri } from 'request'; -import type { IDataObject, IPollFunctions, JsonObject } from 'n8n-workflow'; +import type { + IDataObject, + IExecuteFunctions, + IHookFunctions, + ILoadOptionsFunctions, + IPollFunctions, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; /** diff --git a/packages/nodes-base/nodes/Stackby/Stackby.node.ts b/packages/nodes-base/nodes/Stackby/Stackby.node.ts index 57faef5a977f0..2607affa1e73e 100644 --- a/packages/nodes-base/nodes/Stackby/Stackby.node.ts +++ b/packages/nodes-base/nodes/Stackby/Stackby.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/Start/Start.node.ts b/packages/nodes-base/nodes/Start/Start.node.ts index 94d9ecd2ee7f4..05d3871e1e0c0 100644 --- a/packages/nodes-base/nodes/Start/Start.node.ts +++ b/packages/nodes-base/nodes/Start/Start.node.ts @@ -1,5 +1,9 @@ -import type { IExecuteFunctions } from 'n8n-core'; -import type { INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { + IExecuteFunctions, + INodeExecutionData, + INodeType, + INodeTypeDescription, +} from 'n8n-workflow'; export class Start implements INodeType { description: INodeTypeDescription = { diff --git a/packages/nodes-base/nodes/StickyNote/StickyNote.node.ts b/packages/nodes-base/nodes/StickyNote/StickyNote.node.ts index 5926329366d03..819f1477355eb 100644 --- a/packages/nodes-base/nodes/StickyNote/StickyNote.node.ts +++ b/packages/nodes-base/nodes/StickyNote/StickyNote.node.ts @@ -1,5 +1,9 @@ -import type { IExecuteFunctions } from 'n8n-core'; -import type { INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { + IExecuteFunctions, + INodeExecutionData, + INodeType, + INodeTypeDescription, +} from 'n8n-workflow'; export class StickyNote implements INodeType { description: INodeTypeDescription = { diff --git a/packages/nodes-base/nodes/StopAndError/StopAndError.node.ts b/packages/nodes-base/nodes/StopAndError/StopAndError.node.ts index 5f14626d8231e..537ce4101b6bb 100644 --- a/packages/nodes-base/nodes/StopAndError/StopAndError.node.ts +++ b/packages/nodes-base/nodes/StopAndError/StopAndError.node.ts @@ -1,6 +1,9 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { + IExecuteFunctions, + INodeExecutionData, + INodeType, + INodeTypeDescription, +} from 'n8n-workflow'; import { jsonParse, NodeOperationError } from 'n8n-workflow'; const errorObjectPlaceholder = `{ diff --git a/packages/nodes-base/nodes/Storyblok/GenericFunctions.ts b/packages/nodes-base/nodes/Storyblok/GenericFunctions.ts index aaa49387fbd58..1b5e8f0aee0e0 100644 --- a/packages/nodes-base/nodes/Storyblok/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Storyblok/GenericFunctions.ts @@ -1,13 +1,13 @@ import type { OptionsWithUri } from 'request'; import type { + IDataObject, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, -} from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function storyblokApiRequest( diff --git a/packages/nodes-base/nodes/Storyblok/Storyblok.node.ts b/packages/nodes-base/nodes/Storyblok/Storyblok.node.ts index 144aaa7c0a5e9..052760a19824c 100644 --- a/packages/nodes-base/nodes/Storyblok/Storyblok.node.ts +++ b/packages/nodes-base/nodes/Storyblok/Storyblok.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Strapi/GenericFunctions.ts b/packages/nodes-base/nodes/Strapi/GenericFunctions.ts index 4e7e7081a8a9f..c8d8a02fa272b 100644 --- a/packages/nodes-base/nodes/Strapi/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Strapi/GenericFunctions.ts @@ -1,13 +1,13 @@ import type { OptionsWithUri } from 'request'; import type { + IDataObject, IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions, IWebhookFunctions, -} from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function strapiApiRequest( diff --git a/packages/nodes-base/nodes/Strapi/Strapi.node.ts b/packages/nodes-base/nodes/Strapi/Strapi.node.ts index 8497db42a35f3..7f2328b0e3b53 100644 --- a/packages/nodes-base/nodes/Strapi/Strapi.node.ts +++ b/packages/nodes-base/nodes/Strapi/Strapi.node.ts @@ -1,8 +1,7 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { OptionsWithUri } from 'request'; import type { + IExecuteFunctions, ICredentialsDecrypted, ICredentialTestFunctions, IDataObject, diff --git a/packages/nodes-base/nodes/Strava/GenericFunctions.ts b/packages/nodes-base/nodes/Strava/GenericFunctions.ts index 401ae71d57645..c42c34ad93cac 100644 --- a/packages/nodes-base/nodes/Strava/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Strava/GenericFunctions.ts @@ -1,14 +1,14 @@ import type { OptionsWithUri } from 'request'; import type { + IDataObject, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, IWebhookFunctions, -} from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function stravaApiRequest( diff --git a/packages/nodes-base/nodes/Strava/Strava.node.ts b/packages/nodes-base/nodes/Strava/Strava.node.ts index eb463da10dcd4..15535b98512c4 100644 --- a/packages/nodes-base/nodes/Strava/Strava.node.ts +++ b/packages/nodes-base/nodes/Strava/Strava.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/Strava/StravaTrigger.node.ts b/packages/nodes-base/nodes/Strava/StravaTrigger.node.ts index 4a5db782e4e4b..48415187c29e8 100644 --- a/packages/nodes-base/nodes/Strava/StravaTrigger.node.ts +++ b/packages/nodes-base/nodes/Strava/StravaTrigger.node.ts @@ -1,6 +1,6 @@ -import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; - import type { + IHookFunctions, + IWebhookFunctions, IDataObject, INodeType, INodeTypeDescription, diff --git a/packages/nodes-base/nodes/Stripe/Stripe.node.ts b/packages/nodes-base/nodes/Stripe/Stripe.node.ts index 204103a45b744..63553d2fb0a6c 100644 --- a/packages/nodes-base/nodes/Stripe/Stripe.node.ts +++ b/packages/nodes-base/nodes/Stripe/Stripe.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Stripe/StripeTrigger.node.ts b/packages/nodes-base/nodes/Stripe/StripeTrigger.node.ts index 4a40a427fb9c3..db1490583664e 100644 --- a/packages/nodes-base/nodes/Stripe/StripeTrigger.node.ts +++ b/packages/nodes-base/nodes/Stripe/StripeTrigger.node.ts @@ -1,8 +1,8 @@ /* eslint-disable n8n-nodes-base/node-param-description-excess-final-period */ -import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; - import type { IDataObject, + IHookFunctions, + IWebhookFunctions, INodeType, INodeTypeDescription, IWebhookResponseData, diff --git a/packages/nodes-base/nodes/Stripe/helpers.ts b/packages/nodes-base/nodes/Stripe/helpers.ts index adef1ecdf5703..a8c241e2242b7 100644 --- a/packages/nodes-base/nodes/Stripe/helpers.ts +++ b/packages/nodes-base/nodes/Stripe/helpers.ts @@ -1,10 +1,13 @@ -import type { IExecuteFunctions, IHookFunctions } from 'n8n-core'; - import flow from 'lodash.flow'; import isEmpty from 'lodash.isempty'; import omit from 'lodash.omit'; - -import type { IDataObject, ILoadOptionsFunctions, INodePropertyOptions } from 'n8n-workflow'; +import type { + IExecuteFunctions, + IHookFunctions, + IDataObject, + ILoadOptionsFunctions, + INodePropertyOptions, +} from 'n8n-workflow'; /** * Make an API request to Stripe diff --git a/packages/nodes-base/nodes/Supabase/GenericFunctions.ts b/packages/nodes-base/nodes/Supabase/GenericFunctions.ts index 9b76b0750259a..7570e95eb5f97 100644 --- a/packages/nodes-base/nodes/Supabase/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Supabase/GenericFunctions.ts @@ -1,17 +1,14 @@ import type { OptionsWithUri } from 'request'; import type { + ICredentialDataDecryptedObject, + ICredentialTestFunctions, + IDataObject, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, IWebhookFunctions, -} from 'n8n-core'; - -import type { - ICredentialDataDecryptedObject, - ICredentialTestFunctions, - IDataObject, INodeProperties, IPairedItemData, JsonObject, diff --git a/packages/nodes-base/nodes/Supabase/Supabase.node.ts b/packages/nodes-base/nodes/Supabase/Supabase.node.ts index 7b92a5b5578fe..0068cd42a8644 100644 --- a/packages/nodes-base/nodes/Supabase/Supabase.node.ts +++ b/packages/nodes-base/nodes/Supabase/Supabase.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, ICredentialDataDecryptedObject, ICredentialsDecrypted, ICredentialTestFunctions, diff --git a/packages/nodes-base/nodes/SurveyMonkey/GenericFunctions.ts b/packages/nodes-base/nodes/SurveyMonkey/GenericFunctions.ts index 35701fe881c40..da7da90736039 100644 --- a/packages/nodes-base/nodes/SurveyMonkey/GenericFunctions.ts +++ b/packages/nodes-base/nodes/SurveyMonkey/GenericFunctions.ts @@ -1,8 +1,13 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; - -import type { IDataObject, IHookFunctions, IWebhookFunctions, JsonObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + ILoadOptionsFunctions, + IDataObject, + IHookFunctions, + IWebhookFunctions, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function surveyMonkeyApiRequest( diff --git a/packages/nodes-base/nodes/SurveyMonkey/SurveyMonkeyTrigger.node.ts b/packages/nodes-base/nodes/SurveyMonkey/SurveyMonkeyTrigger.node.ts index 217c365d9b044..07da21bf813ef 100644 --- a/packages/nodes-base/nodes/SurveyMonkey/SurveyMonkeyTrigger.node.ts +++ b/packages/nodes-base/nodes/SurveyMonkey/SurveyMonkeyTrigger.node.ts @@ -1,6 +1,6 @@ -import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; - import type { + IHookFunctions, + IWebhookFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Switch/Switch.node.ts b/packages/nodes-base/nodes/Switch/Switch.node.ts index c89629e609a98..994daa6b75893 100644 --- a/packages/nodes-base/nodes/Switch/Switch.node.ts +++ b/packages/nodes-base/nodes/Switch/Switch.node.ts @@ -1,5 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; import type { + IExecuteFunctions, INodeExecutionData, INodeParameters, INodeType, diff --git a/packages/nodes-base/nodes/SyncroMSP/v1/SyncroMspV1.node.ts b/packages/nodes-base/nodes/SyncroMSP/v1/SyncroMspV1.node.ts index a2896a3dc64cb..07a17ef81a9a6 100644 --- a/packages/nodes-base/nodes/SyncroMSP/v1/SyncroMspV1.node.ts +++ b/packages/nodes-base/nodes/SyncroMSP/v1/SyncroMspV1.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, ICredentialDataDecryptedObject, ICredentialsDecrypted, ICredentialTestFunctions, diff --git a/packages/nodes-base/nodes/SyncroMSP/v1/actions/contact/create/execute.ts b/packages/nodes-base/nodes/SyncroMSP/v1/actions/contact/create/execute.ts index d1bfc3cfe52f4..c5741db5fdab1 100644 --- a/packages/nodes-base/nodes/SyncroMSP/v1/actions/contact/create/execute.ts +++ b/packages/nodes-base/nodes/SyncroMSP/v1/actions/contact/create/execute.ts @@ -1,6 +1,4 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/SyncroMSP/v1/actions/contact/del/execute.ts b/packages/nodes-base/nodes/SyncroMSP/v1/actions/contact/del/execute.ts index 479b161257886..90aa9c88c4f9a 100644 --- a/packages/nodes-base/nodes/SyncroMSP/v1/actions/contact/del/execute.ts +++ b/packages/nodes-base/nodes/SyncroMSP/v1/actions/contact/del/execute.ts @@ -1,6 +1,4 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/SyncroMSP/v1/actions/contact/get/execute.ts b/packages/nodes-base/nodes/SyncroMSP/v1/actions/contact/get/execute.ts index 8486cf109fd0c..d43a4faf138fa 100644 --- a/packages/nodes-base/nodes/SyncroMSP/v1/actions/contact/get/execute.ts +++ b/packages/nodes-base/nodes/SyncroMSP/v1/actions/contact/get/execute.ts @@ -1,6 +1,4 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/SyncroMSP/v1/actions/contact/getAll/execute.ts b/packages/nodes-base/nodes/SyncroMSP/v1/actions/contact/getAll/execute.ts index 050ca6b0deb3e..b7181b8aa4fae 100644 --- a/packages/nodes-base/nodes/SyncroMSP/v1/actions/contact/getAll/execute.ts +++ b/packages/nodes-base/nodes/SyncroMSP/v1/actions/contact/getAll/execute.ts @@ -1,6 +1,4 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest, apiRequestAllItems } from '../../../transport'; diff --git a/packages/nodes-base/nodes/SyncroMSP/v1/actions/contact/update/execute.ts b/packages/nodes-base/nodes/SyncroMSP/v1/actions/contact/update/execute.ts index 09516fba10f2d..6388af245772d 100644 --- a/packages/nodes-base/nodes/SyncroMSP/v1/actions/contact/update/execute.ts +++ b/packages/nodes-base/nodes/SyncroMSP/v1/actions/contact/update/execute.ts @@ -1,6 +1,4 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/SyncroMSP/v1/actions/customer/create/execute.ts b/packages/nodes-base/nodes/SyncroMSP/v1/actions/customer/create/execute.ts index 7894aeac04b6c..4fddaa1a5987a 100644 --- a/packages/nodes-base/nodes/SyncroMSP/v1/actions/customer/create/execute.ts +++ b/packages/nodes-base/nodes/SyncroMSP/v1/actions/customer/create/execute.ts @@ -1,6 +1,4 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/SyncroMSP/v1/actions/customer/del/execute.ts b/packages/nodes-base/nodes/SyncroMSP/v1/actions/customer/del/execute.ts index a3b125a9f8bc2..8952945d6c8a5 100644 --- a/packages/nodes-base/nodes/SyncroMSP/v1/actions/customer/del/execute.ts +++ b/packages/nodes-base/nodes/SyncroMSP/v1/actions/customer/del/execute.ts @@ -1,6 +1,4 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/SyncroMSP/v1/actions/customer/get/execute.ts b/packages/nodes-base/nodes/SyncroMSP/v1/actions/customer/get/execute.ts index 2fcfea10d167d..87503a8a7c14f 100644 --- a/packages/nodes-base/nodes/SyncroMSP/v1/actions/customer/get/execute.ts +++ b/packages/nodes-base/nodes/SyncroMSP/v1/actions/customer/get/execute.ts @@ -1,6 +1,4 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/SyncroMSP/v1/actions/customer/getAll/execute.ts b/packages/nodes-base/nodes/SyncroMSP/v1/actions/customer/getAll/execute.ts index 5e3061c0f4337..e46e35fa06d3f 100644 --- a/packages/nodes-base/nodes/SyncroMSP/v1/actions/customer/getAll/execute.ts +++ b/packages/nodes-base/nodes/SyncroMSP/v1/actions/customer/getAll/execute.ts @@ -1,6 +1,4 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest, apiRequestAllItems } from '../../../transport'; diff --git a/packages/nodes-base/nodes/SyncroMSP/v1/actions/customer/update/execute.ts b/packages/nodes-base/nodes/SyncroMSP/v1/actions/customer/update/execute.ts index 28f17846ea0f4..2af8779f5930a 100644 --- a/packages/nodes-base/nodes/SyncroMSP/v1/actions/customer/update/execute.ts +++ b/packages/nodes-base/nodes/SyncroMSP/v1/actions/customer/update/execute.ts @@ -1,6 +1,4 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject, INodeExecutionData, JsonObject } from 'n8n-workflow'; +import type { IDataObject, IExecuteFunctions, INodeExecutionData, JsonObject } from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/SyncroMSP/v1/actions/rmm/create/execute.ts b/packages/nodes-base/nodes/SyncroMSP/v1/actions/rmm/create/execute.ts index a5ece78df8389..aed9f515ffb52 100644 --- a/packages/nodes-base/nodes/SyncroMSP/v1/actions/rmm/create/execute.ts +++ b/packages/nodes-base/nodes/SyncroMSP/v1/actions/rmm/create/execute.ts @@ -1,6 +1,4 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/SyncroMSP/v1/actions/rmm/del/execute.ts b/packages/nodes-base/nodes/SyncroMSP/v1/actions/rmm/del/execute.ts index 310508c673126..cf63a915dc39b 100644 --- a/packages/nodes-base/nodes/SyncroMSP/v1/actions/rmm/del/execute.ts +++ b/packages/nodes-base/nodes/SyncroMSP/v1/actions/rmm/del/execute.ts @@ -1,6 +1,4 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/SyncroMSP/v1/actions/rmm/get/execute.ts b/packages/nodes-base/nodes/SyncroMSP/v1/actions/rmm/get/execute.ts index 2507aff832442..9b2c7fa3c4bc7 100644 --- a/packages/nodes-base/nodes/SyncroMSP/v1/actions/rmm/get/execute.ts +++ b/packages/nodes-base/nodes/SyncroMSP/v1/actions/rmm/get/execute.ts @@ -1,6 +1,4 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/SyncroMSP/v1/actions/rmm/getAll/execute.ts b/packages/nodes-base/nodes/SyncroMSP/v1/actions/rmm/getAll/execute.ts index 70de352c3b21a..3a2520dc9a1cf 100644 --- a/packages/nodes-base/nodes/SyncroMSP/v1/actions/rmm/getAll/execute.ts +++ b/packages/nodes-base/nodes/SyncroMSP/v1/actions/rmm/getAll/execute.ts @@ -1,6 +1,4 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest, apiRequestAllItems } from '../../../transport'; diff --git a/packages/nodes-base/nodes/SyncroMSP/v1/actions/rmm/mute/execute.ts b/packages/nodes-base/nodes/SyncroMSP/v1/actions/rmm/mute/execute.ts index 895589e6cd70d..470be93cb2492 100644 --- a/packages/nodes-base/nodes/SyncroMSP/v1/actions/rmm/mute/execute.ts +++ b/packages/nodes-base/nodes/SyncroMSP/v1/actions/rmm/mute/execute.ts @@ -1,6 +1,4 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/SyncroMSP/v1/actions/router.ts b/packages/nodes-base/nodes/SyncroMSP/v1/actions/router.ts index 0cf33100725b0..1c3f18782b434 100644 --- a/packages/nodes-base/nodes/SyncroMSP/v1/actions/router.ts +++ b/packages/nodes-base/nodes/SyncroMSP/v1/actions/router.ts @@ -1,6 +1,4 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { INodeExecutionData, JsonObject } from 'n8n-workflow'; +import type { IExecuteFunctions, INodeExecutionData, JsonObject } from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; import * as customer from './customer'; diff --git a/packages/nodes-base/nodes/SyncroMSP/v1/actions/ticket/create/execute.ts b/packages/nodes-base/nodes/SyncroMSP/v1/actions/ticket/create/execute.ts index 346d8de4d1a84..75571686827dd 100644 --- a/packages/nodes-base/nodes/SyncroMSP/v1/actions/ticket/create/execute.ts +++ b/packages/nodes-base/nodes/SyncroMSP/v1/actions/ticket/create/execute.ts @@ -1,6 +1,4 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/SyncroMSP/v1/actions/ticket/del/execute.ts b/packages/nodes-base/nodes/SyncroMSP/v1/actions/ticket/del/execute.ts index 1b4691045ddb0..f5a32f8240cd0 100644 --- a/packages/nodes-base/nodes/SyncroMSP/v1/actions/ticket/del/execute.ts +++ b/packages/nodes-base/nodes/SyncroMSP/v1/actions/ticket/del/execute.ts @@ -1,6 +1,4 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/SyncroMSP/v1/actions/ticket/get/execute.ts b/packages/nodes-base/nodes/SyncroMSP/v1/actions/ticket/get/execute.ts index a48a0c1a576d8..0165b92aa463d 100644 --- a/packages/nodes-base/nodes/SyncroMSP/v1/actions/ticket/get/execute.ts +++ b/packages/nodes-base/nodes/SyncroMSP/v1/actions/ticket/get/execute.ts @@ -1,6 +1,4 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/SyncroMSP/v1/actions/ticket/getAll/execute.ts b/packages/nodes-base/nodes/SyncroMSP/v1/actions/ticket/getAll/execute.ts index e385957d174f3..415cbca633aa3 100644 --- a/packages/nodes-base/nodes/SyncroMSP/v1/actions/ticket/getAll/execute.ts +++ b/packages/nodes-base/nodes/SyncroMSP/v1/actions/ticket/getAll/execute.ts @@ -1,6 +1,4 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest, apiRequestAllItems } from '../../../transport'; diff --git a/packages/nodes-base/nodes/SyncroMSP/v1/actions/ticket/update/execute.ts b/packages/nodes-base/nodes/SyncroMSP/v1/actions/ticket/update/execute.ts index 83c66957dc4b6..53f0ab16d1754 100644 --- a/packages/nodes-base/nodes/SyncroMSP/v1/actions/ticket/update/execute.ts +++ b/packages/nodes-base/nodes/SyncroMSP/v1/actions/ticket/update/execute.ts @@ -1,6 +1,4 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow'; import { NodeOperationError } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/SyncroMSP/v1/transport/index.ts b/packages/nodes-base/nodes/SyncroMSP/v1/transport/index.ts index 4976d5542e7f8..32c9acf290d8b 100644 --- a/packages/nodes-base/nodes/SyncroMSP/v1/transport/index.ts +++ b/packages/nodes-base/nodes/SyncroMSP/v1/transport/index.ts @@ -1,6 +1,7 @@ -import type { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, + IHookFunctions, + ILoadOptionsFunctions, GenericValue, ICredentialDataDecryptedObject, ICredentialTestFunctions, diff --git a/packages/nodes-base/nodes/Taiga/GenericFunctions.ts b/packages/nodes-base/nodes/Taiga/GenericFunctions.ts index 06e7ae9ecbfc7..be0ae9b0822da 100644 --- a/packages/nodes-base/nodes/Taiga/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Taiga/GenericFunctions.ts @@ -1,14 +1,15 @@ import type { OptionsWithUri } from 'request'; import type { + ICredentialDataDecryptedObject, + IDataObject, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, IWebhookFunctions, -} from 'n8n-core'; - -import type { ICredentialDataDecryptedObject, IDataObject, JsonObject } from 'n8n-workflow'; + JsonObject, +} from 'n8n-workflow'; import { NodeApiError, NodeOperationError } from 'n8n-workflow'; import { createHash } from 'crypto'; diff --git a/packages/nodes-base/nodes/Taiga/Taiga.node.ts b/packages/nodes-base/nodes/Taiga/Taiga.node.ts index e1c7d4c2a561c..454d0ecac5f0a 100644 --- a/packages/nodes-base/nodes/Taiga/Taiga.node.ts +++ b/packages/nodes-base/nodes/Taiga/Taiga.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Taiga/TaigaTrigger.node.ts b/packages/nodes-base/nodes/Taiga/TaigaTrigger.node.ts index cfaf472b41f57..c7f22b79f7739 100644 --- a/packages/nodes-base/nodes/Taiga/TaigaTrigger.node.ts +++ b/packages/nodes-base/nodes/Taiga/TaigaTrigger.node.ts @@ -1,4 +1,5 @@ import type { + IHookFunctions, IDataObject, ILoadOptionsFunctions, INodePropertyOptions, @@ -8,8 +9,6 @@ import type { IWebhookResponseData, } from 'n8n-workflow'; -import type { IHookFunctions } from 'n8n-core'; - import { getAutomaticSecret, taigaApiRequest } from './GenericFunctions'; // import { diff --git a/packages/nodes-base/nodes/Tapfiliate/GenericFunctions.ts b/packages/nodes-base/nodes/Tapfiliate/GenericFunctions.ts index fd52d966f8a70..e96b69c37593e 100644 --- a/packages/nodes-base/nodes/Tapfiliate/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Tapfiliate/GenericFunctions.ts @@ -1,13 +1,13 @@ import type { OptionsWithUri } from 'request'; import type { + IDataObject, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, -} from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function tapfiliateApiRequest( diff --git a/packages/nodes-base/nodes/Tapfiliate/Tapfiliate.node.ts b/packages/nodes-base/nodes/Tapfiliate/Tapfiliate.node.ts index 178eeda0c04e3..a11bdf6c139a0 100644 --- a/packages/nodes-base/nodes/Tapfiliate/Tapfiliate.node.ts +++ b/packages/nodes-base/nodes/Tapfiliate/Tapfiliate.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Telegram/GenericFunctions.ts b/packages/nodes-base/nodes/Telegram/GenericFunctions.ts index 331a4136fcda4..d12215f68ff7f 100644 --- a/packages/nodes-base/nodes/Telegram/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Telegram/GenericFunctions.ts @@ -1,13 +1,13 @@ +import type { OptionsWithUri } from 'request'; + import type { + IDataObject, IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions, IWebhookFunctions, -} from 'n8n-core'; - -import type { OptionsWithUri } from 'request'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; // Interface in n8n diff --git a/packages/nodes-base/nodes/Telegram/Telegram.node.ts b/packages/nodes-base/nodes/Telegram/Telegram.node.ts index 1a35902433e12..1773926cf96a8 100644 --- a/packages/nodes-base/nodes/Telegram/Telegram.node.ts +++ b/packages/nodes-base/nodes/Telegram/Telegram.node.ts @@ -1,14 +1,13 @@ import type { Readable } from 'stream'; -import type { IExecuteFunctions } from 'n8n-core'; -import { BINARY_ENCODING } from 'n8n-core'; import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, INodeTypeDescription, } from 'n8n-workflow'; -import { NodeOperationError } from 'n8n-workflow'; +import { BINARY_ENCODING, NodeOperationError } from 'n8n-workflow'; import { addAdditionalFields, apiRequest, getPropertyName } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Telegram/TelegramTrigger.node.ts b/packages/nodes-base/nodes/Telegram/TelegramTrigger.node.ts index 9236918c474bf..ee1252fe153bf 100644 --- a/packages/nodes-base/nodes/Telegram/TelegramTrigger.node.ts +++ b/packages/nodes-base/nodes/Telegram/TelegramTrigger.node.ts @@ -1,6 +1,6 @@ -import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; - import type { + IHookFunctions, + IWebhookFunctions, IDataObject, INodeType, INodeTypeDescription, diff --git a/packages/nodes-base/nodes/TheHive/GenericFunctions.ts b/packages/nodes-base/nodes/TheHive/GenericFunctions.ts index 6362d93e8be5b..fab2dc8612198 100644 --- a/packages/nodes-base/nodes/TheHive/GenericFunctions.ts +++ b/packages/nodes-base/nodes/TheHive/GenericFunctions.ts @@ -1,8 +1,11 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions } from 'n8n-core'; - -import type { IDataObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + IHookFunctions, + ILoadOptionsFunctions, + IDataObject, +} from 'n8n-workflow'; import { jsonParse } from 'n8n-workflow'; import moment from 'moment'; diff --git a/packages/nodes-base/nodes/TheHive/TheHiveTrigger.node.ts b/packages/nodes-base/nodes/TheHive/TheHiveTrigger.node.ts index 51041831fe36b..8699c15d065e4 100644 --- a/packages/nodes-base/nodes/TheHive/TheHiveTrigger.node.ts +++ b/packages/nodes-base/nodes/TheHive/TheHiveTrigger.node.ts @@ -1,6 +1,5 @@ -import type { IWebhookFunctions } from 'n8n-core'; - import type { + IWebhookFunctions, IDataObject, IHookFunctions, INodeType, diff --git a/packages/nodes-base/nodes/TimescaleDb/TimescaleDb.node.ts b/packages/nodes-base/nodes/TimescaleDb/TimescaleDb.node.ts index 709cacb2b44bc..3381fa25b07d0 100644 --- a/packages/nodes-base/nodes/TimescaleDb/TimescaleDb.node.ts +++ b/packages/nodes-base/nodes/TimescaleDb/TimescaleDb.node.ts @@ -1,6 +1,9 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { + IExecuteFunctions, + INodeExecutionData, + INodeType, + INodeTypeDescription, +} from 'n8n-workflow'; import { NodeOperationError } from 'n8n-workflow'; import { pgInsert, pgQuery, pgUpdate } from '../Postgres/Postgres.node.functions'; diff --git a/packages/nodes-base/nodes/Todoist/GenericFunctions.ts b/packages/nodes-base/nodes/Todoist/GenericFunctions.ts index 0333ab51704f4..4278cc905af59 100644 --- a/packages/nodes-base/nodes/Todoist/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Todoist/GenericFunctions.ts @@ -1,8 +1,12 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions } from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + IHookFunctions, + ILoadOptionsFunctions, + IDataObject, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export type Context = IHookFunctions | IExecuteFunctions | ILoadOptionsFunctions; diff --git a/packages/nodes-base/nodes/Todoist/v1/TodoistV1.node.ts b/packages/nodes-base/nodes/Todoist/v1/TodoistV1.node.ts index f92c957fc9437..dc9f6a3b29ba3 100644 --- a/packages/nodes-base/nodes/Todoist/v1/TodoistV1.node.ts +++ b/packages/nodes-base/nodes/Todoist/v1/TodoistV1.node.ts @@ -1,7 +1,6 @@ /* eslint-disable n8n-nodes-base/node-filename-against-convention */ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Todoist/v2/TodoistV2.node.ts b/packages/nodes-base/nodes/Todoist/v2/TodoistV2.node.ts index a8b6e25bbf91c..f7e6b3e132e06 100644 --- a/packages/nodes-base/nodes/Todoist/v2/TodoistV2.node.ts +++ b/packages/nodes-base/nodes/Todoist/v2/TodoistV2.node.ts @@ -1,7 +1,6 @@ /* eslint-disable n8n-nodes-base/node-filename-against-convention */ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Toggl/GenericFunctions.ts b/packages/nodes-base/nodes/Toggl/GenericFunctions.ts index ab2d57e586f8d..33557fc6b97fc 100644 --- a/packages/nodes-base/nodes/Toggl/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Toggl/GenericFunctions.ts @@ -1,15 +1,15 @@ import type { OptionsWithUri } from 'request'; import type { + IDataObject, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, IPollFunctions, ITriggerFunctions, -} from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function togglApiRequest( diff --git a/packages/nodes-base/nodes/Toggl/TogglTrigger.node.ts b/packages/nodes-base/nodes/Toggl/TogglTrigger.node.ts index 6afbef01506d2..3278ed27b6bdd 100644 --- a/packages/nodes-base/nodes/Toggl/TogglTrigger.node.ts +++ b/packages/nodes-base/nodes/Toggl/TogglTrigger.node.ts @@ -1,5 +1,5 @@ -import type { IPollFunctions } from 'n8n-core'; import type { + IPollFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/TravisCi/GenericFunctions.ts b/packages/nodes-base/nodes/TravisCi/GenericFunctions.ts index 8cadef352aea7..48553b7df6ac2 100644 --- a/packages/nodes-base/nodes/TravisCi/GenericFunctions.ts +++ b/packages/nodes-base/nodes/TravisCi/GenericFunctions.ts @@ -1,13 +1,13 @@ import type { OptionsWithUri } from 'request'; import type { + IDataObject, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, -} from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; import get from 'lodash.get'; diff --git a/packages/nodes-base/nodes/TravisCi/TravisCi.node.ts b/packages/nodes-base/nodes/TravisCi/TravisCi.node.ts index 896b3f4f52084..701076cf54806 100644 --- a/packages/nodes-base/nodes/TravisCi/TravisCi.node.ts +++ b/packages/nodes-base/nodes/TravisCi/TravisCi.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/Trello/GenericFunctions.ts b/packages/nodes-base/nodes/Trello/GenericFunctions.ts index 6af4306c4e02d..c653b28050125 100644 --- a/packages/nodes-base/nodes/Trello/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Trello/GenericFunctions.ts @@ -1,8 +1,11 @@ -import type { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions } from 'n8n-core'; - import type { OptionsWithUri } from 'request'; -import type { IDataObject } from 'n8n-workflow'; +import type { + IDataObject, + IExecuteFunctions, + IHookFunctions, + ILoadOptionsFunctions, +} from 'n8n-workflow'; /** * Make an API request to Trello diff --git a/packages/nodes-base/nodes/Trello/Trello.node.ts b/packages/nodes-base/nodes/Trello/Trello.node.ts index 6a02d4eee983e..da784c193960c 100644 --- a/packages/nodes-base/nodes/Trello/Trello.node.ts +++ b/packages/nodes-base/nodes/Trello/Trello.node.ts @@ -1,6 +1,6 @@ -import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, + ILoadOptionsFunctions, IDataObject, INodeExecutionData, INodeListSearchResult, diff --git a/packages/nodes-base/nodes/Trello/TrelloTrigger.node.ts b/packages/nodes-base/nodes/Trello/TrelloTrigger.node.ts index b928d3a01ff30..87d3b27aeade9 100644 --- a/packages/nodes-base/nodes/Trello/TrelloTrigger.node.ts +++ b/packages/nodes-base/nodes/Trello/TrelloTrigger.node.ts @@ -1,6 +1,10 @@ -import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; - -import type { INodeType, INodeTypeDescription, IWebhookResponseData } from 'n8n-workflow'; +import type { + IHookFunctions, + IWebhookFunctions, + INodeType, + INodeTypeDescription, + IWebhookResponseData, +} from 'n8n-workflow'; import { apiRequest } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Twake/GenericFunctions.ts b/packages/nodes-base/nodes/Twake/GenericFunctions.ts index e4553e3518809..bb6a5791fe490 100644 --- a/packages/nodes-base/nodes/Twake/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Twake/GenericFunctions.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions } from 'n8n-core'; - import type { OptionsWithUri } from 'request'; +import type { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions } from 'n8n-workflow'; /** * Make an API request to Twake diff --git a/packages/nodes-base/nodes/Twake/Twake.node.ts b/packages/nodes-base/nodes/Twake/Twake.node.ts index b2682d6aa1328..b39f1353d173d 100644 --- a/packages/nodes-base/nodes/Twake/Twake.node.ts +++ b/packages/nodes-base/nodes/Twake/Twake.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Twilio/GenericFunctions.ts b/packages/nodes-base/nodes/Twilio/GenericFunctions.ts index f774df39e78e6..af6007d29e472 100644 --- a/packages/nodes-base/nodes/Twilio/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Twilio/GenericFunctions.ts @@ -1,6 +1,4 @@ -import type { IExecuteFunctions, IHookFunctions } from 'n8n-core'; - -import type { IDataObject } from 'n8n-workflow'; +import type { IExecuteFunctions, IHookFunctions, IDataObject } from 'n8n-workflow'; import type { OptionsWithUri } from 'request'; diff --git a/packages/nodes-base/nodes/Twilio/Twilio.node.ts b/packages/nodes-base/nodes/Twilio/Twilio.node.ts index 54462285c3ff2..55de035ead1f3 100644 --- a/packages/nodes-base/nodes/Twilio/Twilio.node.ts +++ b/packages/nodes-base/nodes/Twilio/Twilio.node.ts @@ -1,5 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/Twist/GenericFunctions.ts b/packages/nodes-base/nodes/Twist/GenericFunctions.ts index 2d5af978e4019..95a8564d9f778 100644 --- a/packages/nodes-base/nodes/Twist/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Twist/GenericFunctions.ts @@ -1,8 +1,11 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + ILoadOptionsFunctions, + IDataObject, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function twistApiRequest( diff --git a/packages/nodes-base/nodes/Typeform/GenericFunctions.ts b/packages/nodes-base/nodes/Typeform/GenericFunctions.ts index 825f63d275d13..7248439ec0534 100644 --- a/packages/nodes-base/nodes/Typeform/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Typeform/GenericFunctions.ts @@ -1,6 +1,11 @@ -import type { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions } from 'n8n-core'; - -import type { IDataObject, INodePropertyOptions, JsonObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + IHookFunctions, + ILoadOptionsFunctions, + IDataObject, + INodePropertyOptions, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError, NodeOperationError } from 'n8n-workflow'; import type { OptionsWithUri } from 'request'; diff --git a/packages/nodes-base/nodes/Typeform/TypeformTrigger.node.ts b/packages/nodes-base/nodes/Typeform/TypeformTrigger.node.ts index 1cb4248bdd73b..c2f639636674f 100644 --- a/packages/nodes-base/nodes/Typeform/TypeformTrigger.node.ts +++ b/packages/nodes-base/nodes/Typeform/TypeformTrigger.node.ts @@ -1,6 +1,6 @@ -import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; - import type { + IHookFunctions, + IWebhookFunctions, ICredentialsDecrypted, ICredentialTestFunctions, IDataObject, diff --git a/packages/nodes-base/nodes/UProc/GenericFunctions.ts b/packages/nodes-base/nodes/UProc/GenericFunctions.ts index 2c7b2b4ec7b6d..9b96f5b51de01 100644 --- a/packages/nodes-base/nodes/UProc/GenericFunctions.ts +++ b/packages/nodes-base/nodes/UProc/GenericFunctions.ts @@ -1,12 +1,9 @@ import type { + IDataObject, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, -} from 'n8n-core'; - -import type { - IDataObject, IHttpRequestMethods, IHttpRequestOptions, JsonObject, diff --git a/packages/nodes-base/nodes/UProc/UProc.node.ts b/packages/nodes-base/nodes/UProc/UProc.node.ts index 53fe50d85d04c..bcd9f2967a83a 100644 --- a/packages/nodes-base/nodes/UProc/UProc.node.ts +++ b/packages/nodes-base/nodes/UProc/UProc.node.ts @@ -1,7 +1,6 @@ /* eslint-disable n8n-nodes-base/node-filename-against-convention */ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/UnleashedSoftware/GenericFunctions.ts b/packages/nodes-base/nodes/UnleashedSoftware/GenericFunctions.ts index a2f508dd6b744..510cc36b606d6 100644 --- a/packages/nodes-base/nodes/UnleashedSoftware/GenericFunctions.ts +++ b/packages/nodes-base/nodes/UnleashedSoftware/GenericFunctions.ts @@ -1,13 +1,13 @@ import type { OptionsWithUrl } from 'request'; import type { + IDataObject, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, -} from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; import { createHmac } from 'crypto'; diff --git a/packages/nodes-base/nodes/UnleashedSoftware/UnleashedSoftware.node.ts b/packages/nodes-base/nodes/UnleashedSoftware/UnleashedSoftware.node.ts index f09ae141f5916..69ff21a8cafba 100644 --- a/packages/nodes-base/nodes/UnleashedSoftware/UnleashedSoftware.node.ts +++ b/packages/nodes-base/nodes/UnleashedSoftware/UnleashedSoftware.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/Uplead/GenericFunctions.ts b/packages/nodes-base/nodes/Uplead/GenericFunctions.ts index e91947e214348..b18069ad2a79f 100644 --- a/packages/nodes-base/nodes/Uplead/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Uplead/GenericFunctions.ts @@ -1,12 +1,12 @@ import type { OptionsWithUri } from 'request'; import type { + IDataObject, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, -} from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function upleadApiRequest( diff --git a/packages/nodes-base/nodes/Uplead/Uplead.node.ts b/packages/nodes-base/nodes/Uplead/Uplead.node.ts index 43f7f6e0e136d..63a130546923a 100644 --- a/packages/nodes-base/nodes/Uplead/Uplead.node.ts +++ b/packages/nodes-base/nodes/Uplead/Uplead.node.ts @@ -1,5 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/UptimeRobot/GenericFunctions.ts b/packages/nodes-base/nodes/UptimeRobot/GenericFunctions.ts index d378c7f55ad3d..4643c82dcfe9d 100644 --- a/packages/nodes-base/nodes/UptimeRobot/GenericFunctions.ts +++ b/packages/nodes-base/nodes/UptimeRobot/GenericFunctions.ts @@ -1,8 +1,6 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; +import type { IExecuteFunctions, IDataObject, JsonObject } from 'n8n-workflow'; import { NodeApiError, NodeOperationError } from 'n8n-workflow'; export async function uptimeRobotApiRequest( diff --git a/packages/nodes-base/nodes/UptimeRobot/UptimeRobot.node.ts b/packages/nodes-base/nodes/UptimeRobot/UptimeRobot.node.ts index b8eff069f2250..0fb7324c76c5e 100644 --- a/packages/nodes-base/nodes/UptimeRobot/UptimeRobot.node.ts +++ b/packages/nodes-base/nodes/UptimeRobot/UptimeRobot.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/UrlScanIo/GenericFunctions.ts b/packages/nodes-base/nodes/UrlScanIo/GenericFunctions.ts index 49e116bf29b42..d69867a7f6e47 100644 --- a/packages/nodes-base/nodes/UrlScanIo/GenericFunctions.ts +++ b/packages/nodes-base/nodes/UrlScanIo/GenericFunctions.ts @@ -1,8 +1,6 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject } from 'n8n-workflow'; +import type { IExecuteFunctions, IDataObject } from 'n8n-workflow'; export async function urlScanIoApiRequest( this: IExecuteFunctions, diff --git a/packages/nodes-base/nodes/UrlScanIo/UrlScanIo.node.ts b/packages/nodes-base/nodes/UrlScanIo/UrlScanIo.node.ts index 398b79b043e10..e4295ee4718cf 100644 --- a/packages/nodes-base/nodes/UrlScanIo/UrlScanIo.node.ts +++ b/packages/nodes-base/nodes/UrlScanIo/UrlScanIo.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/Venafi/Datacenter/GenericFunctions.ts b/packages/nodes-base/nodes/Venafi/Datacenter/GenericFunctions.ts index 26f9060a2a5c1..55d14056531d7 100644 --- a/packages/nodes-base/nodes/Venafi/Datacenter/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Venafi/Datacenter/GenericFunctions.ts @@ -1,13 +1,12 @@ import type { OptionsWithUri } from 'request'; import type { + IDataObject, IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions, IPollFunctions, -} from 'n8n-core'; - -import type { IDataObject } from 'n8n-workflow'; +} from 'n8n-workflow'; import get from 'lodash.get'; diff --git a/packages/nodes-base/nodes/Venafi/Datacenter/VenafiTlsProtectDatacenter.node.ts b/packages/nodes-base/nodes/Venafi/Datacenter/VenafiTlsProtectDatacenter.node.ts index 9d498b8d6a589..96a18448d3a06 100644 --- a/packages/nodes-base/nodes/Venafi/Datacenter/VenafiTlsProtectDatacenter.node.ts +++ b/packages/nodes-base/nodes/Venafi/Datacenter/VenafiTlsProtectDatacenter.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/Venafi/Datacenter/VenafiTlsProtectDatacenterTrigger.node.ts b/packages/nodes-base/nodes/Venafi/Datacenter/VenafiTlsProtectDatacenterTrigger.node.ts index d8c0aba582179..7035cbdaf2a0d 100644 --- a/packages/nodes-base/nodes/Venafi/Datacenter/VenafiTlsProtectDatacenterTrigger.node.ts +++ b/packages/nodes-base/nodes/Venafi/Datacenter/VenafiTlsProtectDatacenterTrigger.node.ts @@ -1,6 +1,5 @@ -import type { IPollFunctions } from 'n8n-core'; - import type { + IPollFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/Venafi/ProtectCloud/GenericFunctions.ts b/packages/nodes-base/nodes/Venafi/ProtectCloud/GenericFunctions.ts index 792f0626ceae0..7bdffa5541287 100644 --- a/packages/nodes-base/nodes/Venafi/ProtectCloud/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Venafi/ProtectCloud/GenericFunctions.ts @@ -1,8 +1,13 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; - -import type { IDataObject, IHookFunctions, JsonObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + IExecuteSingleFunctions, + ILoadOptionsFunctions, + IDataObject, + IHookFunctions, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; import get from 'lodash.get'; diff --git a/packages/nodes-base/nodes/Venafi/ProtectCloud/VenafiTlsProtectCloud.node.ts b/packages/nodes-base/nodes/Venafi/ProtectCloud/VenafiTlsProtectCloud.node.ts index 2a34b0d6723ea..97fb3876f2d44 100644 --- a/packages/nodes-base/nodes/Venafi/ProtectCloud/VenafiTlsProtectCloud.node.ts +++ b/packages/nodes-base/nodes/Venafi/ProtectCloud/VenafiTlsProtectCloud.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Vero/GenericFunctions.ts b/packages/nodes-base/nodes/Vero/GenericFunctions.ts index 2557c5b34f3d4..cb2b1a087f001 100644 --- a/packages/nodes-base/nodes/Vero/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Vero/GenericFunctions.ts @@ -1,6 +1,11 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import type { IDataObject, JsonObject } from 'n8n-workflow'; +import type { + IDataObject, + IExecuteFunctions, + IExecuteSingleFunctions, + ILoadOptionsFunctions, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function veroApiRequest( diff --git a/packages/nodes-base/nodes/Vero/Vero.node.ts b/packages/nodes-base/nodes/Vero/Vero.node.ts index 38d2c67f61617..d4814263037fe 100644 --- a/packages/nodes-base/nodes/Vero/Vero.node.ts +++ b/packages/nodes-base/nodes/Vero/Vero.node.ts @@ -1,5 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/Vonage/GenericFunctions.ts b/packages/nodes-base/nodes/Vonage/GenericFunctions.ts index 376bde7a2e36e..b67d956f451f7 100644 --- a/packages/nodes-base/nodes/Vonage/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Vonage/GenericFunctions.ts @@ -1,8 +1,12 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + IExecuteSingleFunctions, + ILoadOptionsFunctions, + IDataObject, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function vonageApiRequest( diff --git a/packages/nodes-base/nodes/Vonage/Vonage.node.ts b/packages/nodes-base/nodes/Vonage/Vonage.node.ts index 1c8217944300d..162b982c3aec2 100644 --- a/packages/nodes-base/nodes/Vonage/Vonage.node.ts +++ b/packages/nodes-base/nodes/Vonage/Vonage.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/Wait/Wait.node.ts b/packages/nodes-base/nodes/Wait/Wait.node.ts index 85b7343a3e823..72a60bbbcf1f6 100644 --- a/packages/nodes-base/nodes/Wait/Wait.node.ts +++ b/packages/nodes-base/nodes/Wait/Wait.node.ts @@ -1,7 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; -import { BINARY_ENCODING, WAIT_TIME_UNLIMITED } from 'n8n-core'; - import type { + IExecuteFunctions, ICredentialDataDecryptedObject, IDataObject, INodeExecutionData, @@ -10,7 +8,7 @@ import type { IWebhookFunctions, IWebhookResponseData, } from 'n8n-workflow'; -import { NodeOperationError } from 'n8n-workflow'; +import { BINARY_ENCODING, WAIT_TIME_UNLIMITED, NodeOperationError } from 'n8n-workflow'; import fs from 'fs'; import stream from 'stream'; diff --git a/packages/nodes-base/nodes/Webflow/GenericFunctions.ts b/packages/nodes-base/nodes/Webflow/GenericFunctions.ts index 485054a482793..c91eead9b2691 100644 --- a/packages/nodes-base/nodes/Webflow/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Webflow/GenericFunctions.ts @@ -1,13 +1,12 @@ import type { OptionsWithUri } from 'request'; import type { + IDataObject, IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions, IWebhookFunctions, -} from 'n8n-core'; - -import type { IDataObject } from 'n8n-workflow'; +} from 'n8n-workflow'; export async function webflowApiRequest( this: IHookFunctions | IExecuteFunctions | ILoadOptionsFunctions | IWebhookFunctions, diff --git a/packages/nodes-base/nodes/Webflow/Webflow.node.ts b/packages/nodes-base/nodes/Webflow/Webflow.node.ts index bc6019e1fbcd9..7acc90e54c32c 100644 --- a/packages/nodes-base/nodes/Webflow/Webflow.node.ts +++ b/packages/nodes-base/nodes/Webflow/Webflow.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Webflow/WebflowTrigger.node.ts b/packages/nodes-base/nodes/Webflow/WebflowTrigger.node.ts index 0fc80f5d015a8..e7cd8251a80fb 100644 --- a/packages/nodes-base/nodes/Webflow/WebflowTrigger.node.ts +++ b/packages/nodes-base/nodes/Webflow/WebflowTrigger.node.ts @@ -1,6 +1,6 @@ -import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; - import type { + IHookFunctions, + IWebhookFunctions, IDataObject, ILoadOptionsFunctions, INodePropertyOptions, diff --git a/packages/nodes-base/nodes/Webhook/Webhook.node.ts b/packages/nodes-base/nodes/Webhook/Webhook.node.ts index a1a9efa138fa7..716fa35b8582e 100644 --- a/packages/nodes-base/nodes/Webhook/Webhook.node.ts +++ b/packages/nodes-base/nodes/Webhook/Webhook.node.ts @@ -1,7 +1,5 @@ -import type { IWebhookFunctions } from 'n8n-core'; -import { BINARY_ENCODING } from 'n8n-core'; - import type { + IWebhookFunctions, ICredentialDataDecryptedObject, IDataObject, INodeExecutionData, @@ -9,7 +7,7 @@ import type { INodeTypeDescription, IWebhookResponseData, } from 'n8n-workflow'; -import { NodeOperationError } from 'n8n-workflow'; +import { BINARY_ENCODING, NodeOperationError } from 'n8n-workflow'; import fs from 'fs'; import stream from 'stream'; diff --git a/packages/nodes-base/nodes/Wekan/GenericFunctions.ts b/packages/nodes-base/nodes/Wekan/GenericFunctions.ts index 88f919571fa3a..4308ec8eb4a50 100644 --- a/packages/nodes-base/nodes/Wekan/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Wekan/GenericFunctions.ts @@ -1,8 +1,11 @@ -import type { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions } from 'n8n-core'; - import type { OptionsWithUri } from 'request'; -import type { IDataObject } from 'n8n-workflow'; +import type { + IDataObject, + IExecuteFunctions, + IHookFunctions, + ILoadOptionsFunctions, +} from 'n8n-workflow'; export async function apiRequest( this: IHookFunctions | IExecuteFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Wekan/Wekan.node.ts b/packages/nodes-base/nodes/Wekan/Wekan.node.ts index 8a4c2c69b5c8c..fe83b296bc2ed 100644 --- a/packages/nodes-base/nodes/Wekan/Wekan.node.ts +++ b/packages/nodes-base/nodes/Wekan/Wekan.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Wise/GenericFunctions.ts b/packages/nodes-base/nodes/Wise/GenericFunctions.ts index 75d2030dc4e20..21372da30d116 100644 --- a/packages/nodes-base/nodes/Wise/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Wise/GenericFunctions.ts @@ -1,9 +1,9 @@ import { createSign } from 'crypto'; -import type { IExecuteFunctions, IHookFunctions } from 'n8n-core'; - import type { IDataObject, + IExecuteFunctions, + IHookFunctions, IHttpRequestOptions, ILoadOptionsFunctions, JsonObject, diff --git a/packages/nodes-base/nodes/Wise/Wise.node.ts b/packages/nodes-base/nodes/Wise/Wise.node.ts index f7a66d0893da9..2d00939bfc7c9 100644 --- a/packages/nodes-base/nodes/Wise/Wise.node.ts +++ b/packages/nodes-base/nodes/Wise/Wise.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Wise/WiseTrigger.node.ts b/packages/nodes-base/nodes/Wise/WiseTrigger.node.ts index 411973723c7c3..f5b23538c315d 100644 --- a/packages/nodes-base/nodes/Wise/WiseTrigger.node.ts +++ b/packages/nodes-base/nodes/Wise/WiseTrigger.node.ts @@ -1,6 +1,6 @@ -import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; - import type { + IHookFunctions, + IWebhookFunctions, IDataObject, ILoadOptionsFunctions, INodeType, diff --git a/packages/nodes-base/nodes/WooCommerce/GenericFunctions.ts b/packages/nodes-base/nodes/WooCommerce/GenericFunctions.ts index e054792a018c2..a7a2b24d8041d 100644 --- a/packages/nodes-base/nodes/WooCommerce/GenericFunctions.ts +++ b/packages/nodes-base/nodes/WooCommerce/GenericFunctions.ts @@ -1,14 +1,14 @@ import type { OptionsWithUri } from 'request'; import type { + ICredentialDataDecryptedObject, + IDataObject, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, IWebhookFunctions, -} from 'n8n-core'; - -import type { ICredentialDataDecryptedObject, IDataObject } from 'n8n-workflow'; +} from 'n8n-workflow'; import type { ICouponLine, IFeeLine, ILineItem, IShoppingLine } from './OrderInterface'; diff --git a/packages/nodes-base/nodes/WooCommerce/WooCommerce.node.ts b/packages/nodes-base/nodes/WooCommerce/WooCommerce.node.ts index c048a8dd2df10..2351bfffb5199 100644 --- a/packages/nodes-base/nodes/WooCommerce/WooCommerce.node.ts +++ b/packages/nodes-base/nodes/WooCommerce/WooCommerce.node.ts @@ -1,5 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/WooCommerce/WooCommerceTrigger.node.ts b/packages/nodes-base/nodes/WooCommerce/WooCommerceTrigger.node.ts index e95fa4fecc8b1..4aa9c634f1a78 100644 --- a/packages/nodes-base/nodes/WooCommerce/WooCommerceTrigger.node.ts +++ b/packages/nodes-base/nodes/WooCommerce/WooCommerceTrigger.node.ts @@ -1,6 +1,6 @@ -import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; - import type { + IHookFunctions, + IWebhookFunctions, IDataObject, INodeType, INodeTypeDescription, diff --git a/packages/nodes-base/nodes/Wordpress/GenericFunctions.ts b/packages/nodes-base/nodes/Wordpress/GenericFunctions.ts index 1188962605d36..5470a0724b090 100644 --- a/packages/nodes-base/nodes/Wordpress/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Wordpress/GenericFunctions.ts @@ -1,8 +1,12 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + IExecuteSingleFunctions, + ILoadOptionsFunctions, + IDataObject, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function wordpressApiRequest( diff --git a/packages/nodes-base/nodes/Wordpress/Wordpress.node.ts b/packages/nodes-base/nodes/Wordpress/Wordpress.node.ts index ff807a6f374f1..373bf30772fa2 100644 --- a/packages/nodes-base/nodes/Wordpress/Wordpress.node.ts +++ b/packages/nodes-base/nodes/Wordpress/Wordpress.node.ts @@ -1,5 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Workable/GenericFunctions.ts b/packages/nodes-base/nodes/Workable/GenericFunctions.ts index 9ebb0d4ffae31..b0ac7888900fb 100644 --- a/packages/nodes-base/nodes/Workable/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Workable/GenericFunctions.ts @@ -1,13 +1,13 @@ import type { OptionsWithUri } from 'request'; import type { + IDataObject, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, -} from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function workableApiRequest( diff --git a/packages/nodes-base/nodes/Workable/WorkableTrigger.node.ts b/packages/nodes-base/nodes/Workable/WorkableTrigger.node.ts index 05cf3447e11d2..b7fcaceb5641f 100644 --- a/packages/nodes-base/nodes/Workable/WorkableTrigger.node.ts +++ b/packages/nodes-base/nodes/Workable/WorkableTrigger.node.ts @@ -1,6 +1,6 @@ -import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; - import type { + IHookFunctions, + IWebhookFunctions, IDataObject, ILoadOptionsFunctions, INodePropertyOptions, diff --git a/packages/nodes-base/nodes/WorkflowTrigger/WorkflowTrigger.node.ts b/packages/nodes-base/nodes/WorkflowTrigger/WorkflowTrigger.node.ts index 4cc89edf9e284..a78e1f6b8ce80 100644 --- a/packages/nodes-base/nodes/WorkflowTrigger/WorkflowTrigger.node.ts +++ b/packages/nodes-base/nodes/WorkflowTrigger/WorkflowTrigger.node.ts @@ -1,5 +1,9 @@ -import type { ITriggerFunctions } from 'n8n-core'; -import type { INodeType, INodeTypeDescription, ITriggerResponse } from 'n8n-workflow'; +import type { + ITriggerFunctions, + INodeType, + INodeTypeDescription, + ITriggerResponse, +} from 'n8n-workflow'; type eventType = 'Workflow activated' | 'Workflow updated' | undefined; type activationType = 'activate' | 'update'; diff --git a/packages/nodes-base/nodes/WriteBinaryFile/WriteBinaryFile.node.ts b/packages/nodes-base/nodes/WriteBinaryFile/WriteBinaryFile.node.ts index dc3695c4aafde..176f7fa4e2bb6 100644 --- a/packages/nodes-base/nodes/WriteBinaryFile/WriteBinaryFile.node.ts +++ b/packages/nodes-base/nodes/WriteBinaryFile/WriteBinaryFile.node.ts @@ -1,10 +1,10 @@ -import { BINARY_ENCODING } from 'n8n-core'; import type { IExecuteFunctions, INodeExecutionData, INodeType, INodeTypeDescription, } from 'n8n-workflow'; +import { BINARY_ENCODING } from 'n8n-workflow'; import { writeFile as fsWriteFile } from 'fs/promises'; import type { Readable } from 'stream'; diff --git a/packages/nodes-base/nodes/Wufoo/GenericFunctions.ts b/packages/nodes-base/nodes/Wufoo/GenericFunctions.ts index cfa62b5037f6f..2a58f899a7fc1 100644 --- a/packages/nodes-base/nodes/Wufoo/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Wufoo/GenericFunctions.ts @@ -1,13 +1,12 @@ import type { OptionsWithUri } from 'request'; import type { + IDataObject, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, -} from 'n8n-core'; - -import type { IDataObject } from 'n8n-workflow'; +} from 'n8n-workflow'; export async function wufooApiRequest( this: IHookFunctions | IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Wufoo/WufooTrigger.node.ts b/packages/nodes-base/nodes/Wufoo/WufooTrigger.node.ts index d971ea9e4dbe9..575c29c320091 100644 --- a/packages/nodes-base/nodes/Wufoo/WufooTrigger.node.ts +++ b/packages/nodes-base/nodes/Wufoo/WufooTrigger.node.ts @@ -1,6 +1,6 @@ -import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; - import type { + IHookFunctions, + IWebhookFunctions, IDataObject, ILoadOptionsFunctions, INodePropertyOptions, diff --git a/packages/nodes-base/nodes/Xero/GenericFunctions.ts b/packages/nodes-base/nodes/Xero/GenericFunctions.ts index 7aacd700005ea..56a248827ee51 100644 --- a/packages/nodes-base/nodes/Xero/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Xero/GenericFunctions.ts @@ -1,8 +1,12 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + IExecuteSingleFunctions, + ILoadOptionsFunctions, + IDataObject, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function xeroApiRequest( diff --git a/packages/nodes-base/nodes/Xero/Xero.node.ts b/packages/nodes-base/nodes/Xero/Xero.node.ts index 3e141b4ccba94..1b5474178bd58 100644 --- a/packages/nodes-base/nodes/Xero/Xero.node.ts +++ b/packages/nodes-base/nodes/Xero/Xero.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Xml/Xml.node.ts b/packages/nodes-base/nodes/Xml/Xml.node.ts index ef02376007c0f..213ce2df7320b 100644 --- a/packages/nodes-base/nodes/Xml/Xml.node.ts +++ b/packages/nodes-base/nodes/Xml/Xml.node.ts @@ -1,6 +1,10 @@ import { Builder, Parser } from 'xml2js'; -import type { IExecuteFunctions } from 'n8n-core'; -import type { INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { + IExecuteFunctions, + INodeExecutionData, + INodeType, + INodeTypeDescription, +} from 'n8n-workflow'; import { NodeOperationError } from 'n8n-workflow'; export class Xml implements INodeType { diff --git a/packages/nodes-base/nodes/Yourls/GenericFunctions.ts b/packages/nodes-base/nodes/Yourls/GenericFunctions.ts index d0a2609db720a..293d4842d2b16 100644 --- a/packages/nodes-base/nodes/Yourls/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Yourls/GenericFunctions.ts @@ -1,8 +1,12 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + IExecuteSingleFunctions, + ILoadOptionsFunctions, + IDataObject, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError, NodeOperationError } from 'n8n-workflow'; export async function yourlsApiRequest( diff --git a/packages/nodes-base/nodes/Yourls/Yourls.node.ts b/packages/nodes-base/nodes/Yourls/Yourls.node.ts index 2bd866fbec08d..a5eb9ac2905e3 100644 --- a/packages/nodes-base/nodes/Yourls/Yourls.node.ts +++ b/packages/nodes-base/nodes/Yourls/Yourls.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/Zammad/GenericFunctions.ts b/packages/nodes-base/nodes/Zammad/GenericFunctions.ts index 37722b1077679..0ef1fba494665 100644 --- a/packages/nodes-base/nodes/Zammad/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Zammad/GenericFunctions.ts @@ -1,6 +1,9 @@ -import type { IExecuteFunctions } from 'n8n-core'; - -import type { IDataObject, ILoadOptionsFunctions, JsonObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + IDataObject, + ILoadOptionsFunctions, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError, NodeOperationError } from 'n8n-workflow'; import type { OptionsWithUri } from 'request'; diff --git a/packages/nodes-base/nodes/Zammad/Zammad.node.ts b/packages/nodes-base/nodes/Zammad/Zammad.node.ts index 8a71a93d265f4..ef142bc6be940 100644 --- a/packages/nodes-base/nodes/Zammad/Zammad.node.ts +++ b/packages/nodes-base/nodes/Zammad/Zammad.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, ICredentialsDecrypted, ICredentialTestFunctions, IDataObject, diff --git a/packages/nodes-base/nodes/Zendesk/GenericFunctions.ts b/packages/nodes-base/nodes/Zendesk/GenericFunctions.ts index 6c06ab7f6637f..9b700e1785c57 100644 --- a/packages/nodes-base/nodes/Zendesk/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Zendesk/GenericFunctions.ts @@ -1,13 +1,12 @@ import type { OptionsWithUri } from 'request'; import type { + IDataObject, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, -} from 'n8n-core'; - -import type { IDataObject } from 'n8n-workflow'; +} from 'n8n-workflow'; function getUri(resource: string, subdomain: string) { if (resource.includes('webhooks')) { diff --git a/packages/nodes-base/nodes/Zendesk/Zendesk.node.ts b/packages/nodes-base/nodes/Zendesk/Zendesk.node.ts index 084e384c3620f..b79049a9fbc56 100644 --- a/packages/nodes-base/nodes/Zendesk/Zendesk.node.ts +++ b/packages/nodes-base/nodes/Zendesk/Zendesk.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Zendesk/ZendeskTrigger.node.ts b/packages/nodes-base/nodes/Zendesk/ZendeskTrigger.node.ts index 1525caf0ccc79..8028c9507069d 100644 --- a/packages/nodes-base/nodes/Zendesk/ZendeskTrigger.node.ts +++ b/packages/nodes-base/nodes/Zendesk/ZendeskTrigger.node.ts @@ -1,6 +1,6 @@ -import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; - import type { + IHookFunctions, + IWebhookFunctions, IDataObject, ILoadOptionsFunctions, INodePropertyOptions, diff --git a/packages/nodes-base/nodes/Zoho/GenericFunctions.ts b/packages/nodes-base/nodes/Zoho/GenericFunctions.ts index ad94e0e0ebc85..b64b91f9290d4 100644 --- a/packages/nodes-base/nodes/Zoho/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Zoho/GenericFunctions.ts @@ -1,8 +1,12 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, IHookFunctions } from 'n8n-core'; - -import type { IDataObject, ILoadOptionsFunctions, JsonObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + IHookFunctions, + IDataObject, + ILoadOptionsFunctions, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError, NodeOperationError } from 'n8n-workflow'; import flow from 'lodash.flow'; diff --git a/packages/nodes-base/nodes/Zoho/ZohoCrm.node.ts b/packages/nodes-base/nodes/Zoho/ZohoCrm.node.ts index 3dfe8016ef54c..bf468d29ccaaf 100644 --- a/packages/nodes-base/nodes/Zoho/ZohoCrm.node.ts +++ b/packages/nodes-base/nodes/Zoho/ZohoCrm.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Zoom/GenericFunctions.ts b/packages/nodes-base/nodes/Zoom/GenericFunctions.ts index 754779fe2b96f..faa63161ed3f6 100644 --- a/packages/nodes-base/nodes/Zoom/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Zoom/GenericFunctions.ts @@ -1,8 +1,12 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; - -import type { IDataObject, JsonObject } from 'n8n-workflow'; +import type { + IExecuteFunctions, + IExecuteSingleFunctions, + ILoadOptionsFunctions, + IDataObject, + JsonObject, +} from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; export async function zoomApiRequest( diff --git a/packages/nodes-base/nodes/Zoom/Zoom.node.ts b/packages/nodes-base/nodes/Zoom/Zoom.node.ts index 72c8d79fa31d7..6ca3f8e93523c 100644 --- a/packages/nodes-base/nodes/Zoom/Zoom.node.ts +++ b/packages/nodes-base/nodes/Zoom/Zoom.node.ts @@ -1,6 +1,5 @@ -import type { IExecuteFunctions } from 'n8n-core'; - import type { + IExecuteFunctions, IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Zulip/GenericFunctions.ts b/packages/nodes-base/nodes/Zulip/GenericFunctions.ts index 59509ad7572b9..f8c7f06be4ba1 100644 --- a/packages/nodes-base/nodes/Zulip/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Zulip/GenericFunctions.ts @@ -1,14 +1,19 @@ import type { OptionsWithUri } from 'request'; -import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { + IDataObject, + IExecuteFunctions, + ILoadOptionsFunctions, + IHookFunctions, + IWebhookFunctions, + JsonObject, +} from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; import type { IMessage } from './MessageInterface'; import type { IStream } from './StreamInterface'; import type { IUser } from './UserInterface'; -import type { IDataObject, IHookFunctions, IWebhookFunctions, JsonObject } from 'n8n-workflow'; -import { NodeApiError } from 'n8n-workflow'; - export async function zulipApiRequest( this: IExecuteFunctions | IWebhookFunctions | IHookFunctions | ILoadOptionsFunctions, method: string, diff --git a/packages/nodes-base/package.json b/packages/nodes-base/package.json index 30f3d2cfaf614..f20f9a2f64569 100644 --- a/packages/nodes-base/package.json +++ b/packages/nodes-base/package.json @@ -739,6 +739,7 @@ "@types/formidable": "^1.0.31", "@types/gm": "^1.25.0", "@types/imap-simple": "^4.2.0", + "@types/js-nacl": "^1.3.0", "@types/jsonwebtoken": "^9.0.1", "@types/lodash": "^4.14.191", "@types/lodash.assign": "^4", @@ -799,11 +800,10 @@ "@types/xml2js": "^0.4.3", "eslint-plugin-n8n-nodes-base": "^1.12.0", "gulp": "^4.0.0", - "n8n-workflow": "workspace:*" + "n8n-core": "workspace:*" }, "dependencies": { "@kafkajs/confluent-schema-registry": "1.0.6", - "@types/js-nacl": "^1.3.0", "amqplib": "^0.10.3", "aws4": "^1.8.0", "basic-auth": "^2.0.1", @@ -875,7 +875,7 @@ "mqtt": "4.2.6", "mssql": "^8.1.2", "mysql2": "~2.3.0", - "n8n-core": "workspace:*", + "n8n-workflow": "workspace:*", "node-html-markdown": "^1.1.3", "node-ssh": "^12.0.0", "nodemailer": "^6.7.1", diff --git a/packages/workflow/src/Constants.ts b/packages/workflow/src/Constants.ts new file mode 100644 index 0000000000000..e2a6fdf1e8540 --- /dev/null +++ b/packages/workflow/src/Constants.ts @@ -0,0 +1,3 @@ +/* eslint-disable @typescript-eslint/naming-convention */ +export const BINARY_ENCODING = 'base64'; +export const WAIT_TIME_UNLIMITED = '3000-01-01T00:00:00.000Z'; diff --git a/packages/workflow/src/index.ts b/packages/workflow/src/index.ts index e956f38a230cd..117440e417189 100644 --- a/packages/workflow/src/index.ts +++ b/packages/workflow/src/index.ts @@ -5,6 +5,7 @@ import * as ObservableObject from './ObservableObject'; import * as TelemetryHelpers from './TelemetryHelpers'; export * from './Authentication'; +export * from './Constants'; export * from './Cron'; export * from './DeferredPromise'; export * from './Interfaces'; @@ -36,3 +37,9 @@ export { ExpressionExtensions } from './Extensions'; export { NativeMethods } from './NativeMethods'; export type { DocMetadata } from './Extensions'; + +declare module 'http' { + export interface IncomingMessage { + rawBody: Buffer; + } +} diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8b17ec15dd8f2..1a8ad959f0664 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -921,7 +921,6 @@ importers: xml2js: ^0.4.23 dependencies: '@kafkajs/confluent-schema-registry': 1.0.6 - '@types/js-nacl': 1.3.0 amqplib: 0.10.3 aws4: 1.11.0 basic-auth: 2.0.1 @@ -993,7 +992,7 @@ importers: mqtt: 4.2.6 mssql: 8.1.4 mysql2: 2.3.3 - n8n-core: link:../core + n8n-workflow: link:../workflow node-html-markdown: 1.2.0 node-ssh: 12.0.5 nodemailer: 6.8.0 @@ -1026,6 +1025,7 @@ importers: '@types/formidable': 1.2.5 '@types/gm': 1.25.0 '@types/imap-simple': 4.2.5 + '@types/js-nacl': 1.3.0 '@types/jsonwebtoken': 9.0.1 '@types/lodash': 4.14.191 '@types/lodash.assign': 4.2.7 @@ -1086,7 +1086,7 @@ importers: '@types/xml2js': 0.4.11 eslint-plugin-n8n-nodes-base: 1.12.0_pku7h6lsbnh7tcsfjudlqd5qce gulp: 4.0.2 - n8n-workflow: link:../workflow + n8n-core: link:../core packages/workflow: specifiers: @@ -5644,7 +5644,7 @@ packages: /@types/js-nacl/1.3.0: resolution: {integrity: sha512-juUvxo444ZfwDSwWyhssMxSN+snqTdiUoOVXZF+/ffVrGHq3rAf1fmczWn3z9TCEAuRbaTmgAcYlZ9MutyyOkQ==} - dev: false + dev: true /@types/jsdom/20.0.1: resolution: {integrity: sha512-d0r18sZPmMQr1eG35u12FZfhIXNrnsPU/g5wvRKCUf/tOGilKKwYMYGqh33BNR6ba+2gkHw1EUiHoN3mn7E5IQ==}