diff --git a/packages/cli/src/WebhookHelpers.ts b/packages/cli/src/WebhookHelpers.ts index aa73abd3a3..e399f10beb 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 a019fdaddb..b3ddb8738d 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 6d2fe99321..72894e6eaa 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 34deb18f36..61cca27d8e 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 c15affb5d1..096d4b6c06 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 04d97a0768..e48bb62a89 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 8702fed988..d1ba8fab13 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 76934e5978..e7dccd146f 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 25f5ae3e1b..93ef009304 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 e7aa0c69cc..7c2089ce16 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 1de5b018fb..ac4f481d75 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 4941acf03b..fddbc8a268 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 1d316e9ab0..49314a20a6 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 54c81b3901..5350d7d17b 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 85377674d3..de920558fc 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 2492be7c8f..46722dad9b 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 6d85aad421..7e529e6759 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 eca99ab6bd..e7b04339cf 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 1266077e8d..15bcf5480f 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 ad24cc3bad..0730efd29b 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 7269b7f985..3fb6345f2f 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 494b9899b0..eb8d499b32 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 9902557e04..b54ae8f8da 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 6b046a1e5a..80e769e18a 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 8f7657fb77..38746077f2 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 68dcd10e21..d69fa908b6 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 cbdd192a3e..41398e4e7a 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 aef669dae2..a5d90db168 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 3029c56f1a..6e6efdcc3e 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 e8cce229e0..2115baa2c5 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 519dc6a338..4839ceed77 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 9e77f51419..da4c8f1a4c 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 7fd08548a1..44b2760a7b 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 3d17b80198..daba7d5506 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 2bb4a13697..ee208e1d54 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 bd73190879..006472ef77 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 a7e3160741..f5404f6522 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 60451d446c..3cd4d33f2e 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 e9644a736e..f38ca25613 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 39397a999b..493e240a70 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 ec178291b3..16f2e3c43d 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 7ff7086299..d86ecc77cd 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 f8742dc522..f8b6bee8b8 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 39158c26ea..354808befb 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 b23784527c..a44214133c 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 bacedf2714..b8101fd572 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 e2f5537e51..013150e2b5 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 bd5d124ea3..7611eaab78 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 482dd6b723..d9a49cc8a3 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 cd5556dfb1..e9d77c393d 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 aaf33419c4..eaf9b17af6 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 82ced08044..79fb349d05 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 3d49d2d1b0..addd787ce7 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 127b961f4a..01e8b19ea0 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 3dff43e92f..c894a5cf53 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 bd204610e5..1b7795f215 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 653756c1ca..62dc60ca28 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 89e51edeb3..6dda349bcb 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 f434a06174..5b9fe12109 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 e640af2ad3..0c7bf5f822 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 83f3e8be5e..25c13478e3 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 69c05d2b63..29881657cb 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 71cd2a6ceb..fcb32dc2e5 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 64fe5fc066..631f8bb994 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 5397bed3cc..92f48d01a5 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 c31b9ac101..94e805b380 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 8e9eef4a72..be7b824676 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 944a39f553..09b72eef50 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 5a58442210..43d9717c4b 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 55ce4f657b..fe667dfa0a 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 920718fb51..e20d26a8d7 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 ebdb752e50..4bbde0a7e8 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 0934bf07a5..82874197aa 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 0c84aa3f15..eb997b4d51 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 8b1c5e1f22..d53c4eb532 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 2ba818c255..7e7f294826 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 697022c75e..0657905e0f 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 7cd7b31e56..c776b17116 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 69109f9832..6bf6ba373a 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 0f9ce524fb..084f209de4 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 887e099b6b..c2b74baff0 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 067eb40615..e959caac3a 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 3988a47bbc..7fb65d9ac4 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 91169e7464..e91cba2e32 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 2f8ff31e2a..370ef54e6d 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 098b8a6c9e..1249681399 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 43314f2933..22259c3cdb 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 afbc6a657e..15a59c07b3 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 e6f0f3a8cf..4b59dbb15e 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 62a6438f03..3128e91ee9 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 793eef98e2..340797cec3 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 4910c0d5b6..e95eb42cfe 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 7252e7b6ec..53aec5c53e 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 46d473605f..af6f532623 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 2a97d652c1..781c252bce 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 19298dc8be..2acf1b7803 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 48f2831739..edc4f0dcbc 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 41b2a77594..3a3f47d2ac 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 e300d641ea..56635b50e6 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 7eba4e7091..9072497877 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 e37229745a..d4b9aad4c7 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 d99106f185..8a39ed87f4 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 f443e8f237..f5dcfe3409 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 37fb535552..9825986bce 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 3f88c19f46..4772205693 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 40182083ff..30ccdb4ff1 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 1b7357c993..cb8e32e051 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 2ccce87fdf..6af36fd6cc 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 1f898ade8c..621356270f 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 24defa030c..ac6a0c5558 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 ff586129a7..43424366a2 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 4d675ea1cd..ba88d62fbb 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 b3e8691138..20739f3910 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 dc9fa97365..3083912892 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 0dd1539abd..16101fb9ab 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 fb4f083f24..1fcbd8f3c5 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 76d1361d0a..75679eb3c2 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 13636430ba..50c047c8f8 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 9ce6256086..4d6b647c82 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 c8374d3a38..9cb72c1bbb 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 33587e894e..1378bdf203 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 afbb2f702b..4ec589c78d 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 8cccc59d34..3d7809244e 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 e2e775e9f2..c49d4b9b67 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 c43fcc0b5b..210876500c 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 0090cf6185..f40c265f29 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 f4e286c25e..24b1d14cb7 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 8204a97e09..acb6cb6a3e 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 d7fd7f4645..a193bf4a9f 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 fd96e528b4..74238b10ab 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 9c29a3cdfc..1b46cf5709 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 3298ed4fbf..c13f5f6109 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 35047dbeba..489bbdb617 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 a83e3509f6..e84ad5f69d 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 b150425129..c1346b1a6f 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 40952a6bbf..d9526152e6 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 dbde86f5e0..07106e1b7a 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 bbbe12a78b..5b7292edb6 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 099b3d1c51..90f38cdb4c 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 f7839ada04..1dee0443a8 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 275d4df8e8..4193e86707 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 4529dc3995..3733166b48 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 c4a224455b..db2e63ed37 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 924d54171c..d60fdac0bf 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 4c167c3b17..d670e8835e 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 { - IExecuteFunctions, - IExecuteSingleFunctions, - IHookFunctions, - ILoadOptionsFunctions, -} from 'n8n-core'; - import type { ICredentialDataDecryptedObject, ICredentialTestFunctions, IDataObject, + IExecuteFunctions, + IExecuteSingleFunctions, + IHookFunctions, + ILoadOptionsFunctions, 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 905de0805e..282536d3b7 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 322cee5c95..454f8f62a2 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 175f375aed..64330c7ca9 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 a07e083595..41222d243c 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 4ae9521f87..d6471873f5 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 13e58c917e..2cf3770747 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 6b6df1041f..aa73872818 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 e5832f6a6b..274fdf5276 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 35acbbfd57..3254325826 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 271ebf6c7c..4e09f3981e 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 f2ef75328f..13a5d39d0d 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 3e419c7b35..bb390bb26e 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 daee3b0b06..54d36f42c9 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 80eb48d6af..e1abbb2bff 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 4aeb4e5d07..235d6967e7 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 7f242de187..c1cf82b25b 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 1fe89b8ab4..043dd3a4b5 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 e4503280c8..56d137a03a 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 9da9a45059..547f099225 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 a2ca0f0bd7..33e1c59595 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 d4aeac7401..a7dfc3b638 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 e54052a82b..4c0e5338c8 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 043000f5b6..ae52f1719b 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 fb610fc38d..fe3a71660f 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 4a4e3ecbb6..834e1564c3 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 dba22be6ab..ca4d36417f 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 d001c0369f..ceb47cf516 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 3dc0977f71..c2623ce3f4 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 cbccd5b6af..d73f7331e7 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 b0b613b9dd..7f9c5cbe44 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 9cc6aa60a7..bbad071aa2 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 d6d853c852..bf096dd6ec 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 3fb79a1cad..7af362db76 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 329e2f2c4d..898986ad3a 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 9607aaaec2..bab9888743 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 ce38b63cb8..277f527e62 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 fadc50ce2d..6351eb1596 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 70903c4523..0ea3e23191 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 5217c75924..6e8e0561ac 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 0a4c85e5d0..be82c1c980 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 c3c26f442a..54732eb813 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 52ec0bda44..7de8096dfc 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 2e43a258a4..259766752f 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 823b16134c..2966306677 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 2775d7de0c..0f8854b1b8 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 c75db17b6e..8cf420fab5 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 86c3058a4e..61d9cac506 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 d57a1e643b..8c737abad1 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 ba8628a6d0..66575b454b 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 a186f2d627..cdf1a110ed 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 cf58cf0e5b..a81948fcb9 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 e7d1367827..cfe9090424 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 b2f1abfb82..862b03fa72 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 e290dc1f8e..71d4aaf937 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 7fe74a3b70..602d9cb28a 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 2f0e93ba90..fecd1938af 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 84b09a6540..b4dc39c57e 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 cb99b5fb3d..348647b12d 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 57549ab6e4..6b16e7eb1c 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 7f17384839..21c9da8f8d 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 07229db99d..a02c826ed5 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 b40544b45d..2d52b2f11a 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 4dcce9f046..f49f8e8c58 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 165e625af4..aaac818ff6 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 31cf060335..5ccfbcb3ef 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 89d52e7c71..ec1dd18965 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 9108989aa7..612bc45560 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 ff3cb1f40a..faca9dfe42 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 df201931ef..47ded6e2a4 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 dfa6f79a1d..f24e65125d 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 71d3722053..d0fcde930d 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 ce4a824003..804db46717 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 9f62de8ba1..db1d20c4a3 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 ce340591ee..f4bd44385f 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 593538153f..ed42ba9c6a 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 64a1efdedb..8f83b0cdcd 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 2379b78698..4b26b099e2 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 9079fb1c34..fd68301e75 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 ec12705ab5..bd60ce1cc3 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 5c7393802e..affcc6236c 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 0e5da0904a..3430912a0e 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 da43d10a8e..1c0813b3a7 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 da6cee4c58..55cc5c75a3 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 0cb2e6bce4..8b641fe147 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 3537c88587..a082254e73 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 f9b552cabf..e360924d85 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 f526e1e454..4daee7ee9f 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 3382b36aa4..f51d1461a6 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 82080fe457..ab087f5a3a 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 bc43ff40a9..ae1f5e141b 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 6dce53e0d3..6e1c2b17e6 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 877c3a29fd..ccf0c189cb 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 f69ec937c7..d63d49b6d7 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 e4d9b99990..1d7a435748 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 2e0c631d87..848bab2e96 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 62b5d7791d..99fcce1943 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 8f7b389773..ab9f9abb6e 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 4e9e5c55cc..43a01aacb7 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 66b658d2dc..9363d4392b 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 2b35201f90..66ad3232ee 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 1603395fd1..95f0421b07 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 7bd56df0fe..40fb2b9980 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 1ca0e728cb..9cdf31e1c2 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 3c285a4f7f..de2973ca2a 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 89ad4268c3..ab5929c31b 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 4e4b0146a6..bb9d36106c 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 fc74d82467..b8b11fb9cc 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 54fbe7f0c4..f65d6a5e39 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 5f0493e5a8..2b3d024581 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 f23435cf61..42ec063c5e 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 6e48096f00..b4b64d1786 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 8e5855d289..7c856d2621 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 da0de7881c..499cd0fb8f 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 7fb605cd01..d1e93c7171 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 f7322db8ea..787b6412f6 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 c3fb40b0f8..c40aa13ffe 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 7d4fab0236..74907f2277 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 790eec4b4e..f55ee6f942 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 c86ca96574..e9b2aa548b 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 53956c45e3..b8f18d2391 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 31c03c05a4..265b11773c 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 04416c22e8..68d5876506 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 b842cb6b61..b65cef0c12 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 3e808a7d73..c907f0a8f1 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 656cb94a5f..e18ea26ce5 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 4ef41ea265..b1209f66f5 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 43fc6ba74b..b9c50da913 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 018f6e104e..0ced6e1912 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 21d10ea33c..48d72bd9d7 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 92dcd3d1c0..02107fe8a0 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 92badb367d..13129d9d3a 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 3a2d77be8b..3fb890c20b 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 7b7f9a593d..cbc152205e 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 54ef0cca82..35023996de 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 bdea564385..e8d2cd9a26 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 fce70da36b..b82ea5a647 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 3c23bcea12..c5596c1a35 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 9cecd61488..dd8a022582 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 2a46185a74..341f76c9b1 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 312c949dac..583741c35f 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 b2931ba234..05f37984dd 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 4d21b8f51e..d54b13d7e5 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 d68f840a5c..0c90a294f5 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 1c5bcc4f95..eb4f7b6ecc 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 89e4dac2a3..f277b4f9de 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 9e04244765..cadc3a235e 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 67a854f9e3..7b989d6611 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 498a1097e6..791927f979 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 a380a222bd..15b9d2da58 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 { - IExecuteFunctions, - IExecuteSingleFunctions, - IHookFunctions, - ILoadOptionsFunctions, -} from 'n8n-core'; - import type { ICredentialDataDecryptedObject, ICredentialTestFunctions, IDataObject, + IExecuteFunctions, + IExecuteSingleFunctions, + IHookFunctions, + ILoadOptionsFunctions, 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 c547ab70bf..ac00a6b205 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 583728492a..99e0ee10f3 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 fb952ac931..d33ae31a96 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 601830fd06..8627f4f2c2 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 e630a5da88..224518fa7c 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 48b17593da..c08c2b72e2 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 6c19c082f6..b7c6f3f6e5 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 4a3d927bcb..f064da22d3 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 83faa932d6..f51e4fdb66 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 6a18b3699a..496f3df994 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 f88d099802..187d637eba 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 b02c2754cd..947ca7d994 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 9b23e7f3d3..ad331c7e8f 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 7e230c94d1..4b6e3c7b16 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 04cf2f1808..f97061c6f1 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 11735fd71a..1b488ab5e7 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 f61998e8a2..e4d48b983a 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 40ce762545..04e471bee6 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 47bd1db76f..5ba983f2e5 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 ac1e5a5322..6f7d70ad31 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 8cd27494b6..5f9f77f688 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 80783d167f..8a2e1113d4 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 5e02b3fee3..863a75596a 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 77efa6d857..e9030fe23c 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 d57ebb498c..3b06faca2e 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 e16ab70d71..1ff27bd302 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 31b0f62fbe..15adc3ea8a 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 83812d95f8..0ee412d907 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 e193d8f5ae..e668293b68 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 7f6a0ee0d8..94714f6866 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 417ac88fbd..4cf3d01311 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 3c70469384..2fd41b86d0 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 7864c94a01..70e6e5c465 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 759ab50bbd..06de58a088 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 d23b3ed413..6cae55780c 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 1139837e36..0b57cbbfc1 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 03a9bd75a2..21fed19e1c 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 577e83074c..644d6a8142 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 7da955000b..e127d7b01c 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 84e6c7d2b2..895a7bd831 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 5bdc6f3341..fd1f03b120 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 7fb62b2496..7dd7ea2f08 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 ac2b341d89..7bfea916c6 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 846d34674b..8110c04d05 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 b92568d17b..18336afd91 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 a0550d891f..b076fe13e7 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 59a7202621..1ea5f95228 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 af2c376024..657c4d077f 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 10afb975d4..fcf7d5d551 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 141d871461..f73b7a3d22 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 bb126b5051..4b2b60d3ff 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 96ebd4af79..0d74231dd2 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 6808b57be7..d27d7a3882 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 407f4b7a61..cdf6c34dd1 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 e52f225419..b4f7a52a23 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 abb12690e0..7305f5c5a2 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 c474cc1f15..89e5c44e1a 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 be82c8372a..9588ff9df9 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 dd15d13ab4..7204461b63 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 4a00dd9176..60c89b140b 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 3b429a14a6..a2064cd60f 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 624d41dafe..66b47a5d7e 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 bf29ecea6c..a0b7d2b13b 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 8281ced75b..c20a765791 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 e848d36877..079c1f5fc9 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 9739af5c5b..a4addebb62 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 925749b13a..c099142f03 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 700bd8e058..0dd9c33326 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 1713512827..1b5743c83c 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 43187ef190..b1d5fb0f30 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 a735f72e54..6e04675f12 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 fed5e848fd..975c4955e2 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 0945ea2547..e8f19605ad 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 5b48083a12..b8713bcc20 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 8fe76503e3..27d10566a3 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 163038f228..38f3eb6797 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 1595d4e708..0df51a8d08 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 6b3c3ae2ad..6e20a80383 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 638c10c4c4..60ed961f47 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 f0fddda9df..ae85f76b0e 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 0813546689..bd1af59af2 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 d117fb34a2..6f1023487f 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 626a10ae67..85eeee3b6f 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 dc83aaaa83..65c25d8da6 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 b5f1f22a74..738625d454 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 3bacfd7e4b..187cc30624 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 4bc861b511..24fc0cdf27 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 b5f650da5f..53433954a1 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 3afea8b387..63add5325a 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 3db55530a7..2195c79a1b 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 e9dace1619..15050bf875 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 9fff315afc..5ac51fed31 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 a3443fee58..cbefa40419 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 a809f2bf76..1e928c6ce6 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 7ba84c4cb9..5b8593bd9e 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 f09bb3d9d6..8ad09e74bb 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 aa3d131ad6..b9245753f6 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 cf1ad138a7..dba23f3953 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 07a59c8a08..6df1d682dd 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 707035b716..f29ed80272 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 99d624ec87..951f445ccf 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 b3efc2004c..fd6b94a866 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 c99cdb7e02..e61ff38028 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 8844245db3..881cde156f 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 8389f8b6d3..2f76822be1 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 0b57c05632..8c7c00dee2 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 79f692281b..cb44f3465e 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 18bcaf6fd3..886071c2bc 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 940b626c1e..a6fcff7263 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 256929753e..e4728f429b 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 f19d46c6b5..1b69ff951b 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 5c79b7f5a4..0d798f3e0c 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 73f6a3cdcc..3221508a29 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 7cfea02908..87868fc660 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 0c06144238..e027da5054 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 86ef8348fe..2c7831fe65 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 cd297ae78c..8574b1ca97 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 436df9b5ea..ecf395b197 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 96d1e9f911..5bf7c723d2 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 8693602db7..fc788a9170 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 df5d5899d1..84cefdbd55 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 eceb14fee7..9effb34372 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 f13a91da9f..cabc018cf6 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 7153b1915d..dd099e2f70 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 de4a90dff4..3c3e68def8 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 bb2cf787a7..1318b0bafc 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 fc53cd38b9..bc3dda5c21 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 b8a4cf115a..758a22c9b6 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 ee90e60652..c20cb3856d 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 4f9a01a685..373276dd8a 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 580b68d688..21bdd92411 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 6f48029e64..e9bed05212 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 af54927fa9..5a00a7f5ba 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 74cf4eb645..e1ba3be8f8 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 44531a293f..8a8321ae18 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 53bdf653ca..2bc6821244 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 08fbc3cd1f..6f7f89b457 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 { - IExecuteFunctions, - IExecuteSingleFunctions, - IHookFunctions, - ILoadOptionsFunctions, -} from 'n8n-core'; - import type { IBinaryKeyData, IDataObject, IDisplayOptions, + IExecuteFunctions, + IExecuteSingleFunctions, + IHookFunctions, + ILoadOptionsFunctions, INodeExecutionData, INodeProperties, IPollFunctions, diff --git a/packages/nodes-base/nodes/Notion/NotionTrigger.node.ts b/packages/nodes-base/nodes/Notion/NotionTrigger.node.ts index 7fe53f7f28..d453e88ea4 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 a52e16b35c..45d2f0e36c 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 ac897f15c1..6565175fd6 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 08fb3ab67a..573642ff3e 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 4425f32b8a..35ce0fa5ae 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 b7e89bb44a..b4c0ed746f 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 8bd650526b..7f133b4c05 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 2e8af446e2..494879723b 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 ed4fb7b032..3735a852df 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 52e51d52d2..38a5f39bc1 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 c46b247206..aab2b8577d 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 6497cd8b1e..04fcb30670 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 4e7fd71a86..86ff031d2a 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 87244f60b0..6c6c0a0e74 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 e4205c299c..a520f7f144 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 1824101465..d7cc845ec4 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 2943d59994..457028faea 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 be4cfbc7d2..a6951cb244 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 80540ffa54..52837e07ec 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 58f123a5ce..55a8c222e9 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 f2d8298eb2..6d64e29d18 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 a65d475175..856ab8822b 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 e1bd0735c4..0cbd3519b1 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 bde7d1fd32..b288aa77f2 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 b41e318fd9..920564fb5a 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 add08a50b1..904cd1114e 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 1be88c0bb3..23827052ad 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 2058b6e199..77953f45e4 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 2564309de0..677725a3fc 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 e4aab75c20..86bfc264ba 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 3e74a73739..60c0c2f316 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 c6f57e17b6..f308f6be47 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 1099b6942e..bc3f5b674a 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 871b00ef4c..0ef0201ae6 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 f16b6721d8..c05cd71917 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 a13c45759a..df0331ddc7 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 2fe841c2d7..ed1ca9171b 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 3aa05b8d1d..fd38598233 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 73154582ae..54252a6cc5 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 8edc2dc44b..da3bcb1e97 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 a70976f772..d5a834024c 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 6b4ace5ac9..003e58d981 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 0a8117dca6..7b1c8c4ec3 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 28bfc83cfe..9b0832d209 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 72b2c1a853..e40171c7a3 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 03b185f790..f5333705ad 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 64efce4b49..b21699c725 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 448d762c36..e9d9278de0 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 d24241e693..04ef96327c 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 6cdce05641..85a39bdafd 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 71adde2baf..373ed80f59 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 b4956b86e0..b2e47208ef 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 8ac15e6131..cde8a82e90 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 dc3d5f167b..5c3632189e 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 3ebc913835..00b591ee61 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 3f2c668162..bd9ebcb666 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 8fc6adb182..6626c94e53 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 8137433b2b..0008785eba 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 6ca92747cf..0980361273 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 402ff56f0f..72f952f73e 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 478e39c843..2224ee652d 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 37756aca7f..82bc6f3f7c 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 06b2d81842..e45a307fc2 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 6a28fab700..7c1dbce58e 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 5fe3cb70a7..637f589b85 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 52c801f4e7..1ad253620f 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 bc86f7567c..fe85acde4e 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 0afe0d4b16..0d7043b7da 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 28741b4c00..7e7837fc17 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 09c9bfdcbf..53d2b33c99 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 e1d5926f88..466b3efc0d 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 ed8aa56bcc..dd89c1a859 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 bbf7de5015..a6fec54d16 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 543c968778..d08880507b 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 dac8668c7b..2c40e3bd47 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 fd3745c507..9ede573334 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 0d1e3da992..c3ed713a8d 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 fe339a2add..2deb1de4ad 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 8d977cd44d..739a526963 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 c9fce4fe36..f83db44a1f 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 8b692dc488..cced148f89 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 7766ecb2ad..c36e00fb7a 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 6064b1caa5..fb5865f5a4 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 133c4ced19..0046b12f98 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 6d7f42361b..c3b355c8ca 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 c564bf1055..71d9e99773 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 97ca8b8571..0bfacf0437 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 42fe31b940..d10f9d74b9 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 ecef6c4cb6..bd244dab07 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 f07642c0c2..3fef89e3a5 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 b4ea190af1..198ace3caf 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 1c7be15513..4e7255fac4 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 00780840c3..88f7a043e2 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 930f6b3e97..f2672403ba 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 fe69007a6a..a4836165f9 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 28fc249288..c85617f202 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 ab0ee55f0a..8264cdce7a 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 3dfbce35eb..63059f3687 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 7e6301a5cb..903dd21228 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 a7fe0fa3c8..7fbbab14fb 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 ddcbe5883a..38e75aa3d1 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 459cd07e93..b54cd906e2 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 b95025cf96..7529623637 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 812c28697b..2203cdbe4b 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 99ef24dbc2..a0cfde72d4 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 0c0063314f..04fb96fcc1 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 1eead3da6f..d5368105d1 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 57faef5a97..2607affa1e 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 94d9ecd2ee..05d3871e1e 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 5926329366..819f147735 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 5f14626d82..537ce4101b 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 aaa49387fb..1b5e8f0aee 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 144aaa7c0a..052760a198 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 4e7e7081a8..c8d8a02fa2 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 8497db42a3..7f2328b0e3 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 401ae71d57..c42c34ad93 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 eb463da10d..15535b9851 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 4a5db782e4..48415187c2 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 204103a45b..63553d2fb0 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 4a40a427fb..db14905836 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 adef1ecdf5..a8c241e224 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 9b76b07502..7570e95eb5 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 { - IExecuteFunctions, - IExecuteSingleFunctions, - IHookFunctions, - ILoadOptionsFunctions, - IWebhookFunctions, -} from 'n8n-core'; - import type { ICredentialDataDecryptedObject, ICredentialTestFunctions, IDataObject, + IExecuteFunctions, + IExecuteSingleFunctions, + IHookFunctions, + ILoadOptionsFunctions, + IWebhookFunctions, INodeProperties, IPairedItemData, JsonObject, diff --git a/packages/nodes-base/nodes/Supabase/Supabase.node.ts b/packages/nodes-base/nodes/Supabase/Supabase.node.ts index 7b92a5b557..0068cd42a8 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 35701fe881..da7da90736 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 217c365d9b..07da21bf81 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 c89629e609..994daa6b75 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 a2896a3dc6..07a17ef81a 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 d1bfc3cfe5..c5741db5fd 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 479b161257..90aa9c88c4 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 8486cf109f..d43a4faf13 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 050ca6b0de..b7181b8aa4 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 09516fba10..6388af2457 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 7894aeac04..4fddaa1a59 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 a3b125a9f8..8952945d6c 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 2fcfea10d1..87503a8a7c 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 5e3061c0f4..e46e35fa06 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 28f17846ea..2af8779f59 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 a5ece78df8..aed9f515ff 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 310508c673..cf63a915dc 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 2507aff832..9b2c7fa3c4 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 70de352c3b..3a2520dc9a 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 895589e6cd..470be93cb2 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 0cf3310072..1c3f18782b 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 346d8de4d1..7557168682 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 1b4691045d..f5a32f8240 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 a48a0c1a57..0165b92aa4 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 e385957d17..415cbca633 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 83c66957dc..53f0ab16d1 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 4976d5542e..32c9acf290 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 06e7ae9ecb..be0ae9b082 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 e1c7d4c2a5..454d0ecac5 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 cfaf472b41..c7f22b79f7 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 fd52d966f8..e96b69c375 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 178eeda0c0..a11bdf6c13 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 331a4136fc..d12215f68f 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 1a35902433..1773926cf9 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 9236918c47..ee1252fe15 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 6362d93e8b..fab2dc8612 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 51041831fe..8699c15d06 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 709cacb2b4..3381fa25b0 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 0333ab5170..4278cc905a 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 f92c957fc9..dc9f6a3b29 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 a8b6e25bbf..f7e6b3e132 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 ab2d57e586..33557fc6b9 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 6afbef0150..3278ed27b6 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 8cadef352a..48553b7df6 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 896b3f4f52..701076cf54 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 6af4306c4e..c653b28050 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 6a02d4eee9..da784c1939 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 b928d3a01f..87d3b27aea 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 e4553e3518..bb6a5791fe 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 b2682d6aa1..b39f1353d1 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 f774df39e7..af6007d29e 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 54462285c3..55de035ead 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 2d5af978e4..95a8564d9f 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 825f63d275..7248439ec0 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 1cb4248bdd..c2f6396366 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 2c7b2b4ec7..9b96f5b51d 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 53fe50d85d..bcd9f2967a 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 a2f508dd6b..510cc36b60 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 f09ae141f5..69ff21a8ca 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 e91947e214..b18069ad2a 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 43f7f6e0e1..63a1305469 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 d378c7f55a..4643c82dcf 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 b8eff069f2..0fb7324c76 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 49e116bf29..d69867a7f6 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 398b79b043..e4295ee471 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 26f9060a2a..55d1405653 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 9d498b8d6a..96a18448d3 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 d8c0aba582..7035cbdaf2 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 792f0626ce..7bdffa5541 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 2a34b0d672..97fb3876f2 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 2557c5b34f..cb2b1a087f 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 38d2c67f61..d481426303 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 376bde7a2e..b67d956f45 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 1c82179443..162b982c3a 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 85b7343a3e..72a60bbbcf 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 485054a482..c91eead9b2 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 bc6019e1fb..7acc90e54c 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 0fc80f5d01..e7cd8251a8 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 a1a9efa138..716fa35b85 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 88f919571f..4308ec8eb4 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 8a4c2c69b5..fe83b296bc 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 75d2030dc4..21372da30d 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 f7a66d0893..2d00939bfc 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 411973723c..f5b23538c3 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 e054792a01..a7a2b24d80 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 c048a8dd2d..2351bfffb5 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 e95fa4fecc..4aa9c634f1 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 1188962605..5470a0724b 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 ff807a6f37..373bf30772 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 9ebb0d4ffa..b0ac788890 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 05cf3447e1..b7fcaceb56 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 4cc89edf9e..a78e1f6b8c 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 dc3695c4aa..176f7fa4e2 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 cfa62b5037..2a58f899a7 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 d971ea9e4d..575c29c320 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 7aacd70000..56a248827e 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 3e141b4ccb..1b5474178b 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 ef02376007..213ce2df73 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 d0a2609db7..293d4842d2 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 2bd866fbec..a5eb9ac290 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 37722b1077..0ef1fba494 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 8a71a93d26..ef142bc6be 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 6c06ab7f66..9b700e1785 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 084e384c36..b79049a9fb 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 1525caf0cc..8028c95070 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 ad94e0e0eb..b64b91f929 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 3dfe8016ef..bf468d29cc 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 754779fe2b..faa63161ed 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 72c8d79fa3..6ca3f8e935 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 59509ad757..f8c7f06be4 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 30f3d2cfaf..f20f9a2f64 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 0000000000..e2a6fdf1e8 --- /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 e956f38a23..117440e417 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 8b17ec15dd..1a8ad959f0 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==}