diff --git a/packages/nodes-base/.eslintrc.js b/packages/nodes-base/.eslintrc.js index 2edf1d7439..98f30a7991 100644 --- a/packages/nodes-base/.eslintrc.js +++ b/packages/nodes-base/.eslintrc.js @@ -9,6 +9,8 @@ module.exports = { ...sharedOptions(__dirname), rules: { + '@typescript-eslint/consistent-type-imports': 'error', + // TODO: remove all the following rules eqeqeq: 'off', 'id-denylist': 'off', diff --git a/packages/nodes-base/credentials/ActionNetworkApi.credentials.ts b/packages/nodes-base/credentials/ActionNetworkApi.credentials.ts index 29344cd6ff..ebc6eaf9a0 100644 --- a/packages/nodes-base/credentials/ActionNetworkApi.credentials.ts +++ b/packages/nodes-base/credentials/ActionNetworkApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { ICredentialDataDecryptedObject, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/ActiveCampaignApi.credentials.ts b/packages/nodes-base/credentials/ActiveCampaignApi.credentials.ts index 3d384a0974..837869f39b 100644 --- a/packages/nodes-base/credentials/ActiveCampaignApi.credentials.ts +++ b/packages/nodes-base/credentials/ActiveCampaignApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/AcuitySchedulingApi.credentials.ts b/packages/nodes-base/credentials/AcuitySchedulingApi.credentials.ts index 71b2210abd..658a65e8ba 100644 --- a/packages/nodes-base/credentials/AcuitySchedulingApi.credentials.ts +++ b/packages/nodes-base/credentials/AcuitySchedulingApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class AcuitySchedulingApi implements ICredentialType { name = 'acuitySchedulingApi'; diff --git a/packages/nodes-base/credentials/AcuitySchedulingOAuth2Api.credentials.ts b/packages/nodes-base/credentials/AcuitySchedulingOAuth2Api.credentials.ts index 7bfd01500e..242b54007a 100644 --- a/packages/nodes-base/credentials/AcuitySchedulingOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/AcuitySchedulingOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class AcuitySchedulingOAuth2Api implements ICredentialType { name = 'acuitySchedulingOAuth2Api'; diff --git a/packages/nodes-base/credentials/AdaloApi.credentials.ts b/packages/nodes-base/credentials/AdaloApi.credentials.ts index fd09f22ab7..4c5003b1e2 100644 --- a/packages/nodes-base/credentials/AdaloApi.credentials.ts +++ b/packages/nodes-base/credentials/AdaloApi.credentials.ts @@ -1,4 +1,4 @@ -import { IAuthenticateGeneric, ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { IAuthenticateGeneric, ICredentialType, INodeProperties } from 'n8n-workflow'; export class AdaloApi implements ICredentialType { name = 'adaloApi'; diff --git a/packages/nodes-base/credentials/AffinityApi.credentials.ts b/packages/nodes-base/credentials/AffinityApi.credentials.ts index 8771344974..eaf92cdeff 100644 --- a/packages/nodes-base/credentials/AffinityApi.credentials.ts +++ b/packages/nodes-base/credentials/AffinityApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class AffinityApi implements ICredentialType { name = 'affinityApi'; diff --git a/packages/nodes-base/credentials/AgileCrmApi.credentials.ts b/packages/nodes-base/credentials/AgileCrmApi.credentials.ts index 719cb1afa3..350ca70ff5 100644 --- a/packages/nodes-base/credentials/AgileCrmApi.credentials.ts +++ b/packages/nodes-base/credentials/AgileCrmApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class AgileCrmApi implements ICredentialType { name = 'agileCrmApi'; diff --git a/packages/nodes-base/credentials/AirtableApi.credentials.ts b/packages/nodes-base/credentials/AirtableApi.credentials.ts index 2e3db309a2..09eee15b4c 100644 --- a/packages/nodes-base/credentials/AirtableApi.credentials.ts +++ b/packages/nodes-base/credentials/AirtableApi.credentials.ts @@ -1,4 +1,4 @@ -import { IAuthenticateGeneric, ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { IAuthenticateGeneric, ICredentialType, INodeProperties } from 'n8n-workflow'; export class AirtableApi implements ICredentialType { name = 'airtableApi'; diff --git a/packages/nodes-base/credentials/Amqp.credentials.ts b/packages/nodes-base/credentials/Amqp.credentials.ts index 3477cf3232..7f0487f839 100644 --- a/packages/nodes-base/credentials/Amqp.credentials.ts +++ b/packages/nodes-base/credentials/Amqp.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class Amqp implements ICredentialType { name = 'amqp'; diff --git a/packages/nodes-base/credentials/ApiTemplateIoApi.credentials.ts b/packages/nodes-base/credentials/ApiTemplateIoApi.credentials.ts index 44c8721562..8fddb9733b 100644 --- a/packages/nodes-base/credentials/ApiTemplateIoApi.credentials.ts +++ b/packages/nodes-base/credentials/ApiTemplateIoApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/AsanaApi.credentials.ts b/packages/nodes-base/credentials/AsanaApi.credentials.ts index c5be8c1add..fc75628198 100644 --- a/packages/nodes-base/credentials/AsanaApi.credentials.ts +++ b/packages/nodes-base/credentials/AsanaApi.credentials.ts @@ -1,4 +1,4 @@ -import { IAuthenticateGeneric, ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { IAuthenticateGeneric, ICredentialType, INodeProperties } from 'n8n-workflow'; export class AsanaApi implements ICredentialType { name = 'asanaApi'; diff --git a/packages/nodes-base/credentials/AsanaOAuth2Api.credentials.ts b/packages/nodes-base/credentials/AsanaOAuth2Api.credentials.ts index d15e7832c3..0ffde5ac59 100644 --- a/packages/nodes-base/credentials/AsanaOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/AsanaOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class AsanaOAuth2Api implements ICredentialType { name = 'asanaOAuth2Api'; diff --git a/packages/nodes-base/credentials/AutomizyApi.credentials.ts b/packages/nodes-base/credentials/AutomizyApi.credentials.ts index c3ea0e47e3..19633dc324 100644 --- a/packages/nodes-base/credentials/AutomizyApi.credentials.ts +++ b/packages/nodes-base/credentials/AutomizyApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class AutomizyApi implements ICredentialType { name = 'automizyApi'; diff --git a/packages/nodes-base/credentials/AutopilotApi.credentials.ts b/packages/nodes-base/credentials/AutopilotApi.credentials.ts index abc552ddcc..bf98d44f74 100644 --- a/packages/nodes-base/credentials/AutopilotApi.credentials.ts +++ b/packages/nodes-base/credentials/AutopilotApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class AutopilotApi implements ICredentialType { name = 'autopilotApi'; diff --git a/packages/nodes-base/credentials/Aws.credentials.ts b/packages/nodes-base/credentials/Aws.credentials.ts index 826d776398..46d126872e 100644 --- a/packages/nodes-base/credentials/Aws.credentials.ts +++ b/packages/nodes-base/credentials/Aws.credentials.ts @@ -1,6 +1,7 @@ -import { Request, sign } from 'aws4'; +import type { Request } from 'aws4'; +import { sign } from 'aws4'; -import { +import type { ICredentialDataDecryptedObject, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/BambooHrApi.credentials.ts b/packages/nodes-base/credentials/BambooHrApi.credentials.ts index 590003f40e..8fe5de7cb6 100644 --- a/packages/nodes-base/credentials/BambooHrApi.credentials.ts +++ b/packages/nodes-base/credentials/BambooHrApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class BambooHrApi implements ICredentialType { name = 'bambooHrApi'; diff --git a/packages/nodes-base/credentials/BannerbearApi.credentials.ts b/packages/nodes-base/credentials/BannerbearApi.credentials.ts index fccea60a47..81ea35d986 100644 --- a/packages/nodes-base/credentials/BannerbearApi.credentials.ts +++ b/packages/nodes-base/credentials/BannerbearApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class BannerbearApi implements ICredentialType { name = 'bannerbearApi'; diff --git a/packages/nodes-base/credentials/BaserowApi.credentials.ts b/packages/nodes-base/credentials/BaserowApi.credentials.ts index af833f4ebe..28fd1d8990 100644 --- a/packages/nodes-base/credentials/BaserowApi.credentials.ts +++ b/packages/nodes-base/credentials/BaserowApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; // https://api.baserow.io/api/redoc/#section/Authentication diff --git a/packages/nodes-base/credentials/BeeminderApi.credentials.ts b/packages/nodes-base/credentials/BeeminderApi.credentials.ts index 14dd427c7a..66a15b844a 100644 --- a/packages/nodes-base/credentials/BeeminderApi.credentials.ts +++ b/packages/nodes-base/credentials/BeeminderApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/BitbucketApi.credentials.ts b/packages/nodes-base/credentials/BitbucketApi.credentials.ts index 9ba5def5e2..fce7165dc3 100644 --- a/packages/nodes-base/credentials/BitbucketApi.credentials.ts +++ b/packages/nodes-base/credentials/BitbucketApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class BitbucketApi implements ICredentialType { name = 'bitbucketApi'; diff --git a/packages/nodes-base/credentials/BitlyApi.credentials.ts b/packages/nodes-base/credentials/BitlyApi.credentials.ts index 9f6e770f99..6e6ca9c997 100644 --- a/packages/nodes-base/credentials/BitlyApi.credentials.ts +++ b/packages/nodes-base/credentials/BitlyApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class BitlyApi implements ICredentialType { name = 'bitlyApi'; diff --git a/packages/nodes-base/credentials/BitlyOAuth2Api.credentials.ts b/packages/nodes-base/credentials/BitlyOAuth2Api.credentials.ts index d9600794c8..0175c6b1bd 100644 --- a/packages/nodes-base/credentials/BitlyOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/BitlyOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class BitlyOAuth2Api implements ICredentialType { name = 'bitlyOAuth2Api'; diff --git a/packages/nodes-base/credentials/BitwardenApi.credentials.ts b/packages/nodes-base/credentials/BitwardenApi.credentials.ts index 73074e4c62..249f81c4e2 100644 --- a/packages/nodes-base/credentials/BitwardenApi.credentials.ts +++ b/packages/nodes-base/credentials/BitwardenApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; // https://bitwarden.com/help/article/public-api/#authentication diff --git a/packages/nodes-base/credentials/BoxOAuth2Api.credentials.ts b/packages/nodes-base/credentials/BoxOAuth2Api.credentials.ts index 0e2d277558..70145fbf2b 100644 --- a/packages/nodes-base/credentials/BoxOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/BoxOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class BoxOAuth2Api implements ICredentialType { name = 'boxOAuth2Api'; diff --git a/packages/nodes-base/credentials/BrandfetchApi.credentials.ts b/packages/nodes-base/credentials/BrandfetchApi.credentials.ts index c20fcd0373..fe6fe4b620 100644 --- a/packages/nodes-base/credentials/BrandfetchApi.credentials.ts +++ b/packages/nodes-base/credentials/BrandfetchApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class BrandfetchApi implements ICredentialType { name = 'brandfetchApi'; diff --git a/packages/nodes-base/credentials/BubbleApi.credentials.ts b/packages/nodes-base/credentials/BubbleApi.credentials.ts index 1997cb0118..43dbc2c58c 100644 --- a/packages/nodes-base/credentials/BubbleApi.credentials.ts +++ b/packages/nodes-base/credentials/BubbleApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class BubbleApi implements ICredentialType { name = 'bubbleApi'; diff --git a/packages/nodes-base/credentials/CalApi.credentials.ts b/packages/nodes-base/credentials/CalApi.credentials.ts index f697098224..bfe5232f66 100644 --- a/packages/nodes-base/credentials/CalApi.credentials.ts +++ b/packages/nodes-base/credentials/CalApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/CalendlyApi.credentials.ts b/packages/nodes-base/credentials/CalendlyApi.credentials.ts index b21757b39d..c999e64590 100644 --- a/packages/nodes-base/credentials/CalendlyApi.credentials.ts +++ b/packages/nodes-base/credentials/CalendlyApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { ICredentialDataDecryptedObject, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/ChargebeeApi.credentials.ts b/packages/nodes-base/credentials/ChargebeeApi.credentials.ts index 1e92752050..81c5ac787b 100644 --- a/packages/nodes-base/credentials/ChargebeeApi.credentials.ts +++ b/packages/nodes-base/credentials/ChargebeeApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class ChargebeeApi implements ICredentialType { name = 'chargebeeApi'; diff --git a/packages/nodes-base/credentials/CircleCiApi.credentials.ts b/packages/nodes-base/credentials/CircleCiApi.credentials.ts index 3a789b003e..f96b76d732 100644 --- a/packages/nodes-base/credentials/CircleCiApi.credentials.ts +++ b/packages/nodes-base/credentials/CircleCiApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class CircleCiApi implements ICredentialType { name = 'circleCiApi'; diff --git a/packages/nodes-base/credentials/CiscoWebexOAuth2Api.credentials.ts b/packages/nodes-base/credentials/CiscoWebexOAuth2Api.credentials.ts index 7deaa1424a..aa2b9ed6c5 100644 --- a/packages/nodes-base/credentials/CiscoWebexOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/CiscoWebexOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class CiscoWebexOAuth2Api implements ICredentialType { name = 'ciscoWebexOAuth2Api'; diff --git a/packages/nodes-base/credentials/CitrixAdcApi.credentials.ts b/packages/nodes-base/credentials/CitrixAdcApi.credentials.ts index ee1daa8dee..2fd5e057f1 100644 --- a/packages/nodes-base/credentials/CitrixAdcApi.credentials.ts +++ b/packages/nodes-base/credentials/CitrixAdcApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/ClearbitApi.credentials.ts b/packages/nodes-base/credentials/ClearbitApi.credentials.ts index 3f8e07b253..c5b7d55f20 100644 --- a/packages/nodes-base/credentials/ClearbitApi.credentials.ts +++ b/packages/nodes-base/credentials/ClearbitApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class ClearbitApi implements ICredentialType { name = 'clearbitApi'; diff --git a/packages/nodes-base/credentials/ClickUpApi.credentials.ts b/packages/nodes-base/credentials/ClickUpApi.credentials.ts index 7227d12bc1..9f6cf2e000 100644 --- a/packages/nodes-base/credentials/ClickUpApi.credentials.ts +++ b/packages/nodes-base/credentials/ClickUpApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/ClickUpOAuth2Api.credentials.ts b/packages/nodes-base/credentials/ClickUpOAuth2Api.credentials.ts index 857e8a4fac..5f90547566 100644 --- a/packages/nodes-base/credentials/ClickUpOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/ClickUpOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class ClickUpOAuth2Api implements ICredentialType { name = 'clickUpOAuth2Api'; diff --git a/packages/nodes-base/credentials/ClockifyApi.credentials.ts b/packages/nodes-base/credentials/ClockifyApi.credentials.ts index 992dea0adb..35a99937ca 100644 --- a/packages/nodes-base/credentials/ClockifyApi.credentials.ts +++ b/packages/nodes-base/credentials/ClockifyApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/CloudflareApi.credentials.ts b/packages/nodes-base/credentials/CloudflareApi.credentials.ts index 1844b5945c..172d89e18e 100644 --- a/packages/nodes-base/credentials/CloudflareApi.credentials.ts +++ b/packages/nodes-base/credentials/CloudflareApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/CockpitApi.credentials.ts b/packages/nodes-base/credentials/CockpitApi.credentials.ts index a91048ee9e..e55f5bd9dc 100644 --- a/packages/nodes-base/credentials/CockpitApi.credentials.ts +++ b/packages/nodes-base/credentials/CockpitApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class CockpitApi implements ICredentialType { name = 'cockpitApi'; diff --git a/packages/nodes-base/credentials/CodaApi.credentials.ts b/packages/nodes-base/credentials/CodaApi.credentials.ts index f44179b93c..2639c660b7 100644 --- a/packages/nodes-base/credentials/CodaApi.credentials.ts +++ b/packages/nodes-base/credentials/CodaApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class CodaApi implements ICredentialType { name = 'codaApi'; diff --git a/packages/nodes-base/credentials/ContentfulApi.credentials.ts b/packages/nodes-base/credentials/ContentfulApi.credentials.ts index a7e7eed743..9ca5456c46 100644 --- a/packages/nodes-base/credentials/ContentfulApi.credentials.ts +++ b/packages/nodes-base/credentials/ContentfulApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; //https://www.contentful.com/developers/docs/references/authentication/ export class ContentfulApi implements ICredentialType { diff --git a/packages/nodes-base/credentials/ConvertKitApi.credentials.ts b/packages/nodes-base/credentials/ConvertKitApi.credentials.ts index c498fc7748..2c75ddf086 100644 --- a/packages/nodes-base/credentials/ConvertKitApi.credentials.ts +++ b/packages/nodes-base/credentials/ConvertKitApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class ConvertKitApi implements ICredentialType { name = 'convertKitApi'; diff --git a/packages/nodes-base/credentials/CopperApi.credentials.ts b/packages/nodes-base/credentials/CopperApi.credentials.ts index 54843fe151..e08af72169 100644 --- a/packages/nodes-base/credentials/CopperApi.credentials.ts +++ b/packages/nodes-base/credentials/CopperApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class CopperApi implements ICredentialType { name = 'copperApi'; diff --git a/packages/nodes-base/credentials/CortexApi.credentials.ts b/packages/nodes-base/credentials/CortexApi.credentials.ts index d930d96c19..c890739e8a 100644 --- a/packages/nodes-base/credentials/CortexApi.credentials.ts +++ b/packages/nodes-base/credentials/CortexApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/CrateDb.credentials.ts b/packages/nodes-base/credentials/CrateDb.credentials.ts index 7688aa47e5..8993f58b76 100644 --- a/packages/nodes-base/credentials/CrateDb.credentials.ts +++ b/packages/nodes-base/credentials/CrateDb.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class CrateDb implements ICredentialType { name = 'crateDb'; diff --git a/packages/nodes-base/credentials/CustomerIoApi.credentials.ts b/packages/nodes-base/credentials/CustomerIoApi.credentials.ts index 50e9c54cd1..8a814df368 100644 --- a/packages/nodes-base/credentials/CustomerIoApi.credentials.ts +++ b/packages/nodes-base/credentials/CustomerIoApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { ICredentialDataDecryptedObject, ICredentialType, IHttpRequestOptions, diff --git a/packages/nodes-base/credentials/DeepLApi.credentials.ts b/packages/nodes-base/credentials/DeepLApi.credentials.ts index 36053969a3..8724162dcc 100644 --- a/packages/nodes-base/credentials/DeepLApi.credentials.ts +++ b/packages/nodes-base/credentials/DeepLApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/DemioApi.credentials.ts b/packages/nodes-base/credentials/DemioApi.credentials.ts index 36d7e89c32..b8d88e153e 100644 --- a/packages/nodes-base/credentials/DemioApi.credentials.ts +++ b/packages/nodes-base/credentials/DemioApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class DemioApi implements ICredentialType { name = 'demioApi'; diff --git a/packages/nodes-base/credentials/DhlApi.credentials.ts b/packages/nodes-base/credentials/DhlApi.credentials.ts index 6fbc8fea05..8a7c2564a3 100644 --- a/packages/nodes-base/credentials/DhlApi.credentials.ts +++ b/packages/nodes-base/credentials/DhlApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class DhlApi implements ICredentialType { name = 'dhlApi'; diff --git a/packages/nodes-base/credentials/DiscourseApi.credentials.ts b/packages/nodes-base/credentials/DiscourseApi.credentials.ts index 1be0010023..c5981d6600 100644 --- a/packages/nodes-base/credentials/DiscourseApi.credentials.ts +++ b/packages/nodes-base/credentials/DiscourseApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { ICredentialDataDecryptedObject, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/DisqusApi.credentials.ts b/packages/nodes-base/credentials/DisqusApi.credentials.ts index e7c8cc484d..7b383fc628 100644 --- a/packages/nodes-base/credentials/DisqusApi.credentials.ts +++ b/packages/nodes-base/credentials/DisqusApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class DisqusApi implements ICredentialType { name = 'disqusApi'; diff --git a/packages/nodes-base/credentials/DriftApi.credentials.ts b/packages/nodes-base/credentials/DriftApi.credentials.ts index 004201ee7f..943bb24f39 100644 --- a/packages/nodes-base/credentials/DriftApi.credentials.ts +++ b/packages/nodes-base/credentials/DriftApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class DriftApi implements ICredentialType { name = 'driftApi'; diff --git a/packages/nodes-base/credentials/DriftOAuth2Api.credentials.ts b/packages/nodes-base/credentials/DriftOAuth2Api.credentials.ts index 8a37ad68b5..b02525f79a 100644 --- a/packages/nodes-base/credentials/DriftOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/DriftOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class DriftOAuth2Api implements ICredentialType { name = 'driftOAuth2Api'; diff --git a/packages/nodes-base/credentials/DropboxApi.credentials.ts b/packages/nodes-base/credentials/DropboxApi.credentials.ts index 8a1b78a436..a4f02b421b 100644 --- a/packages/nodes-base/credentials/DropboxApi.credentials.ts +++ b/packages/nodes-base/credentials/DropboxApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/DropboxOAuth2Api.credentials.ts b/packages/nodes-base/credentials/DropboxOAuth2Api.credentials.ts index 0ed16239b0..968e8f89c8 100644 --- a/packages/nodes-base/credentials/DropboxOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/DropboxOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; const scopes = ['files.content.write', 'files.content.read', 'sharing.read', 'account_info.read']; diff --git a/packages/nodes-base/credentials/DropcontactApi.credentials.ts b/packages/nodes-base/credentials/DropcontactApi.credentials.ts index 2ddab6136a..71258d8b70 100644 --- a/packages/nodes-base/credentials/DropcontactApi.credentials.ts +++ b/packages/nodes-base/credentials/DropcontactApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/ERPNextApi.credentials.ts b/packages/nodes-base/credentials/ERPNextApi.credentials.ts index 75b263e177..0824533a86 100644 --- a/packages/nodes-base/credentials/ERPNextApi.credentials.ts +++ b/packages/nodes-base/credentials/ERPNextApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/EgoiApi.credentials.ts b/packages/nodes-base/credentials/EgoiApi.credentials.ts index 20e3bb133f..ab9a9add00 100644 --- a/packages/nodes-base/credentials/EgoiApi.credentials.ts +++ b/packages/nodes-base/credentials/EgoiApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class EgoiApi implements ICredentialType { name = 'egoiApi'; diff --git a/packages/nodes-base/credentials/ElasticSecurityApi.credentials.ts b/packages/nodes-base/credentials/ElasticSecurityApi.credentials.ts index e941f89eef..11759991fe 100644 --- a/packages/nodes-base/credentials/ElasticSecurityApi.credentials.ts +++ b/packages/nodes-base/credentials/ElasticSecurityApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class ElasticSecurityApi implements ICredentialType { name = 'elasticSecurityApi'; diff --git a/packages/nodes-base/credentials/ElasticsearchApi.credentials.ts b/packages/nodes-base/credentials/ElasticsearchApi.credentials.ts index 4377c5ab36..e05151fbc9 100644 --- a/packages/nodes-base/credentials/ElasticsearchApi.credentials.ts +++ b/packages/nodes-base/credentials/ElasticsearchApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/EmeliaApi.credentials.ts b/packages/nodes-base/credentials/EmeliaApi.credentials.ts index 473fd33e92..7ce585ae2e 100644 --- a/packages/nodes-base/credentials/EmeliaApi.credentials.ts +++ b/packages/nodes-base/credentials/EmeliaApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class EmeliaApi implements ICredentialType { name = 'emeliaApi'; diff --git a/packages/nodes-base/credentials/EventbriteApi.credentials.ts b/packages/nodes-base/credentials/EventbriteApi.credentials.ts index af7b91fe68..2afcc3728e 100644 --- a/packages/nodes-base/credentials/EventbriteApi.credentials.ts +++ b/packages/nodes-base/credentials/EventbriteApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class EventbriteApi implements ICredentialType { name = 'eventbriteApi'; diff --git a/packages/nodes-base/credentials/EventbriteOAuth2Api.credentials.ts b/packages/nodes-base/credentials/EventbriteOAuth2Api.credentials.ts index 88c609f558..3eee3d8c8d 100644 --- a/packages/nodes-base/credentials/EventbriteOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/EventbriteOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class EventbriteOAuth2Api implements ICredentialType { name = 'eventbriteOAuth2Api'; diff --git a/packages/nodes-base/credentials/FacebookGraphApi.credentials.ts b/packages/nodes-base/credentials/FacebookGraphApi.credentials.ts index 34db599398..51214d4ff6 100644 --- a/packages/nodes-base/credentials/FacebookGraphApi.credentials.ts +++ b/packages/nodes-base/credentials/FacebookGraphApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/FacebookGraphAppApi.credentials.ts b/packages/nodes-base/credentials/FacebookGraphAppApi.credentials.ts index ea9aeea30b..eea1c6431f 100644 --- a/packages/nodes-base/credentials/FacebookGraphAppApi.credentials.ts +++ b/packages/nodes-base/credentials/FacebookGraphAppApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class FacebookGraphAppApi implements ICredentialType { name = 'facebookGraphAppApi'; diff --git a/packages/nodes-base/credentials/FigmaApi.credentials.ts b/packages/nodes-base/credentials/FigmaApi.credentials.ts index fd5518affe..d67946fc6d 100644 --- a/packages/nodes-base/credentials/FigmaApi.credentials.ts +++ b/packages/nodes-base/credentials/FigmaApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class FigmaApi implements ICredentialType { name = 'figmaApi'; diff --git a/packages/nodes-base/credentials/FileMaker.credentials.ts b/packages/nodes-base/credentials/FileMaker.credentials.ts index a93898a020..d862a28213 100644 --- a/packages/nodes-base/credentials/FileMaker.credentials.ts +++ b/packages/nodes-base/credentials/FileMaker.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class FileMaker implements ICredentialType { name = 'fileMaker'; diff --git a/packages/nodes-base/credentials/FlowApi.credentials.ts b/packages/nodes-base/credentials/FlowApi.credentials.ts index fe94c57b42..73e7e3a6dd 100644 --- a/packages/nodes-base/credentials/FlowApi.credentials.ts +++ b/packages/nodes-base/credentials/FlowApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class FlowApi implements ICredentialType { name = 'flowApi'; diff --git a/packages/nodes-base/credentials/FormIoApi.credentials.ts b/packages/nodes-base/credentials/FormIoApi.credentials.ts index 90c5bc0279..3322d2d6ec 100644 --- a/packages/nodes-base/credentials/FormIoApi.credentials.ts +++ b/packages/nodes-base/credentials/FormIoApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class FormIoApi implements ICredentialType { name = 'formIoApi'; diff --git a/packages/nodes-base/credentials/FormstackApi.credentials.ts b/packages/nodes-base/credentials/FormstackApi.credentials.ts index 38b1bac215..bd38be992d 100644 --- a/packages/nodes-base/credentials/FormstackApi.credentials.ts +++ b/packages/nodes-base/credentials/FormstackApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class FormstackApi implements ICredentialType { name = 'formstackApi'; diff --git a/packages/nodes-base/credentials/FormstackOAuth2Api.credentials.ts b/packages/nodes-base/credentials/FormstackOAuth2Api.credentials.ts index 90791a3f46..4dfedaa149 100644 --- a/packages/nodes-base/credentials/FormstackOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/FormstackOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; const scopes: string[] = []; diff --git a/packages/nodes-base/credentials/FreshdeskApi.credentials.ts b/packages/nodes-base/credentials/FreshdeskApi.credentials.ts index dd2150611a..a962a8d1df 100644 --- a/packages/nodes-base/credentials/FreshdeskApi.credentials.ts +++ b/packages/nodes-base/credentials/FreshdeskApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class FreshdeskApi implements ICredentialType { name = 'freshdeskApi'; diff --git a/packages/nodes-base/credentials/FreshserviceApi.credentials.ts b/packages/nodes-base/credentials/FreshserviceApi.credentials.ts index c80e791948..5d02878783 100644 --- a/packages/nodes-base/credentials/FreshserviceApi.credentials.ts +++ b/packages/nodes-base/credentials/FreshserviceApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class FreshserviceApi implements ICredentialType { name = 'freshserviceApi'; diff --git a/packages/nodes-base/credentials/FreshworksCrmApi.credentials.ts b/packages/nodes-base/credentials/FreshworksCrmApi.credentials.ts index 727995a33e..dd947244f9 100644 --- a/packages/nodes-base/credentials/FreshworksCrmApi.credentials.ts +++ b/packages/nodes-base/credentials/FreshworksCrmApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/Ftp.credentials.ts b/packages/nodes-base/credentials/Ftp.credentials.ts index ba8cdbd41d..0592a8ecc4 100644 --- a/packages/nodes-base/credentials/Ftp.credentials.ts +++ b/packages/nodes-base/credentials/Ftp.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class Ftp implements ICredentialType { name = 'ftp'; diff --git a/packages/nodes-base/credentials/GSuiteAdminOAuth2Api.credentials.ts b/packages/nodes-base/credentials/GSuiteAdminOAuth2Api.credentials.ts index a843f7c0c0..4a7720de0c 100644 --- a/packages/nodes-base/credentials/GSuiteAdminOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/GSuiteAdminOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; const scopes = [ 'https://www.googleapis.com/auth/admin.directory.group', diff --git a/packages/nodes-base/credentials/GetResponseApi.credentials.ts b/packages/nodes-base/credentials/GetResponseApi.credentials.ts index 79c4509ce7..7087568369 100644 --- a/packages/nodes-base/credentials/GetResponseApi.credentials.ts +++ b/packages/nodes-base/credentials/GetResponseApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/GetResponseOAuth2Api.credentials.ts b/packages/nodes-base/credentials/GetResponseOAuth2Api.credentials.ts index 4df8c297aa..52195355a0 100644 --- a/packages/nodes-base/credentials/GetResponseOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/GetResponseOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class GetResponseOAuth2Api implements ICredentialType { name = 'getResponseOAuth2Api'; diff --git a/packages/nodes-base/credentials/GhostAdminApi.credentials.ts b/packages/nodes-base/credentials/GhostAdminApi.credentials.ts index 1c206674d7..7c85f42527 100644 --- a/packages/nodes-base/credentials/GhostAdminApi.credentials.ts +++ b/packages/nodes-base/credentials/GhostAdminApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { ICredentialDataDecryptedObject, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/GhostContentApi.credentials.ts b/packages/nodes-base/credentials/GhostContentApi.credentials.ts index ff2d310a3b..f2e4bee6d2 100644 --- a/packages/nodes-base/credentials/GhostContentApi.credentials.ts +++ b/packages/nodes-base/credentials/GhostContentApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { ICredentialDataDecryptedObject, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/GitPassword.credentials.ts b/packages/nodes-base/credentials/GitPassword.credentials.ts index 5b5d2653e3..d90f127a1d 100644 --- a/packages/nodes-base/credentials/GitPassword.credentials.ts +++ b/packages/nodes-base/credentials/GitPassword.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class GitPassword implements ICredentialType { name = 'gitPassword'; diff --git a/packages/nodes-base/credentials/GithubApi.credentials.ts b/packages/nodes-base/credentials/GithubApi.credentials.ts index cc77f91105..0dafd8bcd2 100644 --- a/packages/nodes-base/credentials/GithubApi.credentials.ts +++ b/packages/nodes-base/credentials/GithubApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/GithubOAuth2Api.credentials.ts b/packages/nodes-base/credentials/GithubOAuth2Api.credentials.ts index 0936d0070c..48b9f83eb0 100644 --- a/packages/nodes-base/credentials/GithubOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/GithubOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class GithubOAuth2Api implements ICredentialType { name = 'githubOAuth2Api'; diff --git a/packages/nodes-base/credentials/GitlabApi.credentials.ts b/packages/nodes-base/credentials/GitlabApi.credentials.ts index ccbd47aa7d..a8700e4ac8 100644 --- a/packages/nodes-base/credentials/GitlabApi.credentials.ts +++ b/packages/nodes-base/credentials/GitlabApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/GitlabOAuth2Api.credentials.ts b/packages/nodes-base/credentials/GitlabOAuth2Api.credentials.ts index 4136f37676..3a124097c1 100644 --- a/packages/nodes-base/credentials/GitlabOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/GitlabOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class GitlabOAuth2Api implements ICredentialType { name = 'gitlabOAuth2Api'; diff --git a/packages/nodes-base/credentials/GmailOAuth2Api.credentials.ts b/packages/nodes-base/credentials/GmailOAuth2Api.credentials.ts index a716895604..2747d2efc9 100644 --- a/packages/nodes-base/credentials/GmailOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/GmailOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; const scopes = [ 'https://www.googleapis.com/auth/gmail.labels', diff --git a/packages/nodes-base/credentials/GoToWebinarOAuth2Api.credentials.ts b/packages/nodes-base/credentials/GoToWebinarOAuth2Api.credentials.ts index e6cf7d8595..1d002093c9 100644 --- a/packages/nodes-base/credentials/GoToWebinarOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/GoToWebinarOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class GoToWebinarOAuth2Api implements ICredentialType { name = 'goToWebinarOAuth2Api'; diff --git a/packages/nodes-base/credentials/GoogleAdsOAuth2Api.credentials.ts b/packages/nodes-base/credentials/GoogleAdsOAuth2Api.credentials.ts index 66ffc231d2..d03a3a021a 100644 --- a/packages/nodes-base/credentials/GoogleAdsOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/GoogleAdsOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; const scopes = ['https://www.googleapis.com/auth/adwords']; diff --git a/packages/nodes-base/credentials/GoogleAnalyticsOAuth2Api.credentials.ts b/packages/nodes-base/credentials/GoogleAnalyticsOAuth2Api.credentials.ts index 523d518234..52928a02d5 100644 --- a/packages/nodes-base/credentials/GoogleAnalyticsOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/GoogleAnalyticsOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; const scopes = [ 'https://www.googleapis.com/auth/analytics', diff --git a/packages/nodes-base/credentials/GoogleApi.credentials.ts b/packages/nodes-base/credentials/GoogleApi.credentials.ts index dea436c789..dddc7a5a1f 100644 --- a/packages/nodes-base/credentials/GoogleApi.credentials.ts +++ b/packages/nodes-base/credentials/GoogleApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class GoogleApi implements ICredentialType { name = 'googleApi'; diff --git a/packages/nodes-base/credentials/GoogleBigQueryOAuth2Api.credentials.ts b/packages/nodes-base/credentials/GoogleBigQueryOAuth2Api.credentials.ts index ffcfadca97..1ad98e7df4 100644 --- a/packages/nodes-base/credentials/GoogleBigQueryOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/GoogleBigQueryOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; const scopes = ['https://www.googleapis.com/auth/bigquery']; diff --git a/packages/nodes-base/credentials/GoogleBooksOAuth2Api.credentials.ts b/packages/nodes-base/credentials/GoogleBooksOAuth2Api.credentials.ts index cedab2f6a1..b20d400835 100644 --- a/packages/nodes-base/credentials/GoogleBooksOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/GoogleBooksOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; const scopes = ['https://www.googleapis.com/auth/books']; diff --git a/packages/nodes-base/credentials/GoogleCalendarOAuth2Api.credentials.ts b/packages/nodes-base/credentials/GoogleCalendarOAuth2Api.credentials.ts index 4d958c7a99..ee376e4b78 100644 --- a/packages/nodes-base/credentials/GoogleCalendarOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/GoogleCalendarOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; const scopes = [ 'https://www.googleapis.com/auth/calendar', diff --git a/packages/nodes-base/credentials/GoogleCloudNaturalLanguageOAuth2Api.credentials.ts b/packages/nodes-base/credentials/GoogleCloudNaturalLanguageOAuth2Api.credentials.ts index 797881e1cc..ffe101a3a2 100644 --- a/packages/nodes-base/credentials/GoogleCloudNaturalLanguageOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/GoogleCloudNaturalLanguageOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; const scopes = [ 'https://www.googleapis.com/auth/cloud-language', diff --git a/packages/nodes-base/credentials/GoogleCloudStorageOAuth2Api.credentials.ts b/packages/nodes-base/credentials/GoogleCloudStorageOAuth2Api.credentials.ts index 4139615fab..1475126df1 100644 --- a/packages/nodes-base/credentials/GoogleCloudStorageOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/GoogleCloudStorageOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; const scopes = [ 'https://www.googleapis.com/auth/cloud-platform', diff --git a/packages/nodes-base/credentials/GoogleContactsOAuth2Api.credentials.ts b/packages/nodes-base/credentials/GoogleContactsOAuth2Api.credentials.ts index 95f4ebe705..41d03586af 100644 --- a/packages/nodes-base/credentials/GoogleContactsOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/GoogleContactsOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; const scopes = ['https://www.googleapis.com/auth/contacts']; diff --git a/packages/nodes-base/credentials/GoogleDocsOAuth2Api.credentials.ts b/packages/nodes-base/credentials/GoogleDocsOAuth2Api.credentials.ts index d03049ca5e..b7149b06d0 100644 --- a/packages/nodes-base/credentials/GoogleDocsOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/GoogleDocsOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; const scopes = [ 'https://www.googleapis.com/auth/documents', diff --git a/packages/nodes-base/credentials/GoogleDriveOAuth2Api.credentials.ts b/packages/nodes-base/credentials/GoogleDriveOAuth2Api.credentials.ts index 9878212b5b..1f48245e56 100644 --- a/packages/nodes-base/credentials/GoogleDriveOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/GoogleDriveOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; const scopes = [ 'https://www.googleapis.com/auth/drive', diff --git a/packages/nodes-base/credentials/GoogleFirebaseCloudFirestoreOAuth2Api.credentials.ts b/packages/nodes-base/credentials/GoogleFirebaseCloudFirestoreOAuth2Api.credentials.ts index decd1f2a49..97a82f094e 100644 --- a/packages/nodes-base/credentials/GoogleFirebaseCloudFirestoreOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/GoogleFirebaseCloudFirestoreOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; const scopes = [ 'https://www.googleapis.com/auth/datastore', diff --git a/packages/nodes-base/credentials/GoogleFirebaseRealtimeDatabaseOAuth2Api.credentials.ts b/packages/nodes-base/credentials/GoogleFirebaseRealtimeDatabaseOAuth2Api.credentials.ts index 2b3fae8c84..2a62994130 100644 --- a/packages/nodes-base/credentials/GoogleFirebaseRealtimeDatabaseOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/GoogleFirebaseRealtimeDatabaseOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; const scopes = [ 'https://www.googleapis.com/auth/userinfo.email', diff --git a/packages/nodes-base/credentials/GoogleOAuth2Api.credentials.ts b/packages/nodes-base/credentials/GoogleOAuth2Api.credentials.ts index af761ce70b..a99877e331 100644 --- a/packages/nodes-base/credentials/GoogleOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/GoogleOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class GoogleOAuth2Api implements ICredentialType { name = 'googleOAuth2Api'; diff --git a/packages/nodes-base/credentials/GooglePerspectiveOAuth2Api.credentials.ts b/packages/nodes-base/credentials/GooglePerspectiveOAuth2Api.credentials.ts index 07d9e0e9f3..b827cce454 100644 --- a/packages/nodes-base/credentials/GooglePerspectiveOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/GooglePerspectiveOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; const scopes = ['https://www.googleapis.com/auth/userinfo.email']; diff --git a/packages/nodes-base/credentials/GoogleSheetsOAuth2Api.credentials.ts b/packages/nodes-base/credentials/GoogleSheetsOAuth2Api.credentials.ts index af9bac2d57..ec64159b29 100644 --- a/packages/nodes-base/credentials/GoogleSheetsOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/GoogleSheetsOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; const scopes = [ 'https://www.googleapis.com/auth/drive.file', diff --git a/packages/nodes-base/credentials/GoogleSheetsTriggerOAuth2Api.credentials.ts b/packages/nodes-base/credentials/GoogleSheetsTriggerOAuth2Api.credentials.ts index d34b191193..81b7845819 100644 --- a/packages/nodes-base/credentials/GoogleSheetsTriggerOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/GoogleSheetsTriggerOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; const scopes = [ 'https://www.googleapis.com/auth/drive', diff --git a/packages/nodes-base/credentials/GoogleSlidesOAuth2Api.credentials.ts b/packages/nodes-base/credentials/GoogleSlidesOAuth2Api.credentials.ts index 79d9a80a95..9a42a6acea 100644 --- a/packages/nodes-base/credentials/GoogleSlidesOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/GoogleSlidesOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; const scopes = [ 'https://www.googleapis.com/auth/drive.file', diff --git a/packages/nodes-base/credentials/GoogleTasksOAuth2Api.credentials.ts b/packages/nodes-base/credentials/GoogleTasksOAuth2Api.credentials.ts index f3fc37e634..0eb9736f71 100644 --- a/packages/nodes-base/credentials/GoogleTasksOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/GoogleTasksOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; const scopes = ['https://www.googleapis.com/auth/tasks']; diff --git a/packages/nodes-base/credentials/GoogleTranslateOAuth2Api.credentials.ts b/packages/nodes-base/credentials/GoogleTranslateOAuth2Api.credentials.ts index 60b2eda02b..af64d620dd 100644 --- a/packages/nodes-base/credentials/GoogleTranslateOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/GoogleTranslateOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; const scopes = ['https://www.googleapis.com/auth/cloud-translation']; diff --git a/packages/nodes-base/credentials/GotifyApi.credentials.ts b/packages/nodes-base/credentials/GotifyApi.credentials.ts index 675be13813..2edd236f9b 100644 --- a/packages/nodes-base/credentials/GotifyApi.credentials.ts +++ b/packages/nodes-base/credentials/GotifyApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class GotifyApi implements ICredentialType { name = 'gotifyApi'; diff --git a/packages/nodes-base/credentials/GrafanaApi.credentials.ts b/packages/nodes-base/credentials/GrafanaApi.credentials.ts index 714d790a10..e93a9cedcc 100644 --- a/packages/nodes-base/credentials/GrafanaApi.credentials.ts +++ b/packages/nodes-base/credentials/GrafanaApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/GristApi.credentials.ts b/packages/nodes-base/credentials/GristApi.credentials.ts index e8a25ad4d3..514b15f19d 100644 --- a/packages/nodes-base/credentials/GristApi.credentials.ts +++ b/packages/nodes-base/credentials/GristApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class GristApi implements ICredentialType { name = 'gristApi'; diff --git a/packages/nodes-base/credentials/GumroadApi.credentials.ts b/packages/nodes-base/credentials/GumroadApi.credentials.ts index 9dad344216..a02abe043b 100644 --- a/packages/nodes-base/credentials/GumroadApi.credentials.ts +++ b/packages/nodes-base/credentials/GumroadApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class GumroadApi implements ICredentialType { name = 'gumroadApi'; diff --git a/packages/nodes-base/credentials/HaloPSAApi.credentials.ts b/packages/nodes-base/credentials/HaloPSAApi.credentials.ts index 12485fd0f2..204e643792 100644 --- a/packages/nodes-base/credentials/HaloPSAApi.credentials.ts +++ b/packages/nodes-base/credentials/HaloPSAApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class HaloPSAApi implements ICredentialType { name = 'haloPSAApi'; diff --git a/packages/nodes-base/credentials/HarvestApi.credentials.ts b/packages/nodes-base/credentials/HarvestApi.credentials.ts index d807e45cf1..6e0a74ecfc 100644 --- a/packages/nodes-base/credentials/HarvestApi.credentials.ts +++ b/packages/nodes-base/credentials/HarvestApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class HarvestApi implements ICredentialType { name = 'harvestApi'; diff --git a/packages/nodes-base/credentials/HarvestOAuth2Api.credentials.ts b/packages/nodes-base/credentials/HarvestOAuth2Api.credentials.ts index cd25001235..6e9ca97895 100644 --- a/packages/nodes-base/credentials/HarvestOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/HarvestOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class HarvestOAuth2Api implements ICredentialType { name = 'harvestOAuth2Api'; diff --git a/packages/nodes-base/credentials/HelpScoutOAuth2Api.credentials.ts b/packages/nodes-base/credentials/HelpScoutOAuth2Api.credentials.ts index 48d844cb94..e9797c20fc 100644 --- a/packages/nodes-base/credentials/HelpScoutOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/HelpScoutOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class HelpScoutOAuth2Api implements ICredentialType { name = 'helpScoutOAuth2Api'; diff --git a/packages/nodes-base/credentials/HighLevelApi.credentials.ts b/packages/nodes-base/credentials/HighLevelApi.credentials.ts index c1b9f1683f..c10b83fc88 100644 --- a/packages/nodes-base/credentials/HighLevelApi.credentials.ts +++ b/packages/nodes-base/credentials/HighLevelApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/HomeAssistantApi.credentials.ts b/packages/nodes-base/credentials/HomeAssistantApi.credentials.ts index 48a0230d7a..ab54a56544 100644 --- a/packages/nodes-base/credentials/HomeAssistantApi.credentials.ts +++ b/packages/nodes-base/credentials/HomeAssistantApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class HomeAssistantApi implements ICredentialType { name = 'homeAssistantApi'; diff --git a/packages/nodes-base/credentials/HttpBasicAuth.credentials.ts b/packages/nodes-base/credentials/HttpBasicAuth.credentials.ts index ee70e37f8e..ad8f16b166 100644 --- a/packages/nodes-base/credentials/HttpBasicAuth.credentials.ts +++ b/packages/nodes-base/credentials/HttpBasicAuth.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class HttpBasicAuth implements ICredentialType { name = 'httpBasicAuth'; diff --git a/packages/nodes-base/credentials/HttpDigestAuth.credentials.ts b/packages/nodes-base/credentials/HttpDigestAuth.credentials.ts index 6fe029bb65..234e299bce 100644 --- a/packages/nodes-base/credentials/HttpDigestAuth.credentials.ts +++ b/packages/nodes-base/credentials/HttpDigestAuth.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class HttpDigestAuth implements ICredentialType { name = 'httpDigestAuth'; diff --git a/packages/nodes-base/credentials/HttpHeaderAuth.credentials.ts b/packages/nodes-base/credentials/HttpHeaderAuth.credentials.ts index ddd44544ca..22e4545f0f 100644 --- a/packages/nodes-base/credentials/HttpHeaderAuth.credentials.ts +++ b/packages/nodes-base/credentials/HttpHeaderAuth.credentials.ts @@ -1,4 +1,4 @@ -import { IAuthenticateGeneric, ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { IAuthenticateGeneric, ICredentialType, INodeProperties } from 'n8n-workflow'; export class HttpHeaderAuth implements ICredentialType { name = 'httpHeaderAuth'; diff --git a/packages/nodes-base/credentials/HttpQueryAuth.credentials.ts b/packages/nodes-base/credentials/HttpQueryAuth.credentials.ts index ee1d2b7821..713c30bae5 100644 --- a/packages/nodes-base/credentials/HttpQueryAuth.credentials.ts +++ b/packages/nodes-base/credentials/HttpQueryAuth.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class HttpQueryAuth implements ICredentialType { name = 'httpQueryAuth'; diff --git a/packages/nodes-base/credentials/HubspotApi.credentials.ts b/packages/nodes-base/credentials/HubspotApi.credentials.ts index 45f3969ffd..223d4bae56 100644 --- a/packages/nodes-base/credentials/HubspotApi.credentials.ts +++ b/packages/nodes-base/credentials/HubspotApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/HubspotAppToken.credentials.ts b/packages/nodes-base/credentials/HubspotAppToken.credentials.ts index 23758351c6..a34f8139bf 100644 --- a/packages/nodes-base/credentials/HubspotAppToken.credentials.ts +++ b/packages/nodes-base/credentials/HubspotAppToken.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/HubspotDeveloperApi.credentials.ts b/packages/nodes-base/credentials/HubspotDeveloperApi.credentials.ts index 7669adaad2..d32200b8f4 100644 --- a/packages/nodes-base/credentials/HubspotDeveloperApi.credentials.ts +++ b/packages/nodes-base/credentials/HubspotDeveloperApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; const scopes = [ 'crm.objects.contacts.read', diff --git a/packages/nodes-base/credentials/HubspotOAuth2Api.credentials.ts b/packages/nodes-base/credentials/HubspotOAuth2Api.credentials.ts index 2b902408bf..971cc8b189 100644 --- a/packages/nodes-base/credentials/HubspotOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/HubspotOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; const scopes = [ 'crm.schemas.deals.read', diff --git a/packages/nodes-base/credentials/HumanticAiApi.credentials.ts b/packages/nodes-base/credentials/HumanticAiApi.credentials.ts index cdc705ff5e..066270ccf1 100644 --- a/packages/nodes-base/credentials/HumanticAiApi.credentials.ts +++ b/packages/nodes-base/credentials/HumanticAiApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class HumanticAiApi implements ICredentialType { name = 'humanticAiApi'; diff --git a/packages/nodes-base/credentials/HunterApi.credentials.ts b/packages/nodes-base/credentials/HunterApi.credentials.ts index 1d0a83640c..698516dbfd 100644 --- a/packages/nodes-base/credentials/HunterApi.credentials.ts +++ b/packages/nodes-base/credentials/HunterApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class HunterApi implements ICredentialType { name = 'hunterApi'; diff --git a/packages/nodes-base/credentials/Imap.credentials.ts b/packages/nodes-base/credentials/Imap.credentials.ts index 172bab7ad5..f1e4935627 100644 --- a/packages/nodes-base/credentials/Imap.credentials.ts +++ b/packages/nodes-base/credentials/Imap.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class Imap implements ICredentialType { name = 'imap'; diff --git a/packages/nodes-base/credentials/IntercomApi.credentials.ts b/packages/nodes-base/credentials/IntercomApi.credentials.ts index ee00a0da2b..4145121d4f 100644 --- a/packages/nodes-base/credentials/IntercomApi.credentials.ts +++ b/packages/nodes-base/credentials/IntercomApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class IntercomApi implements ICredentialType { name = 'intercomApi'; diff --git a/packages/nodes-base/credentials/InvoiceNinjaApi.credentials.ts b/packages/nodes-base/credentials/InvoiceNinjaApi.credentials.ts index 7b84509ed9..dfc6b77b58 100644 --- a/packages/nodes-base/credentials/InvoiceNinjaApi.credentials.ts +++ b/packages/nodes-base/credentials/InvoiceNinjaApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { ICredentialDataDecryptedObject, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/IterableApi.credentials.ts b/packages/nodes-base/credentials/IterableApi.credentials.ts index cab6ff71ee..ba0e9a0104 100644 --- a/packages/nodes-base/credentials/IterableApi.credentials.ts +++ b/packages/nodes-base/credentials/IterableApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class IterableApi implements ICredentialType { name = 'iterableApi'; diff --git a/packages/nodes-base/credentials/JenkinsApi.credentials.ts b/packages/nodes-base/credentials/JenkinsApi.credentials.ts index 721c5ddac8..5c8166be21 100644 --- a/packages/nodes-base/credentials/JenkinsApi.credentials.ts +++ b/packages/nodes-base/credentials/JenkinsApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class JenkinsApi implements ICredentialType { name = 'jenkinsApi'; diff --git a/packages/nodes-base/credentials/JiraSoftwareCloudApi.credentials.ts b/packages/nodes-base/credentials/JiraSoftwareCloudApi.credentials.ts index 30ea688d07..d183e873d3 100644 --- a/packages/nodes-base/credentials/JiraSoftwareCloudApi.credentials.ts +++ b/packages/nodes-base/credentials/JiraSoftwareCloudApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/JiraSoftwareServerApi.credentials.ts b/packages/nodes-base/credentials/JiraSoftwareServerApi.credentials.ts index 0a5ff8b918..d19204c913 100644 --- a/packages/nodes-base/credentials/JiraSoftwareServerApi.credentials.ts +++ b/packages/nodes-base/credentials/JiraSoftwareServerApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/JotFormApi.credentials.ts b/packages/nodes-base/credentials/JotFormApi.credentials.ts index 2d90c344b0..83e865443d 100644 --- a/packages/nodes-base/credentials/JotFormApi.credentials.ts +++ b/packages/nodes-base/credentials/JotFormApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class JotFormApi implements ICredentialType { name = 'jotFormApi'; diff --git a/packages/nodes-base/credentials/Kafka.credentials.ts b/packages/nodes-base/credentials/Kafka.credentials.ts index 0e96ec69bd..c11baca64e 100644 --- a/packages/nodes-base/credentials/Kafka.credentials.ts +++ b/packages/nodes-base/credentials/Kafka.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class Kafka implements ICredentialType { name = 'kafka'; diff --git a/packages/nodes-base/credentials/KeapOAuth2Api.credentials.ts b/packages/nodes-base/credentials/KeapOAuth2Api.credentials.ts index 099e8aa29b..416f2295f4 100644 --- a/packages/nodes-base/credentials/KeapOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/KeapOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; const scopes = ['full']; diff --git a/packages/nodes-base/credentials/KitemakerApi.credentials.ts b/packages/nodes-base/credentials/KitemakerApi.credentials.ts index 3932e62449..729dc8bf8b 100644 --- a/packages/nodes-base/credentials/KitemakerApi.credentials.ts +++ b/packages/nodes-base/credentials/KitemakerApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class KitemakerApi implements ICredentialType { name = 'kitemakerApi'; diff --git a/packages/nodes-base/credentials/KoBoToolboxApi.credentials.ts b/packages/nodes-base/credentials/KoBoToolboxApi.credentials.ts index 2f76135925..894c0acd26 100644 --- a/packages/nodes-base/credentials/KoBoToolboxApi.credentials.ts +++ b/packages/nodes-base/credentials/KoBoToolboxApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/LemlistApi.credentials.ts b/packages/nodes-base/credentials/LemlistApi.credentials.ts index 15788d1604..0ef48b4a62 100644 --- a/packages/nodes-base/credentials/LemlistApi.credentials.ts +++ b/packages/nodes-base/credentials/LemlistApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { ICredentialDataDecryptedObject, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/LineNotifyOAuth2Api.credentials.ts b/packages/nodes-base/credentials/LineNotifyOAuth2Api.credentials.ts index a8815596d1..d3f35c7fae 100644 --- a/packages/nodes-base/credentials/LineNotifyOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/LineNotifyOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class LineNotifyOAuth2Api implements ICredentialType { name = 'lineNotifyOAuth2Api'; diff --git a/packages/nodes-base/credentials/LinearApi.credentials.ts b/packages/nodes-base/credentials/LinearApi.credentials.ts index 203e67543b..e9a0ec178e 100644 --- a/packages/nodes-base/credentials/LinearApi.credentials.ts +++ b/packages/nodes-base/credentials/LinearApi.credentials.ts @@ -1,4 +1,4 @@ -import { IAuthenticateGeneric, ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { IAuthenticateGeneric, ICredentialType, INodeProperties } from 'n8n-workflow'; export class LinearApi implements ICredentialType { name = 'linearApi'; diff --git a/packages/nodes-base/credentials/LingvaNexApi.credentials.ts b/packages/nodes-base/credentials/LingvaNexApi.credentials.ts index 9ce7058497..d5413556d2 100644 --- a/packages/nodes-base/credentials/LingvaNexApi.credentials.ts +++ b/packages/nodes-base/credentials/LingvaNexApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class LingvaNexApi implements ICredentialType { name = 'lingvaNexApi'; diff --git a/packages/nodes-base/credentials/LinkedInOAuth2Api.credentials.ts b/packages/nodes-base/credentials/LinkedInOAuth2Api.credentials.ts index 0cae7260ca..c87c2999ba 100644 --- a/packages/nodes-base/credentials/LinkedInOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/LinkedInOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class LinkedInOAuth2Api implements ICredentialType { name = 'linkedInOAuth2Api'; diff --git a/packages/nodes-base/credentials/Magento2Api.credentials.ts b/packages/nodes-base/credentials/Magento2Api.credentials.ts index a56b437a70..b7cb23997d 100644 --- a/packages/nodes-base/credentials/Magento2Api.credentials.ts +++ b/packages/nodes-base/credentials/Magento2Api.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/MailcheckApi.credentials.ts b/packages/nodes-base/credentials/MailcheckApi.credentials.ts index bcfec7eaf4..cb8f8d2756 100644 --- a/packages/nodes-base/credentials/MailcheckApi.credentials.ts +++ b/packages/nodes-base/credentials/MailcheckApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class MailcheckApi implements ICredentialType { name = 'mailcheckApi'; diff --git a/packages/nodes-base/credentials/MailchimpApi.credentials.ts b/packages/nodes-base/credentials/MailchimpApi.credentials.ts index bd75c4b809..78a79c8278 100644 --- a/packages/nodes-base/credentials/MailchimpApi.credentials.ts +++ b/packages/nodes-base/credentials/MailchimpApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/MailchimpOAuth2Api.credentials.ts b/packages/nodes-base/credentials/MailchimpOAuth2Api.credentials.ts index 45f945b8b9..3956d821aa 100644 --- a/packages/nodes-base/credentials/MailchimpOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/MailchimpOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class MailchimpOAuth2Api implements ICredentialType { name = 'mailchimpOAuth2Api'; diff --git a/packages/nodes-base/credentials/MailerLiteApi.credentials.ts b/packages/nodes-base/credentials/MailerLiteApi.credentials.ts index 0c60e97800..54a97b4cc7 100644 --- a/packages/nodes-base/credentials/MailerLiteApi.credentials.ts +++ b/packages/nodes-base/credentials/MailerLiteApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class MailerLiteApi implements ICredentialType { name = 'mailerLiteApi'; diff --git a/packages/nodes-base/credentials/MailgunApi.credentials.ts b/packages/nodes-base/credentials/MailgunApi.credentials.ts index 5dd9429396..20e55ceb01 100644 --- a/packages/nodes-base/credentials/MailgunApi.credentials.ts +++ b/packages/nodes-base/credentials/MailgunApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/MailjetEmailApi.credentials.ts b/packages/nodes-base/credentials/MailjetEmailApi.credentials.ts index a6b27e4551..44721af91f 100644 --- a/packages/nodes-base/credentials/MailjetEmailApi.credentials.ts +++ b/packages/nodes-base/credentials/MailjetEmailApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/MailjetSmsApi.credentials.ts b/packages/nodes-base/credentials/MailjetSmsApi.credentials.ts index e104f676b0..555bbf49d8 100644 --- a/packages/nodes-base/credentials/MailjetSmsApi.credentials.ts +++ b/packages/nodes-base/credentials/MailjetSmsApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/MandrillApi.credentials.ts b/packages/nodes-base/credentials/MandrillApi.credentials.ts index 7880a3ccca..f71ff23ac6 100644 --- a/packages/nodes-base/credentials/MandrillApi.credentials.ts +++ b/packages/nodes-base/credentials/MandrillApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class MandrillApi implements ICredentialType { name = 'mandrillApi'; diff --git a/packages/nodes-base/credentials/MarketstackApi.credentials.ts b/packages/nodes-base/credentials/MarketstackApi.credentials.ts index 5ca3bec5a4..35f980608a 100644 --- a/packages/nodes-base/credentials/MarketstackApi.credentials.ts +++ b/packages/nodes-base/credentials/MarketstackApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class MarketstackApi implements ICredentialType { name = 'marketstackApi'; diff --git a/packages/nodes-base/credentials/MatrixApi.credentials.ts b/packages/nodes-base/credentials/MatrixApi.credentials.ts index 84322d86fb..8bdb9eef13 100644 --- a/packages/nodes-base/credentials/MatrixApi.credentials.ts +++ b/packages/nodes-base/credentials/MatrixApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class MatrixApi implements ICredentialType { name = 'matrixApi'; diff --git a/packages/nodes-base/credentials/MattermostApi.credentials.ts b/packages/nodes-base/credentials/MattermostApi.credentials.ts index d819a223f7..62cd723607 100644 --- a/packages/nodes-base/credentials/MattermostApi.credentials.ts +++ b/packages/nodes-base/credentials/MattermostApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/MauticApi.credentials.ts b/packages/nodes-base/credentials/MauticApi.credentials.ts index c852b4415e..64b86e6805 100644 --- a/packages/nodes-base/credentials/MauticApi.credentials.ts +++ b/packages/nodes-base/credentials/MauticApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/MauticOAuth2Api.credentials.ts b/packages/nodes-base/credentials/MauticOAuth2Api.credentials.ts index 47fe1b3939..dce4b0d732 100644 --- a/packages/nodes-base/credentials/MauticOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/MauticOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class MauticOAuth2Api implements ICredentialType { name = 'mauticOAuth2Api'; diff --git a/packages/nodes-base/credentials/MediumApi.credentials.ts b/packages/nodes-base/credentials/MediumApi.credentials.ts index 0f82fc592a..e94bcf0a0b 100644 --- a/packages/nodes-base/credentials/MediumApi.credentials.ts +++ b/packages/nodes-base/credentials/MediumApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class MediumApi implements ICredentialType { name = 'mediumApi'; diff --git a/packages/nodes-base/credentials/MediumOAuth2Api.credentials.ts b/packages/nodes-base/credentials/MediumOAuth2Api.credentials.ts index 0d872d41c7..d043ebf99c 100644 --- a/packages/nodes-base/credentials/MediumOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/MediumOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class MediumOAuth2Api implements ICredentialType { name = 'mediumOAuth2Api'; diff --git a/packages/nodes-base/credentials/MessageBirdApi.credentials.ts b/packages/nodes-base/credentials/MessageBirdApi.credentials.ts index 461e1c9568..45cea5a93f 100644 --- a/packages/nodes-base/credentials/MessageBirdApi.credentials.ts +++ b/packages/nodes-base/credentials/MessageBirdApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class MessageBirdApi implements ICredentialType { name = 'messageBirdApi'; diff --git a/packages/nodes-base/credentials/MetabaseApi.credentials.ts b/packages/nodes-base/credentials/MetabaseApi.credentials.ts index f0e7c8874e..3e741abfae 100644 --- a/packages/nodes-base/credentials/MetabaseApi.credentials.ts +++ b/packages/nodes-base/credentials/MetabaseApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { IAuthenticateGeneric, ICredentialDataDecryptedObject, ICredentialTestRequest, diff --git a/packages/nodes-base/credentials/MicrosoftDynamicsOAuth2Api.credentials.ts b/packages/nodes-base/credentials/MicrosoftDynamicsOAuth2Api.credentials.ts index 2111f8f881..2cf36fe0be 100644 --- a/packages/nodes-base/credentials/MicrosoftDynamicsOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/MicrosoftDynamicsOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class MicrosoftDynamicsOAuth2Api implements ICredentialType { name = 'microsoftDynamicsOAuth2Api'; diff --git a/packages/nodes-base/credentials/MicrosoftExcelOAuth2Api.credentials.ts b/packages/nodes-base/credentials/MicrosoftExcelOAuth2Api.credentials.ts index dfb7d4f2fc..e408964b7a 100644 --- a/packages/nodes-base/credentials/MicrosoftExcelOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/MicrosoftExcelOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class MicrosoftExcelOAuth2Api implements ICredentialType { name = 'microsoftExcelOAuth2Api'; diff --git a/packages/nodes-base/credentials/MicrosoftGraphSecurityOAuth2Api.credentials.ts b/packages/nodes-base/credentials/MicrosoftGraphSecurityOAuth2Api.credentials.ts index 5135dc2279..7063b8985d 100644 --- a/packages/nodes-base/credentials/MicrosoftGraphSecurityOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/MicrosoftGraphSecurityOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class MicrosoftGraphSecurityOAuth2Api implements ICredentialType { name = 'microsoftGraphSecurityOAuth2Api'; diff --git a/packages/nodes-base/credentials/MicrosoftOAuth2Api.credentials.ts b/packages/nodes-base/credentials/MicrosoftOAuth2Api.credentials.ts index a5e4b61513..1dcdf116d9 100644 --- a/packages/nodes-base/credentials/MicrosoftOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/MicrosoftOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class MicrosoftOAuth2Api implements ICredentialType { name = 'microsoftOAuth2Api'; diff --git a/packages/nodes-base/credentials/MicrosoftOneDriveOAuth2Api.credentials.ts b/packages/nodes-base/credentials/MicrosoftOneDriveOAuth2Api.credentials.ts index 4fceeedcf6..835712ac53 100644 --- a/packages/nodes-base/credentials/MicrosoftOneDriveOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/MicrosoftOneDriveOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class MicrosoftOneDriveOAuth2Api implements ICredentialType { name = 'microsoftOneDriveOAuth2Api'; diff --git a/packages/nodes-base/credentials/MicrosoftOutlookOAuth2Api.credentials.ts b/packages/nodes-base/credentials/MicrosoftOutlookOAuth2Api.credentials.ts index 312a2ea3ba..74b179020b 100644 --- a/packages/nodes-base/credentials/MicrosoftOutlookOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/MicrosoftOutlookOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class MicrosoftOutlookOAuth2Api implements ICredentialType { name = 'microsoftOutlookOAuth2Api'; diff --git a/packages/nodes-base/credentials/MicrosoftSql.credentials.ts b/packages/nodes-base/credentials/MicrosoftSql.credentials.ts index e0bba547e7..5bc3f481f1 100644 --- a/packages/nodes-base/credentials/MicrosoftSql.credentials.ts +++ b/packages/nodes-base/credentials/MicrosoftSql.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class MicrosoftSql implements ICredentialType { name = 'microsoftSql'; diff --git a/packages/nodes-base/credentials/MicrosoftTeamsOAuth2Api.credentials.ts b/packages/nodes-base/credentials/MicrosoftTeamsOAuth2Api.credentials.ts index 549aac66a6..0476c2e007 100644 --- a/packages/nodes-base/credentials/MicrosoftTeamsOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/MicrosoftTeamsOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class MicrosoftTeamsOAuth2Api implements ICredentialType { name = 'microsoftTeamsOAuth2Api'; diff --git a/packages/nodes-base/credentials/MicrosoftToDoOAuth2Api.credentials.ts b/packages/nodes-base/credentials/MicrosoftToDoOAuth2Api.credentials.ts index c457c4e8dd..ea46da6f17 100644 --- a/packages/nodes-base/credentials/MicrosoftToDoOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/MicrosoftToDoOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class MicrosoftToDoOAuth2Api implements ICredentialType { name = 'microsoftToDoOAuth2Api'; diff --git a/packages/nodes-base/credentials/MindeeInvoiceApi.credentials.ts b/packages/nodes-base/credentials/MindeeInvoiceApi.credentials.ts index e90e353013..497d6b120e 100644 --- a/packages/nodes-base/credentials/MindeeInvoiceApi.credentials.ts +++ b/packages/nodes-base/credentials/MindeeInvoiceApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { ICredentialDataDecryptedObject, ICredentialType, IHttpRequestOptions, diff --git a/packages/nodes-base/credentials/MindeeReceiptApi.credentials.ts b/packages/nodes-base/credentials/MindeeReceiptApi.credentials.ts index a12dcc8bbf..54f686d9b2 100644 --- a/packages/nodes-base/credentials/MindeeReceiptApi.credentials.ts +++ b/packages/nodes-base/credentials/MindeeReceiptApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { ICredentialDataDecryptedObject, ICredentialType, IHttpRequestOptions, diff --git a/packages/nodes-base/credentials/MispApi.credentials.ts b/packages/nodes-base/credentials/MispApi.credentials.ts index 77e730af3d..8067aaf712 100644 --- a/packages/nodes-base/credentials/MispApi.credentials.ts +++ b/packages/nodes-base/credentials/MispApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class MispApi implements ICredentialType { name = 'mispApi'; diff --git a/packages/nodes-base/credentials/MoceanApi.credentials.ts b/packages/nodes-base/credentials/MoceanApi.credentials.ts index 1090e9da95..1f320352b5 100644 --- a/packages/nodes-base/credentials/MoceanApi.credentials.ts +++ b/packages/nodes-base/credentials/MoceanApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class MoceanApi implements ICredentialType { name = 'moceanApi'; diff --git a/packages/nodes-base/credentials/MondayComApi.credentials.ts b/packages/nodes-base/credentials/MondayComApi.credentials.ts index e3e3266a13..bc3a6751ff 100644 --- a/packages/nodes-base/credentials/MondayComApi.credentials.ts +++ b/packages/nodes-base/credentials/MondayComApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class MondayComApi implements ICredentialType { name = 'mondayComApi'; diff --git a/packages/nodes-base/credentials/MondayComOAuth2Api.credentials.ts b/packages/nodes-base/credentials/MondayComOAuth2Api.credentials.ts index 7c4c6346bd..271e9fc736 100644 --- a/packages/nodes-base/credentials/MondayComOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/MondayComOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; const scopes = ['boards:write', 'boards:read']; diff --git a/packages/nodes-base/credentials/MongoDb.credentials.ts b/packages/nodes-base/credentials/MongoDb.credentials.ts index c43be57b93..f018e67b59 100644 --- a/packages/nodes-base/credentials/MongoDb.credentials.ts +++ b/packages/nodes-base/credentials/MongoDb.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class MongoDb implements ICredentialType { name = 'mongoDb'; diff --git a/packages/nodes-base/credentials/MonicaCrmApi.credentials.ts b/packages/nodes-base/credentials/MonicaCrmApi.credentials.ts index 40b54bcc13..826a229d8e 100644 --- a/packages/nodes-base/credentials/MonicaCrmApi.credentials.ts +++ b/packages/nodes-base/credentials/MonicaCrmApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class MonicaCrmApi implements ICredentialType { name = 'monicaCrmApi'; diff --git a/packages/nodes-base/credentials/Mqtt.credentials.ts b/packages/nodes-base/credentials/Mqtt.credentials.ts index ac9808af0a..334463a7c4 100644 --- a/packages/nodes-base/credentials/Mqtt.credentials.ts +++ b/packages/nodes-base/credentials/Mqtt.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, IDisplayOptions, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, IDisplayOptions, INodeProperties } from 'n8n-workflow'; export class Mqtt implements ICredentialType { name = 'mqtt'; diff --git a/packages/nodes-base/credentials/Msg91Api.credentials.ts b/packages/nodes-base/credentials/Msg91Api.credentials.ts index 7571453a49..d4edb89c53 100644 --- a/packages/nodes-base/credentials/Msg91Api.credentials.ts +++ b/packages/nodes-base/credentials/Msg91Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class Msg91Api implements ICredentialType { name = 'msg91Api'; diff --git a/packages/nodes-base/credentials/MySql.credentials.ts b/packages/nodes-base/credentials/MySql.credentials.ts index 7ef5e354d0..93845b4c22 100644 --- a/packages/nodes-base/credentials/MySql.credentials.ts +++ b/packages/nodes-base/credentials/MySql.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class MySql implements ICredentialType { name = 'mySql'; diff --git a/packages/nodes-base/credentials/N8nApi.credentials.ts b/packages/nodes-base/credentials/N8nApi.credentials.ts index de2092ea75..d20100ce7a 100644 --- a/packages/nodes-base/credentials/N8nApi.credentials.ts +++ b/packages/nodes-base/credentials/N8nApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/NasaApi.credentials.ts b/packages/nodes-base/credentials/NasaApi.credentials.ts index c3f464c9ec..ae33e84387 100644 --- a/packages/nodes-base/credentials/NasaApi.credentials.ts +++ b/packages/nodes-base/credentials/NasaApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class NasaApi implements ICredentialType { name = 'nasaApi'; diff --git a/packages/nodes-base/credentials/NetlifyApi.credentials.ts b/packages/nodes-base/credentials/NetlifyApi.credentials.ts index fda8ed0228..4544eb37f4 100644 --- a/packages/nodes-base/credentials/NetlifyApi.credentials.ts +++ b/packages/nodes-base/credentials/NetlifyApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, NodePropertyTypes } from 'n8n-workflow'; +import type { ICredentialType, NodePropertyTypes } from 'n8n-workflow'; export class NetlifyApi implements ICredentialType { name = 'netlifyApi'; diff --git a/packages/nodes-base/credentials/NextCloudApi.credentials.ts b/packages/nodes-base/credentials/NextCloudApi.credentials.ts index 1e6a29b5c9..39954a7d48 100644 --- a/packages/nodes-base/credentials/NextCloudApi.credentials.ts +++ b/packages/nodes-base/credentials/NextCloudApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { ICredentialDataDecryptedObject, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/NextCloudOAuth2Api.credentials.ts b/packages/nodes-base/credentials/NextCloudOAuth2Api.credentials.ts index 90f62b07bf..7b7781053e 100644 --- a/packages/nodes-base/credentials/NextCloudOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/NextCloudOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class NextCloudOAuth2Api implements ICredentialType { name = 'nextCloudOAuth2Api'; diff --git a/packages/nodes-base/credentials/NocoDb.credentials.ts b/packages/nodes-base/credentials/NocoDb.credentials.ts index 193e0e5ebf..cfc8651805 100644 --- a/packages/nodes-base/credentials/NocoDb.credentials.ts +++ b/packages/nodes-base/credentials/NocoDb.credentials.ts @@ -1,4 +1,4 @@ -import { IAuthenticateGeneric, ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { IAuthenticateGeneric, ICredentialType, INodeProperties } from 'n8n-workflow'; export class NocoDb implements ICredentialType { name = 'nocoDb'; diff --git a/packages/nodes-base/credentials/NocoDbApiToken.credentials.ts b/packages/nodes-base/credentials/NocoDbApiToken.credentials.ts index c5ac2530e5..a545f121c2 100644 --- a/packages/nodes-base/credentials/NocoDbApiToken.credentials.ts +++ b/packages/nodes-base/credentials/NocoDbApiToken.credentials.ts @@ -1,4 +1,4 @@ -import { IAuthenticateGeneric, ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { IAuthenticateGeneric, ICredentialType, INodeProperties } from 'n8n-workflow'; export class NocoDbApiToken implements ICredentialType { name = 'nocoDbApiToken'; diff --git a/packages/nodes-base/credentials/NotionApi.credentials.ts b/packages/nodes-base/credentials/NotionApi.credentials.ts index 99c4d8a5a9..be5c6e6f7d 100644 --- a/packages/nodes-base/credentials/NotionApi.credentials.ts +++ b/packages/nodes-base/credentials/NotionApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { ICredentialDataDecryptedObject, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/NotionOAuth2Api.credentials.ts b/packages/nodes-base/credentials/NotionOAuth2Api.credentials.ts index dc35b9782a..f0ac78d3a7 100644 --- a/packages/nodes-base/credentials/NotionOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/NotionOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class NotionOAuth2Api implements ICredentialType { name = 'notionOAuth2Api'; diff --git a/packages/nodes-base/credentials/OAuth1Api.credentials.ts b/packages/nodes-base/credentials/OAuth1Api.credentials.ts index d28a601921..30e08bc6f9 100644 --- a/packages/nodes-base/credentials/OAuth1Api.credentials.ts +++ b/packages/nodes-base/credentials/OAuth1Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class OAuth1Api implements ICredentialType { name = 'oAuth1Api'; diff --git a/packages/nodes-base/credentials/OAuth2Api.credentials.ts b/packages/nodes-base/credentials/OAuth2Api.credentials.ts index ce9ed61e43..d818ea3b67 100644 --- a/packages/nodes-base/credentials/OAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/OAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class OAuth2Api implements ICredentialType { name = 'oAuth2Api'; diff --git a/packages/nodes-base/credentials/OdooApi.credentials.ts b/packages/nodes-base/credentials/OdooApi.credentials.ts index a28dcc9b62..ac760a86a5 100644 --- a/packages/nodes-base/credentials/OdooApi.credentials.ts +++ b/packages/nodes-base/credentials/OdooApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties, NodePropertyTypes } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties, NodePropertyTypes } from 'n8n-workflow'; export class OdooApi implements ICredentialType { name = 'odooApi'; diff --git a/packages/nodes-base/credentials/OneSimpleApi.credentials.ts b/packages/nodes-base/credentials/OneSimpleApi.credentials.ts index ca81760379..611a9cdd24 100644 --- a/packages/nodes-base/credentials/OneSimpleApi.credentials.ts +++ b/packages/nodes-base/credentials/OneSimpleApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class OneSimpleApi implements ICredentialType { name = 'oneSimpleApi'; diff --git a/packages/nodes-base/credentials/OnfleetApi.credentials.ts b/packages/nodes-base/credentials/OnfleetApi.credentials.ts index 80461af18b..2305fc1bda 100644 --- a/packages/nodes-base/credentials/OnfleetApi.credentials.ts +++ b/packages/nodes-base/credentials/OnfleetApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, NodePropertyTypes } from 'n8n-workflow'; +import type { ICredentialType, NodePropertyTypes } from 'n8n-workflow'; export class OnfleetApi implements ICredentialType { name = 'onfleetApi'; diff --git a/packages/nodes-base/credentials/OpenAiApi.credentials.ts b/packages/nodes-base/credentials/OpenAiApi.credentials.ts index 5b5066355a..f460458755 100644 --- a/packages/nodes-base/credentials/OpenAiApi.credentials.ts +++ b/packages/nodes-base/credentials/OpenAiApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/OpenWeatherMapApi.credentials.ts b/packages/nodes-base/credentials/OpenWeatherMapApi.credentials.ts index a8051fbbf3..610385ed34 100644 --- a/packages/nodes-base/credentials/OpenWeatherMapApi.credentials.ts +++ b/packages/nodes-base/credentials/OpenWeatherMapApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class OpenWeatherMapApi implements ICredentialType { name = 'openWeatherMapApi'; diff --git a/packages/nodes-base/credentials/OrbitApi.credentials.ts b/packages/nodes-base/credentials/OrbitApi.credentials.ts index f1946888ac..b07225c60a 100644 --- a/packages/nodes-base/credentials/OrbitApi.credentials.ts +++ b/packages/nodes-base/credentials/OrbitApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class OrbitApi implements ICredentialType { name = 'orbitApi'; diff --git a/packages/nodes-base/credentials/OuraApi.credentials.ts b/packages/nodes-base/credentials/OuraApi.credentials.ts index bc7a2c4d2c..b101fac588 100644 --- a/packages/nodes-base/credentials/OuraApi.credentials.ts +++ b/packages/nodes-base/credentials/OuraApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class OuraApi implements ICredentialType { name = 'ouraApi'; diff --git a/packages/nodes-base/credentials/PaddleApi.credentials.ts b/packages/nodes-base/credentials/PaddleApi.credentials.ts index 961c7b2755..ce577f30d9 100644 --- a/packages/nodes-base/credentials/PaddleApi.credentials.ts +++ b/packages/nodes-base/credentials/PaddleApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class PaddleApi implements ICredentialType { name = 'paddleApi'; diff --git a/packages/nodes-base/credentials/PagerDutyApi.credentials.ts b/packages/nodes-base/credentials/PagerDutyApi.credentials.ts index 2be92051c3..97f577c7fd 100644 --- a/packages/nodes-base/credentials/PagerDutyApi.credentials.ts +++ b/packages/nodes-base/credentials/PagerDutyApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class PagerDutyApi implements ICredentialType { name = 'pagerDutyApi'; diff --git a/packages/nodes-base/credentials/PagerDutyOAuth2Api.credentials.ts b/packages/nodes-base/credentials/PagerDutyOAuth2Api.credentials.ts index 55f3acfbb9..dab10bc699 100644 --- a/packages/nodes-base/credentials/PagerDutyOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/PagerDutyOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class PagerDutyOAuth2Api implements ICredentialType { name = 'pagerDutyOAuth2Api'; diff --git a/packages/nodes-base/credentials/PayPalApi.credentials.ts b/packages/nodes-base/credentials/PayPalApi.credentials.ts index d8b9a5fd36..d8e5d96d94 100644 --- a/packages/nodes-base/credentials/PayPalApi.credentials.ts +++ b/packages/nodes-base/credentials/PayPalApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class PayPalApi implements ICredentialType { name = 'payPalApi'; diff --git a/packages/nodes-base/credentials/PeekalinkApi.credentials.ts b/packages/nodes-base/credentials/PeekalinkApi.credentials.ts index 5c1c340b0f..b3a61e3ae1 100644 --- a/packages/nodes-base/credentials/PeekalinkApi.credentials.ts +++ b/packages/nodes-base/credentials/PeekalinkApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class PeekalinkApi implements ICredentialType { name = 'peekalinkApi'; diff --git a/packages/nodes-base/credentials/PhantombusterApi.credentials.ts b/packages/nodes-base/credentials/PhantombusterApi.credentials.ts index ce3eb8d9ca..045b6bc17f 100644 --- a/packages/nodes-base/credentials/PhantombusterApi.credentials.ts +++ b/packages/nodes-base/credentials/PhantombusterApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/PhilipsHueOAuth2Api.credentials.ts b/packages/nodes-base/credentials/PhilipsHueOAuth2Api.credentials.ts index 8c7b203c4d..2096fd5b07 100644 --- a/packages/nodes-base/credentials/PhilipsHueOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/PhilipsHueOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class PhilipsHueOAuth2Api implements ICredentialType { name = 'philipsHueOAuth2Api'; diff --git a/packages/nodes-base/credentials/PipedriveApi.credentials.ts b/packages/nodes-base/credentials/PipedriveApi.credentials.ts index 2f69fb7335..c45cac8982 100644 --- a/packages/nodes-base/credentials/PipedriveApi.credentials.ts +++ b/packages/nodes-base/credentials/PipedriveApi.credentials.ts @@ -1,4 +1,4 @@ -import { IAuthenticateGeneric, ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { IAuthenticateGeneric, ICredentialType, INodeProperties } from 'n8n-workflow'; export class PipedriveApi implements ICredentialType { name = 'pipedriveApi'; diff --git a/packages/nodes-base/credentials/PipedriveOAuth2Api.credentials.ts b/packages/nodes-base/credentials/PipedriveOAuth2Api.credentials.ts index b358e7ee49..a7e6cc9ebd 100644 --- a/packages/nodes-base/credentials/PipedriveOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/PipedriveOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class PipedriveOAuth2Api implements ICredentialType { name = 'pipedriveOAuth2Api'; diff --git a/packages/nodes-base/credentials/PlivoApi.credentials.ts b/packages/nodes-base/credentials/PlivoApi.credentials.ts index ec5298a93e..fe36db9996 100644 --- a/packages/nodes-base/credentials/PlivoApi.credentials.ts +++ b/packages/nodes-base/credentials/PlivoApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class PlivoApi implements ICredentialType { name = 'plivoApi'; diff --git a/packages/nodes-base/credentials/PostHogApi.credentials.ts b/packages/nodes-base/credentials/PostHogApi.credentials.ts index ad4e28b6f6..3b9f695b52 100644 --- a/packages/nodes-base/credentials/PostHogApi.credentials.ts +++ b/packages/nodes-base/credentials/PostHogApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class PostHogApi implements ICredentialType { name = 'postHogApi'; diff --git a/packages/nodes-base/credentials/Postgres.credentials.ts b/packages/nodes-base/credentials/Postgres.credentials.ts index 5b78a994c4..e217b41c05 100644 --- a/packages/nodes-base/credentials/Postgres.credentials.ts +++ b/packages/nodes-base/credentials/Postgres.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class Postgres implements ICredentialType { name = 'postgres'; diff --git a/packages/nodes-base/credentials/PostmarkApi.credentials.ts b/packages/nodes-base/credentials/PostmarkApi.credentials.ts index a6eae4d553..ca3d0a2d7e 100644 --- a/packages/nodes-base/credentials/PostmarkApi.credentials.ts +++ b/packages/nodes-base/credentials/PostmarkApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/ProfitWellApi.credentials.ts b/packages/nodes-base/credentials/ProfitWellApi.credentials.ts index d6235fb246..b65c8b0fc6 100644 --- a/packages/nodes-base/credentials/ProfitWellApi.credentials.ts +++ b/packages/nodes-base/credentials/ProfitWellApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class ProfitWellApi implements ICredentialType { name = 'profitWellApi'; diff --git a/packages/nodes-base/credentials/PushbulletOAuth2Api.credentials.ts b/packages/nodes-base/credentials/PushbulletOAuth2Api.credentials.ts index fa1b52a33f..e380eddce8 100644 --- a/packages/nodes-base/credentials/PushbulletOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/PushbulletOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class PushbulletOAuth2Api implements ICredentialType { name = 'pushbulletOAuth2Api'; diff --git a/packages/nodes-base/credentials/PushcutApi.credentials.ts b/packages/nodes-base/credentials/PushcutApi.credentials.ts index 19ec591e19..0987018fa5 100644 --- a/packages/nodes-base/credentials/PushcutApi.credentials.ts +++ b/packages/nodes-base/credentials/PushcutApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class PushcutApi implements ICredentialType { name = 'pushcutApi'; diff --git a/packages/nodes-base/credentials/PushoverApi.credentials.ts b/packages/nodes-base/credentials/PushoverApi.credentials.ts index 07f8600328..52e039cd42 100644 --- a/packages/nodes-base/credentials/PushoverApi.credentials.ts +++ b/packages/nodes-base/credentials/PushoverApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { ICredentialDataDecryptedObject, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/QuestDb.credentials.ts b/packages/nodes-base/credentials/QuestDb.credentials.ts index 6dc5faa0d4..d44ecdaea9 100644 --- a/packages/nodes-base/credentials/QuestDb.credentials.ts +++ b/packages/nodes-base/credentials/QuestDb.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class QuestDb implements ICredentialType { name = 'questDb'; diff --git a/packages/nodes-base/credentials/QuickBaseApi.credentials.ts b/packages/nodes-base/credentials/QuickBaseApi.credentials.ts index e2dd23370e..bb3935ae7e 100644 --- a/packages/nodes-base/credentials/QuickBaseApi.credentials.ts +++ b/packages/nodes-base/credentials/QuickBaseApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class QuickBaseApi implements ICredentialType { name = 'quickbaseApi'; diff --git a/packages/nodes-base/credentials/QuickBooksOAuth2Api.credentials.ts b/packages/nodes-base/credentials/QuickBooksOAuth2Api.credentials.ts index 6c1d1d70dc..53ff581d6d 100644 --- a/packages/nodes-base/credentials/QuickBooksOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/QuickBooksOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; // https://developer.intuit.com/app/developer/qbo/docs/develop/authentication-and-authorization diff --git a/packages/nodes-base/credentials/RabbitMQ.credentials.ts b/packages/nodes-base/credentials/RabbitMQ.credentials.ts index 297d0a3d98..daebd2fcf3 100644 --- a/packages/nodes-base/credentials/RabbitMQ.credentials.ts +++ b/packages/nodes-base/credentials/RabbitMQ.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, IDisplayOptions, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, IDisplayOptions, INodeProperties } from 'n8n-workflow'; export class RabbitMQ implements ICredentialType { name = 'rabbitmq'; diff --git a/packages/nodes-base/credentials/RaindropOAuth2Api.credentials.ts b/packages/nodes-base/credentials/RaindropOAuth2Api.credentials.ts index d38dd95348..ba551b5b07 100644 --- a/packages/nodes-base/credentials/RaindropOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/RaindropOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; // https://developer.raindrop.io/v1/authentication diff --git a/packages/nodes-base/credentials/RedditOAuth2Api.credentials.ts b/packages/nodes-base/credentials/RedditOAuth2Api.credentials.ts index e4cb456e92..2457d078dd 100644 --- a/packages/nodes-base/credentials/RedditOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/RedditOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; const scopes = ['identity', 'edit', 'history', 'mysubreddits', 'read', 'save', 'submit']; diff --git a/packages/nodes-base/credentials/Redis.credentials.ts b/packages/nodes-base/credentials/Redis.credentials.ts index ea00211cb6..2833ca24e1 100644 --- a/packages/nodes-base/credentials/Redis.credentials.ts +++ b/packages/nodes-base/credentials/Redis.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class Redis implements ICredentialType { name = 'redis'; diff --git a/packages/nodes-base/credentials/RocketchatApi.credentials.ts b/packages/nodes-base/credentials/RocketchatApi.credentials.ts index ccd0c4d49f..231445a24b 100644 --- a/packages/nodes-base/credentials/RocketchatApi.credentials.ts +++ b/packages/nodes-base/credentials/RocketchatApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/RundeckApi.credentials.ts b/packages/nodes-base/credentials/RundeckApi.credentials.ts index a264e34c5c..78b855f62a 100644 --- a/packages/nodes-base/credentials/RundeckApi.credentials.ts +++ b/packages/nodes-base/credentials/RundeckApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/S3.credentials.ts b/packages/nodes-base/credentials/S3.credentials.ts index 80c7127b50..54050a0310 100644 --- a/packages/nodes-base/credentials/S3.credentials.ts +++ b/packages/nodes-base/credentials/S3.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class S3 implements ICredentialType { name = 's3'; diff --git a/packages/nodes-base/credentials/SalesforceJwtApi.credentials.ts b/packages/nodes-base/credentials/SalesforceJwtApi.credentials.ts index 0f59d7e140..a7fb72092d 100644 --- a/packages/nodes-base/credentials/SalesforceJwtApi.credentials.ts +++ b/packages/nodes-base/credentials/SalesforceJwtApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class SalesforceJwtApi implements ICredentialType { name = 'salesforceJwtApi'; diff --git a/packages/nodes-base/credentials/SalesforceOAuth2Api.credentials.ts b/packages/nodes-base/credentials/SalesforceOAuth2Api.credentials.ts index f405fd9951..ff0e5a62a0 100644 --- a/packages/nodes-base/credentials/SalesforceOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/SalesforceOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class SalesforceOAuth2Api implements ICredentialType { name = 'salesforceOAuth2Api'; diff --git a/packages/nodes-base/credentials/SalesmateApi.credentials.ts b/packages/nodes-base/credentials/SalesmateApi.credentials.ts index 760f1f0956..6b99cb5058 100644 --- a/packages/nodes-base/credentials/SalesmateApi.credentials.ts +++ b/packages/nodes-base/credentials/SalesmateApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class SalesmateApi implements ICredentialType { name = 'salesmateApi'; diff --git a/packages/nodes-base/credentials/SeaTableApi.credentials.ts b/packages/nodes-base/credentials/SeaTableApi.credentials.ts index 12dde25a72..ba468a0384 100644 --- a/packages/nodes-base/credentials/SeaTableApi.credentials.ts +++ b/packages/nodes-base/credentials/SeaTableApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties, INodePropertyOptions } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties, INodePropertyOptions } from 'n8n-workflow'; import moment from 'moment-timezone'; diff --git a/packages/nodes-base/credentials/SecurityScorecardApi.credentials.ts b/packages/nodes-base/credentials/SecurityScorecardApi.credentials.ts index 59857e4334..0cf0d21162 100644 --- a/packages/nodes-base/credentials/SecurityScorecardApi.credentials.ts +++ b/packages/nodes-base/credentials/SecurityScorecardApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class SecurityScorecardApi implements ICredentialType { name = 'securityScorecardApi'; diff --git a/packages/nodes-base/credentials/SegmentApi.credentials.ts b/packages/nodes-base/credentials/SegmentApi.credentials.ts index 44804861e6..d9b5a7fb70 100644 --- a/packages/nodes-base/credentials/SegmentApi.credentials.ts +++ b/packages/nodes-base/credentials/SegmentApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { ICredentialDataDecryptedObject, ICredentialType, IHttpRequestOptions, diff --git a/packages/nodes-base/credentials/SendGridApi.credentials.ts b/packages/nodes-base/credentials/SendGridApi.credentials.ts index 1b8eea4f8a..e2864763bd 100644 --- a/packages/nodes-base/credentials/SendGridApi.credentials.ts +++ b/packages/nodes-base/credentials/SendGridApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/SendInBlueApi.credentials.ts b/packages/nodes-base/credentials/SendInBlueApi.credentials.ts index bf1dbbe868..f4fed2a413 100644 --- a/packages/nodes-base/credentials/SendInBlueApi.credentials.ts +++ b/packages/nodes-base/credentials/SendInBlueApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/SendyApi.credentials.ts b/packages/nodes-base/credentials/SendyApi.credentials.ts index 0daa2613f4..83dbdbb2e0 100644 --- a/packages/nodes-base/credentials/SendyApi.credentials.ts +++ b/packages/nodes-base/credentials/SendyApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class SendyApi implements ICredentialType { name = 'sendyApi'; diff --git a/packages/nodes-base/credentials/SentryIoApi.credentials.ts b/packages/nodes-base/credentials/SentryIoApi.credentials.ts index 24b0c1305a..a4c8e4da0f 100644 --- a/packages/nodes-base/credentials/SentryIoApi.credentials.ts +++ b/packages/nodes-base/credentials/SentryIoApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class SentryIoApi implements ICredentialType { name = 'sentryIoApi'; diff --git a/packages/nodes-base/credentials/SentryIoOAuth2Api.credentials.ts b/packages/nodes-base/credentials/SentryIoOAuth2Api.credentials.ts index baa3846c7b..5b1f01d09c 100644 --- a/packages/nodes-base/credentials/SentryIoOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/SentryIoOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class SentryIoOAuth2Api implements ICredentialType { name = 'sentryIoOAuth2Api'; diff --git a/packages/nodes-base/credentials/SentryIoServerApi.credentials.ts b/packages/nodes-base/credentials/SentryIoServerApi.credentials.ts index 13859f2ac1..823086b627 100644 --- a/packages/nodes-base/credentials/SentryIoServerApi.credentials.ts +++ b/packages/nodes-base/credentials/SentryIoServerApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class SentryIoServerApi implements ICredentialType { name = 'sentryIoServerApi'; diff --git a/packages/nodes-base/credentials/ServiceNowBasicApi.credentials.ts b/packages/nodes-base/credentials/ServiceNowBasicApi.credentials.ts index 872b8be358..d04b057679 100644 --- a/packages/nodes-base/credentials/ServiceNowBasicApi.credentials.ts +++ b/packages/nodes-base/credentials/ServiceNowBasicApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/ServiceNowOAuth2Api.credentials.ts b/packages/nodes-base/credentials/ServiceNowOAuth2Api.credentials.ts index 2e08375ed2..ef7f84d97f 100644 --- a/packages/nodes-base/credentials/ServiceNowOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/ServiceNowOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class ServiceNowOAuth2Api implements ICredentialType { name = 'serviceNowOAuth2Api'; diff --git a/packages/nodes-base/credentials/Sftp.credentials.ts b/packages/nodes-base/credentials/Sftp.credentials.ts index 277ea0a864..645dab0e32 100644 --- a/packages/nodes-base/credentials/Sftp.credentials.ts +++ b/packages/nodes-base/credentials/Sftp.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class Sftp implements ICredentialType { name = 'sftp'; diff --git a/packages/nodes-base/credentials/ShopifyAccessTokenApi.credentials.ts b/packages/nodes-base/credentials/ShopifyAccessTokenApi.credentials.ts index e55eeeede4..5749327984 100644 --- a/packages/nodes-base/credentials/ShopifyAccessTokenApi.credentials.ts +++ b/packages/nodes-base/credentials/ShopifyAccessTokenApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/ShopifyApi.credentials.ts b/packages/nodes-base/credentials/ShopifyApi.credentials.ts index 2cade6034e..25f5ae3e1b 100644 --- a/packages/nodes-base/credentials/ShopifyApi.credentials.ts +++ b/packages/nodes-base/credentials/ShopifyApi.credentials.ts @@ -1,5 +1,5 @@ import { BINARY_ENCODING } from 'n8n-core'; -import { +import type { ICredentialDataDecryptedObject, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/ShopifyOAuth2Api.credentials.ts b/packages/nodes-base/credentials/ShopifyOAuth2Api.credentials.ts index d5c4df456d..d2bd9a3db8 100644 --- a/packages/nodes-base/credentials/ShopifyOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/ShopifyOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class ShopifyOAuth2Api implements ICredentialType { name = 'shopifyOAuth2Api'; diff --git a/packages/nodes-base/credentials/Signl4Api.credentials.ts b/packages/nodes-base/credentials/Signl4Api.credentials.ts index bf606b1bd5..97a95a430e 100644 --- a/packages/nodes-base/credentials/Signl4Api.credentials.ts +++ b/packages/nodes-base/credentials/Signl4Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class Signl4Api implements ICredentialType { name = 'signl4Api'; diff --git a/packages/nodes-base/credentials/SlackApi.credentials.ts b/packages/nodes-base/credentials/SlackApi.credentials.ts index 3d8a448419..7643f6c8d9 100644 --- a/packages/nodes-base/credentials/SlackApi.credentials.ts +++ b/packages/nodes-base/credentials/SlackApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/SlackOAuth2Api.credentials.ts b/packages/nodes-base/credentials/SlackOAuth2Api.credentials.ts index e9a889b2d4..1ad0ab1278 100644 --- a/packages/nodes-base/credentials/SlackOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/SlackOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; //https://api.slack.com/authentication/oauth-v2 const userScopes = [ diff --git a/packages/nodes-base/credentials/Sms77Api.credentials.ts b/packages/nodes-base/credentials/Sms77Api.credentials.ts index 99c948b37e..bdb67885ea 100644 --- a/packages/nodes-base/credentials/Sms77Api.credentials.ts +++ b/packages/nodes-base/credentials/Sms77Api.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/Smtp.credentials.ts b/packages/nodes-base/credentials/Smtp.credentials.ts index f600384bde..8c0e58f3c3 100644 --- a/packages/nodes-base/credentials/Smtp.credentials.ts +++ b/packages/nodes-base/credentials/Smtp.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class Smtp implements ICredentialType { name = 'smtp'; diff --git a/packages/nodes-base/credentials/Snowflake.credentials.ts b/packages/nodes-base/credentials/Snowflake.credentials.ts index 6d239cedca..0c42dac88a 100644 --- a/packages/nodes-base/credentials/Snowflake.credentials.ts +++ b/packages/nodes-base/credentials/Snowflake.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class Snowflake implements ICredentialType { name = 'snowflake'; diff --git a/packages/nodes-base/credentials/SplunkApi.credentials.ts b/packages/nodes-base/credentials/SplunkApi.credentials.ts index 1b55e54d81..ef5f0e4077 100644 --- a/packages/nodes-base/credentials/SplunkApi.credentials.ts +++ b/packages/nodes-base/credentials/SplunkApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class SplunkApi implements ICredentialType { name = 'splunkApi'; diff --git a/packages/nodes-base/credentials/SpontitApi.credentials.ts b/packages/nodes-base/credentials/SpontitApi.credentials.ts index 1784f70374..e59663129a 100644 --- a/packages/nodes-base/credentials/SpontitApi.credentials.ts +++ b/packages/nodes-base/credentials/SpontitApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class SpontitApi implements ICredentialType { name = 'spontitApi'; diff --git a/packages/nodes-base/credentials/SpotifyOAuth2Api.credentials.ts b/packages/nodes-base/credentials/SpotifyOAuth2Api.credentials.ts index 95242aff9d..61771ec51b 100644 --- a/packages/nodes-base/credentials/SpotifyOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/SpotifyOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class SpotifyOAuth2Api implements ICredentialType { name = 'spotifyOAuth2Api'; diff --git a/packages/nodes-base/credentials/SshPassword.credentials.ts b/packages/nodes-base/credentials/SshPassword.credentials.ts index 895cf2c2e7..f3da340c68 100644 --- a/packages/nodes-base/credentials/SshPassword.credentials.ts +++ b/packages/nodes-base/credentials/SshPassword.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class SshPassword implements ICredentialType { name = 'sshPassword'; diff --git a/packages/nodes-base/credentials/SshPrivateKey.credentials.ts b/packages/nodes-base/credentials/SshPrivateKey.credentials.ts index 7ed248be1c..3a02e02f3a 100644 --- a/packages/nodes-base/credentials/SshPrivateKey.credentials.ts +++ b/packages/nodes-base/credentials/SshPrivateKey.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class SshPrivateKey implements ICredentialType { name = 'sshPrivateKey'; diff --git a/packages/nodes-base/credentials/StackbyApi.credentials.ts b/packages/nodes-base/credentials/StackbyApi.credentials.ts index 3867fc8fbf..77ffb2ac42 100644 --- a/packages/nodes-base/credentials/StackbyApi.credentials.ts +++ b/packages/nodes-base/credentials/StackbyApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class StackbyApi implements ICredentialType { name = 'stackbyApi'; diff --git a/packages/nodes-base/credentials/StoryblokContentApi.credentials.ts b/packages/nodes-base/credentials/StoryblokContentApi.credentials.ts index dded8a3970..d9ad3e593a 100644 --- a/packages/nodes-base/credentials/StoryblokContentApi.credentials.ts +++ b/packages/nodes-base/credentials/StoryblokContentApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class StoryblokContentApi implements ICredentialType { name = 'storyblokContentApi'; diff --git a/packages/nodes-base/credentials/StoryblokManagementApi.credentials.ts b/packages/nodes-base/credentials/StoryblokManagementApi.credentials.ts index 166346a2e3..d6efe8de99 100644 --- a/packages/nodes-base/credentials/StoryblokManagementApi.credentials.ts +++ b/packages/nodes-base/credentials/StoryblokManagementApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class StoryblokManagementApi implements ICredentialType { name = 'storyblokManagementApi'; diff --git a/packages/nodes-base/credentials/StrapiApi.credentials.ts b/packages/nodes-base/credentials/StrapiApi.credentials.ts index a89120efd5..55b1383e78 100644 --- a/packages/nodes-base/credentials/StrapiApi.credentials.ts +++ b/packages/nodes-base/credentials/StrapiApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class StrapiApi implements ICredentialType { name = 'strapiApi'; diff --git a/packages/nodes-base/credentials/StravaOAuth2Api.credentials.ts b/packages/nodes-base/credentials/StravaOAuth2Api.credentials.ts index b5d8925481..0581c387e3 100644 --- a/packages/nodes-base/credentials/StravaOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/StravaOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class StravaOAuth2Api implements ICredentialType { name = 'stravaOAuth2Api'; diff --git a/packages/nodes-base/credentials/StripeApi.credentials.ts b/packages/nodes-base/credentials/StripeApi.credentials.ts index 8f86c3a6b4..27d14eddcb 100644 --- a/packages/nodes-base/credentials/StripeApi.credentials.ts +++ b/packages/nodes-base/credentials/StripeApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/SupabaseApi.credentials.ts b/packages/nodes-base/credentials/SupabaseApi.credentials.ts index c90dd10571..e75bcd0211 100644 --- a/packages/nodes-base/credentials/SupabaseApi.credentials.ts +++ b/packages/nodes-base/credentials/SupabaseApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/SurveyMonkeyApi.credentials.ts b/packages/nodes-base/credentials/SurveyMonkeyApi.credentials.ts index 546dbf646a..79d0d99052 100644 --- a/packages/nodes-base/credentials/SurveyMonkeyApi.credentials.ts +++ b/packages/nodes-base/credentials/SurveyMonkeyApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class SurveyMonkeyApi implements ICredentialType { name = 'surveyMonkeyApi'; diff --git a/packages/nodes-base/credentials/SurveyMonkeyOAuth2Api.credentials.ts b/packages/nodes-base/credentials/SurveyMonkeyOAuth2Api.credentials.ts index 5403e46221..ffe7c4b4d6 100644 --- a/packages/nodes-base/credentials/SurveyMonkeyOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/SurveyMonkeyOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; const scopes = [ 'surveys_read', diff --git a/packages/nodes-base/credentials/SyncroMspApi.credentials.ts b/packages/nodes-base/credentials/SyncroMspApi.credentials.ts index e90b687852..c7d0e07247 100644 --- a/packages/nodes-base/credentials/SyncroMspApi.credentials.ts +++ b/packages/nodes-base/credentials/SyncroMspApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class SyncroMspApi implements ICredentialType { name = 'syncroMspApi'; diff --git a/packages/nodes-base/credentials/TaigaApi.credentials.ts b/packages/nodes-base/credentials/TaigaApi.credentials.ts index ab7470e80f..0110a7d713 100644 --- a/packages/nodes-base/credentials/TaigaApi.credentials.ts +++ b/packages/nodes-base/credentials/TaigaApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class TaigaApi implements ICredentialType { name = 'taigaApi'; diff --git a/packages/nodes-base/credentials/TapfiliateApi.credentials.ts b/packages/nodes-base/credentials/TapfiliateApi.credentials.ts index ead37aa755..016d406794 100644 --- a/packages/nodes-base/credentials/TapfiliateApi.credentials.ts +++ b/packages/nodes-base/credentials/TapfiliateApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class TapfiliateApi implements ICredentialType { name = 'tapfiliateApi'; diff --git a/packages/nodes-base/credentials/TelegramApi.credentials.ts b/packages/nodes-base/credentials/TelegramApi.credentials.ts index 6c202b652f..053eee15d7 100644 --- a/packages/nodes-base/credentials/TelegramApi.credentials.ts +++ b/packages/nodes-base/credentials/TelegramApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialTestRequest, ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialTestRequest, ICredentialType, INodeProperties } from 'n8n-workflow'; export class TelegramApi implements ICredentialType { name = 'telegramApi'; diff --git a/packages/nodes-base/credentials/TheHiveApi.credentials.ts b/packages/nodes-base/credentials/TheHiveApi.credentials.ts index b6dbbfd4fc..033b11d9cc 100644 --- a/packages/nodes-base/credentials/TheHiveApi.credentials.ts +++ b/packages/nodes-base/credentials/TheHiveApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/TimescaleDb.credentials.ts b/packages/nodes-base/credentials/TimescaleDb.credentials.ts index 599a311a24..5211e942b7 100644 --- a/packages/nodes-base/credentials/TimescaleDb.credentials.ts +++ b/packages/nodes-base/credentials/TimescaleDb.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class TimescaleDb implements ICredentialType { name = 'timescaleDb'; diff --git a/packages/nodes-base/credentials/TodoistApi.credentials.ts b/packages/nodes-base/credentials/TodoistApi.credentials.ts index 2c96f5024d..f9f66f0920 100644 --- a/packages/nodes-base/credentials/TodoistApi.credentials.ts +++ b/packages/nodes-base/credentials/TodoistApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/TodoistOAuth2Api.credentials.ts b/packages/nodes-base/credentials/TodoistOAuth2Api.credentials.ts index 15b6bd2cd3..7520ae35ff 100644 --- a/packages/nodes-base/credentials/TodoistOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/TodoistOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class TodoistOAuth2Api implements ICredentialType { name = 'todoistOAuth2Api'; diff --git a/packages/nodes-base/credentials/TogglApi.credentials.ts b/packages/nodes-base/credentials/TogglApi.credentials.ts index 06a7942545..eb4eb5b4a6 100644 --- a/packages/nodes-base/credentials/TogglApi.credentials.ts +++ b/packages/nodes-base/credentials/TogglApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class TogglApi implements ICredentialType { name = 'togglApi'; diff --git a/packages/nodes-base/credentials/TravisCiApi.credentials.ts b/packages/nodes-base/credentials/TravisCiApi.credentials.ts index 51965760f1..916760275f 100644 --- a/packages/nodes-base/credentials/TravisCiApi.credentials.ts +++ b/packages/nodes-base/credentials/TravisCiApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class TravisCiApi implements ICredentialType { name = 'travisCiApi'; diff --git a/packages/nodes-base/credentials/TrelloApi.credentials.ts b/packages/nodes-base/credentials/TrelloApi.credentials.ts index 142e25e6aa..2690d0f5bb 100644 --- a/packages/nodes-base/credentials/TrelloApi.credentials.ts +++ b/packages/nodes-base/credentials/TrelloApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { ICredentialDataDecryptedObject, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/TwakeCloudApi.credentials.ts b/packages/nodes-base/credentials/TwakeCloudApi.credentials.ts index e529de0029..961d9c7004 100644 --- a/packages/nodes-base/credentials/TwakeCloudApi.credentials.ts +++ b/packages/nodes-base/credentials/TwakeCloudApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/TwakeServerApi.credentials.ts b/packages/nodes-base/credentials/TwakeServerApi.credentials.ts index 0e1005d8d5..97cd9888f6 100644 --- a/packages/nodes-base/credentials/TwakeServerApi.credentials.ts +++ b/packages/nodes-base/credentials/TwakeServerApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class TwakeServerApi implements ICredentialType { name = 'twakeServerApi'; diff --git a/packages/nodes-base/credentials/TwilioApi.credentials.ts b/packages/nodes-base/credentials/TwilioApi.credentials.ts index 6046eb3865..f2d884607a 100644 --- a/packages/nodes-base/credentials/TwilioApi.credentials.ts +++ b/packages/nodes-base/credentials/TwilioApi.credentials.ts @@ -1,4 +1,4 @@ -import { IAuthenticateGeneric, ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { IAuthenticateGeneric, ICredentialType, INodeProperties } from 'n8n-workflow'; export class TwilioApi implements ICredentialType { name = 'twilioApi'; diff --git a/packages/nodes-base/credentials/TwistOAuth2Api.credentials.ts b/packages/nodes-base/credentials/TwistOAuth2Api.credentials.ts index a54e143352..beff5cba50 100644 --- a/packages/nodes-base/credentials/TwistOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/TwistOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; const scopes = [ 'attachments:write', diff --git a/packages/nodes-base/credentials/TwitterOAuth1Api.credentials.ts b/packages/nodes-base/credentials/TwitterOAuth1Api.credentials.ts index 5afa0ca474..5a576c89c7 100644 --- a/packages/nodes-base/credentials/TwitterOAuth1Api.credentials.ts +++ b/packages/nodes-base/credentials/TwitterOAuth1Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class TwitterOAuth1Api implements ICredentialType { name = 'twitterOAuth1Api'; diff --git a/packages/nodes-base/credentials/TypeformApi.credentials.ts b/packages/nodes-base/credentials/TypeformApi.credentials.ts index d68ae60d58..d686f6f041 100644 --- a/packages/nodes-base/credentials/TypeformApi.credentials.ts +++ b/packages/nodes-base/credentials/TypeformApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/TypeformOAuth2Api.credentials.ts b/packages/nodes-base/credentials/TypeformOAuth2Api.credentials.ts index 302693d2b4..114a35e335 100644 --- a/packages/nodes-base/credentials/TypeformOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/TypeformOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; const scopes = ['webhooks:write', 'webhooks:read', 'forms:read']; diff --git a/packages/nodes-base/credentials/UProcApi.credentials.ts b/packages/nodes-base/credentials/UProcApi.credentials.ts index 926d574147..e103207b6b 100644 --- a/packages/nodes-base/credentials/UProcApi.credentials.ts +++ b/packages/nodes-base/credentials/UProcApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { ICredentialDataDecryptedObject, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/UnleashedSoftwareApi.credentials.ts b/packages/nodes-base/credentials/UnleashedSoftwareApi.credentials.ts index a57c0ceeb2..18ff819b93 100644 --- a/packages/nodes-base/credentials/UnleashedSoftwareApi.credentials.ts +++ b/packages/nodes-base/credentials/UnleashedSoftwareApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class UnleashedSoftwareApi implements ICredentialType { name = 'unleashedSoftwareApi'; diff --git a/packages/nodes-base/credentials/UpleadApi.credentials.ts b/packages/nodes-base/credentials/UpleadApi.credentials.ts index e475320544..d5bc0f711f 100644 --- a/packages/nodes-base/credentials/UpleadApi.credentials.ts +++ b/packages/nodes-base/credentials/UpleadApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class UpleadApi implements ICredentialType { name = 'upleadApi'; diff --git a/packages/nodes-base/credentials/UptimeRobotApi.credentials.ts b/packages/nodes-base/credentials/UptimeRobotApi.credentials.ts index 737955fba3..24dc272d01 100644 --- a/packages/nodes-base/credentials/UptimeRobotApi.credentials.ts +++ b/packages/nodes-base/credentials/UptimeRobotApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class UptimeRobotApi implements ICredentialType { name = 'uptimeRobotApi'; diff --git a/packages/nodes-base/credentials/UrlScanIoApi.credentials.ts b/packages/nodes-base/credentials/UrlScanIoApi.credentials.ts index 3816308663..b4fecfb812 100644 --- a/packages/nodes-base/credentials/UrlScanIoApi.credentials.ts +++ b/packages/nodes-base/credentials/UrlScanIoApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/VenafiTlsProtectCloudApi.credentials.ts b/packages/nodes-base/credentials/VenafiTlsProtectCloudApi.credentials.ts index 863dd2dd36..b8a6a48718 100644 --- a/packages/nodes-base/credentials/VenafiTlsProtectCloudApi.credentials.ts +++ b/packages/nodes-base/credentials/VenafiTlsProtectCloudApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/VenafiTlsProtectDatacenterApi.credentials.ts b/packages/nodes-base/credentials/VenafiTlsProtectDatacenterApi.credentials.ts index 2ea3e508e8..0153628bce 100644 --- a/packages/nodes-base/credentials/VenafiTlsProtectDatacenterApi.credentials.ts +++ b/packages/nodes-base/credentials/VenafiTlsProtectDatacenterApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { IAuthenticateGeneric, ICredentialDataDecryptedObject, ICredentialType, diff --git a/packages/nodes-base/credentials/VeroApi.credentials.ts b/packages/nodes-base/credentials/VeroApi.credentials.ts index f5ecfb8779..9b390196da 100644 --- a/packages/nodes-base/credentials/VeroApi.credentials.ts +++ b/packages/nodes-base/credentials/VeroApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class VeroApi implements ICredentialType { name = 'veroApi'; diff --git a/packages/nodes-base/credentials/VonageApi.credentials.ts b/packages/nodes-base/credentials/VonageApi.credentials.ts index 8f9bcb542f..5638a58f3d 100644 --- a/packages/nodes-base/credentials/VonageApi.credentials.ts +++ b/packages/nodes-base/credentials/VonageApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class VonageApi implements ICredentialType { name = 'vonageApi'; diff --git a/packages/nodes-base/credentials/WebflowApi.credentials.ts b/packages/nodes-base/credentials/WebflowApi.credentials.ts index b36fc23694..baf17ad62e 100644 --- a/packages/nodes-base/credentials/WebflowApi.credentials.ts +++ b/packages/nodes-base/credentials/WebflowApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/WebflowOAuth2Api.credentials.ts b/packages/nodes-base/credentials/WebflowOAuth2Api.credentials.ts index 8ed9b0e691..09c5dd63d3 100644 --- a/packages/nodes-base/credentials/WebflowOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/WebflowOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class WebflowOAuth2Api implements ICredentialType { name = 'webflowOAuth2Api'; diff --git a/packages/nodes-base/credentials/WekanApi.credentials.ts b/packages/nodes-base/credentials/WekanApi.credentials.ts index 9b6e234d05..4745827f3c 100644 --- a/packages/nodes-base/credentials/WekanApi.credentials.ts +++ b/packages/nodes-base/credentials/WekanApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { IAuthenticateGeneric, ICredentialDataDecryptedObject, ICredentialTestRequest, diff --git a/packages/nodes-base/credentials/WhatsAppApi.credentials.ts b/packages/nodes-base/credentials/WhatsAppApi.credentials.ts index e3ed18ea5b..34473518b1 100644 --- a/packages/nodes-base/credentials/WhatsAppApi.credentials.ts +++ b/packages/nodes-base/credentials/WhatsAppApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/WiseApi.credentials.ts b/packages/nodes-base/credentials/WiseApi.credentials.ts index c81d2d84ce..b9e3a09665 100644 --- a/packages/nodes-base/credentials/WiseApi.credentials.ts +++ b/packages/nodes-base/credentials/WiseApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class WiseApi implements ICredentialType { name = 'wiseApi'; diff --git a/packages/nodes-base/credentials/WooCommerceApi.credentials.ts b/packages/nodes-base/credentials/WooCommerceApi.credentials.ts index 03f94d719e..0362c3f954 100644 --- a/packages/nodes-base/credentials/WooCommerceApi.credentials.ts +++ b/packages/nodes-base/credentials/WooCommerceApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { ICredentialDataDecryptedObject, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/WordpressApi.credentials.ts b/packages/nodes-base/credentials/WordpressApi.credentials.ts index 59f3bd3588..39fa85504e 100644 --- a/packages/nodes-base/credentials/WordpressApi.credentials.ts +++ b/packages/nodes-base/credentials/WordpressApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/WorkableApi.credentials.ts b/packages/nodes-base/credentials/WorkableApi.credentials.ts index 8457652a8b..d82ebb96e4 100644 --- a/packages/nodes-base/credentials/WorkableApi.credentials.ts +++ b/packages/nodes-base/credentials/WorkableApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class WorkableApi implements ICredentialType { name = 'workableApi'; diff --git a/packages/nodes-base/credentials/WufooApi.credentials.ts b/packages/nodes-base/credentials/WufooApi.credentials.ts index ddf420d0a3..3a83f70073 100644 --- a/packages/nodes-base/credentials/WufooApi.credentials.ts +++ b/packages/nodes-base/credentials/WufooApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/XeroOAuth2Api.credentials.ts b/packages/nodes-base/credentials/XeroOAuth2Api.credentials.ts index fe012bae16..0dae11b42f 100644 --- a/packages/nodes-base/credentials/XeroOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/XeroOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; const scopes = [ 'offline_access', diff --git a/packages/nodes-base/credentials/YouTubeOAuth2Api.credentials.ts b/packages/nodes-base/credentials/YouTubeOAuth2Api.credentials.ts index 91fa0a8b63..0fd023362f 100644 --- a/packages/nodes-base/credentials/YouTubeOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/YouTubeOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; //https://developers.google.com/youtube/v3/guides/auth/client-side-web-apps#identify-access-scopes const scopes = [ diff --git a/packages/nodes-base/credentials/YourlsApi.credentials.ts b/packages/nodes-base/credentials/YourlsApi.credentials.ts index 062128b51c..2f485599c7 100644 --- a/packages/nodes-base/credentials/YourlsApi.credentials.ts +++ b/packages/nodes-base/credentials/YourlsApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class YourlsApi implements ICredentialType { name = 'yourlsApi'; diff --git a/packages/nodes-base/credentials/ZammadBasicAuthApi.credentials.ts b/packages/nodes-base/credentials/ZammadBasicAuthApi.credentials.ts index bc8aa16cf3..5e3690b981 100644 --- a/packages/nodes-base/credentials/ZammadBasicAuthApi.credentials.ts +++ b/packages/nodes-base/credentials/ZammadBasicAuthApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class ZammadBasicAuthApi implements ICredentialType { name = 'zammadBasicAuthApi'; diff --git a/packages/nodes-base/credentials/ZammadTokenAuthApi.credentials.ts b/packages/nodes-base/credentials/ZammadTokenAuthApi.credentials.ts index 55c1c90945..6025b39162 100644 --- a/packages/nodes-base/credentials/ZammadTokenAuthApi.credentials.ts +++ b/packages/nodes-base/credentials/ZammadTokenAuthApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class ZammadTokenAuthApi implements ICredentialType { name = 'zammadTokenAuthApi'; diff --git a/packages/nodes-base/credentials/ZendeskApi.credentials.ts b/packages/nodes-base/credentials/ZendeskApi.credentials.ts index aa1c434845..e08ca52cc5 100644 --- a/packages/nodes-base/credentials/ZendeskApi.credentials.ts +++ b/packages/nodes-base/credentials/ZendeskApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { ICredentialDataDecryptedObject, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/ZendeskOAuth2Api.credentials.ts b/packages/nodes-base/credentials/ZendeskOAuth2Api.credentials.ts index afcae71809..e4e56f37d2 100644 --- a/packages/nodes-base/credentials/ZendeskOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/ZendeskOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; const scopes = ['read', 'write']; diff --git a/packages/nodes-base/credentials/ZohoOAuth2Api.credentials.ts b/packages/nodes-base/credentials/ZohoOAuth2Api.credentials.ts index 13565c14c2..94d4b9a281 100644 --- a/packages/nodes-base/credentials/ZohoOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/ZohoOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class ZohoOAuth2Api implements ICredentialType { name = 'zohoOAuth2Api'; diff --git a/packages/nodes-base/credentials/ZoomApi.credentials.ts b/packages/nodes-base/credentials/ZoomApi.credentials.ts index e3b3460450..5ba3dd5de9 100644 --- a/packages/nodes-base/credentials/ZoomApi.credentials.ts +++ b/packages/nodes-base/credentials/ZoomApi.credentials.ts @@ -1,4 +1,4 @@ -import { +import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, diff --git a/packages/nodes-base/credentials/ZoomOAuth2Api.credentials.ts b/packages/nodes-base/credentials/ZoomOAuth2Api.credentials.ts index 1997c7e39e..f5b90e8478 100644 --- a/packages/nodes-base/credentials/ZoomOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/ZoomOAuth2Api.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class ZoomOAuth2Api implements ICredentialType { name = 'zoomOAuth2Api'; diff --git a/packages/nodes-base/credentials/ZulipApi.credentials.ts b/packages/nodes-base/credentials/ZulipApi.credentials.ts index 1a547237be..4588927322 100644 --- a/packages/nodes-base/credentials/ZulipApi.credentials.ts +++ b/packages/nodes-base/credentials/ZulipApi.credentials.ts @@ -1,4 +1,4 @@ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class ZulipApi implements ICredentialType { name = 'zulipApi'; diff --git a/packages/nodes-base/nodes/ActionNetwork/ActionNetwork.node.ts b/packages/nodes-base/nodes/ActionNetwork/ActionNetwork.node.ts index aaf8e5096f..793dde2aa2 100644 --- a/packages/nodes-base/nodes/ActionNetwork/ActionNetwork.node.ts +++ b/packages/nodes-base/nodes/ActionNetwork/ActionNetwork.node.ts @@ -1,12 +1,12 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { actionNetworkApiRequest, @@ -36,7 +36,7 @@ import { tagOperations, } from './descriptions'; -import { +import type { AllFieldsUi, EmailAddressUi, Operation, diff --git a/packages/nodes-base/nodes/ActionNetwork/GenericFunctions.ts b/packages/nodes-base/nodes/ActionNetwork/GenericFunctions.ts index 57eb54fdc2..c2c584f0ca 100644 --- a/packages/nodes-base/nodes/ActionNetwork/GenericFunctions.ts +++ b/packages/nodes-base/nodes/ActionNetwork/GenericFunctions.ts @@ -1,12 +1,12 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, ILoadOptionsFunctions } from 'n8n-workflow'; +import type { IDataObject, ILoadOptionsFunctions } from 'n8n-workflow'; -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; import { flow, omit } from 'lodash'; -import { +import type { AllFieldsUi, FieldWithPrimaryField, LinksFieldContainer, diff --git a/packages/nodes-base/nodes/ActionNetwork/descriptions/AttendanceDescription.ts b/packages/nodes-base/nodes/ActionNetwork/descriptions/AttendanceDescription.ts index 472d1e3df3..310b2edefd 100644 --- a/packages/nodes-base/nodes/ActionNetwork/descriptions/AttendanceDescription.ts +++ b/packages/nodes-base/nodes/ActionNetwork/descriptions/AttendanceDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { makeSimpleField } from './SharedFields'; diff --git a/packages/nodes-base/nodes/ActionNetwork/descriptions/EventDescription.ts b/packages/nodes-base/nodes/ActionNetwork/descriptions/EventDescription.ts index e6e6e3f940..f281d8fd7d 100644 --- a/packages/nodes-base/nodes/ActionNetwork/descriptions/EventDescription.ts +++ b/packages/nodes-base/nodes/ActionNetwork/descriptions/EventDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { eventAdditionalFieldsOptions, makeSimpleField } from './SharedFields'; diff --git a/packages/nodes-base/nodes/ActionNetwork/descriptions/PersonDescription.ts b/packages/nodes-base/nodes/ActionNetwork/descriptions/PersonDescription.ts index 2ece8b10fd..eed6aad498 100644 --- a/packages/nodes-base/nodes/ActionNetwork/descriptions/PersonDescription.ts +++ b/packages/nodes-base/nodes/ActionNetwork/descriptions/PersonDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { makeSimpleField, personAdditionalFieldsOptions } from './SharedFields'; diff --git a/packages/nodes-base/nodes/ActionNetwork/descriptions/PersonTagDescription.ts b/packages/nodes-base/nodes/ActionNetwork/descriptions/PersonTagDescription.ts index e14555f01a..b6161f7f3a 100644 --- a/packages/nodes-base/nodes/ActionNetwork/descriptions/PersonTagDescription.ts +++ b/packages/nodes-base/nodes/ActionNetwork/descriptions/PersonTagDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const personTagOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/ActionNetwork/descriptions/PetitionDescription.ts b/packages/nodes-base/nodes/ActionNetwork/descriptions/PetitionDescription.ts index dadfcaf68c..deb7b91c43 100644 --- a/packages/nodes-base/nodes/ActionNetwork/descriptions/PetitionDescription.ts +++ b/packages/nodes-base/nodes/ActionNetwork/descriptions/PetitionDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { makeSimpleField, petitionAdditionalFieldsOptions } from './SharedFields'; diff --git a/packages/nodes-base/nodes/ActionNetwork/descriptions/SignatureDescription.ts b/packages/nodes-base/nodes/ActionNetwork/descriptions/SignatureDescription.ts index 5d4c6edfcb..264e402dad 100644 --- a/packages/nodes-base/nodes/ActionNetwork/descriptions/SignatureDescription.ts +++ b/packages/nodes-base/nodes/ActionNetwork/descriptions/SignatureDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { makeSimpleField } from './SharedFields'; diff --git a/packages/nodes-base/nodes/ActionNetwork/descriptions/TagDescription.ts b/packages/nodes-base/nodes/ActionNetwork/descriptions/TagDescription.ts index dade9e3c3c..cbe3e27f80 100644 --- a/packages/nodes-base/nodes/ActionNetwork/descriptions/TagDescription.ts +++ b/packages/nodes-base/nodes/ActionNetwork/descriptions/TagDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { makeSimpleField } from './SharedFields'; diff --git a/packages/nodes-base/nodes/ActiveCampaign/AccountContactDescription.ts b/packages/nodes-base/nodes/ActiveCampaign/AccountContactDescription.ts index fa6a7c8e65..a56fd4fb54 100644 --- a/packages/nodes-base/nodes/ActiveCampaign/AccountContactDescription.ts +++ b/packages/nodes-base/nodes/ActiveCampaign/AccountContactDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const accountContactOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/ActiveCampaign/AccountDescription.ts b/packages/nodes-base/nodes/ActiveCampaign/AccountDescription.ts index 2ddc75bd66..0140122898 100644 --- a/packages/nodes-base/nodes/ActiveCampaign/AccountDescription.ts +++ b/packages/nodes-base/nodes/ActiveCampaign/AccountDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { activeCampaignDefaultGetAllProperties } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/ActiveCampaign/ActiveCampaign.node.ts b/packages/nodes-base/nodes/ActiveCampaign/ActiveCampaign.node.ts index ccea316e35..f4828bf52b 100644 --- a/packages/nodes-base/nodes/ActiveCampaign/ActiveCampaign.node.ts +++ b/packages/nodes-base/nodes/ActiveCampaign/ActiveCampaign.node.ts @@ -1,20 +1,17 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, INodePropertyOptions, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; -import { - activeCampaignApiRequest, - activeCampaignApiRequestAllItems, - IProduct, -} from './GenericFunctions'; +import type { IProduct } from './GenericFunctions'; +import { activeCampaignApiRequest, activeCampaignApiRequestAllItems } from './GenericFunctions'; import { contactFields, contactOperations } from './ContactDescription'; diff --git a/packages/nodes-base/nodes/ActiveCampaign/ActiveCampaignTrigger.node.ts b/packages/nodes-base/nodes/ActiveCampaign/ActiveCampaignTrigger.node.ts index 5970d51d19..ce2eaea8f5 100644 --- a/packages/nodes-base/nodes/ActiveCampaign/ActiveCampaignTrigger.node.ts +++ b/packages/nodes-base/nodes/ActiveCampaign/ActiveCampaignTrigger.node.ts @@ -1,6 +1,6 @@ -import { IHookFunctions, IWebhookFunctions } from 'n8n-core'; +import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodePropertyOptions, diff --git a/packages/nodes-base/nodes/ActiveCampaign/ConnectionDescription.ts b/packages/nodes-base/nodes/ActiveCampaign/ConnectionDescription.ts index 88d68ea121..c575c30f9f 100644 --- a/packages/nodes-base/nodes/ActiveCampaign/ConnectionDescription.ts +++ b/packages/nodes-base/nodes/ActiveCampaign/ConnectionDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { activeCampaignDefaultGetAllProperties } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/ActiveCampaign/ContactDescription.ts b/packages/nodes-base/nodes/ActiveCampaign/ContactDescription.ts index 32ca9e1394..408ae80d69 100644 --- a/packages/nodes-base/nodes/ActiveCampaign/ContactDescription.ts +++ b/packages/nodes-base/nodes/ActiveCampaign/ContactDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { activeCampaignDefaultGetAllProperties } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/ActiveCampaign/ContactListDescription.ts b/packages/nodes-base/nodes/ActiveCampaign/ContactListDescription.ts index 15edb24d06..271101cf01 100644 --- a/packages/nodes-base/nodes/ActiveCampaign/ContactListDescription.ts +++ b/packages/nodes-base/nodes/ActiveCampaign/ContactListDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const contactListOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/ActiveCampaign/ContactTagDescription.ts b/packages/nodes-base/nodes/ActiveCampaign/ContactTagDescription.ts index 81d896a93c..ffe4c97a69 100644 --- a/packages/nodes-base/nodes/ActiveCampaign/ContactTagDescription.ts +++ b/packages/nodes-base/nodes/ActiveCampaign/ContactTagDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const contactTagOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/ActiveCampaign/DealDescription.ts b/packages/nodes-base/nodes/ActiveCampaign/DealDescription.ts index b704f26daf..ac849a9ef5 100644 --- a/packages/nodes-base/nodes/ActiveCampaign/DealDescription.ts +++ b/packages/nodes-base/nodes/ActiveCampaign/DealDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { allCurrencies } from './currencies'; diff --git a/packages/nodes-base/nodes/ActiveCampaign/EcomCustomerDescription.ts b/packages/nodes-base/nodes/ActiveCampaign/EcomCustomerDescription.ts index 7cee7c0740..e3bfeb9d3f 100644 --- a/packages/nodes-base/nodes/ActiveCampaign/EcomCustomerDescription.ts +++ b/packages/nodes-base/nodes/ActiveCampaign/EcomCustomerDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { activeCampaignDefaultGetAllProperties } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/ActiveCampaign/EcomOrderDescription.ts b/packages/nodes-base/nodes/ActiveCampaign/EcomOrderDescription.ts index 8f6e2fa2ef..cf7833bd92 100644 --- a/packages/nodes-base/nodes/ActiveCampaign/EcomOrderDescription.ts +++ b/packages/nodes-base/nodes/ActiveCampaign/EcomOrderDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { allCurrencies } from './currencies'; diff --git a/packages/nodes-base/nodes/ActiveCampaign/EcomOrderProductsDescription.ts b/packages/nodes-base/nodes/ActiveCampaign/EcomOrderProductsDescription.ts index 0c4c85746e..5833151d2b 100644 --- a/packages/nodes-base/nodes/ActiveCampaign/EcomOrderProductsDescription.ts +++ b/packages/nodes-base/nodes/ActiveCampaign/EcomOrderProductsDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { activeCampaignDefaultGetAllProperties } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/ActiveCampaign/GenericFunctions.ts b/packages/nodes-base/nodes/ActiveCampaign/GenericFunctions.ts index e7d5e1799c..db7ffc0c8f 100644 --- a/packages/nodes-base/nodes/ActiveCampaign/GenericFunctions.ts +++ b/packages/nodes-base/nodes/ActiveCampaign/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { IExecuteFunctions, IHookFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IHookFunctions } from 'n8n-core'; -import { IDataObject, ILoadOptionsFunctions, INodeProperties, NodeApiError } from 'n8n-workflow'; +import type { IDataObject, ILoadOptionsFunctions, INodeProperties } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; export interface IProduct { fields: { diff --git a/packages/nodes-base/nodes/ActiveCampaign/ListDescription.ts b/packages/nodes-base/nodes/ActiveCampaign/ListDescription.ts index 137018a84f..26672a06de 100644 --- a/packages/nodes-base/nodes/ActiveCampaign/ListDescription.ts +++ b/packages/nodes-base/nodes/ActiveCampaign/ListDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { activeCampaignDefaultGetAllProperties } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/ActiveCampaign/TagDescription.ts b/packages/nodes-base/nodes/ActiveCampaign/TagDescription.ts index 9c0aa6e2f6..733b35841f 100644 --- a/packages/nodes-base/nodes/ActiveCampaign/TagDescription.ts +++ b/packages/nodes-base/nodes/ActiveCampaign/TagDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { activeCampaignDefaultGetAllProperties } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/AcuityScheduling/AcuitySchedulingTrigger.node.ts b/packages/nodes-base/nodes/AcuityScheduling/AcuitySchedulingTrigger.node.ts index 746e67ea3b..d9747b2694 100644 --- a/packages/nodes-base/nodes/AcuityScheduling/AcuitySchedulingTrigger.node.ts +++ b/packages/nodes-base/nodes/AcuityScheduling/AcuitySchedulingTrigger.node.ts @@ -1,6 +1,11 @@ -import { IHookFunctions, IWebhookFunctions } from 'n8n-core'; +import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; -import { IDataObject, INodeType, INodeTypeDescription, IWebhookResponseData } from 'n8n-workflow'; +import type { + IDataObject, + INodeType, + INodeTypeDescription, + IWebhookResponseData, +} from 'n8n-workflow'; import { acuitySchedulingApiRequest } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/AcuityScheduling/GenericFunctions.ts b/packages/nodes-base/nodes/AcuityScheduling/GenericFunctions.ts index 51e3981ed7..b0ea38712f 100644 --- a/packages/nodes-base/nodes/AcuityScheduling/GenericFunctions.ts +++ b/packages/nodes-base/nodes/AcuityScheduling/GenericFunctions.ts @@ -1,12 +1,13 @@ -import { OptionsWithUri } from 'request'; -import { +import type { OptionsWithUri } from 'request'; +import type { IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, IWebhookFunctions, } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function acuitySchedulingApiRequest( this: diff --git a/packages/nodes-base/nodes/Adalo/Adalo.node.ts b/packages/nodes-base/nodes/Adalo/Adalo.node.ts index 208f4c0a09..e012b1e31f 100644 --- a/packages/nodes-base/nodes/Adalo/Adalo.node.ts +++ b/packages/nodes-base/nodes/Adalo/Adalo.node.ts @@ -1,4 +1,4 @@ -import { +import type { IDataObject, IExecuteSingleFunctions, IHttpRequestOptions, @@ -6,7 +6,7 @@ import { INodeTypeDescription, } from 'n8n-workflow'; import { collectionFields } from './CollectionDescription'; -import { FieldsUiValues } from './types'; +import type { FieldsUiValues } from './types'; export class Adalo implements INodeType { description: INodeTypeDescription = { diff --git a/packages/nodes-base/nodes/Adalo/CollectionDescription.ts b/packages/nodes-base/nodes/Adalo/CollectionDescription.ts index 20c85f2e86..dbdc24d731 100644 --- a/packages/nodes-base/nodes/Adalo/CollectionDescription.ts +++ b/packages/nodes-base/nodes/Adalo/CollectionDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const collectionFields: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Affinity/Affinity.node.ts b/packages/nodes-base/nodes/Affinity/Affinity.node.ts index d29a8a66ac..d475394a06 100644 --- a/packages/nodes-base/nodes/Affinity/Affinity.node.ts +++ b/packages/nodes-base/nodes/Affinity/Affinity.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, @@ -19,9 +19,9 @@ import { listFields, listOperations } from './ListDescription'; import { listEntryFields, listEntryOperations } from './ListEntryDescription'; -import { IOrganization } from './OrganizationInterface'; +import type { IOrganization } from './OrganizationInterface'; -import { IPerson } from './PersonInterface'; +import type { IPerson } from './PersonInterface'; export class Affinity implements INodeType { description: INodeTypeDescription = { diff --git a/packages/nodes-base/nodes/Affinity/AffinityTrigger.node.ts b/packages/nodes-base/nodes/Affinity/AffinityTrigger.node.ts index 5e7e16a4ec..5dc788effb 100644 --- a/packages/nodes-base/nodes/Affinity/AffinityTrigger.node.ts +++ b/packages/nodes-base/nodes/Affinity/AffinityTrigger.node.ts @@ -1,12 +1,12 @@ -import { IHookFunctions, IWebhookFunctions } from 'n8n-core'; +import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; -import { +import type { IDataObject, INodeType, INodeTypeDescription, IWebhookResponseData, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { affinityApiRequest, eventsExist, mapResource } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Affinity/GenericFunctions.ts b/packages/nodes-base/nodes/Affinity/GenericFunctions.ts index 8ebeac607b..110a063792 100644 --- a/packages/nodes-base/nodes/Affinity/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Affinity/GenericFunctions.ts @@ -1,8 +1,10 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { BINARY_ENCODING, IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import { BINARY_ENCODING } from 'n8n-core'; -import { IDataObject, IHookFunctions, IWebhookFunctions, NodeApiError } from 'n8n-workflow'; +import type { IDataObject, IHookFunctions, IWebhookFunctions } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function affinityApiRequest( this: IExecuteFunctions | IWebhookFunctions | IHookFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Affinity/ListDescription.ts b/packages/nodes-base/nodes/Affinity/ListDescription.ts index 5b8b3afa26..073b502589 100644 --- a/packages/nodes-base/nodes/Affinity/ListDescription.ts +++ b/packages/nodes-base/nodes/Affinity/ListDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const listOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Affinity/ListEntryDescription.ts b/packages/nodes-base/nodes/Affinity/ListEntryDescription.ts index 2776c450c1..cd6933ea1a 100644 --- a/packages/nodes-base/nodes/Affinity/ListEntryDescription.ts +++ b/packages/nodes-base/nodes/Affinity/ListEntryDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const listEntryOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Affinity/OrganizationDescription.ts b/packages/nodes-base/nodes/Affinity/OrganizationDescription.ts index ebc8793cec..25963a8858 100644 --- a/packages/nodes-base/nodes/Affinity/OrganizationDescription.ts +++ b/packages/nodes-base/nodes/Affinity/OrganizationDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const organizationOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Affinity/PersonDescription.ts b/packages/nodes-base/nodes/Affinity/PersonDescription.ts index cc9a51e709..99c520339a 100644 --- a/packages/nodes-base/nodes/Affinity/PersonDescription.ts +++ b/packages/nodes-base/nodes/Affinity/PersonDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const personOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/AgileCrm/AgileCrm.node.ts b/packages/nodes-base/nodes/AgileCrm/AgileCrm.node.ts index 3f0665624b..56d3ac169a 100644 --- a/packages/nodes-base/nodes/AgileCrm/AgileCrm.node.ts +++ b/packages/nodes-base/nodes/AgileCrm/AgileCrm.node.ts @@ -1,13 +1,12 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription, - jsonParse, - NodeOperationError, } from 'n8n-workflow'; +import { jsonParse, NodeOperationError } from 'n8n-workflow'; import { contactFields, contactOperations } from './ContactDescription'; @@ -15,7 +14,7 @@ import { companyFields, companyOperations } from './CompanyDescription'; import { dealFields, dealOperations } from './DealDescription'; -import { IContact, IContactUpdate } from './ContactInterface'; +import type { IContact, IContactUpdate } from './ContactInterface'; import { agileCrmApiRequest, @@ -26,9 +25,9 @@ import { validateJSON, } from './GenericFunctions'; -import { IDeal } from './DealInterface'; +import type { IDeal } from './DealInterface'; -import { IFilter, ISearchConditions } from './FilterInterface'; +import type { IFilter, ISearchConditions } from './FilterInterface'; export class AgileCrm implements INodeType { description: INodeTypeDescription = { diff --git a/packages/nodes-base/nodes/AgileCrm/CompanyDescription.ts b/packages/nodes-base/nodes/AgileCrm/CompanyDescription.ts index 638f7e9202..dc30e3e00d 100644 --- a/packages/nodes-base/nodes/AgileCrm/CompanyDescription.ts +++ b/packages/nodes-base/nodes/AgileCrm/CompanyDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const companyOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/AgileCrm/ContactDescription.ts b/packages/nodes-base/nodes/AgileCrm/ContactDescription.ts index 3bb4508c9c..4b92f7cc4c 100644 --- a/packages/nodes-base/nodes/AgileCrm/ContactDescription.ts +++ b/packages/nodes-base/nodes/AgileCrm/ContactDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const contactOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/AgileCrm/ContactInterface.ts b/packages/nodes-base/nodes/AgileCrm/ContactInterface.ts index 006c065228..88171fc6a1 100644 --- a/packages/nodes-base/nodes/AgileCrm/ContactInterface.ts +++ b/packages/nodes-base/nodes/AgileCrm/ContactInterface.ts @@ -1,4 +1,4 @@ -import { IDataObject } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; export interface IProperty { type: string; diff --git a/packages/nodes-base/nodes/AgileCrm/DealDescription.ts b/packages/nodes-base/nodes/AgileCrm/DealDescription.ts index c2b6b7c59d..6e9e5e9711 100644 --- a/packages/nodes-base/nodes/AgileCrm/DealDescription.ts +++ b/packages/nodes-base/nodes/AgileCrm/DealDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const dealOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/AgileCrm/GenericFunctions.ts b/packages/nodes-base/nodes/AgileCrm/GenericFunctions.ts index 576e5b6960..0d89b9fe88 100644 --- a/packages/nodes-base/nodes/AgileCrm/GenericFunctions.ts +++ b/packages/nodes-base/nodes/AgileCrm/GenericFunctions.ts @@ -1,17 +1,18 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { +import type { IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; -import { IContactUpdate } from './ContactInterface'; +import type { IContactUpdate } from './ContactInterface'; -import { IFilterRules, ISearchConditions } from './FilterInterface'; +import type { IFilterRules, ISearchConditions } from './FilterInterface'; export async function agileCrmApiRequest( this: IHookFunctions | IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Airtable/Airtable.node.ts b/packages/nodes-base/nodes/Airtable/Airtable.node.ts index fa5afda195..0cc6e96c6e 100644 --- a/packages/nodes-base/nodes/Airtable/Airtable.node.ts +++ b/packages/nodes-base/nodes/Airtable/Airtable.node.ts @@ -1,12 +1,12 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { apiRequest, apiRequestAllItems, downloadRecordAttachments } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Airtable/AirtableTrigger.node.ts b/packages/nodes-base/nodes/Airtable/AirtableTrigger.node.ts index 24ced14dec..1b16d6a2b4 100644 --- a/packages/nodes-base/nodes/Airtable/AirtableTrigger.node.ts +++ b/packages/nodes-base/nodes/Airtable/AirtableTrigger.node.ts @@ -1,12 +1,12 @@ -import { IPollFunctions } from 'n8n-core'; +import type { IPollFunctions } from 'n8n-core'; -import { +import type { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { apiRequestAllItems, downloadRecordAttachments } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Airtable/GenericFunctions.ts b/packages/nodes-base/nodes/Airtable/GenericFunctions.ts index 3f24a79162..88aed757e9 100644 --- a/packages/nodes-base/nodes/Airtable/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Airtable/GenericFunctions.ts @@ -1,8 +1,8 @@ -import { IExecuteFunctions, IPollFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IPollFunctions } from 'n8n-core'; -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { +import type { IBinaryKeyData, IDataObject, ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Amqp/Amqp.node.ts b/packages/nodes-base/nodes/Amqp/Amqp.node.ts index 288afa06d5..8f7657fb77 100644 --- a/packages/nodes-base/nodes/Amqp/Amqp.node.ts +++ b/packages/nodes-base/nodes/Amqp/Amqp.node.ts @@ -1,13 +1,14 @@ -import { ContainerOptions, create_container, Dictionary, EventContext } from 'rhea'; +import type { ContainerOptions, Dictionary, EventContext } from 'rhea'; +import { create_container } from 'rhea'; -import { IExecuteFunctions } from 'n8n-core'; -import { +import type { IExecuteFunctions } from 'n8n-core'; +import type { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; export class Amqp implements INodeType { description: INodeTypeDescription = { diff --git a/packages/nodes-base/nodes/Amqp/AmqpTrigger.node.ts b/packages/nodes-base/nodes/Amqp/AmqpTrigger.node.ts index b4f7d16055..6661de2962 100644 --- a/packages/nodes-base/nodes/Amqp/AmqpTrigger.node.ts +++ b/packages/nodes-base/nodes/Amqp/AmqpTrigger.node.ts @@ -1,15 +1,9 @@ -import { ContainerOptions, create_container, EventContext, Message, ReceiverOptions } from 'rhea'; +import type { ContainerOptions, EventContext, Message, ReceiverOptions } from 'rhea'; +import { create_container } from 'rhea'; -import { ITriggerFunctions } from 'n8n-core'; -import { - deepCopy, - IDataObject, - INodeType, - INodeTypeDescription, - ITriggerResponse, - jsonParse, - NodeOperationError, -} from 'n8n-workflow'; +import type { ITriggerFunctions } from 'n8n-core'; +import type { IDataObject, INodeType, INodeTypeDescription, ITriggerResponse } from 'n8n-workflow'; +import { deepCopy, jsonParse, NodeOperationError } from 'n8n-workflow'; export class AmqpTrigger implements INodeType { description: INodeTypeDescription = { diff --git a/packages/nodes-base/nodes/ApiTemplateIo/ApiTemplateIo.node.ts b/packages/nodes-base/nodes/ApiTemplateIo/ApiTemplateIo.node.ts index bbc583d339..3cf254681a 100644 --- a/packages/nodes-base/nodes/ApiTemplateIo/ApiTemplateIo.node.ts +++ b/packages/nodes-base/nodes/ApiTemplateIo/ApiTemplateIo.node.ts @@ -1,14 +1,14 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, INodePropertyOptions, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { apiTemplateIoApiRequest, diff --git a/packages/nodes-base/nodes/ApiTemplateIo/GenericFunctions.ts b/packages/nodes-base/nodes/ApiTemplateIo/GenericFunctions.ts index dc2338e278..698255c022 100644 --- a/packages/nodes-base/nodes/ApiTemplateIo/GenericFunctions.ts +++ b/packages/nodes-base/nodes/ApiTemplateIo/GenericFunctions.ts @@ -1,6 +1,6 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; 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 42cb9da142..9cd61f28a2 100644 --- a/packages/nodes-base/nodes/Asana/Asana.node.ts +++ b/packages/nodes-base/nodes/Asana/Asana.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, IHttpRequestMethods, ILoadOptionsFunctions, @@ -8,9 +8,8 @@ import { INodePropertyOptions, INodeType, INodeTypeDescription, - NodeApiError, - NodeOperationError, } from 'n8n-workflow'; +import { NodeApiError, NodeOperationError } from 'n8n-workflow'; import { asanaApiRequest, diff --git a/packages/nodes-base/nodes/Asana/AsanaTrigger.node.ts b/packages/nodes-base/nodes/Asana/AsanaTrigger.node.ts index 4b2acec294..dc173916bd 100644 --- a/packages/nodes-base/nodes/Asana/AsanaTrigger.node.ts +++ b/packages/nodes-base/nodes/Asana/AsanaTrigger.node.ts @@ -1,14 +1,14 @@ -import { IHookFunctions, IWebhookFunctions } from 'n8n-core'; +import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodePropertyOptions, INodeType, INodeTypeDescription, IWebhookResponseData, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { asanaApiRequest, getWorkspaces } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Asana/GenericFunctions.ts b/packages/nodes-base/nodes/Asana/GenericFunctions.ts index c120e64bfb..38e5ab0088 100644 --- a/packages/nodes-base/nodes/Asana/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Asana/GenericFunctions.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { +import type { IDataObject, IHttpRequestMethods, IHttpRequestOptions, diff --git a/packages/nodes-base/nodes/Automizy/Automizy.node.ts b/packages/nodes-base/nodes/Automizy/Automizy.node.ts index 4fc0e2f3ff..68dff56343 100644 --- a/packages/nodes-base/nodes/Automizy/Automizy.node.ts +++ b/packages/nodes-base/nodes/Automizy/Automizy.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Automizy/ContactDescription.ts b/packages/nodes-base/nodes/Automizy/ContactDescription.ts index ce1bc4afbc..f676c801a8 100644 --- a/packages/nodes-base/nodes/Automizy/ContactDescription.ts +++ b/packages/nodes-base/nodes/Automizy/ContactDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const contactOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Automizy/GenericFunctions.ts b/packages/nodes-base/nodes/Automizy/GenericFunctions.ts index df2cfebb35..d4d6e6f751 100644 --- a/packages/nodes-base/nodes/Automizy/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Automizy/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function automizyApiRequest( this: IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Automizy/ListDescription.ts b/packages/nodes-base/nodes/Automizy/ListDescription.ts index c6ec1a299e..45afbcb915 100644 --- a/packages/nodes-base/nodes/Automizy/ListDescription.ts +++ b/packages/nodes-base/nodes/Automizy/ListDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const listOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Autopilot/Autopilot.node.ts b/packages/nodes-base/nodes/Autopilot/Autopilot.node.ts index 212da9c5e0..4250c87bab 100644 --- a/packages/nodes-base/nodes/Autopilot/Autopilot.node.ts +++ b/packages/nodes-base/nodes/Autopilot/Autopilot.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Autopilot/AutopilotTrigger.node.ts b/packages/nodes-base/nodes/Autopilot/AutopilotTrigger.node.ts index 177c17aa4b..afeac94955 100644 --- a/packages/nodes-base/nodes/Autopilot/AutopilotTrigger.node.ts +++ b/packages/nodes-base/nodes/Autopilot/AutopilotTrigger.node.ts @@ -1,6 +1,11 @@ -import { IHookFunctions, IWebhookFunctions } from 'n8n-core'; +import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; -import { IDataObject, INodeType, INodeTypeDescription, IWebhookResponseData } from 'n8n-workflow'; +import type { + IDataObject, + INodeType, + INodeTypeDescription, + IWebhookResponseData, +} from 'n8n-workflow'; import { autopilotApiRequest } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Autopilot/ContactDescription.ts b/packages/nodes-base/nodes/Autopilot/ContactDescription.ts index b66d285025..f9de12af4f 100644 --- a/packages/nodes-base/nodes/Autopilot/ContactDescription.ts +++ b/packages/nodes-base/nodes/Autopilot/ContactDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const contactOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Autopilot/ContactJourneyDescription.ts b/packages/nodes-base/nodes/Autopilot/ContactJourneyDescription.ts index 4187a5e062..2301faca12 100644 --- a/packages/nodes-base/nodes/Autopilot/ContactJourneyDescription.ts +++ b/packages/nodes-base/nodes/Autopilot/ContactJourneyDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const contactJourneyOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Autopilot/ContactListDescription.ts b/packages/nodes-base/nodes/Autopilot/ContactListDescription.ts index cf3c233034..7edc8fc71b 100644 --- a/packages/nodes-base/nodes/Autopilot/ContactListDescription.ts +++ b/packages/nodes-base/nodes/Autopilot/ContactListDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const contactListOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Autopilot/GenericFunctions.ts b/packages/nodes-base/nodes/Autopilot/GenericFunctions.ts index a7b322c784..87616ade6e 100644 --- a/packages/nodes-base/nodes/Autopilot/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Autopilot/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject, IHookFunctions, IWebhookFunctions, NodeApiError } from 'n8n-workflow'; +import type { IDataObject, IHookFunctions, IWebhookFunctions } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function autopilotApiRequest( this: IExecuteFunctions | IWebhookFunctions | IHookFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Autopilot/ListDescription.ts b/packages/nodes-base/nodes/Autopilot/ListDescription.ts index 036f4436d1..7aa2d57274 100644 --- a/packages/nodes-base/nodes/Autopilot/ListDescription.ts +++ b/packages/nodes-base/nodes/Autopilot/ListDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const listOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Aws/AwsLambda.node.ts b/packages/nodes-base/nodes/Aws/AwsLambda.node.ts index 04268c9a07..d53f5cf149 100644 --- a/packages/nodes-base/nodes/Aws/AwsLambda.node.ts +++ b/packages/nodes-base/nodes/Aws/AwsLambda.node.ts @@ -1,5 +1,5 @@ -import { IExecuteFunctions } from 'n8n-core'; -import { +import type { IExecuteFunctions } from 'n8n-core'; +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, @@ -7,8 +7,8 @@ import { INodeType, INodeTypeDescription, JsonObject, - NodeApiError, } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; import { awsApiRequestREST } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Aws/AwsSns.node.ts b/packages/nodes-base/nodes/Aws/AwsSns.node.ts index a6551ccc2b..60451d446c 100644 --- a/packages/nodes-base/nodes/Aws/AwsSns.node.ts +++ b/packages/nodes-base/nodes/Aws/AwsSns.node.ts @@ -1,5 +1,5 @@ -import { IExecuteFunctions } from 'n8n-core'; -import { +import type { IExecuteFunctions } from 'n8n-core'; +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Aws/AwsSnsTrigger.node.ts b/packages/nodes-base/nodes/Aws/AwsSnsTrigger.node.ts index 3a12246302..15b24346c9 100644 --- a/packages/nodes-base/nodes/Aws/AwsSnsTrigger.node.ts +++ b/packages/nodes-base/nodes/Aws/AwsSnsTrigger.node.ts @@ -1,15 +1,14 @@ -import { IHookFunctions, IWebhookFunctions } from 'n8n-core'; +import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; -import { +import type { ILoadOptionsFunctions, INodeListSearchItems, INodeListSearchResult, INodeType, INodeTypeDescription, IWebhookResponseData, - jsonParse, - NodeOperationError, } from 'n8n-workflow'; +import { jsonParse, NodeOperationError } from 'n8n-workflow'; import { awsApiRequestSOAP } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Aws/CertificateManager/AwsCertificateManager.node.ts b/packages/nodes-base/nodes/Aws/CertificateManager/AwsCertificateManager.node.ts index d868f037b9..1b1833a093 100644 --- a/packages/nodes-base/nodes/Aws/CertificateManager/AwsCertificateManager.node.ts +++ b/packages/nodes-base/nodes/Aws/CertificateManager/AwsCertificateManager.node.ts @@ -1,6 +1,11 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { + IDataObject, + INodeExecutionData, + INodeType, + INodeTypeDescription, +} from 'n8n-workflow'; import { certificateFields, certificateOperations } from './CertificateDescription'; diff --git a/packages/nodes-base/nodes/Aws/CertificateManager/CertificateDescription.ts b/packages/nodes-base/nodes/Aws/CertificateManager/CertificateDescription.ts index 7b3a8b0097..7bd9dce60c 100644 --- a/packages/nodes-base/nodes/Aws/CertificateManager/CertificateDescription.ts +++ b/packages/nodes-base/nodes/Aws/CertificateManager/CertificateDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const certificateOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Aws/CertificateManager/GenericFunctions.ts b/packages/nodes-base/nodes/Aws/CertificateManager/GenericFunctions.ts index 123868abd0..1fafbb0f1a 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'; -import { +import type { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions, IWebhookFunctions, } from 'n8n-core'; -import { IDataObject, IHttpRequestOptions, jsonParse, NodeApiError } from 'n8n-workflow'; +import type { IDataObject, IHttpRequestOptions } from 'n8n-workflow'; +import { jsonParse, NodeApiError } from 'n8n-workflow'; export async function awsApiRequest( this: IHookFunctions | IExecuteFunctions | ILoadOptionsFunctions | IWebhookFunctions, diff --git a/packages/nodes-base/nodes/Aws/Comprehend/AwsComprehend.node.ts b/packages/nodes-base/nodes/Aws/Comprehend/AwsComprehend.node.ts index c586becc04..7ff7086299 100644 --- a/packages/nodes-base/nodes/Aws/Comprehend/AwsComprehend.node.ts +++ b/packages/nodes-base/nodes/Aws/Comprehend/AwsComprehend.node.ts @@ -1,6 +1,11 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { + IDataObject, + INodeExecutionData, + INodeType, + INodeTypeDescription, +} from 'n8n-workflow'; import { awsApiRequestREST } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Aws/Comprehend/GenericFunctions.ts b/packages/nodes-base/nodes/Aws/Comprehend/GenericFunctions.ts index 484905a620..76f88c9825 100644 --- a/packages/nodes-base/nodes/Aws/Comprehend/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Aws/Comprehend/GenericFunctions.ts @@ -1,13 +1,13 @@ import { parseString } from 'xml2js'; -import { +import type { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions, IWebhookFunctions, } from 'n8n-core'; -import { IHttpRequestOptions } from 'n8n-workflow'; +import type { 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 b1ae1b4060..d6f882a3cb 100644 --- a/packages/nodes-base/nodes/Aws/DynamoDB/AwsDynamoDB.node.ts +++ b/packages/nodes-base/nodes/Aws/DynamoDB/AwsDynamoDB.node.ts @@ -1,7 +1,7 @@ /* eslint-disable n8n-nodes-base/node-filename-against-convention */ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, @@ -14,7 +14,7 @@ import { awsApiRequest, awsApiRequestAllItems } from './GenericFunctions'; import { itemFields, itemOperations } from './ItemDescription'; -import { +import type { FieldsUiValues, IAttributeNameUi, IAttributeValueUi, diff --git a/packages/nodes-base/nodes/Aws/DynamoDB/GenericFunctions.ts b/packages/nodes-base/nodes/Aws/DynamoDB/GenericFunctions.ts index c701f0338f..c0fd7d04d9 100644 --- a/packages/nodes-base/nodes/Aws/DynamoDB/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Aws/DynamoDB/GenericFunctions.ts @@ -1,13 +1,14 @@ -import { +import type { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions, IWebhookFunctions, } from 'n8n-core'; -import { deepCopy, IDataObject, IHttpRequestOptions, INodeExecutionData } from 'n8n-workflow'; +import type { IDataObject, IHttpRequestOptions, INodeExecutionData } from 'n8n-workflow'; +import { deepCopy } from 'n8n-workflow'; -import { IRequestBody } from './types'; +import type { IRequestBody } from './types'; export async function awsApiRequest( this: IHookFunctions | IExecuteFunctions | ILoadOptionsFunctions | IWebhookFunctions, diff --git a/packages/nodes-base/nodes/Aws/DynamoDB/ItemDescription.ts b/packages/nodes-base/nodes/Aws/DynamoDB/ItemDescription.ts index b5f0544d78..6111ad7393 100644 --- a/packages/nodes-base/nodes/Aws/DynamoDB/ItemDescription.ts +++ b/packages/nodes-base/nodes/Aws/DynamoDB/ItemDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const itemOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Aws/DynamoDB/utils.ts b/packages/nodes-base/nodes/Aws/DynamoDB/utils.ts index da96e87099..3a85e46c81 100644 --- a/packages/nodes-base/nodes/Aws/DynamoDB/utils.ts +++ b/packages/nodes-base/nodes/Aws/DynamoDB/utils.ts @@ -1,6 +1,7 @@ -import { deepCopy, IDataObject, INodeExecutionData, assert } from 'n8n-workflow'; +import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import { deepCopy, assert } from 'n8n-workflow'; -import { +import type { AdjustedPutItem, AttributeValueType, EAttributeValueType, diff --git a/packages/nodes-base/nodes/Aws/ELB/AwsElb.node.ts b/packages/nodes-base/nodes/Aws/ELB/AwsElb.node.ts index 461743d105..6382af1e5f 100644 --- a/packages/nodes-base/nodes/Aws/ELB/AwsElb.node.ts +++ b/packages/nodes-base/nodes/Aws/ELB/AwsElb.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Aws/ELB/GenericFunctions.ts b/packages/nodes-base/nodes/Aws/ELB/GenericFunctions.ts index fc5e2f209c..0353900c91 100644 --- a/packages/nodes-base/nodes/Aws/ELB/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Aws/ELB/GenericFunctions.ts @@ -2,14 +2,15 @@ import { get } from 'lodash'; import { parseString } from 'xml2js'; -import { +import type { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions, IWebhookFunctions, } from 'n8n-core'; -import { IDataObject, IHttpRequestOptions, JsonObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject, IHttpRequestOptions, JsonObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function awsApiRequest( this: IHookFunctions | IExecuteFunctions | ILoadOptionsFunctions | IWebhookFunctions, diff --git a/packages/nodes-base/nodes/Aws/ELB/ListenerCertificateDescription.ts b/packages/nodes-base/nodes/Aws/ELB/ListenerCertificateDescription.ts index 02e494564d..4e688aa71e 100644 --- a/packages/nodes-base/nodes/Aws/ELB/ListenerCertificateDescription.ts +++ b/packages/nodes-base/nodes/Aws/ELB/ListenerCertificateDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const listenerCertificateOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Aws/ELB/LoadBalancerDescription.ts b/packages/nodes-base/nodes/Aws/ELB/LoadBalancerDescription.ts index d617c1dd0f..870bdbc4a5 100644 --- a/packages/nodes-base/nodes/Aws/ELB/LoadBalancerDescription.ts +++ b/packages/nodes-base/nodes/Aws/ELB/LoadBalancerDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const loadBalancerOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Aws/GenericFunctions.ts b/packages/nodes-base/nodes/Aws/GenericFunctions.ts index 89da0fc930..4ac8db754d 100644 --- a/packages/nodes-base/nodes/Aws/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Aws/GenericFunctions.ts @@ -1,13 +1,14 @@ import { parseString as parseXml } from 'xml2js'; -import { +import type { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions, IWebhookFunctions, } from 'n8n-core'; -import { IHttpRequestOptions, NodeApiError } from 'n8n-workflow'; +import type { IHttpRequestOptions } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function awsApiRequest( this: IHookFunctions | IExecuteFunctions | ILoadOptionsFunctions | IWebhookFunctions, diff --git a/packages/nodes-base/nodes/Aws/Rekognition/AwsRekognition.node.ts b/packages/nodes-base/nodes/Aws/Rekognition/AwsRekognition.node.ts index 6da1c53b96..fee4e21956 100644 --- a/packages/nodes-base/nodes/Aws/Rekognition/AwsRekognition.node.ts +++ b/packages/nodes-base/nodes/Aws/Rekognition/AwsRekognition.node.ts @@ -1,13 +1,13 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IBinaryKeyData, IDataObject, INodeExecutionData, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { awsApiRequestREST, keysTPascalCase } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Aws/Rekognition/GenericFunctions.ts b/packages/nodes-base/nodes/Aws/Rekognition/GenericFunctions.ts index 4af8fcc20e..54e1be8903 100644 --- a/packages/nodes-base/nodes/Aws/Rekognition/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Aws/Rekognition/GenericFunctions.ts @@ -2,14 +2,14 @@ import { get } from 'lodash'; import { parseString } from 'xml2js'; -import { +import type { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions, IWebhookFunctions, } from 'n8n-core'; -import { IDataObject, IHttpRequestOptions } from 'n8n-workflow'; +import type { IDataObject, IHttpRequestOptions } from 'n8n-workflow'; import { pascalCase } from 'change-case'; diff --git a/packages/nodes-base/nodes/Aws/S3/AwsS3.node.ts b/packages/nodes-base/nodes/Aws/S3/AwsS3.node.ts index c480e18387..712ba80627 100644 --- a/packages/nodes-base/nodes/Aws/S3/AwsS3.node.ts +++ b/packages/nodes-base/nodes/Aws/S3/AwsS3.node.ts @@ -4,17 +4,17 @@ import { createHash } from 'crypto'; import { Builder } from 'xml2js'; -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IBinaryKeyData, IDataObject, INodeExecutionData, INodeType, INodeTypeDescription, JsonObject, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { bucketFields, bucketOperations } from './BucketDescription'; diff --git a/packages/nodes-base/nodes/Aws/S3/BucketDescription.ts b/packages/nodes-base/nodes/Aws/S3/BucketDescription.ts index a0cf830684..1fba6ba507 100644 --- a/packages/nodes-base/nodes/Aws/S3/BucketDescription.ts +++ b/packages/nodes-base/nodes/Aws/S3/BucketDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const bucketOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Aws/S3/FileDescription.ts b/packages/nodes-base/nodes/Aws/S3/FileDescription.ts index eee4a4e9f0..32840266d5 100644 --- a/packages/nodes-base/nodes/Aws/S3/FileDescription.ts +++ b/packages/nodes-base/nodes/Aws/S3/FileDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const fileOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Aws/S3/FolderDescription.ts b/packages/nodes-base/nodes/Aws/S3/FolderDescription.ts index ff7f606650..db7db64ced 100644 --- a/packages/nodes-base/nodes/Aws/S3/FolderDescription.ts +++ b/packages/nodes-base/nodes/Aws/S3/FolderDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const folderOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Aws/S3/GenericFunctions.ts b/packages/nodes-base/nodes/Aws/S3/GenericFunctions.ts index a3df891708..b397386085 100644 --- a/packages/nodes-base/nodes/Aws/S3/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Aws/S3/GenericFunctions.ts @@ -2,14 +2,14 @@ import { get } from 'lodash'; import { parseString } from 'xml2js'; -import { +import type { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions, IWebhookFunctions, } from 'n8n-core'; -import { IDataObject, IHttpRequestOptions } from 'n8n-workflow'; +import type { IDataObject, 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 7e62dd0f49..79b24ed03a 100644 --- a/packages/nodes-base/nodes/Aws/SES/AwsSes.node.ts +++ b/packages/nodes-base/nodes/Aws/SES/AwsSes.node.ts @@ -1,14 +1,14 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, INodePropertyOptions, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { awsApiRequestSOAP, awsApiRequestSOAPAllItems } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Aws/SES/GenericFunctions.ts b/packages/nodes-base/nodes/Aws/SES/GenericFunctions.ts index 1beb9d6415..35f078372b 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 { +import type { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions, IWebhookFunctions, } from 'n8n-core'; -import { IDataObject, IHttpRequestOptions, NodeApiError } from 'n8n-workflow'; +import type { IDataObject, IHttpRequestOptions } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; import { get } from 'lodash'; diff --git a/packages/nodes-base/nodes/Aws/SQS/AwsSqs.node.ts b/packages/nodes-base/nodes/Aws/SQS/AwsSqs.node.ts index 76f2624760..2195ba76d0 100644 --- a/packages/nodes-base/nodes/Aws/SQS/AwsSqs.node.ts +++ b/packages/nodes-base/nodes/Aws/SQS/AwsSqs.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, @@ -8,9 +8,8 @@ import { INodePropertyOptions, INodeType, INodeTypeDescription, - NodeApiError, - NodeOperationError, } from 'n8n-workflow'; +import { NodeApiError, NodeOperationError } from 'n8n-workflow'; import { URL } from 'url'; diff --git a/packages/nodes-base/nodes/Aws/Textract/AwsTextract.node.ts b/packages/nodes-base/nodes/Aws/Textract/AwsTextract.node.ts index 06848bb82d..8d8e0d6678 100644 --- a/packages/nodes-base/nodes/Aws/Textract/AwsTextract.node.ts +++ b/packages/nodes-base/nodes/Aws/Textract/AwsTextract.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IBinaryKeyData, ICredentialDataDecryptedObject, ICredentialsDecrypted, @@ -10,15 +10,11 @@ import { INodeExecutionData, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; -import { - awsApiRequestREST, - IExpenseDocument, - simplify, - validateCredentials, -} from './GenericFunctions'; +import type { IExpenseDocument } from './GenericFunctions'; +import { awsApiRequestREST, simplify, validateCredentials } from './GenericFunctions'; export class AwsTextract implements INodeType { description: INodeTypeDescription = { diff --git a/packages/nodes-base/nodes/Aws/Textract/GenericFunctions.ts b/packages/nodes-base/nodes/Aws/Textract/GenericFunctions.ts index d2090081e1..1adb59bd68 100644 --- a/packages/nodes-base/nodes/Aws/Textract/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Aws/Textract/GenericFunctions.ts @@ -1,24 +1,25 @@ import { URL } from 'url'; -import { Request, sign } from 'aws4'; +import type { Request } from 'aws4'; +import { sign } from 'aws4'; -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; import { parseString } from 'xml2js'; -import { +import type { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions, IWebhookFunctions, } from 'n8n-core'; -import { +import type { ICredentialDataDecryptedObject, ICredentialTestFunctions, IHttpRequestOptions, - NodeApiError, } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; function getEndpointForService( service: string, diff --git a/packages/nodes-base/nodes/Aws/Transcribe/AwsTranscribe.node.ts b/packages/nodes-base/nodes/Aws/Transcribe/AwsTranscribe.node.ts index dfcd2eeb87..127b961f4a 100644 --- a/packages/nodes-base/nodes/Aws/Transcribe/AwsTranscribe.node.ts +++ b/packages/nodes-base/nodes/Aws/Transcribe/AwsTranscribe.node.ts @@ -1,6 +1,11 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { + IDataObject, + INodeExecutionData, + INodeType, + INodeTypeDescription, +} from 'n8n-workflow'; import { awsApiRequestREST, awsApiRequestRESTAllItems } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Aws/Transcribe/GenericFunctions.ts b/packages/nodes-base/nodes/Aws/Transcribe/GenericFunctions.ts index f383c9de14..9ce6edb56f 100644 --- a/packages/nodes-base/nodes/Aws/Transcribe/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Aws/Transcribe/GenericFunctions.ts @@ -1,17 +1,19 @@ import { URL } from 'url'; -import { Request, sign } from 'aws4'; +import type { Request } from 'aws4'; +import { sign } from 'aws4'; -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { +import type { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions, IWebhookFunctions, } from 'n8n-core'; -import { ICredentialDataDecryptedObject, IDataObject, NodeApiError } from 'n8n-workflow'; +import type { ICredentialDataDecryptedObject, IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; import { get } from 'lodash'; diff --git a/packages/nodes-base/nodes/BambooHr/BambooHr.node.ts b/packages/nodes-base/nodes/BambooHr/BambooHr.node.ts index 6d901cbee7..bd204610e5 100644 --- a/packages/nodes-base/nodes/BambooHr/BambooHr.node.ts +++ b/packages/nodes-base/nodes/BambooHr/BambooHr.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { INodeType, INodeTypeBaseDescription, INodeTypeDescription } from 'n8n-workflow'; +import type { 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/Interfaces.ts b/packages/nodes-base/nodes/BambooHr/v1/actions/Interfaces.ts index eaa4e27d4f..3a5732df15 100644 --- a/packages/nodes-base/nodes/BambooHr/v1/actions/Interfaces.ts +++ b/packages/nodes-base/nodes/BambooHr/v1/actions/Interfaces.ts @@ -1,4 +1,4 @@ -import { AllEntities, Entity, PropertiesOf } from 'n8n-workflow'; +import type { AllEntities, Entity, PropertiesOf } from 'n8n-workflow'; type BambooHrMap = { employee: 'create' | 'get' | 'getAll' | 'update'; diff --git a/packages/nodes-base/nodes/BambooHr/v1/actions/companyReport/get/description.ts b/packages/nodes-base/nodes/BambooHr/v1/actions/companyReport/get/description.ts index 1201871e52..3c0aa64753 100644 --- a/packages/nodes-base/nodes/BambooHr/v1/actions/companyReport/get/description.ts +++ b/packages/nodes-base/nodes/BambooHr/v1/actions/companyReport/get/description.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const companyReportGetDescription: INodeProperties[] = [ { 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 ac3fe820d9..32e750949b 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,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/BambooHr/v1/actions/companyReport/index.ts b/packages/nodes-base/nodes/BambooHr/v1/actions/companyReport/index.ts index 7e5a991a51..c255eeaaa2 100644 --- a/packages/nodes-base/nodes/BambooHr/v1/actions/companyReport/index.ts +++ b/packages/nodes-base/nodes/BambooHr/v1/actions/companyReport/index.ts @@ -1,6 +1,6 @@ import * as get from './get'; -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export { get }; diff --git a/packages/nodes-base/nodes/BambooHr/v1/actions/employee/create/description.ts b/packages/nodes-base/nodes/BambooHr/v1/actions/employee/create/description.ts index fa2490e20f..04279ea031 100644 --- a/packages/nodes-base/nodes/BambooHr/v1/actions/employee/create/description.ts +++ b/packages/nodes-base/nodes/BambooHr/v1/actions/employee/create/description.ts @@ -1,4 +1,4 @@ -import { EmployeeProperties } from '../../Interfaces'; +import type { EmployeeProperties } from '../../Interfaces'; import { createEmployeeSharedDescription } from './shareDescription'; 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 31579198d5..89e51edeb3 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,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/BambooHr/v1/actions/employee/create/shareDescription.ts b/packages/nodes-base/nodes/BambooHr/v1/actions/employee/create/shareDescription.ts index fd735d3908..cc06de2dc1 100644 --- a/packages/nodes-base/nodes/BambooHr/v1/actions/employee/create/shareDescription.ts +++ b/packages/nodes-base/nodes/BambooHr/v1/actions/employee/create/shareDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const createEmployeeSharedDescription = (sync = false): INodeProperties[] => { let elements: INodeProperties[] = [ diff --git a/packages/nodes-base/nodes/BambooHr/v1/actions/employee/get/description.ts b/packages/nodes-base/nodes/BambooHr/v1/actions/employee/get/description.ts index 505b39e393..47ed409869 100644 --- a/packages/nodes-base/nodes/BambooHr/v1/actions/employee/get/description.ts +++ b/packages/nodes-base/nodes/BambooHr/v1/actions/employee/get/description.ts @@ -1,4 +1,4 @@ -import { EmployeeProperties } from '../../Interfaces'; +import type { EmployeeProperties } from '../../Interfaces'; export const employeeGetDescription: EmployeeProperties = [ { 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 8170020508..f91534e76e 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,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/BambooHr/v1/actions/employee/getAll/description.ts b/packages/nodes-base/nodes/BambooHr/v1/actions/employee/getAll/description.ts index 075ad5ce8f..166561c39c 100644 --- a/packages/nodes-base/nodes/BambooHr/v1/actions/employee/getAll/description.ts +++ b/packages/nodes-base/nodes/BambooHr/v1/actions/employee/getAll/description.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const employeeGetAllDescription: INodeProperties[] = [ { 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 e07995e7e0..744a2a1bbf 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,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/BambooHr/v1/actions/employee/index.ts b/packages/nodes-base/nodes/BambooHr/v1/actions/employee/index.ts index b3062c2c03..9404f1a99c 100644 --- a/packages/nodes-base/nodes/BambooHr/v1/actions/employee/index.ts +++ b/packages/nodes-base/nodes/BambooHr/v1/actions/employee/index.ts @@ -3,7 +3,7 @@ import * as get from './get'; import * as getAll from './getAll'; import * as update from './update'; -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export { create, get, getAll, update }; diff --git a/packages/nodes-base/nodes/BambooHr/v1/actions/employee/update/description.ts b/packages/nodes-base/nodes/BambooHr/v1/actions/employee/update/description.ts index 176ffdf7d6..4ad427d5c2 100644 --- a/packages/nodes-base/nodes/BambooHr/v1/actions/employee/update/description.ts +++ b/packages/nodes-base/nodes/BambooHr/v1/actions/employee/update/description.ts @@ -1,4 +1,4 @@ -import { EmployeeProperties } from '../../Interfaces'; +import type { EmployeeProperties } from '../../Interfaces'; import { updateEmployeeSharedDescription } from './sharedDescription'; export const employeeUpdateDescription: EmployeeProperties = [ 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 e66fa0e6c3..83f3e8be5e 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,7 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData, NodeOperationError } from 'n8n-workflow'; +import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/BambooHr/v1/actions/employee/update/sharedDescription.ts b/packages/nodes-base/nodes/BambooHr/v1/actions/employee/update/sharedDescription.ts index ad9e1b834f..6dc0790177 100644 --- a/packages/nodes-base/nodes/BambooHr/v1/actions/employee/update/sharedDescription.ts +++ b/packages/nodes-base/nodes/BambooHr/v1/actions/employee/update/sharedDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const updateEmployeeSharedDescription = (sync = false): INodeProperties[] => { let elements: INodeProperties[] = [ diff --git a/packages/nodes-base/nodes/BambooHr/v1/actions/employeeDocument/del/description.ts b/packages/nodes-base/nodes/BambooHr/v1/actions/employeeDocument/del/description.ts index c12094c46c..47098a9407 100644 --- a/packages/nodes-base/nodes/BambooHr/v1/actions/employeeDocument/del/description.ts +++ b/packages/nodes-base/nodes/BambooHr/v1/actions/employeeDocument/del/description.ts @@ -1,4 +1,4 @@ -import { EmployeeDocumentProperties } from '../../Interfaces'; +import type { EmployeeDocumentProperties } from '../../Interfaces'; export const employeeDocumentDelDescription: EmployeeDocumentProperties = [ { 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 4f5615fc7b..69c05d2b63 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,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/BambooHr/v1/actions/employeeDocument/download/description.ts b/packages/nodes-base/nodes/BambooHr/v1/actions/employeeDocument/download/description.ts index e48fdc3f8d..affa867e56 100644 --- a/packages/nodes-base/nodes/BambooHr/v1/actions/employeeDocument/download/description.ts +++ b/packages/nodes-base/nodes/BambooHr/v1/actions/employeeDocument/download/description.ts @@ -1,4 +1,4 @@ -import { EmployeeDocumentProperties } from '../../Interfaces'; +import type { EmployeeDocumentProperties } from '../../Interfaces'; export const employeeDocumentDownloadDescription: EmployeeDocumentProperties = [ { 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 5acc6655e7..49625eb6a3 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,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/BambooHr/v1/actions/employeeDocument/getAll/description.ts b/packages/nodes-base/nodes/BambooHr/v1/actions/employeeDocument/getAll/description.ts index e225804848..377848e7d5 100644 --- a/packages/nodes-base/nodes/BambooHr/v1/actions/employeeDocument/getAll/description.ts +++ b/packages/nodes-base/nodes/BambooHr/v1/actions/employeeDocument/getAll/description.ts @@ -1,4 +1,4 @@ -import { EmployeeDocumentProperties } from '../../Interfaces'; +import type { EmployeeDocumentProperties } from '../../Interfaces'; export const employeeDocumentGetAllDescription: EmployeeDocumentProperties = [ { 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 82434b7220..ec8a82a060 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,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/BambooHr/v1/actions/employeeDocument/index.ts b/packages/nodes-base/nodes/BambooHr/v1/actions/employeeDocument/index.ts index b3275fd080..0feafeb4a2 100644 --- a/packages/nodes-base/nodes/BambooHr/v1/actions/employeeDocument/index.ts +++ b/packages/nodes-base/nodes/BambooHr/v1/actions/employeeDocument/index.ts @@ -4,7 +4,7 @@ import * as getAll from './getAll'; import * as update from './update'; import * as upload from './upload'; -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export { del, download, getAll, update, upload }; diff --git a/packages/nodes-base/nodes/BambooHr/v1/actions/employeeDocument/update/description.ts b/packages/nodes-base/nodes/BambooHr/v1/actions/employeeDocument/update/description.ts index a4380e9e7d..db711e6e32 100644 --- a/packages/nodes-base/nodes/BambooHr/v1/actions/employeeDocument/update/description.ts +++ b/packages/nodes-base/nodes/BambooHr/v1/actions/employeeDocument/update/description.ts @@ -1,4 +1,4 @@ -import { EmployeeDocumentProperties } from '../../Interfaces'; +import type { EmployeeDocumentProperties } from '../../Interfaces'; export const employeeDocumentUpdateDescription: EmployeeDocumentProperties = [ { 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 806396d995..5397bed3cc 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,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/BambooHr/v1/actions/employeeDocument/upload/description.ts b/packages/nodes-base/nodes/BambooHr/v1/actions/employeeDocument/upload/description.ts index 4c8cca674c..835bf3f820 100644 --- a/packages/nodes-base/nodes/BambooHr/v1/actions/employeeDocument/upload/description.ts +++ b/packages/nodes-base/nodes/BambooHr/v1/actions/employeeDocument/upload/description.ts @@ -1,4 +1,4 @@ -import { EmployeeDocumentProperties } from '../../Interfaces'; +import type { EmployeeDocumentProperties } from '../../Interfaces'; export const employeeDocumentUploadDescription: EmployeeDocumentProperties = [ { diff --git a/packages/nodes-base/nodes/BambooHr/v1/actions/employeeDocument/upload/execute.ts b/packages/nodes-base/nodes/BambooHr/v1/actions/employeeDocument/upload/execute.ts index af1e939f4d..9d18024e98 100644 --- a/packages/nodes-base/nodes/BambooHr/v1/actions/employeeDocument/upload/execute.ts +++ b/packages/nodes-base/nodes/BambooHr/v1/actions/employeeDocument/upload/execute.ts @@ -1,6 +1,7 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IBinaryKeyData, IDataObject, NodeOperationError } from 'n8n-workflow'; +import type { IBinaryKeyData, IDataObject } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/BambooHr/v1/actions/file/del/description.ts b/packages/nodes-base/nodes/BambooHr/v1/actions/file/del/description.ts index 4fdcde1957..639c8c28df 100644 --- a/packages/nodes-base/nodes/BambooHr/v1/actions/file/del/description.ts +++ b/packages/nodes-base/nodes/BambooHr/v1/actions/file/del/description.ts @@ -1,4 +1,4 @@ -import { FileProperties } from '../../Interfaces'; +import type { FileProperties } from '../../Interfaces'; export const fileDelDescription: FileProperties = [ { 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 1f4d34fbcb..c31b9ac101 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,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/BambooHr/v1/actions/file/download/description.ts b/packages/nodes-base/nodes/BambooHr/v1/actions/file/download/description.ts index d600fb61b0..bfc50edad4 100644 --- a/packages/nodes-base/nodes/BambooHr/v1/actions/file/download/description.ts +++ b/packages/nodes-base/nodes/BambooHr/v1/actions/file/download/description.ts @@ -1,4 +1,4 @@ -import { FileProperties } from '../../Interfaces'; +import type { FileProperties } from '../../Interfaces'; export const fileDownloadDescription: FileProperties = [ { 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 2896413262..279034b020 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,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/BambooHr/v1/actions/file/getAll/description.ts b/packages/nodes-base/nodes/BambooHr/v1/actions/file/getAll/description.ts index f965f854d0..5f30e15537 100644 --- a/packages/nodes-base/nodes/BambooHr/v1/actions/file/getAll/description.ts +++ b/packages/nodes-base/nodes/BambooHr/v1/actions/file/getAll/description.ts @@ -1,4 +1,4 @@ -import { FileProperties } from '../../Interfaces'; +import type { FileProperties } from '../../Interfaces'; export const fileGetAllDescription: FileProperties = [ { 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 1d03f3e3a7..74701ee4c2 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,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/BambooHr/v1/actions/file/index.ts b/packages/nodes-base/nodes/BambooHr/v1/actions/file/index.ts index 44647f26b6..f2c3438f1b 100644 --- a/packages/nodes-base/nodes/BambooHr/v1/actions/file/index.ts +++ b/packages/nodes-base/nodes/BambooHr/v1/actions/file/index.ts @@ -4,7 +4,7 @@ import * as getAll from './getAll'; import * as update from './update'; import * as upload from './upload'; -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export { del, download, getAll, update, upload }; diff --git a/packages/nodes-base/nodes/BambooHr/v1/actions/file/update/description.ts b/packages/nodes-base/nodes/BambooHr/v1/actions/file/update/description.ts index f1e722eb4e..8f332f46fc 100644 --- a/packages/nodes-base/nodes/BambooHr/v1/actions/file/update/description.ts +++ b/packages/nodes-base/nodes/BambooHr/v1/actions/file/update/description.ts @@ -1,4 +1,4 @@ -import { FileProperties } from '../../Interfaces'; +import type { FileProperties } from '../../Interfaces'; export const fileUpdateDescription: FileProperties = [ { 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 1618aac332..5a58442210 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,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/BambooHr/v1/actions/file/upload/description.ts b/packages/nodes-base/nodes/BambooHr/v1/actions/file/upload/description.ts index b28461fa08..f949e3ed93 100644 --- a/packages/nodes-base/nodes/BambooHr/v1/actions/file/upload/description.ts +++ b/packages/nodes-base/nodes/BambooHr/v1/actions/file/upload/description.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const fileUploadDescription: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/BambooHr/v1/actions/file/upload/execute.ts b/packages/nodes-base/nodes/BambooHr/v1/actions/file/upload/execute.ts index 8389b67379..67156c4601 100644 --- a/packages/nodes-base/nodes/BambooHr/v1/actions/file/upload/execute.ts +++ b/packages/nodes-base/nodes/BambooHr/v1/actions/file/upload/execute.ts @@ -1,6 +1,7 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IBinaryKeyData, IDataObject, NodeOperationError } from 'n8n-workflow'; +import type { IBinaryKeyData, IDataObject } from 'n8n-workflow'; +import { NodeOperationError } 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 e8e97623a1..af8368b329 100644 --- a/packages/nodes-base/nodes/BambooHr/v1/actions/router.ts +++ b/packages/nodes-base/nodes/BambooHr/v1/actions/router.ts @@ -1,13 +1,13 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { INodeExecutionData } from 'n8n-workflow'; +import type { INodeExecutionData } from 'n8n-workflow'; import * as employee from './employee'; import * as employeeDocument from './employeeDocument'; import * as file from './file'; import * as companyReport from './companyReport'; -import { BambooHr } from './Interfaces'; +import type { BambooHr } from './Interfaces'; export async function router(this: IExecuteFunctions): Promise { const items = this.getInputData(); diff --git a/packages/nodes-base/nodes/BambooHr/v1/actions/versionDescription.ts b/packages/nodes-base/nodes/BambooHr/v1/actions/versionDescription.ts index 78fbe97e45..44da4c0ce7 100644 --- a/packages/nodes-base/nodes/BambooHr/v1/actions/versionDescription.ts +++ b/packages/nodes-base/nodes/BambooHr/v1/actions/versionDescription.ts @@ -1,5 +1,5 @@ /* eslint-disable n8n-nodes-base/node-filename-against-convention */ -import { INodeTypeDescription } from 'n8n-workflow'; +import type { INodeTypeDescription } from 'n8n-workflow'; import * as file from './file'; import * as employee from './employee'; diff --git a/packages/nodes-base/nodes/BambooHr/v1/methods/credentialTest.ts b/packages/nodes-base/nodes/BambooHr/v1/methods/credentialTest.ts index 20bb423089..93b942fb9e 100644 --- a/packages/nodes-base/nodes/BambooHr/v1/methods/credentialTest.ts +++ b/packages/nodes-base/nodes/BambooHr/v1/methods/credentialTest.ts @@ -1,4 +1,4 @@ -import { +import type { ICredentialDataDecryptedObject, ICredentialsDecrypted, ICredentialTestFunctions, diff --git a/packages/nodes-base/nodes/BambooHr/v1/methods/loadOptions.ts b/packages/nodes-base/nodes/BambooHr/v1/methods/loadOptions.ts index aa8ff99f1d..36fb31fd7f 100644 --- a/packages/nodes-base/nodes/BambooHr/v1/methods/loadOptions.ts +++ b/packages/nodes-base/nodes/BambooHr/v1/methods/loadOptions.ts @@ -1,4 +1,4 @@ -import { IDataObject, ILoadOptionsFunctions, INodePropertyOptions } from 'n8n-workflow'; +import type { IDataObject, ILoadOptionsFunctions, INodePropertyOptions } from 'n8n-workflow'; import { apiRequest } from '../transport'; diff --git a/packages/nodes-base/nodes/BambooHr/v1/transport/index.ts b/packages/nodes-base/nodes/BambooHr/v1/transport/index.ts index fa8d170b70..3525037296 100644 --- a/packages/nodes-base/nodes/BambooHr/v1/transport/index.ts +++ b/packages/nodes-base/nodes/BambooHr/v1/transport/index.ts @@ -1,8 +1,9 @@ -import { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; -import { OptionsWithUrl } from 'request'; +import type { OptionsWithUrl } from 'request'; /** * Make an API request to Mattermost diff --git a/packages/nodes-base/nodes/Bannerbear/Bannerbear.node.ts b/packages/nodes-base/nodes/Bannerbear/Bannerbear.node.ts index 7828a2dfc5..b57182572f 100644 --- a/packages/nodes-base/nodes/Bannerbear/Bannerbear.node.ts +++ b/packages/nodes-base/nodes/Bannerbear/Bannerbear.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Bannerbear/GenericFunctions.ts b/packages/nodes-base/nodes/Bannerbear/GenericFunctions.ts index a9f3916305..f0e8a53adb 100644 --- a/packages/nodes-base/nodes/Bannerbear/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Bannerbear/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject, IHookFunctions, IWebhookFunctions, NodeApiError } from 'n8n-workflow'; +import type { IDataObject, IHookFunctions, IWebhookFunctions } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; import { snakeCase } from 'change-case'; diff --git a/packages/nodes-base/nodes/Bannerbear/ImageDescription.ts b/packages/nodes-base/nodes/Bannerbear/ImageDescription.ts index 3fdd1788f9..4e4c762011 100644 --- a/packages/nodes-base/nodes/Bannerbear/ImageDescription.ts +++ b/packages/nodes-base/nodes/Bannerbear/ImageDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const imageOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Bannerbear/TemplateDescription.ts b/packages/nodes-base/nodes/Bannerbear/TemplateDescription.ts index e1facd99e3..491db2b5f9 100644 --- a/packages/nodes-base/nodes/Bannerbear/TemplateDescription.ts +++ b/packages/nodes-base/nodes/Bannerbear/TemplateDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const templateOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Baserow/Baserow.node.ts b/packages/nodes-base/nodes/Baserow/Baserow.node.ts index 948487dfe9..1a3ad1f4ce 100644 --- a/packages/nodes-base/nodes/Baserow/Baserow.node.ts +++ b/packages/nodes-base/nodes/Baserow/Baserow.node.ts @@ -1,4 +1,4 @@ -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, @@ -6,7 +6,7 @@ import { INodeTypeDescription, } from 'n8n-workflow'; -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; import { baserowApiRequest, @@ -18,7 +18,7 @@ import { import { operationFields } from './OperationDescription'; -import { +import type { BaserowCredentials, FieldsUiValues, GetAllAdditionalOptions, diff --git a/packages/nodes-base/nodes/Baserow/GenericFunctions.ts b/packages/nodes-base/nodes/Baserow/GenericFunctions.ts index 83ec71a9cd..79b1faf208 100644 --- a/packages/nodes-base/nodes/Baserow/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Baserow/GenericFunctions.ts @@ -1,10 +1,11 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IDataObject, ILoadOptionsFunctions, NodeApiError } from 'n8n-workflow'; +import type { IDataObject, ILoadOptionsFunctions } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; -import { Accumulator, BaserowCredentials, LoadedResource } from './types'; +import type { Accumulator, BaserowCredentials, LoadedResource } from './types'; /** * Make a request to Baserow API. diff --git a/packages/nodes-base/nodes/Baserow/OperationDescription.ts b/packages/nodes-base/nodes/Baserow/OperationDescription.ts index b0a4e2afff..9a23053d81 100644 --- a/packages/nodes-base/nodes/Baserow/OperationDescription.ts +++ b/packages/nodes-base/nodes/Baserow/OperationDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const operationFields: INodeProperties[] = [ // ---------------------------------- diff --git a/packages/nodes-base/nodes/Beeminder/Beeminder.node.functions.ts b/packages/nodes-base/nodes/Beeminder/Beeminder.node.functions.ts index bcff4801c7..2ba818c255 100644 --- a/packages/nodes-base/nodes/Beeminder/Beeminder.node.functions.ts +++ b/packages/nodes-base/nodes/Beeminder/Beeminder.node.functions.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject, IHookFunctions, IWebhookFunctions } from 'n8n-workflow'; +import type { 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 b0dc5b8beb..fa74f9f547 100644 --- a/packages/nodes-base/nodes/Beeminder/Beeminder.node.ts +++ b/packages/nodes-base/nodes/Beeminder/Beeminder.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Beeminder/GenericFunctions.ts b/packages/nodes-base/nodes/Beeminder/GenericFunctions.ts index b07a7c2564..99e36be756 100644 --- a/packages/nodes-base/nodes/Beeminder/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Beeminder/GenericFunctions.ts @@ -1,8 +1,8 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject, IHookFunctions, IWebhookFunctions } from 'n8n-workflow'; +import type { 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 6b5c650006..afa3ed7604 100644 --- a/packages/nodes-base/nodes/Bitbucket/BitbucketTrigger.node.ts +++ b/packages/nodes-base/nodes/Bitbucket/BitbucketTrigger.node.ts @@ -1,8 +1,8 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IHookFunctions, IWebhookFunctions } from 'n8n-core'; +import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; -import { +import type { ICredentialsDecrypted, ICredentialTestFunctions, IDataObject, diff --git a/packages/nodes-base/nodes/Bitbucket/GenericFunctions.ts b/packages/nodes-base/nodes/Bitbucket/GenericFunctions.ts index f55259febe..62f4b37f1f 100644 --- a/packages/nodes-base/nodes/Bitbucket/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Bitbucket/GenericFunctions.ts @@ -1,11 +1,12 @@ -import { OptionsWithUri } from 'request'; -import { +import type { OptionsWithUri } from 'request'; +import type { IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function bitbucketApiRequest( this: IHookFunctions | IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Bitly/Bitly.node.ts b/packages/nodes-base/nodes/Bitly/Bitly.node.ts index fb95857806..87d7d51887 100644 --- a/packages/nodes-base/nodes/Bitly/Bitly.node.ts +++ b/packages/nodes-base/nodes/Bitly/Bitly.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Bitly/GenericFunctions.ts b/packages/nodes-base/nodes/Bitly/GenericFunctions.ts index f29517a88c..fd5960a62c 100644 --- a/packages/nodes-base/nodes/Bitly/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Bitly/GenericFunctions.ts @@ -1,13 +1,14 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { +import type { IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function bitlyApiRequest( this: IHookFunctions | IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Bitly/LinkDescription.ts b/packages/nodes-base/nodes/Bitly/LinkDescription.ts index 60ff959d9e..cde8e82508 100644 --- a/packages/nodes-base/nodes/Bitly/LinkDescription.ts +++ b/packages/nodes-base/nodes/Bitly/LinkDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const linkOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Bitwarden/Bitwarden.node.ts b/packages/nodes-base/nodes/Bitwarden/Bitwarden.node.ts index 7b6a63df46..3e98fd0b7e 100644 --- a/packages/nodes-base/nodes/Bitwarden/Bitwarden.node.ts +++ b/packages/nodes-base/nodes/Bitwarden/Bitwarden.node.ts @@ -1,13 +1,13 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { bitwardenApiRequest as tokenlessBitwardenApiRequest, @@ -16,27 +16,22 @@ import { loadResource, } from './GenericFunctions'; -import { - collectionFields, - collectionOperations, - CollectionUpdateFields, -} from './descriptions/CollectionDescription'; +import type { CollectionUpdateFields } from './descriptions/CollectionDescription'; +import { collectionFields, collectionOperations } from './descriptions/CollectionDescription'; import { eventFields, eventOperations } from './descriptions/EventDescription'; -import { +import type { GroupCreationAdditionalFields, - groupFields, - groupOperations, GroupUpdateFields, } from './descriptions/GroupDescription'; +import { groupFields, groupOperations } from './descriptions/GroupDescription'; -import { +import type { MemberCreationAdditionalFields, - memberFields, - memberOperations, MemberUpdateFields, } from './descriptions/MemberDescription'; +import { memberFields, memberOperations } from './descriptions/MemberDescription'; import { isEmpty, partialRight } from 'lodash'; diff --git a/packages/nodes-base/nodes/Bitwarden/GenericFunctions.ts b/packages/nodes-base/nodes/Bitwarden/GenericFunctions.ts index fbb72d1dd3..213d0e7316 100644 --- a/packages/nodes-base/nodes/Bitwarden/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Bitwarden/GenericFunctions.ts @@ -1,13 +1,9 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { - IDataObject, - ILoadOptionsFunctions, - INodePropertyOptions, - NodeApiError, -} from 'n8n-workflow'; +import type { IDataObject, ILoadOptionsFunctions, INodePropertyOptions } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; /** * Return the access token URL based on the user's environment. diff --git a/packages/nodes-base/nodes/Bitwarden/descriptions/EventDescription.ts b/packages/nodes-base/nodes/Bitwarden/descriptions/EventDescription.ts index 4750f7a481..d7464b262e 100644 --- a/packages/nodes-base/nodes/Bitwarden/descriptions/EventDescription.ts +++ b/packages/nodes-base/nodes/Bitwarden/descriptions/EventDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const eventOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Bitwarden/descriptions/GroupDescription.ts b/packages/nodes-base/nodes/Bitwarden/descriptions/GroupDescription.ts index 16f19aa1b3..3f708eead3 100644 --- a/packages/nodes-base/nodes/Bitwarden/descriptions/GroupDescription.ts +++ b/packages/nodes-base/nodes/Bitwarden/descriptions/GroupDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const groupOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Bitwarden/descriptions/MemberDescription.ts b/packages/nodes-base/nodes/Bitwarden/descriptions/MemberDescription.ts index 17abc48de6..cb3518dafd 100644 --- a/packages/nodes-base/nodes/Bitwarden/descriptions/MemberDescription.ts +++ b/packages/nodes-base/nodes/Bitwarden/descriptions/MemberDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const memberOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Box/Box.node.ts b/packages/nodes-base/nodes/Box/Box.node.ts index 3c1cff1e0a..ec9577238f 100644 --- a/packages/nodes-base/nodes/Box/Box.node.ts +++ b/packages/nodes-base/nodes/Box/Box.node.ts @@ -1,13 +1,13 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IBinaryKeyData, IDataObject, INodeExecutionData, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { boxApiRequest, boxApiRequestAllItems } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Box/BoxTrigger.node.ts b/packages/nodes-base/nodes/Box/BoxTrigger.node.ts index 5179f05339..712ac64a44 100644 --- a/packages/nodes-base/nodes/Box/BoxTrigger.node.ts +++ b/packages/nodes-base/nodes/Box/BoxTrigger.node.ts @@ -1,6 +1,6 @@ -import { IHookFunctions, IWebhookFunctions } from 'n8n-core'; +import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; -import { INodeType, INodeTypeDescription, IWebhookResponseData } from 'n8n-workflow'; +import type { INodeType, INodeTypeDescription, IWebhookResponseData } from 'n8n-workflow'; import { boxApiRequest, boxApiRequestAllItems } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Box/FileDescription.ts b/packages/nodes-base/nodes/Box/FileDescription.ts index 0928289654..896100ffe9 100644 --- a/packages/nodes-base/nodes/Box/FileDescription.ts +++ b/packages/nodes-base/nodes/Box/FileDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const fileOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Box/FolderDescription.ts b/packages/nodes-base/nodes/Box/FolderDescription.ts index 024efbaafe..b975f5e78c 100644 --- a/packages/nodes-base/nodes/Box/FolderDescription.ts +++ b/packages/nodes-base/nodes/Box/FolderDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const folderOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Box/GenericFunctions.ts b/packages/nodes-base/nodes/Box/GenericFunctions.ts index bab2d59e76..05469a59bd 100644 --- a/packages/nodes-base/nodes/Box/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Box/GenericFunctions.ts @@ -1,13 +1,14 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { +import type { IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, } from 'n8n-core'; -import { IDataObject, IOAuth2Options, NodeApiError } from 'n8n-workflow'; +import type { IDataObject, IOAuth2Options } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function boxApiRequest( this: IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions | IHookFunctions, diff --git a/packages/nodes-base/nodes/Brandfetch/Brandfetch.node.ts b/packages/nodes-base/nodes/Brandfetch/Brandfetch.node.ts index 260afbaa71..37ca58da34 100644 --- a/packages/nodes-base/nodes/Brandfetch/Brandfetch.node.ts +++ b/packages/nodes-base/nodes/Brandfetch/Brandfetch.node.ts @@ -1,6 +1,11 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { + IDataObject, + INodeExecutionData, + INodeType, + INodeTypeDescription, +} from 'n8n-workflow'; import { brandfetchApiRequest } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Brandfetch/GenericFunctions.ts b/packages/nodes-base/nodes/Brandfetch/GenericFunctions.ts index dafeb2e9cc..5fc03ca367 100644 --- a/packages/nodes-base/nodes/Brandfetch/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Brandfetch/GenericFunctions.ts @@ -1,13 +1,14 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { +import type { IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function brandfetchApiRequest( this: IHookFunctions | IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Bubble/Bubble.node.ts b/packages/nodes-base/nodes/Bubble/Bubble.node.ts index ff7ef38f15..8d0b6887c9 100644 --- a/packages/nodes-base/nodes/Bubble/Bubble.node.ts +++ b/packages/nodes-base/nodes/Bubble/Bubble.node.ts @@ -1,12 +1,12 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { bubbleApiRequest, bubbleApiRequestAllItems, validateJSON } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Bubble/GenericFunctions.ts b/packages/nodes-base/nodes/Bubble/GenericFunctions.ts index e79f6e0c80..b0f9cc3002 100644 --- a/packages/nodes-base/nodes/Bubble/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Bubble/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { IExecuteFunctions, IHookFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IHookFunctions } from 'n8n-core'; -import { IDataObject, ILoadOptionsFunctions, NodeApiError } from 'n8n-workflow'; +import type { IDataObject, ILoadOptionsFunctions } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; /** * Make an authenticated API request to Bubble. diff --git a/packages/nodes-base/nodes/Bubble/ObjectDescription.ts b/packages/nodes-base/nodes/Bubble/ObjectDescription.ts index c8076d8196..fdbca3b109 100644 --- a/packages/nodes-base/nodes/Bubble/ObjectDescription.ts +++ b/packages/nodes-base/nodes/Bubble/ObjectDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const objectOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Cal/CalTrigger.node.ts b/packages/nodes-base/nodes/Cal/CalTrigger.node.ts index 7f7c2019d5..884f5d0cbc 100644 --- a/packages/nodes-base/nodes/Cal/CalTrigger.node.ts +++ b/packages/nodes-base/nodes/Cal/CalTrigger.node.ts @@ -1,6 +1,6 @@ -import { IHookFunctions, IWebhookFunctions } from 'n8n-core'; +import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; -import { +import type { ILoadOptionsFunctions, INodePropertyOptions, INodeType, diff --git a/packages/nodes-base/nodes/Cal/GenericFunctions.ts b/packages/nodes-base/nodes/Cal/GenericFunctions.ts index f0cb4f44a8..f84174c890 100644 --- a/packages/nodes-base/nodes/Cal/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Cal/GenericFunctions.ts @@ -1,14 +1,14 @@ -import { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { +import type { IDataObject, IHookFunctions, IHttpRequestMethods, IHttpRequestOptions, INodePropertyOptions, IWebhookFunctions, - NodeApiError, } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function calApiRequest( this: IExecuteFunctions | IWebhookFunctions | IHookFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Calendly/CalendlyTrigger.node.ts b/packages/nodes-base/nodes/Calendly/CalendlyTrigger.node.ts index 90138546f3..f6ea267a49 100644 --- a/packages/nodes-base/nodes/Calendly/CalendlyTrigger.node.ts +++ b/packages/nodes-base/nodes/Calendly/CalendlyTrigger.node.ts @@ -1,6 +1,11 @@ -import { IHookFunctions, IWebhookFunctions } from 'n8n-core'; +import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; -import { IDataObject, INodeType, INodeTypeDescription, IWebhookResponseData } from 'n8n-workflow'; +import type { + IDataObject, + INodeType, + INodeTypeDescription, + IWebhookResponseData, +} from 'n8n-workflow'; import { calendlyApiRequest, getAuthenticationType } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Calendly/GenericFunctions.ts b/packages/nodes-base/nodes/Calendly/GenericFunctions.ts index 98b29df8a4..87f1dce09b 100644 --- a/packages/nodes-base/nodes/Calendly/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Calendly/GenericFunctions.ts @@ -1,8 +1,8 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { +import type { ICredentialDataDecryptedObject, ICredentialTestFunctions, IDataObject, diff --git a/packages/nodes-base/nodes/Chargebee/Chargebee.node.ts b/packages/nodes-base/nodes/Chargebee/Chargebee.node.ts index 1be6b1b7a2..c231d1e3eb 100644 --- a/packages/nodes-base/nodes/Chargebee/Chargebee.node.ts +++ b/packages/nodes-base/nodes/Chargebee/Chargebee.node.ts @@ -1,13 +1,12 @@ -import { IExecuteFunctions } from 'n8n-core'; -import { +import type { IExecuteFunctions } from 'n8n-core'; +import type { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription, - NodeApiError, - NodeOperationError, NodeParameterValue, } from 'n8n-workflow'; +import { NodeApiError, NodeOperationError } from 'n8n-workflow'; interface CustomProperty { name: string; diff --git a/packages/nodes-base/nodes/Chargebee/ChargebeeTrigger.node.ts b/packages/nodes-base/nodes/Chargebee/ChargebeeTrigger.node.ts index a347659e1a..bcefe8cc7f 100644 --- a/packages/nodes-base/nodes/Chargebee/ChargebeeTrigger.node.ts +++ b/packages/nodes-base/nodes/Chargebee/ChargebeeTrigger.node.ts @@ -1,6 +1,6 @@ -import { IWebhookFunctions } from 'n8n-core'; +import type { IWebhookFunctions } from 'n8n-core'; -import { INodeType, INodeTypeDescription, IWebhookResponseData } from 'n8n-workflow'; +import type { INodeType, INodeTypeDescription, IWebhookResponseData } from 'n8n-workflow'; export class ChargebeeTrigger implements INodeType { description: INodeTypeDescription = { diff --git a/packages/nodes-base/nodes/CircleCi/CircleCi.node.ts b/packages/nodes-base/nodes/CircleCi/CircleCi.node.ts index 07fa7bd950..b1bd7fd0a9 100644 --- a/packages/nodes-base/nodes/CircleCi/CircleCi.node.ts +++ b/packages/nodes-base/nodes/CircleCi/CircleCi.node.ts @@ -1,6 +1,11 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { + IDataObject, + INodeExecutionData, + INodeType, + INodeTypeDescription, +} from 'n8n-workflow'; import { pipelineFields, pipelineOperations } from './PipelineDescription'; diff --git a/packages/nodes-base/nodes/CircleCi/GenericFunctions.ts b/packages/nodes-base/nodes/CircleCi/GenericFunctions.ts index 94743117ce..9c5840974b 100644 --- a/packages/nodes-base/nodes/CircleCi/GenericFunctions.ts +++ b/packages/nodes-base/nodes/CircleCi/GenericFunctions.ts @@ -1,13 +1,14 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { +import type { IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function circleciApiRequest( this: IHookFunctions | IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/CircleCi/PipelineDescription.ts b/packages/nodes-base/nodes/CircleCi/PipelineDescription.ts index 3327c0fa0d..b19ce24fee 100644 --- a/packages/nodes-base/nodes/CircleCi/PipelineDescription.ts +++ b/packages/nodes-base/nodes/CircleCi/PipelineDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const pipelineOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Cisco/Webex/CiscoWebex.node.ts b/packages/nodes-base/nodes/Cisco/Webex/CiscoWebex.node.ts index 4b6ddad07f..e21f821b1b 100644 --- a/packages/nodes-base/nodes/Cisco/Webex/CiscoWebex.node.ts +++ b/packages/nodes-base/nodes/Cisco/Webex/CiscoWebex.node.ts @@ -1,14 +1,14 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, INodePropertyOptions, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { getAttachemnts, webexApiRequest, webexApiRequestAllItems } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Cisco/Webex/CiscoWebexTrigger.node.ts b/packages/nodes-base/nodes/Cisco/Webex/CiscoWebexTrigger.node.ts index f8607ffe1c..7b8f9db91d 100644 --- a/packages/nodes-base/nodes/Cisco/Webex/CiscoWebexTrigger.node.ts +++ b/packages/nodes-base/nodes/Cisco/Webex/CiscoWebexTrigger.node.ts @@ -1,6 +1,11 @@ -import { IHookFunctions, IWebhookFunctions } from 'n8n-core'; +import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; -import { IDataObject, INodeType, INodeTypeDescription, IWebhookResponseData } from 'n8n-workflow'; +import type { + IDataObject, + INodeType, + INodeTypeDescription, + IWebhookResponseData, +} from 'n8n-workflow'; import { getAutomaticSecret, diff --git a/packages/nodes-base/nodes/Cisco/Webex/GenericFunctions.ts b/packages/nodes-base/nodes/Cisco/Webex/GenericFunctions.ts index 666fd57b52..9ae21308d0 100644 --- a/packages/nodes-base/nodes/Cisco/Webex/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Cisco/Webex/GenericFunctions.ts @@ -1,14 +1,14 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { +import type { ICredentialDataDecryptedObject, IDataObject, INodeProperties, IWebhookFunctions, - NodeApiError, } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; import { upperFirst } from 'lodash'; diff --git a/packages/nodes-base/nodes/Cisco/Webex/descriptions/MeetingDescription.ts b/packages/nodes-base/nodes/Cisco/Webex/descriptions/MeetingDescription.ts index ab0da7e38b..5104dbca5c 100644 --- a/packages/nodes-base/nodes/Cisco/Webex/descriptions/MeetingDescription.ts +++ b/packages/nodes-base/nodes/Cisco/Webex/descriptions/MeetingDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const meetingOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Cisco/Webex/descriptions/MeetingTranscript.ts b/packages/nodes-base/nodes/Cisco/Webex/descriptions/MeetingTranscript.ts index a1bf3ae1d1..af82f39088 100644 --- a/packages/nodes-base/nodes/Cisco/Webex/descriptions/MeetingTranscript.ts +++ b/packages/nodes-base/nodes/Cisco/Webex/descriptions/MeetingTranscript.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const meetingTranscriptOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Cisco/Webex/descriptions/MessageDescription.ts b/packages/nodes-base/nodes/Cisco/Webex/descriptions/MessageDescription.ts index 4a7b0c717b..c9f7fc3e92 100644 --- a/packages/nodes-base/nodes/Cisco/Webex/descriptions/MessageDescription.ts +++ b/packages/nodes-base/nodes/Cisco/Webex/descriptions/MessageDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { getActionInheritedProperties, diff --git a/packages/nodes-base/nodes/Citrix/ADC/CertificateDescription.ts b/packages/nodes-base/nodes/Citrix/ADC/CertificateDescription.ts index f2f1bcb71a..a2f77c3675 100644 --- a/packages/nodes-base/nodes/Citrix/ADC/CertificateDescription.ts +++ b/packages/nodes-base/nodes/Citrix/ADC/CertificateDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const certificateDescription: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Citrix/ADC/CitrixAdc.node.ts b/packages/nodes-base/nodes/Citrix/ADC/CitrixAdc.node.ts index ab9a18ddf3..0b4db0b19b 100644 --- a/packages/nodes-base/nodes/Citrix/ADC/CitrixAdc.node.ts +++ b/packages/nodes-base/nodes/Citrix/ADC/CitrixAdc.node.ts @@ -1,13 +1,13 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription, JsonObject, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { citrixADCApiRequest } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Citrix/ADC/FileDescription.ts b/packages/nodes-base/nodes/Citrix/ADC/FileDescription.ts index 860d979057..b6a45dd2d9 100644 --- a/packages/nodes-base/nodes/Citrix/ADC/FileDescription.ts +++ b/packages/nodes-base/nodes/Citrix/ADC/FileDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const fileDescription: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Citrix/ADC/GenericFunctions.ts b/packages/nodes-base/nodes/Citrix/ADC/GenericFunctions.ts index 0e5c6c1e16..e37229745a 100644 --- a/packages/nodes-base/nodes/Citrix/ADC/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Citrix/ADC/GenericFunctions.ts @@ -1,14 +1,9 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { - IDataObject, - IHookFunctions, - IWebhookFunctions, - JsonObject, - NodeApiError, -} from 'n8n-workflow'; +import type { IDataObject, IHookFunctions, IWebhookFunctions, JsonObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function citrixADCApiRequest( this: IExecuteFunctions | IWebhookFunctions | IHookFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Clearbit/Clearbit.node.ts b/packages/nodes-base/nodes/Clearbit/Clearbit.node.ts index d6d36cf9d4..c4794b47e3 100644 --- a/packages/nodes-base/nodes/Clearbit/Clearbit.node.ts +++ b/packages/nodes-base/nodes/Clearbit/Clearbit.node.ts @@ -1,6 +1,11 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { + IDataObject, + INodeExecutionData, + INodeType, + INodeTypeDescription, +} from 'n8n-workflow'; import { clearbitApiRequest } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Clearbit/CompanyDescription.ts b/packages/nodes-base/nodes/Clearbit/CompanyDescription.ts index dd826cd80e..c308f02494 100644 --- a/packages/nodes-base/nodes/Clearbit/CompanyDescription.ts +++ b/packages/nodes-base/nodes/Clearbit/CompanyDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const companyOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Clearbit/GenericFunctions.ts b/packages/nodes-base/nodes/Clearbit/GenericFunctions.ts index 8994b94966..116c882bcc 100644 --- a/packages/nodes-base/nodes/Clearbit/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Clearbit/GenericFunctions.ts @@ -1,13 +1,14 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { +import type { IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function clearbitApiRequest( this: IHookFunctions | IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Clearbit/PersonDescription.ts b/packages/nodes-base/nodes/Clearbit/PersonDescription.ts index f6346fa56b..d8d25ddc0a 100644 --- a/packages/nodes-base/nodes/Clearbit/PersonDescription.ts +++ b/packages/nodes-base/nodes/Clearbit/PersonDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const personOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/ClickUp/ChecklistDescription.ts b/packages/nodes-base/nodes/ClickUp/ChecklistDescription.ts index f88710e86f..87062351d9 100644 --- a/packages/nodes-base/nodes/ClickUp/ChecklistDescription.ts +++ b/packages/nodes-base/nodes/ClickUp/ChecklistDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const checklistOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/ClickUp/ChecklistItemDescription.ts b/packages/nodes-base/nodes/ClickUp/ChecklistItemDescription.ts index 19191aaa5a..da1d9f98b5 100644 --- a/packages/nodes-base/nodes/ClickUp/ChecklistItemDescription.ts +++ b/packages/nodes-base/nodes/ClickUp/ChecklistItemDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const checklistItemOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/ClickUp/ClickUp.node.ts b/packages/nodes-base/nodes/ClickUp/ClickUp.node.ts index 64b034bbff..5f4cf43849 100644 --- a/packages/nodes-base/nodes/ClickUp/ClickUp.node.ts +++ b/packages/nodes-base/nodes/ClickUp/ClickUp.node.ts @@ -1,14 +1,14 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, INodePropertyOptions, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { clickupApiRequest, clickupApiRequestAllItems, validateJSON } from './GenericFunctions'; @@ -45,9 +45,9 @@ import { timeEntryTagFields, timeEntryTagOperations } from './TimeEntryTagDescri import { listFields, listOperations } from './ListDescription'; -import { ITask } from './TaskInterface'; +import type { ITask } from './TaskInterface'; -import { IList } from './ListInterface'; +import type { IList } from './ListInterface'; import moment from 'moment-timezone'; diff --git a/packages/nodes-base/nodes/ClickUp/ClickUpTrigger.node.ts b/packages/nodes-base/nodes/ClickUp/ClickUpTrigger.node.ts index 891ed60c96..ba4b1d4dba 100644 --- a/packages/nodes-base/nodes/ClickUp/ClickUpTrigger.node.ts +++ b/packages/nodes-base/nodes/ClickUp/ClickUpTrigger.node.ts @@ -1,6 +1,6 @@ -import { IHookFunctions, IWebhookFunctions } from 'n8n-core'; +import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodePropertyOptions, diff --git a/packages/nodes-base/nodes/ClickUp/CommentDescription.ts b/packages/nodes-base/nodes/ClickUp/CommentDescription.ts index 6893f622ed..8d6e4c8d24 100644 --- a/packages/nodes-base/nodes/ClickUp/CommentDescription.ts +++ b/packages/nodes-base/nodes/ClickUp/CommentDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const commentOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/ClickUp/FolderDescription.ts b/packages/nodes-base/nodes/ClickUp/FolderDescription.ts index fb489e6488..861dc648b2 100644 --- a/packages/nodes-base/nodes/ClickUp/FolderDescription.ts +++ b/packages/nodes-base/nodes/ClickUp/FolderDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const folderOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/ClickUp/GenericFunctions.ts b/packages/nodes-base/nodes/ClickUp/GenericFunctions.ts index 75248a2b72..f0949081de 100644 --- a/packages/nodes-base/nodes/ClickUp/GenericFunctions.ts +++ b/packages/nodes-base/nodes/ClickUp/GenericFunctions.ts @@ -1,6 +1,6 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { +import type { IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, @@ -8,7 +8,8 @@ import { IWebhookFunctions, } from 'n8n-core'; -import { IDataObject, IOAuth2Options, NodeApiError } from 'n8n-workflow'; +import type { IDataObject, IOAuth2Options } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function clickupApiRequest( this: diff --git a/packages/nodes-base/nodes/ClickUp/GoalDescription.ts b/packages/nodes-base/nodes/ClickUp/GoalDescription.ts index a8452baffd..1dd4d3fd54 100644 --- a/packages/nodes-base/nodes/ClickUp/GoalDescription.ts +++ b/packages/nodes-base/nodes/ClickUp/GoalDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const goalOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/ClickUp/GoalKeyResultDescription.ts b/packages/nodes-base/nodes/ClickUp/GoalKeyResultDescription.ts index 5c27a1ec3e..6b759ed433 100644 --- a/packages/nodes-base/nodes/ClickUp/GoalKeyResultDescription.ts +++ b/packages/nodes-base/nodes/ClickUp/GoalKeyResultDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const goalKeyResultOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/ClickUp/GuestDescription.ts b/packages/nodes-base/nodes/ClickUp/GuestDescription.ts index 8d7620ee8c..f1e320dca8 100644 --- a/packages/nodes-base/nodes/ClickUp/GuestDescription.ts +++ b/packages/nodes-base/nodes/ClickUp/GuestDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const guestOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/ClickUp/ListDescription.ts b/packages/nodes-base/nodes/ClickUp/ListDescription.ts index 37a8798a2a..12b6b36fb9 100644 --- a/packages/nodes-base/nodes/ClickUp/ListDescription.ts +++ b/packages/nodes-base/nodes/ClickUp/ListDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const listOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/ClickUp/SpaceTagDescription.ts b/packages/nodes-base/nodes/ClickUp/SpaceTagDescription.ts index ef4dd53064..c4a3704c3b 100644 --- a/packages/nodes-base/nodes/ClickUp/SpaceTagDescription.ts +++ b/packages/nodes-base/nodes/ClickUp/SpaceTagDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const spaceTagOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/ClickUp/TaskDependencyDescription.ts b/packages/nodes-base/nodes/ClickUp/TaskDependencyDescription.ts index f3f332638a..f6d3b1360a 100644 --- a/packages/nodes-base/nodes/ClickUp/TaskDependencyDescription.ts +++ b/packages/nodes-base/nodes/ClickUp/TaskDependencyDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const taskDependencyOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/ClickUp/TaskDescription.ts b/packages/nodes-base/nodes/ClickUp/TaskDescription.ts index 17a12c45ce..9e71a37be2 100644 --- a/packages/nodes-base/nodes/ClickUp/TaskDescription.ts +++ b/packages/nodes-base/nodes/ClickUp/TaskDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const taskOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/ClickUp/TaskInterface.ts b/packages/nodes-base/nodes/ClickUp/TaskInterface.ts index 9465271a72..8a360a73f8 100644 --- a/packages/nodes-base/nodes/ClickUp/TaskInterface.ts +++ b/packages/nodes-base/nodes/ClickUp/TaskInterface.ts @@ -1,4 +1,4 @@ -import { IDataObject } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; export interface ITask { name?: string; diff --git a/packages/nodes-base/nodes/ClickUp/TaskListDescription.ts b/packages/nodes-base/nodes/ClickUp/TaskListDescription.ts index 4202ba75dd..bc61924928 100644 --- a/packages/nodes-base/nodes/ClickUp/TaskListDescription.ts +++ b/packages/nodes-base/nodes/ClickUp/TaskListDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const taskListOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/ClickUp/TaskTagDescription.ts b/packages/nodes-base/nodes/ClickUp/TaskTagDescription.ts index d0e89e3632..be833c44ca 100644 --- a/packages/nodes-base/nodes/ClickUp/TaskTagDescription.ts +++ b/packages/nodes-base/nodes/ClickUp/TaskTagDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const taskTagOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/ClickUp/TimeEntryDescription.ts b/packages/nodes-base/nodes/ClickUp/TimeEntryDescription.ts index 562b76e288..f8642e177e 100644 --- a/packages/nodes-base/nodes/ClickUp/TimeEntryDescription.ts +++ b/packages/nodes-base/nodes/ClickUp/TimeEntryDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const timeEntryOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/ClickUp/TimeEntryTagDescription.ts b/packages/nodes-base/nodes/ClickUp/TimeEntryTagDescription.ts index ebbdeb237a..9a2d930dbb 100644 --- a/packages/nodes-base/nodes/ClickUp/TimeEntryTagDescription.ts +++ b/packages/nodes-base/nodes/ClickUp/TimeEntryTagDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const timeEntryTagOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Clockify/ClientDescription.ts b/packages/nodes-base/nodes/Clockify/ClientDescription.ts index 4a55b04792..bd7aec5145 100644 --- a/packages/nodes-base/nodes/Clockify/ClientDescription.ts +++ b/packages/nodes-base/nodes/Clockify/ClientDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const clientOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Clockify/Clockify.node.ts b/packages/nodes-base/nodes/Clockify/Clockify.node.ts index 64b0603f75..8ddf595c9c 100644 --- a/packages/nodes-base/nodes/Clockify/Clockify.node.ts +++ b/packages/nodes-base/nodes/Clockify/Clockify.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, @@ -11,11 +11,11 @@ import { import { clockifyApiRequest, clockifyApiRequestAllItems } from './GenericFunctions'; -import { IClientDto, IWorkspaceDto } from './WorkpaceInterfaces'; +import type { IClientDto, IWorkspaceDto } from './WorkpaceInterfaces'; -import { IUserDto } from './UserDtos'; +import type { IUserDto } from './UserDtos'; -import { IProjectDto } from './ProjectInterfaces'; +import type { IProjectDto } from './ProjectInterfaces'; import { clientFields, clientOperations } from './ClientDescription'; diff --git a/packages/nodes-base/nodes/Clockify/ClockifyTrigger.node.ts b/packages/nodes-base/nodes/Clockify/ClockifyTrigger.node.ts index 382bd43864..2ccce87fdf 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 { IPollFunctions } from 'n8n-core'; -import { +import type { IPollFunctions } from 'n8n-core'; +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, @@ -13,8 +13,8 @@ import { import { clockifyApiRequest } from './GenericFunctions'; import { EntryTypeEnum } from './EntryTypeEnum'; -import { IUserDto } from './UserDtos'; -import { IWorkspaceDto } from './WorkpaceInterfaces'; +import type { IUserDto } from './UserDtos'; +import type { IWorkspaceDto } from './WorkpaceInterfaces'; export class ClockifyTrigger implements INodeType { description: INodeTypeDescription = { diff --git a/packages/nodes-base/nodes/Clockify/GenericFunctions.ts b/packages/nodes-base/nodes/Clockify/GenericFunctions.ts index 478134d121..149cadb17e 100644 --- a/packages/nodes-base/nodes/Clockify/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Clockify/GenericFunctions.ts @@ -1,8 +1,8 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions, ILoadOptionsFunctions, IPollFunctions } from 'n8n-core'; +import type { IExecuteFunctions, ILoadOptionsFunctions, IPollFunctions } from 'n8n-core'; -import { IDataObject } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; export async function clockifyApiRequest( this: ILoadOptionsFunctions | IPollFunctions | IExecuteFunctions, diff --git a/packages/nodes-base/nodes/Clockify/ProjectDescription.ts b/packages/nodes-base/nodes/Clockify/ProjectDescription.ts index 8a54846c9a..ec71a4c413 100644 --- a/packages/nodes-base/nodes/Clockify/ProjectDescription.ts +++ b/packages/nodes-base/nodes/Clockify/ProjectDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const projectOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Clockify/ProjectInterfaces.ts b/packages/nodes-base/nodes/Clockify/ProjectInterfaces.ts index 3f601efa94..0e7419cb69 100644 --- a/packages/nodes-base/nodes/Clockify/ProjectInterfaces.ts +++ b/packages/nodes-base/nodes/Clockify/ProjectInterfaces.ts @@ -1,4 +1,4 @@ -import { IHourlyRateDto, IMembershipDto } from './CommonDtos'; +import type { IHourlyRateDto, IMembershipDto } from './CommonDtos'; enum EstimateEnum { AUTO = 'AUTO', diff --git a/packages/nodes-base/nodes/Clockify/TagDescription.ts b/packages/nodes-base/nodes/Clockify/TagDescription.ts index 0eb49814aa..85cfc676e7 100644 --- a/packages/nodes-base/nodes/Clockify/TagDescription.ts +++ b/packages/nodes-base/nodes/Clockify/TagDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const tagOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Clockify/TaskDescription.ts b/packages/nodes-base/nodes/Clockify/TaskDescription.ts index 3c99461d3b..50ef0f1b54 100644 --- a/packages/nodes-base/nodes/Clockify/TaskDescription.ts +++ b/packages/nodes-base/nodes/Clockify/TaskDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const taskOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Clockify/TimeEntryDescription.ts b/packages/nodes-base/nodes/Clockify/TimeEntryDescription.ts index 1c91ee9efd..0cceac1a4e 100644 --- a/packages/nodes-base/nodes/Clockify/TimeEntryDescription.ts +++ b/packages/nodes-base/nodes/Clockify/TimeEntryDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const timeEntryOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Clockify/TimeEntryInterfaces.ts b/packages/nodes-base/nodes/Clockify/TimeEntryInterfaces.ts index d370b21726..ec53ccbcf5 100644 --- a/packages/nodes-base/nodes/Clockify/TimeEntryInterfaces.ts +++ b/packages/nodes-base/nodes/Clockify/TimeEntryInterfaces.ts @@ -1,4 +1,4 @@ -import { ITimeIntervalDto } from './CommonDtos'; +import type { ITimeIntervalDto } from './CommonDtos'; interface ITimeEntriesDurationRequest { start: string; diff --git a/packages/nodes-base/nodes/Clockify/UserDescription.ts b/packages/nodes-base/nodes/Clockify/UserDescription.ts index 0fb4bfafb6..7fe2723216 100644 --- a/packages/nodes-base/nodes/Clockify/UserDescription.ts +++ b/packages/nodes-base/nodes/Clockify/UserDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const userOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Clockify/UserDtos.ts b/packages/nodes-base/nodes/Clockify/UserDtos.ts index a52245deec..dc1f96c75b 100644 --- a/packages/nodes-base/nodes/Clockify/UserDtos.ts +++ b/packages/nodes-base/nodes/Clockify/UserDtos.ts @@ -1,5 +1,5 @@ -import { IDataObject } from 'n8n-workflow'; -import { IMembershipDto } from './CommonDtos'; +import type { IDataObject } from 'n8n-workflow'; +import type { IMembershipDto } from './CommonDtos'; enum UserStatusEnum { ACTIVE, diff --git a/packages/nodes-base/nodes/Clockify/WorkpaceInterfaces.ts b/packages/nodes-base/nodes/Clockify/WorkpaceInterfaces.ts index bce0e4112e..f46be67faa 100644 --- a/packages/nodes-base/nodes/Clockify/WorkpaceInterfaces.ts +++ b/packages/nodes-base/nodes/Clockify/WorkpaceInterfaces.ts @@ -1,4 +1,4 @@ -import { IHourlyRateDto, IMembershipDto } from './CommonDtos'; +import type { IHourlyRateDto, IMembershipDto } from './CommonDtos'; enum AdminOnlyPagesEnum { PROJECT = 'PROJECT', diff --git a/packages/nodes-base/nodes/Clockify/WorkspaceDescription.ts b/packages/nodes-base/nodes/Clockify/WorkspaceDescription.ts index 50c4305b63..7fb054df92 100644 --- a/packages/nodes-base/nodes/Clockify/WorkspaceDescription.ts +++ b/packages/nodes-base/nodes/Clockify/WorkspaceDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const workspaceOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Cloudflare/Cloudflare.node.ts b/packages/nodes-base/nodes/Cloudflare/Cloudflare.node.ts index d1dc1544c8..e09b30bc0f 100644 --- a/packages/nodes-base/nodes/Cloudflare/Cloudflare.node.ts +++ b/packages/nodes-base/nodes/Cloudflare/Cloudflare.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Cloudflare/GenericFunctions.ts b/packages/nodes-base/nodes/Cloudflare/GenericFunctions.ts index 72fd1dfd40..ecf8c22229 100644 --- a/packages/nodes-base/nodes/Cloudflare/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Cloudflare/GenericFunctions.ts @@ -1,13 +1,14 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { +import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions, IPollFunctions, } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function cloudflareApiRequest( this: IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions | IPollFunctions, diff --git a/packages/nodes-base/nodes/Cloudflare/ZoneCertificateDescription.ts b/packages/nodes-base/nodes/Cloudflare/ZoneCertificateDescription.ts index 223efe3eec..81d446bac1 100644 --- a/packages/nodes-base/nodes/Cloudflare/ZoneCertificateDescription.ts +++ b/packages/nodes-base/nodes/Cloudflare/ZoneCertificateDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const zoneCertificateOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Cockpit/Cockpit.node.ts b/packages/nodes-base/nodes/Cockpit/Cockpit.node.ts index dd3556d2bd..4d675ea1cd 100644 --- a/packages/nodes-base/nodes/Cockpit/Cockpit.node.ts +++ b/packages/nodes-base/nodes/Cockpit/Cockpit.node.ts @@ -1,5 +1,5 @@ -import { IExecuteFunctions } from 'n8n-core'; -import { +import type { IExecuteFunctions } from 'n8n-core'; +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Cockpit/CollectionDescription.ts b/packages/nodes-base/nodes/Cockpit/CollectionDescription.ts index 886a90c58e..d6f43d21cf 100644 --- a/packages/nodes-base/nodes/Cockpit/CollectionDescription.ts +++ b/packages/nodes-base/nodes/Cockpit/CollectionDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const collectionOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Cockpit/CollectionFunctions.ts b/packages/nodes-base/nodes/Cockpit/CollectionFunctions.ts index b7e7227bbb..b3e8691138 100644 --- a/packages/nodes-base/nodes/Cockpit/CollectionFunctions.ts +++ b/packages/nodes-base/nodes/Cockpit/CollectionFunctions.ts @@ -1,6 +1,7 @@ -import { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject, jsonParse } from 'n8n-workflow'; -import { ICollection } from './CollectionInterface'; +import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IDataObject } from 'n8n-workflow'; +import { jsonParse } from 'n8n-workflow'; +import type { ICollection } from './CollectionInterface'; import { cockpitApiRequest } from './GenericFunctions'; export async function createCollectionEntry( diff --git a/packages/nodes-base/nodes/Cockpit/FormDescription.ts b/packages/nodes-base/nodes/Cockpit/FormDescription.ts index 335ca6f323..fc5fa1d44f 100644 --- a/packages/nodes-base/nodes/Cockpit/FormDescription.ts +++ b/packages/nodes-base/nodes/Cockpit/FormDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const formOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Cockpit/FormFunctions.ts b/packages/nodes-base/nodes/Cockpit/FormFunctions.ts index da4465fb59..dc9fa97365 100644 --- a/packages/nodes-base/nodes/Cockpit/FormFunctions.ts +++ b/packages/nodes-base/nodes/Cockpit/FormFunctions.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject } from 'n8n-workflow'; -import { IForm } from './FormInterface'; +import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IDataObject } from 'n8n-workflow'; +import type { IForm } from './FormInterface'; import { cockpitApiRequest } from './GenericFunctions'; export async function submitForm( diff --git a/packages/nodes-base/nodes/Cockpit/GenericFunctions.ts b/packages/nodes-base/nodes/Cockpit/GenericFunctions.ts index 3704d2cd6c..1e6fe13e6d 100644 --- a/packages/nodes-base/nodes/Cockpit/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Cockpit/GenericFunctions.ts @@ -1,6 +1,7 @@ -import { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject, jsonParse, NodeApiError } from 'n8n-workflow'; -import { OptionsWithUri } from 'request'; +import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IDataObject } from 'n8n-workflow'; +import { jsonParse, NodeApiError } from 'n8n-workflow'; +import type { OptionsWithUri } from 'request'; export async function cockpitApiRequest( this: IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Cockpit/SingletonDescription.ts b/packages/nodes-base/nodes/Cockpit/SingletonDescription.ts index 8fb877b64e..65e7d997c0 100644 --- a/packages/nodes-base/nodes/Cockpit/SingletonDescription.ts +++ b/packages/nodes-base/nodes/Cockpit/SingletonDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const singletonOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Cockpit/SingletonFunctions.ts b/packages/nodes-base/nodes/Cockpit/SingletonFunctions.ts index 79478749fc..fb4f083f24 100644 --- a/packages/nodes-base/nodes/Cockpit/SingletonFunctions.ts +++ b/packages/nodes-base/nodes/Cockpit/SingletonFunctions.ts @@ -1,4 +1,4 @@ -import { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; 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 a8f432ce5e..5eeb58b40a 100644 --- a/packages/nodes-base/nodes/Coda/Coda.node.ts +++ b/packages/nodes-base/nodes/Coda/Coda.node.ts @@ -1,13 +1,13 @@ -import { IExecuteFunctions } from 'n8n-core'; -import { +import type { IExecuteFunctions } from 'n8n-core'; +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, INodePropertyOptions, INodeType, INodeTypeDescription, - NodeApiError, } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; import { codaApiRequest, codaApiRequestAllItems } from './GenericFunctions'; import { tableFields, tableOperations } from './TableDescription'; import { formulaFields, formulaOperations } from './FormulaDescription'; diff --git a/packages/nodes-base/nodes/Coda/ControlDescription.ts b/packages/nodes-base/nodes/Coda/ControlDescription.ts index 2c93425533..761f535c2b 100644 --- a/packages/nodes-base/nodes/Coda/ControlDescription.ts +++ b/packages/nodes-base/nodes/Coda/ControlDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const controlOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Coda/FormulaDescription.ts b/packages/nodes-base/nodes/Coda/FormulaDescription.ts index 32e6a0d19e..b4bc81990f 100644 --- a/packages/nodes-base/nodes/Coda/FormulaDescription.ts +++ b/packages/nodes-base/nodes/Coda/FormulaDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const formulaOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Coda/GenericFunctions.ts b/packages/nodes-base/nodes/Coda/GenericFunctions.ts index 06355708cf..83260a59cd 100644 --- a/packages/nodes-base/nodes/Coda/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Coda/GenericFunctions.ts @@ -1,6 +1,7 @@ -import { OptionsWithUri } from 'request'; -import { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { OptionsWithUri } from 'request'; +import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function codaApiRequest( this: IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Coda/TableDescription.ts b/packages/nodes-base/nodes/Coda/TableDescription.ts index f4e1eb1cdb..ec48fb15be 100644 --- a/packages/nodes-base/nodes/Coda/TableDescription.ts +++ b/packages/nodes-base/nodes/Coda/TableDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const tableOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Coda/ViewDescription.ts b/packages/nodes-base/nodes/Coda/ViewDescription.ts index 03cb05c666..881a1f78c6 100644 --- a/packages/nodes-base/nodes/Coda/ViewDescription.ts +++ b/packages/nodes-base/nodes/Coda/ViewDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const viewOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Code/Code.node.ts b/packages/nodes-base/nodes/Code/Code.node.ts index 3369ef216f..9ce6256086 100644 --- a/packages/nodes-base/nodes/Code/Code.node.ts +++ b/packages/nodes-base/nodes/Code/Code.node.ts @@ -1,4 +1,4 @@ -import { +import type { IExecuteFunctions, INodeExecutionData, INodeType, diff --git a/packages/nodes-base/nodes/Code/Sandbox.ts b/packages/nodes-base/nodes/Code/Sandbox.ts index d5badd9abb..d136ced620 100644 --- a/packages/nodes-base/nodes/Code/Sandbox.ts +++ b/packages/nodes-base/nodes/Code/Sandbox.ts @@ -1,8 +1,10 @@ import { normalizeItems } from 'n8n-core'; -import { NodeVM, NodeVMOptions } from 'vm2'; +import type { NodeVMOptions } from 'vm2'; +import { NodeVM } from 'vm2'; import { ValidationError } from './ValidationError'; import { ExecutionError } from './ExecutionError'; -import { CodeNodeMode, isObject, REQUIRED_N8N_ITEM_KEYS } from './utils'; +import type { CodeNodeMode } from './utils'; +import { isObject, REQUIRED_N8N_ITEM_KEYS } from './utils'; import type { IExecuteFunctions, IWorkflowDataProxyData, WorkflowExecuteMode } from 'n8n-workflow'; diff --git a/packages/nodes-base/nodes/CoinGecko/CoinDescription.ts b/packages/nodes-base/nodes/CoinGecko/CoinDescription.ts index 6bf8b28f4a..f29c830852 100644 --- a/packages/nodes-base/nodes/CoinGecko/CoinDescription.ts +++ b/packages/nodes-base/nodes/CoinGecko/CoinDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const coinOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/CoinGecko/CoinGecko.node.ts b/packages/nodes-base/nodes/CoinGecko/CoinGecko.node.ts index 6d60c23860..63f20e14bb 100644 --- a/packages/nodes-base/nodes/CoinGecko/CoinGecko.node.ts +++ b/packages/nodes-base/nodes/CoinGecko/CoinGecko.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/CoinGecko/EventDescription.ts b/packages/nodes-base/nodes/CoinGecko/EventDescription.ts index 7c9fe4ca5d..811a9c5a33 100644 --- a/packages/nodes-base/nodes/CoinGecko/EventDescription.ts +++ b/packages/nodes-base/nodes/CoinGecko/EventDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const eventOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/CoinGecko/GenericFunctions.ts b/packages/nodes-base/nodes/CoinGecko/GenericFunctions.ts index 45ed9ee335..aac10abd58 100644 --- a/packages/nodes-base/nodes/CoinGecko/GenericFunctions.ts +++ b/packages/nodes-base/nodes/CoinGecko/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function coinGeckoApiRequest( this: IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/CompareDatasets/CompareDatasets.node.ts b/packages/nodes-base/nodes/CompareDatasets/CompareDatasets.node.ts index 3bb53f0bd5..497e9b9db4 100644 --- a/packages/nodes-base/nodes/CompareDatasets/CompareDatasets.node.ts +++ b/packages/nodes-base/nodes/CompareDatasets/CompareDatasets.node.ts @@ -1,5 +1,10 @@ -import { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { IExecuteFunctions } from 'n8n-core'; +import type { + IDataObject, + INodeExecutionData, + INodeType, + INodeTypeDescription, +} from 'n8n-workflow'; import { checkInput, checkMatchFieldsInput, findMatches } from './GenericFunctions'; export class CompareDatasets implements INodeType { diff --git a/packages/nodes-base/nodes/CompareDatasets/GenericFunctions.ts b/packages/nodes-base/nodes/CompareDatasets/GenericFunctions.ts index 5def47282f..dad2818323 100644 --- a/packages/nodes-base/nodes/CompareDatasets/GenericFunctions.ts +++ b/packages/nodes-base/nodes/CompareDatasets/GenericFunctions.ts @@ -1,4 +1,5 @@ -import { IDataObject, INodeExecutionData, jsonParse } from 'n8n-workflow'; +import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import { jsonParse } from 'n8n-workflow'; import { difference, get, intersection, isEmpty, isEqual, isNull, omit, set, union } from 'lodash'; type PairToMatch = { diff --git a/packages/nodes-base/nodes/Compression/Compression.node.ts b/packages/nodes-base/nodes/Compression/Compression.node.ts index 547999446b..0f220739ae 100644 --- a/packages/nodes-base/nodes/Compression/Compression.node.ts +++ b/packages/nodes-base/nodes/Compression/Compression.node.ts @@ -1,12 +1,12 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IBinaryKeyData, INodeExecutionData, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import * as fflate from 'fflate'; diff --git a/packages/nodes-base/nodes/Contentful/AssetDescription.ts b/packages/nodes-base/nodes/Contentful/AssetDescription.ts index 4563fd926b..6a4b744244 100644 --- a/packages/nodes-base/nodes/Contentful/AssetDescription.ts +++ b/packages/nodes-base/nodes/Contentful/AssetDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties, INodePropertyOptions } from 'n8n-workflow'; +import type { INodeProperties, INodePropertyOptions } from 'n8n-workflow'; export const resource = { name: 'Asset', diff --git a/packages/nodes-base/nodes/Contentful/ContentTypeDescription.ts b/packages/nodes-base/nodes/Contentful/ContentTypeDescription.ts index 29ac419d50..3c501db787 100644 --- a/packages/nodes-base/nodes/Contentful/ContentTypeDescription.ts +++ b/packages/nodes-base/nodes/Contentful/ContentTypeDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties, INodePropertyOptions } from 'n8n-workflow'; +import type { INodeProperties, INodePropertyOptions } from 'n8n-workflow'; export const resource = { name: 'Content Type', diff --git a/packages/nodes-base/nodes/Contentful/Contentful.node.ts b/packages/nodes-base/nodes/Contentful/Contentful.node.ts index b3a1dbca44..f312fc8a94 100644 --- a/packages/nodes-base/nodes/Contentful/Contentful.node.ts +++ b/packages/nodes-base/nodes/Contentful/Contentful.node.ts @@ -1,6 +1,11 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { + IDataObject, + INodeExecutionData, + INodeType, + INodeTypeDescription, +} from 'n8n-workflow'; import { contenfulApiRequestAllItems, contentfulApiRequest } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Contentful/EntryDescription.ts b/packages/nodes-base/nodes/Contentful/EntryDescription.ts index bd70a50d9e..b5820b98cb 100644 --- a/packages/nodes-base/nodes/Contentful/EntryDescription.ts +++ b/packages/nodes-base/nodes/Contentful/EntryDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties, INodePropertyOptions } from 'n8n-workflow'; +import type { INodeProperties, INodePropertyOptions } from 'n8n-workflow'; export const resource = { name: 'Entry', diff --git a/packages/nodes-base/nodes/Contentful/GenericFunctions.ts b/packages/nodes-base/nodes/Contentful/GenericFunctions.ts index 01bd993bf2..905d706d20 100644 --- a/packages/nodes-base/nodes/Contentful/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Contentful/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function contentfulApiRequest( this: IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Contentful/LocaleDescription.ts b/packages/nodes-base/nodes/Contentful/LocaleDescription.ts index ead4779d66..3e419a79b5 100644 --- a/packages/nodes-base/nodes/Contentful/LocaleDescription.ts +++ b/packages/nodes-base/nodes/Contentful/LocaleDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties, INodePropertyOptions } from 'n8n-workflow'; +import type { INodeProperties, INodePropertyOptions } from 'n8n-workflow'; export const resource = { name: 'Locale', diff --git a/packages/nodes-base/nodes/Contentful/SearchParameterDescription.ts b/packages/nodes-base/nodes/Contentful/SearchParameterDescription.ts index c0fb254030..b44b2b9f19 100644 --- a/packages/nodes-base/nodes/Contentful/SearchParameterDescription.ts +++ b/packages/nodes-base/nodes/Contentful/SearchParameterDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const fields: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Contentful/SpaceDescription.ts b/packages/nodes-base/nodes/Contentful/SpaceDescription.ts index e158c09e34..be943cdf98 100644 --- a/packages/nodes-base/nodes/Contentful/SpaceDescription.ts +++ b/packages/nodes-base/nodes/Contentful/SpaceDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const resource = { name: 'Space', diff --git a/packages/nodes-base/nodes/ConvertKit/ConvertKit.node.ts b/packages/nodes-base/nodes/ConvertKit/ConvertKit.node.ts index 7ac6a45e90..6dcb6e003b 100644 --- a/packages/nodes-base/nodes/ConvertKit/ConvertKit.node.ts +++ b/packages/nodes-base/nodes/ConvertKit/ConvertKit.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { +import type { IDataObject, INodeExecutionData, INodePropertyOptions, diff --git a/packages/nodes-base/nodes/ConvertKit/ConvertKitTrigger.node.ts b/packages/nodes-base/nodes/ConvertKit/ConvertKitTrigger.node.ts index a1e392b1c2..f4e286c25e 100644 --- a/packages/nodes-base/nodes/ConvertKit/ConvertKitTrigger.node.ts +++ b/packages/nodes-base/nodes/ConvertKit/ConvertKitTrigger.node.ts @@ -1,6 +1,6 @@ -import { IHookFunctions, IWebhookFunctions } from 'n8n-core'; +import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodePropertyOptions, diff --git a/packages/nodes-base/nodes/ConvertKit/CustomFieldDescription.ts b/packages/nodes-base/nodes/ConvertKit/CustomFieldDescription.ts index ba7e42c361..36f547510b 100644 --- a/packages/nodes-base/nodes/ConvertKit/CustomFieldDescription.ts +++ b/packages/nodes-base/nodes/ConvertKit/CustomFieldDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const customFieldOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/ConvertKit/FormDescription.ts b/packages/nodes-base/nodes/ConvertKit/FormDescription.ts index d6670a368f..93e8d5b27b 100644 --- a/packages/nodes-base/nodes/ConvertKit/FormDescription.ts +++ b/packages/nodes-base/nodes/ConvertKit/FormDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const formOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/ConvertKit/GenericFunctions.ts b/packages/nodes-base/nodes/ConvertKit/GenericFunctions.ts index 830798b79d..59677219a0 100644 --- a/packages/nodes-base/nodes/ConvertKit/GenericFunctions.ts +++ b/packages/nodes-base/nodes/ConvertKit/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject, IHookFunctions, NodeApiError } from 'n8n-workflow'; +import type { IDataObject, IHookFunctions } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function convertKitApiRequest( this: IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions | IHookFunctions, diff --git a/packages/nodes-base/nodes/ConvertKit/SequenceDescription.ts b/packages/nodes-base/nodes/ConvertKit/SequenceDescription.ts index f328a3a493..501a4ee05e 100644 --- a/packages/nodes-base/nodes/ConvertKit/SequenceDescription.ts +++ b/packages/nodes-base/nodes/ConvertKit/SequenceDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const sequenceOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/ConvertKit/TagDescription.ts b/packages/nodes-base/nodes/ConvertKit/TagDescription.ts index 299bfda8af..4fe2f91f1f 100644 --- a/packages/nodes-base/nodes/ConvertKit/TagDescription.ts +++ b/packages/nodes-base/nodes/ConvertKit/TagDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const tagOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/ConvertKit/TagSubscriberDescription.ts b/packages/nodes-base/nodes/ConvertKit/TagSubscriberDescription.ts index 384a1cfc03..5780921c6a 100644 --- a/packages/nodes-base/nodes/ConvertKit/TagSubscriberDescription.ts +++ b/packages/nodes-base/nodes/ConvertKit/TagSubscriberDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const tagSubscriberOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Copper/Copper.node.ts b/packages/nodes-base/nodes/Copper/Copper.node.ts index 940d74698f..ef539b1b86 100644 --- a/packages/nodes-base/nodes/Copper/Copper.node.ts +++ b/packages/nodes-base/nodes/Copper/Copper.node.ts @@ -1,6 +1,11 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { + IDataObject, + INodeExecutionData, + INodeType, + INodeTypeDescription, +} from 'n8n-workflow'; import { adjustCompanyFields, diff --git a/packages/nodes-base/nodes/Copper/CopperTrigger.node.ts b/packages/nodes-base/nodes/Copper/CopperTrigger.node.ts index 779c1465f9..8a924cc12d 100644 --- a/packages/nodes-base/nodes/Copper/CopperTrigger.node.ts +++ b/packages/nodes-base/nodes/Copper/CopperTrigger.node.ts @@ -1,6 +1,11 @@ -import { IHookFunctions, IWebhookFunctions } from 'n8n-core'; +import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; -import { IDataObject, INodeType, INodeTypeDescription, IWebhookResponseData } from 'n8n-workflow'; +import type { + IDataObject, + INodeType, + INodeTypeDescription, + IWebhookResponseData, +} from 'n8n-workflow'; import { copperApiRequest, getAutomaticSecret } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Copper/GenericFunctions.ts b/packages/nodes-base/nodes/Copper/GenericFunctions.ts index 9546099b22..b2518b7c8a 100644 --- a/packages/nodes-base/nodes/Copper/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Copper/GenericFunctions.ts @@ -1,8 +1,8 @@ import { createHash } from 'crypto'; -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { +import type { IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, @@ -10,11 +10,12 @@ import { IWebhookFunctions, } from 'n8n-core'; -import { ICredentialDataDecryptedObject, IDataObject, NodeApiError } from 'n8n-workflow'; +import type { ICredentialDataDecryptedObject, IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; import { flow, omit } from 'lodash'; -import { +import type { AddressFixedCollection, EmailFixedCollection, EmailsFixedCollection, diff --git a/packages/nodes-base/nodes/Copper/descriptions/CompanyDescription.ts b/packages/nodes-base/nodes/Copper/descriptions/CompanyDescription.ts index de29bc1f66..82bc436121 100644 --- a/packages/nodes-base/nodes/Copper/descriptions/CompanyDescription.ts +++ b/packages/nodes-base/nodes/Copper/descriptions/CompanyDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { isoCountryCodes } from '../utils/isoCountryCodes'; diff --git a/packages/nodes-base/nodes/Copper/descriptions/CustomerSourceDescription.ts b/packages/nodes-base/nodes/Copper/descriptions/CustomerSourceDescription.ts index 8e8328cb08..637e8f76a8 100644 --- a/packages/nodes-base/nodes/Copper/descriptions/CustomerSourceDescription.ts +++ b/packages/nodes-base/nodes/Copper/descriptions/CustomerSourceDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const customerSourceOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Copper/descriptions/LeadDescription.ts b/packages/nodes-base/nodes/Copper/descriptions/LeadDescription.ts index 33c262df9c..60c7a7c066 100644 --- a/packages/nodes-base/nodes/Copper/descriptions/LeadDescription.ts +++ b/packages/nodes-base/nodes/Copper/descriptions/LeadDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { addressFixedCollection, diff --git a/packages/nodes-base/nodes/Copper/descriptions/OpportunityDescription.ts b/packages/nodes-base/nodes/Copper/descriptions/OpportunityDescription.ts index cc508c68b7..f304947c30 100644 --- a/packages/nodes-base/nodes/Copper/descriptions/OpportunityDescription.ts +++ b/packages/nodes-base/nodes/Copper/descriptions/OpportunityDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const opportunityOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Copper/descriptions/PersonDescription.ts b/packages/nodes-base/nodes/Copper/descriptions/PersonDescription.ts index 428203bd3e..0206666f8d 100644 --- a/packages/nodes-base/nodes/Copper/descriptions/PersonDescription.ts +++ b/packages/nodes-base/nodes/Copper/descriptions/PersonDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { addressFixedCollection, diff --git a/packages/nodes-base/nodes/Copper/descriptions/ProjectDescription.ts b/packages/nodes-base/nodes/Copper/descriptions/ProjectDescription.ts index 061134bbb4..3565cb1039 100644 --- a/packages/nodes-base/nodes/Copper/descriptions/ProjectDescription.ts +++ b/packages/nodes-base/nodes/Copper/descriptions/ProjectDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const projectOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Copper/descriptions/TaskDescription.ts b/packages/nodes-base/nodes/Copper/descriptions/TaskDescription.ts index 4aaf780c68..5f72cf2e83 100644 --- a/packages/nodes-base/nodes/Copper/descriptions/TaskDescription.ts +++ b/packages/nodes-base/nodes/Copper/descriptions/TaskDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const taskOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Copper/descriptions/UserDescription.ts b/packages/nodes-base/nodes/Copper/descriptions/UserDescription.ts index 35818a8f70..b700308d25 100644 --- a/packages/nodes-base/nodes/Copper/descriptions/UserDescription.ts +++ b/packages/nodes-base/nodes/Copper/descriptions/UserDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const userOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Copper/utils/sharedFields.ts b/packages/nodes-base/nodes/Copper/utils/sharedFields.ts index 43e8570125..ba54775f6d 100644 --- a/packages/nodes-base/nodes/Copper/utils/sharedFields.ts +++ b/packages/nodes-base/nodes/Copper/utils/sharedFields.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; // for companies, leads, persons export const addressFixedCollection: INodeProperties = { diff --git a/packages/nodes-base/nodes/Cortex/AnalyzerDescriptions.ts b/packages/nodes-base/nodes/Cortex/AnalyzerDescriptions.ts index b2f78771ef..f5c78b1579 100644 --- a/packages/nodes-base/nodes/Cortex/AnalyzerDescriptions.ts +++ b/packages/nodes-base/nodes/Cortex/AnalyzerDescriptions.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { TLP } from './AnalyzerInterface'; diff --git a/packages/nodes-base/nodes/Cortex/AnalyzerInterface.ts b/packages/nodes-base/nodes/Cortex/AnalyzerInterface.ts index da523b4b15..09e3a6ff57 100644 --- a/packages/nodes-base/nodes/Cortex/AnalyzerInterface.ts +++ b/packages/nodes-base/nodes/Cortex/AnalyzerInterface.ts @@ -1,4 +1,4 @@ -import { IDataObject } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; export enum JobStatus { WAITING = 'Waiting', diff --git a/packages/nodes-base/nodes/Cortex/Cortex.node.ts b/packages/nodes-base/nodes/Cortex/Cortex.node.ts index 6ba7674a8f..60109476e2 100644 --- a/packages/nodes-base/nodes/Cortex/Cortex.node.ts +++ b/packages/nodes-base/nodes/Cortex/Cortex.node.ts @@ -1,18 +1,18 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; import { cortexApiRequest, getEntityLabel, prepareParameters, splitTags } from './GenericFunctions'; import { analyzerFields, analyzersOperations } from './AnalyzerDescriptions'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, INodePropertyOptions, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { responderFields, respondersOperations } from './ResponderDescription'; @@ -20,7 +20,7 @@ import { jobFields, jobOperations } from './JobDescription'; import { upperFirst } from 'lodash'; -import { IJob } from './AnalyzerInterface'; +import type { IJob } from './AnalyzerInterface'; import { createHash } from 'crypto'; diff --git a/packages/nodes-base/nodes/Cortex/GenericFunctions.ts b/packages/nodes-base/nodes/Cortex/GenericFunctions.ts index 68829e8bd6..f74730c1df 100644 --- a/packages/nodes-base/nodes/Cortex/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Cortex/GenericFunctions.ts @@ -1,13 +1,13 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { +import type { IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, } from 'n8n-core'; -import { IDataObject } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; import moment from 'moment'; diff --git a/packages/nodes-base/nodes/Cortex/JobDescription.ts b/packages/nodes-base/nodes/Cortex/JobDescription.ts index 1505e0632b..0bf57a6e35 100644 --- a/packages/nodes-base/nodes/Cortex/JobDescription.ts +++ b/packages/nodes-base/nodes/Cortex/JobDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const jobOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Cortex/ResponderDescription.ts b/packages/nodes-base/nodes/Cortex/ResponderDescription.ts index ada96a04f8..31fb47e356 100644 --- a/packages/nodes-base/nodes/Cortex/ResponderDescription.ts +++ b/packages/nodes-base/nodes/Cortex/ResponderDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { TLP } from './AnalyzerInterface'; diff --git a/packages/nodes-base/nodes/CrateDb/CrateDb.node.ts b/packages/nodes-base/nodes/CrateDb/CrateDb.node.ts index efe92bc258..35047dbeba 100644 --- a/packages/nodes-base/nodes/CrateDb/CrateDb.node.ts +++ b/packages/nodes-base/nodes/CrateDb/CrateDb.node.ts @@ -1,10 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; -import { - INodeExecutionData, - INodeType, - INodeTypeDescription, - NodeOperationError, -} from 'n8n-workflow'; +import type { IExecuteFunctions } from 'n8n-core'; +import type { INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { generateReturning, diff --git a/packages/nodes-base/nodes/Cron/Cron.node.ts b/packages/nodes-base/nodes/Cron/Cron.node.ts index 8c10ebedfe..a83e3509f6 100644 --- a/packages/nodes-base/nodes/Cron/Cron.node.ts +++ b/packages/nodes-base/nodes/Cron/Cron.node.ts @@ -1,12 +1,6 @@ -import { ITriggerFunctions } from 'n8n-core'; -import { - INodeType, - INodeTypeDescription, - ITriggerResponse, - NodeHelpers, - toCronExpression, - TriggerTime, -} from 'n8n-workflow'; +import type { ITriggerFunctions } from 'n8n-core'; +import type { 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 3d4a25cb89..646896d99b 100644 --- a/packages/nodes-base/nodes/Crypto/Crypto.node.ts +++ b/packages/nodes-base/nodes/Crypto/Crypto.node.ts @@ -1,9 +1,8 @@ import { set } from 'lodash'; -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { - deepCopy, +import type { ILoadOptionsFunctions, INodeExecutionData, INodePropertyOptions, @@ -11,15 +10,10 @@ import { INodeTypeDescription, JsonObject, } from 'n8n-workflow'; +import { deepCopy } from 'n8n-workflow'; -import { - BinaryToTextEncoding, - createHash, - createHmac, - createSign, - getHashes, - randomBytes, -} from 'crypto'; +import type { BinaryToTextEncoding } from 'crypto'; +import { createHash, createHmac, createSign, getHashes, randomBytes } from 'crypto'; import { v4 as uuid } from 'uuid'; diff --git a/packages/nodes-base/nodes/CustomerIo/CampaignDescription.ts b/packages/nodes-base/nodes/CustomerIo/CampaignDescription.ts index 8f74d9e2af..8ce6cf4040 100644 --- a/packages/nodes-base/nodes/CustomerIo/CampaignDescription.ts +++ b/packages/nodes-base/nodes/CustomerIo/CampaignDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const campaignOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/CustomerIo/CustomerDescription.ts b/packages/nodes-base/nodes/CustomerIo/CustomerDescription.ts index 80d66465b3..efb55e2512 100644 --- a/packages/nodes-base/nodes/CustomerIo/CustomerDescription.ts +++ b/packages/nodes-base/nodes/CustomerIo/CustomerDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const customerOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/CustomerIo/CustomerIo.node.ts b/packages/nodes-base/nodes/CustomerIo/CustomerIo.node.ts index 195e5e2cd7..40952a6bbf 100644 --- a/packages/nodes-base/nodes/CustomerIo/CustomerIo.node.ts +++ b/packages/nodes-base/nodes/CustomerIo/CustomerIo.node.ts @@ -1,11 +1,11 @@ -import { IExecuteFunctions } from 'n8n-core'; -import { +import type { IExecuteFunctions } from 'n8n-core'; +import type { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { customerIoApiRequest, validateJSON } from './GenericFunctions'; import { campaignFields, campaignOperations } from './CampaignDescription'; import { customerFields, customerOperations } from './CustomerDescription'; diff --git a/packages/nodes-base/nodes/CustomerIo/CustomerIoTrigger.node.ts b/packages/nodes-base/nodes/CustomerIo/CustomerIoTrigger.node.ts index 3ddac232f0..91ed6e791c 100644 --- a/packages/nodes-base/nodes/CustomerIo/CustomerIoTrigger.node.ts +++ b/packages/nodes-base/nodes/CustomerIo/CustomerIoTrigger.node.ts @@ -1,6 +1,11 @@ -import { IHookFunctions, IWebhookFunctions } from 'n8n-core'; +import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; -import { IDataObject, INodeType, INodeTypeDescription, IWebhookResponseData } from 'n8n-workflow'; +import type { + IDataObject, + INodeType, + INodeTypeDescription, + IWebhookResponseData, +} from 'n8n-workflow'; import { customerIoApiRequest, eventExists } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/CustomerIo/EventDescription.ts b/packages/nodes-base/nodes/CustomerIo/EventDescription.ts index a3268fc3e3..b895fa86cf 100644 --- a/packages/nodes-base/nodes/CustomerIo/EventDescription.ts +++ b/packages/nodes-base/nodes/CustomerIo/EventDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const eventOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/CustomerIo/GenericFunctions.ts b/packages/nodes-base/nodes/CustomerIo/GenericFunctions.ts index b950baf67e..176026bee1 100644 --- a/packages/nodes-base/nodes/CustomerIo/GenericFunctions.ts +++ b/packages/nodes-base/nodes/CustomerIo/GenericFunctions.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject, IHttpRequestMethods, IHttpRequestOptions } from 'n8n-workflow'; +import type { IDataObject, IHttpRequestMethods, IHttpRequestOptions } from 'n8n-workflow'; import { get } from 'lodash'; diff --git a/packages/nodes-base/nodes/CustomerIo/SegmentDescription.ts b/packages/nodes-base/nodes/CustomerIo/SegmentDescription.ts index cb224b94e7..9c9a7f949c 100644 --- a/packages/nodes-base/nodes/CustomerIo/SegmentDescription.ts +++ b/packages/nodes-base/nodes/CustomerIo/SegmentDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const segmentOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/DateTime/DateTime.node.ts b/packages/nodes-base/nodes/DateTime/DateTime.node.ts index 6e8fc1b8bd..38701532e1 100644 --- a/packages/nodes-base/nodes/DateTime/DateTime.node.ts +++ b/packages/nodes-base/nodes/DateTime/DateTime.node.ts @@ -1,14 +1,13 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { - deepCopy, +import type { ILoadOptionsFunctions, INodeExecutionData, INodePropertyOptions, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { deepCopy, NodeOperationError } from 'n8n-workflow'; import { set } from 'lodash'; diff --git a/packages/nodes-base/nodes/DeepL/DeepL.node.ts b/packages/nodes-base/nodes/DeepL/DeepL.node.ts index f7c6eaf099..d13aeb4922 100644 --- a/packages/nodes-base/nodes/DeepL/DeepL.node.ts +++ b/packages/nodes-base/nodes/DeepL/DeepL.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/DeepL/GenericFunctions.ts b/packages/nodes-base/nodes/DeepL/GenericFunctions.ts index 87cc1642ca..275d4df8e8 100644 --- a/packages/nodes-base/nodes/DeepL/GenericFunctions.ts +++ b/packages/nodes-base/nodes/DeepL/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject, JsonObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject, JsonObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function deepLApiRequest( this: IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/DeepL/TextDescription.ts b/packages/nodes-base/nodes/DeepL/TextDescription.ts index 9b8a81c6bb..d5ded349e0 100644 --- a/packages/nodes-base/nodes/DeepL/TextDescription.ts +++ b/packages/nodes-base/nodes/DeepL/TextDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const textOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Demio/Demio.node.ts b/packages/nodes-base/nodes/Demio/Demio.node.ts index d17b91b93c..4529dc3995 100644 --- a/packages/nodes-base/nodes/Demio/Demio.node.ts +++ b/packages/nodes-base/nodes/Demio/Demio.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Demio/EventDescription.ts b/packages/nodes-base/nodes/Demio/EventDescription.ts index 63dfa182d7..130ae8768a 100644 --- a/packages/nodes-base/nodes/Demio/EventDescription.ts +++ b/packages/nodes-base/nodes/Demio/EventDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const eventOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Demio/GenericFunctions.ts b/packages/nodes-base/nodes/Demio/GenericFunctions.ts index b4227f8dab..06a66078f0 100644 --- a/packages/nodes-base/nodes/Demio/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Demio/GenericFunctions.ts @@ -1,13 +1,14 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { +import type { IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function demioApiRequest( this: IHookFunctions | IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Demio/ReportDescription.ts b/packages/nodes-base/nodes/Demio/ReportDescription.ts index a0739e08fb..20c40afdd0 100644 --- a/packages/nodes-base/nodes/Demio/ReportDescription.ts +++ b/packages/nodes-base/nodes/Demio/ReportDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const reportOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Dhl/Dhl.node.ts b/packages/nodes-base/nodes/Dhl/Dhl.node.ts index 4bfc0bfe3a..dbb311dd43 100644 --- a/packages/nodes-base/nodes/Dhl/Dhl.node.ts +++ b/packages/nodes-base/nodes/Dhl/Dhl.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { ICredentialDataDecryptedObject, ICredentialsDecrypted, ICredentialTestFunctions, diff --git a/packages/nodes-base/nodes/Dhl/GenericFunctions.ts b/packages/nodes-base/nodes/Dhl/GenericFunctions.ts index c76e268d28..74cb6ab373 100644 --- a/packages/nodes-base/nodes/Dhl/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Dhl/GenericFunctions.ts @@ -1,18 +1,18 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { +import type { IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, } from 'n8n-core'; -import { +import type { ICredentialDataDecryptedObject, ICredentialTestFunctions, IDataObject, - NodeApiError, } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function dhlApiRequest( this: IHookFunctions | IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Discord/Discord.node.ts b/packages/nodes-base/nodes/Discord/Discord.node.ts index 03bdfee039..e656db9d87 100644 --- a/packages/nodes-base/nodes/Discord/Discord.node.ts +++ b/packages/nodes-base/nodes/Discord/Discord.node.ts @@ -1,15 +1,8 @@ -import { IExecuteFunctions } from 'n8n-core'; -import { - INodeExecutionData, - INodeType, - INodeTypeDescription, - jsonParse, - NodeApiError, - NodeOperationError, - sleep, -} from 'n8n-workflow'; +import type { IExecuteFunctions } from 'n8n-core'; +import type { INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import { jsonParse, NodeApiError, NodeOperationError, sleep } from 'n8n-workflow'; -import { DiscordAttachment, DiscordWebhook } from './Interfaces'; +import type { DiscordAttachment, DiscordWebhook } from './Interfaces'; export class Discord implements INodeType { description: INodeTypeDescription = { displayName: 'Discord', diff --git a/packages/nodes-base/nodes/Discourse/CategoryDescription.ts b/packages/nodes-base/nodes/Discourse/CategoryDescription.ts index 26c239435c..2cbefeb03a 100644 --- a/packages/nodes-base/nodes/Discourse/CategoryDescription.ts +++ b/packages/nodes-base/nodes/Discourse/CategoryDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const categoryOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Discourse/Discourse.node.ts b/packages/nodes-base/nodes/Discourse/Discourse.node.ts index 5ee478e5e2..51745c4970 100644 --- a/packages/nodes-base/nodes/Discourse/Discourse.node.ts +++ b/packages/nodes-base/nodes/Discourse/Discourse.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Discourse/GenericFunctions.ts b/packages/nodes-base/nodes/Discourse/GenericFunctions.ts index 7518595af7..d3ec81962d 100644 --- a/packages/nodes-base/nodes/Discourse/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Discourse/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject, JsonObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject, JsonObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function discourseApiRequest( this: IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Discourse/GroupDescription.ts b/packages/nodes-base/nodes/Discourse/GroupDescription.ts index af002354bc..a17c75ce5c 100644 --- a/packages/nodes-base/nodes/Discourse/GroupDescription.ts +++ b/packages/nodes-base/nodes/Discourse/GroupDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const groupOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Discourse/PostDescription.ts b/packages/nodes-base/nodes/Discourse/PostDescription.ts index 876d8cfbe1..eaf213a61b 100644 --- a/packages/nodes-base/nodes/Discourse/PostDescription.ts +++ b/packages/nodes-base/nodes/Discourse/PostDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const postOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Discourse/SearchDescription.ts b/packages/nodes-base/nodes/Discourse/SearchDescription.ts index 2149e1579a..8ac30d6eb8 100644 --- a/packages/nodes-base/nodes/Discourse/SearchDescription.ts +++ b/packages/nodes-base/nodes/Discourse/SearchDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const searchOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Discourse/UserDescription.ts b/packages/nodes-base/nodes/Discourse/UserDescription.ts index cb7cd669f8..cf921a3a1d 100644 --- a/packages/nodes-base/nodes/Discourse/UserDescription.ts +++ b/packages/nodes-base/nodes/Discourse/UserDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const userOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Discourse/UserGroupDescription.ts b/packages/nodes-base/nodes/Discourse/UserGroupDescription.ts index 5a3eefe0bf..abf5832dde 100644 --- a/packages/nodes-base/nodes/Discourse/UserGroupDescription.ts +++ b/packages/nodes-base/nodes/Discourse/UserGroupDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const userGroupOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Disqus/Disqus.node.ts b/packages/nodes-base/nodes/Disqus/Disqus.node.ts index 2ff2b65e44..c3db8f7741 100644 --- a/packages/nodes-base/nodes/Disqus/Disqus.node.ts +++ b/packages/nodes-base/nodes/Disqus/Disqus.node.ts @@ -1,11 +1,11 @@ -import { IExecuteFunctions } from 'n8n-core'; -import { +import type { IExecuteFunctions } from 'n8n-core'; +import type { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { disqusApiRequest, disqusApiRequestAllItems } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Disqus/GenericFunctions.ts b/packages/nodes-base/nodes/Disqus/GenericFunctions.ts index 7a18aac2a8..d72793cf86 100644 --- a/packages/nodes-base/nodes/Disqus/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Disqus/GenericFunctions.ts @@ -1,11 +1,12 @@ -import { OptionsWithUri } from 'request'; -import { +import type { OptionsWithUri } from 'request'; +import type { IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function disqusApiRequest( this: IHookFunctions | IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Drift/ContactDescription.ts b/packages/nodes-base/nodes/Drift/ContactDescription.ts index 1b0f9e97a2..f8d28c0394 100644 --- a/packages/nodes-base/nodes/Drift/ContactDescription.ts +++ b/packages/nodes-base/nodes/Drift/ContactDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const contactOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Drift/Drift.node.ts b/packages/nodes-base/nodes/Drift/Drift.node.ts index ce39a7359f..13e58c917e 100644 --- a/packages/nodes-base/nodes/Drift/Drift.node.ts +++ b/packages/nodes-base/nodes/Drift/Drift.node.ts @@ -1,8 +1,13 @@ -import { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { IExecuteFunctions } from 'n8n-core'; +import type { + IDataObject, + INodeExecutionData, + INodeType, + INodeTypeDescription, +} from 'n8n-workflow'; import { driftApiRequest } from './GenericFunctions'; import { contactFields, contactOperations } from './ContactDescription'; -import { IContact } from './ContactInterface'; +import type { IContact } from './ContactInterface'; export class Drift implements INodeType { description: INodeTypeDescription = { diff --git a/packages/nodes-base/nodes/Drift/GenericFunctions.ts b/packages/nodes-base/nodes/Drift/GenericFunctions.ts index 30e9ea8d84..6fef0d3a2f 100644 --- a/packages/nodes-base/nodes/Drift/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Drift/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject, IHookFunctions, IWebhookFunctions, NodeApiError } from 'n8n-workflow'; +import type { IDataObject, IHookFunctions, IWebhookFunctions } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function driftApiRequest( this: IExecuteFunctions | IWebhookFunctions | IHookFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Dropbox/Dropbox.node.ts b/packages/nodes-base/nodes/Dropbox/Dropbox.node.ts index e414d99c11..642a1f500f 100644 --- a/packages/nodes-base/nodes/Dropbox/Dropbox.node.ts +++ b/packages/nodes-base/nodes/Dropbox/Dropbox.node.ts @@ -1,12 +1,12 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { dropboxApiRequest, diff --git a/packages/nodes-base/nodes/Dropbox/GenericFunctions.ts b/packages/nodes-base/nodes/Dropbox/GenericFunctions.ts index 1385cb9aeb..3943862e14 100644 --- a/packages/nodes-base/nodes/Dropbox/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Dropbox/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { IExecuteFunctions, IHookFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IHookFunctions } from 'n8n-core'; -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; /** * Make an API request to Dropbox diff --git a/packages/nodes-base/nodes/Dropcontact/Dropcontact.node.ts b/packages/nodes-base/nodes/Dropcontact/Dropcontact.node.ts index 2b112ed988..a53356b932 100644 --- a/packages/nodes-base/nodes/Dropcontact/Dropcontact.node.ts +++ b/packages/nodes-base/nodes/Dropcontact/Dropcontact.node.ts @@ -1,12 +1,12 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription, - NodeApiError, } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; import { dropcontactApiRequest } from './GenericFunction'; diff --git a/packages/nodes-base/nodes/Dropcontact/GenericFunction.ts b/packages/nodes-base/nodes/Dropcontact/GenericFunction.ts index 68d0ff544f..bd140a958f 100644 --- a/packages/nodes-base/nodes/Dropcontact/GenericFunction.ts +++ b/packages/nodes-base/nodes/Dropcontact/GenericFunction.ts @@ -1,8 +1,8 @@ -import { IExecuteFunctions, IHookFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IHookFunctions } from 'n8n-core'; -import { IDataObject, ILoadOptionsFunctions } from 'n8n-workflow'; +import type { IDataObject, ILoadOptionsFunctions } from 'n8n-workflow'; -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; /** * Make an authenticated API request to Bubble. diff --git a/packages/nodes-base/nodes/ERPNext/DocumentDescription.ts b/packages/nodes-base/nodes/ERPNext/DocumentDescription.ts index fa799c9d2c..aaa7da6920 100644 --- a/packages/nodes-base/nodes/ERPNext/DocumentDescription.ts +++ b/packages/nodes-base/nodes/ERPNext/DocumentDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const documentOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/ERPNext/ERPNext.node.ts b/packages/nodes-base/nodes/ERPNext/ERPNext.node.ts index 58ba2ae9e2..716955c490 100644 --- a/packages/nodes-base/nodes/ERPNext/ERPNext.node.ts +++ b/packages/nodes-base/nodes/ERPNext/ERPNext.node.ts @@ -1,21 +1,22 @@ /* eslint-disable n8n-nodes-base/node-filename-against-convention */ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, INodePropertyOptions, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { documentFields, documentOperations } from './DocumentDescription'; import { erpNextApiRequest, erpNextApiRequestAllItems } from './GenericFunctions'; -import { DocumentProperties, processNames, toSQL } from './utils'; +import type { DocumentProperties } from './utils'; +import { processNames, toSQL } from './utils'; export class ERPNext implements INodeType { description: INodeTypeDescription = { diff --git a/packages/nodes-base/nodes/ERPNext/GenericFunctions.ts b/packages/nodes-base/nodes/ERPNext/GenericFunctions.ts index 83d9c53f3d..fb4492a8e1 100644 --- a/packages/nodes-base/nodes/ERPNext/GenericFunctions.ts +++ b/packages/nodes-base/nodes/ERPNext/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject, IHookFunctions, IWebhookFunctions, NodeApiError } from 'n8n-workflow'; +import type { IDataObject, IHookFunctions, IWebhookFunctions } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; /** * Return the base API URL based on the user's environment. diff --git a/packages/nodes-base/nodes/EditImage/EditImage.node.ts b/packages/nodes-base/nodes/EditImage/EditImage.node.ts index 01cc6d96b0..f5e45a3832 100644 --- a/packages/nodes-base/nodes/EditImage/EditImage.node.ts +++ b/packages/nodes-base/nodes/EditImage/EditImage.node.ts @@ -1,6 +1,5 @@ -import { IExecuteFunctions } from 'n8n-core'; -import { - deepCopy, +import type { IExecuteFunctions } from 'n8n-core'; +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, @@ -8,8 +7,8 @@ import { INodePropertyOptions, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { deepCopy, NodeOperationError } from 'n8n-workflow'; import gm from 'gm'; import { file } from 'tmp-promise'; import { parse as pathParse } from 'path'; diff --git a/packages/nodes-base/nodes/Egoi/Egoi.node.ts b/packages/nodes-base/nodes/Egoi/Egoi.node.ts index c4e3214817..4d7ad4ff27 100644 --- a/packages/nodes-base/nodes/Egoi/Egoi.node.ts +++ b/packages/nodes-base/nodes/Egoi/Egoi.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, @@ -11,7 +11,7 @@ import { import { egoiApiRequest, egoiApiRequestAllItems, simplify } from './GenericFunctions'; -import { ICreateMemberBody } from './Interfaces'; +import type { ICreateMemberBody } from './Interfaces'; import moment from 'moment-timezone'; diff --git a/packages/nodes-base/nodes/Egoi/GenericFunctions.ts b/packages/nodes-base/nodes/Egoi/GenericFunctions.ts index 7c5f5079a9..0671c10ca2 100644 --- a/packages/nodes-base/nodes/Egoi/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Egoi/GenericFunctions.ts @@ -1,13 +1,14 @@ -import { OptionsWithUrl } from 'request'; +import type { OptionsWithUrl } from 'request'; -import { +import type { IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; interface IContact { tags: []; diff --git a/packages/nodes-base/nodes/Elastic/ElasticSecurity/ElasticSecurity.node.ts b/packages/nodes-base/nodes/Elastic/ElasticSecurity/ElasticSecurity.node.ts index d78c9e2fb0..e02571cb58 100644 --- a/packages/nodes-base/nodes/Elastic/ElasticSecurity/ElasticSecurity.node.ts +++ b/packages/nodes-base/nodes/Elastic/ElasticSecurity/ElasticSecurity.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { ICredentialsDecrypted, ICredentialTestFunctions, IDataObject, @@ -10,8 +10,8 @@ import { INodePropertyOptions, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { elasticSecurityApiRequest, @@ -33,14 +33,14 @@ import { connectorOperations, } from './descriptions'; -import { +import type { Connector, ConnectorCreatePayload, ConnectorType, ElasticSecurityApiCredentials, } from './types'; -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; export class ElasticSecurity implements INodeType { description: INodeTypeDescription = { diff --git a/packages/nodes-base/nodes/Elastic/ElasticSecurity/GenericFunctions.ts b/packages/nodes-base/nodes/Elastic/ElasticSecurity/GenericFunctions.ts index 9e48d730cc..38b728ba23 100644 --- a/packages/nodes-base/nodes/Elastic/ElasticSecurity/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Elastic/ElasticSecurity/GenericFunctions.ts @@ -1,10 +1,11 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, ILoadOptionsFunctions, NodeApiError, NodeOperationError } from 'n8n-workflow'; +import type { IDataObject, ILoadOptionsFunctions } from 'n8n-workflow'; +import { NodeApiError, NodeOperationError } from 'n8n-workflow'; -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { Connector, ElasticSecurityApiCredentials } from './types'; +import type { Connector, ElasticSecurityApiCredentials } from './types'; export function tolerateTrailingSlash(baseUrl: string) { return baseUrl.endsWith('/') ? baseUrl.substr(0, baseUrl.length - 1) : baseUrl; diff --git a/packages/nodes-base/nodes/Elastic/ElasticSecurity/descriptions/CaseCommentDescription.ts b/packages/nodes-base/nodes/Elastic/ElasticSecurity/descriptions/CaseCommentDescription.ts index 9ab37036ae..7ac6750bdf 100644 --- a/packages/nodes-base/nodes/Elastic/ElasticSecurity/descriptions/CaseCommentDescription.ts +++ b/packages/nodes-base/nodes/Elastic/ElasticSecurity/descriptions/CaseCommentDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const caseCommentOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Elastic/ElasticSecurity/descriptions/CaseDescription.ts b/packages/nodes-base/nodes/Elastic/ElasticSecurity/descriptions/CaseDescription.ts index 2d7246af9b..be4e0af5f2 100644 --- a/packages/nodes-base/nodes/Elastic/ElasticSecurity/descriptions/CaseDescription.ts +++ b/packages/nodes-base/nodes/Elastic/ElasticSecurity/descriptions/CaseDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const caseOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Elastic/ElasticSecurity/descriptions/CaseTagDescription.ts b/packages/nodes-base/nodes/Elastic/ElasticSecurity/descriptions/CaseTagDescription.ts index 73fe8e2331..7b142e4d8a 100644 --- a/packages/nodes-base/nodes/Elastic/ElasticSecurity/descriptions/CaseTagDescription.ts +++ b/packages/nodes-base/nodes/Elastic/ElasticSecurity/descriptions/CaseTagDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const caseTagOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Elastic/ElasticSecurity/descriptions/ConnectorDescription.ts b/packages/nodes-base/nodes/Elastic/ElasticSecurity/descriptions/ConnectorDescription.ts index d18913b697..5239af2472 100644 --- a/packages/nodes-base/nodes/Elastic/ElasticSecurity/descriptions/ConnectorDescription.ts +++ b/packages/nodes-base/nodes/Elastic/ElasticSecurity/descriptions/ConnectorDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const connectorOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Elastic/Elasticsearch/Elasticsearch.node.ts b/packages/nodes-base/nodes/Elastic/Elasticsearch/Elasticsearch.node.ts index 6e5ea92f0b..6b5d44c10e 100644 --- a/packages/nodes-base/nodes/Elastic/Elasticsearch/Elasticsearch.node.ts +++ b/packages/nodes-base/nodes/Elastic/Elasticsearch/Elasticsearch.node.ts @@ -1,18 +1,18 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription, - jsonParse, } from 'n8n-workflow'; +import { jsonParse } from 'n8n-workflow'; import { elasticsearchApiRequest, elasticsearchApiRequestAllItems } from './GenericFunctions'; import { documentFields, documentOperations, indexFields, indexOperations } from './descriptions'; -import { DocumentGetAllOptions, FieldsUiValues } from './types'; +import type { DocumentGetAllOptions, FieldsUiValues } from './types'; import { omit } from 'lodash'; diff --git a/packages/nodes-base/nodes/Elastic/Elasticsearch/GenericFunctions.ts b/packages/nodes-base/nodes/Elastic/Elasticsearch/GenericFunctions.ts index eb3baa77cf..09f3cbc885 100644 --- a/packages/nodes-base/nodes/Elastic/Elasticsearch/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Elastic/Elasticsearch/GenericFunctions.ts @@ -1,10 +1,11 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, JsonObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject, JsonObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; -import { ElasticsearchApiCredentials } from './types'; +import type { ElasticsearchApiCredentials } from './types'; export async function elasticsearchApiRequest( this: IExecuteFunctions, diff --git a/packages/nodes-base/nodes/Elastic/Elasticsearch/descriptions/DocumentDescription.ts b/packages/nodes-base/nodes/Elastic/Elasticsearch/descriptions/DocumentDescription.ts index ed7c74bb0d..0e07cecd4e 100644 --- a/packages/nodes-base/nodes/Elastic/Elasticsearch/descriptions/DocumentDescription.ts +++ b/packages/nodes-base/nodes/Elastic/Elasticsearch/descriptions/DocumentDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import * as placeholders from './placeholders'; diff --git a/packages/nodes-base/nodes/Elastic/Elasticsearch/descriptions/IndexDescription.ts b/packages/nodes-base/nodes/Elastic/Elasticsearch/descriptions/IndexDescription.ts index fe8b61f323..3250ca7d50 100644 --- a/packages/nodes-base/nodes/Elastic/Elasticsearch/descriptions/IndexDescription.ts +++ b/packages/nodes-base/nodes/Elastic/Elasticsearch/descriptions/IndexDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import * as placeholders from './placeholders'; diff --git a/packages/nodes-base/nodes/EmailReadImap/EmailReadImap.node.ts b/packages/nodes-base/nodes/EmailReadImap/EmailReadImap.node.ts index f8998a1b71..e8eabf9282 100644 --- a/packages/nodes-base/nodes/EmailReadImap/EmailReadImap.node.ts +++ b/packages/nodes-base/nodes/EmailReadImap/EmailReadImap.node.ts @@ -1,4 +1,5 @@ -import { INodeTypeBaseDescription, IVersionedNodeType, VersionedNodeType } from 'n8n-workflow'; +import type { INodeTypeBaseDescription, IVersionedNodeType } from 'n8n-workflow'; +import { VersionedNodeType } from 'n8n-workflow'; import { EmailReadImapV1 } from './v1/EmailReadImapV1.node'; import { EmailReadImapV2 } from './v2/EmailReadImapV2.node'; diff --git a/packages/nodes-base/nodes/EmailReadImap/v1/EmailReadImapV1.node.ts b/packages/nodes-base/nodes/EmailReadImap/v1/EmailReadImapV1.node.ts index 8fc8fe019a..748f4d7f50 100644 --- a/packages/nodes-base/nodes/EmailReadImap/v1/EmailReadImapV1.node.ts +++ b/packages/nodes-base/nodes/EmailReadImap/v1/EmailReadImapV1.node.ts @@ -1,7 +1,6 @@ /* eslint-disable n8n-nodes-base/node-filename-against-convention */ -import { ITriggerFunctions } from 'n8n-core'; -import { - createDeferredPromise, +import type { ITriggerFunctions } from 'n8n-core'; +import type { IBinaryData, IBinaryKeyData, ICredentialDataDecryptedObject, @@ -15,18 +14,13 @@ import { INodeTypeBaseDescription, INodeTypeDescription, ITriggerResponse, - LoggerProxy as Logger, - NodeOperationError, } from 'n8n-workflow'; +import { createDeferredPromise, LoggerProxy as Logger, NodeOperationError } from 'n8n-workflow'; -import { - connect as imapConnect, - getParts, - ImapSimple, - ImapSimpleOptions, - Message, -} from 'imap-simple'; -import { simpleParser, Source as ParserSource } from 'mailparser'; +import type { ImapSimple, ImapSimpleOptions, Message } from 'imap-simple'; +import { connect as imapConnect, getParts } from 'imap-simple'; +import type { Source as ParserSource } from 'mailparser'; +import { simpleParser } from 'mailparser'; import _ from 'lodash'; diff --git a/packages/nodes-base/nodes/EmailReadImap/v2/EmailReadImapV2.node.ts b/packages/nodes-base/nodes/EmailReadImap/v2/EmailReadImapV2.node.ts index 3fc7eafe12..3295aaa27a 100644 --- a/packages/nodes-base/nodes/EmailReadImap/v2/EmailReadImapV2.node.ts +++ b/packages/nodes-base/nodes/EmailReadImap/v2/EmailReadImapV2.node.ts @@ -1,7 +1,6 @@ /* eslint-disable n8n-nodes-base/node-filename-against-convention */ -import { ITriggerFunctions } from 'n8n-core'; -import { - createDeferredPromise, +import type { ITriggerFunctions } from 'n8n-core'; +import type { IBinaryData, IBinaryKeyData, ICredentialsDecrypted, @@ -14,21 +13,17 @@ import { INodeTypeBaseDescription, INodeTypeDescription, ITriggerResponse, - LoggerProxy as Logger, - NodeOperationError, } from 'n8n-workflow'; +import { createDeferredPromise, LoggerProxy as Logger, NodeOperationError } from 'n8n-workflow'; -import { - connect as imapConnect, - getParts, - ImapSimple, - ImapSimpleOptions, - Message, -} from 'imap-simple'; -import { simpleParser, Source as ParserSource } from 'mailparser'; +import type { ImapSimple, ImapSimpleOptions, Message } from 'imap-simple'; +import { connect as imapConnect, getParts } from 'imap-simple'; +import type { Source as ParserSource } from 'mailparser'; +import { simpleParser } from 'mailparser'; import _ from 'lodash'; -import { ICredentialsDataImap, isCredentialsDataImap } from '../../../credentials/Imap.credentials'; +import type { ICredentialsDataImap } from '../../../credentials/Imap.credentials'; +import { isCredentialsDataImap } from '../../../credentials/Imap.credentials'; export async function parseRawEmail( this: ITriggerFunctions, diff --git a/packages/nodes-base/nodes/EmailSend/EmailSend.node.ts b/packages/nodes-base/nodes/EmailSend/EmailSend.node.ts index 2c41a21bf1..e005818fca 100644 --- a/packages/nodes-base/nodes/EmailSend/EmailSend.node.ts +++ b/packages/nodes-base/nodes/EmailSend/EmailSend.node.ts @@ -1,4 +1,5 @@ -import { INodeTypeBaseDescription, IVersionedNodeType, VersionedNodeType } from 'n8n-workflow'; +import type { INodeTypeBaseDescription, IVersionedNodeType } from 'n8n-workflow'; +import { VersionedNodeType } from 'n8n-workflow'; import { EmailSendV1 } from './v1/EmailSendV1.node'; import { EmailSendV2 } from './v2/EmailSendV2.node'; diff --git a/packages/nodes-base/nodes/EmailSend/v1/EmailSendV1.node.ts b/packages/nodes-base/nodes/EmailSend/v1/EmailSendV1.node.ts index 9de9655f26..1b6ece9de1 100644 --- a/packages/nodes-base/nodes/EmailSend/v1/EmailSendV1.node.ts +++ b/packages/nodes-base/nodes/EmailSend/v1/EmailSendV1.node.ts @@ -1,7 +1,7 @@ /* eslint-disable n8n-nodes-base/node-filename-against-convention */ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, INodeExecutionData, INodeType, @@ -10,7 +10,7 @@ import { } from 'n8n-workflow'; import { createTransport } from 'nodemailer'; -import SMTPTransport from 'nodemailer/lib/smtp-transport'; +import type SMTPTransport from 'nodemailer/lib/smtp-transport'; const versionDescription: INodeTypeDescription = { displayName: 'Send Email', diff --git a/packages/nodes-base/nodes/EmailSend/v2/EmailSendV2.node.ts b/packages/nodes-base/nodes/EmailSend/v2/EmailSendV2.node.ts index 0a940e3963..f35ce59c2f 100644 --- a/packages/nodes-base/nodes/EmailSend/v2/EmailSendV2.node.ts +++ b/packages/nodes-base/nodes/EmailSend/v2/EmailSendV2.node.ts @@ -1,7 +1,7 @@ /* eslint-disable n8n-nodes-base/node-filename-against-convention */ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { INodeExecutionData, INodeType, INodeTypeBaseDescription, diff --git a/packages/nodes-base/nodes/EmailSend/v2/send.operation.ts b/packages/nodes-base/nodes/EmailSend/v2/send.operation.ts index eb3c499e73..7ef14a0bde 100644 --- a/packages/nodes-base/nodes/EmailSend/v2/send.operation.ts +++ b/packages/nodes-base/nodes/EmailSend/v2/send.operation.ts @@ -1,7 +1,12 @@ -import { IDataObject, IExecuteFunctions, INodeExecutionData, INodeProperties } from 'n8n-workflow'; +import type { + IDataObject, + IExecuteFunctions, + INodeExecutionData, + INodeProperties, +} from 'n8n-workflow'; import { createTransport } from 'nodemailer'; -import SMTPTransport from 'nodemailer/lib/smtp-transport'; +import type SMTPTransport from 'nodemailer/lib/smtp-transport'; import { updateDisplayOptions } from '../../../utils/utilities'; diff --git a/packages/nodes-base/nodes/Emelia/CampaignDescription.ts b/packages/nodes-base/nodes/Emelia/CampaignDescription.ts index 75318176f1..1b0c2af1d6 100644 --- a/packages/nodes-base/nodes/Emelia/CampaignDescription.ts +++ b/packages/nodes-base/nodes/Emelia/CampaignDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const campaignOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Emelia/ContactListDescription.ts b/packages/nodes-base/nodes/Emelia/ContactListDescription.ts index cc1d885fc5..03a0735244 100644 --- a/packages/nodes-base/nodes/Emelia/ContactListDescription.ts +++ b/packages/nodes-base/nodes/Emelia/ContactListDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const contactListOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Emelia/Emelia.node.ts b/packages/nodes-base/nodes/Emelia/Emelia.node.ts index b70ae88c9d..58d4d78ea9 100644 --- a/packages/nodes-base/nodes/Emelia/Emelia.node.ts +++ b/packages/nodes-base/nodes/Emelia/Emelia.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Emelia/EmeliaTrigger.node.ts b/packages/nodes-base/nodes/Emelia/EmeliaTrigger.node.ts index 9465dd3c1b..657294efc8 100644 --- a/packages/nodes-base/nodes/Emelia/EmeliaTrigger.node.ts +++ b/packages/nodes-base/nodes/Emelia/EmeliaTrigger.node.ts @@ -1,4 +1,4 @@ -import { +import type { IHookFunctions, ILoadOptionsFunctions, INodePropertyOptions, diff --git a/packages/nodes-base/nodes/Emelia/GenericFunctions.ts b/packages/nodes-base/nodes/Emelia/GenericFunctions.ts index deb6a7845f..bf04a3dbc8 100644 --- a/packages/nodes-base/nodes/Emelia/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Emelia/GenericFunctions.ts @@ -1,14 +1,14 @@ -import { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { +import type { ICredentialsDecrypted, ICredentialTestFunctions, IHookFunctions, INodeCredentialTestResult, INodePropertyOptions, JsonObject, - NodeApiError, } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; /** * Make an authenticated REST API request to Emelia, used for trigger node. diff --git a/packages/nodes-base/nodes/ErrorTrigger/ErrorTrigger.node.ts b/packages/nodes-base/nodes/ErrorTrigger/ErrorTrigger.node.ts index 963d23d9fa..fb610fc38d 100644 --- a/packages/nodes-base/nodes/ErrorTrigger/ErrorTrigger.node.ts +++ b/packages/nodes-base/nodes/ErrorTrigger/ErrorTrigger.node.ts @@ -1,5 +1,5 @@ -import { IExecuteFunctions } from 'n8n-core'; -import { INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { IExecuteFunctions } from 'n8n-core'; +import type { 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 f5385dc9e2..a385324909 100644 --- a/packages/nodes-base/nodes/Eventbrite/EventbriteTrigger.node.ts +++ b/packages/nodes-base/nodes/Eventbrite/EventbriteTrigger.node.ts @@ -1,14 +1,14 @@ -import { IHookFunctions, IWebhookFunctions } from 'n8n-core'; +import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodePropertyOptions, INodeType, INodeTypeDescription, IWebhookResponseData, - NodeApiError, } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; import { eventbriteApiRequest, eventbriteApiRequestAllItems } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Eventbrite/GenericFunctions.ts b/packages/nodes-base/nodes/Eventbrite/GenericFunctions.ts index ddaec221b0..8e6d88a7e9 100644 --- a/packages/nodes-base/nodes/Eventbrite/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Eventbrite/GenericFunctions.ts @@ -1,6 +1,6 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { +import type { IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, @@ -8,7 +8,8 @@ import { IWebhookFunctions, } from 'n8n-core'; -import { IDataObject, JsonObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject, JsonObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function eventbriteApiRequest( this: diff --git a/packages/nodes-base/nodes/ExecuteCommand/ExecuteCommand.node.ts b/packages/nodes-base/nodes/ExecuteCommand/ExecuteCommand.node.ts index eef2d8b94c..d001c0369f 100644 --- a/packages/nodes-base/nodes/ExecuteCommand/ExecuteCommand.node.ts +++ b/packages/nodes-base/nodes/ExecuteCommand/ExecuteCommand.node.ts @@ -1,10 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; -import { - INodeExecutionData, - INodeType, - INodeTypeDescription, - NodeOperationError, -} from 'n8n-workflow'; +import type { IExecuteFunctions } from 'n8n-core'; +import type { 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 d177ec485f..77646982ee 100644 --- a/packages/nodes-base/nodes/ExecuteWorkflow/ExecuteWorkflow.node.ts +++ b/packages/nodes-base/nodes/ExecuteWorkflow/ExecuteWorkflow.node.ts @@ -1,14 +1,14 @@ import { readFile as fsReadFile } from 'fs/promises'; -import { IExecuteFunctions } from 'n8n-core'; -import { +import type { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteWorkflowInfo, INodeExecutionData, INodeType, INodeTypeDescription, IWorkflowBase, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; export class ExecuteWorkflow implements INodeType { description: INodeTypeDescription = { diff --git a/packages/nodes-base/nodes/ExecuteWorkflowTrigger/ExecuteWorkflowTrigger.node.ts b/packages/nodes-base/nodes/ExecuteWorkflowTrigger/ExecuteWorkflowTrigger.node.ts index 86651a6c2d..cbc5f06428 100644 --- a/packages/nodes-base/nodes/ExecuteWorkflowTrigger/ExecuteWorkflowTrigger.node.ts +++ b/packages/nodes-base/nodes/ExecuteWorkflowTrigger/ExecuteWorkflowTrigger.node.ts @@ -1,5 +1,5 @@ -import { IExecuteFunctions } from 'n8n-core'; -import { INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { IExecuteFunctions } from 'n8n-core'; +import type { INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; export class ExecuteWorkflowTrigger implements INodeType { description: INodeTypeDescription = { diff --git a/packages/nodes-base/nodes/Facebook/FacebookGraphApi.node.ts b/packages/nodes-base/nodes/Facebook/FacebookGraphApi.node.ts index 01cf9bc477..9164b6bf9e 100644 --- a/packages/nodes-base/nodes/Facebook/FacebookGraphApi.node.ts +++ b/packages/nodes-base/nodes/Facebook/FacebookGraphApi.node.ts @@ -1,14 +1,13 @@ -import { IExecuteFunctions } from 'n8n-core'; -import { +import type { IExecuteFunctions } from 'n8n-core'; +import type { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription, - NodeApiError, - NodeOperationError, } from 'n8n-workflow'; +import { NodeApiError, NodeOperationError } from 'n8n-workflow'; -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; export class FacebookGraphApi 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 f084e6db21..9e14cdb0e7 100644 --- a/packages/nodes-base/nodes/Facebook/FacebookTrigger.node.ts +++ b/packages/nodes-base/nodes/Facebook/FacebookTrigger.node.ts @@ -1,14 +1,14 @@ -import { IHookFunctions, IWebhookFunctions } from 'n8n-core'; +import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodePropertyOptions, INodeType, INodeTypeDescription, IWebhookResponseData, - NodeApiError, } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; import { v4 as uuid } from 'uuid'; diff --git a/packages/nodes-base/nodes/Facebook/GenericFunctions.ts b/packages/nodes-base/nodes/Facebook/GenericFunctions.ts index f6b47a4e3a..9a1034f88b 100644 --- a/packages/nodes-base/nodes/Facebook/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Facebook/GenericFunctions.ts @@ -1,6 +1,6 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { +import type { IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, @@ -8,7 +8,8 @@ import { IWebhookFunctions, } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } 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 1f7e93e6cd..831eb4921b 100644 --- a/packages/nodes-base/nodes/Figma/FigmaTrigger.node.ts +++ b/packages/nodes-base/nodes/Figma/FigmaTrigger.node.ts @@ -1,6 +1,11 @@ -import { IHookFunctions, IWebhookFunctions } from 'n8n-core'; +import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; -import { IDataObject, INodeType, INodeTypeDescription, IWebhookResponseData } from 'n8n-workflow'; +import type { + IDataObject, + INodeType, + INodeTypeDescription, + IWebhookResponseData, +} from 'n8n-workflow'; import { figmaApiRequest } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Figma/GenericFunctions.ts b/packages/nodes-base/nodes/Figma/GenericFunctions.ts index 7aa17fd22f..73ff4f4b80 100644 --- a/packages/nodes-base/nodes/Figma/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Figma/GenericFunctions.ts @@ -1,13 +1,14 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { +import type { IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function figmaApiRequest( this: IHookFunctions | IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/FileMaker/FileMaker.node.ts b/packages/nodes-base/nodes/FileMaker/FileMaker.node.ts index 63d07febf6..affa5602cd 100644 --- a/packages/nodes-base/nodes/FileMaker/FileMaker.node.ts +++ b/packages/nodes-base/nodes/FileMaker/FileMaker.node.ts @@ -1,15 +1,15 @@ /* eslint-disable n8n-nodes-base/node-filename-against-convention */ -import { IExecuteFunctions } from 'n8n-core'; -import { +import type { IExecuteFunctions } from 'n8n-core'; +import type { ILoadOptionsFunctions, INodeExecutionData, INodePropertyOptions, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; import { getFields, getPortals, diff --git a/packages/nodes-base/nodes/FileMaker/GenericFunctions.ts b/packages/nodes-base/nodes/FileMaker/GenericFunctions.ts index d0a79f5012..28ef268132 100644 --- a/packages/nodes-base/nodes/FileMaker/GenericFunctions.ts +++ b/packages/nodes-base/nodes/FileMaker/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject, INodePropertyOptions, NodeApiError, NodeOperationError } from 'n8n-workflow'; +import type { IDataObject, INodePropertyOptions } from 'n8n-workflow'; +import { NodeApiError, NodeOperationError } from 'n8n-workflow'; -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; interface ScriptsOptions { script?: any; diff --git a/packages/nodes-base/nodes/Flow/Flow.node.ts b/packages/nodes-base/nodes/Flow/Flow.node.ts index 566bed16e0..3479c50b77 100644 --- a/packages/nodes-base/nodes/Flow/Flow.node.ts +++ b/packages/nodes-base/nodes/Flow/Flow.node.ts @@ -1,14 +1,14 @@ -import { IExecuteFunctions } from 'n8n-core'; -import { +import type { IExecuteFunctions } from 'n8n-core'; +import type { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription, - NodeApiError, } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; import { flowApiRequest, FlowApiRequestAllItems } from './GenericFunctions'; import { taskFields, taskOperations } from './TaskDescription'; -import { ITask, TaskInfo } from './TaskInterface'; +import type { ITask, TaskInfo } from './TaskInterface'; export class Flow implements INodeType { description: INodeTypeDescription = { diff --git a/packages/nodes-base/nodes/Flow/FlowTrigger.node.ts b/packages/nodes-base/nodes/Flow/FlowTrigger.node.ts index 0e58948c5f..62c4e59262 100644 --- a/packages/nodes-base/nodes/Flow/FlowTrigger.node.ts +++ b/packages/nodes-base/nodes/Flow/FlowTrigger.node.ts @@ -1,6 +1,11 @@ -import { IHookFunctions, IWebhookFunctions } from 'n8n-core'; +import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; -import { IDataObject, INodeType, INodeTypeDescription, IWebhookResponseData } from 'n8n-workflow'; +import type { + IDataObject, + INodeType, + INodeTypeDescription, + IWebhookResponseData, +} from 'n8n-workflow'; import { flowApiRequest } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Flow/GenericFunctions.ts b/packages/nodes-base/nodes/Flow/GenericFunctions.ts index a784cb926b..9b54bdeb9f 100644 --- a/packages/nodes-base/nodes/Flow/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Flow/GenericFunctions.ts @@ -1,11 +1,12 @@ -import { OptionsWithUri } from 'request'; -import { +import type { OptionsWithUri } from 'request'; +import type { IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function flowApiRequest( this: IHookFunctions | IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Flow/TaskDescription.ts b/packages/nodes-base/nodes/Flow/TaskDescription.ts index fdd6595742..f0e05cab03 100644 --- a/packages/nodes-base/nodes/Flow/TaskDescription.ts +++ b/packages/nodes-base/nodes/Flow/TaskDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const taskOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/FormIo/FormIoTrigger.node.ts b/packages/nodes-base/nodes/FormIo/FormIoTrigger.node.ts index 2cdc0f42c4..02d582f896 100644 --- a/packages/nodes-base/nodes/FormIo/FormIoTrigger.node.ts +++ b/packages/nodes-base/nodes/FormIo/FormIoTrigger.node.ts @@ -1,6 +1,6 @@ -import { IHookFunctions, IWebhookFunctions } from 'n8n-core'; +import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; -import { +import type { ILoadOptionsFunctions, INodePropertyOptions, INodeType, diff --git a/packages/nodes-base/nodes/FormIo/GenericFunctions.ts b/packages/nodes-base/nodes/FormIo/GenericFunctions.ts index cf4aefac96..35f954796d 100644 --- a/packages/nodes-base/nodes/FormIo/GenericFunctions.ts +++ b/packages/nodes-base/nodes/FormIo/GenericFunctions.ts @@ -1,6 +1,7 @@ -import { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IHookFunctions, IWebhookFunctions, NodeApiError } from 'n8n-workflow'; +import type { IHookFunctions, IWebhookFunctions } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; interface IFormIoCredentials { environment: 'cloudHosted' | ' selfHosted'; diff --git a/packages/nodes-base/nodes/Formstack/FormstackTrigger.node.ts b/packages/nodes-base/nodes/Formstack/FormstackTrigger.node.ts index cb1661e967..d1efc4947f 100644 --- a/packages/nodes-base/nodes/Formstack/FormstackTrigger.node.ts +++ b/packages/nodes-base/nodes/Formstack/FormstackTrigger.node.ts @@ -1,8 +1,14 @@ -import { IHookFunctions, IWebhookFunctions } from 'n8n-core'; +import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; -import { IDataObject, INodeType, INodeTypeDescription, IWebhookResponseData } from 'n8n-workflow'; +import type { + IDataObject, + INodeType, + INodeTypeDescription, + IWebhookResponseData, +} from 'n8n-workflow'; -import { apiRequest, getForms, IFormstackWebhookResponseBody } from './GenericFunctions'; +import type { IFormstackWebhookResponseBody } from './GenericFunctions'; +import { apiRequest, getForms } from './GenericFunctions'; export class FormstackTrigger implements INodeType { description: INodeTypeDescription = { diff --git a/packages/nodes-base/nodes/Formstack/GenericFunctions.ts b/packages/nodes-base/nodes/Formstack/GenericFunctions.ts index a88cf2e57c..75f1e65fc5 100644 --- a/packages/nodes-base/nodes/Formstack/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Formstack/GenericFunctions.ts @@ -1,13 +1,14 @@ -import { +import type { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions, IWebhookFunctions, } from 'n8n-core'; -import { IDataObject, INodePropertyOptions, NodeApiError } from 'n8n-workflow'; +import type { IDataObject, INodePropertyOptions } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; export interface IFormstackFieldDefinitionType { id: string; diff --git a/packages/nodes-base/nodes/Freshdesk/ContactDescription.ts b/packages/nodes-base/nodes/Freshdesk/ContactDescription.ts index 509d392e01..e683f2d7b2 100644 --- a/packages/nodes-base/nodes/Freshdesk/ContactDescription.ts +++ b/packages/nodes-base/nodes/Freshdesk/ContactDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const contactOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Freshdesk/ContactInterface.ts b/packages/nodes-base/nodes/Freshdesk/ContactInterface.ts index c0e6437ef7..af1ff13bc1 100644 --- a/packages/nodes-base/nodes/Freshdesk/ContactInterface.ts +++ b/packages/nodes-base/nodes/Freshdesk/ContactInterface.ts @@ -1,4 +1,4 @@ -import { IDataObject } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; export interface ICreateContactBody { address?: string; diff --git a/packages/nodes-base/nodes/Freshdesk/Freshdesk.node.ts b/packages/nodes-base/nodes/Freshdesk/Freshdesk.node.ts index 5e7cc81302..7ae5848d46 100644 --- a/packages/nodes-base/nodes/Freshdesk/Freshdesk.node.ts +++ b/packages/nodes-base/nodes/Freshdesk/Freshdesk.node.ts @@ -1,14 +1,14 @@ -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, INodePropertyOptions, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; import { capitalize, @@ -17,7 +17,7 @@ import { // validateJSON, } from './GenericFunctions'; -import { ICreateContactBody } from './ContactInterface'; +import type { ICreateContactBody } from './ContactInterface'; import { contactFields, contactOperations } from './ContactDescription'; diff --git a/packages/nodes-base/nodes/Freshdesk/GenericFunctions.ts b/packages/nodes-base/nodes/Freshdesk/GenericFunctions.ts index 02c2c79e0c..385b06b7d4 100644 --- a/packages/nodes-base/nodes/Freshdesk/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Freshdesk/GenericFunctions.ts @@ -1,8 +1,10 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { BINARY_ENCODING, IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import { BINARY_ENCODING } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { 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 2148ee0bbf..66181396e0 100644 --- a/packages/nodes-base/nodes/Freshservice/Freshservice.node.ts +++ b/packages/nodes-base/nodes/Freshservice/Freshservice.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, @@ -56,7 +56,7 @@ import { ticketOperations, } from './descriptions'; -import { AddressFixedCollection, LoadedResource, LoadedUser, RolesParameter } from './types'; +import type { AddressFixedCollection, LoadedResource, LoadedUser, RolesParameter } from './types'; import { tz } from 'moment-timezone'; diff --git a/packages/nodes-base/nodes/Freshservice/GenericFunctions.ts b/packages/nodes-base/nodes/Freshservice/GenericFunctions.ts index 0b7f8a9d59..36c1f21939 100644 --- a/packages/nodes-base/nodes/Freshservice/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Freshservice/GenericFunctions.ts @@ -1,15 +1,16 @@ -import { IExecuteFunctions, IHookFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IHookFunctions } from 'n8n-core'; -import { IDataObject, ILoadOptionsFunctions, NodeApiError, NodeOperationError } from 'n8n-workflow'; +import type { IDataObject, ILoadOptionsFunctions } from 'n8n-workflow'; +import { NodeApiError, NodeOperationError } from 'n8n-workflow'; -import { +import type { AddressFixedCollection, FreshserviceCredentials, LoadedUser, RolesParameter, } from './types'; -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; import { omit } from 'lodash'; diff --git a/packages/nodes-base/nodes/Freshservice/descriptions/AgentDescription.ts b/packages/nodes-base/nodes/Freshservice/descriptions/AgentDescription.ts index 8f5100da65..ec00210e97 100644 --- a/packages/nodes-base/nodes/Freshservice/descriptions/AgentDescription.ts +++ b/packages/nodes-base/nodes/Freshservice/descriptions/AgentDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { LANGUAGES } from '../constants'; diff --git a/packages/nodes-base/nodes/Freshservice/descriptions/AgentGroupDescription.ts b/packages/nodes-base/nodes/Freshservice/descriptions/AgentGroupDescription.ts index 76bd93d5a8..19986f7f4e 100644 --- a/packages/nodes-base/nodes/Freshservice/descriptions/AgentGroupDescription.ts +++ b/packages/nodes-base/nodes/Freshservice/descriptions/AgentGroupDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const agentGroupOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Freshservice/descriptions/AgentRoleDescription.ts b/packages/nodes-base/nodes/Freshservice/descriptions/AgentRoleDescription.ts index 98f2a805f3..65da453253 100644 --- a/packages/nodes-base/nodes/Freshservice/descriptions/AgentRoleDescription.ts +++ b/packages/nodes-base/nodes/Freshservice/descriptions/AgentRoleDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const agentRoleOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Freshservice/descriptions/AnnouncementDescription.ts b/packages/nodes-base/nodes/Freshservice/descriptions/AnnouncementDescription.ts index e5dd9a1d14..9a98b9005e 100644 --- a/packages/nodes-base/nodes/Freshservice/descriptions/AnnouncementDescription.ts +++ b/packages/nodes-base/nodes/Freshservice/descriptions/AnnouncementDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const announcementOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Freshservice/descriptions/AssetDescription.ts b/packages/nodes-base/nodes/Freshservice/descriptions/AssetDescription.ts index 9f174b1c34..318765d45d 100644 --- a/packages/nodes-base/nodes/Freshservice/descriptions/AssetDescription.ts +++ b/packages/nodes-base/nodes/Freshservice/descriptions/AssetDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const assetOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Freshservice/descriptions/AssetTypeDescription.ts b/packages/nodes-base/nodes/Freshservice/descriptions/AssetTypeDescription.ts index 89f7c4f262..903f8c53a6 100644 --- a/packages/nodes-base/nodes/Freshservice/descriptions/AssetTypeDescription.ts +++ b/packages/nodes-base/nodes/Freshservice/descriptions/AssetTypeDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const assetTypeOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Freshservice/descriptions/ChangeDescription.ts b/packages/nodes-base/nodes/Freshservice/descriptions/ChangeDescription.ts index fd4c162247..6de31b1a45 100644 --- a/packages/nodes-base/nodes/Freshservice/descriptions/ChangeDescription.ts +++ b/packages/nodes-base/nodes/Freshservice/descriptions/ChangeDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const changeOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Freshservice/descriptions/DepartmentDescription.ts b/packages/nodes-base/nodes/Freshservice/descriptions/DepartmentDescription.ts index c9b4dd6e3a..1d5c19bda4 100644 --- a/packages/nodes-base/nodes/Freshservice/descriptions/DepartmentDescription.ts +++ b/packages/nodes-base/nodes/Freshservice/descriptions/DepartmentDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const departmentOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Freshservice/descriptions/LocationDescription.ts b/packages/nodes-base/nodes/Freshservice/descriptions/LocationDescription.ts index 23fb87a45b..703782412f 100644 --- a/packages/nodes-base/nodes/Freshservice/descriptions/LocationDescription.ts +++ b/packages/nodes-base/nodes/Freshservice/descriptions/LocationDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const locationOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Freshservice/descriptions/ProblemDescription.ts b/packages/nodes-base/nodes/Freshservice/descriptions/ProblemDescription.ts index 0e3985b8df..92cf878901 100644 --- a/packages/nodes-base/nodes/Freshservice/descriptions/ProblemDescription.ts +++ b/packages/nodes-base/nodes/Freshservice/descriptions/ProblemDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const problemOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Freshservice/descriptions/ProductDescription.ts b/packages/nodes-base/nodes/Freshservice/descriptions/ProductDescription.ts index 69d845ee48..e5f351cd89 100644 --- a/packages/nodes-base/nodes/Freshservice/descriptions/ProductDescription.ts +++ b/packages/nodes-base/nodes/Freshservice/descriptions/ProductDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const productOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Freshservice/descriptions/ReleaseDescription.ts b/packages/nodes-base/nodes/Freshservice/descriptions/ReleaseDescription.ts index 9ae4fa6686..9404ba7558 100644 --- a/packages/nodes-base/nodes/Freshservice/descriptions/ReleaseDescription.ts +++ b/packages/nodes-base/nodes/Freshservice/descriptions/ReleaseDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const releaseOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Freshservice/descriptions/RequesterDescription.ts b/packages/nodes-base/nodes/Freshservice/descriptions/RequesterDescription.ts index f4b3689e51..6fed8d79b2 100644 --- a/packages/nodes-base/nodes/Freshservice/descriptions/RequesterDescription.ts +++ b/packages/nodes-base/nodes/Freshservice/descriptions/RequesterDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { LANGUAGES } from '../constants'; export const requesterOperations: INodeProperties[] = [ diff --git a/packages/nodes-base/nodes/Freshservice/descriptions/RequesterGroupDescription.ts b/packages/nodes-base/nodes/Freshservice/descriptions/RequesterGroupDescription.ts index 46471029cd..379371ccd4 100644 --- a/packages/nodes-base/nodes/Freshservice/descriptions/RequesterGroupDescription.ts +++ b/packages/nodes-base/nodes/Freshservice/descriptions/RequesterGroupDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const requesterGroupOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Freshservice/descriptions/SoftwareDescription.ts b/packages/nodes-base/nodes/Freshservice/descriptions/SoftwareDescription.ts index af698db7dd..c1fd4d0b55 100644 --- a/packages/nodes-base/nodes/Freshservice/descriptions/SoftwareDescription.ts +++ b/packages/nodes-base/nodes/Freshservice/descriptions/SoftwareDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const softwareOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Freshservice/descriptions/TicketDescription.ts b/packages/nodes-base/nodes/Freshservice/descriptions/TicketDescription.ts index aed5dd2f13..96deb3e0db 100644 --- a/packages/nodes-base/nodes/Freshservice/descriptions/TicketDescription.ts +++ b/packages/nodes-base/nodes/Freshservice/descriptions/TicketDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const ticketOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Freshservice/types.d.ts b/packages/nodes-base/nodes/Freshservice/types.d.ts index 61dd65e8bc..94bccb214f 100644 --- a/packages/nodes-base/nodes/Freshservice/types.d.ts +++ b/packages/nodes-base/nodes/Freshservice/types.d.ts @@ -1,4 +1,4 @@ -import { IDataObject } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; export type FreshserviceCredentials = { apiKey: string; diff --git a/packages/nodes-base/nodes/FreshworksCrm/FreshworksCrm.node.ts b/packages/nodes-base/nodes/FreshworksCrm/FreshworksCrm.node.ts index e996937913..c346483cfb 100644 --- a/packages/nodes-base/nodes/FreshworksCrm/FreshworksCrm.node.ts +++ b/packages/nodes-base/nodes/FreshworksCrm/FreshworksCrm.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, @@ -37,7 +37,7 @@ import { taskOperations, } from './descriptions'; -import { FreshworksConfigResponse, LoadedCurrency, LoadedUser, LoadOption } from './types'; +import type { FreshworksConfigResponse, LoadedCurrency, LoadedUser, LoadOption } from './types'; import { tz } from 'moment-timezone'; diff --git a/packages/nodes-base/nodes/FreshworksCrm/GenericFunctions.ts b/packages/nodes-base/nodes/FreshworksCrm/GenericFunctions.ts index 62efc0039f..21eba0f47a 100644 --- a/packages/nodes-base/nodes/FreshworksCrm/GenericFunctions.ts +++ b/packages/nodes-base/nodes/FreshworksCrm/GenericFunctions.ts @@ -1,10 +1,11 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, ILoadOptionsFunctions, NodeApiError, NodeOperationError } from 'n8n-workflow'; +import type { IDataObject, ILoadOptionsFunctions } from 'n8n-workflow'; +import { NodeApiError, NodeOperationError } from 'n8n-workflow'; -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { +import type { FreshworksConfigResponse, FreshworksCrmApiCredentials, SalesAccounts, diff --git a/packages/nodes-base/nodes/FreshworksCrm/descriptions/AccountDescription.ts b/packages/nodes-base/nodes/FreshworksCrm/descriptions/AccountDescription.ts index 3ff032ad09..5d0bd71a18 100644 --- a/packages/nodes-base/nodes/FreshworksCrm/descriptions/AccountDescription.ts +++ b/packages/nodes-base/nodes/FreshworksCrm/descriptions/AccountDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const accountOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/FreshworksCrm/descriptions/AppointmentDescription.ts b/packages/nodes-base/nodes/FreshworksCrm/descriptions/AppointmentDescription.ts index a525d0e922..88cebf6d1d 100644 --- a/packages/nodes-base/nodes/FreshworksCrm/descriptions/AppointmentDescription.ts +++ b/packages/nodes-base/nodes/FreshworksCrm/descriptions/AppointmentDescription.ts @@ -1,6 +1,6 @@ import { tz } from 'moment-timezone'; -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const appointmentOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/FreshworksCrm/descriptions/ContactDescription.ts b/packages/nodes-base/nodes/FreshworksCrm/descriptions/ContactDescription.ts index 5fd11de659..22b685dce8 100644 --- a/packages/nodes-base/nodes/FreshworksCrm/descriptions/ContactDescription.ts +++ b/packages/nodes-base/nodes/FreshworksCrm/descriptions/ContactDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const contactOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/FreshworksCrm/descriptions/DealDescription.ts b/packages/nodes-base/nodes/FreshworksCrm/descriptions/DealDescription.ts index 0c238a1f67..9326b4e200 100644 --- a/packages/nodes-base/nodes/FreshworksCrm/descriptions/DealDescription.ts +++ b/packages/nodes-base/nodes/FreshworksCrm/descriptions/DealDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const dealOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/FreshworksCrm/descriptions/NoteDescription.ts b/packages/nodes-base/nodes/FreshworksCrm/descriptions/NoteDescription.ts index a20d0f31d4..1e4cffaef5 100644 --- a/packages/nodes-base/nodes/FreshworksCrm/descriptions/NoteDescription.ts +++ b/packages/nodes-base/nodes/FreshworksCrm/descriptions/NoteDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const noteOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/FreshworksCrm/descriptions/SalesActivityDescription.ts b/packages/nodes-base/nodes/FreshworksCrm/descriptions/SalesActivityDescription.ts index 8441cb82c0..0290785d96 100644 --- a/packages/nodes-base/nodes/FreshworksCrm/descriptions/SalesActivityDescription.ts +++ b/packages/nodes-base/nodes/FreshworksCrm/descriptions/SalesActivityDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const salesActivityOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/FreshworksCrm/descriptions/SearchDescription.ts b/packages/nodes-base/nodes/FreshworksCrm/descriptions/SearchDescription.ts index ca740466d6..675984ff99 100644 --- a/packages/nodes-base/nodes/FreshworksCrm/descriptions/SearchDescription.ts +++ b/packages/nodes-base/nodes/FreshworksCrm/descriptions/SearchDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const searchOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/FreshworksCrm/descriptions/TaskDescription.ts b/packages/nodes-base/nodes/FreshworksCrm/descriptions/TaskDescription.ts index 02ee9bf93c..86f838cebc 100644 --- a/packages/nodes-base/nodes/FreshworksCrm/descriptions/TaskDescription.ts +++ b/packages/nodes-base/nodes/FreshworksCrm/descriptions/TaskDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const taskOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Ftp/Ftp.node.ts b/packages/nodes-base/nodes/Ftp/Ftp.node.ts index 383de57886..b17f929b08 100644 --- a/packages/nodes-base/nodes/Ftp/Ftp.node.ts +++ b/packages/nodes-base/nodes/Ftp/Ftp.node.ts @@ -1,5 +1,5 @@ -import { IExecuteFunctions } from 'n8n-core'; -import { +import type { IExecuteFunctions } from 'n8n-core'; +import type { ICredentialDataDecryptedObject, ICredentialsDecrypted, ICredentialTestFunctions, @@ -8,9 +8,8 @@ import { INodeExecutionData, INodeType, INodeTypeDescription, - NodeApiError, - NodeOperationError, } from 'n8n-workflow'; +import { NodeApiError, NodeOperationError } from 'n8n-workflow'; import { basename, dirname } from 'path'; import ftpClient from 'promise-ftp'; diff --git a/packages/nodes-base/nodes/Function/Function.node.ts b/packages/nodes-base/nodes/Function/Function.node.ts index e2ce126f1e..0511055a1f 100644 --- a/packages/nodes-base/nodes/Function/Function.node.ts +++ b/packages/nodes-base/nodes/Function/Function.node.ts @@ -1,14 +1,14 @@ -import { NodeVM, NodeVMOptions } from 'vm2'; -import { IExecuteFunctions } from 'n8n-core'; -import { - deepCopy, +import type { NodeVMOptions } from 'vm2'; +import { NodeVM } from 'vm2'; +import type { IExecuteFunctions } from 'n8n-core'; +import type { IBinaryKeyData, IDataObject, INodeExecutionData, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { deepCopy, NodeOperationError } from 'n8n-workflow'; export class Function implements INodeType { description: INodeTypeDescription = { diff --git a/packages/nodes-base/nodes/FunctionItem/FunctionItem.node.ts b/packages/nodes-base/nodes/FunctionItem/FunctionItem.node.ts index 57b2ab978c..6e39d8f31a 100644 --- a/packages/nodes-base/nodes/FunctionItem/FunctionItem.node.ts +++ b/packages/nodes-base/nodes/FunctionItem/FunctionItem.node.ts @@ -1,15 +1,15 @@ /* eslint-disable @typescript-eslint/no-loop-func */ -import { NodeVM, NodeVMOptions, VMRequire } from 'vm2'; -import { IExecuteFunctions } from 'n8n-core'; -import { - deepCopy, +import type { NodeVMOptions, VMRequire } from 'vm2'; +import { NodeVM } from 'vm2'; +import type { IExecuteFunctions } from 'n8n-core'; +import type { IBinaryKeyData, IDataObject, INodeExecutionData, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { deepCopy, NodeOperationError } from 'n8n-workflow'; export class FunctionItem implements INodeType { description: INodeTypeDescription = { diff --git a/packages/nodes-base/nodes/GetResponse/ContactDescription.ts b/packages/nodes-base/nodes/GetResponse/ContactDescription.ts index 05e4288034..c29f7e1df7 100644 --- a/packages/nodes-base/nodes/GetResponse/ContactDescription.ts +++ b/packages/nodes-base/nodes/GetResponse/ContactDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const contactOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/GetResponse/GenericFunctions.ts b/packages/nodes-base/nodes/GetResponse/GenericFunctions.ts index 4f7e309485..0aa7c097b2 100644 --- a/packages/nodes-base/nodes/GetResponse/GenericFunctions.ts +++ b/packages/nodes-base/nodes/GetResponse/GenericFunctions.ts @@ -1,13 +1,14 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { +import type { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions, IWebhookFunctions, } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function getresponseApiRequest( this: IWebhookFunctions | IHookFunctions | IExecuteFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/GetResponse/GetResponse.node.ts b/packages/nodes-base/nodes/GetResponse/GetResponse.node.ts index 763e09fc7c..9541504d09 100644 --- a/packages/nodes-base/nodes/GetResponse/GetResponse.node.ts +++ b/packages/nodes-base/nodes/GetResponse/GetResponse.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/GetResponse/GetResponseTrigger.node.ts b/packages/nodes-base/nodes/GetResponse/GetResponseTrigger.node.ts index c8d901bb9b..d587d69ce1 100644 --- a/packages/nodes-base/nodes/GetResponse/GetResponseTrigger.node.ts +++ b/packages/nodes-base/nodes/GetResponse/GetResponseTrigger.node.ts @@ -1,14 +1,14 @@ -import { IHookFunctions, IWebhookFunctions } from 'n8n-core'; +import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodePropertyOptions, INodeType, INodeTypeDescription, IWebhookResponseData, - NodeApiError, } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; import { getresponseApiRequest, getResponseApiRequestAllItems } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Ghost/GenericFunctions.ts b/packages/nodes-base/nodes/Ghost/GenericFunctions.ts index e46442ac1a..6db387cfe5 100644 --- a/packages/nodes-base/nodes/Ghost/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Ghost/GenericFunctions.ts @@ -1,13 +1,13 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { +import type { IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, } from 'n8n-core'; -import { IDataObject } from 'n8n-workflow'; +import type { IDataObject } 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 b4c22b5fbf..88009a4449 100644 --- a/packages/nodes-base/nodes/Ghost/Ghost.node.ts +++ b/packages/nodes-base/nodes/Ghost/Ghost.node.ts @@ -1,14 +1,14 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, INodePropertyOptions, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { ghostApiRequest, ghostApiRequestAllItems, validateJSON } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Ghost/PostDescription.ts b/packages/nodes-base/nodes/Ghost/PostDescription.ts index ab69427f95..8d344e5a50 100644 --- a/packages/nodes-base/nodes/Ghost/PostDescription.ts +++ b/packages/nodes-base/nodes/Ghost/PostDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const postOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Git/Git.node.ts b/packages/nodes-base/nodes/Git/Git.node.ts index dc0c8165c8..84b09a6540 100644 --- a/packages/nodes-base/nodes/Git/Git.node.ts +++ b/packages/nodes-base/nodes/Git/Git.node.ts @@ -1,5 +1,5 @@ -import { IExecuteFunctions } from 'n8n-core'; -import { INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { IExecuteFunctions } from 'n8n-core'; +import type { INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; import { addConfigFields, @@ -11,7 +11,8 @@ import { tagFields, } from './descriptions'; -import simpleGit, { LogOptions, SimpleGit, SimpleGitOptions } from 'simple-git'; +import type { LogOptions, SimpleGit, SimpleGitOptions } from 'simple-git'; +import simpleGit from 'simple-git'; import { access, mkdir } from 'fs/promises'; diff --git a/packages/nodes-base/nodes/Git/descriptions/AddConfigDescription.ts b/packages/nodes-base/nodes/Git/descriptions/AddConfigDescription.ts index e5bfb19e6d..c00498ae8f 100644 --- a/packages/nodes-base/nodes/Git/descriptions/AddConfigDescription.ts +++ b/packages/nodes-base/nodes/Git/descriptions/AddConfigDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const addConfigFields: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Git/descriptions/AddDescription.ts b/packages/nodes-base/nodes/Git/descriptions/AddDescription.ts index d3afc91456..cb37ff61c9 100644 --- a/packages/nodes-base/nodes/Git/descriptions/AddDescription.ts +++ b/packages/nodes-base/nodes/Git/descriptions/AddDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const addFields: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Git/descriptions/CloneDescription.ts b/packages/nodes-base/nodes/Git/descriptions/CloneDescription.ts index 2fcab1d3c7..6f27547063 100644 --- a/packages/nodes-base/nodes/Git/descriptions/CloneDescription.ts +++ b/packages/nodes-base/nodes/Git/descriptions/CloneDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const cloneFields: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Git/descriptions/CommitDescription.ts b/packages/nodes-base/nodes/Git/descriptions/CommitDescription.ts index 289aa5106b..973820b5b2 100644 --- a/packages/nodes-base/nodes/Git/descriptions/CommitDescription.ts +++ b/packages/nodes-base/nodes/Git/descriptions/CommitDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const commitFields: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Git/descriptions/LogDescription.ts b/packages/nodes-base/nodes/Git/descriptions/LogDescription.ts index 6b75620a75..a1850eccbb 100644 --- a/packages/nodes-base/nodes/Git/descriptions/LogDescription.ts +++ b/packages/nodes-base/nodes/Git/descriptions/LogDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const logFields: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Git/descriptions/PushDescription.ts b/packages/nodes-base/nodes/Git/descriptions/PushDescription.ts index 5bbdb40195..19d5f5376e 100644 --- a/packages/nodes-base/nodes/Git/descriptions/PushDescription.ts +++ b/packages/nodes-base/nodes/Git/descriptions/PushDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const pushFields: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Git/descriptions/TagDescription.ts b/packages/nodes-base/nodes/Git/descriptions/TagDescription.ts index 6fdbbaf5d9..e5593da90f 100644 --- a/packages/nodes-base/nodes/Git/descriptions/TagDescription.ts +++ b/packages/nodes-base/nodes/Git/descriptions/TagDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const tagFields: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Github/GenericFunctions.ts b/packages/nodes-base/nodes/Github/GenericFunctions.ts index 7e258e5058..3a12a86164 100644 --- a/packages/nodes-base/nodes/Github/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Github/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions, IHookFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IHookFunctions } from 'n8n-core'; -import { IDataObject, NodeApiError, NodeOperationError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError, NodeOperationError } from 'n8n-workflow'; /** * Make an API request to Github diff --git a/packages/nodes-base/nodes/Github/Github.node.ts b/packages/nodes-base/nodes/Github/Github.node.ts index 067497cf55..34b7fcd41a 100644 --- a/packages/nodes-base/nodes/Github/Github.node.ts +++ b/packages/nodes-base/nodes/Github/Github.node.ts @@ -1,12 +1,12 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { getFileSha, githubApiRequest, githubApiRequestAllItems } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Github/GithubTrigger.node.ts b/packages/nodes-base/nodes/Github/GithubTrigger.node.ts index 7b7283984a..d3e23f1de9 100644 --- a/packages/nodes-base/nodes/Github/GithubTrigger.node.ts +++ b/packages/nodes-base/nodes/Github/GithubTrigger.node.ts @@ -1,13 +1,12 @@ -import { IHookFunctions, IWebhookFunctions } from 'n8n-core'; +import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; -import { +import type { IDataObject, INodeType, INodeTypeDescription, IWebhookResponseData, - NodeApiError, - NodeOperationError, } from 'n8n-workflow'; +import { NodeApiError, NodeOperationError } from 'n8n-workflow'; import { githubApiRequest } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Gitlab/GenericFunctions.ts b/packages/nodes-base/nodes/Gitlab/GenericFunctions.ts index 48b1f2e664..e7c32c463b 100644 --- a/packages/nodes-base/nodes/Gitlab/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Gitlab/GenericFunctions.ts @@ -1,7 +1,8 @@ -import { IExecuteFunctions, IHookFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IHookFunctions } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; -import { OptionsWithUri } from 'request'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; +import type { OptionsWithUri } from 'request'; /** * Make an API request to Gitlab diff --git a/packages/nodes-base/nodes/Gitlab/Gitlab.node.ts b/packages/nodes-base/nodes/Gitlab/Gitlab.node.ts index bb3ca1810f..3509838ba3 100644 --- a/packages/nodes-base/nodes/Gitlab/Gitlab.node.ts +++ b/packages/nodes-base/nodes/Gitlab/Gitlab.node.ts @@ -1,12 +1,12 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { gitlabApiRequest, gitlabApiRequestAllItems } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Gitlab/GitlabTrigger.node.ts b/packages/nodes-base/nodes/Gitlab/GitlabTrigger.node.ts index a203d8f992..f9f4056da3 100644 --- a/packages/nodes-base/nodes/Gitlab/GitlabTrigger.node.ts +++ b/packages/nodes-base/nodes/Gitlab/GitlabTrigger.node.ts @@ -1,12 +1,12 @@ -import { IHookFunctions, IWebhookFunctions } from 'n8n-core'; +import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; -import { +import type { IDataObject, INodeType, INodeTypeDescription, IWebhookResponseData, - NodeApiError, } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; import { gitlabApiRequest } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/GoToWebinar/GenericFunctions.ts b/packages/nodes-base/nodes/GoToWebinar/GenericFunctions.ts index 29922178da..3037100c7a 100644 --- a/packages/nodes-base/nodes/GoToWebinar/GenericFunctions.ts +++ b/packages/nodes-base/nodes/GoToWebinar/GenericFunctions.ts @@ -1,13 +1,9 @@ -import { IExecuteFunctions, IHookFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IHookFunctions } from 'n8n-core'; -import { - IDataObject, - ILoadOptionsFunctions, - INodePropertyOptions, - NodeApiError, -} from 'n8n-workflow'; +import type { IDataObject, ILoadOptionsFunctions, INodePropertyOptions } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; import moment from 'moment'; diff --git a/packages/nodes-base/nodes/GoToWebinar/GoToWebinar.node.ts b/packages/nodes-base/nodes/GoToWebinar/GoToWebinar.node.ts index 69a4e40d47..16932f791e 100644 --- a/packages/nodes-base/nodes/GoToWebinar/GoToWebinar.node.ts +++ b/packages/nodes-base/nodes/GoToWebinar/GoToWebinar.node.ts @@ -1,14 +1,14 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, INodePropertyOptions, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { attendeeFields, diff --git a/packages/nodes-base/nodes/GoToWebinar/descriptions/AttendeeDescription.ts b/packages/nodes-base/nodes/GoToWebinar/descriptions/AttendeeDescription.ts index 4504200006..561b4702f3 100644 --- a/packages/nodes-base/nodes/GoToWebinar/descriptions/AttendeeDescription.ts +++ b/packages/nodes-base/nodes/GoToWebinar/descriptions/AttendeeDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const attendeeOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/GoToWebinar/descriptions/CoorganizerDescription.ts b/packages/nodes-base/nodes/GoToWebinar/descriptions/CoorganizerDescription.ts index 42afedb879..135c4af791 100644 --- a/packages/nodes-base/nodes/GoToWebinar/descriptions/CoorganizerDescription.ts +++ b/packages/nodes-base/nodes/GoToWebinar/descriptions/CoorganizerDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const coorganizerOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/GoToWebinar/descriptions/PanelistDescription.ts b/packages/nodes-base/nodes/GoToWebinar/descriptions/PanelistDescription.ts index 30deb17847..41a035fc7f 100644 --- a/packages/nodes-base/nodes/GoToWebinar/descriptions/PanelistDescription.ts +++ b/packages/nodes-base/nodes/GoToWebinar/descriptions/PanelistDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const panelistOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/GoToWebinar/descriptions/RegistrantDescription.ts b/packages/nodes-base/nodes/GoToWebinar/descriptions/RegistrantDescription.ts index 413089c4bd..c774b21666 100644 --- a/packages/nodes-base/nodes/GoToWebinar/descriptions/RegistrantDescription.ts +++ b/packages/nodes-base/nodes/GoToWebinar/descriptions/RegistrantDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const registrantOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/GoToWebinar/descriptions/SessionDescription.ts b/packages/nodes-base/nodes/GoToWebinar/descriptions/SessionDescription.ts index eb2a9fb077..269d7ef2e0 100644 --- a/packages/nodes-base/nodes/GoToWebinar/descriptions/SessionDescription.ts +++ b/packages/nodes-base/nodes/GoToWebinar/descriptions/SessionDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const sessionOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/GoToWebinar/descriptions/WebinarDescription.ts b/packages/nodes-base/nodes/GoToWebinar/descriptions/WebinarDescription.ts index 4841e385d4..8558ed9364 100644 --- a/packages/nodes-base/nodes/GoToWebinar/descriptions/WebinarDescription.ts +++ b/packages/nodes-base/nodes/GoToWebinar/descriptions/WebinarDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const webinarOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Google/Ads/CampaignDescription.ts b/packages/nodes-base/nodes/Google/Ads/CampaignDescription.ts index 83d21dbf32..b5ce28439a 100644 --- a/packages/nodes-base/nodes/Google/Ads/CampaignDescription.ts +++ b/packages/nodes-base/nodes/Google/Ads/CampaignDescription.ts @@ -1,4 +1,4 @@ -import { +import type { IDataObject, IExecuteSingleFunctions, IN8nHttpFullResponse, diff --git a/packages/nodes-base/nodes/Google/Ads/GoogleAds.node.ts b/packages/nodes-base/nodes/Google/Ads/GoogleAds.node.ts index 41714d355a..39c19cb94c 100644 --- a/packages/nodes-base/nodes/Google/Ads/GoogleAds.node.ts +++ b/packages/nodes-base/nodes/Google/Ads/GoogleAds.node.ts @@ -1,4 +1,4 @@ -import { INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { INodeType, INodeTypeDescription } from 'n8n-workflow'; import { campaignFields, campaignOperations } from './CampaignDescription'; diff --git a/packages/nodes-base/nodes/Google/Analytics/GoogleAnalytics.node.ts b/packages/nodes-base/nodes/Google/Analytics/GoogleAnalytics.node.ts index 5746647cb9..74b23d5ea3 100644 --- a/packages/nodes-base/nodes/Google/Analytics/GoogleAnalytics.node.ts +++ b/packages/nodes-base/nodes/Google/Analytics/GoogleAnalytics.node.ts @@ -1,4 +1,5 @@ -import { INodeTypeBaseDescription, IVersionedNodeType, VersionedNodeType } from 'n8n-workflow'; +import type { INodeTypeBaseDescription, IVersionedNodeType } from 'n8n-workflow'; +import { VersionedNodeType } from 'n8n-workflow'; import { GoogleAnalyticsV1 } from './v1/GoogleAnalyticsV1.node'; import { GoogleAnalyticsV2 } from './v2/GoogleAnalyticsV2.node'; diff --git a/packages/nodes-base/nodes/Google/Analytics/v1/GenericFunctions.ts b/packages/nodes-base/nodes/Google/Analytics/v1/GenericFunctions.ts index f81493d629..f4902752f8 100644 --- a/packages/nodes-base/nodes/Google/Analytics/v1/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Google/Analytics/v1/GenericFunctions.ts @@ -1,6 +1,7 @@ -import { OptionsWithUri } from 'request'; -import { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { OptionsWithUri } from 'request'; +import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function googleApiRequest( this: IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, 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 a753191f94..a99aac1146 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,7 @@ /* eslint-disable n8n-nodes-base/node-filename-against-convention */ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, @@ -15,7 +15,7 @@ import { reportFields, reportOperations } from './ReportDescription'; import { userActivityFields, userActivityOperations } from './UserActivityDescription'; import { googleApiRequest, googleApiRequestAllItems, merge, simplify } from './GenericFunctions'; import moment from 'moment-timezone'; -import { IData } from './Interfaces'; +import type { IData } from './Interfaces'; const versionDescription: INodeTypeDescription = { displayName: 'Google Analytics', diff --git a/packages/nodes-base/nodes/Google/Analytics/v1/Interfaces.ts b/packages/nodes-base/nodes/Google/Analytics/v1/Interfaces.ts index cf21a4afde..10ca47a12a 100644 --- a/packages/nodes-base/nodes/Google/Analytics/v1/Interfaces.ts +++ b/packages/nodes-base/nodes/Google/Analytics/v1/Interfaces.ts @@ -1,4 +1,4 @@ -import { IDataObject } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; export interface IData { viewId: string; diff --git a/packages/nodes-base/nodes/Google/Analytics/v1/ReportDescription.ts b/packages/nodes-base/nodes/Google/Analytics/v1/ReportDescription.ts index fffb594abc..285c04d0a0 100644 --- a/packages/nodes-base/nodes/Google/Analytics/v1/ReportDescription.ts +++ b/packages/nodes-base/nodes/Google/Analytics/v1/ReportDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const reportOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Google/Analytics/v1/UserActivityDescription.ts b/packages/nodes-base/nodes/Google/Analytics/v1/UserActivityDescription.ts index 40bf36ca54..04b8919aab 100644 --- a/packages/nodes-base/nodes/Google/Analytics/v1/UserActivityDescription.ts +++ b/packages/nodes-base/nodes/Google/Analytics/v1/UserActivityDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const userActivityOperations: INodeProperties[] = [ { 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 b6c129da8a..89d52e7c71 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 { IExecuteFunctions } from 'n8n-core'; -import { +import type { IExecuteFunctions } from 'n8n-core'; +import type { INodeExecutionData, INodeType, INodeTypeBaseDescription, diff --git a/packages/nodes-base/nodes/Google/Analytics/v2/actions/node.type.ts b/packages/nodes-base/nodes/Google/Analytics/v2/actions/node.type.ts index 66e788fe41..04c4ae9484 100644 --- a/packages/nodes-base/nodes/Google/Analytics/v2/actions/node.type.ts +++ b/packages/nodes-base/nodes/Google/Analytics/v2/actions/node.type.ts @@ -1,4 +1,4 @@ -import { AllEntities, Entity } from 'n8n-workflow'; +import type { AllEntities, Entity } from 'n8n-workflow'; type GoogleAnalyticsMap = { userActivity: 'search'; diff --git a/packages/nodes-base/nodes/Google/Analytics/v2/actions/report/FiltersDescription.ts b/packages/nodes-base/nodes/Google/Analytics/v2/actions/report/FiltersDescription.ts index 2fe75ef2a6..0387c36a7f 100644 --- a/packages/nodes-base/nodes/Google/Analytics/v2/actions/report/FiltersDescription.ts +++ b/packages/nodes-base/nodes/Google/Analytics/v2/actions/report/FiltersDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const dimensionDropdown: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Google/Analytics/v2/actions/report/Report.resource.ts b/packages/nodes-base/nodes/Google/Analytics/v2/actions/report/Report.resource.ts index a5e7df62f4..52fbee06eb 100644 --- a/packages/nodes-base/nodes/Google/Analytics/v2/actions/report/Report.resource.ts +++ b/packages/nodes-base/nodes/Google/Analytics/v2/actions/report/Report.resource.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import * as getga4 from './get.ga4.operation'; import * as getuniversal from './get.universal.operation'; 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 e644db4712..9108989aa7 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,5 @@ -import { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData, INodeProperties } from 'n8n-workflow'; +import type { IExecuteFunctions } from 'n8n-core'; +import type { 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 1b07d1d174..b5adbd6859 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,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData, INodeProperties } from 'n8n-workflow'; -import { IData, IDimension, IMetric } from '../../helpers/Interfaces'; +import type { IExecuteFunctions } from 'n8n-core'; +import type { IDataObject, INodeExecutionData, INodeProperties } from 'n8n-workflow'; +import type { IData, IDimension, IMetric } from '../../helpers/Interfaces'; import { checkDuplicates, defaultEndDate, 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 bdac877673..df201931ef 100644 --- a/packages/nodes-base/nodes/Google/Analytics/v2/actions/router.ts +++ b/packages/nodes-base/nodes/Google/Analytics/v2/actions/router.ts @@ -1,7 +1,8 @@ -import { IExecuteFunctions } from 'n8n-core'; -import { INodeExecutionData, NodeOperationError } from 'n8n-workflow'; +import type { IExecuteFunctions } from 'n8n-core'; +import type { INodeExecutionData } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; -import { GoogleAnalytics, ReportBasedOnProperty } from './node.type'; +import type { GoogleAnalytics, ReportBasedOnProperty } from './node.type'; import * as userActivity from './userActivity/UserActivity.resource'; import * as report from './report/Report.resource'; diff --git a/packages/nodes-base/nodes/Google/Analytics/v2/actions/userActivity/UserActivity.resource.ts b/packages/nodes-base/nodes/Google/Analytics/v2/actions/userActivity/UserActivity.resource.ts index 32cd4a50ed..bbb7e3613e 100644 --- a/packages/nodes-base/nodes/Google/Analytics/v2/actions/userActivity/UserActivity.resource.ts +++ b/packages/nodes-base/nodes/Google/Analytics/v2/actions/userActivity/UserActivity.resource.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import * as search from './search.operation'; export { search }; 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 ecd9ff711e..f0e633cbd1 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,5 @@ -import { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData, INodeProperties } from 'n8n-workflow'; +import type { IExecuteFunctions } from 'n8n-core'; +import type { 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/actions/versionDescription.ts b/packages/nodes-base/nodes/Google/Analytics/v2/actions/versionDescription.ts index da8b5a3089..13191b0007 100644 --- a/packages/nodes-base/nodes/Google/Analytics/v2/actions/versionDescription.ts +++ b/packages/nodes-base/nodes/Google/Analytics/v2/actions/versionDescription.ts @@ -1,5 +1,5 @@ /* eslint-disable n8n-nodes-base/node-filename-against-convention */ -import { INodeTypeDescription } from 'n8n-workflow'; +import type { INodeTypeDescription } from 'n8n-workflow'; import * as userActivity from './userActivity/UserActivity.resource'; import * as report from './report/Report.resource'; diff --git a/packages/nodes-base/nodes/Google/Analytics/v2/helpers/Interfaces.ts b/packages/nodes-base/nodes/Google/Analytics/v2/helpers/Interfaces.ts index cf21a4afde..10ca47a12a 100644 --- a/packages/nodes-base/nodes/Google/Analytics/v2/helpers/Interfaces.ts +++ b/packages/nodes-base/nodes/Google/Analytics/v2/helpers/Interfaces.ts @@ -1,4 +1,4 @@ -import { IDataObject } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; export interface IData { viewId: string; 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 8b954c7768..a01f7dc608 100644 --- a/packages/nodes-base/nodes/Google/Analytics/v2/helpers/utils.ts +++ b/packages/nodes-base/nodes/Google/Analytics/v2/helpers/utils.ts @@ -1,10 +1,6 @@ -import { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { - IDataObject, - INodeListSearchItems, - INodePropertyOptions, - NodeOperationError, -} from 'n8n-workflow'; +import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IDataObject, INodeListSearchItems, INodePropertyOptions } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { DateTime } from 'luxon'; // tslint:disable-next-line:no-any diff --git a/packages/nodes-base/nodes/Google/Analytics/v2/methods/listSearch.ts b/packages/nodes-base/nodes/Google/Analytics/v2/methods/listSearch.ts index 415021062e..ea060139be 100644 --- a/packages/nodes-base/nodes/Google/Analytics/v2/methods/listSearch.ts +++ b/packages/nodes-base/nodes/Google/Analytics/v2/methods/listSearch.ts @@ -1,4 +1,8 @@ -import { ILoadOptionsFunctions, INodeListSearchItems, INodeListSearchResult } from 'n8n-workflow'; +import type { + ILoadOptionsFunctions, + INodeListSearchItems, + INodeListSearchResult, +} from 'n8n-workflow'; import { sortLoadOptions } from '../helpers/utils'; import { googleApiRequest } from '../transport'; diff --git a/packages/nodes-base/nodes/Google/Analytics/v2/methods/loadOptions.ts b/packages/nodes-base/nodes/Google/Analytics/v2/methods/loadOptions.ts index 24f48be7e1..bf52999692 100644 --- a/packages/nodes-base/nodes/Google/Analytics/v2/methods/loadOptions.ts +++ b/packages/nodes-base/nodes/Google/Analytics/v2/methods/loadOptions.ts @@ -1,4 +1,4 @@ -import { ILoadOptionsFunctions, INodePropertyOptions } from 'n8n-workflow'; +import type { ILoadOptionsFunctions, INodePropertyOptions } from 'n8n-workflow'; import { sortLoadOptions } from '../helpers/utils'; import { googleApiRequest } from '../transport'; 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 2e1fe65c45..7370f2be76 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,7 @@ -import { OptionsWithUri } from 'request'; -import { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { OptionsWithUri } from 'request'; +import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function googleApiRequest( this: IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Google/BigQuery/GenericFunctions.ts b/packages/nodes-base/nodes/Google/BigQuery/GenericFunctions.ts index 7763a8a912..a484bfc275 100644 --- a/packages/nodes-base/nodes/Google/BigQuery/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Google/BigQuery/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject, JsonObject, NodeApiError, NodeOperationError } from 'n8n-workflow'; +import type { 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 7ffeed8b1d..3a7f905190 100644 --- a/packages/nodes-base/nodes/Google/BigQuery/GoogleBigQuery.node.ts +++ b/packages/nodes-base/nodes/Google/BigQuery/GoogleBigQuery.node.ts @@ -1,14 +1,14 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, INodePropertyOptions, INodeType, INodeTypeDescription, - NodeApiError, } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; import { googleApiRequest, googleApiRequestAllItems, simplify } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Google/BigQuery/RecordDescription.ts b/packages/nodes-base/nodes/Google/BigQuery/RecordDescription.ts index 712c6cd30b..6124e51c11 100644 --- a/packages/nodes-base/nodes/Google/BigQuery/RecordDescription.ts +++ b/packages/nodes-base/nodes/Google/BigQuery/RecordDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const recordOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Google/Books/GenericFunctions.ts b/packages/nodes-base/nodes/Google/Books/GenericFunctions.ts index 928c3522e1..298ef8fb46 100644 --- a/packages/nodes-base/nodes/Google/Books/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Google/Books/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } 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 01181c9c9c..33e80c46e4 100644 --- a/packages/nodes-base/nodes/Google/Books/GoogleBooks.node.ts +++ b/packages/nodes-base/nodes/Google/Books/GoogleBooks.node.ts @@ -1,6 +1,11 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { + IDataObject, + INodeExecutionData, + INodeType, + INodeTypeDescription, +} from 'n8n-workflow'; import { googleApiRequest, googleApiRequestAllItems } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Google/Calendar/CalendarDescription.ts b/packages/nodes-base/nodes/Google/Calendar/CalendarDescription.ts index e85168ba04..d712ead0f8 100644 --- a/packages/nodes-base/nodes/Google/Calendar/CalendarDescription.ts +++ b/packages/nodes-base/nodes/Google/Calendar/CalendarDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { TIMEZONE_VALIDATION_REGEX } from './GenericFunctions'; export const calendarOperations: INodeProperties[] = [ diff --git a/packages/nodes-base/nodes/Google/Calendar/EventDescription.ts b/packages/nodes-base/nodes/Google/Calendar/EventDescription.ts index 43c0485784..7bc486862b 100644 --- a/packages/nodes-base/nodes/Google/Calendar/EventDescription.ts +++ b/packages/nodes-base/nodes/Google/Calendar/EventDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { TIMEZONE_VALIDATION_REGEX } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Google/Calendar/EventInterface.ts b/packages/nodes-base/nodes/Google/Calendar/EventInterface.ts index fec1ca78fc..d1907fbf2d 100644 --- a/packages/nodes-base/nodes/Google/Calendar/EventInterface.ts +++ b/packages/nodes-base/nodes/Google/Calendar/EventInterface.ts @@ -1,4 +1,4 @@ -import { IDataObject } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; export interface IReminder { useDefault?: boolean; diff --git a/packages/nodes-base/nodes/Google/Calendar/GenericFunctions.ts b/packages/nodes-base/nodes/Google/Calendar/GenericFunctions.ts index 001c2653e1..e2bb7202ce 100644 --- a/packages/nodes-base/nodes/Google/Calendar/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Google/Calendar/GenericFunctions.ts @@ -1,14 +1,14 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { +import type { IDataObject, INodeListSearchItems, INodeListSearchResult, IPollFunctions, - NodeApiError, } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; import moment from 'moment-timezone'; diff --git a/packages/nodes-base/nodes/Google/Calendar/GoogleCalendar.node.ts b/packages/nodes-base/nodes/Google/Calendar/GoogleCalendar.node.ts index 824918654c..5ff26395be 100644 --- a/packages/nodes-base/nodes/Google/Calendar/GoogleCalendar.node.ts +++ b/packages/nodes-base/nodes/Google/Calendar/GoogleCalendar.node.ts @@ -1,15 +1,14 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, INodePropertyOptions, INodeType, INodeTypeDescription, - NodeApiError, - NodeOperationError, } from 'n8n-workflow'; +import { NodeApiError, NodeOperationError } from 'n8n-workflow'; import { encodeURIComponentOnce, @@ -23,7 +22,7 @@ import { eventFields, eventOperations } from './EventDescription'; import { calendarFields, calendarOperations } from './CalendarDescription'; -import { IEvent } from './EventInterface'; +import type { IEvent } from './EventInterface'; import moment from 'moment-timezone'; diff --git a/packages/nodes-base/nodes/Google/Calendar/GoogleCalendarTrigger.node.ts b/packages/nodes-base/nodes/Google/Calendar/GoogleCalendarTrigger.node.ts index 2bd10861e4..abea31f815 100644 --- a/packages/nodes-base/nodes/Google/Calendar/GoogleCalendarTrigger.node.ts +++ b/packages/nodes-base/nodes/Google/Calendar/GoogleCalendarTrigger.node.ts @@ -1,12 +1,11 @@ -import { +import type { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription, IPollFunctions, - NodeApiError, - NodeOperationError, } from 'n8n-workflow'; +import { NodeApiError, NodeOperationError } from 'n8n-workflow'; import { getCalendars, googleApiRequest, googleApiRequestAllItems } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Google/Chat/GenericFunctions.ts b/packages/nodes-base/nodes/Google/Chat/GenericFunctions.ts index edd79df375..9cbcb03882 100644 --- a/packages/nodes-base/nodes/Google/Chat/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Google/Chat/GenericFunctions.ts @@ -1,14 +1,14 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { +import type { // ICredentialDataDecryptedObject, ICredentialTestFunctions, IDataObject, INodeProperties, - NodeApiError, } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; import moment from 'moment-timezone'; diff --git a/packages/nodes-base/nodes/Google/Chat/GoogleChat.node.ts b/packages/nodes-base/nodes/Google/Chat/GoogleChat.node.ts index 6b80b967a9..fe7a73fbd0 100644 --- a/packages/nodes-base/nodes/Google/Chat/GoogleChat.node.ts +++ b/packages/nodes-base/nodes/Google/Chat/GoogleChat.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { ICredentialsDecrypted, ICredentialTestFunctions, IDataObject, @@ -10,12 +10,12 @@ import { INodePropertyOptions, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; -import { IMessage, IMessageUi } from './MessageInterface'; +import type { IMessage, IMessageUi } from './MessageInterface'; -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; import { // attachmentFields, diff --git a/packages/nodes-base/nodes/Google/Chat/MessageInterface.ts b/packages/nodes-base/nodes/Google/Chat/MessageInterface.ts index a2057a911a..8dc2d0e570 100644 --- a/packages/nodes-base/nodes/Google/Chat/MessageInterface.ts +++ b/packages/nodes-base/nodes/Google/Chat/MessageInterface.ts @@ -1,4 +1,4 @@ -import { IDataObject } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; export interface IMessage { name?: string; diff --git a/packages/nodes-base/nodes/Google/Chat/descriptions/AttachmentDescription.ts b/packages/nodes-base/nodes/Google/Chat/descriptions/AttachmentDescription.ts index ef3c5baa2c..e2f57b2dad 100644 --- a/packages/nodes-base/nodes/Google/Chat/descriptions/AttachmentDescription.ts +++ b/packages/nodes-base/nodes/Google/Chat/descriptions/AttachmentDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const attachmentOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Google/Chat/descriptions/IncomingWebhookDescription.ts b/packages/nodes-base/nodes/Google/Chat/descriptions/IncomingWebhookDescription.ts index 9f23c6559a..ea8e98256a 100644 --- a/packages/nodes-base/nodes/Google/Chat/descriptions/IncomingWebhookDescription.ts +++ b/packages/nodes-base/nodes/Google/Chat/descriptions/IncomingWebhookDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const incomingWebhookOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Google/Chat/descriptions/MediaDescription.ts b/packages/nodes-base/nodes/Google/Chat/descriptions/MediaDescription.ts index 1a8a2f9853..37131819ae 100644 --- a/packages/nodes-base/nodes/Google/Chat/descriptions/MediaDescription.ts +++ b/packages/nodes-base/nodes/Google/Chat/descriptions/MediaDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const mediaOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Google/Chat/descriptions/MemberDescription.ts b/packages/nodes-base/nodes/Google/Chat/descriptions/MemberDescription.ts index 7b29b4f1f3..759af43b6f 100644 --- a/packages/nodes-base/nodes/Google/Chat/descriptions/MemberDescription.ts +++ b/packages/nodes-base/nodes/Google/Chat/descriptions/MemberDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { getPagingParameters } from '../GenericFunctions'; diff --git a/packages/nodes-base/nodes/Google/Chat/descriptions/MessageDescription.ts b/packages/nodes-base/nodes/Google/Chat/descriptions/MessageDescription.ts index cc87e84819..5bdc1cabaa 100644 --- a/packages/nodes-base/nodes/Google/Chat/descriptions/MessageDescription.ts +++ b/packages/nodes-base/nodes/Google/Chat/descriptions/MessageDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const messageOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Google/Chat/descriptions/SpaceDescription.ts b/packages/nodes-base/nodes/Google/Chat/descriptions/SpaceDescription.ts index e22fca8e6a..dd922d1770 100644 --- a/packages/nodes-base/nodes/Google/Chat/descriptions/SpaceDescription.ts +++ b/packages/nodes-base/nodes/Google/Chat/descriptions/SpaceDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { getPagingParameters } from '../GenericFunctions'; diff --git a/packages/nodes-base/nodes/Google/CloudNaturalLanguage/GenericFunctions.ts b/packages/nodes-base/nodes/Google/CloudNaturalLanguage/GenericFunctions.ts index 8b67ddf83c..3d7a1d5624 100644 --- a/packages/nodes-base/nodes/Google/CloudNaturalLanguage/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Google/CloudNaturalLanguage/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function googleApiRequest( this: IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Google/CloudNaturalLanguage/GoogleCloudNaturalLanguage.node.ts b/packages/nodes-base/nodes/Google/CloudNaturalLanguage/GoogleCloudNaturalLanguage.node.ts index e0b3e41c52..da43d10a8e 100644 --- a/packages/nodes-base/nodes/Google/CloudNaturalLanguage/GoogleCloudNaturalLanguage.node.ts +++ b/packages/nodes-base/nodes/Google/CloudNaturalLanguage/GoogleCloudNaturalLanguage.node.ts @@ -1,8 +1,8 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; -import { IData } from './Interface'; +import type { IData } from './Interface'; import { googleApiRequest } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Google/CloudStorage/BucketDescription.ts b/packages/nodes-base/nodes/Google/CloudStorage/BucketDescription.ts index 585a9b3564..0cf0aabc9f 100644 --- a/packages/nodes-base/nodes/Google/CloudStorage/BucketDescription.ts +++ b/packages/nodes-base/nodes/Google/CloudStorage/BucketDescription.ts @@ -1,4 +1,4 @@ -import { +import type { IDataObject, IExecuteSingleFunctions, IHttpRequestOptions, diff --git a/packages/nodes-base/nodes/Google/CloudStorage/GoogleCloudStorage.node.ts b/packages/nodes-base/nodes/Google/CloudStorage/GoogleCloudStorage.node.ts index 92c9be06b1..6997af5c81 100644 --- a/packages/nodes-base/nodes/Google/CloudStorage/GoogleCloudStorage.node.ts +++ b/packages/nodes-base/nodes/Google/CloudStorage/GoogleCloudStorage.node.ts @@ -1,4 +1,4 @@ -import { INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { INodeType, INodeTypeDescription } from 'n8n-workflow'; import { bucketFields, bucketOperations } from './BucketDescription'; import { objectFields, objectOperations } from './ObjectDescription'; diff --git a/packages/nodes-base/nodes/Google/CloudStorage/ObjectDescription.ts b/packages/nodes-base/nodes/Google/CloudStorage/ObjectDescription.ts index dd6e4c2bee..661f33c026 100644 --- a/packages/nodes-base/nodes/Google/CloudStorage/ObjectDescription.ts +++ b/packages/nodes-base/nodes/Google/CloudStorage/ObjectDescription.ts @@ -1,5 +1,6 @@ import FormData from 'form-data'; -import { IDataObject, INodeExecutionData, INodeProperties, NodeOperationError } from 'n8n-workflow'; +import type { IDataObject, INodeExecutionData, INodeProperties } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; // Define these because we'll be using them in two separate places const metagenerationFilters: INodeProperties[] = [ diff --git a/packages/nodes-base/nodes/Google/Contacts/ContactDescription.ts b/packages/nodes-base/nodes/Google/Contacts/ContactDescription.ts index fef8dab9ba..49e6f83482 100644 --- a/packages/nodes-base/nodes/Google/Contacts/ContactDescription.ts +++ b/packages/nodes-base/nodes/Google/Contacts/ContactDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const contactOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Google/Contacts/GenericFunctions.ts b/packages/nodes-base/nodes/Google/Contacts/GenericFunctions.ts index a269b0282d..0b8d0b9c3c 100644 --- a/packages/nodes-base/nodes/Google/Contacts/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Google/Contacts/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function googleApiRequest( this: IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Google/Contacts/GoogleContacts.node.ts b/packages/nodes-base/nodes/Google/Contacts/GoogleContacts.node.ts index f13cb29efd..b71bb82530 100644 --- a/packages/nodes-base/nodes/Google/Contacts/GoogleContacts.node.ts +++ b/packages/nodes-base/nodes/Google/Contacts/GoogleContacts.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Google/Docs/DocumentDescription.ts b/packages/nodes-base/nodes/Google/Docs/DocumentDescription.ts index 388abe1bc2..5bc45138f7 100644 --- a/packages/nodes-base/nodes/Google/Docs/DocumentDescription.ts +++ b/packages/nodes-base/nodes/Google/Docs/DocumentDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const documentOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Google/Docs/GenericFunctions.ts b/packages/nodes-base/nodes/Google/Docs/GenericFunctions.ts index 9041049f82..17b67f6852 100644 --- a/packages/nodes-base/nodes/Google/Docs/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Google/Docs/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } 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 8d96d2ab48..2e2d1fa5c9 100644 --- a/packages/nodes-base/nodes/Google/Docs/GoogleDocs.node.ts +++ b/packages/nodes-base/nodes/Google/Docs/GoogleDocs.node.ts @@ -1,13 +1,13 @@ -import { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { +import type { IDataObject, INodeExecutionData, INodePropertyOptions, INodeType, INodeTypeDescription, - NodeApiError, } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; import { extractID, @@ -19,7 +19,7 @@ import { import { documentFields, documentOperations } from './DocumentDescription'; -import { IUpdateBody, IUpdateFields } from './interfaces'; +import type { IUpdateBody, IUpdateFields } from './interfaces'; export class GoogleDocs implements INodeType { description: INodeTypeDescription = { diff --git a/packages/nodes-base/nodes/Google/Drive/GenericFunctions.ts b/packages/nodes-base/nodes/Google/Drive/GenericFunctions.ts index db8091a8a1..ded6d7b49b 100644 --- a/packages/nodes-base/nodes/Google/Drive/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Google/Drive/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject, IPollFunctions, NodeApiError } from 'n8n-workflow'; +import type { IDataObject, IPollFunctions } 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 5dfb159462..dffd96ccbc 100644 --- a/packages/nodes-base/nodes/Google/Drive/GoogleDrive.node.ts +++ b/packages/nodes-base/nodes/Google/Drive/GoogleDrive.node.ts @@ -1,12 +1,13 @@ -import { BINARY_ENCODING, IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; +import { BINARY_ENCODING } from 'n8n-core'; -import { +import type { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } 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 387dbcbc98..82080fe457 100644 --- a/packages/nodes-base/nodes/Google/Drive/GoogleDriveTrigger.node.ts +++ b/packages/nodes-base/nodes/Google/Drive/GoogleDriveTrigger.node.ts @@ -1,14 +1,14 @@ -import { IPollFunctions } from 'n8n-core'; +import type { IPollFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, INodePropertyOptions, INodeType, INodeTypeDescription, - NodeApiError, } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; import { extractId, googleApiRequest, googleApiRequestAllItems } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Google/Drive/SearchFunctions.ts b/packages/nodes-base/nodes/Google/Drive/SearchFunctions.ts index 82e9d5562f..41c4da16ea 100644 --- a/packages/nodes-base/nodes/Google/Drive/SearchFunctions.ts +++ b/packages/nodes-base/nodes/Google/Drive/SearchFunctions.ts @@ -1,4 +1,4 @@ -import { ILoadOptionsFunctions, INodeListSearchResult } from 'n8n-workflow'; +import type { ILoadOptionsFunctions, INodeListSearchResult } from 'n8n-workflow'; import { googleApiRequest } from './GenericFunctions'; interface GoogleDriveFilesItem { diff --git a/packages/nodes-base/nodes/Google/Firebase/CloudFirestore/CollectionDescription.ts b/packages/nodes-base/nodes/Google/Firebase/CloudFirestore/CollectionDescription.ts index b5924277c0..1a7bee71ff 100644 --- a/packages/nodes-base/nodes/Google/Firebase/CloudFirestore/CollectionDescription.ts +++ b/packages/nodes-base/nodes/Google/Firebase/CloudFirestore/CollectionDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const collectionOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Google/Firebase/CloudFirestore/DocumentDescription.ts b/packages/nodes-base/nodes/Google/Firebase/CloudFirestore/DocumentDescription.ts index 737af4c205..0214911899 100644 --- a/packages/nodes-base/nodes/Google/Firebase/CloudFirestore/DocumentDescription.ts +++ b/packages/nodes-base/nodes/Google/Firebase/CloudFirestore/DocumentDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const documentOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Google/Firebase/CloudFirestore/GenericFunctions.ts b/packages/nodes-base/nodes/Google/Firebase/CloudFirestore/GenericFunctions.ts index 7559819fdb..446e880792 100644 --- a/packages/nodes-base/nodes/Google/Firebase/CloudFirestore/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Google/Firebase/CloudFirestore/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } 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 7b5c67c496..a32b4fc194 100644 --- a/packages/nodes-base/nodes/Google/Firebase/CloudFirestore/GoogleFirebaseCloudFirestore.node.ts +++ b/packages/nodes-base/nodes/Google/Firebase/CloudFirestore/GoogleFirebaseCloudFirestore.node.ts @@ -1,14 +1,14 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, INodePropertyOptions, INodeType, INodeTypeDescription, - jsonParse, } from 'n8n-workflow'; +import { jsonParse } from 'n8n-workflow'; import { fullDocumentToJson, diff --git a/packages/nodes-base/nodes/Google/Firebase/RealtimeDatabase/GenericFunctions.ts b/packages/nodes-base/nodes/Google/Firebase/RealtimeDatabase/GenericFunctions.ts index 80b4957843..7ea04f3c05 100644 --- a/packages/nodes-base/nodes/Google/Firebase/RealtimeDatabase/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Google/Firebase/RealtimeDatabase/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { OptionsWithUrl } from 'request'; +import type { OptionsWithUrl } from 'request'; -import { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject, JsonObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject, JsonObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function googleApiRequest( this: IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, 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 2cdfbdb041..65ff373938 100644 --- a/packages/nodes-base/nodes/Google/Firebase/RealtimeDatabase/GoogleFirebaseRealtimeDatabase.node.ts +++ b/packages/nodes-base/nodes/Google/Firebase/RealtimeDatabase/GoogleFirebaseRealtimeDatabase.node.ts @@ -1,15 +1,14 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, INodePropertyOptions, INodeType, INodeTypeDescription, - NodeApiError, - NodeOperationError, } from 'n8n-workflow'; +import { NodeApiError, NodeOperationError } from 'n8n-workflow'; import { googleApiRequest, googleApiRequestAllItems } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Google/GSuiteAdmin/GSuiteAdmin.node.ts b/packages/nodes-base/nodes/Google/GSuiteAdmin/GSuiteAdmin.node.ts index f40509241d..5604f40363 100644 --- a/packages/nodes-base/nodes/Google/GSuiteAdmin/GSuiteAdmin.node.ts +++ b/packages/nodes-base/nodes/Google/GSuiteAdmin/GSuiteAdmin.node.ts @@ -1,14 +1,14 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, INodePropertyOptions, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { googleApiRequest, googleApiRequestAllItems } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Google/GSuiteAdmin/GenericFunctions.ts b/packages/nodes-base/nodes/Google/GSuiteAdmin/GenericFunctions.ts index d3ab4f0475..29c6f2acf8 100644 --- a/packages/nodes-base/nodes/Google/GSuiteAdmin/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Google/GSuiteAdmin/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function googleApiRequest( this: IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Google/GSuiteAdmin/GroupDescripion.ts b/packages/nodes-base/nodes/Google/GSuiteAdmin/GroupDescripion.ts index ef628de4bf..a48a6a585e 100644 --- a/packages/nodes-base/nodes/Google/GSuiteAdmin/GroupDescripion.ts +++ b/packages/nodes-base/nodes/Google/GSuiteAdmin/GroupDescripion.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const groupOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Google/GSuiteAdmin/UserDescription.ts b/packages/nodes-base/nodes/Google/GSuiteAdmin/UserDescription.ts index 208c16e8e4..499e5b0ce5 100644 --- a/packages/nodes-base/nodes/Google/GSuiteAdmin/UserDescription.ts +++ b/packages/nodes-base/nodes/Google/GSuiteAdmin/UserDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const userOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Google/Gmail/GenericFunctions.ts b/packages/nodes-base/nodes/Google/Gmail/GenericFunctions.ts index e60884a411..3bc7cfb9dc 100644 --- a/packages/nodes-base/nodes/Google/Gmail/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Google/Gmail/GenericFunctions.ts @@ -1,18 +1,17 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; import { simpleParser } from 'mailparser'; -import { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { +import type { IBinaryKeyData, ICredentialDataDecryptedObject, IDataObject, INodeExecutionData, IPollFunctions, - NodeApiError, - NodeOperationError, } from 'n8n-workflow'; +import { NodeApiError, NodeOperationError } from 'n8n-workflow'; import moment from 'moment-timezone'; diff --git a/packages/nodes-base/nodes/Google/Gmail/Gmail.node.ts b/packages/nodes-base/nodes/Google/Gmail/Gmail.node.ts index b217dea7ad..56ed095bf2 100644 --- a/packages/nodes-base/nodes/Google/Gmail/Gmail.node.ts +++ b/packages/nodes-base/nodes/Google/Gmail/Gmail.node.ts @@ -1,4 +1,5 @@ -import { INodeTypeBaseDescription, IVersionedNodeType, VersionedNodeType } from 'n8n-workflow'; +import type { INodeTypeBaseDescription, IVersionedNodeType } from 'n8n-workflow'; +import { VersionedNodeType } from 'n8n-workflow'; import { GmailV1 } from './v1/GmailV1.node'; import { GmailV2 } from './v2/GmailV2.node'; diff --git a/packages/nodes-base/nodes/Google/Gmail/GmailTrigger.node.ts b/packages/nodes-base/nodes/Google/Gmail/GmailTrigger.node.ts index 6e364306a3..d14363e947 100644 --- a/packages/nodes-base/nodes/Google/Gmail/GmailTrigger.node.ts +++ b/packages/nodes-base/nodes/Google/Gmail/GmailTrigger.node.ts @@ -1,14 +1,14 @@ -import { IPollFunctions } from 'n8n-core'; +import type { IPollFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, INodePropertyOptions, INodeType, INodeTypeDescription, - LoggerProxy as Logger, } from 'n8n-workflow'; +import { LoggerProxy as Logger } from 'n8n-workflow'; import { googleApiRequest, diff --git a/packages/nodes-base/nodes/Google/Gmail/v1/DraftDescription.ts b/packages/nodes-base/nodes/Google/Gmail/v1/DraftDescription.ts index 8c0cbc48bd..2cc2d8bd97 100644 --- a/packages/nodes-base/nodes/Google/Gmail/v1/DraftDescription.ts +++ b/packages/nodes-base/nodes/Google/Gmail/v1/DraftDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const draftOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Google/Gmail/v1/GmailV1.node.ts b/packages/nodes-base/nodes/Google/Gmail/v1/GmailV1.node.ts index 8ef63b1e24..d97a6edec0 100644 --- a/packages/nodes-base/nodes/Google/Gmail/v1/GmailV1.node.ts +++ b/packages/nodes-base/nodes/Google/Gmail/v1/GmailV1.node.ts @@ -1,7 +1,7 @@ /* eslint-disable n8n-nodes-base/node-filename-against-convention */ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IBinaryKeyData, IDataObject, ILoadOptionsFunctions, @@ -12,12 +12,12 @@ import { INodeTypeDescription, } from 'n8n-workflow'; +import type { IEmail } from '../GenericFunctions'; import { encodeEmail, extractEmail, googleApiRequest, googleApiRequestAllItems, - IEmail, parseRawEmail, } from '../GenericFunctions'; diff --git a/packages/nodes-base/nodes/Google/Gmail/v1/LabelDescription.ts b/packages/nodes-base/nodes/Google/Gmail/v1/LabelDescription.ts index 151b9926cb..9eddf96fca 100644 --- a/packages/nodes-base/nodes/Google/Gmail/v1/LabelDescription.ts +++ b/packages/nodes-base/nodes/Google/Gmail/v1/LabelDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const labelOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Google/Gmail/v1/MessageDescription.ts b/packages/nodes-base/nodes/Google/Gmail/v1/MessageDescription.ts index b89bf70911..bba8f3437b 100644 --- a/packages/nodes-base/nodes/Google/Gmail/v1/MessageDescription.ts +++ b/packages/nodes-base/nodes/Google/Gmail/v1/MessageDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const messageOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Google/Gmail/v1/MessageLabelDescription.ts b/packages/nodes-base/nodes/Google/Gmail/v1/MessageLabelDescription.ts index 3e95ba6bae..961b7d8ca9 100644 --- a/packages/nodes-base/nodes/Google/Gmail/v1/MessageLabelDescription.ts +++ b/packages/nodes-base/nodes/Google/Gmail/v1/MessageLabelDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const messageLabelOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Google/Gmail/v2/DraftDescription.ts b/packages/nodes-base/nodes/Google/Gmail/v2/DraftDescription.ts index 447ab3ac12..25a42d853e 100644 --- a/packages/nodes-base/nodes/Google/Gmail/v2/DraftDescription.ts +++ b/packages/nodes-base/nodes/Google/Gmail/v2/DraftDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const draftOperations: INodeProperties[] = [ { 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 dbf135e1d4..7e1deb2387 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,7 @@ /* eslint-disable n8n-nodes-base/node-filename-against-convention */ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, @@ -9,14 +9,14 @@ import { INodeType, INodeTypeBaseDescription, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; +import type { IEmail } from '../GenericFunctions'; import { encodeEmail, googleApiRequest, googleApiRequestAllItems, - IEmail, parseRawEmail, prepareEmailAttachments, prepareEmailBody, diff --git a/packages/nodes-base/nodes/Google/Gmail/v2/LabelDescription.ts b/packages/nodes-base/nodes/Google/Gmail/v2/LabelDescription.ts index e01340d192..8d966dca9c 100644 --- a/packages/nodes-base/nodes/Google/Gmail/v2/LabelDescription.ts +++ b/packages/nodes-base/nodes/Google/Gmail/v2/LabelDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const labelOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Google/Gmail/v2/MessageDescription.ts b/packages/nodes-base/nodes/Google/Gmail/v2/MessageDescription.ts index a98ddbbd98..d824d66ace 100644 --- a/packages/nodes-base/nodes/Google/Gmail/v2/MessageDescription.ts +++ b/packages/nodes-base/nodes/Google/Gmail/v2/MessageDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const messageOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Google/Gmail/v2/ThreadDescription.ts b/packages/nodes-base/nodes/Google/Gmail/v2/ThreadDescription.ts index c5e146a0b9..e1e2a4693c 100644 --- a/packages/nodes-base/nodes/Google/Gmail/v2/ThreadDescription.ts +++ b/packages/nodes-base/nodes/Google/Gmail/v2/ThreadDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const threadOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Google/Perspective/GenericFunctions.ts b/packages/nodes-base/nodes/Google/Perspective/GenericFunctions.ts index c6f7859720..3b2993dc5a 100644 --- a/packages/nodes-base/nodes/Google/Perspective/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Google/Perspective/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function googleApiRequest( this: IExecuteFunctions, diff --git a/packages/nodes-base/nodes/Google/Perspective/GooglePerspective.node.ts b/packages/nodes-base/nodes/Google/Perspective/GooglePerspective.node.ts index 07699ecbda..350eb29e52 100644 --- a/packages/nodes-base/nodes/Google/Perspective/GooglePerspective.node.ts +++ b/packages/nodes-base/nodes/Google/Perspective/GooglePerspective.node.ts @@ -1,15 +1,20 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { ILoadOptionsFunctions, INodeExecutionData, INodePropertyOptions, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; -import { AttributesValuesUi, CommentAnalyzeBody, Language, RequestedAttributes } from './types'; +import type { + AttributesValuesUi, + CommentAnalyzeBody, + Language, + RequestedAttributes, +} from './types'; import { googleApiRequest } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Google/Sheet/GoogleSheets.node.ts b/packages/nodes-base/nodes/Google/Sheet/GoogleSheets.node.ts index 54837e1982..2ee3f429b9 100644 --- a/packages/nodes-base/nodes/Google/Sheet/GoogleSheets.node.ts +++ b/packages/nodes-base/nodes/Google/Sheet/GoogleSheets.node.ts @@ -1,4 +1,5 @@ -import { INodeTypeBaseDescription, IVersionedNodeType, VersionedNodeType } from 'n8n-workflow'; +import type { INodeTypeBaseDescription, IVersionedNodeType } from 'n8n-workflow'; +import { VersionedNodeType } from 'n8n-workflow'; import { GoogleSheetsV1 } from './v1/GoogleSheetsV1.node'; import { GoogleSheetsV2 } from './v2/GoogleSheetsV2.node'; diff --git a/packages/nodes-base/nodes/Google/Sheet/GoogleSheetsTrigger.node.ts b/packages/nodes-base/nodes/Google/Sheet/GoogleSheetsTrigger.node.ts index 516a43ec74..e4bcb37816 100644 --- a/packages/nodes-base/nodes/Google/Sheet/GoogleSheetsTrigger.node.ts +++ b/packages/nodes-base/nodes/Google/Sheet/GoogleSheetsTrigger.node.ts @@ -1,17 +1,17 @@ -import { +import type { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription, IPollFunctions, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { apiRequest } from './v2/transport'; import { sheetsSearch, spreadSheetsSearch } from './v2/methods/listSearch'; import { GoogleSheet } from './v2/helpers/GoogleSheet'; import { getSheetHeaderRowAndSkipEmpty } from './v2/methods/loadOptions'; -import { ValueRenderOption } from './v2/helpers/GoogleSheets.types'; +import type { ValueRenderOption } from './v2/helpers/GoogleSheets.types'; import { arrayOfArraysToJson, diff --git a/packages/nodes-base/nodes/Google/Sheet/GoogleSheetsTrigger.utils.ts b/packages/nodes-base/nodes/Google/Sheet/GoogleSheetsTrigger.utils.ts index b54507f4fe..25969716fc 100644 --- a/packages/nodes-base/nodes/Google/Sheet/GoogleSheetsTrigger.utils.ts +++ b/packages/nodes-base/nodes/Google/Sheet/GoogleSheetsTrigger.utils.ts @@ -1,6 +1,6 @@ -import { IDataObject, IPollFunctions } from 'n8n-workflow'; +import type { IDataObject, IPollFunctions } from 'n8n-workflow'; import { apiRequest } from './v2/transport'; -import { SheetDataRow, SheetRangeData } from './v2/helpers/GoogleSheets.types'; +import type { SheetDataRow, SheetRangeData } from './v2/helpers/GoogleSheets.types'; import * as XLSX from 'xlsx'; import { isEqual, zip } from 'lodash'; diff --git a/packages/nodes-base/nodes/Google/Sheet/v1/GenericFunctions.ts b/packages/nodes-base/nodes/Google/Sheet/v1/GenericFunctions.ts index c5426b5cab..713d35a3c0 100644 --- a/packages/nodes-base/nodes/Google/Sheet/v1/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Google/Sheet/v1/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { ICredentialTestFunctions, IDataObject, NodeApiError } from 'n8n-workflow'; +import type { ICredentialTestFunctions, IDataObject } 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 0c8c72022f..70b2b0d6ce 100644 --- a/packages/nodes-base/nodes/Google/Sheet/v1/GoogleSheet.ts +++ b/packages/nodes-base/nodes/Google/Sheet/v1/GoogleSheet.ts @@ -1,6 +1,7 @@ -import { IDataObject, NodeOperationError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; -import { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; import { googleApiRequest } from './GenericFunctions'; 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 811982afee..5c9c3ff5ac 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,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { ICredentialsDecrypted, ICredentialTestFunctions, IDataObject, @@ -11,24 +11,20 @@ import { INodeType, INodeTypeBaseDescription, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; -import { - GoogleSheet, +import type { ILookupValues, ISheetUpdateData, IToDelete, ValueInputOption, ValueRenderOption, } from './GoogleSheet'; +import { GoogleSheet } from './GoogleSheet'; -import { - getAccessToken, - googleApiRequest, - hexToRgb, - IGoogleAuthCredentials, -} from './GenericFunctions'; +import type { IGoogleAuthCredentials } from './GenericFunctions'; +import { getAccessToken, googleApiRequest, hexToRgb } from './GenericFunctions'; import { versionDescription } from './versionDescription'; diff --git a/packages/nodes-base/nodes/Google/Sheet/v1/versionDescription.ts b/packages/nodes-base/nodes/Google/Sheet/v1/versionDescription.ts index 573775cf9f..a8fdd72362 100644 --- a/packages/nodes-base/nodes/Google/Sheet/v1/versionDescription.ts +++ b/packages/nodes-base/nodes/Google/Sheet/v1/versionDescription.ts @@ -1,5 +1,5 @@ /* eslint-disable n8n-nodes-base/node-filename-against-convention */ -import { INodeTypeDescription } from 'n8n-workflow'; +import type { INodeTypeDescription } from 'n8n-workflow'; export const versionDescription: INodeTypeDescription = { displayName: 'Google Sheets ', 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 b0b40e300a..3c285a4f7f 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,5 @@ -import { IExecuteFunctions } from 'n8n-core'; -import { INodeType, INodeTypeBaseDescription, INodeTypeDescription } from 'n8n-workflow'; +import type { IExecuteFunctions } from 'n8n-core'; +import type { 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 74034493b7..89ad4268c3 100644 --- a/packages/nodes-base/nodes/Google/Sheet/v2/actions/router.ts +++ b/packages/nodes-base/nodes/Google/Sheet/v2/actions/router.ts @@ -1,10 +1,10 @@ -import { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IExecuteFunctions } from 'n8n-core'; +import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; import * as sheet from './sheet/Sheet.resource'; import * as spreadsheet from './spreadsheet/SpreadSheet.resource'; import { GoogleSheet } from '../helpers/GoogleSheet'; import { getSpreadsheetId } from '../helpers/GoogleSheets.utils'; -import { GoogleSheets, ResourceLocator } from '../helpers/GoogleSheets.types'; +import type { GoogleSheets, ResourceLocator } from '../helpers/GoogleSheets.types'; export async function router(this: IExecuteFunctions): Promise { const operationResult: INodeExecutionData[] = []; diff --git a/packages/nodes-base/nodes/Google/Sheet/v2/actions/sheet/Sheet.resource.ts b/packages/nodes-base/nodes/Google/Sheet/v2/actions/sheet/Sheet.resource.ts index 80799e7729..b6ea2b41d5 100644 --- a/packages/nodes-base/nodes/Google/Sheet/v2/actions/sheet/Sheet.resource.ts +++ b/packages/nodes-base/nodes/Google/Sheet/v2/actions/sheet/Sheet.resource.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import * as append from './append.operation'; import * as appendOrUpdate from './appendOrUpdate.operation'; import * as clear from './clear.operation'; 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 bce02f26cd..4e4b0146a6 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,7 +1,7 @@ -import { IExecuteFunctions } from 'n8n-core'; -import { SheetProperties, ValueInputOption } from '../../helpers/GoogleSheets.types'; -import { IDataObject, INodeExecutionData } from 'n8n-workflow'; -import { GoogleSheet } from '../../helpers/GoogleSheet'; +import type { IExecuteFunctions } from 'n8n-core'; +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 04620109d6..fc74d82467 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,12 +1,13 @@ -import { IExecuteFunctions } from 'n8n-core'; -import { +import type { IExecuteFunctions } from 'n8n-core'; +import type { ISheetUpdateData, SheetProperties, ValueInputOption, ValueRenderOption, } from '../../helpers/GoogleSheets.types'; -import { IDataObject, INodeExecutionData, NodeOperationError } from 'n8n-workflow'; -import { GoogleSheet } from '../../helpers/GoogleSheet'; +import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; +import type { GoogleSheet } from '../../helpers/GoogleSheet'; import { untilSheetSelected } from '../../helpers/GoogleSheets.utils'; import { cellFormat, handlingExtraData, locationDefine } from './commonDescription'; 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 f0fb325c20..54fbe7f0c4 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,7 +1,7 @@ -import { IExecuteFunctions } from 'n8n-core'; -import { INodeExecutionData } from 'n8n-workflow'; -import { SheetProperties } from '../../helpers/GoogleSheets.types'; -import { GoogleSheet } from '../../helpers/GoogleSheet'; +import type { IExecuteFunctions } from 'n8n-core'; +import type { INodeExecutionData } from 'n8n-workflow'; +import type { SheetProperties } from '../../helpers/GoogleSheets.types'; +import type { GoogleSheet } from '../../helpers/GoogleSheet'; import { getColumnName, getColumnNumber, diff --git a/packages/nodes-base/nodes/Google/Sheet/v2/actions/sheet/commonDescription.ts b/packages/nodes-base/nodes/Google/Sheet/v2/actions/sheet/commonDescription.ts index fc31112e4b..8a78f894a5 100644 --- a/packages/nodes-base/nodes/Google/Sheet/v2/actions/sheet/commonDescription.ts +++ b/packages/nodes-base/nodes/Google/Sheet/v2/actions/sheet/commonDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const dataLocationOnSheet: INodeProperties[] = [ { 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 61566cfd8c..70946a6e15 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,8 +1,8 @@ -import { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData } from 'n8n-workflow'; -import { SheetProperties } from '../../helpers/GoogleSheets.types'; +import type { IExecuteFunctions } from 'n8n-core'; +import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { SheetProperties } from '../../helpers/GoogleSheets.types'; import { apiRequest } from '../../transport'; -import { GoogleSheet } from '../../helpers/GoogleSheet'; +import type { GoogleSheet } from '../../helpers/GoogleSheet'; import { getExistingSheetNames, hexToRgb } from '../../helpers/GoogleSheets.utils'; export const description: SheetProperties = [ 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 c1d3832ba9..f23435cf61 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,7 +1,7 @@ -import { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData } from 'n8n-workflow'; -import { SheetProperties } from '../../helpers/GoogleSheets.types'; -import { GoogleSheet } from '../../helpers/GoogleSheet'; +import type { IExecuteFunctions } from 'n8n-core'; +import type { 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'; export const description: SheetProperties = [ 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 14731532b5..6e48096f00 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,13 +1,13 @@ -import { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData } from 'n8n-workflow'; -import { GoogleSheet } from '../../helpers/GoogleSheet'; +import type { IExecuteFunctions } from 'n8n-core'; +import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { GoogleSheet } from '../../helpers/GoogleSheet'; import { getRangeString, prepareSheetData, untilSheetSelected, } from '../../helpers/GoogleSheets.utils'; import { dataLocationOnSheet, outputFormatting } from './commonDescription'; -import { +import type { ILookupValues, RangeDetectionOptions, SheetProperties, 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 1740a5ce17..442cd2a0da 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,7 +1,7 @@ -import { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IExecuteFunctions } from 'n8n-core'; +import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../transport'; -import { GoogleSheet } from '../../helpers/GoogleSheet'; +import type { GoogleSheet } from '../../helpers/GoogleSheet'; export async function execute( this: IExecuteFunctions, 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 17a1cbe225..da0de7881c 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,12 +1,13 @@ -import { IExecuteFunctions } from 'n8n-core'; -import { +import type { IExecuteFunctions } from 'n8n-core'; +import type { ISheetUpdateData, SheetProperties, ValueInputOption, ValueRenderOption, } from '../../helpers/GoogleSheets.types'; -import { IDataObject, INodeExecutionData, NodeOperationError } from 'n8n-workflow'; -import { GoogleSheet } from '../../helpers/GoogleSheet'; +import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; +import type { GoogleSheet } from '../../helpers/GoogleSheet'; import { untilSheetSelected } from '../../helpers/GoogleSheets.utils'; import { cellFormat, handlingExtraData, locationDefine } from './commonDescription'; diff --git a/packages/nodes-base/nodes/Google/Sheet/v2/actions/spreadsheet/SpreadSheet.resource.ts b/packages/nodes-base/nodes/Google/Sheet/v2/actions/spreadsheet/SpreadSheet.resource.ts index 5693387453..f7243fa9c1 100644 --- a/packages/nodes-base/nodes/Google/Sheet/v2/actions/spreadsheet/SpreadSheet.resource.ts +++ b/packages/nodes-base/nodes/Google/Sheet/v2/actions/spreadsheet/SpreadSheet.resource.ts @@ -1,6 +1,6 @@ import * as create from './create.operation'; import * as deleteSpreadsheet from './delete.operation'; -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export { create, deleteSpreadsheet }; 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 c20cbb8da9..060babac73 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,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData } from 'n8n-workflow'; -import { SpreadSheetProperties } from '../../helpers/GoogleSheets.types'; +import type { IExecuteFunctions } from 'n8n-core'; +import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { SpreadSheetProperties } from '../../helpers/GoogleSheets.types'; import { apiRequest } from '../../transport'; export const description: SpreadSheetProperties = [ 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 319dbd363c..f7322db8ea 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,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData } from 'n8n-workflow'; -import { SpreadSheetProperties } from '../../helpers/GoogleSheets.types'; +import type { IExecuteFunctions } from 'n8n-core'; +import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { SpreadSheetProperties } from '../../helpers/GoogleSheets.types'; import { apiRequest } from '../../transport'; export const description: SpreadSheetProperties = [ diff --git a/packages/nodes-base/nodes/Google/Sheet/v2/actions/versionDescription.ts b/packages/nodes-base/nodes/Google/Sheet/v2/actions/versionDescription.ts index 3dfaed137f..7150997dbf 100644 --- a/packages/nodes-base/nodes/Google/Sheet/v2/actions/versionDescription.ts +++ b/packages/nodes-base/nodes/Google/Sheet/v2/actions/versionDescription.ts @@ -1,5 +1,5 @@ /* eslint-disable n8n-nodes-base/node-filename-against-convention */ -import { INodeTypeDescription } from 'n8n-workflow'; +import type { INodeTypeDescription } from 'n8n-workflow'; import * as sheet from './sheet/Sheet.resource'; import * as spreadsheet from './spreadsheet/SpreadSheet.resource'; 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 dff6f56824..19fd626ed2 100644 --- a/packages/nodes-base/nodes/Google/Sheet/v2/helpers/GoogleSheet.ts +++ b/packages/nodes-base/nodes/Google/Sheet/v2/helpers/GoogleSheet.ts @@ -1,9 +1,10 @@ -import { IDataObject, IPollFunctions, NodeOperationError } from 'n8n-workflow'; -import { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { 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'; -import { +import type { ILookupValues, ISheetUpdateData, SheetCellDecoded, diff --git a/packages/nodes-base/nodes/Google/Sheet/v2/helpers/GoogleSheets.types.ts b/packages/nodes-base/nodes/Google/Sheet/v2/helpers/GoogleSheets.types.ts index e7ab8d46aa..aac00508c4 100644 --- a/packages/nodes-base/nodes/Google/Sheet/v2/helpers/GoogleSheets.types.ts +++ b/packages/nodes-base/nodes/Google/Sheet/v2/helpers/GoogleSheets.types.ts @@ -1,4 +1,4 @@ -import { AllEntities, Entity, PropertiesOf } from 'n8n-workflow'; +import type { AllEntities, Entity, PropertiesOf } from 'n8n-workflow'; export const ROW_NUMBER = 'row_number'; 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 e480c3a8b1..7d4fab0236 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,20 +1,19 @@ -import { IExecuteFunctions } from 'n8n-core'; -import { +import type { IExecuteFunctions } from 'n8n-core'; +import type { IDataObject, INodeExecutionData, INodeListSearchItems, INodePropertyOptions, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import type { GoogleSheet } from './GoogleSheet'; -import { +import type { RangeDetectionOptions, ResourceLocator, - ResourceLocatorUiNames, - ROW_NUMBER, SheetRangeData, ValueInputOption, } from './GoogleSheets.types'; +import { ResourceLocatorUiNames, ROW_NUMBER } from './GoogleSheets.types'; export const untilSheetSelected = { sheetName: [''] }; diff --git a/packages/nodes-base/nodes/Google/Sheet/v2/methods/credentialTest.ts b/packages/nodes-base/nodes/Google/Sheet/v2/methods/credentialTest.ts index fe50d1d81b..5d344ebe37 100644 --- a/packages/nodes-base/nodes/Google/Sheet/v2/methods/credentialTest.ts +++ b/packages/nodes-base/nodes/Google/Sheet/v2/methods/credentialTest.ts @@ -1,10 +1,11 @@ -import { +import type { ICredentialsDecrypted, ICredentialTestFunctions, INodeCredentialTestResult, } from 'n8n-workflow'; -import { getAccessToken, IGoogleAuthCredentials } from '../transport'; +import type { IGoogleAuthCredentials } from '../transport'; +import { getAccessToken } from '../transport'; export async function googleApiCredentialTest( this: ICredentialTestFunctions, diff --git a/packages/nodes-base/nodes/Google/Sheet/v2/methods/listSearch.ts b/packages/nodes-base/nodes/Google/Sheet/v2/methods/listSearch.ts index 0fecf5c0f8..60fb036ad7 100644 --- a/packages/nodes-base/nodes/Google/Sheet/v2/methods/listSearch.ts +++ b/packages/nodes-base/nodes/Google/Sheet/v2/methods/listSearch.ts @@ -1,11 +1,11 @@ -import { +import type { IDataObject, ILoadOptionsFunctions, INodeListSearchItems, INodeListSearchResult, - NodeOperationError, } from 'n8n-workflow'; -import { ResourceLocator } from '../helpers/GoogleSheets.types'; +import { NodeOperationError } from 'n8n-workflow'; +import type { ResourceLocator } from '../helpers/GoogleSheets.types'; import { getSpreadsheetId } from '../helpers/GoogleSheets.utils'; import { apiRequest } from '../transport'; diff --git a/packages/nodes-base/nodes/Google/Sheet/v2/methods/loadOptions.ts b/packages/nodes-base/nodes/Google/Sheet/v2/methods/loadOptions.ts index db73812081..b9fe07f9f4 100644 --- a/packages/nodes-base/nodes/Google/Sheet/v2/methods/loadOptions.ts +++ b/packages/nodes-base/nodes/Google/Sheet/v2/methods/loadOptions.ts @@ -1,12 +1,8 @@ -import { - IDataObject, - ILoadOptionsFunctions, - INodePropertyOptions, - NodeOperationError, -} from 'n8n-workflow'; +import type { IDataObject, ILoadOptionsFunctions, INodePropertyOptions } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { GoogleSheet } from '../helpers/GoogleSheet'; import { getSpreadsheetId } from '../helpers/GoogleSheets.utils'; -import { ResourceLocator } from '../helpers/GoogleSheets.types'; +import type { ResourceLocator } from '../helpers/GoogleSheets.types'; export async function getSheets(this: ILoadOptionsFunctions): Promise { const { mode, value } = this.getNodeParameter('documentId', 0) as IDataObject; 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 45defe3ff3..6608e3f04f 100644 --- a/packages/nodes-base/nodes/Google/Sheet/v2/transport/index.ts +++ b/packages/nodes-base/nodes/Google/Sheet/v2/transport/index.ts @@ -1,6 +1,7 @@ -import { OptionsWithUri } from 'request'; -import { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { ICredentialTestFunctions, IDataObject, IPollFunctions, NodeApiError } from 'n8n-workflow'; +import type { OptionsWithUri } from 'request'; +import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { ICredentialTestFunctions, IDataObject, IPollFunctions } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; import moment from 'moment-timezone'; import jwt from 'jsonwebtoken'; diff --git a/packages/nodes-base/nodes/Google/Slides/GenericFunctions.ts b/packages/nodes-base/nodes/Google/Slides/GenericFunctions.ts index 5474ad2322..2e191ffc96 100644 --- a/packages/nodes-base/nodes/Google/Slides/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Google/Slides/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } 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 455c5b8451..bd4be230c4 100644 --- a/packages/nodes-base/nodes/Google/Slides/GoogleSlides.node.ts +++ b/packages/nodes-base/nodes/Google/Slides/GoogleSlides.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Google/Task/GenericFunctions.ts b/packages/nodes-base/nodes/Google/Task/GenericFunctions.ts index a08658f9fa..f010899f9b 100644 --- a/packages/nodes-base/nodes/Google/Task/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Google/Task/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function googleApiRequest( this: IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Google/Task/GoogleTasks.node.ts b/packages/nodes-base/nodes/Google/Task/GoogleTasks.node.ts index 24a8a9b5de..795afdf8a6 100644 --- a/packages/nodes-base/nodes/Google/Task/GoogleTasks.node.ts +++ b/packages/nodes-base/nodes/Google/Task/GoogleTasks.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Google/Task/TaskDescription.ts b/packages/nodes-base/nodes/Google/Task/TaskDescription.ts index 9fb5c1a498..cc5f5a3552 100644 --- a/packages/nodes-base/nodes/Google/Task/TaskDescription.ts +++ b/packages/nodes-base/nodes/Google/Task/TaskDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const taskOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Google/Translate/GenericFunctions.ts b/packages/nodes-base/nodes/Google/Translate/GenericFunctions.ts index 3b7ee46ce3..a6605e1b20 100644 --- a/packages/nodes-base/nodes/Google/Translate/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Google/Translate/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } 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 7b26e10dc5..89a33aed7b 100644 --- a/packages/nodes-base/nodes/Google/Translate/GoogleTranslate.node.ts +++ b/packages/nodes-base/nodes/Google/Translate/GoogleTranslate.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { ILoadOptionsFunctions, INodeExecutionData, INodePropertyOptions, diff --git a/packages/nodes-base/nodes/Google/YouTube/ChannelDescription.ts b/packages/nodes-base/nodes/Google/YouTube/ChannelDescription.ts index eb3e0c5207..4661b86abb 100644 --- a/packages/nodes-base/nodes/Google/YouTube/ChannelDescription.ts +++ b/packages/nodes-base/nodes/Google/YouTube/ChannelDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const channelOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Google/YouTube/GenericFunctions.ts b/packages/nodes-base/nodes/Google/YouTube/GenericFunctions.ts index a7e1a31e37..00e4bbde09 100644 --- a/packages/nodes-base/nodes/Google/YouTube/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Google/YouTube/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function googleApiRequest( this: IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Google/YouTube/PlaylistDescription.ts b/packages/nodes-base/nodes/Google/YouTube/PlaylistDescription.ts index 8d784d373b..893035d453 100644 --- a/packages/nodes-base/nodes/Google/YouTube/PlaylistDescription.ts +++ b/packages/nodes-base/nodes/Google/YouTube/PlaylistDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const playlistOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Google/YouTube/PlaylistItemDescription.ts b/packages/nodes-base/nodes/Google/YouTube/PlaylistItemDescription.ts index 8888a93d5b..cfbd06add5 100644 --- a/packages/nodes-base/nodes/Google/YouTube/PlaylistItemDescription.ts +++ b/packages/nodes-base/nodes/Google/YouTube/PlaylistItemDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const playlistItemOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Google/YouTube/VideoCategoryDescription.ts b/packages/nodes-base/nodes/Google/YouTube/VideoCategoryDescription.ts index b9234c5b04..bcc95b41ed 100644 --- a/packages/nodes-base/nodes/Google/YouTube/VideoCategoryDescription.ts +++ b/packages/nodes-base/nodes/Google/YouTube/VideoCategoryDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const videoCategoryOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Google/YouTube/VideoDescription.ts b/packages/nodes-base/nodes/Google/YouTube/VideoDescription.ts index 7f42a4aa52..bdb6e8160f 100644 --- a/packages/nodes-base/nodes/Google/YouTube/VideoDescription.ts +++ b/packages/nodes-base/nodes/Google/YouTube/VideoDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const videoOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Google/YouTube/YouTube.node.ts b/packages/nodes-base/nodes/Google/YouTube/YouTube.node.ts index 2794b30592..6c8c6d81f5 100644 --- a/packages/nodes-base/nodes/Google/YouTube/YouTube.node.ts +++ b/packages/nodes-base/nodes/Google/YouTube/YouTube.node.ts @@ -1,14 +1,14 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, INodePropertyOptions, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { googleApiRequest, googleApiRequestAllItems } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Gotify/GenericFunctions.ts b/packages/nodes-base/nodes/Gotify/GenericFunctions.ts index 6e3c521144..614119b687 100644 --- a/packages/nodes-base/nodes/Gotify/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Gotify/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function gotifyApiRequest( this: IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Gotify/Gotify.node.ts b/packages/nodes-base/nodes/Gotify/Gotify.node.ts index e00c32e0d5..26673409a6 100644 --- a/packages/nodes-base/nodes/Gotify/Gotify.node.ts +++ b/packages/nodes-base/nodes/Gotify/Gotify.node.ts @@ -1,6 +1,11 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { + IDataObject, + INodeExecutionData, + INodeType, + INodeTypeDescription, +} from 'n8n-workflow'; import { gotifyApiRequest, gotifyApiRequestAllItems } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Grafana/GenericFunctions.ts b/packages/nodes-base/nodes/Grafana/GenericFunctions.ts index 8238598b91..baacff0280 100644 --- a/packages/nodes-base/nodes/Grafana/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Grafana/GenericFunctions.ts @@ -1,10 +1,11 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, ILoadOptionsFunctions, NodeApiError, NodeOperationError } from 'n8n-workflow'; +import type { IDataObject, ILoadOptionsFunctions } from 'n8n-workflow'; +import { NodeApiError, NodeOperationError } from 'n8n-workflow'; -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { GrafanaCredentials } from './types'; +import type { GrafanaCredentials } from './types'; export function tolerateTrailingSlash(baseUrl: string) { return baseUrl.endsWith('/') ? baseUrl.substr(0, baseUrl.length - 1) : baseUrl; diff --git a/packages/nodes-base/nodes/Grafana/Grafana.node.ts b/packages/nodes-base/nodes/Grafana/Grafana.node.ts index bb56b84de0..0dad6964e3 100644 --- a/packages/nodes-base/nodes/Grafana/Grafana.node.ts +++ b/packages/nodes-base/nodes/Grafana/Grafana.node.ts @@ -1,14 +1,14 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, INodePropertyOptions, INodeType, INodeTypeDescription, - NodeApiError, } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; import { deriveUid, grafanaApiRequest, throwOnEmptyUpdate } from './GenericFunctions'; @@ -23,7 +23,7 @@ import { userOperations, } from './descriptions'; -import { +import type { DashboardUpdateFields, DashboardUpdatePayload, LoadedDashboards, diff --git a/packages/nodes-base/nodes/Grafana/descriptions/DashboardDescription.ts b/packages/nodes-base/nodes/Grafana/descriptions/DashboardDescription.ts index dc7918a765..efef82c906 100644 --- a/packages/nodes-base/nodes/Grafana/descriptions/DashboardDescription.ts +++ b/packages/nodes-base/nodes/Grafana/descriptions/DashboardDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const dashboardOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Grafana/descriptions/TeamDescription.ts b/packages/nodes-base/nodes/Grafana/descriptions/TeamDescription.ts index e1a82c28fe..444b804eea 100644 --- a/packages/nodes-base/nodes/Grafana/descriptions/TeamDescription.ts +++ b/packages/nodes-base/nodes/Grafana/descriptions/TeamDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const teamOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Grafana/descriptions/TeamMemberDescription.ts b/packages/nodes-base/nodes/Grafana/descriptions/TeamMemberDescription.ts index 21a693c3a9..9af04c3886 100644 --- a/packages/nodes-base/nodes/Grafana/descriptions/TeamMemberDescription.ts +++ b/packages/nodes-base/nodes/Grafana/descriptions/TeamMemberDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const teamMemberOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Grafana/descriptions/UserDescription.ts b/packages/nodes-base/nodes/Grafana/descriptions/UserDescription.ts index 895c485927..b9ecc78d8d 100644 --- a/packages/nodes-base/nodes/Grafana/descriptions/UserDescription.ts +++ b/packages/nodes-base/nodes/Grafana/descriptions/UserDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const userOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/GraphQL/GraphQL.node.ts b/packages/nodes-base/nodes/GraphQL/GraphQL.node.ts index 28a7325056..c1a9d3c525 100644 --- a/packages/nodes-base/nodes/GraphQL/GraphQL.node.ts +++ b/packages/nodes-base/nodes/GraphQL/GraphQL.node.ts @@ -1,16 +1,15 @@ /* eslint-disable n8n-nodes-base/node-filename-against-convention */ -import { IExecuteFunctions } from 'n8n-core'; -import { +import type { IExecuteFunctions } from 'n8n-core'; +import type { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription, - NodeApiError, - NodeOperationError, } from 'n8n-workflow'; +import { NodeApiError, NodeOperationError } from 'n8n-workflow'; -import { OptionsWithUri } from 'request'; -import { RequestPromiseOptions } from 'request-promise-native'; +import type { OptionsWithUri } from 'request'; +import type { RequestPromiseOptions } from 'request-promise-native'; export class GraphQL implements INodeType { description: INodeTypeDescription = { diff --git a/packages/nodes-base/nodes/Grist/GenericFunctions.ts b/packages/nodes-base/nodes/Grist/GenericFunctions.ts index e8ed43c756..101def1a1f 100644 --- a/packages/nodes-base/nodes/Grist/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Grist/GenericFunctions.ts @@ -1,10 +1,11 @@ -import { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IDataObject, NodeApiError, NodeOperationError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError, NodeOperationError } from 'n8n-workflow'; -import { +import type { GristCredentials, GristDefinedFields, GristFilterProperties, diff --git a/packages/nodes-base/nodes/Grist/Grist.node.ts b/packages/nodes-base/nodes/Grist/Grist.node.ts index ee522b012a..21d136458d 100644 --- a/packages/nodes-base/nodes/Grist/Grist.node.ts +++ b/packages/nodes-base/nodes/Grist/Grist.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { ICredentialsDecrypted, ICredentialTestFunctions, IDataObject, @@ -11,7 +11,7 @@ import { INodeTypeDescription, } from 'n8n-workflow'; -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; import { gristApiRequest, @@ -24,7 +24,7 @@ import { import { operationFields } from './OperationDescription'; -import { +import type { FieldsToSend, GristColumns, GristCreateRowPayload, diff --git a/packages/nodes-base/nodes/Grist/OperationDescription.ts b/packages/nodes-base/nodes/Grist/OperationDescription.ts index c5982801c6..b3011e1822 100644 --- a/packages/nodes-base/nodes/Grist/OperationDescription.ts +++ b/packages/nodes-base/nodes/Grist/OperationDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const operationFields: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Gumroad/GenericFunctions.ts b/packages/nodes-base/nodes/Gumroad/GenericFunctions.ts index a22c9877e7..ec3f6ebb0a 100644 --- a/packages/nodes-base/nodes/Gumroad/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Gumroad/GenericFunctions.ts @@ -1,12 +1,13 @@ -import { OptionsWithUri } from 'request'; -import { +import type { OptionsWithUri } from 'request'; +import type { IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, IWebhookFunctions, } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function gumroadApiRequest( this: diff --git a/packages/nodes-base/nodes/Gumroad/GumroadTrigger.node.ts b/packages/nodes-base/nodes/Gumroad/GumroadTrigger.node.ts index 93309c4aa3..0e7a58c407 100644 --- a/packages/nodes-base/nodes/Gumroad/GumroadTrigger.node.ts +++ b/packages/nodes-base/nodes/Gumroad/GumroadTrigger.node.ts @@ -1,6 +1,11 @@ -import { IHookFunctions, IWebhookFunctions } from 'n8n-core'; +import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; -import { IDataObject, INodeType, INodeTypeDescription, IWebhookResponseData } from 'n8n-workflow'; +import type { + IDataObject, + INodeType, + INodeTypeDescription, + IWebhookResponseData, +} from 'n8n-workflow'; import { gumroadApiRequest } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/HackerNews/GenericFunctions.ts b/packages/nodes-base/nodes/HackerNews/GenericFunctions.ts index 7c1be1b216..341f98e720 100644 --- a/packages/nodes-base/nodes/HackerNews/GenericFunctions.ts +++ b/packages/nodes-base/nodes/HackerNews/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { IExecuteFunctions, IHookFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IHookFunctions } from 'n8n-core'; -import { IDataObject, ILoadOptionsFunctions, NodeApiError } from 'n8n-workflow'; +import type { IDataObject, ILoadOptionsFunctions } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; /** * Make an API request to HackerNews diff --git a/packages/nodes-base/nodes/HackerNews/HackerNews.node.ts b/packages/nodes-base/nodes/HackerNews/HackerNews.node.ts index b0303482fd..5452b1eec9 100644 --- a/packages/nodes-base/nodes/HackerNews/HackerNews.node.ts +++ b/packages/nodes-base/nodes/HackerNews/HackerNews.node.ts @@ -1,12 +1,12 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { hackerNewsApiRequest, hackerNewsApiRequestAllItems } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/HaloPSA/GenericFunctions.ts b/packages/nodes-base/nodes/HaloPSA/GenericFunctions.ts index aacb1abd07..9cecd61488 100644 --- a/packages/nodes-base/nodes/HaloPSA/GenericFunctions.ts +++ b/packages/nodes-base/nodes/HaloPSA/GenericFunctions.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions, IHookFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IHookFunctions } from 'n8n-core'; -import { +import type { ICredentialDataDecryptedObject, ICredentialTestFunctions, IDataObject, @@ -8,10 +8,10 @@ import { ILoadOptionsFunctions, IPollFunctions, JsonObject, - NodeApiError, } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; // Interfaces and Types ------------------------------------------------------------- interface IHaloPSATokens { diff --git a/packages/nodes-base/nodes/HaloPSA/HaloPSA.node.ts b/packages/nodes-base/nodes/HaloPSA/HaloPSA.node.ts index 0d3337e7d5..e7358f131e 100644 --- a/packages/nodes-base/nodes/HaloPSA/HaloPSA.node.ts +++ b/packages/nodes-base/nodes/HaloPSA/HaloPSA.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { ICredentialDataDecryptedObject, ICredentialsDecrypted, ICredentialTestFunctions, diff --git a/packages/nodes-base/nodes/HaloPSA/descriptions/ClientDescription.ts b/packages/nodes-base/nodes/HaloPSA/descriptions/ClientDescription.ts index 0cc2aa64a8..3f61a18f65 100644 --- a/packages/nodes-base/nodes/HaloPSA/descriptions/ClientDescription.ts +++ b/packages/nodes-base/nodes/HaloPSA/descriptions/ClientDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const clientOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/HaloPSA/descriptions/SiteDescription.ts b/packages/nodes-base/nodes/HaloPSA/descriptions/SiteDescription.ts index 3a1657cd33..9d2d275e04 100644 --- a/packages/nodes-base/nodes/HaloPSA/descriptions/SiteDescription.ts +++ b/packages/nodes-base/nodes/HaloPSA/descriptions/SiteDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const siteOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/HaloPSA/descriptions/TicketDescription.ts b/packages/nodes-base/nodes/HaloPSA/descriptions/TicketDescription.ts index 816a22ff4b..181bb090fa 100644 --- a/packages/nodes-base/nodes/HaloPSA/descriptions/TicketDescription.ts +++ b/packages/nodes-base/nodes/HaloPSA/descriptions/TicketDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const ticketOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/HaloPSA/descriptions/UserDescription.ts b/packages/nodes-base/nodes/HaloPSA/descriptions/UserDescription.ts index 6f4bc208fd..a40dd3ff30 100644 --- a/packages/nodes-base/nodes/HaloPSA/descriptions/UserDescription.ts +++ b/packages/nodes-base/nodes/HaloPSA/descriptions/UserDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const userOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Harvest/ClientDescription.ts b/packages/nodes-base/nodes/Harvest/ClientDescription.ts index 83548bb5d7..d0a9b85528 100644 --- a/packages/nodes-base/nodes/Harvest/ClientDescription.ts +++ b/packages/nodes-base/nodes/Harvest/ClientDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; const resource = ['client']; diff --git a/packages/nodes-base/nodes/Harvest/CompanyDescription.ts b/packages/nodes-base/nodes/Harvest/CompanyDescription.ts index 265938d5cf..2ee21aef6b 100644 --- a/packages/nodes-base/nodes/Harvest/CompanyDescription.ts +++ b/packages/nodes-base/nodes/Harvest/CompanyDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; const resource = ['company']; diff --git a/packages/nodes-base/nodes/Harvest/ContactDescription.ts b/packages/nodes-base/nodes/Harvest/ContactDescription.ts index 336c539987..7ffa423176 100644 --- a/packages/nodes-base/nodes/Harvest/ContactDescription.ts +++ b/packages/nodes-base/nodes/Harvest/ContactDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; const resource = ['contact']; diff --git a/packages/nodes-base/nodes/Harvest/EstimateDescription.ts b/packages/nodes-base/nodes/Harvest/EstimateDescription.ts index 3304b9693b..9c631fbd0f 100644 --- a/packages/nodes-base/nodes/Harvest/EstimateDescription.ts +++ b/packages/nodes-base/nodes/Harvest/EstimateDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; const resource = ['estimate']; diff --git a/packages/nodes-base/nodes/Harvest/ExpenseDescription.ts b/packages/nodes-base/nodes/Harvest/ExpenseDescription.ts index e668b07a96..0fc9a38de8 100644 --- a/packages/nodes-base/nodes/Harvest/ExpenseDescription.ts +++ b/packages/nodes-base/nodes/Harvest/ExpenseDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; const resource = ['expense']; diff --git a/packages/nodes-base/nodes/Harvest/GenericFunctions.ts b/packages/nodes-base/nodes/Harvest/GenericFunctions.ts index f9c149c9cd..9018d1bb22 100644 --- a/packages/nodes-base/nodes/Harvest/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Harvest/GenericFunctions.ts @@ -1,13 +1,14 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { +import type { IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function harvestApiRequest( this: IHookFunctions | IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Harvest/Harvest.node.ts b/packages/nodes-base/nodes/Harvest/Harvest.node.ts index e0ded4aa12..36bf2568f7 100644 --- a/packages/nodes-base/nodes/Harvest/Harvest.node.ts +++ b/packages/nodes-base/nodes/Harvest/Harvest.node.ts @@ -1,13 +1,13 @@ -import { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { +import type { IDataObject, INodeExecutionData, INodePropertyOptions, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { clientFields, clientOperations } from './ClientDescription'; diff --git a/packages/nodes-base/nodes/Harvest/InvoiceDescription.ts b/packages/nodes-base/nodes/Harvest/InvoiceDescription.ts index 3445ff2b45..fe69dab1b9 100644 --- a/packages/nodes-base/nodes/Harvest/InvoiceDescription.ts +++ b/packages/nodes-base/nodes/Harvest/InvoiceDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; const resource = ['invoice']; diff --git a/packages/nodes-base/nodes/Harvest/ProjectDescription.ts b/packages/nodes-base/nodes/Harvest/ProjectDescription.ts index e15e32ee66..f2cefc7fac 100644 --- a/packages/nodes-base/nodes/Harvest/ProjectDescription.ts +++ b/packages/nodes-base/nodes/Harvest/ProjectDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; const resource = ['project']; diff --git a/packages/nodes-base/nodes/Harvest/TaskDescription.ts b/packages/nodes-base/nodes/Harvest/TaskDescription.ts index 301f3ffc9b..c9f38390ed 100644 --- a/packages/nodes-base/nodes/Harvest/TaskDescription.ts +++ b/packages/nodes-base/nodes/Harvest/TaskDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; const resource = ['task']; diff --git a/packages/nodes-base/nodes/Harvest/TimeEntryDescription.ts b/packages/nodes-base/nodes/Harvest/TimeEntryDescription.ts index c8e62deea8..d256e3dc8a 100644 --- a/packages/nodes-base/nodes/Harvest/TimeEntryDescription.ts +++ b/packages/nodes-base/nodes/Harvest/TimeEntryDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const resource = ['timeEntry']; diff --git a/packages/nodes-base/nodes/Harvest/UserDescription.ts b/packages/nodes-base/nodes/Harvest/UserDescription.ts index 31ff9da97d..163a61f261 100644 --- a/packages/nodes-base/nodes/Harvest/UserDescription.ts +++ b/packages/nodes-base/nodes/Harvest/UserDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; const resource = ['user']; diff --git a/packages/nodes-base/nodes/HelpScout/ConversationDescription.ts b/packages/nodes-base/nodes/HelpScout/ConversationDescription.ts index d930923142..695f2ccb09 100644 --- a/packages/nodes-base/nodes/HelpScout/ConversationDescription.ts +++ b/packages/nodes-base/nodes/HelpScout/ConversationDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const conversationOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/HelpScout/ConversationInterface.ts b/packages/nodes-base/nodes/HelpScout/ConversationInterface.ts index cabe06d00d..60233f08f9 100644 --- a/packages/nodes-base/nodes/HelpScout/ConversationInterface.ts +++ b/packages/nodes-base/nodes/HelpScout/ConversationInterface.ts @@ -1,4 +1,4 @@ -import { IDataObject } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; export interface IConversation { assignTo?: number; diff --git a/packages/nodes-base/nodes/HelpScout/CustomerDescription.ts b/packages/nodes-base/nodes/HelpScout/CustomerDescription.ts index ee863d0d88..b22c6e5092 100644 --- a/packages/nodes-base/nodes/HelpScout/CustomerDescription.ts +++ b/packages/nodes-base/nodes/HelpScout/CustomerDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const customerOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/HelpScout/CustomerInterface.ts b/packages/nodes-base/nodes/HelpScout/CustomerInterface.ts index fe50a7cb3c..81d1483575 100644 --- a/packages/nodes-base/nodes/HelpScout/CustomerInterface.ts +++ b/packages/nodes-base/nodes/HelpScout/CustomerInterface.ts @@ -1,4 +1,4 @@ -import { IDataObject } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; export interface ICustomer { address?: IDataObject; diff --git a/packages/nodes-base/nodes/HelpScout/GenericFunctions.ts b/packages/nodes-base/nodes/HelpScout/GenericFunctions.ts index 1e777057ec..161c1a715a 100644 --- a/packages/nodes-base/nodes/HelpScout/GenericFunctions.ts +++ b/packages/nodes-base/nodes/HelpScout/GenericFunctions.ts @@ -1,13 +1,14 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { +import type { IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; import { get } from 'lodash'; diff --git a/packages/nodes-base/nodes/HelpScout/HelpScout.node.ts b/packages/nodes-base/nodes/HelpScout/HelpScout.node.ts index 327dd40fb4..1d1e39e6d5 100644 --- a/packages/nodes-base/nodes/HelpScout/HelpScout.node.ts +++ b/packages/nodes-base/nodes/HelpScout/HelpScout.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IBinaryKeyData, IDataObject, ILoadOptionsFunctions, @@ -8,8 +8,8 @@ import { INodePropertyOptions, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { countriesCodes } from './CountriesCodes'; @@ -17,9 +17,9 @@ import { conversationFields, conversationOperations } from './ConversationDescri import { customerFields, customerOperations } from './CustomerDescription'; -import { ICustomer } from './CustomerInterface'; +import type { ICustomer } from './CustomerInterface'; -import { IConversation } from './ConversationInterface'; +import type { IConversation } from './ConversationInterface'; import { helpscoutApiRequest, helpscoutApiRequestAllItems } from './GenericFunctions'; @@ -27,7 +27,7 @@ import { mailboxFields, mailboxOperations } from './MailboxDescription'; import { threadFields, threadOperations } from './ThreadDescription'; -import { IAttachment, IThread } from './ThreadInterface'; +import type { IAttachment, IThread } from './ThreadInterface'; export class HelpScout implements INodeType { description: INodeTypeDescription = { diff --git a/packages/nodes-base/nodes/HelpScout/HelpScoutTrigger.node.ts b/packages/nodes-base/nodes/HelpScout/HelpScoutTrigger.node.ts index 1e1ca92912..9b7a6a091e 100644 --- a/packages/nodes-base/nodes/HelpScout/HelpScoutTrigger.node.ts +++ b/packages/nodes-base/nodes/HelpScout/HelpScoutTrigger.node.ts @@ -1,6 +1,11 @@ -import { IHookFunctions, IWebhookFunctions } from 'n8n-core'; +import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; -import { IDataObject, INodeType, INodeTypeDescription, IWebhookResponseData } from 'n8n-workflow'; +import type { + IDataObject, + INodeType, + INodeTypeDescription, + IWebhookResponseData, +} from 'n8n-workflow'; import { helpscoutApiRequest, helpscoutApiRequestAllItems } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/HelpScout/MailboxDescription.ts b/packages/nodes-base/nodes/HelpScout/MailboxDescription.ts index 4b3ebc7a66..0b2cfb104e 100644 --- a/packages/nodes-base/nodes/HelpScout/MailboxDescription.ts +++ b/packages/nodes-base/nodes/HelpScout/MailboxDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const mailboxOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/HelpScout/ThreadDescription.ts b/packages/nodes-base/nodes/HelpScout/ThreadDescription.ts index 497d234736..ce7df63b26 100644 --- a/packages/nodes-base/nodes/HelpScout/ThreadDescription.ts +++ b/packages/nodes-base/nodes/HelpScout/ThreadDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const threadOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/HelpScout/ThreadInterface.ts b/packages/nodes-base/nodes/HelpScout/ThreadInterface.ts index e47a0a6747..6fcebd812f 100644 --- a/packages/nodes-base/nodes/HelpScout/ThreadInterface.ts +++ b/packages/nodes-base/nodes/HelpScout/ThreadInterface.ts @@ -1,4 +1,4 @@ -import { IDataObject } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; export interface IAttachment { fileName?: string; diff --git a/packages/nodes-base/nodes/HighLevel/GenericFunctions.ts b/packages/nodes-base/nodes/HighLevel/GenericFunctions.ts index ba0bce429f..0be43214fa 100644 --- a/packages/nodes-base/nodes/HighLevel/GenericFunctions.ts +++ b/packages/nodes-base/nodes/HighLevel/GenericFunctions.ts @@ -1,4 +1,4 @@ -import { +import type { DeclarativeRestApiSettings, IDataObject, IExecuteFunctions, @@ -12,12 +12,13 @@ import { INodePropertyOptions, IPollFunctions, IWebhookFunctions, - NodeApiError, } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { DateTime, ToISOTimeOptions } from 'luxon'; +import type { ToISOTimeOptions } from 'luxon'; +import { DateTime } from 'luxon'; const VALID_EMAIL_REGEX = /^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/; diff --git a/packages/nodes-base/nodes/HighLevel/HighLevel.node.ts b/packages/nodes-base/nodes/HighLevel/HighLevel.node.ts index 8792a8027c..f68805d702 100644 --- a/packages/nodes-base/nodes/HighLevel/HighLevel.node.ts +++ b/packages/nodes-base/nodes/HighLevel/HighLevel.node.ts @@ -1,4 +1,4 @@ -import { INodeProperties, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { INodeProperties, INodeType, INodeTypeDescription } from 'n8n-workflow'; import { contactFields, contactNotes, contactOperations } from './description/ContactDescription'; import { opportunityFields, opportunityOperations } from './description/OpportunityDescription'; diff --git a/packages/nodes-base/nodes/HighLevel/description/ContactDescription.ts b/packages/nodes-base/nodes/HighLevel/description/ContactDescription.ts index bd78b9babf..bd9e84a4fb 100644 --- a/packages/nodes-base/nodes/HighLevel/description/ContactDescription.ts +++ b/packages/nodes-base/nodes/HighLevel/description/ContactDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { splitTagsPreSendAction, validEmailAndPhonePreSendAction } from '../GenericFunctions'; export const contactOperations: INodeProperties[] = [ diff --git a/packages/nodes-base/nodes/HighLevel/description/OpportunityDescription.ts b/packages/nodes-base/nodes/HighLevel/description/OpportunityDescription.ts index b7056da376..05b8235195 100644 --- a/packages/nodes-base/nodes/HighLevel/description/OpportunityDescription.ts +++ b/packages/nodes-base/nodes/HighLevel/description/OpportunityDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { contactIdentifierPreSendAction, diff --git a/packages/nodes-base/nodes/HighLevel/description/TaskDescription.ts b/packages/nodes-base/nodes/HighLevel/description/TaskDescription.ts index 6e2efd980c..5704cbdfa4 100644 --- a/packages/nodes-base/nodes/HighLevel/description/TaskDescription.ts +++ b/packages/nodes-base/nodes/HighLevel/description/TaskDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { dueDatePreSendAction, diff --git a/packages/nodes-base/nodes/HomeAssistant/CameraProxyDescription.ts b/packages/nodes-base/nodes/HomeAssistant/CameraProxyDescription.ts index c612a118e2..31d76dda84 100644 --- a/packages/nodes-base/nodes/HomeAssistant/CameraProxyDescription.ts +++ b/packages/nodes-base/nodes/HomeAssistant/CameraProxyDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const cameraProxyOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/HomeAssistant/ConfigDescription.ts b/packages/nodes-base/nodes/HomeAssistant/ConfigDescription.ts index a306ab9240..3edb555853 100644 --- a/packages/nodes-base/nodes/HomeAssistant/ConfigDescription.ts +++ b/packages/nodes-base/nodes/HomeAssistant/ConfigDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const configOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/HomeAssistant/EventDescription.ts b/packages/nodes-base/nodes/HomeAssistant/EventDescription.ts index 2dd5ff9de8..c2c30a871c 100644 --- a/packages/nodes-base/nodes/HomeAssistant/EventDescription.ts +++ b/packages/nodes-base/nodes/HomeAssistant/EventDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const eventOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/HomeAssistant/GenericFunctions.ts b/packages/nodes-base/nodes/HomeAssistant/GenericFunctions.ts index e24a852446..153c07b5d2 100644 --- a/packages/nodes-base/nodes/HomeAssistant/GenericFunctions.ts +++ b/packages/nodes-base/nodes/HomeAssistant/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject, INodePropertyOptions, NodeApiError } from 'n8n-workflow'; +import type { IDataObject, INodePropertyOptions } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function homeAssistantApiRequest( this: IExecuteFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/HomeAssistant/HistoryDescription.ts b/packages/nodes-base/nodes/HomeAssistant/HistoryDescription.ts index 037a92f1b4..35de078974 100644 --- a/packages/nodes-base/nodes/HomeAssistant/HistoryDescription.ts +++ b/packages/nodes-base/nodes/HomeAssistant/HistoryDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const historyOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/HomeAssistant/HomeAssistant.node.ts b/packages/nodes-base/nodes/HomeAssistant/HomeAssistant.node.ts index 2ea8321b48..2e03f9e42b 100644 --- a/packages/nodes-base/nodes/HomeAssistant/HomeAssistant.node.ts +++ b/packages/nodes-base/nodes/HomeAssistant/HomeAssistant.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { ICredentialsDecrypted, ICredentialTestFunctions, IDataObject, diff --git a/packages/nodes-base/nodes/HomeAssistant/LogDescription.ts b/packages/nodes-base/nodes/HomeAssistant/LogDescription.ts index caa00ff1a4..06e0aedbbd 100644 --- a/packages/nodes-base/nodes/HomeAssistant/LogDescription.ts +++ b/packages/nodes-base/nodes/HomeAssistant/LogDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const logOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/HomeAssistant/ServiceDescription.ts b/packages/nodes-base/nodes/HomeAssistant/ServiceDescription.ts index f05485855c..51e53f020a 100644 --- a/packages/nodes-base/nodes/HomeAssistant/ServiceDescription.ts +++ b/packages/nodes-base/nodes/HomeAssistant/ServiceDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const serviceOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/HomeAssistant/StateDescription.ts b/packages/nodes-base/nodes/HomeAssistant/StateDescription.ts index 2be96e04a6..d6b1f5eff2 100644 --- a/packages/nodes-base/nodes/HomeAssistant/StateDescription.ts +++ b/packages/nodes-base/nodes/HomeAssistant/StateDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const stateOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/HomeAssistant/TemplateDescription.ts b/packages/nodes-base/nodes/HomeAssistant/TemplateDescription.ts index 5d2fcceb4a..6981e69ebb 100644 --- a/packages/nodes-base/nodes/HomeAssistant/TemplateDescription.ts +++ b/packages/nodes-base/nodes/HomeAssistant/TemplateDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const templateOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Html/Html.node.ts b/packages/nodes-base/nodes/Html/Html.node.ts index 81f2c82c97..75b8a0b2ed 100644 --- a/packages/nodes-base/nodes/Html/Html.node.ts +++ b/packages/nodes-base/nodes/Html/Html.node.ts @@ -1,12 +1,12 @@ import cheerio from 'cheerio'; -import { +import type { INodeExecutionData, IExecuteFunctions, INodeType, INodeTypeDescription, IDataObject, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { placeholder } from './placeholder'; import { getResolvables, getValue } from './utils'; import type { IValueData } from './types'; diff --git a/packages/nodes-base/nodes/HtmlExtract/HtmlExtract.node.ts b/packages/nodes-base/nodes/HtmlExtract/HtmlExtract.node.ts index 843f0c874a..8e8552f348 100644 --- a/packages/nodes-base/nodes/HtmlExtract/HtmlExtract.node.ts +++ b/packages/nodes-base/nodes/HtmlExtract/HtmlExtract.node.ts @@ -1,12 +1,12 @@ import cheerio from 'cheerio'; -import { IExecuteFunctions } from 'n8n-core'; -import { +import type { IExecuteFunctions } from 'n8n-core'; +import type { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; type Cheerio = ReturnType; diff --git a/packages/nodes-base/nodes/HttpRequest/GenericFunctions.ts b/packages/nodes-base/nodes/HttpRequest/GenericFunctions.ts index adc8af829a..19ec21e803 100644 --- a/packages/nodes-base/nodes/HttpRequest/GenericFunctions.ts +++ b/packages/nodes-base/nodes/HttpRequest/GenericFunctions.ts @@ -1,5 +1,5 @@ -import { IDataObject, INodeExecutionData, IOAuth2Options } from 'n8n-workflow'; -import { OptionsWithUri } from 'request-promise-native'; +import type { IDataObject, INodeExecutionData, IOAuth2Options } from 'n8n-workflow'; +import type { OptionsWithUri } from 'request-promise-native'; export type IAuthDataSanitizeKeys = { [key: string]: string[]; diff --git a/packages/nodes-base/nodes/HttpRequest/HttpRequest.node.ts b/packages/nodes-base/nodes/HttpRequest/HttpRequest.node.ts index 703e69e5a7..f517531ce7 100644 --- a/packages/nodes-base/nodes/HttpRequest/HttpRequest.node.ts +++ b/packages/nodes-base/nodes/HttpRequest/HttpRequest.node.ts @@ -1,4 +1,5 @@ -import { INodeTypeBaseDescription, IVersionedNodeType, VersionedNodeType } from 'n8n-workflow'; +import type { INodeTypeBaseDescription, IVersionedNodeType } from 'n8n-workflow'; +import { VersionedNodeType } from 'n8n-workflow'; import { HttpRequestV1 } from './V1/HttpRequestV1.node'; import { HttpRequestV2 } from './V2/HttpRequestV2.node'; diff --git a/packages/nodes-base/nodes/HttpRequest/V1/HttpRequestV1.node.ts b/packages/nodes-base/nodes/HttpRequest/V1/HttpRequestV1.node.ts index c6ded920d7..a8400c3e46 100644 --- a/packages/nodes-base/nodes/HttpRequest/V1/HttpRequestV1.node.ts +++ b/packages/nodes-base/nodes/HttpRequest/V1/HttpRequestV1.node.ts @@ -1,19 +1,18 @@ // eslint-disable-next-line n8n-nodes-base/node-filename-against-convention -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, INodeExecutionData, INodeType, INodeTypeBaseDescription, INodeTypeDescription, - NodeApiError, - NodeOperationError, - sleep, } from 'n8n-workflow'; +import { NodeApiError, NodeOperationError, sleep } from 'n8n-workflow'; -import { OptionsWithUri } from 'request'; -import { IAuthDataSanitizeKeys, replaceNullValues, sanitizeUiMessage } from '../GenericFunctions'; +import type { OptionsWithUri } from 'request'; +import type { IAuthDataSanitizeKeys } from '../GenericFunctions'; +import { replaceNullValues, sanitizeUiMessage } from '../GenericFunctions'; interface OptionData { name: string; diff --git a/packages/nodes-base/nodes/HttpRequest/V2/HttpRequestV2.node.ts b/packages/nodes-base/nodes/HttpRequest/V2/HttpRequestV2.node.ts index 0692eca397..b1d8b024a3 100644 --- a/packages/nodes-base/nodes/HttpRequest/V2/HttpRequestV2.node.ts +++ b/packages/nodes-base/nodes/HttpRequest/V2/HttpRequestV2.node.ts @@ -1,19 +1,17 @@ -import { IExecuteFunctions } from 'n8n-core'; -import { +import type { IExecuteFunctions } from 'n8n-core'; +import type { IDataObject, INodeExecutionData, INodeType, INodeTypeBaseDescription, INodeTypeDescription, - NodeApiError, - NodeOperationError, - sleep, } from 'n8n-workflow'; +import { NodeApiError, NodeOperationError, sleep } from 'n8n-workflow'; -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; +import type { IAuthDataSanitizeKeys } from '../GenericFunctions'; import { getOAuth2AdditionalParameters, - IAuthDataSanitizeKeys, replaceNullValues, sanitizeUiMessage, } from '../GenericFunctions'; diff --git a/packages/nodes-base/nodes/HttpRequest/V3/HttpRequestV3.node.ts b/packages/nodes-base/nodes/HttpRequest/V3/HttpRequestV3.node.ts index 1bc0481508..c2a255b43c 100644 --- a/packages/nodes-base/nodes/HttpRequest/V3/HttpRequestV3.node.ts +++ b/packages/nodes-base/nodes/HttpRequest/V3/HttpRequestV3.node.ts @@ -1,24 +1,21 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IBinaryKeyData, IDataObject, INodeExecutionData, INodeType, INodeTypeBaseDescription, INodeTypeDescription, - jsonParse, - NodeApiError, - NodeOperationError, - sleep, } from 'n8n-workflow'; +import { jsonParse, NodeApiError, NodeOperationError, sleep } from 'n8n-workflow'; -import { OptionsWithUri } from 'request-promise-native'; +import type { OptionsWithUri } from 'request-promise-native'; +import type { IAuthDataSanitizeKeys } from '../GenericFunctions'; import { binaryContentTypes, getOAuth2AdditionalParameters, - IAuthDataSanitizeKeys, replaceNullValues, sanitizeUiMessage, } from '../GenericFunctions'; diff --git a/packages/nodes-base/nodes/Hubspot/CompanyDescription.ts b/packages/nodes-base/nodes/Hubspot/CompanyDescription.ts index c38f7b8ac1..3c1c59d805 100644 --- a/packages/nodes-base/nodes/Hubspot/CompanyDescription.ts +++ b/packages/nodes-base/nodes/Hubspot/CompanyDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const companyOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Hubspot/ContactDescription.ts b/packages/nodes-base/nodes/Hubspot/ContactDescription.ts index 320663245c..14352f08cb 100644 --- a/packages/nodes-base/nodes/Hubspot/ContactDescription.ts +++ b/packages/nodes-base/nodes/Hubspot/ContactDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const contactOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Hubspot/ContactListDescription.ts b/packages/nodes-base/nodes/Hubspot/ContactListDescription.ts index 7a0ca4746f..f8643a2119 100644 --- a/packages/nodes-base/nodes/Hubspot/ContactListDescription.ts +++ b/packages/nodes-base/nodes/Hubspot/ContactListDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const contactListOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Hubspot/DealDescription.ts b/packages/nodes-base/nodes/Hubspot/DealDescription.ts index 6cd325da40..78e006452c 100644 --- a/packages/nodes-base/nodes/Hubspot/DealDescription.ts +++ b/packages/nodes-base/nodes/Hubspot/DealDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const dealOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Hubspot/DealInterface.ts b/packages/nodes-base/nodes/Hubspot/DealInterface.ts index 7602eaefc2..b3d5d1d0c0 100644 --- a/packages/nodes-base/nodes/Hubspot/DealInterface.ts +++ b/packages/nodes-base/nodes/Hubspot/DealInterface.ts @@ -1,4 +1,4 @@ -import { IDataObject } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; export interface IAssociation { associatedCompanyIds?: number[]; diff --git a/packages/nodes-base/nodes/Hubspot/EngagementDescription.ts b/packages/nodes-base/nodes/Hubspot/EngagementDescription.ts index 1be907c0b4..a6ea4e2551 100644 --- a/packages/nodes-base/nodes/Hubspot/EngagementDescription.ts +++ b/packages/nodes-base/nodes/Hubspot/EngagementDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const engagementOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Hubspot/FormDescription.ts b/packages/nodes-base/nodes/Hubspot/FormDescription.ts index 103e548c16..22aad74f15 100644 --- a/packages/nodes-base/nodes/Hubspot/FormDescription.ts +++ b/packages/nodes-base/nodes/Hubspot/FormDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const formOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Hubspot/FormInterface.ts b/packages/nodes-base/nodes/Hubspot/FormInterface.ts index f61e06c8b5..83f1153cb3 100644 --- a/packages/nodes-base/nodes/Hubspot/FormInterface.ts +++ b/packages/nodes-base/nodes/Hubspot/FormInterface.ts @@ -1,4 +1,4 @@ -import { IDataObject } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; export interface IContext { goToWebinarWebinarKey?: string; diff --git a/packages/nodes-base/nodes/Hubspot/GenericFunctions.ts b/packages/nodes-base/nodes/Hubspot/GenericFunctions.ts index 9f89dcb10c..7d627d9f34 100644 --- a/packages/nodes-base/nodes/Hubspot/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Hubspot/GenericFunctions.ts @@ -1,19 +1,19 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { +import type { IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, } from 'n8n-core'; -import { +import type { ICredentialDataDecryptedObject, ICredentialTestFunctions, IDataObject, JsonObject, - NodeApiError, } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; import moment from 'moment'; diff --git a/packages/nodes-base/nodes/Hubspot/Hubspot.node.ts b/packages/nodes-base/nodes/Hubspot/Hubspot.node.ts index f2cfa45128..2ac6d125a5 100644 --- a/packages/nodes-base/nodes/Hubspot/Hubspot.node.ts +++ b/packages/nodes-base/nodes/Hubspot/Hubspot.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { ICredentialDataDecryptedObject, ICredentialsDecrypted, ICredentialTestFunctions, @@ -12,8 +12,8 @@ import { INodeType, INodeTypeDescription, JsonObject, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { clean, @@ -41,9 +41,9 @@ import { formFields, formOperations } from './FormDescription'; import { ticketFields, ticketOperations } from './TicketDescription'; -import { IForm } from './FormInterface'; +import type { IForm } from './FormInterface'; -import { IAssociation, IDeal } from './DealInterface'; +import type { IAssociation, IDeal } from './DealInterface'; import { snakeCase } from 'change-case'; diff --git a/packages/nodes-base/nodes/Hubspot/HubspotTrigger.node.ts b/packages/nodes-base/nodes/Hubspot/HubspotTrigger.node.ts index 11009302d1..6d1668841e 100644 --- a/packages/nodes-base/nodes/Hubspot/HubspotTrigger.node.ts +++ b/packages/nodes-base/nodes/Hubspot/HubspotTrigger.node.ts @@ -1,14 +1,14 @@ -import { IHookFunctions, IWebhookFunctions } from 'n8n-core'; +import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodePropertyOptions, INodeType, INodeTypeDescription, IWebhookResponseData, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { hubspotApiRequest, propertyEvents } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Hubspot/TicketDescription.ts b/packages/nodes-base/nodes/Hubspot/TicketDescription.ts index d2fa3350a1..7b0198c6a1 100644 --- a/packages/nodes-base/nodes/Hubspot/TicketDescription.ts +++ b/packages/nodes-base/nodes/Hubspot/TicketDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const ticketOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/HumanticAI/GenericFunctions.ts b/packages/nodes-base/nodes/HumanticAI/GenericFunctions.ts index ad21403403..0df68d93d8 100644 --- a/packages/nodes-base/nodes/HumanticAI/GenericFunctions.ts +++ b/packages/nodes-base/nodes/HumanticAI/GenericFunctions.ts @@ -1,13 +1,14 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { +import type { IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function humanticAiApiRequest( this: IHookFunctions | IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/HumanticAI/HumanticAi.node.ts b/packages/nodes-base/nodes/HumanticAI/HumanticAi.node.ts index 05c77df76d..dd208abb0c 100644 --- a/packages/nodes-base/nodes/HumanticAI/HumanticAi.node.ts +++ b/packages/nodes-base/nodes/HumanticAI/HumanticAi.node.ts @@ -1,13 +1,13 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IBinaryKeyData, IDataObject, INodeExecutionData, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { humanticAiApiRequest } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/HumanticAI/ProfileDescription.ts b/packages/nodes-base/nodes/HumanticAI/ProfileDescription.ts index b9c5b6b1fe..f12dc4b4d4 100644 --- a/packages/nodes-base/nodes/HumanticAI/ProfileDescription.ts +++ b/packages/nodes-base/nodes/HumanticAI/ProfileDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const profileOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Hunter/GenericFunctions.ts b/packages/nodes-base/nodes/Hunter/GenericFunctions.ts index 224ee6ecb3..3ee85baf23 100644 --- a/packages/nodes-base/nodes/Hunter/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Hunter/GenericFunctions.ts @@ -1,11 +1,12 @@ -import { OptionsWithUri } from 'request'; -import { +import type { OptionsWithUri } from 'request'; +import type { IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function hunterApiRequest( this: IHookFunctions | IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Hunter/Hunter.node.ts b/packages/nodes-base/nodes/Hunter/Hunter.node.ts index f684ae3936..37e29a0efc 100644 --- a/packages/nodes-base/nodes/Hunter/Hunter.node.ts +++ b/packages/nodes-base/nodes/Hunter/Hunter.node.ts @@ -1,5 +1,10 @@ -import { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { IExecuteFunctions } from 'n8n-core'; +import type { + IDataObject, + INodeExecutionData, + INodeType, + INodeTypeDescription, +} from 'n8n-workflow'; import { hunterApiRequest, hunterApiRequestAllItems } from './GenericFunctions'; export class Hunter implements INodeType { diff --git a/packages/nodes-base/nodes/ICalendar/ICalendar.node.ts b/packages/nodes-base/nodes/ICalendar/ICalendar.node.ts index d0896ee477..48b17593da 100644 --- a/packages/nodes-base/nodes/ICalendar/ICalendar.node.ts +++ b/packages/nodes-base/nodes/ICalendar/ICalendar.node.ts @@ -1,7 +1,12 @@ /* eslint-disable n8n-nodes-base/node-filename-against-convention */ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { + IDataObject, + INodeExecutionData, + INodeType, + INodeTypeDescription, +} from 'n8n-workflow'; import { promisify } from 'util'; diff --git a/packages/nodes-base/nodes/If/If.node.ts b/packages/nodes-base/nodes/If/If.node.ts index 03c0ee0c7a..9543dc4a4a 100644 --- a/packages/nodes-base/nodes/If/If.node.ts +++ b/packages/nodes-base/nodes/If/If.node.ts @@ -1,13 +1,13 @@ import moment from 'moment'; -import { IExecuteFunctions } from 'n8n-core'; -import { +import type { IExecuteFunctions } from 'n8n-core'; +import type { INodeExecutionData, INodeParameters, INodeType, INodeTypeDescription, - NodeOperationError, NodeParameterValue, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; export class If implements INodeType { description: INodeTypeDescription = { diff --git a/packages/nodes-base/nodes/Intercom/CompanyDescription.ts b/packages/nodes-base/nodes/Intercom/CompanyDescription.ts index 5e56b64527..33cac11ec6 100644 --- a/packages/nodes-base/nodes/Intercom/CompanyDescription.ts +++ b/packages/nodes-base/nodes/Intercom/CompanyDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const companyOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Intercom/CompanyInteface.ts b/packages/nodes-base/nodes/Intercom/CompanyInteface.ts index 53e3d3f957..43d6e1dcdb 100644 --- a/packages/nodes-base/nodes/Intercom/CompanyInteface.ts +++ b/packages/nodes-base/nodes/Intercom/CompanyInteface.ts @@ -1,4 +1,4 @@ -import { IDataObject } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; export interface ICompany { remote_created_at?: string; diff --git a/packages/nodes-base/nodes/Intercom/GenericFunctions.ts b/packages/nodes-base/nodes/Intercom/GenericFunctions.ts index bfeaf71f46..97211dc10f 100644 --- a/packages/nodes-base/nodes/Intercom/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Intercom/GenericFunctions.ts @@ -1,13 +1,14 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { +import type { IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function intercomApiRequest( this: IHookFunctions | IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Intercom/Intercom.node.ts b/packages/nodes-base/nodes/Intercom/Intercom.node.ts index f78708e799..3c7b93592e 100644 --- a/packages/nodes-base/nodes/Intercom/Intercom.node.ts +++ b/packages/nodes-base/nodes/Intercom/Intercom.node.ts @@ -1,21 +1,20 @@ -import { IExecuteFunctions } from 'n8n-core'; -import { +import type { IExecuteFunctions } from 'n8n-core'; +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, INodePropertyOptions, INodeType, INodeTypeDescription, - NodeApiError, - NodeOperationError, } from 'n8n-workflow'; +import { NodeApiError, NodeOperationError } from 'n8n-workflow'; import { leadFields, leadOperations } from './LeadDescription'; import { intercomApiRequest, intercomApiRequestAllItems, validateJSON } from './GenericFunctions'; -import { IAvatar, ILead, ILeadCompany } from './LeadInterface'; +import type { IAvatar, ILead, ILeadCompany } from './LeadInterface'; import { userFields, userOperations } from './UserDescription'; -import { IUser, IUserCompany } from './UserInterface'; +import type { IUser, IUserCompany } from './UserInterface'; import { companyFields, companyOperations } from './CompanyDescription'; -import { ICompany } from './CompanyInteface'; +import type { ICompany } from './CompanyInteface'; export class Intercom implements INodeType { description: INodeTypeDescription = { diff --git a/packages/nodes-base/nodes/Intercom/LeadDescription.ts b/packages/nodes-base/nodes/Intercom/LeadDescription.ts index 628f8495fd..e59982fa94 100644 --- a/packages/nodes-base/nodes/Intercom/LeadDescription.ts +++ b/packages/nodes-base/nodes/Intercom/LeadDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const leadOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Intercom/LeadInterface.ts b/packages/nodes-base/nodes/Intercom/LeadInterface.ts index 82cc43deae..1a92055ab0 100644 --- a/packages/nodes-base/nodes/Intercom/LeadInterface.ts +++ b/packages/nodes-base/nodes/Intercom/LeadInterface.ts @@ -1,4 +1,4 @@ -import { IDataObject } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; export interface ILeadCompany { company_id?: string; diff --git a/packages/nodes-base/nodes/Intercom/UserDescription.ts b/packages/nodes-base/nodes/Intercom/UserDescription.ts index a267e8d0f4..c2d0458569 100644 --- a/packages/nodes-base/nodes/Intercom/UserDescription.ts +++ b/packages/nodes-base/nodes/Intercom/UserDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const userOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Intercom/UserInterface.ts b/packages/nodes-base/nodes/Intercom/UserInterface.ts index cf60b88dc1..7e7caf7f82 100644 --- a/packages/nodes-base/nodes/Intercom/UserInterface.ts +++ b/packages/nodes-base/nodes/Intercom/UserInterface.ts @@ -1,4 +1,4 @@ -import { IDataObject } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; export interface IUserCompany { company_id?: string; diff --git a/packages/nodes-base/nodes/Interval/Interval.node.ts b/packages/nodes-base/nodes/Interval/Interval.node.ts index 57693b38fc..6a18b3699a 100644 --- a/packages/nodes-base/nodes/Interval/Interval.node.ts +++ b/packages/nodes-base/nodes/Interval/Interval.node.ts @@ -1,10 +1,6 @@ -import { ITriggerFunctions } from 'n8n-core'; -import { - INodeType, - INodeTypeDescription, - ITriggerResponse, - NodeOperationError, -} from 'n8n-workflow'; +import type { ITriggerFunctions } from 'n8n-core'; +import type { INodeType, INodeTypeDescription, ITriggerResponse } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; export class Interval implements INodeType { description: INodeTypeDescription = { diff --git a/packages/nodes-base/nodes/InvoiceNinja/ClientDescription.ts b/packages/nodes-base/nodes/InvoiceNinja/ClientDescription.ts index 1d2bbe4df7..149dae9e81 100644 --- a/packages/nodes-base/nodes/InvoiceNinja/ClientDescription.ts +++ b/packages/nodes-base/nodes/InvoiceNinja/ClientDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const clientOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/InvoiceNinja/ExpenseDescription.ts b/packages/nodes-base/nodes/InvoiceNinja/ExpenseDescription.ts index 3fdf358f82..310c66b9c1 100644 --- a/packages/nodes-base/nodes/InvoiceNinja/ExpenseDescription.ts +++ b/packages/nodes-base/nodes/InvoiceNinja/ExpenseDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const expenseOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/InvoiceNinja/GenericFunctions.ts b/packages/nodes-base/nodes/InvoiceNinja/GenericFunctions.ts index 3f8efa2e13..46fcc660d9 100644 --- a/packages/nodes-base/nodes/InvoiceNinja/GenericFunctions.ts +++ b/packages/nodes-base/nodes/InvoiceNinja/GenericFunctions.ts @@ -1,13 +1,14 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { +import type { IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, } from 'n8n-core'; -import { IDataObject, JsonObject, NodeApiError, NodeOperationError } from 'n8n-workflow'; +import type { IDataObject, JsonObject } from 'n8n-workflow'; +import { NodeApiError, NodeOperationError } from 'n8n-workflow'; import { get } from 'lodash'; diff --git a/packages/nodes-base/nodes/InvoiceNinja/ISOCountryCodes.ts b/packages/nodes-base/nodes/InvoiceNinja/ISOCountryCodes.ts index 2b78305fa3..e7b7e9b14d 100644 --- a/packages/nodes-base/nodes/InvoiceNinja/ISOCountryCodes.ts +++ b/packages/nodes-base/nodes/InvoiceNinja/ISOCountryCodes.ts @@ -1,4 +1,4 @@ -import { IDataObject } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; export const countryCodes = [ { diff --git a/packages/nodes-base/nodes/InvoiceNinja/InvoiceDescription.ts b/packages/nodes-base/nodes/InvoiceNinja/InvoiceDescription.ts index 7108492e91..e6ff91df4c 100644 --- a/packages/nodes-base/nodes/InvoiceNinja/InvoiceDescription.ts +++ b/packages/nodes-base/nodes/InvoiceNinja/InvoiceDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const invoiceOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/InvoiceNinja/InvoiceNinja.node.ts b/packages/nodes-base/nodes/InvoiceNinja/InvoiceNinja.node.ts index 7ecea8bace..74032ba884 100644 --- a/packages/nodes-base/nodes/InvoiceNinja/InvoiceNinja.node.ts +++ b/packages/nodes-base/nodes/InvoiceNinja/InvoiceNinja.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, @@ -15,27 +15,27 @@ import { clientFields, clientOperations } from './ClientDescription'; import { invoiceFields, invoiceOperations } from './InvoiceDescription'; -import { IClient, IContact } from './ClientInterface'; +import type { IClient, IContact } from './ClientInterface'; import { countryCodes } from './ISOCountryCodes'; -import { IInvoice, IItem } from './invoiceInterface'; +import type { IInvoice, IItem } from './invoiceInterface'; import { taskFields, taskOperations } from './TaskDescription'; -import { ITask } from './TaskInterface'; +import type { ITask } from './TaskInterface'; import { paymentFields, paymentOperations } from './PaymentDescription'; -import { IPayment } from './PaymentInterface'; +import type { IPayment } from './PaymentInterface'; import { expenseFields, expenseOperations } from './ExpenseDescription'; -import { IExpense } from './ExpenseInterface'; +import type { IExpense } from './ExpenseInterface'; import { quoteFields, quoteOperations } from './QuoteDescription'; -import { IQuote } from './QuoteInterface'; +import type { IQuote } from './QuoteInterface'; export class InvoiceNinja implements INodeType { description: INodeTypeDescription = { diff --git a/packages/nodes-base/nodes/InvoiceNinja/InvoiceNinjaTrigger.node.ts b/packages/nodes-base/nodes/InvoiceNinja/InvoiceNinjaTrigger.node.ts index 3cb8f66f8d..6fcd6f7ecb 100644 --- a/packages/nodes-base/nodes/InvoiceNinja/InvoiceNinjaTrigger.node.ts +++ b/packages/nodes-base/nodes/InvoiceNinja/InvoiceNinjaTrigger.node.ts @@ -1,6 +1,6 @@ -import { IHookFunctions, IWebhookFunctions } from 'n8n-core'; +import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; -import { INodeType, INodeTypeDescription, IWebhookResponseData } from 'n8n-workflow'; +import type { INodeType, INodeTypeDescription, IWebhookResponseData } from 'n8n-workflow'; import { eventID, diff --git a/packages/nodes-base/nodes/InvoiceNinja/PaymentDescription.ts b/packages/nodes-base/nodes/InvoiceNinja/PaymentDescription.ts index 158bee45fb..ff1a456259 100644 --- a/packages/nodes-base/nodes/InvoiceNinja/PaymentDescription.ts +++ b/packages/nodes-base/nodes/InvoiceNinja/PaymentDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const paymentOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/InvoiceNinja/QuoteDescription.ts b/packages/nodes-base/nodes/InvoiceNinja/QuoteDescription.ts index 3531abcfb6..c780e9589d 100644 --- a/packages/nodes-base/nodes/InvoiceNinja/QuoteDescription.ts +++ b/packages/nodes-base/nodes/InvoiceNinja/QuoteDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const quoteOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/InvoiceNinja/TaskDescription.ts b/packages/nodes-base/nodes/InvoiceNinja/TaskDescription.ts index 9f5439d421..c043948b4c 100644 --- a/packages/nodes-base/nodes/InvoiceNinja/TaskDescription.ts +++ b/packages/nodes-base/nodes/InvoiceNinja/TaskDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const taskOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/ItemLists/ItemLists.node.ts b/packages/nodes-base/nodes/ItemLists/ItemLists.node.ts index dfef70591a..e4fc5d8ea2 100644 --- a/packages/nodes-base/nodes/ItemLists/ItemLists.node.ts +++ b/packages/nodes-base/nodes/ItemLists/ItemLists.node.ts @@ -1,14 +1,15 @@ -import { NodeVM, NodeVMOptions } from 'vm2'; -import { IExecuteFunctions } from 'n8n-core'; +import type { NodeVMOptions } from 'vm2'; +import { NodeVM } from 'vm2'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, INode, INodeExecutionData, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { get, isEmpty, isEqual, isObject, lt, merge, pick, reduce, set, unset } from 'lodash'; diff --git a/packages/nodes-base/nodes/ItemLists/summarize.operation.ts b/packages/nodes-base/nodes/ItemLists/summarize.operation.ts index 69bbe86976..1a793cbfa1 100644 --- a/packages/nodes-base/nodes/ItemLists/summarize.operation.ts +++ b/packages/nodes-base/nodes/ItemLists/summarize.operation.ts @@ -1,11 +1,11 @@ -import { +import type { GenericValue, IDataObject, IExecuteFunctions, INodeExecutionData, INodeProperties, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { get } from 'lodash'; diff --git a/packages/nodes-base/nodes/Iterable/EventDescription.ts b/packages/nodes-base/nodes/Iterable/EventDescription.ts index d7c737d249..d66412a898 100644 --- a/packages/nodes-base/nodes/Iterable/EventDescription.ts +++ b/packages/nodes-base/nodes/Iterable/EventDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const eventOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Iterable/GenericFunctions.ts b/packages/nodes-base/nodes/Iterable/GenericFunctions.ts index ba327f37c6..6011e08f87 100644 --- a/packages/nodes-base/nodes/Iterable/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Iterable/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function iterableApiRequest( this: IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Iterable/Iterable.node.ts b/packages/nodes-base/nodes/Iterable/Iterable.node.ts index 9a1556355d..fbb0adea09 100644 --- a/packages/nodes-base/nodes/Iterable/Iterable.node.ts +++ b/packages/nodes-base/nodes/Iterable/Iterable.node.ts @@ -1,15 +1,14 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, INodePropertyOptions, INodeType, INodeTypeDescription, - NodeApiError, - NodeOperationError, } from 'n8n-workflow'; +import { NodeApiError, NodeOperationError } from 'n8n-workflow'; import { iterableApiRequest } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Iterable/UserDescription.ts b/packages/nodes-base/nodes/Iterable/UserDescription.ts index 742c38685d..c1cd00ce5e 100644 --- a/packages/nodes-base/nodes/Iterable/UserDescription.ts +++ b/packages/nodes-base/nodes/Iterable/UserDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const userOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Iterable/UserListDescription.ts b/packages/nodes-base/nodes/Iterable/UserListDescription.ts index f6ce56e456..3e33d2008c 100644 --- a/packages/nodes-base/nodes/Iterable/UserListDescription.ts +++ b/packages/nodes-base/nodes/Iterable/UserListDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const userListOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Jenkins/GenericFunctions.ts b/packages/nodes-base/nodes/Jenkins/GenericFunctions.ts index 580792e6d4..eafe83cdd2 100644 --- a/packages/nodes-base/nodes/Jenkins/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Jenkins/GenericFunctions.ts @@ -1,13 +1,14 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { +import type { IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export function tolerateTrailingSlash(baseUrl: string) { return baseUrl.endsWith('/') ? baseUrl.substr(0, baseUrl.length - 1) : baseUrl; diff --git a/packages/nodes-base/nodes/Jenkins/Jenkins.node.ts b/packages/nodes-base/nodes/Jenkins/Jenkins.node.ts index 101b7b5bd9..364720edd1 100644 --- a/packages/nodes-base/nodes/Jenkins/Jenkins.node.ts +++ b/packages/nodes-base/nodes/Jenkins/Jenkins.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { ICredentialsDecrypted, ICredentialTestFunctions, IDataObject, @@ -10,8 +10,8 @@ import { INodePropertyOptions, INodeType, INodeTypeDescription, - NodeApiError, } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; import { jenkinsApiRequest, tolerateTrailingSlash } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Jira/GenericFunctions.ts b/packages/nodes-base/nodes/Jira/GenericFunctions.ts index e0c7736a6e..c4988e44a8 100644 --- a/packages/nodes-base/nodes/Jira/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Jira/GenericFunctions.ts @@ -1,13 +1,14 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { +import type { IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, } from 'n8n-core'; -import { IDataObject, INodeListSearchItems, NodeApiError } from 'n8n-workflow'; +import type { IDataObject, INodeListSearchItems } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function jiraSoftwareCloudApiRequest( this: IHookFunctions | IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Jira/IssueAttachmentDescription.ts b/packages/nodes-base/nodes/Jira/IssueAttachmentDescription.ts index 63233c614d..c0b1719033 100644 --- a/packages/nodes-base/nodes/Jira/IssueAttachmentDescription.ts +++ b/packages/nodes-base/nodes/Jira/IssueAttachmentDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const issueAttachmentOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Jira/IssueCommentDescription.ts b/packages/nodes-base/nodes/Jira/IssueCommentDescription.ts index 742d0636b4..e5bbe90891 100644 --- a/packages/nodes-base/nodes/Jira/IssueCommentDescription.ts +++ b/packages/nodes-base/nodes/Jira/IssueCommentDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const issueCommentOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Jira/IssueDescription.ts b/packages/nodes-base/nodes/Jira/IssueDescription.ts index 1da4ab8543..d67d64fa42 100644 --- a/packages/nodes-base/nodes/Jira/IssueDescription.ts +++ b/packages/nodes-base/nodes/Jira/IssueDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const issueOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Jira/IssueInterface.ts b/packages/nodes-base/nodes/Jira/IssueInterface.ts index 57bc665a03..bd62860b02 100644 --- a/packages/nodes-base/nodes/Jira/IssueInterface.ts +++ b/packages/nodes-base/nodes/Jira/IssueInterface.ts @@ -1,4 +1,4 @@ -import { IDataObject } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; export interface IFields { assignee?: IDataObject; diff --git a/packages/nodes-base/nodes/Jira/Jira.node.ts b/packages/nodes-base/nodes/Jira/Jira.node.ts index 63bd7782e8..8e0fab8316 100644 --- a/packages/nodes-base/nodes/Jira/Jira.node.ts +++ b/packages/nodes-base/nodes/Jira/Jira.node.ts @@ -1,8 +1,8 @@ import { mergeWith } from 'lodash'; -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IBinaryKeyData, IDataObject, ILoadOptionsFunctions, @@ -12,8 +12,8 @@ import { INodePropertyOptions, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { filterSortSearchListItems, @@ -29,7 +29,7 @@ import { issueCommentFields, issueCommentOperations } from './IssueCommentDescri import { issueFields, issueOperations } from './IssueDescription'; -import { +import type { IFields, IIssue, INotificationRecipients, diff --git a/packages/nodes-base/nodes/Jira/JiraTrigger.node.ts b/packages/nodes-base/nodes/Jira/JiraTrigger.node.ts index 1170126fb0..797bb9b0e3 100644 --- a/packages/nodes-base/nodes/Jira/JiraTrigger.node.ts +++ b/packages/nodes-base/nodes/Jira/JiraTrigger.node.ts @@ -1,13 +1,13 @@ -import { IHookFunctions, IWebhookFunctions } from 'n8n-core'; +import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; -import { +import type { ICredentialDataDecryptedObject, IDataObject, INodeType, INodeTypeDescription, IWebhookResponseData, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { allEvents, eventExists, getId, jiraSoftwareCloudApiRequest } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Jira/UserDescription.ts b/packages/nodes-base/nodes/Jira/UserDescription.ts index 888ce86e0d..0cb55f3ae1 100644 --- a/packages/nodes-base/nodes/Jira/UserDescription.ts +++ b/packages/nodes-base/nodes/Jira/UserDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const userOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/JotForm/GenericFunctions.ts b/packages/nodes-base/nodes/JotForm/GenericFunctions.ts index 04cfe5a9f8..5799335f83 100644 --- a/packages/nodes-base/nodes/JotForm/GenericFunctions.ts +++ b/packages/nodes-base/nodes/JotForm/GenericFunctions.ts @@ -1,12 +1,13 @@ -import { OptionsWithUri } from 'request'; -import { +import type { OptionsWithUri } from 'request'; +import type { IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, IWebhookFunctions, } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function jotformApiRequest( this: diff --git a/packages/nodes-base/nodes/JotForm/JotFormTrigger.node.ts b/packages/nodes-base/nodes/JotForm/JotFormTrigger.node.ts index 0b97e28897..98c99621d2 100644 --- a/packages/nodes-base/nodes/JotForm/JotFormTrigger.node.ts +++ b/packages/nodes-base/nodes/JotForm/JotFormTrigger.node.ts @@ -1,16 +1,16 @@ import * as formidable from 'formidable'; -import { IHookFunctions, IWebhookFunctions } from 'n8n-core'; +import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodePropertyOptions, INodeType, INodeTypeDescription, IWebhookResponseData, - jsonParse, } from 'n8n-workflow'; +import { jsonParse } from 'n8n-workflow'; import { jotformApiRequest } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Kafka/Kafka.node.ts b/packages/nodes-base/nodes/Kafka/Kafka.node.ts index c058195da6..d57ebb498c 100644 --- a/packages/nodes-base/nodes/Kafka/Kafka.node.ts +++ b/packages/nodes-base/nodes/Kafka/Kafka.node.ts @@ -1,16 +1,11 @@ -import { - CompressionTypes, - Kafka as apacheKafka, - KafkaConfig, - SASLOptions, - TopicMessages, -} from 'kafkajs'; +import type { KafkaConfig, SASLOptions, TopicMessages } from 'kafkajs'; +import { CompressionTypes, Kafka as apacheKafka } from 'kafkajs'; import { SchemaRegistry } from '@kafkajs/confluent-schema-registry'; -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { ICredentialDataDecryptedObject, ICredentialsDecrypted, ICredentialTestFunctions, @@ -19,8 +14,8 @@ import { INodeExecutionData, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; export class Kafka implements INodeType { description: INodeTypeDescription = { diff --git a/packages/nodes-base/nodes/Kafka/KafkaTrigger.node.ts b/packages/nodes-base/nodes/Kafka/KafkaTrigger.node.ts index e35ba9b95f..e16ab70d71 100644 --- a/packages/nodes-base/nodes/Kafka/KafkaTrigger.node.ts +++ b/packages/nodes-base/nodes/Kafka/KafkaTrigger.node.ts @@ -1,16 +1,12 @@ -import { Kafka as apacheKafka, KafkaConfig, logLevel, SASLOptions } from 'kafkajs'; +import type { KafkaConfig, SASLOptions } from 'kafkajs'; +import { Kafka as apacheKafka, logLevel } from 'kafkajs'; import { SchemaRegistry } from '@kafkajs/confluent-schema-registry'; -import { ITriggerFunctions } from 'n8n-core'; +import type { ITriggerFunctions } from 'n8n-core'; -import { - IDataObject, - INodeType, - INodeTypeDescription, - ITriggerResponse, - NodeOperationError, -} from 'n8n-workflow'; +import type { IDataObject, INodeType, INodeTypeDescription, ITriggerResponse } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; export class KafkaTrigger implements INodeType { description: INodeTypeDescription = { diff --git a/packages/nodes-base/nodes/Keap/CompanyDescription.ts b/packages/nodes-base/nodes/Keap/CompanyDescription.ts index 8f5a0a4e66..eb8678d2c7 100644 --- a/packages/nodes-base/nodes/Keap/CompanyDescription.ts +++ b/packages/nodes-base/nodes/Keap/CompanyDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const companyOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Keap/CompanyInterface.ts b/packages/nodes-base/nodes/Keap/CompanyInterface.ts index 7bf32c78e5..6b121d5176 100644 --- a/packages/nodes-base/nodes/Keap/CompanyInterface.ts +++ b/packages/nodes-base/nodes/Keap/CompanyInterface.ts @@ -1,4 +1,4 @@ -import { IDataObject } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; export interface ICompany { address?: IDataObject; diff --git a/packages/nodes-base/nodes/Keap/ConctactInterface.ts b/packages/nodes-base/nodes/Keap/ConctactInterface.ts index a2772e083a..af69e2b0dd 100644 --- a/packages/nodes-base/nodes/Keap/ConctactInterface.ts +++ b/packages/nodes-base/nodes/Keap/ConctactInterface.ts @@ -1,4 +1,4 @@ -import { IDataObject } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; export interface IAddress { country_code?: string; diff --git a/packages/nodes-base/nodes/Keap/ContactDescription.ts b/packages/nodes-base/nodes/Keap/ContactDescription.ts index ff786ec6b0..ec60166889 100644 --- a/packages/nodes-base/nodes/Keap/ContactDescription.ts +++ b/packages/nodes-base/nodes/Keap/ContactDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const contactOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Keap/ContactNoteDescription.ts b/packages/nodes-base/nodes/Keap/ContactNoteDescription.ts index 4f10d77f27..4e3fa71557 100644 --- a/packages/nodes-base/nodes/Keap/ContactNoteDescription.ts +++ b/packages/nodes-base/nodes/Keap/ContactNoteDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const contactNoteOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Keap/ContactTagDescription.ts b/packages/nodes-base/nodes/Keap/ContactTagDescription.ts index 37f30494a9..11fb9bc670 100644 --- a/packages/nodes-base/nodes/Keap/ContactTagDescription.ts +++ b/packages/nodes-base/nodes/Keap/ContactTagDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const contactTagOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Keap/EcommerceOrderDescripion.ts b/packages/nodes-base/nodes/Keap/EcommerceOrderDescripion.ts index 89ef9caaf7..bb54be9731 100644 --- a/packages/nodes-base/nodes/Keap/EcommerceOrderDescripion.ts +++ b/packages/nodes-base/nodes/Keap/EcommerceOrderDescripion.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const ecommerceOrderOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Keap/EcommerceProductDescription.ts b/packages/nodes-base/nodes/Keap/EcommerceProductDescription.ts index 000ef914fc..f0230d218e 100644 --- a/packages/nodes-base/nodes/Keap/EcommerceProductDescription.ts +++ b/packages/nodes-base/nodes/Keap/EcommerceProductDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const ecommerceProductOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Keap/EmailDescription.ts b/packages/nodes-base/nodes/Keap/EmailDescription.ts index 1d640feaac..b2fd8ba5f0 100644 --- a/packages/nodes-base/nodes/Keap/EmailDescription.ts +++ b/packages/nodes-base/nodes/Keap/EmailDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const emailOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Keap/FileDescription.ts b/packages/nodes-base/nodes/Keap/FileDescription.ts index f31296acae..7a9cdb1239 100644 --- a/packages/nodes-base/nodes/Keap/FileDescription.ts +++ b/packages/nodes-base/nodes/Keap/FileDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const fileOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Keap/GenericFunctions.ts b/packages/nodes-base/nodes/Keap/GenericFunctions.ts index d1142f3e78..5086836cb3 100644 --- a/packages/nodes-base/nodes/Keap/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Keap/GenericFunctions.ts @@ -1,13 +1,14 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { +import type { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions, IWebhookFunctions, } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; import { snakeCase } from 'change-case'; diff --git a/packages/nodes-base/nodes/Keap/Keap.node.ts b/packages/nodes-base/nodes/Keap/Keap.node.ts index e8a8eb9a87..30fa2fc9c3 100644 --- a/packages/nodes-base/nodes/Keap/Keap.node.ts +++ b/packages/nodes-base/nodes/Keap/Keap.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IBinaryKeyData, IDataObject, ILoadOptionsFunctions, @@ -8,8 +8,8 @@ import { INodePropertyOptions, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { keapApiRequest, keapApiRequestAllItems, keysToSnakeCase } from './GenericFunctions'; @@ -29,7 +29,7 @@ import { fileFields, fileOperations } from './FileDescription'; import { companyFields, companyOperations } from './CompanyDescription'; -import { +import type { IAddress, IContact, IEmailContact, @@ -38,17 +38,17 @@ import { ISocialAccount, } from './ConctactInterface'; -import { IAttachment, IEmail } from './EmaiIInterface'; +import type { IAttachment, IEmail } from './EmaiIInterface'; -import { INote } from './ContactNoteInterface'; +import type { INote } from './ContactNoteInterface'; -import { IEcommerceOrder, IItem, IShippingAddress } from './EcommerceOrderInterface'; +import type { IEcommerceOrder, IItem, IShippingAddress } from './EcommerceOrderInterface'; -import { IEcommerceProduct } from './EcommerceProductInterface'; +import type { IEcommerceProduct } from './EcommerceProductInterface'; -import { IFile } from './FileInterface'; +import type { IFile } from './FileInterface'; -import { ICompany } from './CompanyInterface'; +import type { ICompany } from './CompanyInterface'; import { capitalCase, pascalCase } from 'change-case'; diff --git a/packages/nodes-base/nodes/Keap/KeapTrigger.node.ts b/packages/nodes-base/nodes/Keap/KeapTrigger.node.ts index 346b8aad58..9d2106f653 100644 --- a/packages/nodes-base/nodes/Keap/KeapTrigger.node.ts +++ b/packages/nodes-base/nodes/Keap/KeapTrigger.node.ts @@ -1,6 +1,6 @@ -import { IHookFunctions, IWebhookFunctions } from 'n8n-core'; +import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodePropertyOptions, diff --git a/packages/nodes-base/nodes/Kitemaker/GenericFunctions.ts b/packages/nodes-base/nodes/Kitemaker/GenericFunctions.ts index 2feb61364f..9e6d28eb25 100644 --- a/packages/nodes-base/nodes/Kitemaker/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Kitemaker/GenericFunctions.ts @@ -1,6 +1,7 @@ -import { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject, IHookFunctions, NodeApiError } from 'n8n-workflow'; +import type { IDataObject, IHookFunctions } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function kitemakerRequest( this: IExecuteFunctions | ILoadOptionsFunctions | IHookFunctions, diff --git a/packages/nodes-base/nodes/Kitemaker/Kitemaker.node.ts b/packages/nodes-base/nodes/Kitemaker/Kitemaker.node.ts index a7e8322158..3535c15c91 100644 --- a/packages/nodes-base/nodes/Kitemaker/Kitemaker.node.ts +++ b/packages/nodes-base/nodes/Kitemaker/Kitemaker.node.ts @@ -1,12 +1,12 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { ILoadOptionsFunctions, INodeExecutionData, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { organizationOperations, diff --git a/packages/nodes-base/nodes/Kitemaker/descriptions/OrganizationDescription.ts b/packages/nodes-base/nodes/Kitemaker/descriptions/OrganizationDescription.ts index d1bd8bd217..c22c27f94c 100644 --- a/packages/nodes-base/nodes/Kitemaker/descriptions/OrganizationDescription.ts +++ b/packages/nodes-base/nodes/Kitemaker/descriptions/OrganizationDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const organizationOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Kitemaker/descriptions/SpaceDescription.ts b/packages/nodes-base/nodes/Kitemaker/descriptions/SpaceDescription.ts index 76bd55a688..d340283f42 100644 --- a/packages/nodes-base/nodes/Kitemaker/descriptions/SpaceDescription.ts +++ b/packages/nodes-base/nodes/Kitemaker/descriptions/SpaceDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const spaceOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Kitemaker/descriptions/UserDescription.ts b/packages/nodes-base/nodes/Kitemaker/descriptions/UserDescription.ts index 14a53ad6b7..d13bda8ea6 100644 --- a/packages/nodes-base/nodes/Kitemaker/descriptions/UserDescription.ts +++ b/packages/nodes-base/nodes/Kitemaker/descriptions/UserDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const userOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Kitemaker/descriptions/WorkItemDescription.ts b/packages/nodes-base/nodes/Kitemaker/descriptions/WorkItemDescription.ts index 3f5a4d2272..6b6a4c370e 100644 --- a/packages/nodes-base/nodes/Kitemaker/descriptions/WorkItemDescription.ts +++ b/packages/nodes-base/nodes/Kitemaker/descriptions/WorkItemDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const workItemOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/KoBoToolbox/FileDescription.ts b/packages/nodes-base/nodes/KoBoToolbox/FileDescription.ts index 2840deebeb..8e15042e72 100644 --- a/packages/nodes-base/nodes/KoBoToolbox/FileDescription.ts +++ b/packages/nodes-base/nodes/KoBoToolbox/FileDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const fileOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/KoBoToolbox/FormDescription.ts b/packages/nodes-base/nodes/KoBoToolbox/FormDescription.ts index 301fea92f1..4619b689c3 100644 --- a/packages/nodes-base/nodes/KoBoToolbox/FormDescription.ts +++ b/packages/nodes-base/nodes/KoBoToolbox/FormDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const formOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/KoBoToolbox/GenericFunctions.ts b/packages/nodes-base/nodes/KoBoToolbox/GenericFunctions.ts index 2c611d3920..7cb1ace5c4 100644 --- a/packages/nodes-base/nodes/KoBoToolbox/GenericFunctions.ts +++ b/packages/nodes-base/nodes/KoBoToolbox/GenericFunctions.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { +import type { IDataObject, IHookFunctions, IHttpRequestOptions, diff --git a/packages/nodes-base/nodes/KoBoToolbox/HookDescription.ts b/packages/nodes-base/nodes/KoBoToolbox/HookDescription.ts index 855a07b9f4..99519421dc 100644 --- a/packages/nodes-base/nodes/KoBoToolbox/HookDescription.ts +++ b/packages/nodes-base/nodes/KoBoToolbox/HookDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const hookOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/KoBoToolbox/KoBoToolbox.node.ts b/packages/nodes-base/nodes/KoBoToolbox/KoBoToolbox.node.ts index 40c07f451e..ac7ad4abb9 100644 --- a/packages/nodes-base/nodes/KoBoToolbox/KoBoToolbox.node.ts +++ b/packages/nodes-base/nodes/KoBoToolbox/KoBoToolbox.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IBinaryKeyData, IDataObject, INodeExecutionData, diff --git a/packages/nodes-base/nodes/KoBoToolbox/KoBoToolboxTrigger.node.ts b/packages/nodes-base/nodes/KoBoToolbox/KoBoToolboxTrigger.node.ts index 6156db7947..2b3c59e581 100644 --- a/packages/nodes-base/nodes/KoBoToolbox/KoBoToolboxTrigger.node.ts +++ b/packages/nodes-base/nodes/KoBoToolbox/KoBoToolboxTrigger.node.ts @@ -1,4 +1,4 @@ -import { +import type { IDataObject, IHookFunctions, INodeType, diff --git a/packages/nodes-base/nodes/KoBoToolbox/Options.ts b/packages/nodes-base/nodes/KoBoToolbox/Options.ts index bff6f8bc9e..c283da35f9 100644 --- a/packages/nodes-base/nodes/KoBoToolbox/Options.ts +++ b/packages/nodes-base/nodes/KoBoToolbox/Options.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const options = { displayName: 'Options', diff --git a/packages/nodes-base/nodes/KoBoToolbox/SubmissionDescription.ts b/packages/nodes-base/nodes/KoBoToolbox/SubmissionDescription.ts index 18b8880a1e..52dc2c6d36 100644 --- a/packages/nodes-base/nodes/KoBoToolbox/SubmissionDescription.ts +++ b/packages/nodes-base/nodes/KoBoToolbox/SubmissionDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const submissionOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Lemlist/GenericFunctions.ts b/packages/nodes-base/nodes/Lemlist/GenericFunctions.ts index 0824ff77d2..bcf9dbce37 100644 --- a/packages/nodes-base/nodes/Lemlist/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Lemlist/GenericFunctions.ts @@ -1,8 +1,8 @@ -import { IExecuteFunctions, IHookFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IHookFunctions } from 'n8n-core'; -import { IDataObject, ILoadOptionsFunctions } from 'n8n-workflow'; +import type { IDataObject, ILoadOptionsFunctions } from 'n8n-workflow'; -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; import { capitalCase } from 'change-case'; diff --git a/packages/nodes-base/nodes/Lemlist/Lemlist.node.ts b/packages/nodes-base/nodes/Lemlist/Lemlist.node.ts index 3198d6345e..ad081593ac 100644 --- a/packages/nodes-base/nodes/Lemlist/Lemlist.node.ts +++ b/packages/nodes-base/nodes/Lemlist/Lemlist.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Lemlist/LemlistTrigger.node.ts b/packages/nodes-base/nodes/Lemlist/LemlistTrigger.node.ts index e71d45d34c..d1843f7781 100644 --- a/packages/nodes-base/nodes/Lemlist/LemlistTrigger.node.ts +++ b/packages/nodes-base/nodes/Lemlist/LemlistTrigger.node.ts @@ -1,6 +1,6 @@ -import { IHookFunctions, IWebhookFunctions } from 'n8n-core'; +import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeType, diff --git a/packages/nodes-base/nodes/Lemlist/descriptions/ActivityDescription.ts b/packages/nodes-base/nodes/Lemlist/descriptions/ActivityDescription.ts index cdf7d1beae..4143a1419d 100644 --- a/packages/nodes-base/nodes/Lemlist/descriptions/ActivityDescription.ts +++ b/packages/nodes-base/nodes/Lemlist/descriptions/ActivityDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const activityOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Lemlist/descriptions/CampaignDescription.ts b/packages/nodes-base/nodes/Lemlist/descriptions/CampaignDescription.ts index 7be06741b7..9aa980b93d 100644 --- a/packages/nodes-base/nodes/Lemlist/descriptions/CampaignDescription.ts +++ b/packages/nodes-base/nodes/Lemlist/descriptions/CampaignDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const campaignOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Lemlist/descriptions/LeadDescription.ts b/packages/nodes-base/nodes/Lemlist/descriptions/LeadDescription.ts index 38d89f2645..80e906bd1c 100644 --- a/packages/nodes-base/nodes/Lemlist/descriptions/LeadDescription.ts +++ b/packages/nodes-base/nodes/Lemlist/descriptions/LeadDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const leadOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Lemlist/descriptions/TeamDescription.ts b/packages/nodes-base/nodes/Lemlist/descriptions/TeamDescription.ts index 4346ea7e0c..040106f393 100644 --- a/packages/nodes-base/nodes/Lemlist/descriptions/TeamDescription.ts +++ b/packages/nodes-base/nodes/Lemlist/descriptions/TeamDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const teamOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Lemlist/descriptions/UnsubscribeDescription.ts b/packages/nodes-base/nodes/Lemlist/descriptions/UnsubscribeDescription.ts index 86a6d07ebe..fc87c69d1d 100644 --- a/packages/nodes-base/nodes/Lemlist/descriptions/UnsubscribeDescription.ts +++ b/packages/nodes-base/nodes/Lemlist/descriptions/UnsubscribeDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const unsubscribeOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Line/GenericFunctions.ts b/packages/nodes-base/nodes/Line/GenericFunctions.ts index b555cf1a54..36512c7a9a 100644 --- a/packages/nodes-base/nodes/Line/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Line/GenericFunctions.ts @@ -1,13 +1,14 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { +import type { IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function lineApiRequest( this: IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions | IHookFunctions, diff --git a/packages/nodes-base/nodes/Line/Line.node.ts b/packages/nodes-base/nodes/Line/Line.node.ts index 7592677473..8cec35fb9d 100644 --- a/packages/nodes-base/nodes/Line/Line.node.ts +++ b/packages/nodes-base/nodes/Line/Line.node.ts @@ -1,13 +1,13 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IBinaryKeyData, IDataObject, INodeExecutionData, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { lineApiRequest } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Line/NotificationDescription.ts b/packages/nodes-base/nodes/Line/NotificationDescription.ts index af8b7fe148..289a01ceb2 100644 --- a/packages/nodes-base/nodes/Line/NotificationDescription.ts +++ b/packages/nodes-base/nodes/Line/NotificationDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const notificationOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Linear/GenericFunctions.ts b/packages/nodes-base/nodes/Linear/GenericFunctions.ts index fef5450a04..1b3879203b 100644 --- a/packages/nodes-base/nodes/Linear/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Linear/GenericFunctions.ts @@ -1,16 +1,16 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { +import type { ICredentialDataDecryptedObject, ICredentialTestFunctions, IDataObject, IHookFunctions, IWebhookFunctions, JsonObject, - NodeApiError, } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; import get from 'lodash.get'; diff --git a/packages/nodes-base/nodes/Linear/IssueDescription.ts b/packages/nodes-base/nodes/Linear/IssueDescription.ts index 989e1d6089..0ac3e00300 100644 --- a/packages/nodes-base/nodes/Linear/IssueDescription.ts +++ b/packages/nodes-base/nodes/Linear/IssueDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const issueOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Linear/Linear.node.ts b/packages/nodes-base/nodes/Linear/Linear.node.ts index 2b66c34aa2..b5c10b4b22 100644 --- a/packages/nodes-base/nodes/Linear/Linear.node.ts +++ b/packages/nodes-base/nodes/Linear/Linear.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { ICredentialDataDecryptedObject, ICredentialsDecrypted, ICredentialTestFunctions, diff --git a/packages/nodes-base/nodes/Linear/LinearTrigger.node.ts b/packages/nodes-base/nodes/Linear/LinearTrigger.node.ts index d851be3b09..2da83ae3c6 100644 --- a/packages/nodes-base/nodes/Linear/LinearTrigger.node.ts +++ b/packages/nodes-base/nodes/Linear/LinearTrigger.node.ts @@ -1,6 +1,6 @@ -import { IHookFunctions, IWebhookFunctions } from 'n8n-core'; +import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; -import { +import type { ILoadOptionsFunctions, INodePropertyOptions, INodeType, diff --git a/packages/nodes-base/nodes/LingvaNex/ActivityDescription.ts b/packages/nodes-base/nodes/LingvaNex/ActivityDescription.ts index b33b868743..b37055b14e 100644 --- a/packages/nodes-base/nodes/LingvaNex/ActivityDescription.ts +++ b/packages/nodes-base/nodes/LingvaNex/ActivityDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const activityOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/LingvaNex/GenericFunctions.ts b/packages/nodes-base/nodes/LingvaNex/GenericFunctions.ts index 43ccba7b8a..640bacba01 100644 --- a/packages/nodes-base/nodes/LingvaNex/GenericFunctions.ts +++ b/packages/nodes-base/nodes/LingvaNex/GenericFunctions.ts @@ -1,13 +1,14 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { +import type { IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function lingvaNexApiRequest( this: IHookFunctions | IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/LingvaNex/LingvaNex.node.ts b/packages/nodes-base/nodes/LingvaNex/LingvaNex.node.ts index 4bc0630ab5..5bdc6f3341 100644 --- a/packages/nodes-base/nodes/LingvaNex/LingvaNex.node.ts +++ b/packages/nodes-base/nodes/LingvaNex/LingvaNex.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/LinkedIn/GenericFunctions.ts b/packages/nodes-base/nodes/LinkedIn/GenericFunctions.ts index fb160e563b..9ab7711ab8 100644 --- a/packages/nodes-base/nodes/LinkedIn/GenericFunctions.ts +++ b/packages/nodes-base/nodes/LinkedIn/GenericFunctions.ts @@ -1,6 +1,6 @@ -import { OptionsWithUrl } from 'request'; +import type { OptionsWithUrl } from 'request'; -import { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions } from 'n8n-core'; import { NodeApiError } from 'n8n-workflow'; export async function linkedInApiRequest( diff --git a/packages/nodes-base/nodes/LinkedIn/LinkedIn.node.ts b/packages/nodes-base/nodes/LinkedIn/LinkedIn.node.ts index 847658982b..bd2e830843 100644 --- a/packages/nodes-base/nodes/LinkedIn/LinkedIn.node.ts +++ b/packages/nodes-base/nodes/LinkedIn/LinkedIn.node.ts @@ -1,13 +1,13 @@ -import { IExecuteFunctions } from 'n8n-core'; -import { +import type { IExecuteFunctions } from 'n8n-core'; +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, INodePropertyOptions, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { linkedInApiRequest } from './GenericFunctions'; import { postFields, postOperations } from './PostDescription'; diff --git a/packages/nodes-base/nodes/LinkedIn/PostDescription.ts b/packages/nodes-base/nodes/LinkedIn/PostDescription.ts index b03fa7f5f3..8eddd70bb1 100644 --- a/packages/nodes-base/nodes/LinkedIn/PostDescription.ts +++ b/packages/nodes-base/nodes/LinkedIn/PostDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const postOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/LocalFileTrigger/LocalFileTrigger.node.ts b/packages/nodes-base/nodes/LocalFileTrigger/LocalFileTrigger.node.ts index 7dcf7625d7..e16681c06f 100644 --- a/packages/nodes-base/nodes/LocalFileTrigger/LocalFileTrigger.node.ts +++ b/packages/nodes-base/nodes/LocalFileTrigger/LocalFileTrigger.node.ts @@ -1,5 +1,5 @@ -import { ITriggerFunctions } from 'n8n-core'; -import { IDataObject, INodeType, INodeTypeDescription, ITriggerResponse } from 'n8n-workflow'; +import type { ITriggerFunctions } from 'n8n-core'; +import type { 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 fb1feba452..846d34674b 100644 --- a/packages/nodes-base/nodes/MQTT/Mqtt.node.ts +++ b/packages/nodes-base/nodes/MQTT/Mqtt.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { ICredentialDataDecryptedObject, ICredentialsDecrypted, ICredentialTestFunctions, diff --git a/packages/nodes-base/nodes/MQTT/MqttTrigger.node.ts b/packages/nodes-base/nodes/MQTT/MqttTrigger.node.ts index 619197c9f6..b92568d17b 100644 --- a/packages/nodes-base/nodes/MQTT/MqttTrigger.node.ts +++ b/packages/nodes-base/nodes/MQTT/MqttTrigger.node.ts @@ -1,12 +1,7 @@ -import { ITriggerFunctions } from 'n8n-core'; +import type { ITriggerFunctions } from 'n8n-core'; -import { - IDataObject, - INodeType, - INodeTypeDescription, - ITriggerResponse, - NodeOperationError, -} from 'n8n-workflow'; +import type { IDataObject, INodeType, INodeTypeDescription, ITriggerResponse } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import mqtt from 'mqtt'; diff --git a/packages/nodes-base/nodes/Magento/CustomerDescription.ts b/packages/nodes-base/nodes/Magento/CustomerDescription.ts index 98c27fe88b..1ece2e9a97 100644 --- a/packages/nodes-base/nodes/Magento/CustomerDescription.ts +++ b/packages/nodes-base/nodes/Magento/CustomerDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { getCustomerOptionalFields, getSearchFilters } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Magento/GenericFunctions.ts b/packages/nodes-base/nodes/Magento/GenericFunctions.ts index e1aa52fd3c..6d9092060c 100644 --- a/packages/nodes-base/nodes/Magento/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Magento/GenericFunctions.ts @@ -1,15 +1,16 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { +import type { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions, IWebhookFunctions, } from 'n8n-core'; -import { IDataObject, INodeProperties, INodePropertyOptions, NodeApiError } from 'n8n-workflow'; +import type { IDataObject, INodeProperties, INodePropertyOptions } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; -import { Address, Filter, FilterGroup, ProductAttribute, Search } from './Types'; +import type { Address, Filter, FilterGroup, ProductAttribute, Search } from './Types'; export async function magentoApiRequest( this: IWebhookFunctions | IHookFunctions | IExecuteFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Magento/InvoiceDescription.ts b/packages/nodes-base/nodes/Magento/InvoiceDescription.ts index 6e1bf2e903..7f8de3f251 100644 --- a/packages/nodes-base/nodes/Magento/InvoiceDescription.ts +++ b/packages/nodes-base/nodes/Magento/InvoiceDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const invoiceOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Magento/Magento2.node.ts b/packages/nodes-base/nodes/Magento/Magento2.node.ts index 610949ba16..fadf642d55 100644 --- a/packages/nodes-base/nodes/Magento/Magento2.node.ts +++ b/packages/nodes-base/nodes/Magento/Magento2.node.ts @@ -1,14 +1,14 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, INodePropertyOptions, INodeType, INodeTypeDescription, - NodeApiError, } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; import { adjustAddresses, @@ -29,7 +29,7 @@ import { productFields, productOperations } from './ProductDescription'; import { invoiceFields, invoiceOperations } from './InvoiceDescription'; -import { +import type { CustomAttribute, CustomerAttributeMetadata, Filter, diff --git a/packages/nodes-base/nodes/Magento/OrderDescription.ts b/packages/nodes-base/nodes/Magento/OrderDescription.ts index 528bd8c03a..75e84a292a 100644 --- a/packages/nodes-base/nodes/Magento/OrderDescription.ts +++ b/packages/nodes-base/nodes/Magento/OrderDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { getSearchFilters } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Magento/ProductDescription.ts b/packages/nodes-base/nodes/Magento/ProductDescription.ts index a6ca4fe43e..2c43e621e6 100644 --- a/packages/nodes-base/nodes/Magento/ProductDescription.ts +++ b/packages/nodes-base/nodes/Magento/ProductDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { getProductOptionalFields, getSearchFilters } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Magento/Types.d.ts b/packages/nodes-base/nodes/Magento/Types.d.ts index f05df332bb..91c18410d2 100644 --- a/packages/nodes-base/nodes/Magento/Types.d.ts +++ b/packages/nodes-base/nodes/Magento/Types.d.ts @@ -1,4 +1,4 @@ -import { IDataObject } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; export interface NewCustomer { customer?: Customer; diff --git a/packages/nodes-base/nodes/Mailcheck/GenericFunctions.ts b/packages/nodes-base/nodes/Mailcheck/GenericFunctions.ts index cd795dc1e1..8e17aff83d 100644 --- a/packages/nodes-base/nodes/Mailcheck/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Mailcheck/GenericFunctions.ts @@ -1,13 +1,13 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { +import type { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions, IWebhookFunctions, } from 'n8n-core'; -import { IDataObject } from 'n8n-workflow'; +import type { IDataObject } 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 b7c893a1bb..10afb975d4 100644 --- a/packages/nodes-base/nodes/Mailcheck/Mailcheck.node.ts +++ b/packages/nodes-base/nodes/Mailcheck/Mailcheck.node.ts @@ -1,6 +1,11 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { + IDataObject, + INodeExecutionData, + INodeType, + INodeTypeDescription, +} from 'n8n-workflow'; import { mailCheckApiRequest } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Mailchimp/GenericFunctions.ts b/packages/nodes-base/nodes/Mailchimp/GenericFunctions.ts index 5d6637241c..a659a94d88 100644 --- a/packages/nodes-base/nodes/Mailchimp/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Mailchimp/GenericFunctions.ts @@ -1,13 +1,14 @@ -import { OptionsWithUrl } from 'request'; +import type { OptionsWithUrl } from 'request'; -import { +import type { IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, } from 'n8n-core'; -import { IDataObject, NodeApiError, NodeOperationError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError, NodeOperationError } from 'n8n-workflow'; async function getMetadata( this: IHookFunctions | IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Mailchimp/Mailchimp.node.ts b/packages/nodes-base/nodes/Mailchimp/Mailchimp.node.ts index b323d220c1..8ee510ef9c 100644 --- a/packages/nodes-base/nodes/Mailchimp/Mailchimp.node.ts +++ b/packages/nodes-base/nodes/Mailchimp/Mailchimp.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Mailchimp/MailchimpTrigger.node.ts b/packages/nodes-base/nodes/Mailchimp/MailchimpTrigger.node.ts index 1fcd77b912..8496778bbd 100644 --- a/packages/nodes-base/nodes/Mailchimp/MailchimpTrigger.node.ts +++ b/packages/nodes-base/nodes/Mailchimp/MailchimpTrigger.node.ts @@ -1,13 +1,13 @@ -import { IHookFunctions, IWebhookFunctions } from 'n8n-core'; +import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; -import { +import type { ILoadOptionsFunctions, INodePropertyOptions, INodeType, INodeTypeDescription, IWebhookResponseData, - NodeApiError, } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; import { mailchimpApiRequest } from './GenericFunctions'; export class MailchimpTrigger implements INodeType { diff --git a/packages/nodes-base/nodes/MailerLite/GenericFunctions.ts b/packages/nodes-base/nodes/MailerLite/GenericFunctions.ts index 7cca705192..140e0daa2b 100644 --- a/packages/nodes-base/nodes/MailerLite/GenericFunctions.ts +++ b/packages/nodes-base/nodes/MailerLite/GenericFunctions.ts @@ -1,13 +1,14 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { +import type { IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function mailerliteApiRequest( this: IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions | IHookFunctions, diff --git a/packages/nodes-base/nodes/MailerLite/MailerLite.node.ts b/packages/nodes-base/nodes/MailerLite/MailerLite.node.ts index f6afd62dd1..72f4b3c0c5 100644 --- a/packages/nodes-base/nodes/MailerLite/MailerLite.node.ts +++ b/packages/nodes-base/nodes/MailerLite/MailerLite.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/MailerLite/MailerLiteTrigger.node.ts b/packages/nodes-base/nodes/MailerLite/MailerLiteTrigger.node.ts index 987ab84c19..c5e009e71e 100644 --- a/packages/nodes-base/nodes/MailerLite/MailerLiteTrigger.node.ts +++ b/packages/nodes-base/nodes/MailerLite/MailerLiteTrigger.node.ts @@ -1,6 +1,11 @@ -import { IHookFunctions, IWebhookFunctions } from 'n8n-core'; +import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; -import { IDataObject, INodeType, INodeTypeDescription, IWebhookResponseData } from 'n8n-workflow'; +import type { + IDataObject, + INodeType, + INodeTypeDescription, + IWebhookResponseData, +} from 'n8n-workflow'; import { mailerliteApiRequest } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/MailerLite/SubscriberDescription.ts b/packages/nodes-base/nodes/MailerLite/SubscriberDescription.ts index 57a3ae2985..7d1419ac5f 100644 --- a/packages/nodes-base/nodes/MailerLite/SubscriberDescription.ts +++ b/packages/nodes-base/nodes/MailerLite/SubscriberDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const subscriberOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Mailgun/Mailgun.node.ts b/packages/nodes-base/nodes/Mailgun/Mailgun.node.ts index cfc3cced20..ee615d49a7 100644 --- a/packages/nodes-base/nodes/Mailgun/Mailgun.node.ts +++ b/packages/nodes-base/nodes/Mailgun/Mailgun.node.ts @@ -1,11 +1,11 @@ -import { IExecuteFunctions } from 'n8n-core'; -import { +import type { IExecuteFunctions } from 'n8n-core'; +import type { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription, - NodeApiError, } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export class Mailgun implements INodeType { description: INodeTypeDescription = { diff --git a/packages/nodes-base/nodes/Mailjet/EmailDescription.ts b/packages/nodes-base/nodes/Mailjet/EmailDescription.ts index ef20a1f898..66e43ed418 100644 --- a/packages/nodes-base/nodes/Mailjet/EmailDescription.ts +++ b/packages/nodes-base/nodes/Mailjet/EmailDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const emailOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Mailjet/GenericFunctions.ts b/packages/nodes-base/nodes/Mailjet/GenericFunctions.ts index 2c0982eeaf..afb79c9501 100644 --- a/packages/nodes-base/nodes/Mailjet/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Mailjet/GenericFunctions.ts @@ -1,8 +1,8 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject, IHookFunctions } from 'n8n-workflow'; +import type { 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 850c5fc3e6..f4bb00d46a 100644 --- a/packages/nodes-base/nodes/Mailjet/Mailjet.node.ts +++ b/packages/nodes-base/nodes/Mailjet/Mailjet.node.ts @@ -1,16 +1,17 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, INodePropertyOptions, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; -import { IMessage, mailjetApiRequest, validateJSON } from './GenericFunctions'; +import type { IMessage } from './GenericFunctions'; +import { mailjetApiRequest, validateJSON } from './GenericFunctions'; import { emailFields, emailOperations } from './EmailDescription'; diff --git a/packages/nodes-base/nodes/Mailjet/MailjetTrigger.node.ts b/packages/nodes-base/nodes/Mailjet/MailjetTrigger.node.ts index 76c2206f5f..371e0942b2 100644 --- a/packages/nodes-base/nodes/Mailjet/MailjetTrigger.node.ts +++ b/packages/nodes-base/nodes/Mailjet/MailjetTrigger.node.ts @@ -1,6 +1,11 @@ -import { IHookFunctions, IWebhookFunctions } from 'n8n-core'; +import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; -import { IDataObject, INodeType, INodeTypeDescription, IWebhookResponseData } from 'n8n-workflow'; +import type { + IDataObject, + INodeType, + INodeTypeDescription, + IWebhookResponseData, +} from 'n8n-workflow'; import { mailjetApiRequest } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Mailjet/SmsDescription.ts b/packages/nodes-base/nodes/Mailjet/SmsDescription.ts index ee86b0e8b6..b15b57ff81 100644 --- a/packages/nodes-base/nodes/Mailjet/SmsDescription.ts +++ b/packages/nodes-base/nodes/Mailjet/SmsDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const smsOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Mandrill/GenericFunctions.ts b/packages/nodes-base/nodes/Mandrill/GenericFunctions.ts index 167603d913..1e3d12d73f 100644 --- a/packages/nodes-base/nodes/Mandrill/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Mandrill/GenericFunctions.ts @@ -1,6 +1,6 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions } from 'n8n-core'; import _ from 'lodash'; import { NodeApiError } from 'n8n-workflow'; diff --git a/packages/nodes-base/nodes/Mandrill/Mandrill.node.ts b/packages/nodes-base/nodes/Mandrill/Mandrill.node.ts index 117e09916d..1d7b6da77c 100644 --- a/packages/nodes-base/nodes/Mandrill/Mandrill.node.ts +++ b/packages/nodes-base/nodes/Mandrill/Mandrill.node.ts @@ -1,14 +1,14 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, INodePropertyOptions, INodeType, INodeTypeDescription, - NodeApiError, } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; import { getGoogleAnalyticsDomainsArray, diff --git a/packages/nodes-base/nodes/ManualTrigger/ManualTrigger.node.ts b/packages/nodes-base/nodes/ManualTrigger/ManualTrigger.node.ts index 52e15a6285..624d41dafe 100644 --- a/packages/nodes-base/nodes/ManualTrigger/ManualTrigger.node.ts +++ b/packages/nodes-base/nodes/ManualTrigger/ManualTrigger.node.ts @@ -1,5 +1,5 @@ -import { ITriggerFunctions } from 'n8n-core'; -import { INodeType, INodeTypeDescription, ITriggerResponse } from 'n8n-workflow'; +import type { ITriggerFunctions } from 'n8n-core'; +import type { 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 6002a2f318..d8e4fe35ff 100644 --- a/packages/nodes-base/nodes/Markdown/Markdown.node.ts +++ b/packages/nodes-base/nodes/Markdown/Markdown.node.ts @@ -1,13 +1,13 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { - deepCopy, +import type { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription, JsonObject, } from 'n8n-workflow'; +import { deepCopy } from 'n8n-workflow'; import { Converter } from 'showdown'; diff --git a/packages/nodes-base/nodes/Marketstack/GenericFunctions.ts b/packages/nodes-base/nodes/Marketstack/GenericFunctions.ts index da7af6817b..eec8f80e71 100644 --- a/packages/nodes-base/nodes/Marketstack/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Marketstack/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, NodeApiError, NodeOperationError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError, NodeOperationError } from 'n8n-workflow'; export async function marketstackApiRequest( this: IExecuteFunctions, diff --git a/packages/nodes-base/nodes/Marketstack/Marketstack.node.ts b/packages/nodes-base/nodes/Marketstack/Marketstack.node.ts index f9954c930b..6f553eb848 100644 --- a/packages/nodes-base/nodes/Marketstack/Marketstack.node.ts +++ b/packages/nodes-base/nodes/Marketstack/Marketstack.node.ts @@ -1,12 +1,12 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { endOfDayDataFields, @@ -24,7 +24,7 @@ import { validateTimeOptions, } from './GenericFunctions'; -import { EndOfDayDataFilters, Operation, Resource } from './types'; +import type { EndOfDayDataFilters, Operation, Resource } from './types'; export class Marketstack implements INodeType { description: INodeTypeDescription = { diff --git a/packages/nodes-base/nodes/Marketstack/descriptions/EndOfDayDataDescription.ts b/packages/nodes-base/nodes/Marketstack/descriptions/EndOfDayDataDescription.ts index 4189dd99c6..05dc77e822 100644 --- a/packages/nodes-base/nodes/Marketstack/descriptions/EndOfDayDataDescription.ts +++ b/packages/nodes-base/nodes/Marketstack/descriptions/EndOfDayDataDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const endOfDayDataOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Marketstack/descriptions/ExchangeDescription.ts b/packages/nodes-base/nodes/Marketstack/descriptions/ExchangeDescription.ts index dd485e7e2e..60b72d7161 100644 --- a/packages/nodes-base/nodes/Marketstack/descriptions/ExchangeDescription.ts +++ b/packages/nodes-base/nodes/Marketstack/descriptions/ExchangeDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const exchangeOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Marketstack/descriptions/TickerDescription.ts b/packages/nodes-base/nodes/Marketstack/descriptions/TickerDescription.ts index 836e513ba9..edbed85d5e 100644 --- a/packages/nodes-base/nodes/Marketstack/descriptions/TickerDescription.ts +++ b/packages/nodes-base/nodes/Marketstack/descriptions/TickerDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const tickerOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Matrix/AccountDescription.ts b/packages/nodes-base/nodes/Matrix/AccountDescription.ts index 1c2a3746b6..0306230a00 100644 --- a/packages/nodes-base/nodes/Matrix/AccountDescription.ts +++ b/packages/nodes-base/nodes/Matrix/AccountDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const accountOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Matrix/EventDescription.ts b/packages/nodes-base/nodes/Matrix/EventDescription.ts index 87bdf1bbe5..b1a8994df2 100644 --- a/packages/nodes-base/nodes/Matrix/EventDescription.ts +++ b/packages/nodes-base/nodes/Matrix/EventDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const eventOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Matrix/GenericFunctions.ts b/packages/nodes-base/nodes/Matrix/GenericFunctions.ts index 261b539ec7..39a86bbb37 100644 --- a/packages/nodes-base/nodes/Matrix/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Matrix/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IDataObject, NodeApiError, NodeOperationError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError, NodeOperationError } from 'n8n-workflow'; -import { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; import _ from 'lodash'; import { v4 as uuid } from 'uuid'; diff --git a/packages/nodes-base/nodes/Matrix/Matrix.node.ts b/packages/nodes-base/nodes/Matrix/Matrix.node.ts index dd14f03a60..f89ac3a1e2 100644 --- a/packages/nodes-base/nodes/Matrix/Matrix.node.ts +++ b/packages/nodes-base/nodes/Matrix/Matrix.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Matrix/MediaDescription.ts b/packages/nodes-base/nodes/Matrix/MediaDescription.ts index 167cfed738..22af3a068b 100644 --- a/packages/nodes-base/nodes/Matrix/MediaDescription.ts +++ b/packages/nodes-base/nodes/Matrix/MediaDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const mediaOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Matrix/MessageDescription.ts b/packages/nodes-base/nodes/Matrix/MessageDescription.ts index 4d0c1f611e..973ea6ecc8 100644 --- a/packages/nodes-base/nodes/Matrix/MessageDescription.ts +++ b/packages/nodes-base/nodes/Matrix/MessageDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const messageOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Matrix/RoomDescription.ts b/packages/nodes-base/nodes/Matrix/RoomDescription.ts index 4a21a883ea..cf2236c4ab 100644 --- a/packages/nodes-base/nodes/Matrix/RoomDescription.ts +++ b/packages/nodes-base/nodes/Matrix/RoomDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const roomOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Matrix/RoomMemberDescription.ts b/packages/nodes-base/nodes/Matrix/RoomMemberDescription.ts index 64647bbba7..1dbfdb9e64 100644 --- a/packages/nodes-base/nodes/Matrix/RoomMemberDescription.ts +++ b/packages/nodes-base/nodes/Matrix/RoomMemberDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const roomMemberOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Mattermost/Mattermost.node.ts b/packages/nodes-base/nodes/Mattermost/Mattermost.node.ts index 148a555b36..d59273cffc 100644 --- a/packages/nodes-base/nodes/Mattermost/Mattermost.node.ts +++ b/packages/nodes-base/nodes/Mattermost/Mattermost.node.ts @@ -1,4 +1,5 @@ -import { INodeTypeBaseDescription, IVersionedNodeType, VersionedNodeType } from 'n8n-workflow'; +import type { INodeTypeBaseDescription, IVersionedNodeType } from 'n8n-workflow'; +import { VersionedNodeType } from 'n8n-workflow'; import { MattermostV1 } from './v1/MattermostV1.node'; diff --git a/packages/nodes-base/nodes/Mattermost/v1/MattermostV1.node.ts b/packages/nodes-base/nodes/Mattermost/v1/MattermostV1.node.ts index 54999e3c81..925749b13a 100644 --- a/packages/nodes-base/nodes/Mattermost/v1/MattermostV1.node.ts +++ b/packages/nodes-base/nodes/Mattermost/v1/MattermostV1.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { INodeType, INodeTypeBaseDescription, INodeTypeDescription } from 'n8n-workflow'; +import type { 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/Interfaces.ts b/packages/nodes-base/nodes/Mattermost/v1/actions/Interfaces.ts index 38e30df5c6..5d1cb3917c 100644 --- a/packages/nodes-base/nodes/Mattermost/v1/actions/Interfaces.ts +++ b/packages/nodes-base/nodes/Mattermost/v1/actions/Interfaces.ts @@ -1,4 +1,4 @@ -import { AllEntities, Entity, PropertiesOf } from 'n8n-workflow'; +import type { AllEntities, Entity, PropertiesOf } from 'n8n-workflow'; type MattermostMap = { channel: 'addUser' | 'create' | 'delete' | 'members' | 'restore' | 'statistics' | 'search'; diff --git a/packages/nodes-base/nodes/Mattermost/v1/actions/channel/addUser/description.ts b/packages/nodes-base/nodes/Mattermost/v1/actions/channel/addUser/description.ts index 6401255a07..140ae10d81 100644 --- a/packages/nodes-base/nodes/Mattermost/v1/actions/channel/addUser/description.ts +++ b/packages/nodes-base/nodes/Mattermost/v1/actions/channel/addUser/description.ts @@ -1,4 +1,4 @@ -import { ChannelProperties } from '../../Interfaces'; +import type { ChannelProperties } from '../../Interfaces'; export const channelAddUserDescription: ChannelProperties = [ { 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 4b4bee59b9..3c275fbc4d 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,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/Mattermost/v1/actions/channel/create/description.ts b/packages/nodes-base/nodes/Mattermost/v1/actions/channel/create/description.ts index 198d9156fe..1405776574 100644 --- a/packages/nodes-base/nodes/Mattermost/v1/actions/channel/create/description.ts +++ b/packages/nodes-base/nodes/Mattermost/v1/actions/channel/create/description.ts @@ -1,4 +1,4 @@ -import { ChannelProperties } from '../../Interfaces'; +import type { ChannelProperties } from '../../Interfaces'; export const channelCreateDescription: ChannelProperties = [ { 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 82d5cdfff7..34991a0707 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,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/Mattermost/v1/actions/channel/del/description.ts b/packages/nodes-base/nodes/Mattermost/v1/actions/channel/del/description.ts index 53f3b8825c..c87af5bbdd 100644 --- a/packages/nodes-base/nodes/Mattermost/v1/actions/channel/del/description.ts +++ b/packages/nodes-base/nodes/Mattermost/v1/actions/channel/del/description.ts @@ -1,4 +1,4 @@ -import { ChannelProperties } from '../../Interfaces'; +import type { ChannelProperties } from '../../Interfaces'; export const channelDeleteDescription: ChannelProperties = [ { 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 bcc8f92d76..a72c7007b8 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,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/Mattermost/v1/actions/channel/index.ts b/packages/nodes-base/nodes/Mattermost/v1/actions/channel/index.ts index 90cbba96d8..08393603ed 100644 --- a/packages/nodes-base/nodes/Mattermost/v1/actions/channel/index.ts +++ b/packages/nodes-base/nodes/Mattermost/v1/actions/channel/index.ts @@ -5,7 +5,7 @@ import * as restore from './restore'; import * as addUser from './addUser'; import * as statistics from './statistics'; import * as search from './search'; -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export { create, del as delete, members, restore, addUser, statistics, search }; diff --git a/packages/nodes-base/nodes/Mattermost/v1/actions/channel/members/description.ts b/packages/nodes-base/nodes/Mattermost/v1/actions/channel/members/description.ts index 11a84c85d0..2fa0b75ba2 100644 --- a/packages/nodes-base/nodes/Mattermost/v1/actions/channel/members/description.ts +++ b/packages/nodes-base/nodes/Mattermost/v1/actions/channel/members/description.ts @@ -1,4 +1,4 @@ -import { ChannelProperties } from '../../Interfaces'; +import type { ChannelProperties } from '../../Interfaces'; export const channelMembersDescription: ChannelProperties = [ { 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 1a9290821e..3d1e3db305 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,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest, apiRequestAllItems } from '../../../transport'; diff --git a/packages/nodes-base/nodes/Mattermost/v1/actions/channel/restore/description.ts b/packages/nodes-base/nodes/Mattermost/v1/actions/channel/restore/description.ts index 3ea16a3940..c69677edb2 100644 --- a/packages/nodes-base/nodes/Mattermost/v1/actions/channel/restore/description.ts +++ b/packages/nodes-base/nodes/Mattermost/v1/actions/channel/restore/description.ts @@ -1,4 +1,4 @@ -import { ChannelProperties } from '../../Interfaces'; +import type { ChannelProperties } from '../../Interfaces'; export const channelRestoreDescription: ChannelProperties = [ { 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 505cf8b865..4436c08908 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,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/Mattermost/v1/actions/channel/search/description.ts b/packages/nodes-base/nodes/Mattermost/v1/actions/channel/search/description.ts index 6fcd168846..00e530be6b 100644 --- a/packages/nodes-base/nodes/Mattermost/v1/actions/channel/search/description.ts +++ b/packages/nodes-base/nodes/Mattermost/v1/actions/channel/search/description.ts @@ -1,4 +1,4 @@ -import { ChannelProperties } from '../../Interfaces'; +import type { ChannelProperties } from '../../Interfaces'; export const channelSearchDescription: ChannelProperties = [ { 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 058febeb4f..47d1b70297 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,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/Mattermost/v1/actions/channel/statistics/description.ts b/packages/nodes-base/nodes/Mattermost/v1/actions/channel/statistics/description.ts index 8bd123bf05..ca38fafe77 100644 --- a/packages/nodes-base/nodes/Mattermost/v1/actions/channel/statistics/description.ts +++ b/packages/nodes-base/nodes/Mattermost/v1/actions/channel/statistics/description.ts @@ -1,4 +1,4 @@ -import { ChannelProperties } from '../../Interfaces'; +import type { ChannelProperties } from '../../Interfaces'; export const channelStatisticsDescription: ChannelProperties = [ { 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 fe9c3ef848..6164cd36ab 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,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/Mattermost/v1/actions/message/del/description.ts b/packages/nodes-base/nodes/Mattermost/v1/actions/message/del/description.ts index b464c8c7e5..a0f3a5eefc 100644 --- a/packages/nodes-base/nodes/Mattermost/v1/actions/message/del/description.ts +++ b/packages/nodes-base/nodes/Mattermost/v1/actions/message/del/description.ts @@ -1,4 +1,4 @@ -import { MessageProperties } from '../../Interfaces'; +import type { MessageProperties } from '../../Interfaces'; export const messageDeleteDescription: MessageProperties = [ { 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 20571d3cb1..eb6fef7741 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,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/Mattermost/v1/actions/message/index.ts b/packages/nodes-base/nodes/Mattermost/v1/actions/message/index.ts index 2982868ece..efa2fcf1fe 100644 --- a/packages/nodes-base/nodes/Mattermost/v1/actions/message/index.ts +++ b/packages/nodes-base/nodes/Mattermost/v1/actions/message/index.ts @@ -2,7 +2,7 @@ import * as del from './del'; import * as post from './post'; import * as postEphemeral from './postEphemeral'; -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export { del as delete, post, postEphemeral }; diff --git a/packages/nodes-base/nodes/Mattermost/v1/actions/message/post/description.ts b/packages/nodes-base/nodes/Mattermost/v1/actions/message/post/description.ts index ec357ce17f..4f7fd29fe5 100644 --- a/packages/nodes-base/nodes/Mattermost/v1/actions/message/post/description.ts +++ b/packages/nodes-base/nodes/Mattermost/v1/actions/message/post/description.ts @@ -1,4 +1,4 @@ -import { MessageProperties } from '../../Interfaces'; +import type { MessageProperties } from '../../Interfaces'; export const messagePostDescription: MessageProperties = [ { 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 a6f1c97a98..8cae875e0e 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,10 +1,10 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; -import { IAttachment } from '../../Interfaces'; +import type { IAttachment } from '../../Interfaces'; export async function post(this: IExecuteFunctions, index: number): Promise { const body = {} as IDataObject; diff --git a/packages/nodes-base/nodes/Mattermost/v1/actions/message/postEphemeral/description.ts b/packages/nodes-base/nodes/Mattermost/v1/actions/message/postEphemeral/description.ts index 91164b7547..b4cf526f4f 100644 --- a/packages/nodes-base/nodes/Mattermost/v1/actions/message/postEphemeral/description.ts +++ b/packages/nodes-base/nodes/Mattermost/v1/actions/message/postEphemeral/description.ts @@ -1,4 +1,4 @@ -import { MessageProperties } from '../../Interfaces'; +import type { MessageProperties } from '../../Interfaces'; export const messagePostEphemeralDescription: MessageProperties = [ { 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 73537aa786..6f4816b240 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,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/Mattermost/v1/actions/reaction/create/description.ts b/packages/nodes-base/nodes/Mattermost/v1/actions/reaction/create/description.ts index 04e4d938d5..98b21b97e5 100644 --- a/packages/nodes-base/nodes/Mattermost/v1/actions/reaction/create/description.ts +++ b/packages/nodes-base/nodes/Mattermost/v1/actions/reaction/create/description.ts @@ -1,4 +1,4 @@ -import { ReactionProperties } from '../../Interfaces'; +import type { ReactionProperties } from '../../Interfaces'; export const reactionCreateDescription: ReactionProperties = [ { 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 b33acf035f..37dbd3e562 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,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/Mattermost/v1/actions/reaction/del/description.ts b/packages/nodes-base/nodes/Mattermost/v1/actions/reaction/del/description.ts index 02a9bf3a61..c7d9185960 100644 --- a/packages/nodes-base/nodes/Mattermost/v1/actions/reaction/del/description.ts +++ b/packages/nodes-base/nodes/Mattermost/v1/actions/reaction/del/description.ts @@ -1,4 +1,4 @@ -import { ReactionProperties } from '../../Interfaces'; +import type { ReactionProperties } from '../../Interfaces'; export const reactionDeleteDescription: ReactionProperties = [ { 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 feec92dd25..f2f0dab39e 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,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/Mattermost/v1/actions/reaction/getAll/description.ts b/packages/nodes-base/nodes/Mattermost/v1/actions/reaction/getAll/description.ts index d3c2995617..8ccfdd7b07 100644 --- a/packages/nodes-base/nodes/Mattermost/v1/actions/reaction/getAll/description.ts +++ b/packages/nodes-base/nodes/Mattermost/v1/actions/reaction/getAll/description.ts @@ -1,4 +1,4 @@ -import { ReactionProperties } from '../../Interfaces'; +import type { ReactionProperties } from '../../Interfaces'; export const reactionGetAllDescription: ReactionProperties = [ { 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 4ad1a4ee06..8ec544f0c8 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,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/Mattermost/v1/actions/reaction/index.ts b/packages/nodes-base/nodes/Mattermost/v1/actions/reaction/index.ts index d3b4865b88..60ba78541c 100644 --- a/packages/nodes-base/nodes/Mattermost/v1/actions/reaction/index.ts +++ b/packages/nodes-base/nodes/Mattermost/v1/actions/reaction/index.ts @@ -2,7 +2,7 @@ import * as create from './create'; import * as del from './del'; import * as getAll from './getAll'; -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export { create, del as delete, getAll }; diff --git a/packages/nodes-base/nodes/Mattermost/v1/actions/router.ts b/packages/nodes-base/nodes/Mattermost/v1/actions/router.ts index a3c711cff9..0813546689 100644 --- a/packages/nodes-base/nodes/Mattermost/v1/actions/router.ts +++ b/packages/nodes-base/nodes/Mattermost/v1/actions/router.ts @@ -1,12 +1,12 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; import * as channel from './channel'; import * as message from './message'; import * as reaction from './reaction'; import * as user from './user'; -import { Mattermost } from './Interfaces'; +import type { Mattermost } from './Interfaces'; export async function router(this: IExecuteFunctions): Promise { const items = this.getInputData(); diff --git a/packages/nodes-base/nodes/Mattermost/v1/actions/user/create/description.ts b/packages/nodes-base/nodes/Mattermost/v1/actions/user/create/description.ts index be1abbfc8c..f0f92f01fa 100644 --- a/packages/nodes-base/nodes/Mattermost/v1/actions/user/create/description.ts +++ b/packages/nodes-base/nodes/Mattermost/v1/actions/user/create/description.ts @@ -1,4 +1,4 @@ -import { UserProperties } from '../../Interfaces'; +import type { UserProperties } from '../../Interfaces'; export const userCreateDescription: UserProperties = [ { 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 70cae09e7f..16da1743cb 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,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/Mattermost/v1/actions/user/deactive/description.ts b/packages/nodes-base/nodes/Mattermost/v1/actions/user/deactive/description.ts index 6cddbbfd01..39437fb7ec 100644 --- a/packages/nodes-base/nodes/Mattermost/v1/actions/user/deactive/description.ts +++ b/packages/nodes-base/nodes/Mattermost/v1/actions/user/deactive/description.ts @@ -1,4 +1,4 @@ -import { UserProperties } from '../../Interfaces'; +import type { UserProperties } from '../../Interfaces'; export const userDeactiveDescription: UserProperties = [ { 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 dfa0a367f7..2951d59b57 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,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/Mattermost/v1/actions/user/getAll/description.ts b/packages/nodes-base/nodes/Mattermost/v1/actions/user/getAll/description.ts index cbbef83a92..84a912ddac 100644 --- a/packages/nodes-base/nodes/Mattermost/v1/actions/user/getAll/description.ts +++ b/packages/nodes-base/nodes/Mattermost/v1/actions/user/getAll/description.ts @@ -1,4 +1,4 @@ -import { UserProperties } from '../../Interfaces'; +import type { UserProperties } from '../../Interfaces'; export const userGetAllDescription: UserProperties = [ { 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 672c976367..64563bc24e 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,7 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData, NodeOperationError } from 'n8n-workflow'; +import type { 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/description.ts b/packages/nodes-base/nodes/Mattermost/v1/actions/user/getByEmail/description.ts index e8fc45d139..96b31c89e3 100644 --- a/packages/nodes-base/nodes/Mattermost/v1/actions/user/getByEmail/description.ts +++ b/packages/nodes-base/nodes/Mattermost/v1/actions/user/getByEmail/description.ts @@ -1,4 +1,4 @@ -import { UserProperties } from '../../Interfaces'; +import type { UserProperties } from '../../Interfaces'; export const userGetByEmailDescription: UserProperties = [ { 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 2b98c301a8..3ddcfba5b0 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,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/Mattermost/v1/actions/user/getById/description.ts b/packages/nodes-base/nodes/Mattermost/v1/actions/user/getById/description.ts index 1c43e77d49..9e5313ec45 100644 --- a/packages/nodes-base/nodes/Mattermost/v1/actions/user/getById/description.ts +++ b/packages/nodes-base/nodes/Mattermost/v1/actions/user/getById/description.ts @@ -1,4 +1,4 @@ -import { UserProperties } from '../../Interfaces'; +import type { UserProperties } from '../../Interfaces'; export const userGetByIdDescription: UserProperties = [ { 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 6ce4fa08d8..9c7015c4b8 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,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/Mattermost/v1/actions/user/index.ts b/packages/nodes-base/nodes/Mattermost/v1/actions/user/index.ts index 11e8e97a7a..e0f1c0d943 100644 --- a/packages/nodes-base/nodes/Mattermost/v1/actions/user/index.ts +++ b/packages/nodes-base/nodes/Mattermost/v1/actions/user/index.ts @@ -5,7 +5,7 @@ import * as getByEmail from './getByEmail'; import * as getById from './getById'; import * as invite from './invite'; -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export { create, deactive, getAll, getByEmail, getById, invite }; diff --git a/packages/nodes-base/nodes/Mattermost/v1/actions/user/invite/description.ts b/packages/nodes-base/nodes/Mattermost/v1/actions/user/invite/description.ts index 8215e3325b..bb4e09dc70 100644 --- a/packages/nodes-base/nodes/Mattermost/v1/actions/user/invite/description.ts +++ b/packages/nodes-base/nodes/Mattermost/v1/actions/user/invite/description.ts @@ -1,4 +1,4 @@ -import { UserProperties } from '../../Interfaces'; +import type { UserProperties } from '../../Interfaces'; export const userInviteDescription: UserProperties = [ { 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 c05b825b5a..bfa4e76d83 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,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/Mattermost/v1/actions/versionDescription.ts b/packages/nodes-base/nodes/Mattermost/v1/actions/versionDescription.ts index a58b465e1f..1fa66bdf39 100644 --- a/packages/nodes-base/nodes/Mattermost/v1/actions/versionDescription.ts +++ b/packages/nodes-base/nodes/Mattermost/v1/actions/versionDescription.ts @@ -1,5 +1,5 @@ /* eslint-disable n8n-nodes-base/node-filename-against-convention */ -import { INodeTypeDescription } from 'n8n-workflow'; +import type { INodeTypeDescription } from 'n8n-workflow'; import * as channel from './channel'; import * as message from './message'; import * as reaction from './reaction'; diff --git a/packages/nodes-base/nodes/Mattermost/v1/methods/loadOptions.ts b/packages/nodes-base/nodes/Mattermost/v1/methods/loadOptions.ts index 5b6b1d0f72..e52d0f2aef 100644 --- a/packages/nodes-base/nodes/Mattermost/v1/methods/loadOptions.ts +++ b/packages/nodes-base/nodes/Mattermost/v1/methods/loadOptions.ts @@ -1,9 +1,5 @@ -import { - IDataObject, - ILoadOptionsFunctions, - INodePropertyOptions, - NodeOperationError, -} from 'n8n-workflow'; +import type { IDataObject, ILoadOptionsFunctions, INodePropertyOptions } from 'n8n-workflow'; +import { NodeOperationError } 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 1d182f9c02..2e2919c309 100644 --- a/packages/nodes-base/nodes/Mattermost/v1/transport/index.ts +++ b/packages/nodes-base/nodes/Mattermost/v1/transport/index.ts @@ -1,6 +1,11 @@ -import { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { GenericValue, IDataObject, IHttpRequestMethods, IHttpRequestOptions } from 'n8n-workflow'; +import type { + GenericValue, + IDataObject, + IHttpRequestMethods, + IHttpRequestOptions, +} from 'n8n-workflow'; /** * Make an API request to Mattermost diff --git a/packages/nodes-base/nodes/Mautic/CampaignContactDescription.ts b/packages/nodes-base/nodes/Mautic/CampaignContactDescription.ts index 8eabc11f2e..98555277da 100644 --- a/packages/nodes-base/nodes/Mautic/CampaignContactDescription.ts +++ b/packages/nodes-base/nodes/Mautic/CampaignContactDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const campaignContactOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Mautic/CompanyContactDescription.ts b/packages/nodes-base/nodes/Mautic/CompanyContactDescription.ts index d5d815fe01..75754aaed0 100644 --- a/packages/nodes-base/nodes/Mautic/CompanyContactDescription.ts +++ b/packages/nodes-base/nodes/Mautic/CompanyContactDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const companyContactOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Mautic/CompanyDescription.ts b/packages/nodes-base/nodes/Mautic/CompanyDescription.ts index 0454ac9121..3c72a608a2 100644 --- a/packages/nodes-base/nodes/Mautic/CompanyDescription.ts +++ b/packages/nodes-base/nodes/Mautic/CompanyDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const companyOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Mautic/ContactDescription.ts b/packages/nodes-base/nodes/Mautic/ContactDescription.ts index 0d173d0ca4..65b6b3ed3d 100644 --- a/packages/nodes-base/nodes/Mautic/ContactDescription.ts +++ b/packages/nodes-base/nodes/Mautic/ContactDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const contactOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Mautic/ContactSegmentDescription.ts b/packages/nodes-base/nodes/Mautic/ContactSegmentDescription.ts index a4ae14720d..6a761ed168 100644 --- a/packages/nodes-base/nodes/Mautic/ContactSegmentDescription.ts +++ b/packages/nodes-base/nodes/Mautic/ContactSegmentDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const contactSegmentOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Mautic/GenericFunctions.ts b/packages/nodes-base/nodes/Mautic/GenericFunctions.ts index 62baf83dc0..88ade4287b 100644 --- a/packages/nodes-base/nodes/Mautic/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Mautic/GenericFunctions.ts @@ -1,12 +1,13 @@ -import { +import type { IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, } from 'n8n-core'; -import { IDataObject, JsonObject, NodeApiError } from 'n8n-workflow'; -import { OptionsWithUri } from 'request'; +import type { IDataObject, JsonObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; +import type { OptionsWithUri } from 'request'; export async function mauticApiRequest( this: IHookFunctions | IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Mautic/Mautic.node.ts b/packages/nodes-base/nodes/Mautic/Mautic.node.ts index 2ca3d48e20..ca307e18a1 100644 --- a/packages/nodes-base/nodes/Mautic/Mautic.node.ts +++ b/packages/nodes-base/nodes/Mautic/Mautic.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, @@ -8,9 +8,8 @@ import { INodeType, INodeTypeDescription, JsonObject, - NodeApiError, - NodeOperationError, } from 'n8n-workflow'; +import { NodeApiError, NodeOperationError } from 'n8n-workflow'; import { mauticApiRequest, mauticApiRequestAllItems, validateJSON } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Mautic/MauticTrigger.node.ts b/packages/nodes-base/nodes/Mautic/MauticTrigger.node.ts index a80a47f266..ac96509b38 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 { IHookFunctions, IWebhookFunctions } from 'n8n-core'; +import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodePropertyOptions, diff --git a/packages/nodes-base/nodes/Mautic/SegmentEmailDescription.ts b/packages/nodes-base/nodes/Mautic/SegmentEmailDescription.ts index f6b4ca3305..b15d305f1e 100644 --- a/packages/nodes-base/nodes/Mautic/SegmentEmailDescription.ts +++ b/packages/nodes-base/nodes/Mautic/SegmentEmailDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const segmentEmailOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Medium/GenericFunctions.ts b/packages/nodes-base/nodes/Medium/GenericFunctions.ts index 9c3a1d9616..89058098b7 100644 --- a/packages/nodes-base/nodes/Medium/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Medium/GenericFunctions.ts @@ -1,13 +1,14 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { +import type { IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function mediumApiRequest( this: IHookFunctions | IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Medium/Medium.node.ts b/packages/nodes-base/nodes/Medium/Medium.node.ts index 0ac8cd8268..a3443fee58 100644 --- a/packages/nodes-base/nodes/Medium/Medium.node.ts +++ b/packages/nodes-base/nodes/Medium/Medium.node.ts @@ -1,14 +1,14 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, INodePropertyOptions, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { mediumApiRequest } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Merge/Merge.node.ts b/packages/nodes-base/nodes/Merge/Merge.node.ts index ae163846f7..e00220f260 100644 --- a/packages/nodes-base/nodes/Merge/Merge.node.ts +++ b/packages/nodes-base/nodes/Merge/Merge.node.ts @@ -1,4 +1,5 @@ -import { INodeTypeBaseDescription, IVersionedNodeType, VersionedNodeType } from 'n8n-workflow'; +import type { INodeTypeBaseDescription, IVersionedNodeType } from 'n8n-workflow'; +import { VersionedNodeType } from 'n8n-workflow'; import { MergeV1 } from './v1/MergeV1.node'; import { MergeV2 } from './v2/MergeV2.node'; diff --git a/packages/nodes-base/nodes/Merge/v1/MergeV1.node.ts b/packages/nodes-base/nodes/Merge/v1/MergeV1.node.ts index d5bb9de2f2..704b8900c9 100644 --- a/packages/nodes-base/nodes/Merge/v1/MergeV1.node.ts +++ b/packages/nodes-base/nodes/Merge/v1/MergeV1.node.ts @@ -1,10 +1,9 @@ /* eslint-disable n8n-nodes-base/node-filename-against-convention */ import { get } from 'lodash'; -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { - deepCopy, +import type { GenericValue, INodeExecutionData, INodeType, @@ -12,6 +11,7 @@ import { INodeTypeDescription, IPairedItemData, } from 'n8n-workflow'; +import { deepCopy } from 'n8n-workflow'; const versionDescription: INodeTypeDescription = { displayName: 'Merge', diff --git a/packages/nodes-base/nodes/Merge/v2/GenericFunctions.ts b/packages/nodes-base/nodes/Merge/v2/GenericFunctions.ts index 1d85860037..7ceb7afc89 100644 --- a/packages/nodes-base/nodes/Merge/v2/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Merge/v2/GenericFunctions.ts @@ -1,11 +1,11 @@ -import { +import type { GenericValue, IBinaryKeyData, IDataObject, INodeExecutionData, IPairedItemData, - jsonParse, } from 'n8n-workflow'; +import { jsonParse } from 'n8n-workflow'; import { assign, assignWith, get, isEqual, isNull, merge, mergeWith } from 'lodash'; diff --git a/packages/nodes-base/nodes/Merge/v2/MergeV2.node.ts b/packages/nodes-base/nodes/Merge/v2/MergeV2.node.ts index ef41955aa4..4865c0b196 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 { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; import { merge } from 'lodash'; -import { +import type { IDataObject, INodeExecutionData, INodeType, @@ -12,16 +12,18 @@ import { IPairedItemData, } from 'n8n-workflow'; +import type { + ClashResolveOptions, + MatchFieldsJoinMode, + MatchFieldsOptions, + MatchFieldsOutput, +} from './GenericFunctions'; import { addSourceField, addSuffixToEntriesKeys, checkInput, checkMatchFieldsInput, - ClashResolveOptions, findMatches, - MatchFieldsJoinMode, - MatchFieldsOptions, - MatchFieldsOutput, mergeMatched, selectMergeMethod, } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Merge/v2/OptionsDescription.ts b/packages/nodes-base/nodes/Merge/v2/OptionsDescription.ts index e794e8f936..77e791be58 100644 --- a/packages/nodes-base/nodes/Merge/v2/OptionsDescription.ts +++ b/packages/nodes-base/nodes/Merge/v2/OptionsDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; const clashHandlingProperties: INodeProperties = { displayName: 'Clash Handling', diff --git a/packages/nodes-base/nodes/MessageBird/GenericFunctions.ts b/packages/nodes-base/nodes/MessageBird/GenericFunctions.ts index c74856c265..5e6cd3c757 100644 --- a/packages/nodes-base/nodes/MessageBird/GenericFunctions.ts +++ b/packages/nodes-base/nodes/MessageBird/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions, IHookFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IHookFunctions } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; /** * Make an API request to Message Bird diff --git a/packages/nodes-base/nodes/MessageBird/MessageBird.node.ts b/packages/nodes-base/nodes/MessageBird/MessageBird.node.ts index 2344ac7e93..aa3d131ad6 100644 --- a/packages/nodes-base/nodes/MessageBird/MessageBird.node.ts +++ b/packages/nodes-base/nodes/MessageBird/MessageBird.node.ts @@ -1,12 +1,12 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { messageBirdApiRequest } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Metabase/AlertsDescription.ts b/packages/nodes-base/nodes/Metabase/AlertsDescription.ts index 044bad79d7..44c5a53c42 100644 --- a/packages/nodes-base/nodes/Metabase/AlertsDescription.ts +++ b/packages/nodes-base/nodes/Metabase/AlertsDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const alertsOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Metabase/DatabasesDescription.ts b/packages/nodes-base/nodes/Metabase/DatabasesDescription.ts index 0f39920679..c0180f769f 100644 --- a/packages/nodes-base/nodes/Metabase/DatabasesDescription.ts +++ b/packages/nodes-base/nodes/Metabase/DatabasesDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const databasesOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Metabase/Metabase.node.ts b/packages/nodes-base/nodes/Metabase/Metabase.node.ts index 4f8570588f..64fce71671 100644 --- a/packages/nodes-base/nodes/Metabase/Metabase.node.ts +++ b/packages/nodes-base/nodes/Metabase/Metabase.node.ts @@ -1,4 +1,4 @@ -import { INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { INodeType, INodeTypeDescription } from 'n8n-workflow'; import { questionsFields, questionsOperations } from './QuestionsDescription'; diff --git a/packages/nodes-base/nodes/Metabase/MetricsDescription.ts b/packages/nodes-base/nodes/Metabase/MetricsDescription.ts index 00df4d8bdc..d782fc454b 100644 --- a/packages/nodes-base/nodes/Metabase/MetricsDescription.ts +++ b/packages/nodes-base/nodes/Metabase/MetricsDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const metricsOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Metabase/QuestionsDescription.ts b/packages/nodes-base/nodes/Metabase/QuestionsDescription.ts index f2889c9141..961aa66717 100644 --- a/packages/nodes-base/nodes/Metabase/QuestionsDescription.ts +++ b/packages/nodes-base/nodes/Metabase/QuestionsDescription.ts @@ -1,11 +1,11 @@ -import { +import type { IDataObject, IExecuteSingleFunctions, IN8nHttpFullResponse, INodeExecutionData, INodeProperties, - jsonParse, } from 'n8n-workflow'; +import { jsonParse } from 'n8n-workflow'; export const questionsOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Microsoft/Dynamics/GenericFunctions.ts b/packages/nodes-base/nodes/Microsoft/Dynamics/GenericFunctions.ts index badd717691..8029580ea8 100644 --- a/packages/nodes-base/nodes/Microsoft/Dynamics/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Microsoft/Dynamics/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject, INodeProperties, INodePropertyOptions, NodeApiError } from 'n8n-workflow'; +import type { IDataObject, INodeProperties, INodePropertyOptions } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function microsoftApiRequest( this: IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Microsoft/Dynamics/MicrosoftDynamicsCrm.node.ts b/packages/nodes-base/nodes/Microsoft/Dynamics/MicrosoftDynamicsCrm.node.ts index 0f7babf1b7..f58a6360ce 100644 --- a/packages/nodes-base/nodes/Microsoft/Dynamics/MicrosoftDynamicsCrm.node.ts +++ b/packages/nodes-base/nodes/Microsoft/Dynamics/MicrosoftDynamicsCrm.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, @@ -9,11 +9,11 @@ import { INodeTypeDescription, } from 'n8n-workflow'; +import type { IField } from './GenericFunctions'; import { adjustAddresses, getEntityFields, getPicklistOptions, - IField, microsoftApiRequest, microsoftApiRequestAllItems, sort, diff --git a/packages/nodes-base/nodes/Microsoft/Dynamics/descriptions/AccountDescription.ts b/packages/nodes-base/nodes/Microsoft/Dynamics/descriptions/AccountDescription.ts index 141813ad0e..2d3cfc87ea 100644 --- a/packages/nodes-base/nodes/Microsoft/Dynamics/descriptions/AccountDescription.ts +++ b/packages/nodes-base/nodes/Microsoft/Dynamics/descriptions/AccountDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { getAccountFields } from '../GenericFunctions'; diff --git a/packages/nodes-base/nodes/Microsoft/Excel/GenericFunctions.ts b/packages/nodes-base/nodes/Microsoft/Excel/GenericFunctions.ts index aacb40c23d..b30ff95c9c 100644 --- a/packages/nodes-base/nodes/Microsoft/Excel/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Microsoft/Excel/GenericFunctions.ts @@ -1,6 +1,7 @@ -import { OptionsWithUri } from 'request'; -import { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { OptionsWithUri } from 'request'; +import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function microsoftApiRequest( this: IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Microsoft/Excel/MicrosoftExcel.node.ts b/packages/nodes-base/nodes/Microsoft/Excel/MicrosoftExcel.node.ts index 00d70d11a7..554e973fc8 100644 --- a/packages/nodes-base/nodes/Microsoft/Excel/MicrosoftExcel.node.ts +++ b/packages/nodes-base/nodes/Microsoft/Excel/MicrosoftExcel.node.ts @@ -1,14 +1,14 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, INodePropertyOptions, INodeType, INodeTypeDescription, - NodeApiError, } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; import { microsoftApiRequest, diff --git a/packages/nodes-base/nodes/Microsoft/Excel/TableDescription.ts b/packages/nodes-base/nodes/Microsoft/Excel/TableDescription.ts index 4a6b79eb14..ccb10faae6 100644 --- a/packages/nodes-base/nodes/Microsoft/Excel/TableDescription.ts +++ b/packages/nodes-base/nodes/Microsoft/Excel/TableDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const tableOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Microsoft/Excel/WorkbookDescription.ts b/packages/nodes-base/nodes/Microsoft/Excel/WorkbookDescription.ts index 4f522cd061..57ba88d4c6 100644 --- a/packages/nodes-base/nodes/Microsoft/Excel/WorkbookDescription.ts +++ b/packages/nodes-base/nodes/Microsoft/Excel/WorkbookDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const workbookOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Microsoft/Excel/WorksheetDescription.ts b/packages/nodes-base/nodes/Microsoft/Excel/WorksheetDescription.ts index a430395f4c..28746e5e50 100644 --- a/packages/nodes-base/nodes/Microsoft/Excel/WorksheetDescription.ts +++ b/packages/nodes-base/nodes/Microsoft/Excel/WorksheetDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const worksheetOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Microsoft/GraphSecurity/GenericFunctions.ts b/packages/nodes-base/nodes/Microsoft/GraphSecurity/GenericFunctions.ts index f8524cec98..487ace6327 100644 --- a/packages/nodes-base/nodes/Microsoft/GraphSecurity/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Microsoft/GraphSecurity/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, NodeApiError, NodeOperationError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError, NodeOperationError } from 'n8n-workflow'; -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; export async function msGraphSecurityApiRequest( this: IExecuteFunctions, diff --git a/packages/nodes-base/nodes/Microsoft/GraphSecurity/MicrosoftGraphSecurity.node.ts b/packages/nodes-base/nodes/Microsoft/GraphSecurity/MicrosoftGraphSecurity.node.ts index 6d1776f258..87b3f5a268 100644 --- a/packages/nodes-base/nodes/Microsoft/GraphSecurity/MicrosoftGraphSecurity.node.ts +++ b/packages/nodes-base/nodes/Microsoft/GraphSecurity/MicrosoftGraphSecurity.node.ts @@ -1,6 +1,11 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { + IDataObject, + INodeExecutionData, + INodeType, + INodeTypeDescription, +} from 'n8n-workflow'; import { msGraphSecurityApiRequest, diff --git a/packages/nodes-base/nodes/Microsoft/GraphSecurity/descriptions/SecureScoreControlProfileDescription.ts b/packages/nodes-base/nodes/Microsoft/GraphSecurity/descriptions/SecureScoreControlProfileDescription.ts index e412f5e086..6a5cec624f 100644 --- a/packages/nodes-base/nodes/Microsoft/GraphSecurity/descriptions/SecureScoreControlProfileDescription.ts +++ b/packages/nodes-base/nodes/Microsoft/GraphSecurity/descriptions/SecureScoreControlProfileDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const secureScoreControlProfileOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Microsoft/GraphSecurity/descriptions/SecureScoreDescription.ts b/packages/nodes-base/nodes/Microsoft/GraphSecurity/descriptions/SecureScoreDescription.ts index 2689d81d76..aa85d0ae01 100644 --- a/packages/nodes-base/nodes/Microsoft/GraphSecurity/descriptions/SecureScoreDescription.ts +++ b/packages/nodes-base/nodes/Microsoft/GraphSecurity/descriptions/SecureScoreDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const secureScoreOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Microsoft/OneDrive/FileDescription.ts b/packages/nodes-base/nodes/Microsoft/OneDrive/FileDescription.ts index 3348afb079..93b1dbcefd 100644 --- a/packages/nodes-base/nodes/Microsoft/OneDrive/FileDescription.ts +++ b/packages/nodes-base/nodes/Microsoft/OneDrive/FileDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const fileOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Microsoft/OneDrive/FolderDescription.ts b/packages/nodes-base/nodes/Microsoft/OneDrive/FolderDescription.ts index c6c3b28057..f4422f96b0 100644 --- a/packages/nodes-base/nodes/Microsoft/OneDrive/FolderDescription.ts +++ b/packages/nodes-base/nodes/Microsoft/OneDrive/FolderDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const folderOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Microsoft/OneDrive/GenericFunctions.ts b/packages/nodes-base/nodes/Microsoft/OneDrive/GenericFunctions.ts index d4d6509469..423397ad66 100644 --- a/packages/nodes-base/nodes/Microsoft/OneDrive/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Microsoft/OneDrive/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function microsoftApiRequest( this: IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Microsoft/OneDrive/MicrosoftOneDrive.node.ts b/packages/nodes-base/nodes/Microsoft/OneDrive/MicrosoftOneDrive.node.ts index fa030048e8..957903bc67 100644 --- a/packages/nodes-base/nodes/Microsoft/OneDrive/MicrosoftOneDrive.node.ts +++ b/packages/nodes-base/nodes/Microsoft/OneDrive/MicrosoftOneDrive.node.ts @@ -1,14 +1,13 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IBinaryKeyData, IDataObject, INodeExecutionData, INodeType, INodeTypeDescription, - NodeApiError, - NodeOperationError, } from 'n8n-workflow'; +import { NodeApiError, NodeOperationError } from 'n8n-workflow'; import { microsoftApiRequest, microsoftApiRequestAllItems } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Microsoft/Outlook/DraftDescription.ts b/packages/nodes-base/nodes/Microsoft/Outlook/DraftDescription.ts index 45b89a2038..9a770cfb63 100644 --- a/packages/nodes-base/nodes/Microsoft/Outlook/DraftDescription.ts +++ b/packages/nodes-base/nodes/Microsoft/Outlook/DraftDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const draftOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Microsoft/Outlook/DraftMessageSharedDescription.ts b/packages/nodes-base/nodes/Microsoft/Outlook/DraftMessageSharedDescription.ts index dcb3bfb1a6..59190650f2 100644 --- a/packages/nodes-base/nodes/Microsoft/Outlook/DraftMessageSharedDescription.ts +++ b/packages/nodes-base/nodes/Microsoft/Outlook/DraftMessageSharedDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const draftMessageSharedFields: INodeProperties[] = [ // Get & Get All operations diff --git a/packages/nodes-base/nodes/Microsoft/Outlook/FolderDescription.ts b/packages/nodes-base/nodes/Microsoft/Outlook/FolderDescription.ts index 2158a54f60..bb9da4f2fd 100644 --- a/packages/nodes-base/nodes/Microsoft/Outlook/FolderDescription.ts +++ b/packages/nodes-base/nodes/Microsoft/Outlook/FolderDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const folderOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Microsoft/Outlook/FolderMessageDecription.ts b/packages/nodes-base/nodes/Microsoft/Outlook/FolderMessageDecription.ts index d217668018..d3d5f17994 100644 --- a/packages/nodes-base/nodes/Microsoft/Outlook/FolderMessageDecription.ts +++ b/packages/nodes-base/nodes/Microsoft/Outlook/FolderMessageDecription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const folderMessageOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Microsoft/Outlook/GenericFunctions.ts b/packages/nodes-base/nodes/Microsoft/Outlook/GenericFunctions.ts index 71285ed852..a4256b9f50 100644 --- a/packages/nodes-base/nodes/Microsoft/Outlook/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Microsoft/Outlook/GenericFunctions.ts @@ -1,13 +1,10 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { - BINARY_ENCODING, - IExecuteFunctions, - IExecuteSingleFunctions, - ILoadOptionsFunctions, -} from 'n8n-core'; +import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import { BINARY_ENCODING } from 'n8n-core'; -import { IDataObject, INodeExecutionData, NodeApiError, NodeOperationError } from 'n8n-workflow'; +import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import { NodeApiError, NodeOperationError } from 'n8n-workflow'; export async function microsoftApiRequest( this: IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Microsoft/Outlook/MessageAttachmentDescription.ts b/packages/nodes-base/nodes/Microsoft/Outlook/MessageAttachmentDescription.ts index a596753c81..7669c2d890 100644 --- a/packages/nodes-base/nodes/Microsoft/Outlook/MessageAttachmentDescription.ts +++ b/packages/nodes-base/nodes/Microsoft/Outlook/MessageAttachmentDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const messageAttachmentOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Microsoft/Outlook/MessageDescription.ts b/packages/nodes-base/nodes/Microsoft/Outlook/MessageDescription.ts index 061e7d7c9b..fa5b5d53e5 100644 --- a/packages/nodes-base/nodes/Microsoft/Outlook/MessageDescription.ts +++ b/packages/nodes-base/nodes/Microsoft/Outlook/MessageDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const messageOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Microsoft/Outlook/MicrosoftOutlook.node.ts b/packages/nodes-base/nodes/Microsoft/Outlook/MicrosoftOutlook.node.ts index 7c99401574..85955898c4 100644 --- a/packages/nodes-base/nodes/Microsoft/Outlook/MicrosoftOutlook.node.ts +++ b/packages/nodes-base/nodes/Microsoft/Outlook/MicrosoftOutlook.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IBinaryKeyData, IDataObject, ILoadOptionsFunctions, @@ -8,9 +8,8 @@ import { INodePropertyOptions, INodeType, INodeTypeDescription, - NodeApiError, - NodeOperationError, } from 'n8n-workflow'; +import { NodeApiError, NodeOperationError } from 'n8n-workflow'; import { binaryToAttachments, diff --git a/packages/nodes-base/nodes/Microsoft/Sql/GenericFunctions.ts b/packages/nodes-base/nodes/Microsoft/Sql/GenericFunctions.ts index df7c2c7d69..6a7360d201 100644 --- a/packages/nodes-base/nodes/Microsoft/Sql/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Microsoft/Sql/GenericFunctions.ts @@ -1,6 +1,7 @@ /* eslint-disable @typescript-eslint/ban-types */ -import { deepCopy, IDataObject, INodeExecutionData } from 'n8n-workflow'; -import { ITables } from './TableInterface'; +import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import { deepCopy } from 'n8n-workflow'; +import type { ITables } from './TableInterface'; /** * Returns a copy of the item which only contains the json data and diff --git a/packages/nodes-base/nodes/Microsoft/Sql/MicrosoftSql.node.ts b/packages/nodes-base/nodes/Microsoft/Sql/MicrosoftSql.node.ts index bcc173ae81..30b913473f 100644 --- a/packages/nodes-base/nodes/Microsoft/Sql/MicrosoftSql.node.ts +++ b/packages/nodes-base/nodes/Microsoft/Sql/MicrosoftSql.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { ICredentialDataDecryptedObject, ICredentialsDecrypted, ICredentialTestFunctions, @@ -9,14 +9,14 @@ import { INodeExecutionData, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { chunk, flatten } from '../../../utils/utilities'; import mssql from 'mssql'; -import { ITables } from './TableInterface'; +import type { ITables } from './TableInterface'; import { copyInputItem, diff --git a/packages/nodes-base/nodes/Microsoft/Sql/TableInterface.ts b/packages/nodes-base/nodes/Microsoft/Sql/TableInterface.ts index c260c36ab3..ec4b098ea5 100644 --- a/packages/nodes-base/nodes/Microsoft/Sql/TableInterface.ts +++ b/packages/nodes-base/nodes/Microsoft/Sql/TableInterface.ts @@ -1,4 +1,4 @@ -import { IDataObject } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; export interface ITables { [key: string]: { diff --git a/packages/nodes-base/nodes/Microsoft/Teams/ChannelDescription.ts b/packages/nodes-base/nodes/Microsoft/Teams/ChannelDescription.ts index eac4656c14..5e9f63082f 100644 --- a/packages/nodes-base/nodes/Microsoft/Teams/ChannelDescription.ts +++ b/packages/nodes-base/nodes/Microsoft/Teams/ChannelDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const channelOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Microsoft/Teams/ChannelMessageDescription.ts b/packages/nodes-base/nodes/Microsoft/Teams/ChannelMessageDescription.ts index 176c196dfa..1daf756182 100644 --- a/packages/nodes-base/nodes/Microsoft/Teams/ChannelMessageDescription.ts +++ b/packages/nodes-base/nodes/Microsoft/Teams/ChannelMessageDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const channelMessageOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Microsoft/Teams/ChatMessageDescription.ts b/packages/nodes-base/nodes/Microsoft/Teams/ChatMessageDescription.ts index c69d3617a4..1a6aacd371 100644 --- a/packages/nodes-base/nodes/Microsoft/Teams/ChatMessageDescription.ts +++ b/packages/nodes-base/nodes/Microsoft/Teams/ChatMessageDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const chatMessageOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Microsoft/Teams/GenericFunctions.ts b/packages/nodes-base/nodes/Microsoft/Teams/GenericFunctions.ts index 7c53d59bcb..abfe976f18 100644 --- a/packages/nodes-base/nodes/Microsoft/Teams/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Microsoft/Teams/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function microsoftApiRequest( this: IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Microsoft/Teams/MicrosoftTeams.node.ts b/packages/nodes-base/nodes/Microsoft/Teams/MicrosoftTeams.node.ts index 2ddeac8725..87778897c2 100644 --- a/packages/nodes-base/nodes/Microsoft/Teams/MicrosoftTeams.node.ts +++ b/packages/nodes-base/nodes/Microsoft/Teams/MicrosoftTeams.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Microsoft/Teams/TaskDescription.ts b/packages/nodes-base/nodes/Microsoft/Teams/TaskDescription.ts index a1b7682dc1..32bbe56a13 100644 --- a/packages/nodes-base/nodes/Microsoft/Teams/TaskDescription.ts +++ b/packages/nodes-base/nodes/Microsoft/Teams/TaskDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const taskOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Microsoft/ToDo/GenericFunctions.ts b/packages/nodes-base/nodes/Microsoft/ToDo/GenericFunctions.ts index a8e1dbdf00..65aedc8e18 100644 --- a/packages/nodes-base/nodes/Microsoft/ToDo/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Microsoft/ToDo/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, ILoadOptionsFunctions, NodeApiError } from 'n8n-workflow'; +import type { IDataObject, ILoadOptionsFunctions } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function microsoftApiRequest( this: IExecuteFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Microsoft/ToDo/LinkedResourceDescription.ts b/packages/nodes-base/nodes/Microsoft/ToDo/LinkedResourceDescription.ts index e30a517be4..cb68f53a7d 100644 --- a/packages/nodes-base/nodes/Microsoft/ToDo/LinkedResourceDescription.ts +++ b/packages/nodes-base/nodes/Microsoft/ToDo/LinkedResourceDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const linkedResourceOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Microsoft/ToDo/ListDescription.ts b/packages/nodes-base/nodes/Microsoft/ToDo/ListDescription.ts index cd3d3ab92c..4fa97c519d 100644 --- a/packages/nodes-base/nodes/Microsoft/ToDo/ListDescription.ts +++ b/packages/nodes-base/nodes/Microsoft/ToDo/ListDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const listOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Microsoft/ToDo/MicrosoftToDo.node.ts b/packages/nodes-base/nodes/Microsoft/ToDo/MicrosoftToDo.node.ts index fb5d4dfc8c..1cf43bb811 100644 --- a/packages/nodes-base/nodes/Microsoft/ToDo/MicrosoftToDo.node.ts +++ b/packages/nodes-base/nodes/Microsoft/ToDo/MicrosoftToDo.node.ts @@ -1,14 +1,14 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, INodePropertyOptions, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { microsoftApiRequest, microsoftApiRequestAllItems } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Microsoft/ToDo/TaskDescription.ts b/packages/nodes-base/nodes/Microsoft/ToDo/TaskDescription.ts index d3717f1902..a048139881 100644 --- a/packages/nodes-base/nodes/Microsoft/ToDo/TaskDescription.ts +++ b/packages/nodes-base/nodes/Microsoft/ToDo/TaskDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const taskOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Mindee/GenericFunctions.ts b/packages/nodes-base/nodes/Mindee/GenericFunctions.ts index 46ad58220f..571a883548 100644 --- a/packages/nodes-base/nodes/Mindee/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Mindee/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function mindeeApiRequest( this: IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Mindee/Mindee.node.ts b/packages/nodes-base/nodes/Mindee/Mindee.node.ts index 6c284199ed..8d160bd3d7 100644 --- a/packages/nodes-base/nodes/Mindee/Mindee.node.ts +++ b/packages/nodes-base/nodes/Mindee/Mindee.node.ts @@ -1,13 +1,13 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IBinaryKeyData, IDataObject, INodeExecutionData, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { cleanData, cleanDataPreviousApiVersions, mindeeApiRequest } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Misp/GenericFunctions.ts b/packages/nodes-base/nodes/Misp/GenericFunctions.ts index ff0096cb33..c4508d10b8 100644 --- a/packages/nodes-base/nodes/Misp/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Misp/GenericFunctions.ts @@ -1,10 +1,11 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, ILoadOptionsFunctions, NodeApiError, NodeOperationError } from 'n8n-workflow'; +import type { IDataObject, ILoadOptionsFunctions } from 'n8n-workflow'; +import { NodeApiError, NodeOperationError } from 'n8n-workflow'; -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { MispCredentials } from './types'; +import type { MispCredentials } from './types'; import { URL } from 'url'; diff --git a/packages/nodes-base/nodes/Misp/Misp.node.ts b/packages/nodes-base/nodes/Misp/Misp.node.ts index d880be6a91..7231ab65f0 100644 --- a/packages/nodes-base/nodes/Misp/Misp.node.ts +++ b/packages/nodes-base/nodes/Misp/Misp.node.ts @@ -1,6 +1,11 @@ -import { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { + IDataObject, + INodeExecutionData, + INodeType, + INodeTypeDescription, +} from 'n8n-workflow'; import { mispApiRequest, @@ -33,7 +38,7 @@ import { warninglistOperations, } from './descriptions'; -import { LoadedOrgs, LoadedSharingGroups, LoadedTags, LoadedUsers } from './types'; +import type { LoadedOrgs, LoadedSharingGroups, LoadedTags, LoadedUsers } from './types'; export class Misp implements INodeType { description: INodeTypeDescription = { diff --git a/packages/nodes-base/nodes/Misp/descriptions/AttributeDescription.ts b/packages/nodes-base/nodes/Misp/descriptions/AttributeDescription.ts index e6437c1206..7462013d34 100644 --- a/packages/nodes-base/nodes/Misp/descriptions/AttributeDescription.ts +++ b/packages/nodes-base/nodes/Misp/descriptions/AttributeDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const attributeOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Misp/descriptions/EventDescription.ts b/packages/nodes-base/nodes/Misp/descriptions/EventDescription.ts index 7428491a71..098d6c5553 100644 --- a/packages/nodes-base/nodes/Misp/descriptions/EventDescription.ts +++ b/packages/nodes-base/nodes/Misp/descriptions/EventDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const eventOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Misp/descriptions/EventTagDescription.ts b/packages/nodes-base/nodes/Misp/descriptions/EventTagDescription.ts index 05fd432089..a1695882db 100644 --- a/packages/nodes-base/nodes/Misp/descriptions/EventTagDescription.ts +++ b/packages/nodes-base/nodes/Misp/descriptions/EventTagDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const eventTagOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Misp/descriptions/FeedDescription.ts b/packages/nodes-base/nodes/Misp/descriptions/FeedDescription.ts index f5f154e12b..ebc5956c70 100644 --- a/packages/nodes-base/nodes/Misp/descriptions/FeedDescription.ts +++ b/packages/nodes-base/nodes/Misp/descriptions/FeedDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const feedOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Misp/descriptions/GalaxyDescription.ts b/packages/nodes-base/nodes/Misp/descriptions/GalaxyDescription.ts index e9a0fdedd4..43e7d2450d 100644 --- a/packages/nodes-base/nodes/Misp/descriptions/GalaxyDescription.ts +++ b/packages/nodes-base/nodes/Misp/descriptions/GalaxyDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const galaxyOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Misp/descriptions/NoticelistDescription.ts b/packages/nodes-base/nodes/Misp/descriptions/NoticelistDescription.ts index 54b77f5416..2ed973e19b 100644 --- a/packages/nodes-base/nodes/Misp/descriptions/NoticelistDescription.ts +++ b/packages/nodes-base/nodes/Misp/descriptions/NoticelistDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const noticelistOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Misp/descriptions/OrganisationDescription.ts b/packages/nodes-base/nodes/Misp/descriptions/OrganisationDescription.ts index 44eb474f4a..f237a9757c 100644 --- a/packages/nodes-base/nodes/Misp/descriptions/OrganisationDescription.ts +++ b/packages/nodes-base/nodes/Misp/descriptions/OrganisationDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const organisationOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Misp/descriptions/TagDescription.ts b/packages/nodes-base/nodes/Misp/descriptions/TagDescription.ts index dc95880c54..4d2ca11dad 100644 --- a/packages/nodes-base/nodes/Misp/descriptions/TagDescription.ts +++ b/packages/nodes-base/nodes/Misp/descriptions/TagDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const tagOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Misp/descriptions/UserDescription.ts b/packages/nodes-base/nodes/Misp/descriptions/UserDescription.ts index 167e98e80a..e98a971e01 100644 --- a/packages/nodes-base/nodes/Misp/descriptions/UserDescription.ts +++ b/packages/nodes-base/nodes/Misp/descriptions/UserDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const userOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Misp/descriptions/WarninglistDescription.ts b/packages/nodes-base/nodes/Misp/descriptions/WarninglistDescription.ts index a1d4491cd9..652064fb7f 100644 --- a/packages/nodes-base/nodes/Misp/descriptions/WarninglistDescription.ts +++ b/packages/nodes-base/nodes/Misp/descriptions/WarninglistDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const warninglistOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Mocean/GenericFunctions.ts b/packages/nodes-base/nodes/Mocean/GenericFunctions.ts index e468a69aff..7cfea02908 100644 --- a/packages/nodes-base/nodes/Mocean/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Mocean/GenericFunctions.ts @@ -1,6 +1,7 @@ -import { IExecuteFunctions, IHookFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IHookFunctions } from 'n8n-core'; -import { IDataObject, JsonObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject, JsonObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; /** * Make an API request to Twilio diff --git a/packages/nodes-base/nodes/Mocean/Mocean.node.ts b/packages/nodes-base/nodes/Mocean/Mocean.node.ts index de49384a2d..0c06144238 100644 --- a/packages/nodes-base/nodes/Mocean/Mocean.node.ts +++ b/packages/nodes-base/nodes/Mocean/Mocean.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { ICredentialsDecrypted, ICredentialTestFunctions, IDataObject, @@ -9,8 +9,8 @@ import { INodeType, INodeTypeDescription, JsonObject, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { moceanApiRequest } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/MondayCom/BoardColumnDescription.ts b/packages/nodes-base/nodes/MondayCom/BoardColumnDescription.ts index 76825b08bc..6d011ab02f 100644 --- a/packages/nodes-base/nodes/MondayCom/BoardColumnDescription.ts +++ b/packages/nodes-base/nodes/MondayCom/BoardColumnDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const boardColumnOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/MondayCom/BoardDescription.ts b/packages/nodes-base/nodes/MondayCom/BoardDescription.ts index 746fe141aa..2bb61a0669 100644 --- a/packages/nodes-base/nodes/MondayCom/BoardDescription.ts +++ b/packages/nodes-base/nodes/MondayCom/BoardDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const boardOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/MondayCom/BoardGroupDescription.ts b/packages/nodes-base/nodes/MondayCom/BoardGroupDescription.ts index c5d6bf2669..eba9cc8140 100644 --- a/packages/nodes-base/nodes/MondayCom/BoardGroupDescription.ts +++ b/packages/nodes-base/nodes/MondayCom/BoardGroupDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const boardGroupOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/MondayCom/BoardItemDescription.ts b/packages/nodes-base/nodes/MondayCom/BoardItemDescription.ts index b95ba046fe..4a9a7b9801 100644 --- a/packages/nodes-base/nodes/MondayCom/BoardItemDescription.ts +++ b/packages/nodes-base/nodes/MondayCom/BoardItemDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const boardItemOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/MondayCom/GenericFunctions.ts b/packages/nodes-base/nodes/MondayCom/GenericFunctions.ts index ba0c1d2702..7e9436423d 100644 --- a/packages/nodes-base/nodes/MondayCom/GenericFunctions.ts +++ b/packages/nodes-base/nodes/MondayCom/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject, IHookFunctions, IWebhookFunctions, NodeApiError } from 'n8n-workflow'; +import type { IDataObject, IHookFunctions, IWebhookFunctions } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; import { get } from 'lodash'; diff --git a/packages/nodes-base/nodes/MondayCom/MondayCom.node.ts b/packages/nodes-base/nodes/MondayCom/MondayCom.node.ts index 750a74c135..760577fa57 100644 --- a/packages/nodes-base/nodes/MondayCom/MondayCom.node.ts +++ b/packages/nodes-base/nodes/MondayCom/MondayCom.node.ts @@ -1,14 +1,14 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, INodePropertyOptions, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { mondayComApiRequest, mondayComApiRequestAllItems } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/MongoDb/GenericFunctions.ts b/packages/nodes-base/nodes/MongoDb/GenericFunctions.ts index 81695996de..5fcdf2a3dd 100644 --- a/packages/nodes-base/nodes/MongoDb/GenericFunctions.ts +++ b/packages/nodes-base/nodes/MongoDb/GenericFunctions.ts @@ -1,13 +1,9 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { - ICredentialDataDecryptedObject, - IDataObject, - INodeExecutionData, - NodeOperationError, -} from 'n8n-workflow'; +import type { ICredentialDataDecryptedObject, IDataObject, INodeExecutionData } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; -import { +import type { IMongoCredentials, IMongoCredentialsType, IMongoParametricCredentials, diff --git a/packages/nodes-base/nodes/MongoDb/MongoDb.node.ts b/packages/nodes-base/nodes/MongoDb/MongoDb.node.ts index 8589504c0d..78237edb2e 100644 --- a/packages/nodes-base/nodes/MongoDb/MongoDb.node.ts +++ b/packages/nodes-base/nodes/MongoDb/MongoDb.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { ICredentialsDecrypted, ICredentialTestFunctions, IDataObject, @@ -9,8 +9,8 @@ import { INodeType, INodeTypeDescription, JsonObject, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { nodeDescription } from './MongoDbDescription'; @@ -21,15 +21,10 @@ import { validateAndResolveMongoCredentials, } from './GenericFunctions'; -import { - FindOneAndReplaceOptions, - FindOneAndUpdateOptions, - MongoClient, - ObjectId, - UpdateOptions, -} from 'mongodb'; +import type { FindOneAndReplaceOptions, FindOneAndUpdateOptions, UpdateOptions } from 'mongodb'; +import { MongoClient, ObjectId } from 'mongodb'; -import { IMongoParametricCredentials } from './mongoDb.types'; +import type { IMongoParametricCredentials } from './mongoDb.types'; export class MongoDb implements INodeType { description: INodeTypeDescription = nodeDescription; diff --git a/packages/nodes-base/nodes/MongoDb/MongoDbDescription.ts b/packages/nodes-base/nodes/MongoDb/MongoDbDescription.ts index ba0d9b6f2f..c113f702e3 100644 --- a/packages/nodes-base/nodes/MongoDb/MongoDbDescription.ts +++ b/packages/nodes-base/nodes/MongoDb/MongoDbDescription.ts @@ -1,5 +1,5 @@ /* eslint-disable n8n-nodes-base/node-filename-against-convention */ -import { INodeTypeDescription } from 'n8n-workflow'; +import type { INodeTypeDescription } from 'n8n-workflow'; /** * Options to be displayed diff --git a/packages/nodes-base/nodes/MonicaCrm/GenericFunctions.ts b/packages/nodes-base/nodes/MonicaCrm/GenericFunctions.ts index 135cffb984..8c7ca01ebd 100644 --- a/packages/nodes-base/nodes/MonicaCrm/GenericFunctions.ts +++ b/packages/nodes-base/nodes/MonicaCrm/GenericFunctions.ts @@ -1,10 +1,11 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, ILoadOptionsFunctions, NodeApiError, NodeOperationError } from 'n8n-workflow'; +import type { IDataObject, ILoadOptionsFunctions } from 'n8n-workflow'; +import { NodeApiError, NodeOperationError } from 'n8n-workflow'; -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { LoaderGetResponse } from './types'; +import type { LoaderGetResponse } from './types'; export async function monicaCrmApiRequest( this: IExecuteFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/MonicaCrm/MonicaCrm.node.ts b/packages/nodes-base/nodes/MonicaCrm/MonicaCrm.node.ts index c9f2f9ee2f..8885aa52a5 100644 --- a/packages/nodes-base/nodes/MonicaCrm/MonicaCrm.node.ts +++ b/packages/nodes-base/nodes/MonicaCrm/MonicaCrm.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, @@ -42,7 +42,7 @@ import { taskOperations, } from './descriptions'; -import { LoaderGetResponse, Option } from './types'; +import type { LoaderGetResponse, Option } from './types'; export class MonicaCrm implements INodeType { description: INodeTypeDescription = { diff --git a/packages/nodes-base/nodes/MonicaCrm/descriptions/ActivityDescription.ts b/packages/nodes-base/nodes/MonicaCrm/descriptions/ActivityDescription.ts index 8140ec285f..4d7c348a0e 100644 --- a/packages/nodes-base/nodes/MonicaCrm/descriptions/ActivityDescription.ts +++ b/packages/nodes-base/nodes/MonicaCrm/descriptions/ActivityDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const activityOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/MonicaCrm/descriptions/CallDescription.ts b/packages/nodes-base/nodes/MonicaCrm/descriptions/CallDescription.ts index cefc0ebc92..5fcb2d9ae9 100644 --- a/packages/nodes-base/nodes/MonicaCrm/descriptions/CallDescription.ts +++ b/packages/nodes-base/nodes/MonicaCrm/descriptions/CallDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const callOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/MonicaCrm/descriptions/ContactDescription.ts b/packages/nodes-base/nodes/MonicaCrm/descriptions/ContactDescription.ts index 5f2f1e88c2..c39bd20a75 100644 --- a/packages/nodes-base/nodes/MonicaCrm/descriptions/ContactDescription.ts +++ b/packages/nodes-base/nodes/MonicaCrm/descriptions/ContactDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const contactOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/MonicaCrm/descriptions/ContactFieldDescription.ts b/packages/nodes-base/nodes/MonicaCrm/descriptions/ContactFieldDescription.ts index b8b7b11aac..dfab21ebb3 100644 --- a/packages/nodes-base/nodes/MonicaCrm/descriptions/ContactFieldDescription.ts +++ b/packages/nodes-base/nodes/MonicaCrm/descriptions/ContactFieldDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const contactFieldOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/MonicaCrm/descriptions/ContactTagDescription.ts b/packages/nodes-base/nodes/MonicaCrm/descriptions/ContactTagDescription.ts index 60554f7e52..91a89cfe64 100644 --- a/packages/nodes-base/nodes/MonicaCrm/descriptions/ContactTagDescription.ts +++ b/packages/nodes-base/nodes/MonicaCrm/descriptions/ContactTagDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const contactTagOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/MonicaCrm/descriptions/ConversationDescription.ts b/packages/nodes-base/nodes/MonicaCrm/descriptions/ConversationDescription.ts index 9c78c5306a..a9a8bc1545 100644 --- a/packages/nodes-base/nodes/MonicaCrm/descriptions/ConversationDescription.ts +++ b/packages/nodes-base/nodes/MonicaCrm/descriptions/ConversationDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const conversationOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/MonicaCrm/descriptions/ConversationMessageDescription.ts b/packages/nodes-base/nodes/MonicaCrm/descriptions/ConversationMessageDescription.ts index 03a03f88a0..0cd31808c7 100644 --- a/packages/nodes-base/nodes/MonicaCrm/descriptions/ConversationMessageDescription.ts +++ b/packages/nodes-base/nodes/MonicaCrm/descriptions/ConversationMessageDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const conversationMessageOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/MonicaCrm/descriptions/JournalEntryDescription.ts b/packages/nodes-base/nodes/MonicaCrm/descriptions/JournalEntryDescription.ts index 2655454b61..8e7b429f70 100644 --- a/packages/nodes-base/nodes/MonicaCrm/descriptions/JournalEntryDescription.ts +++ b/packages/nodes-base/nodes/MonicaCrm/descriptions/JournalEntryDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const journalEntryOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/MonicaCrm/descriptions/NoteDescription.ts b/packages/nodes-base/nodes/MonicaCrm/descriptions/NoteDescription.ts index 93252674ce..975a16f9bc 100644 --- a/packages/nodes-base/nodes/MonicaCrm/descriptions/NoteDescription.ts +++ b/packages/nodes-base/nodes/MonicaCrm/descriptions/NoteDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const noteOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/MonicaCrm/descriptions/ReminderDescription.ts b/packages/nodes-base/nodes/MonicaCrm/descriptions/ReminderDescription.ts index 2530793cbb..0751facaa6 100644 --- a/packages/nodes-base/nodes/MonicaCrm/descriptions/ReminderDescription.ts +++ b/packages/nodes-base/nodes/MonicaCrm/descriptions/ReminderDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const reminderOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/MonicaCrm/descriptions/TagDescription.ts b/packages/nodes-base/nodes/MonicaCrm/descriptions/TagDescription.ts index d7495171ac..5f9ee33404 100644 --- a/packages/nodes-base/nodes/MonicaCrm/descriptions/TagDescription.ts +++ b/packages/nodes-base/nodes/MonicaCrm/descriptions/TagDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const tagOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/MonicaCrm/descriptions/TaskDescription.ts b/packages/nodes-base/nodes/MonicaCrm/descriptions/TaskDescription.ts index c974dcdb98..28c5091b06 100644 --- a/packages/nodes-base/nodes/MonicaCrm/descriptions/TaskDescription.ts +++ b/packages/nodes-base/nodes/MonicaCrm/descriptions/TaskDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const taskOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/MonicaCrm/types.d.ts b/packages/nodes-base/nodes/MonicaCrm/types.d.ts index 12a4499182..dbfb032043 100644 --- a/packages/nodes-base/nodes/MonicaCrm/types.d.ts +++ b/packages/nodes-base/nodes/MonicaCrm/types.d.ts @@ -1,4 +1,4 @@ -import { IDataObject } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; export type LoaderGetResponse = { data: Array<{ diff --git a/packages/nodes-base/nodes/MoveBinaryData/MoveBinaryData.node.ts b/packages/nodes-base/nodes/MoveBinaryData/MoveBinaryData.node.ts index 09c3e835a9..1526f7f6be 100644 --- a/packages/nodes-base/nodes/MoveBinaryData/MoveBinaryData.node.ts +++ b/packages/nodes-base/nodes/MoveBinaryData/MoveBinaryData.node.ts @@ -1,20 +1,18 @@ import { get, set, unset } from 'lodash'; import prettyBytes from 'pretty-bytes'; -import { BINARY_ENCODING, IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; +import { BINARY_ENCODING } from 'n8n-core'; -import { - deepCopy, +import type { IBinaryData, IDataObject, INodeExecutionData, INodePropertyOptions, INodeType, INodeTypeDescription, - jsonParse, - NodeOperationError, - fileTypeFromMimeType, } from 'n8n-workflow'; +import { 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 ebab4cc55d..34a5992a38 100644 --- a/packages/nodes-base/nodes/Msg91/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Msg91/GenericFunctions.ts @@ -1,6 +1,7 @@ -import { IExecuteFunctions, IHookFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IHookFunctions } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; /** * Make an API request to MSG91 diff --git a/packages/nodes-base/nodes/Msg91/Msg91.node.ts b/packages/nodes-base/nodes/Msg91/Msg91.node.ts index a62c6fdbab..7153b1915d 100644 --- a/packages/nodes-base/nodes/Msg91/Msg91.node.ts +++ b/packages/nodes-base/nodes/Msg91/Msg91.node.ts @@ -1,11 +1,11 @@ -import { IExecuteFunctions } from 'n8n-core'; -import { +import type { IExecuteFunctions } from 'n8n-core'; +import type { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { msg91ApiRequest } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/MySql/GenericFunctions.ts b/packages/nodes-base/nodes/MySql/GenericFunctions.ts index bf9b4aa634..fd2c9ba934 100644 --- a/packages/nodes-base/nodes/MySql/GenericFunctions.ts +++ b/packages/nodes-base/nodes/MySql/GenericFunctions.ts @@ -1,11 +1,11 @@ -import { - deepCopy, +import type { ICredentialDataDecryptedObject, IDataObject, ILoadOptionsFunctions, INodeExecutionData, INodeListSearchResult, } from 'n8n-workflow'; +import { deepCopy } from 'n8n-workflow'; import mysql2 from 'mysql2/promise'; /** diff --git a/packages/nodes-base/nodes/MySql/MySql.node.ts b/packages/nodes-base/nodes/MySql/MySql.node.ts index 8af134c18b..6bf107ed35 100644 --- a/packages/nodes-base/nodes/MySql/MySql.node.ts +++ b/packages/nodes-base/nodes/MySql/MySql.node.ts @@ -1,4 +1,4 @@ -import { +import type { ICredentialDataDecryptedObject, ICredentialsDecrypted, ICredentialTestFunctions, @@ -7,13 +7,13 @@ import { INodeExecutionData, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; // @ts-ignore -import mysql2 from 'mysql2/promise'; +import type mysql2 from 'mysql2/promise'; import { copyInputItems, createConnection, searchTables } from './GenericFunctions'; -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; export class MySql implements INodeType { description: INodeTypeDescription = { diff --git a/packages/nodes-base/nodes/N8n/CredentialDescription.ts b/packages/nodes-base/nodes/N8n/CredentialDescription.ts index fd61164f89..fa701d0815 100644 --- a/packages/nodes-base/nodes/N8n/CredentialDescription.ts +++ b/packages/nodes-base/nodes/N8n/CredentialDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { parseAndSetBodyJson } from './GenericFunctions'; export const credentialOperations: INodeProperties[] = [ diff --git a/packages/nodes-base/nodes/N8n/ExecutionDescription.ts b/packages/nodes-base/nodes/N8n/ExecutionDescription.ts index 9b9aa791e8..85f31b97fe 100644 --- a/packages/nodes-base/nodes/N8n/ExecutionDescription.ts +++ b/packages/nodes-base/nodes/N8n/ExecutionDescription.ts @@ -1,6 +1,6 @@ /* eslint-disable n8n-nodes-base/node-param-default-missing */ import { getCursorPaginator } from './GenericFunctions'; -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { workflowIdLocator } from './WorkflowLocator'; export const executionOperations: INodeProperties[] = [ diff --git a/packages/nodes-base/nodes/N8n/GenericFunctions.ts b/packages/nodes-base/nodes/N8n/GenericFunctions.ts index b069ef0e15..48f628f064 100644 --- a/packages/nodes-base/nodes/N8n/GenericFunctions.ts +++ b/packages/nodes-base/nodes/N8n/GenericFunctions.ts @@ -1,4 +1,4 @@ -import { +import type { DeclarativeRestApiSettings, IDataObject, IExecuteFunctions, @@ -9,11 +9,10 @@ import { ILoadOptionsFunctions, INodeExecutionData, JsonObject, - NodeApiError, - NodeOperationError, PreSendAction, } from 'n8n-workflow'; -import { OptionsWithUri } from 'request'; +import { NodeApiError, NodeOperationError } from 'n8n-workflow'; +import type { OptionsWithUri } from 'request'; /** * A custom API request function to be used with the resourceLocator lookup queries. diff --git a/packages/nodes-base/nodes/N8n/WorkflowDescription.ts b/packages/nodes-base/nodes/N8n/WorkflowDescription.ts index 0c36242919..20a97719b0 100644 --- a/packages/nodes-base/nodes/N8n/WorkflowDescription.ts +++ b/packages/nodes-base/nodes/N8n/WorkflowDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { getCursorPaginator, parseAndSetBodyJson, diff --git a/packages/nodes-base/nodes/N8n/WorkflowLocator.ts b/packages/nodes-base/nodes/N8n/WorkflowLocator.ts index b559d57db2..b957841d33 100644 --- a/packages/nodes-base/nodes/N8n/WorkflowLocator.ts +++ b/packages/nodes-base/nodes/N8n/WorkflowLocator.ts @@ -1,4 +1,4 @@ -import { ILoadOptionsFunctions, INodeListSearchResult, INodeProperties } from 'n8n-workflow'; +import type { ILoadOptionsFunctions, INodeListSearchResult, INodeProperties } from 'n8n-workflow'; import { apiRequestAllItems } from './GenericFunctions'; type DataItemsResponse = { diff --git a/packages/nodes-base/nodes/N8nTrainingCustomerDatastore/N8nTrainingCustomerDatastore.node.ts b/packages/nodes-base/nodes/N8nTrainingCustomerDatastore/N8nTrainingCustomerDatastore.node.ts index 9814952136..aa5742831b 100644 --- a/packages/nodes-base/nodes/N8nTrainingCustomerDatastore/N8nTrainingCustomerDatastore.node.ts +++ b/packages/nodes-base/nodes/N8nTrainingCustomerDatastore/N8nTrainingCustomerDatastore.node.ts @@ -1,6 +1,11 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { + IDataObject, + 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 338e465b27..1c13a24e0f 100644 --- a/packages/nodes-base/nodes/N8nTrainingCustomerMessenger/N8nTrainingCustomerMessenger.node.ts +++ b/packages/nodes-base/nodes/N8nTrainingCustomerMessenger/N8nTrainingCustomerMessenger.node.ts @@ -1,6 +1,11 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { + IDataObject, + 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 95b5f6798c..25905de075 100644 --- a/packages/nodes-base/nodes/N8nTrigger/N8nTrigger.node.ts +++ b/packages/nodes-base/nodes/N8nTrigger/N8nTrigger.node.ts @@ -1,5 +1,5 @@ -import { ITriggerFunctions } from 'n8n-core'; -import { INodeType, INodeTypeDescription, ITriggerResponse } from 'n8n-workflow'; +import type { ITriggerFunctions } from 'n8n-core'; +import type { 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 eee6487f71..5d8f3b0ad5 100644 --- a/packages/nodes-base/nodes/Nasa/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Nasa/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions, IHookFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IHookFunctions } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function nasaApiRequest( this: IHookFunctions | IExecuteFunctions, diff --git a/packages/nodes-base/nodes/Nasa/Nasa.node.ts b/packages/nodes-base/nodes/Nasa/Nasa.node.ts index e4701502d7..09cfb1004f 100644 --- a/packages/nodes-base/nodes/Nasa/Nasa.node.ts +++ b/packages/nodes-base/nodes/Nasa/Nasa.node.ts @@ -1,12 +1,12 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { nasaApiRequest, nasaApiRequestAllItems } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Netlify/DeployDescription.ts b/packages/nodes-base/nodes/Netlify/DeployDescription.ts index 33eed32a5d..2c016a4b6c 100644 --- a/packages/nodes-base/nodes/Netlify/DeployDescription.ts +++ b/packages/nodes-base/nodes/Netlify/DeployDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const deployOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Netlify/GenericFunctions.ts b/packages/nodes-base/nodes/Netlify/GenericFunctions.ts index e1d9a3081a..109429d57a 100644 --- a/packages/nodes-base/nodes/Netlify/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Netlify/GenericFunctions.ts @@ -1,13 +1,14 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { +import type { IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function netlifyApiRequest( this: IHookFunctions | IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Netlify/Netlify.node.ts b/packages/nodes-base/nodes/Netlify/Netlify.node.ts index dfced1a3a1..c0d7669159 100644 --- a/packages/nodes-base/nodes/Netlify/Netlify.node.ts +++ b/packages/nodes-base/nodes/Netlify/Netlify.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Netlify/NetlifyTrigger.node.ts b/packages/nodes-base/nodes/Netlify/NetlifyTrigger.node.ts index 5869de66ef..16b8a36247 100644 --- a/packages/nodes-base/nodes/Netlify/NetlifyTrigger.node.ts +++ b/packages/nodes-base/nodes/Netlify/NetlifyTrigger.node.ts @@ -1,6 +1,6 @@ -import { IHookFunctions, IWebhookFunctions } from 'n8n-core'; +import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodePropertyOptions, diff --git a/packages/nodes-base/nodes/Netlify/SiteDescription.ts b/packages/nodes-base/nodes/Netlify/SiteDescription.ts index ec8e1717fd..b259407b05 100644 --- a/packages/nodes-base/nodes/Netlify/SiteDescription.ts +++ b/packages/nodes-base/nodes/Netlify/SiteDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const siteOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/NextCloud/GenericFunctions.ts b/packages/nodes-base/nodes/NextCloud/GenericFunctions.ts index 4c9c9ae149..74cf4eb645 100644 --- a/packages/nodes-base/nodes/NextCloud/GenericFunctions.ts +++ b/packages/nodes-base/nodes/NextCloud/GenericFunctions.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions, IHookFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IHookFunctions } from 'n8n-core'; -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; /** * Make an API request to NextCloud diff --git a/packages/nodes-base/nodes/NextCloud/NextCloud.node.ts b/packages/nodes-base/nodes/NextCloud/NextCloud.node.ts index 69c709e0cd..bf73c70bde 100644 --- a/packages/nodes-base/nodes/NextCloud/NextCloud.node.ts +++ b/packages/nodes-base/nodes/NextCloud/NextCloud.node.ts @@ -1,14 +1,13 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IBinaryKeyData, IDataObject, INodeExecutionData, INodeType, INodeTypeDescription, - NodeApiError, - NodeOperationError, } from 'n8n-workflow'; +import { NodeApiError, NodeOperationError } from 'n8n-workflow'; import { URLSearchParams } from 'url'; diff --git a/packages/nodes-base/nodes/NoOp/NoOp.node.ts b/packages/nodes-base/nodes/NoOp/NoOp.node.ts index a47f743a47..44531a293f 100644 --- a/packages/nodes-base/nodes/NoOp/NoOp.node.ts +++ b/packages/nodes-base/nodes/NoOp/NoOp.node.ts @@ -1,5 +1,5 @@ -import { IExecuteFunctions } from 'n8n-core'; -import { INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { IExecuteFunctions } from 'n8n-core'; +import type { 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 30656a7f86..25f3d33c0e 100644 --- a/packages/nodes-base/nodes/NocoDB/GenericFunctions.ts +++ b/packages/nodes-base/nodes/NocoDB/GenericFunctions.ts @@ -1,15 +1,9 @@ -import { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { - IBinaryKeyData, - IDataObject, - INodeExecutionData, - IPollFunctions, - jsonParse, - NodeOperationError, -} from 'n8n-workflow'; +import type { IBinaryKeyData, IDataObject, INodeExecutionData, IPollFunctions } from 'n8n-workflow'; +import { jsonParse, NodeOperationError } from 'n8n-workflow'; interface IAttachment { url: string; diff --git a/packages/nodes-base/nodes/NocoDB/NocoDB.node.ts b/packages/nodes-base/nodes/NocoDB/NocoDB.node.ts index 50d0bbf53a..e955d93380 100644 --- a/packages/nodes-base/nodes/NocoDB/NocoDB.node.ts +++ b/packages/nodes-base/nodes/NocoDB/NocoDB.node.ts @@ -1,15 +1,14 @@ /* eslint-disable n8n-nodes-base/node-filename-against-convention */ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, INodeType, INodeTypeDescription, - NodeApiError, - NodeOperationError, } from 'n8n-workflow'; +import { NodeApiError, NodeOperationError } from 'n8n-workflow'; import { apiRequest, apiRequestAllItems, downloadRecordAttachments } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/NocoDB/OperationDescription.ts b/packages/nodes-base/nodes/NocoDB/OperationDescription.ts index 27c0c01144..a5e269a13a 100644 --- a/packages/nodes-base/nodes/NocoDB/OperationDescription.ts +++ b/packages/nodes-base/nodes/NocoDB/OperationDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const operationFields: INodeProperties[] = [ // ---------------------------------- diff --git a/packages/nodes-base/nodes/Notion/BlockDescription.ts b/packages/nodes-base/nodes/Notion/BlockDescription.ts index 342d156202..38174dd9ee 100644 --- a/packages/nodes-base/nodes/Notion/BlockDescription.ts +++ b/packages/nodes-base/nodes/Notion/BlockDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { blocks } from './Blocks'; diff --git a/packages/nodes-base/nodes/Notion/Blocks.ts b/packages/nodes-base/nodes/Notion/Blocks.ts index 37226b5c73..c739801193 100644 --- a/packages/nodes-base/nodes/Notion/Blocks.ts +++ b/packages/nodes-base/nodes/Notion/Blocks.ts @@ -1,4 +1,4 @@ -import { IDisplayOptions, INodeProperties } from 'n8n-workflow'; +import type { IDisplayOptions, INodeProperties } from 'n8n-workflow'; const colors = [ { diff --git a/packages/nodes-base/nodes/Notion/DatabaseDescription.ts b/packages/nodes-base/nodes/Notion/DatabaseDescription.ts index 1025c9d982..93e59af7d0 100644 --- a/packages/nodes-base/nodes/Notion/DatabaseDescription.ts +++ b/packages/nodes-base/nodes/Notion/DatabaseDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const databaseOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Notion/DatabasePageDescription.ts b/packages/nodes-base/nodes/Notion/DatabasePageDescription.ts index d0623bb623..958e63f7aa 100644 --- a/packages/nodes-base/nodes/Notion/DatabasePageDescription.ts +++ b/packages/nodes-base/nodes/Notion/DatabasePageDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { getConditions, getSearchFilters } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Notion/GenericFunctions.ts b/packages/nodes-base/nodes/Notion/GenericFunctions.ts index 7f41196780..b1cf56232d 100644 --- a/packages/nodes-base/nodes/Notion/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Notion/GenericFunctions.ts @@ -1,22 +1,21 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { +import type { IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, } from 'n8n-core'; -import { +import type { IBinaryKeyData, IDataObject, IDisplayOptions, INodeExecutionData, INodeProperties, IPollFunctions, - NodeApiError, - NodeOperationError, } from 'n8n-workflow'; +import { NodeApiError, NodeOperationError } from 'n8n-workflow'; import { camelCase, capitalCase, snakeCase } from 'change-case'; diff --git a/packages/nodes-base/nodes/Notion/Notion.node.ts b/packages/nodes-base/nodes/Notion/Notion.node.ts index 5f190f631e..9ea6e41f8c 100644 --- a/packages/nodes-base/nodes/Notion/Notion.node.ts +++ b/packages/nodes-base/nodes/Notion/Notion.node.ts @@ -1,4 +1,5 @@ -import { INodeTypeBaseDescription, IVersionedNodeType, VersionedNodeType } from 'n8n-workflow'; +import type { INodeTypeBaseDescription, IVersionedNodeType } from 'n8n-workflow'; +import { VersionedNodeType } from 'n8n-workflow'; import { NotionV1 } from './v1/NotionV1.node'; import { NotionV2 } from './v2/NotionV2.node'; diff --git a/packages/nodes-base/nodes/Notion/NotionTrigger.node.ts b/packages/nodes-base/nodes/Notion/NotionTrigger.node.ts index f9f4753244..a008a646cb 100644 --- a/packages/nodes-base/nodes/Notion/NotionTrigger.node.ts +++ b/packages/nodes-base/nodes/Notion/NotionTrigger.node.ts @@ -1,6 +1,11 @@ -import { IPollFunctions } from 'n8n-core'; +import type { IPollFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { + IDataObject, + INodeExecutionData, + INodeType, + INodeTypeDescription, +} from 'n8n-workflow'; import { notionApiRequest, simplifyObjects } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Notion/PageDescription.ts b/packages/nodes-base/nodes/Notion/PageDescription.ts index a03ebf7d6b..3d3829c612 100644 --- a/packages/nodes-base/nodes/Notion/PageDescription.ts +++ b/packages/nodes-base/nodes/Notion/PageDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { blocks } from './Blocks'; diff --git a/packages/nodes-base/nodes/Notion/SearchFunctions.ts b/packages/nodes-base/nodes/Notion/SearchFunctions.ts index 86e0fe3ff9..4501ca2360 100644 --- a/packages/nodes-base/nodes/Notion/SearchFunctions.ts +++ b/packages/nodes-base/nodes/Notion/SearchFunctions.ts @@ -1,4 +1,4 @@ -import { +import type { IDataObject, ILoadOptionsFunctions, INodeListSearchItems, diff --git a/packages/nodes-base/nodes/Notion/UserDescription.ts b/packages/nodes-base/nodes/Notion/UserDescription.ts index 0b08f67d71..8725f920d4 100644 --- a/packages/nodes-base/nodes/Notion/UserDescription.ts +++ b/packages/nodes-base/nodes/Notion/UserDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const userOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Notion/v1/NotionV1.node.ts b/packages/nodes-base/nodes/Notion/v1/NotionV1.node.ts index a7de180182..cb20285f0c 100644 --- a/packages/nodes-base/nodes/Notion/v1/NotionV1.node.ts +++ b/packages/nodes-base/nodes/Notion/v1/NotionV1.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Notion/v1/VersionDescription.ts b/packages/nodes-base/nodes/Notion/v1/VersionDescription.ts index 2022a71d84..e01fb1b4a7 100644 --- a/packages/nodes-base/nodes/Notion/v1/VersionDescription.ts +++ b/packages/nodes-base/nodes/Notion/v1/VersionDescription.ts @@ -9,7 +9,7 @@ import { blockFields, blockOperations } from '../BlockDescription'; import { databasePageFields, databasePageOperations } from '../DatabasePageDescription'; -import { INodeTypeDescription } from 'n8n-workflow'; +import type { INodeTypeDescription } from 'n8n-workflow'; export const versionDescription: INodeTypeDescription = { displayName: 'Notion', diff --git a/packages/nodes-base/nodes/Notion/v2/NotionV2.node.ts b/packages/nodes-base/nodes/Notion/v2/NotionV2.node.ts index 1d1173e613..2b1f7d88c8 100644 --- a/packages/nodes-base/nodes/Notion/v2/NotionV2.node.ts +++ b/packages/nodes-base/nodes/Notion/v2/NotionV2.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, @@ -8,10 +8,10 @@ import { INodeType, INodeTypeBaseDescription, INodeTypeDescription, - jsonParse, - NodeApiError, } from 'n8n-workflow'; +import { jsonParse, NodeApiError } from 'n8n-workflow'; +import type { SortData } from '../GenericFunctions'; import { downloadFiles, extractDatabaseId, @@ -26,7 +26,6 @@ import { notionApiRequest, notionApiRequestAllItems, simplifyObjects, - SortData, validateJSON, } from '../GenericFunctions'; diff --git a/packages/nodes-base/nodes/Notion/v2/VersionDescription.ts b/packages/nodes-base/nodes/Notion/v2/VersionDescription.ts index bc1f7a123d..ba41cb6ea4 100644 --- a/packages/nodes-base/nodes/Notion/v2/VersionDescription.ts +++ b/packages/nodes-base/nodes/Notion/v2/VersionDescription.ts @@ -9,7 +9,7 @@ import { blockFields, blockOperations } from '../BlockDescription'; import { databasePageFields, databasePageOperations } from '../DatabasePageDescription'; -import { INodeTypeDescription } from 'n8n-workflow'; +import type { INodeTypeDescription } from 'n8n-workflow'; export const versionDescription: INodeTypeDescription = { displayName: 'Notion', diff --git a/packages/nodes-base/nodes/Odoo/GenericFunctions.ts b/packages/nodes-base/nodes/Odoo/GenericFunctions.ts index 0d649d29dc..a74707cd01 100644 --- a/packages/nodes-base/nodes/Odoo/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Odoo/GenericFunctions.ts @@ -1,13 +1,14 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { +import type { IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, } from 'n8n-core'; -import { IDataObject, JsonObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject, JsonObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; const serviceJSONRPC = 'object'; const methodJSONRPC = 'execute'; diff --git a/packages/nodes-base/nodes/Odoo/Odoo.node.ts b/packages/nodes-base/nodes/Odoo/Odoo.node.ts index 7cb66a4345..84dec321c1 100644 --- a/packages/nodes-base/nodes/Odoo/Odoo.node.ts +++ b/packages/nodes-base/nodes/Odoo/Odoo.node.ts @@ -1,8 +1,7 @@ -import { IExecuteFunctions } from 'n8n-core'; -import { OptionsWithUri } from 'request'; +import type { IExecuteFunctions } from 'n8n-core'; +import type { OptionsWithUri } from 'request'; -import { - deepCopy, +import type { ICredentialsDecrypted, ICredentialTestFunctions, IDataObject, @@ -14,6 +13,7 @@ import { INodeTypeDescription, JsonObject, } from 'n8n-workflow'; +import { deepCopy } from 'n8n-workflow'; import { contactDescription, @@ -26,8 +26,8 @@ import { opportunityOperations, } from './descriptions'; +import type { IOdooFilterOperations } from './GenericFunctions'; import { - IOdooFilterOperations, odooCreate, odooDelete, odooGet, diff --git a/packages/nodes-base/nodes/Odoo/descriptions/ContactDescription.ts b/packages/nodes-base/nodes/Odoo/descriptions/ContactDescription.ts index bde293154e..34971d068f 100644 --- a/packages/nodes-base/nodes/Odoo/descriptions/ContactDescription.ts +++ b/packages/nodes-base/nodes/Odoo/descriptions/ContactDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const contactOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Odoo/descriptions/CustomResourceDescription.ts b/packages/nodes-base/nodes/Odoo/descriptions/CustomResourceDescription.ts index 84b721c4b7..08b3616e96 100644 --- a/packages/nodes-base/nodes/Odoo/descriptions/CustomResourceDescription.ts +++ b/packages/nodes-base/nodes/Odoo/descriptions/CustomResourceDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const customResourceOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Odoo/descriptions/NoteDescription.ts b/packages/nodes-base/nodes/Odoo/descriptions/NoteDescription.ts index 4bba85ca10..140e115cfc 100644 --- a/packages/nodes-base/nodes/Odoo/descriptions/NoteDescription.ts +++ b/packages/nodes-base/nodes/Odoo/descriptions/NoteDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const noteOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Odoo/descriptions/OpportunityDescription.ts b/packages/nodes-base/nodes/Odoo/descriptions/OpportunityDescription.ts index 92b9729d9c..2b19237d6c 100644 --- a/packages/nodes-base/nodes/Odoo/descriptions/OpportunityDescription.ts +++ b/packages/nodes-base/nodes/Odoo/descriptions/OpportunityDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const opportunityOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/OneSimpleApi/GenericFunctions.ts b/packages/nodes-base/nodes/OneSimpleApi/GenericFunctions.ts index 42bf45f14e..352fecebac 100644 --- a/packages/nodes-base/nodes/OneSimpleApi/GenericFunctions.ts +++ b/packages/nodes-base/nodes/OneSimpleApi/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function oneSimpleApiRequest( this: IExecuteFunctions, diff --git a/packages/nodes-base/nodes/OneSimpleApi/OneSimpleApi.node.ts b/packages/nodes-base/nodes/OneSimpleApi/OneSimpleApi.node.ts index d59703acfc..9fafb7619b 100644 --- a/packages/nodes-base/nodes/OneSimpleApi/OneSimpleApi.node.ts +++ b/packages/nodes-base/nodes/OneSimpleApi/OneSimpleApi.node.ts @@ -1,6 +1,11 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { + IDataObject, + INodeExecutionData, + INodeType, + INodeTypeDescription, +} from 'n8n-workflow'; import { oneSimpleApiRequest } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Onfleet/GenericFunctions.ts b/packages/nodes-base/nodes/Onfleet/GenericFunctions.ts index f276b5b5e0..62fb47349d 100644 --- a/packages/nodes-base/nodes/Onfleet/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Onfleet/GenericFunctions.ts @@ -1,4 +1,4 @@ -import { +import type { IDataObject, IExecuteFunctions, IHookFunctions, @@ -6,10 +6,10 @@ import { INodePropertyOptions, IWebhookFunctions, JsonObject, - NodeApiError, } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; import moment from 'moment-timezone'; diff --git a/packages/nodes-base/nodes/Onfleet/Onfleet.node.ts b/packages/nodes-base/nodes/Onfleet/Onfleet.node.ts index cda4c7686f..7595f3b337 100644 --- a/packages/nodes-base/nodes/Onfleet/Onfleet.node.ts +++ b/packages/nodes-base/nodes/Onfleet/Onfleet.node.ts @@ -1,4 +1,4 @@ -import { +import type { ICredentialsDecrypted, ICredentialTestFunctions, IDataObject, @@ -10,7 +10,7 @@ import { import { taskFields, taskOperations } from './descriptions/TaskDescription'; -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; import { destinationFields, destinationOperations } from './descriptions/DestinationDescription'; @@ -35,7 +35,7 @@ import { containerFields, containerOperations } from './descriptions/ContainerDe import { teamFields, teamOperations } from './descriptions/TeamDescription'; -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; import { Onfleet as OnfleetMethods } from './Onfleet'; export class Onfleet implements INodeType { diff --git a/packages/nodes-base/nodes/Onfleet/Onfleet.ts b/packages/nodes-base/nodes/Onfleet/Onfleet.ts index e6600c7881..8ba44c9e48 100644 --- a/packages/nodes-base/nodes/Onfleet/Onfleet.ts +++ b/packages/nodes-base/nodes/Onfleet/Onfleet.ts @@ -1,14 +1,14 @@ -import { +import type { IDataObject, IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions, INodeExecutionData, IWebhookFunctions, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; -import { +import type { OnfleetAdmins, OnfleetCloneOverrideTaskOptions, OnfleetCloneTask, diff --git a/packages/nodes-base/nodes/Onfleet/OnfleetTrigger.node.ts b/packages/nodes-base/nodes/Onfleet/OnfleetTrigger.node.ts index 408182ebc6..6eecb46eb2 100644 --- a/packages/nodes-base/nodes/Onfleet/OnfleetTrigger.node.ts +++ b/packages/nodes-base/nodes/Onfleet/OnfleetTrigger.node.ts @@ -1,12 +1,11 @@ -import { +import type { IDataObject, INodeType, INodeTypeDescription, IWebhookResponseData, - NodeApiError, - NodeOperationError, } from 'n8n-workflow'; -import { IHookFunctions, IWebhookFunctions } from 'n8n-core'; +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/Onfleet/WebhookMapping.ts b/packages/nodes-base/nodes/Onfleet/WebhookMapping.ts index e7c3492e34..25eb740746 100644 --- a/packages/nodes-base/nodes/Onfleet/WebhookMapping.ts +++ b/packages/nodes-base/nodes/Onfleet/WebhookMapping.ts @@ -1,4 +1,4 @@ -import { OnfleetWebhooksMapping } from './interfaces'; +import type { OnfleetWebhooksMapping } from './interfaces'; export const webhookMapping: OnfleetWebhooksMapping = { taskStarted: { diff --git a/packages/nodes-base/nodes/Onfleet/descriptions/AdministratorDescription.ts b/packages/nodes-base/nodes/Onfleet/descriptions/AdministratorDescription.ts index f8c011d3a8..654161ab7c 100644 --- a/packages/nodes-base/nodes/Onfleet/descriptions/AdministratorDescription.ts +++ b/packages/nodes-base/nodes/Onfleet/descriptions/AdministratorDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const adminOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Onfleet/descriptions/ContainerDescription.ts b/packages/nodes-base/nodes/Onfleet/descriptions/ContainerDescription.ts index f976cd66db..b309c8cc96 100644 --- a/packages/nodes-base/nodes/Onfleet/descriptions/ContainerDescription.ts +++ b/packages/nodes-base/nodes/Onfleet/descriptions/ContainerDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const containerOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Onfleet/descriptions/DestinationDescription.ts b/packages/nodes-base/nodes/Onfleet/descriptions/DestinationDescription.ts index 45ed3a6bc2..5476a97abf 100644 --- a/packages/nodes-base/nodes/Onfleet/descriptions/DestinationDescription.ts +++ b/packages/nodes-base/nodes/Onfleet/descriptions/DestinationDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const destinationOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Onfleet/descriptions/HubDescription.ts b/packages/nodes-base/nodes/Onfleet/descriptions/HubDescription.ts index 00e441d1b2..9d05ee8d5b 100644 --- a/packages/nodes-base/nodes/Onfleet/descriptions/HubDescription.ts +++ b/packages/nodes-base/nodes/Onfleet/descriptions/HubDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { destinationExternalField } from './DestinationDescription'; diff --git a/packages/nodes-base/nodes/Onfleet/descriptions/OnfleetWebhookDescription.ts b/packages/nodes-base/nodes/Onfleet/descriptions/OnfleetWebhookDescription.ts index 17f5fab4d5..df4477b68d 100644 --- a/packages/nodes-base/nodes/Onfleet/descriptions/OnfleetWebhookDescription.ts +++ b/packages/nodes-base/nodes/Onfleet/descriptions/OnfleetWebhookDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { webhookMapping } from '../WebhookMapping'; diff --git a/packages/nodes-base/nodes/Onfleet/descriptions/OrganizationDescription.ts b/packages/nodes-base/nodes/Onfleet/descriptions/OrganizationDescription.ts index d4e7625ac2..072f3385c6 100644 --- a/packages/nodes-base/nodes/Onfleet/descriptions/OrganizationDescription.ts +++ b/packages/nodes-base/nodes/Onfleet/descriptions/OrganizationDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const organizationOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Onfleet/descriptions/RecipientDescription.ts b/packages/nodes-base/nodes/Onfleet/descriptions/RecipientDescription.ts index 961b6f96c0..bf19154756 100644 --- a/packages/nodes-base/nodes/Onfleet/descriptions/RecipientDescription.ts +++ b/packages/nodes-base/nodes/Onfleet/descriptions/RecipientDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const recipientOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Onfleet/descriptions/TaskDescription.ts b/packages/nodes-base/nodes/Onfleet/descriptions/TaskDescription.ts index e3631f53e9..a967ed0007 100644 --- a/packages/nodes-base/nodes/Onfleet/descriptions/TaskDescription.ts +++ b/packages/nodes-base/nodes/Onfleet/descriptions/TaskDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { destinationExternalField } from './DestinationDescription'; diff --git a/packages/nodes-base/nodes/Onfleet/descriptions/TeamDescription.ts b/packages/nodes-base/nodes/Onfleet/descriptions/TeamDescription.ts index c9b2011938..0c77be1af2 100644 --- a/packages/nodes-base/nodes/Onfleet/descriptions/TeamDescription.ts +++ b/packages/nodes-base/nodes/Onfleet/descriptions/TeamDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const teamOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Onfleet/descriptions/WebhookDescription.ts b/packages/nodes-base/nodes/Onfleet/descriptions/WebhookDescription.ts index a94c7e690a..2d5334aa06 100644 --- a/packages/nodes-base/nodes/Onfleet/descriptions/WebhookDescription.ts +++ b/packages/nodes-base/nodes/Onfleet/descriptions/WebhookDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { webhookMapping } from '../WebhookMapping'; diff --git a/packages/nodes-base/nodes/Onfleet/descriptions/WorkerDescription.ts b/packages/nodes-base/nodes/Onfleet/descriptions/WorkerDescription.ts index e22ca07da1..ae919e7cae 100644 --- a/packages/nodes-base/nodes/Onfleet/descriptions/WorkerDescription.ts +++ b/packages/nodes-base/nodes/Onfleet/descriptions/WorkerDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const workerOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/OpenAi/ImageDescription.ts b/packages/nodes-base/nodes/OpenAi/ImageDescription.ts index d98b2f7d60..012fc329c0 100644 --- a/packages/nodes-base/nodes/OpenAi/ImageDescription.ts +++ b/packages/nodes-base/nodes/OpenAi/ImageDescription.ts @@ -1,4 +1,4 @@ -import { INodeExecutionData, INodeProperties } from 'n8n-workflow'; +import type { INodeExecutionData, INodeProperties } from 'n8n-workflow'; export const imageOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/OpenAi/OpenAi.node.ts b/packages/nodes-base/nodes/OpenAi/OpenAi.node.ts index ec07f31167..ceb06bad4b 100644 --- a/packages/nodes-base/nodes/OpenAi/OpenAi.node.ts +++ b/packages/nodes-base/nodes/OpenAi/OpenAi.node.ts @@ -1,4 +1,4 @@ -import { INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { INodeType, INodeTypeDescription } from 'n8n-workflow'; import { imageFields, imageOperations } from './ImageDescription'; import { textFields, textOperations } from './TextDescription'; diff --git a/packages/nodes-base/nodes/OpenAi/TextDescription.ts b/packages/nodes-base/nodes/OpenAi/TextDescription.ts index 92022dfcd2..dc55a5ef65 100644 --- a/packages/nodes-base/nodes/OpenAi/TextDescription.ts +++ b/packages/nodes-base/nodes/OpenAi/TextDescription.ts @@ -1,4 +1,4 @@ -import { INodeExecutionData, INodeProperties } from 'n8n-workflow'; +import type { INodeExecutionData, INodeProperties } from 'n8n-workflow'; export const textOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/OpenThesaurus/GenericFunctions.ts b/packages/nodes-base/nodes/OpenThesaurus/GenericFunctions.ts index 7b4c69c193..9c743d1953 100644 --- a/packages/nodes-base/nodes/OpenThesaurus/GenericFunctions.ts +++ b/packages/nodes-base/nodes/OpenThesaurus/GenericFunctions.ts @@ -1,13 +1,14 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { +import type { IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function openThesaurusApiRequest( this: IHookFunctions | IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/OpenThesaurus/OpenThesaurus.node.ts b/packages/nodes-base/nodes/OpenThesaurus/OpenThesaurus.node.ts index f8f59dc8c4..0f65f7da70 100644 --- a/packages/nodes-base/nodes/OpenThesaurus/OpenThesaurus.node.ts +++ b/packages/nodes-base/nodes/OpenThesaurus/OpenThesaurus.node.ts @@ -1,6 +1,11 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { + IDataObject, + INodeExecutionData, + INodeType, + INodeTypeDescription, +} from 'n8n-workflow'; import { openThesaurusApiRequest } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/OpenWeatherMap/OpenWeatherMap.node.ts b/packages/nodes-base/nodes/OpenWeatherMap/OpenWeatherMap.node.ts index a2e8d08226..f8704942ba 100644 --- a/packages/nodes-base/nodes/OpenWeatherMap/OpenWeatherMap.node.ts +++ b/packages/nodes-base/nodes/OpenWeatherMap/OpenWeatherMap.node.ts @@ -1,14 +1,13 @@ -import { IExecuteFunctions } from 'n8n-core'; -import { +import type { IExecuteFunctions } from 'n8n-core'; +import type { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription, - NodeApiError, - NodeOperationError, } from 'n8n-workflow'; +import { NodeApiError, NodeOperationError } from 'n8n-workflow'; -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; export class OpenWeatherMap implements INodeType { description: INodeTypeDescription = { diff --git a/packages/nodes-base/nodes/Orbit/ActivityDescription.ts b/packages/nodes-base/nodes/Orbit/ActivityDescription.ts index b33b868743..b37055b14e 100644 --- a/packages/nodes-base/nodes/Orbit/ActivityDescription.ts +++ b/packages/nodes-base/nodes/Orbit/ActivityDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const activityOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Orbit/GenericFunctions.ts b/packages/nodes-base/nodes/Orbit/GenericFunctions.ts index 83cbb27eb4..cdfb12e5fb 100644 --- a/packages/nodes-base/nodes/Orbit/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Orbit/GenericFunctions.ts @@ -1,15 +1,16 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { +import type { IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; -import { IRelation } from './Interfaces'; +import type { IRelation } from './Interfaces'; export async function orbitApiRequest( this: IHookFunctions | IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Orbit/Interfaces.ts b/packages/nodes-base/nodes/Orbit/Interfaces.ts index bb2468d343..19133a9ecc 100644 --- a/packages/nodes-base/nodes/Orbit/Interfaces.ts +++ b/packages/nodes-base/nodes/Orbit/Interfaces.ts @@ -1,4 +1,4 @@ -import { IDataObject } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; export interface IData { data: [ diff --git a/packages/nodes-base/nodes/Orbit/MemberDescription.ts b/packages/nodes-base/nodes/Orbit/MemberDescription.ts index 3aa1e94f24..6de1470f01 100644 --- a/packages/nodes-base/nodes/Orbit/MemberDescription.ts +++ b/packages/nodes-base/nodes/Orbit/MemberDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const memberOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Orbit/NoteDescription.ts b/packages/nodes-base/nodes/Orbit/NoteDescription.ts index d58496ccba..751e7fd23c 100644 --- a/packages/nodes-base/nodes/Orbit/NoteDescription.ts +++ b/packages/nodes-base/nodes/Orbit/NoteDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const noteOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Orbit/Orbit.node.ts b/packages/nodes-base/nodes/Orbit/Orbit.node.ts index f2b03d80ce..85a84af03f 100644 --- a/packages/nodes-base/nodes/Orbit/Orbit.node.ts +++ b/packages/nodes-base/nodes/Orbit/Orbit.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Orbit/PostDescription.ts b/packages/nodes-base/nodes/Orbit/PostDescription.ts index 72d90777a1..0c153ef819 100644 --- a/packages/nodes-base/nodes/Orbit/PostDescription.ts +++ b/packages/nodes-base/nodes/Orbit/PostDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const postOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Oura/GenericFunctions.ts b/packages/nodes-base/nodes/Oura/GenericFunctions.ts index 4f3655c5e8..1a6ce1e56f 100644 --- a/packages/nodes-base/nodes/Oura/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Oura/GenericFunctions.ts @@ -1,13 +1,14 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { +import type { IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function ouraApiRequest( this: IHookFunctions | IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Oura/Oura.node.ts b/packages/nodes-base/nodes/Oura/Oura.node.ts index d3cb09e41e..4c11af67ae 100644 --- a/packages/nodes-base/nodes/Oura/Oura.node.ts +++ b/packages/nodes-base/nodes/Oura/Oura.node.ts @@ -1,6 +1,11 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { + IDataObject, + INodeExecutionData, + INodeType, + INodeTypeDescription, +} from 'n8n-workflow'; import { ouraApiRequest } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Oura/ProfileDescription.ts b/packages/nodes-base/nodes/Oura/ProfileDescription.ts index 616832afdc..3ee4091148 100644 --- a/packages/nodes-base/nodes/Oura/ProfileDescription.ts +++ b/packages/nodes-base/nodes/Oura/ProfileDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const profileOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Oura/SummaryDescription.ts b/packages/nodes-base/nodes/Oura/SummaryDescription.ts index a02e045264..c1c981e56c 100644 --- a/packages/nodes-base/nodes/Oura/SummaryDescription.ts +++ b/packages/nodes-base/nodes/Oura/SummaryDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const summaryOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Paddle/CouponDescription.ts b/packages/nodes-base/nodes/Paddle/CouponDescription.ts index 782b3910e7..296d8700e4 100644 --- a/packages/nodes-base/nodes/Paddle/CouponDescription.ts +++ b/packages/nodes-base/nodes/Paddle/CouponDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const couponOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Paddle/GenericFunctions.ts b/packages/nodes-base/nodes/Paddle/GenericFunctions.ts index 4a859969b6..d17fe6be98 100644 --- a/packages/nodes-base/nodes/Paddle/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Paddle/GenericFunctions.ts @@ -1,6 +1,6 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { +import type { IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, @@ -8,7 +8,8 @@ import { IWebhookFunctions, } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function paddleApiRequest( this: diff --git a/packages/nodes-base/nodes/Paddle/OrderDescription.ts b/packages/nodes-base/nodes/Paddle/OrderDescription.ts index 93cbb7ba27..670f5249fb 100644 --- a/packages/nodes-base/nodes/Paddle/OrderDescription.ts +++ b/packages/nodes-base/nodes/Paddle/OrderDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const orderOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Paddle/Paddle.node.ts b/packages/nodes-base/nodes/Paddle/Paddle.node.ts index db3611dc5f..363d52c75a 100644 --- a/packages/nodes-base/nodes/Paddle/Paddle.node.ts +++ b/packages/nodes-base/nodes/Paddle/Paddle.node.ts @@ -1,15 +1,14 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, INodePropertyOptions, INodeType, INodeTypeDescription, - NodeApiError, - NodeOperationError, } from 'n8n-workflow'; +import { NodeApiError, NodeOperationError } from 'n8n-workflow'; import { couponFields, couponOperations } from './CouponDescription'; diff --git a/packages/nodes-base/nodes/Paddle/PaymentDescription.ts b/packages/nodes-base/nodes/Paddle/PaymentDescription.ts index 9f51f4b24e..45e90932b3 100644 --- a/packages/nodes-base/nodes/Paddle/PaymentDescription.ts +++ b/packages/nodes-base/nodes/Paddle/PaymentDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const paymentOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Paddle/PlanDescription.ts b/packages/nodes-base/nodes/Paddle/PlanDescription.ts index 59645c7752..a26a86996a 100644 --- a/packages/nodes-base/nodes/Paddle/PlanDescription.ts +++ b/packages/nodes-base/nodes/Paddle/PlanDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const planOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Paddle/ProductDescription.ts b/packages/nodes-base/nodes/Paddle/ProductDescription.ts index 3039693908..51aa138927 100644 --- a/packages/nodes-base/nodes/Paddle/ProductDescription.ts +++ b/packages/nodes-base/nodes/Paddle/ProductDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const productOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Paddle/UserDescription.ts b/packages/nodes-base/nodes/Paddle/UserDescription.ts index 455f3a0092..fa328a4815 100644 --- a/packages/nodes-base/nodes/Paddle/UserDescription.ts +++ b/packages/nodes-base/nodes/Paddle/UserDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const userOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/PagerDuty/GenericFunctions.ts b/packages/nodes-base/nodes/PagerDuty/GenericFunctions.ts index 3a2cb7ee73..04ca75fefd 100644 --- a/packages/nodes-base/nodes/PagerDuty/GenericFunctions.ts +++ b/packages/nodes-base/nodes/PagerDuty/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject, IHookFunctions, IWebhookFunctions, NodeApiError } from 'n8n-workflow'; +import type { IDataObject, IHookFunctions, IWebhookFunctions } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; import { snakeCase } from 'change-case'; diff --git a/packages/nodes-base/nodes/PagerDuty/IncidentDescription.ts b/packages/nodes-base/nodes/PagerDuty/IncidentDescription.ts index e777ab5873..a95a1879db 100644 --- a/packages/nodes-base/nodes/PagerDuty/IncidentDescription.ts +++ b/packages/nodes-base/nodes/PagerDuty/IncidentDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const incidentOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/PagerDuty/IncidentInterface.ts b/packages/nodes-base/nodes/PagerDuty/IncidentInterface.ts index f6ff8eed30..647b3df5f0 100644 --- a/packages/nodes-base/nodes/PagerDuty/IncidentInterface.ts +++ b/packages/nodes-base/nodes/PagerDuty/IncidentInterface.ts @@ -1,4 +1,4 @@ -import { IDataObject } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; export interface IIncident { assignments?: IDataObject[]; diff --git a/packages/nodes-base/nodes/PagerDuty/IncidentNoteDescription.ts b/packages/nodes-base/nodes/PagerDuty/IncidentNoteDescription.ts index 4e952d9999..d452aca770 100644 --- a/packages/nodes-base/nodes/PagerDuty/IncidentNoteDescription.ts +++ b/packages/nodes-base/nodes/PagerDuty/IncidentNoteDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const incidentNoteOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/PagerDuty/LogEntryDescription.ts b/packages/nodes-base/nodes/PagerDuty/LogEntryDescription.ts index 5d63dcdc07..508875d987 100644 --- a/packages/nodes-base/nodes/PagerDuty/LogEntryDescription.ts +++ b/packages/nodes-base/nodes/PagerDuty/LogEntryDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const logEntryOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/PagerDuty/PagerDuty.node.ts b/packages/nodes-base/nodes/PagerDuty/PagerDuty.node.ts index aaaf3c9f27..6aeeb8a94b 100644 --- a/packages/nodes-base/nodes/PagerDuty/PagerDuty.node.ts +++ b/packages/nodes-base/nodes/PagerDuty/PagerDuty.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, @@ -23,7 +23,7 @@ import { logEntryFields, logEntryOperations } from './LogEntryDescription'; import { userFields, userOperations } from './UserDescription'; -import { IIncident } from './IncidentInterface'; +import type { IIncident } from './IncidentInterface'; import { snakeCase } from 'change-case'; diff --git a/packages/nodes-base/nodes/PagerDuty/UserDescription.ts b/packages/nodes-base/nodes/PagerDuty/UserDescription.ts index ae7fcfe57c..9426a9379e 100644 --- a/packages/nodes-base/nodes/PagerDuty/UserDescription.ts +++ b/packages/nodes-base/nodes/PagerDuty/UserDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const userOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/PayPal/GenericFunctions.ts b/packages/nodes-base/nodes/PayPal/GenericFunctions.ts index 76e806b4c3..37bb8f5218 100644 --- a/packages/nodes-base/nodes/PayPal/GenericFunctions.ts +++ b/packages/nodes-base/nodes/PayPal/GenericFunctions.ts @@ -1,15 +1,16 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { - BINARY_ENCODING, +import type { IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, IWebhookFunctions, } from 'n8n-core'; +import { BINARY_ENCODING } from 'n8n-core'; -import { IDataObject, NodeApiError, NodeOperationError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { 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 dfcfeab308..c094795382 100644 --- a/packages/nodes-base/nodes/PayPal/PayPal.node.ts +++ b/packages/nodes-base/nodes/PayPal/PayPal.node.ts @@ -1,6 +1,6 @@ -import { OptionsWithUri } from 'request'; -import { IExecuteFunctions } from 'n8n-core'; -import { +import type { OptionsWithUri } from 'request'; +import type { IExecuteFunctions } from 'n8n-core'; +import type { ICredentialsDecrypted, ICredentialTestFunctions, IDataObject, @@ -8,15 +8,15 @@ import { INodeExecutionData, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { payoutFields, payoutItemFields, payoutItemOperations, payoutOperations, } from './PaymentDescription'; -import { +import type { IAmount, IItem, IPaymentBatch, diff --git a/packages/nodes-base/nodes/PayPal/PayPalTrigger.node.ts b/packages/nodes-base/nodes/PayPal/PayPalTrigger.node.ts index ec66fc40f2..1a2b5b5d00 100644 --- a/packages/nodes-base/nodes/PayPal/PayPalTrigger.node.ts +++ b/packages/nodes-base/nodes/PayPal/PayPalTrigger.node.ts @@ -1,14 +1,14 @@ -import { IHookFunctions, IWebhookFunctions } from 'n8n-core'; +import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodePropertyOptions, INodeType, INodeTypeDescription, IWebhookResponseData, - NodeApiError, } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; import { payPalApiRequest, upperFist } from './GenericFunctions'; export class PayPalTrigger implements INodeType { diff --git a/packages/nodes-base/nodes/PayPal/PaymentDescription.ts b/packages/nodes-base/nodes/PayPal/PaymentDescription.ts index 73fa344377..07901ab610 100644 --- a/packages/nodes-base/nodes/PayPal/PaymentDescription.ts +++ b/packages/nodes-base/nodes/PayPal/PaymentDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const payoutOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Peekalink/GenericFunctions.ts b/packages/nodes-base/nodes/Peekalink/GenericFunctions.ts index 5a5a4ce3ee..46d320ec24 100644 --- a/packages/nodes-base/nodes/Peekalink/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Peekalink/GenericFunctions.ts @@ -1,13 +1,14 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { +import type { IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function peekalinkApiRequest( this: IHookFunctions | IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Peekalink/Peekalink.node.ts b/packages/nodes-base/nodes/Peekalink/Peekalink.node.ts index 18fcdcf0d1..b41e318fd9 100644 --- a/packages/nodes-base/nodes/Peekalink/Peekalink.node.ts +++ b/packages/nodes-base/nodes/Peekalink/Peekalink.node.ts @@ -1,6 +1,11 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { + IDataObject, + INodeExecutionData, + INodeType, + INodeTypeDescription, +} from 'n8n-workflow'; import { peekalinkApiRequest } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Phantombuster/AgentDescription.ts b/packages/nodes-base/nodes/Phantombuster/AgentDescription.ts index 54eec4ea66..46757379d1 100644 --- a/packages/nodes-base/nodes/Phantombuster/AgentDescription.ts +++ b/packages/nodes-base/nodes/Phantombuster/AgentDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const agentOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Phantombuster/GenericFunctions.ts b/packages/nodes-base/nodes/Phantombuster/GenericFunctions.ts index 5b5abe5f8f..b22538d394 100644 --- a/packages/nodes-base/nodes/Phantombuster/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Phantombuster/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject, NodeApiError, NodeOperationError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError, NodeOperationError } from 'n8n-workflow'; export async function phantombusterApiRequest( this: IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Phantombuster/Phantombuster.node.ts b/packages/nodes-base/nodes/Phantombuster/Phantombuster.node.ts index cb0a7cdde1..6bee089185 100644 --- a/packages/nodes-base/nodes/Phantombuster/Phantombuster.node.ts +++ b/packages/nodes-base/nodes/Phantombuster/Phantombuster.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/PhilipsHue/GenericFunctions.ts b/packages/nodes-base/nodes/PhilipsHue/GenericFunctions.ts index f1f5cbe891..fb9b2736f8 100644 --- a/packages/nodes-base/nodes/PhilipsHue/GenericFunctions.ts +++ b/packages/nodes-base/nodes/PhilipsHue/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function philipsHueApiRequest( this: IExecuteFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/PhilipsHue/LightDescription.ts b/packages/nodes-base/nodes/PhilipsHue/LightDescription.ts index b8b49e3089..501c4e00aa 100644 --- a/packages/nodes-base/nodes/PhilipsHue/LightDescription.ts +++ b/packages/nodes-base/nodes/PhilipsHue/LightDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const lightOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/PhilipsHue/PhilipsHue.node.ts b/packages/nodes-base/nodes/PhilipsHue/PhilipsHue.node.ts index db5cf97f56..b00e2abadf 100644 --- a/packages/nodes-base/nodes/PhilipsHue/PhilipsHue.node.ts +++ b/packages/nodes-base/nodes/PhilipsHue/PhilipsHue.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Pipedrive/GenericFunctions.ts b/packages/nodes-base/nodes/Pipedrive/GenericFunctions.ts index bc71f21ed9..dd13224ddd 100644 --- a/packages/nodes-base/nodes/Pipedrive/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Pipedrive/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject, INodePropertyOptions, NodeApiError, NodeOperationError } from 'n8n-workflow'; +import type { IDataObject, INodePropertyOptions } from 'n8n-workflow'; +import { NodeApiError, NodeOperationError } from 'n8n-workflow'; -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; export interface ICustomInterface { name: string; diff --git a/packages/nodes-base/nodes/Pipedrive/Pipedrive.node.ts b/packages/nodes-base/nodes/Pipedrive/Pipedrive.node.ts index 834288443a..f95f49f1c7 100644 --- a/packages/nodes-base/nodes/Pipedrive/Pipedrive.node.ts +++ b/packages/nodes-base/nodes/Pipedrive/Pipedrive.node.ts @@ -1,15 +1,15 @@ -import { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { +import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IDataObject, INodeExecutionData, INodePropertyOptions, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; +import type { ICustomProperties } from './GenericFunctions'; import { - ICustomProperties, pipedriveApiRequest, pipedriveApiRequestAllItems, pipedriveEncodeCustomProperties, diff --git a/packages/nodes-base/nodes/Pipedrive/PipedriveTrigger.node.ts b/packages/nodes-base/nodes/Pipedrive/PipedriveTrigger.node.ts index 411afc4e5d..5d5ee811fa 100644 --- a/packages/nodes-base/nodes/Pipedrive/PipedriveTrigger.node.ts +++ b/packages/nodes-base/nodes/Pipedrive/PipedriveTrigger.node.ts @@ -1,6 +1,6 @@ -import { IHookFunctions, IWebhookFunctions } from 'n8n-core'; +import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; -import { +import type { ICredentialDataDecryptedObject, INodeType, INodeTypeDescription, @@ -11,7 +11,7 @@ import { pipedriveApiRequest } from './GenericFunctions'; import basicAuth from 'basic-auth'; -import { Response } from 'express'; +import type { Response } from 'express'; function authorizationError(resp: Response, realm: string, responseCode: number, message?: string) { if (message === undefined) { diff --git a/packages/nodes-base/nodes/Plivo/CallDescription.ts b/packages/nodes-base/nodes/Plivo/CallDescription.ts index d5d0b2314f..c67d726938 100644 --- a/packages/nodes-base/nodes/Plivo/CallDescription.ts +++ b/packages/nodes-base/nodes/Plivo/CallDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const callOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Plivo/GenericFunctions.ts b/packages/nodes-base/nodes/Plivo/GenericFunctions.ts index f511d41813..138d9b2a98 100644 --- a/packages/nodes-base/nodes/Plivo/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Plivo/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { IExecuteFunctions, IHookFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IHookFunctions } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; /** * Make an API request to Plivo. diff --git a/packages/nodes-base/nodes/Plivo/MmsDescription.ts b/packages/nodes-base/nodes/Plivo/MmsDescription.ts index 63cbb64e27..3685d5a77e 100644 --- a/packages/nodes-base/nodes/Plivo/MmsDescription.ts +++ b/packages/nodes-base/nodes/Plivo/MmsDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const mmsOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Plivo/Plivo.node.ts b/packages/nodes-base/nodes/Plivo/Plivo.node.ts index 5747d34c9c..ed57e9b5c9 100644 --- a/packages/nodes-base/nodes/Plivo/Plivo.node.ts +++ b/packages/nodes-base/nodes/Plivo/Plivo.node.ts @@ -1,6 +1,11 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { + IDataObject, + INodeExecutionData, + INodeType, + INodeTypeDescription, +} from 'n8n-workflow'; import { smsFields, smsOperations } from './SmsDescription'; diff --git a/packages/nodes-base/nodes/Plivo/SmsDescription.ts b/packages/nodes-base/nodes/Plivo/SmsDescription.ts index 5c4d2d2063..e003c9cd1c 100644 --- a/packages/nodes-base/nodes/Plivo/SmsDescription.ts +++ b/packages/nodes-base/nodes/Plivo/SmsDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const smsOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/PostBin/BinDescription.ts b/packages/nodes-base/nodes/PostBin/BinDescription.ts index 33c95b58b7..3255d52bec 100644 --- a/packages/nodes-base/nodes/PostBin/BinDescription.ts +++ b/packages/nodes-base/nodes/PostBin/BinDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { buildBinAPIURL, transformBinReponse } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/PostBin/GenericFunctions.ts b/packages/nodes-base/nodes/PostBin/GenericFunctions.ts index 52206860fd..f76d236c97 100644 --- a/packages/nodes-base/nodes/PostBin/GenericFunctions.ts +++ b/packages/nodes-base/nodes/PostBin/GenericFunctions.ts @@ -1,10 +1,10 @@ -import { +import type { IExecuteSingleFunctions, IHttpRequestOptions, IN8nHttpFullResponse, INodeExecutionData, - NodeApiError, } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; // Regular expressions used to extract binId from parameter value const BIN_ID_REGEX = /\b\d{13}-\d{13}\b/g; diff --git a/packages/nodes-base/nodes/PostBin/PostBin.node.ts b/packages/nodes-base/nodes/PostBin/PostBin.node.ts index 4e131562ee..4190036ad7 100644 --- a/packages/nodes-base/nodes/PostBin/PostBin.node.ts +++ b/packages/nodes-base/nodes/PostBin/PostBin.node.ts @@ -1,4 +1,4 @@ -import { INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { INodeType, INodeTypeDescription } from 'n8n-workflow'; import { binFields, binOperations } from './BinDescription'; diff --git a/packages/nodes-base/nodes/PostBin/RequestDescription.ts b/packages/nodes-base/nodes/PostBin/RequestDescription.ts index d007d0f95e..04f1bec68c 100644 --- a/packages/nodes-base/nodes/PostBin/RequestDescription.ts +++ b/packages/nodes-base/nodes/PostBin/RequestDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { buildBinTestURL, buildRequestURL } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/PostHog/AliasDescription.ts b/packages/nodes-base/nodes/PostHog/AliasDescription.ts index 5c1fca1dfe..82190d1274 100644 --- a/packages/nodes-base/nodes/PostHog/AliasDescription.ts +++ b/packages/nodes-base/nodes/PostHog/AliasDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const aliasOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/PostHog/EventDescription.ts b/packages/nodes-base/nodes/PostHog/EventDescription.ts index d74763c27c..5403277dc1 100644 --- a/packages/nodes-base/nodes/PostHog/EventDescription.ts +++ b/packages/nodes-base/nodes/PostHog/EventDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const eventOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/PostHog/GenericFunctions.ts b/packages/nodes-base/nodes/PostHog/GenericFunctions.ts index eee5103d0e..52810b3d05 100644 --- a/packages/nodes-base/nodes/PostHog/GenericFunctions.ts +++ b/packages/nodes-base/nodes/PostHog/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { OptionsWithUrl } from 'request'; +import type { OptionsWithUrl } from 'request'; -import { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function posthogApiRequest( this: IExecuteFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/PostHog/IdentityDescription.ts b/packages/nodes-base/nodes/PostHog/IdentityDescription.ts index 92623ddb89..b033440ed8 100644 --- a/packages/nodes-base/nodes/PostHog/IdentityDescription.ts +++ b/packages/nodes-base/nodes/PostHog/IdentityDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const identityOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/PostHog/PostHog.node.ts b/packages/nodes-base/nodes/PostHog/PostHog.node.ts index 4a7039dc76..e61ba2f5b1 100644 --- a/packages/nodes-base/nodes/PostHog/PostHog.node.ts +++ b/packages/nodes-base/nodes/PostHog/PostHog.node.ts @@ -1,8 +1,14 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { + IDataObject, + INodeExecutionData, + INodeType, + INodeTypeDescription, +} from 'n8n-workflow'; -import { IAlias, IEvent, IIdentity, ITrack, posthogApiRequest } from './GenericFunctions'; +import type { IAlias, IEvent, IIdentity, ITrack } from './GenericFunctions'; +import { posthogApiRequest } from './GenericFunctions'; import { aliasFields, aliasOperations } from './AliasDescription'; diff --git a/packages/nodes-base/nodes/PostHog/TrackDescription.ts b/packages/nodes-base/nodes/PostHog/TrackDescription.ts index c996adb39f..004335b4c2 100644 --- a/packages/nodes-base/nodes/PostHog/TrackDescription.ts +++ b/packages/nodes-base/nodes/PostHog/TrackDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const trackOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Postgres/Postgres.node.functions.ts b/packages/nodes-base/nodes/Postgres/Postgres.node.functions.ts index 1714a586d3..5999dc91f9 100644 --- a/packages/nodes-base/nodes/Postgres/Postgres.node.functions.ts +++ b/packages/nodes-base/nodes/Postgres/Postgres.node.functions.ts @@ -1,7 +1,7 @@ -import { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData, JsonObject } from 'n8n-workflow'; -import pgPromise from 'pg-promise'; -import pg from 'pg-promise/typescript/pg-subset'; +import type { IExecuteFunctions } from 'n8n-core'; +import type { IDataObject, INodeExecutionData, JsonObject } from 'n8n-workflow'; +import type pgPromise from 'pg-promise'; +import type pg from 'pg-promise/typescript/pg-subset'; /** * Returns of a shallow copy of the items which only contains the json data and diff --git a/packages/nodes-base/nodes/Postgres/Postgres.node.ts b/packages/nodes-base/nodes/Postgres/Postgres.node.ts index 51411fd4ef..362557021a 100644 --- a/packages/nodes-base/nodes/Postgres/Postgres.node.ts +++ b/packages/nodes-base/nodes/Postgres/Postgres.node.ts @@ -1,5 +1,5 @@ -import { IExecuteFunctions } from 'n8n-core'; -import { +import type { IExecuteFunctions } from 'n8n-core'; +import type { ICredentialsDecrypted, ICredentialTestFunctions, IDataObject, @@ -7,8 +7,8 @@ import { INodeExecutionData, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import pgPromise from 'pg-promise'; diff --git a/packages/nodes-base/nodes/Postmark/GenericFunctions.ts b/packages/nodes-base/nodes/Postmark/GenericFunctions.ts index fb041bf81a..3a1f39a5fb 100644 --- a/packages/nodes-base/nodes/Postmark/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Postmark/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject, IHookFunctions, IWebhookFunctions, NodeApiError } from 'n8n-workflow'; +import type { IDataObject, IHookFunctions, IWebhookFunctions } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function postmarkApiRequest( this: IExecuteFunctions | IWebhookFunctions | IHookFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Postmark/PostmarkTrigger.node.ts b/packages/nodes-base/nodes/Postmark/PostmarkTrigger.node.ts index ecd8b16050..bf2b08cc0b 100644 --- a/packages/nodes-base/nodes/Postmark/PostmarkTrigger.node.ts +++ b/packages/nodes-base/nodes/Postmark/PostmarkTrigger.node.ts @@ -1,6 +1,6 @@ -import { IHookFunctions, IWebhookFunctions } from 'n8n-core'; +import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; -import { INodeType, INodeTypeDescription, IWebhookResponseData } from 'n8n-workflow'; +import type { INodeType, INodeTypeDescription, IWebhookResponseData } from 'n8n-workflow'; import { convertTriggerObjectToStringArray, diff --git a/packages/nodes-base/nodes/ProfitWell/CompanyDescription.ts b/packages/nodes-base/nodes/ProfitWell/CompanyDescription.ts index 6cc37c1a02..a36d9f963d 100644 --- a/packages/nodes-base/nodes/ProfitWell/CompanyDescription.ts +++ b/packages/nodes-base/nodes/ProfitWell/CompanyDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const companyOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/ProfitWell/GenericFunctions.ts b/packages/nodes-base/nodes/ProfitWell/GenericFunctions.ts index 64d338ea9f..a63bed6e8c 100644 --- a/packages/nodes-base/nodes/ProfitWell/GenericFunctions.ts +++ b/packages/nodes-base/nodes/ProfitWell/GenericFunctions.ts @@ -1,13 +1,14 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { +import type { IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function profitWellApiRequest( this: IHookFunctions | IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/ProfitWell/MetricDescription.ts b/packages/nodes-base/nodes/ProfitWell/MetricDescription.ts index f411ffa29c..3b39bb302c 100644 --- a/packages/nodes-base/nodes/ProfitWell/MetricDescription.ts +++ b/packages/nodes-base/nodes/ProfitWell/MetricDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const metricOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/ProfitWell/ProfitWell.node.ts b/packages/nodes-base/nodes/ProfitWell/ProfitWell.node.ts index dff6f72c6c..2a164a489b 100644 --- a/packages/nodes-base/nodes/ProfitWell/ProfitWell.node.ts +++ b/packages/nodes-base/nodes/ProfitWell/ProfitWell.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Pushbullet/GenericFunctions.ts b/packages/nodes-base/nodes/Pushbullet/GenericFunctions.ts index 5dc7a7dcc4..c978899e87 100644 --- a/packages/nodes-base/nodes/Pushbullet/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Pushbullet/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function pushbulletApiRequest( this: IExecuteFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Pushbullet/Pushbullet.node.ts b/packages/nodes-base/nodes/Pushbullet/Pushbullet.node.ts index d9ab330a94..1bd0f5eebb 100644 --- a/packages/nodes-base/nodes/Pushbullet/Pushbullet.node.ts +++ b/packages/nodes-base/nodes/Pushbullet/Pushbullet.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IBinaryKeyData, IDataObject, ILoadOptionsFunctions, @@ -8,8 +8,8 @@ import { INodePropertyOptions, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { pushbulletApiRequest, pushbulletApiRequestAllItems } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Pushcut/GenericFunctions.ts b/packages/nodes-base/nodes/Pushcut/GenericFunctions.ts index b29003d7e7..c0ccdcb23a 100644 --- a/packages/nodes-base/nodes/Pushcut/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Pushcut/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject, IHookFunctions, NodeApiError } from 'n8n-workflow'; +import type { IDataObject, IHookFunctions } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function pushcutApiRequest( this: IExecuteFunctions | ILoadOptionsFunctions | IHookFunctions, diff --git a/packages/nodes-base/nodes/Pushcut/Pushcut.node.ts b/packages/nodes-base/nodes/Pushcut/Pushcut.node.ts index e86ae56e37..28bfc83cfe 100644 --- a/packages/nodes-base/nodes/Pushcut/Pushcut.node.ts +++ b/packages/nodes-base/nodes/Pushcut/Pushcut.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Pushcut/PushcutTrigger.node.ts b/packages/nodes-base/nodes/Pushcut/PushcutTrigger.node.ts index 2011eb776a..bb5dd1fbce 100644 --- a/packages/nodes-base/nodes/Pushcut/PushcutTrigger.node.ts +++ b/packages/nodes-base/nodes/Pushcut/PushcutTrigger.node.ts @@ -1,6 +1,6 @@ -import { IHookFunctions, IWebhookFunctions } from 'n8n-core'; +import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; -import { INodeType, INodeTypeDescription, IWebhookResponseData } from 'n8n-workflow'; +import type { 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 69d2007fc6..41193de812 100644 --- a/packages/nodes-base/nodes/Pushover/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Pushover/GenericFunctions.ts @@ -1,6 +1,7 @@ -import { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject, IHttpRequestMethods, IHttpRequestOptions, NodeApiError } from 'n8n-workflow'; +import type { IDataObject, IHttpRequestMethods, IHttpRequestOptions } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function pushoverApiRequest( this: IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Pushover/Pushover.node.ts b/packages/nodes-base/nodes/Pushover/Pushover.node.ts index 5ddfec52b6..980238c1e5 100644 --- a/packages/nodes-base/nodes/Pushover/Pushover.node.ts +++ b/packages/nodes-base/nodes/Pushover/Pushover.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IBinaryKeyData, IDataObject, ILoadOptionsFunctions, @@ -8,8 +8,8 @@ import { INodePropertyOptions, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { pushoverApiRequest } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/QuestDb/QuestDb.node.ts b/packages/nodes-base/nodes/QuestDb/QuestDb.node.ts index b041a2b166..64efce4b49 100644 --- a/packages/nodes-base/nodes/QuestDb/QuestDb.node.ts +++ b/packages/nodes-base/nodes/QuestDb/QuestDb.node.ts @@ -1,10 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; -import { - INodeExecutionData, - INodeType, - INodeTypeDescription, - NodeOperationError, -} from 'n8n-workflow'; +import type { IExecuteFunctions } from 'n8n-core'; +import type { INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import pgPromise from 'pg-promise'; diff --git a/packages/nodes-base/nodes/QuickBase/FieldDescription.ts b/packages/nodes-base/nodes/QuickBase/FieldDescription.ts index d5086f270e..5750fef1e9 100644 --- a/packages/nodes-base/nodes/QuickBase/FieldDescription.ts +++ b/packages/nodes-base/nodes/QuickBase/FieldDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const fieldOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/QuickBase/FileDescription.ts b/packages/nodes-base/nodes/QuickBase/FileDescription.ts index 6dc28edb65..343f23cdfe 100644 --- a/packages/nodes-base/nodes/QuickBase/FileDescription.ts +++ b/packages/nodes-base/nodes/QuickBase/FileDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const fileOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/QuickBase/GenericFunctions.ts b/packages/nodes-base/nodes/QuickBase/GenericFunctions.ts index e3434c2819..72bdbdbcb3 100644 --- a/packages/nodes-base/nodes/QuickBase/GenericFunctions.ts +++ b/packages/nodes-base/nodes/QuickBase/GenericFunctions.ts @@ -1,13 +1,14 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { +import type { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions, IWebhookFunctions, } from 'n8n-core'; -import { IDataObject, NodeApiError, NodeOperationError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError, NodeOperationError } from 'n8n-workflow'; export async function quickbaseApiRequest( this: IExecuteFunctions | ILoadOptionsFunctions | IHookFunctions | IWebhookFunctions, diff --git a/packages/nodes-base/nodes/QuickBase/QuickBase.node.ts b/packages/nodes-base/nodes/QuickBase/QuickBase.node.ts index dd1c56e575..1a971d017c 100644 --- a/packages/nodes-base/nodes/QuickBase/QuickBase.node.ts +++ b/packages/nodes-base/nodes/QuickBase/QuickBase.node.ts @@ -1,15 +1,15 @@ /* eslint-disable n8n-nodes-base/node-filename-against-convention */ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, INodePropertyOptions, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { getFieldsObject, diff --git a/packages/nodes-base/nodes/QuickBase/RecordDescription.ts b/packages/nodes-base/nodes/QuickBase/RecordDescription.ts index 93c8ac9791..4593027a6c 100644 --- a/packages/nodes-base/nodes/QuickBase/RecordDescription.ts +++ b/packages/nodes-base/nodes/QuickBase/RecordDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const recordOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/QuickBase/ReportDescription.ts b/packages/nodes-base/nodes/QuickBase/ReportDescription.ts index 50df34256e..ef813b8565 100644 --- a/packages/nodes-base/nodes/QuickBase/ReportDescription.ts +++ b/packages/nodes-base/nodes/QuickBase/ReportDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const reportOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/QuickBooks/GenericFunctions.ts b/packages/nodes-base/nodes/QuickBooks/GenericFunctions.ts index 646e906c9b..3a845211c5 100644 --- a/packages/nodes-base/nodes/QuickBooks/GenericFunctions.ts +++ b/packages/nodes-base/nodes/QuickBooks/GenericFunctions.ts @@ -1,22 +1,22 @@ -import { IExecuteFunctions, IHookFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IHookFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, INodePropertyOptions, - NodeApiError, } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; -import { CustomField, GeneralAddress, Ref } from './descriptions/Shared.interface'; +import type { CustomField, GeneralAddress, Ref } from './descriptions/Shared.interface'; import { capitalCase } from 'change-case'; import { omit, pickBy } from 'lodash'; -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { DateFieldsUi, Option, QuickBooksOAuth2Credentials, TransactionReport } from './types'; +import type { DateFieldsUi, Option, QuickBooksOAuth2Credentials, TransactionReport } from './types'; /** * Make an authenticated API request to QuickBooks. diff --git a/packages/nodes-base/nodes/QuickBooks/QuickBooks.node.ts b/packages/nodes-base/nodes/QuickBooks/QuickBooks.node.ts index aac3289a3b..e57f9517a9 100644 --- a/packages/nodes-base/nodes/QuickBooks/QuickBooks.node.ts +++ b/packages/nodes-base/nodes/QuickBooks/QuickBooks.node.ts @@ -1,14 +1,14 @@ /* eslint-disable n8n-nodes-base/node-filename-against-convention */ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { billFields, @@ -50,7 +50,7 @@ import { capitalCase } from 'change-case'; import { isEmpty } from 'lodash'; -import { QuickBooksOAuth2Credentials, TransactionFields } from './types'; +import type { QuickBooksOAuth2Credentials, TransactionFields } from './types'; export class QuickBooks implements INodeType { description: INodeTypeDescription = { diff --git a/packages/nodes-base/nodes/QuickBooks/descriptions/Bill/BillAdditionalFieldsOptions.ts b/packages/nodes-base/nodes/QuickBooks/descriptions/Bill/BillAdditionalFieldsOptions.ts index f6ef99caf9..568dced093 100644 --- a/packages/nodes-base/nodes/QuickBooks/descriptions/Bill/BillAdditionalFieldsOptions.ts +++ b/packages/nodes-base/nodes/QuickBooks/descriptions/Bill/BillAdditionalFieldsOptions.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const billAdditionalFieldsOptions: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/QuickBooks/descriptions/Bill/BillDescription.ts b/packages/nodes-base/nodes/QuickBooks/descriptions/Bill/BillDescription.ts index aefefec385..e30c80364c 100644 --- a/packages/nodes-base/nodes/QuickBooks/descriptions/Bill/BillDescription.ts +++ b/packages/nodes-base/nodes/QuickBooks/descriptions/Bill/BillDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { billAdditionalFieldsOptions } from './BillAdditionalFieldsOptions'; diff --git a/packages/nodes-base/nodes/QuickBooks/descriptions/Customer/CustomerAdditionalFieldsOptions.ts b/packages/nodes-base/nodes/QuickBooks/descriptions/Customer/CustomerAdditionalFieldsOptions.ts index 9a0b19e48f..696e776606 100644 --- a/packages/nodes-base/nodes/QuickBooks/descriptions/Customer/CustomerAdditionalFieldsOptions.ts +++ b/packages/nodes-base/nodes/QuickBooks/descriptions/Customer/CustomerAdditionalFieldsOptions.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const customerAdditionalFieldsOptions: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/QuickBooks/descriptions/Customer/CustomerDescription.ts b/packages/nodes-base/nodes/QuickBooks/descriptions/Customer/CustomerDescription.ts index 0e3911d5aa..be29cd4142 100644 --- a/packages/nodes-base/nodes/QuickBooks/descriptions/Customer/CustomerDescription.ts +++ b/packages/nodes-base/nodes/QuickBooks/descriptions/Customer/CustomerDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { customerAdditionalFieldsOptions } from './CustomerAdditionalFieldsOptions'; diff --git a/packages/nodes-base/nodes/QuickBooks/descriptions/Employee/EmployeeAdditionalFieldsOptions.ts b/packages/nodes-base/nodes/QuickBooks/descriptions/Employee/EmployeeAdditionalFieldsOptions.ts index b2097c06c2..06b42a2200 100644 --- a/packages/nodes-base/nodes/QuickBooks/descriptions/Employee/EmployeeAdditionalFieldsOptions.ts +++ b/packages/nodes-base/nodes/QuickBooks/descriptions/Employee/EmployeeAdditionalFieldsOptions.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const employeeAdditionalFieldsOptions: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/QuickBooks/descriptions/Employee/EmployeeDescription.ts b/packages/nodes-base/nodes/QuickBooks/descriptions/Employee/EmployeeDescription.ts index 4daf6735f3..fa27f32353 100644 --- a/packages/nodes-base/nodes/QuickBooks/descriptions/Employee/EmployeeDescription.ts +++ b/packages/nodes-base/nodes/QuickBooks/descriptions/Employee/EmployeeDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { employeeAdditionalFieldsOptions } from './EmployeeAdditionalFieldsOptions'; diff --git a/packages/nodes-base/nodes/QuickBooks/descriptions/Estimate/EstimateAdditionalFieldsOptions.ts b/packages/nodes-base/nodes/QuickBooks/descriptions/Estimate/EstimateAdditionalFieldsOptions.ts index c22faaeafc..ea1cbe1b68 100644 --- a/packages/nodes-base/nodes/QuickBooks/descriptions/Estimate/EstimateAdditionalFieldsOptions.ts +++ b/packages/nodes-base/nodes/QuickBooks/descriptions/Estimate/EstimateAdditionalFieldsOptions.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const estimateAdditionalFieldsOptions: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/QuickBooks/descriptions/Estimate/EstimateDescription.ts b/packages/nodes-base/nodes/QuickBooks/descriptions/Estimate/EstimateDescription.ts index c29834d704..b286dfeb04 100644 --- a/packages/nodes-base/nodes/QuickBooks/descriptions/Estimate/EstimateDescription.ts +++ b/packages/nodes-base/nodes/QuickBooks/descriptions/Estimate/EstimateDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { estimateAdditionalFieldsOptions } from './EstimateAdditionalFieldsOptions'; diff --git a/packages/nodes-base/nodes/QuickBooks/descriptions/Invoice/InvoiceAdditionalFieldsOptions.ts b/packages/nodes-base/nodes/QuickBooks/descriptions/Invoice/InvoiceAdditionalFieldsOptions.ts index f7f0100556..2e1b4539c2 100644 --- a/packages/nodes-base/nodes/QuickBooks/descriptions/Invoice/InvoiceAdditionalFieldsOptions.ts +++ b/packages/nodes-base/nodes/QuickBooks/descriptions/Invoice/InvoiceAdditionalFieldsOptions.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const invoiceAdditionalFieldsOptions: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/QuickBooks/descriptions/Invoice/InvoiceDescription.ts b/packages/nodes-base/nodes/QuickBooks/descriptions/Invoice/InvoiceDescription.ts index a15f63bf6a..0e9c7c0e27 100644 --- a/packages/nodes-base/nodes/QuickBooks/descriptions/Invoice/InvoiceDescription.ts +++ b/packages/nodes-base/nodes/QuickBooks/descriptions/Invoice/InvoiceDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { invoiceAdditionalFieldsOptions } from './InvoiceAdditionalFieldsOptions'; diff --git a/packages/nodes-base/nodes/QuickBooks/descriptions/Item/ItemDescription.ts b/packages/nodes-base/nodes/QuickBooks/descriptions/Item/ItemDescription.ts index 384347d732..02210ebef2 100644 --- a/packages/nodes-base/nodes/QuickBooks/descriptions/Item/ItemDescription.ts +++ b/packages/nodes-base/nodes/QuickBooks/descriptions/Item/ItemDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const itemOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/QuickBooks/descriptions/Payment/PaymentAdditionalFieldsOptions.ts b/packages/nodes-base/nodes/QuickBooks/descriptions/Payment/PaymentAdditionalFieldsOptions.ts index 930e1ed605..20d952a78c 100644 --- a/packages/nodes-base/nodes/QuickBooks/descriptions/Payment/PaymentAdditionalFieldsOptions.ts +++ b/packages/nodes-base/nodes/QuickBooks/descriptions/Payment/PaymentAdditionalFieldsOptions.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const paymentAdditionalFieldsOptions: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/QuickBooks/descriptions/Payment/PaymentDescription.ts b/packages/nodes-base/nodes/QuickBooks/descriptions/Payment/PaymentDescription.ts index 86368c1126..ff338841bc 100644 --- a/packages/nodes-base/nodes/QuickBooks/descriptions/Payment/PaymentDescription.ts +++ b/packages/nodes-base/nodes/QuickBooks/descriptions/Payment/PaymentDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { paymentAdditionalFieldsOptions } from './PaymentAdditionalFieldsOptions'; diff --git a/packages/nodes-base/nodes/QuickBooks/descriptions/Purchase/PurchaseDescription.ts b/packages/nodes-base/nodes/QuickBooks/descriptions/Purchase/PurchaseDescription.ts index 41c0392641..b13b24f046 100644 --- a/packages/nodes-base/nodes/QuickBooks/descriptions/Purchase/PurchaseDescription.ts +++ b/packages/nodes-base/nodes/QuickBooks/descriptions/Purchase/PurchaseDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const purchaseOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/QuickBooks/descriptions/Transaction/TransactionDescription.ts b/packages/nodes-base/nodes/QuickBooks/descriptions/Transaction/TransactionDescription.ts index afde03ab71..de30a9380f 100644 --- a/packages/nodes-base/nodes/QuickBooks/descriptions/Transaction/TransactionDescription.ts +++ b/packages/nodes-base/nodes/QuickBooks/descriptions/Transaction/TransactionDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { toDisplayName, toOptions } from '../../GenericFunctions'; diff --git a/packages/nodes-base/nodes/QuickBooks/descriptions/Vendor/VendorAdditionalFieldsOptions.ts b/packages/nodes-base/nodes/QuickBooks/descriptions/Vendor/VendorAdditionalFieldsOptions.ts index 9fab028e34..82600a11b1 100644 --- a/packages/nodes-base/nodes/QuickBooks/descriptions/Vendor/VendorAdditionalFieldsOptions.ts +++ b/packages/nodes-base/nodes/QuickBooks/descriptions/Vendor/VendorAdditionalFieldsOptions.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const vendorAdditionalFieldsOptions: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/QuickBooks/descriptions/Vendor/VendorDescription.ts b/packages/nodes-base/nodes/QuickBooks/descriptions/Vendor/VendorDescription.ts index 405fa85c92..c7a6a0f949 100644 --- a/packages/nodes-base/nodes/QuickBooks/descriptions/Vendor/VendorDescription.ts +++ b/packages/nodes-base/nodes/QuickBooks/descriptions/Vendor/VendorDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { vendorAdditionalFieldsOptions } from './VendorAdditionalFieldsOptions'; diff --git a/packages/nodes-base/nodes/QuickBooks/types.d.ts b/packages/nodes-base/nodes/QuickBooks/types.d.ts index 8747abd8bd..3dccc3eacb 100644 --- a/packages/nodes-base/nodes/QuickBooks/types.d.ts +++ b/packages/nodes-base/nodes/QuickBooks/types.d.ts @@ -1,4 +1,4 @@ -import { IDataObject } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; export type QuickBooksOAuth2Credentials = { environment: 'production' | 'sandbox'; diff --git a/packages/nodes-base/nodes/RabbitMQ/DefaultOptions.ts b/packages/nodes-base/nodes/RabbitMQ/DefaultOptions.ts index 2aba7326df..17dcef42c8 100644 --- a/packages/nodes-base/nodes/RabbitMQ/DefaultOptions.ts +++ b/packages/nodes-base/nodes/RabbitMQ/DefaultOptions.ts @@ -1,4 +1,4 @@ -import { INodeProperties, INodePropertyCollection, INodePropertyOptions } from 'n8n-workflow'; +import type { INodeProperties, INodePropertyCollection, INodePropertyOptions } from 'n8n-workflow'; export const rabbitDefaultOptions: Array< INodePropertyOptions | INodeProperties | INodePropertyCollection diff --git a/packages/nodes-base/nodes/RabbitMQ/GenericFunctions.ts b/packages/nodes-base/nodes/RabbitMQ/GenericFunctions.ts index 918cc9e0f5..8f925ce094 100644 --- a/packages/nodes-base/nodes/RabbitMQ/GenericFunctions.ts +++ b/packages/nodes-base/nodes/RabbitMQ/GenericFunctions.ts @@ -1,4 +1,5 @@ -import { IDataObject, IExecuteFunctions, ITriggerFunctions, sleep } from 'n8n-workflow'; +import type { IDataObject, IExecuteFunctions, ITriggerFunctions } from 'n8n-workflow'; +import { sleep } from 'n8n-workflow'; import * as amqplib from 'amqplib'; diff --git a/packages/nodes-base/nodes/RabbitMQ/RabbitMQ.node.ts b/packages/nodes-base/nodes/RabbitMQ/RabbitMQ.node.ts index a7e5371ddd..b2b2d37d0e 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 { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; import * as amqplib from 'amqplib'; -import { +import type { ICredentialsDecrypted, ICredentialTestFunctions, IDataObject, @@ -10,9 +10,8 @@ import { INodeType, INodeTypeDescription, JsonObject, - NodeApiError, - NodeOperationError, } from 'n8n-workflow'; +import { NodeApiError, NodeOperationError } from 'n8n-workflow'; import { rabbitmqConnectExchange, rabbitmqConnectQueue } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/RabbitMQ/RabbitMQTrigger.node.ts b/packages/nodes-base/nodes/RabbitMQ/RabbitMQTrigger.node.ts index 9f152152c3..763e3c8d71 100644 --- a/packages/nodes-base/nodes/RabbitMQ/RabbitMQTrigger.node.ts +++ b/packages/nodes-base/nodes/RabbitMQ/RabbitMQTrigger.node.ts @@ -1,6 +1,5 @@ /* eslint-disable n8n-nodes-base/node-filename-against-convention */ -import { - createDeferredPromise, +import type { IDataObject, INodeExecutionData, INodeProperties, @@ -9,9 +8,8 @@ import { IRun, ITriggerFunctions, ITriggerResponse, - LoggerProxy as Logger, - NodeOperationError, } from 'n8n-workflow'; +import { createDeferredPromise, LoggerProxy as Logger, NodeOperationError } from 'n8n-workflow'; import { rabbitDefaultOptions } from './DefaultOptions'; diff --git a/packages/nodes-base/nodes/Raindrop/GenericFunctions.ts b/packages/nodes-base/nodes/Raindrop/GenericFunctions.ts index 1aacee4006..8f69a3a81b 100644 --- a/packages/nodes-base/nodes/Raindrop/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Raindrop/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { IExecuteFunctions, IHookFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IHookFunctions } from 'n8n-core'; -import { IDataObject, ILoadOptionsFunctions, NodeApiError } from 'n8n-workflow'; +import type { IDataObject, ILoadOptionsFunctions } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; /** * Make an authenticated API request to Raindrop. diff --git a/packages/nodes-base/nodes/Raindrop/Raindrop.node.ts b/packages/nodes-base/nodes/Raindrop/Raindrop.node.ts index 7761ce32d3..2eeaf8fa11 100644 --- a/packages/nodes-base/nodes/Raindrop/Raindrop.node.ts +++ b/packages/nodes-base/nodes/Raindrop/Raindrop.node.ts @@ -1,13 +1,13 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { isEmpty, omit } from 'lodash'; diff --git a/packages/nodes-base/nodes/Raindrop/descriptions/BookmarkDescription.ts b/packages/nodes-base/nodes/Raindrop/descriptions/BookmarkDescription.ts index 0b53dc0a88..d778c9f281 100644 --- a/packages/nodes-base/nodes/Raindrop/descriptions/BookmarkDescription.ts +++ b/packages/nodes-base/nodes/Raindrop/descriptions/BookmarkDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const bookmarkOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Raindrop/descriptions/CollectionDescription.ts b/packages/nodes-base/nodes/Raindrop/descriptions/CollectionDescription.ts index 19682dd69e..cad814f59a 100644 --- a/packages/nodes-base/nodes/Raindrop/descriptions/CollectionDescription.ts +++ b/packages/nodes-base/nodes/Raindrop/descriptions/CollectionDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const collectionOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Raindrop/descriptions/TagDescription.ts b/packages/nodes-base/nodes/Raindrop/descriptions/TagDescription.ts index e5f11c6603..992aaef624 100644 --- a/packages/nodes-base/nodes/Raindrop/descriptions/TagDescription.ts +++ b/packages/nodes-base/nodes/Raindrop/descriptions/TagDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const tagOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Raindrop/descriptions/UserDescription.ts b/packages/nodes-base/nodes/Raindrop/descriptions/UserDescription.ts index 99b8951bb4..f23bf93cf7 100644 --- a/packages/nodes-base/nodes/Raindrop/descriptions/UserDescription.ts +++ b/packages/nodes-base/nodes/Raindrop/descriptions/UserDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const userOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/ReadPdf/ReadPDF.node.ts b/packages/nodes-base/nodes/ReadPdf/ReadPDF.node.ts index 104dcebf5a..5242246347 100644 --- a/packages/nodes-base/nodes/ReadPdf/ReadPDF.node.ts +++ b/packages/nodes-base/nodes/ReadPdf/ReadPDF.node.ts @@ -1,6 +1,11 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { + IDataObject, + INodeExecutionData, + INodeType, + INodeTypeDescription, +} from 'n8n-workflow'; import pdf from 'pdf-parse'; diff --git a/packages/nodes-base/nodes/Reddit/GenericFunctions.ts b/packages/nodes-base/nodes/Reddit/GenericFunctions.ts index 9561001a06..8465f71c07 100644 --- a/packages/nodes-base/nodes/Reddit/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Reddit/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { IExecuteFunctions, IHookFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IHookFunctions } from 'n8n-core'; -import { IDataObject, JsonObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject, JsonObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; /** * Make an authenticated or unauthenticated API request to Reddit. diff --git a/packages/nodes-base/nodes/Reddit/PostCommentDescription.ts b/packages/nodes-base/nodes/Reddit/PostCommentDescription.ts index 13646723fd..d7e0f4525e 100644 --- a/packages/nodes-base/nodes/Reddit/PostCommentDescription.ts +++ b/packages/nodes-base/nodes/Reddit/PostCommentDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const postCommentOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Reddit/PostDescription.ts b/packages/nodes-base/nodes/Reddit/PostDescription.ts index 00d97a9e2e..9299032d31 100644 --- a/packages/nodes-base/nodes/Reddit/PostDescription.ts +++ b/packages/nodes-base/nodes/Reddit/PostDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const postOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Reddit/ProfileDescription.ts b/packages/nodes-base/nodes/Reddit/ProfileDescription.ts index b1c9d1400a..8cf4165c21 100644 --- a/packages/nodes-base/nodes/Reddit/ProfileDescription.ts +++ b/packages/nodes-base/nodes/Reddit/ProfileDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const profileOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Reddit/Reddit.node.ts b/packages/nodes-base/nodes/Reddit/Reddit.node.ts index 9a57f05967..306fa9fc20 100644 --- a/packages/nodes-base/nodes/Reddit/Reddit.node.ts +++ b/packages/nodes-base/nodes/Reddit/Reddit.node.ts @@ -1,12 +1,12 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription, - NodeApiError, } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; import { handleListing, redditApiRequest } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Reddit/SubredditDescription.ts b/packages/nodes-base/nodes/Reddit/SubredditDescription.ts index 55ae6c8194..a33febefe7 100644 --- a/packages/nodes-base/nodes/Reddit/SubredditDescription.ts +++ b/packages/nodes-base/nodes/Reddit/SubredditDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const subredditOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Reddit/UserDescription.ts b/packages/nodes-base/nodes/Reddit/UserDescription.ts index c608347e0a..bf9a4f4970 100644 --- a/packages/nodes-base/nodes/Reddit/UserDescription.ts +++ b/packages/nodes-base/nodes/Reddit/UserDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const userOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Redis/Redis.node.ts b/packages/nodes-base/nodes/Redis/Redis.node.ts index 51efea49b4..d98a24616c 100644 --- a/packages/nodes-base/nodes/Redis/Redis.node.ts +++ b/packages/nodes-base/nodes/Redis/Redis.node.ts @@ -1,5 +1,5 @@ -import { IExecuteFunctions } from 'n8n-core'; -import { +import type { IExecuteFunctions } from 'n8n-core'; +import type { GenericValue, ICredentialDataDecryptedObject, ICredentialsDecrypted, @@ -9,8 +9,8 @@ import { INodeExecutionData, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { set } from 'lodash'; import redis from 'redis'; diff --git a/packages/nodes-base/nodes/Redis/RedisTrigger.node.ts b/packages/nodes-base/nodes/Redis/RedisTrigger.node.ts index 12b3e9e014..478e39c843 100644 --- a/packages/nodes-base/nodes/Redis/RedisTrigger.node.ts +++ b/packages/nodes-base/nodes/Redis/RedisTrigger.node.ts @@ -1,12 +1,7 @@ -import { ITriggerFunctions } from 'n8n-core'; +import type { ITriggerFunctions } from 'n8n-core'; -import { - IDataObject, - INodeType, - INodeTypeDescription, - ITriggerResponse, - NodeOperationError, -} from 'n8n-workflow'; +import type { 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 ce227578fa..8ebb028682 100644 --- a/packages/nodes-base/nodes/RenameKeys/RenameKeys.node.ts +++ b/packages/nodes-base/nodes/RenameKeys/RenameKeys.node.ts @@ -1,11 +1,11 @@ -import { IExecuteFunctions } from 'n8n-core'; -import { - deepCopy, +import type { IExecuteFunctions } from 'n8n-core'; +import type { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription, } from 'n8n-workflow'; +import { deepCopy } from 'n8n-workflow'; import { get, set, unset } from 'lodash'; diff --git a/packages/nodes-base/nodes/RespondToWebhook/RespondToWebhook.node.ts b/packages/nodes-base/nodes/RespondToWebhook/RespondToWebhook.node.ts index bc69230f3a..c85f3dad5f 100644 --- a/packages/nodes-base/nodes/RespondToWebhook/RespondToWebhook.node.ts +++ b/packages/nodes-base/nodes/RespondToWebhook/RespondToWebhook.node.ts @@ -1,15 +1,14 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, IN8nHttpFullResponse, IN8nHttpResponse, INodeExecutionData, INodeType, INodeTypeDescription, - jsonParse, - NodeOperationError, } from 'n8n-workflow'; +import { jsonParse, NodeOperationError } from 'n8n-workflow'; export class RespondToWebhook implements INodeType { description: INodeTypeDescription = { diff --git a/packages/nodes-base/nodes/Rocketchat/GenericFunctions.ts b/packages/nodes-base/nodes/Rocketchat/GenericFunctions.ts index 28d324fe9d..079b911b42 100644 --- a/packages/nodes-base/nodes/Rocketchat/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Rocketchat/GenericFunctions.ts @@ -1,6 +1,6 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; 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 0f37d105d2..18f41491ee 100644 --- a/packages/nodes-base/nodes/Rocketchat/Rocketchat.node.ts +++ b/packages/nodes-base/nodes/Rocketchat/Rocketchat.node.ts @@ -1,6 +1,11 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { + IDataObject, + INodeExecutionData, + INodeType, + INodeTypeDescription, +} from 'n8n-workflow'; import { rocketchatApiRequest, validateJSON } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/RssFeedRead/RssFeedRead.node.ts b/packages/nodes-base/nodes/RssFeedRead/RssFeedRead.node.ts index 8b0b50d738..a400369be9 100644 --- a/packages/nodes-base/nodes/RssFeedRead/RssFeedRead.node.ts +++ b/packages/nodes-base/nodes/RssFeedRead/RssFeedRead.node.ts @@ -1,11 +1,11 @@ -import { IExecuteFunctions } from 'n8n-core'; -import { +import type { IExecuteFunctions } from 'n8n-core'; +import type { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import Parser from 'rss-parser'; import { URL } from 'url'; diff --git a/packages/nodes-base/nodes/Rundeck/Rundeck.node.ts b/packages/nodes-base/nodes/Rundeck/Rundeck.node.ts index fc3ab4e7fb..52c801f4e7 100644 --- a/packages/nodes-base/nodes/Rundeck/Rundeck.node.ts +++ b/packages/nodes-base/nodes/Rundeck/Rundeck.node.ts @@ -1,11 +1,11 @@ -import { IExecuteFunctions } from 'n8n-core'; -import { +import type { IExecuteFunctions } from 'n8n-core'; +import type { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { RundeckApi } from './RundeckApi'; export class Rundeck implements INodeType { diff --git a/packages/nodes-base/nodes/Rundeck/RundeckApi.ts b/packages/nodes-base/nodes/Rundeck/RundeckApi.ts index d008240d78..670e2d1131 100644 --- a/packages/nodes-base/nodes/Rundeck/RundeckApi.ts +++ b/packages/nodes-base/nodes/Rundeck/RundeckApi.ts @@ -1,6 +1,7 @@ -import { OptionsWithUri } from 'request'; -import { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, NodeApiError, NodeOperationError } from 'n8n-workflow'; +import type { OptionsWithUri } from 'request'; +import type { IExecuteFunctions } from 'n8n-core'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError, NodeOperationError } from 'n8n-workflow'; export interface RundeckCredentials { url: string; diff --git a/packages/nodes-base/nodes/S3/GenericFunctions.ts b/packages/nodes-base/nodes/S3/GenericFunctions.ts index 554a9c2ae9..275e7ec8cc 100644 --- a/packages/nodes-base/nodes/S3/GenericFunctions.ts +++ b/packages/nodes-base/nodes/S3/GenericFunctions.ts @@ -1,19 +1,21 @@ -import { Request, sign } from 'aws4'; +import type { Request } from 'aws4'; +import { sign } from 'aws4'; import { get } from 'lodash'; -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; import { parseString } from 'xml2js'; -import { +import type { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions, IWebhookFunctions, } from 'n8n-core'; -import { IDataObject, NodeApiError, NodeOperationError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError, NodeOperationError } from 'n8n-workflow'; import { URL } from 'url'; diff --git a/packages/nodes-base/nodes/S3/S3.node.ts b/packages/nodes-base/nodes/S3/S3.node.ts index fcf333ab36..2314e239c1 100644 --- a/packages/nodes-base/nodes/S3/S3.node.ts +++ b/packages/nodes-base/nodes/S3/S3.node.ts @@ -4,17 +4,16 @@ import { createHash } from 'crypto'; import { Builder } from 'xml2js'; -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IBinaryKeyData, IDataObject, INodeExecutionData, INodeType, INodeTypeDescription, - NodeApiError, - NodeOperationError, } from 'n8n-workflow'; +import { NodeApiError, NodeOperationError } from 'n8n-workflow'; import { bucketFields, bucketOperations } from '../Aws/S3/BucketDescription'; diff --git a/packages/nodes-base/nodes/Salesforce/AccountDescription.ts b/packages/nodes-base/nodes/Salesforce/AccountDescription.ts index 6a795358e7..7f8a9ac88a 100644 --- a/packages/nodes-base/nodes/Salesforce/AccountDescription.ts +++ b/packages/nodes-base/nodes/Salesforce/AccountDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const accountOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Salesforce/AttachmentDescription.ts b/packages/nodes-base/nodes/Salesforce/AttachmentDescription.ts index 8fb219496c..d26a97d68b 100644 --- a/packages/nodes-base/nodes/Salesforce/AttachmentDescription.ts +++ b/packages/nodes-base/nodes/Salesforce/AttachmentDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const attachmentOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Salesforce/CaseDescription.ts b/packages/nodes-base/nodes/Salesforce/CaseDescription.ts index 076f3afddb..b81ddefe35 100644 --- a/packages/nodes-base/nodes/Salesforce/CaseDescription.ts +++ b/packages/nodes-base/nodes/Salesforce/CaseDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const caseOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Salesforce/ContactDescription.ts b/packages/nodes-base/nodes/Salesforce/ContactDescription.ts index 99e3cdbdc3..0a38facab3 100644 --- a/packages/nodes-base/nodes/Salesforce/ContactDescription.ts +++ b/packages/nodes-base/nodes/Salesforce/ContactDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const contactOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Salesforce/CustomObjectDescription.ts b/packages/nodes-base/nodes/Salesforce/CustomObjectDescription.ts index 1573ed9753..b1cd0f8c15 100644 --- a/packages/nodes-base/nodes/Salesforce/CustomObjectDescription.ts +++ b/packages/nodes-base/nodes/Salesforce/CustomObjectDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const customObjectOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Salesforce/DocumentDescription.ts b/packages/nodes-base/nodes/Salesforce/DocumentDescription.ts index 7f24fd824d..b2232fc3bd 100644 --- a/packages/nodes-base/nodes/Salesforce/DocumentDescription.ts +++ b/packages/nodes-base/nodes/Salesforce/DocumentDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const documentOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Salesforce/FlowDescription.ts b/packages/nodes-base/nodes/Salesforce/FlowDescription.ts index a97a9ac7e6..44e64d423c 100644 --- a/packages/nodes-base/nodes/Salesforce/FlowDescription.ts +++ b/packages/nodes-base/nodes/Salesforce/FlowDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const flowOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Salesforce/GenericFunctions.ts b/packages/nodes-base/nodes/Salesforce/GenericFunctions.ts index 839e805841..aed08d1922 100644 --- a/packages/nodes-base/nodes/Salesforce/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Salesforce/GenericFunctions.ts @@ -1,13 +1,9 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { - IDataObject, - INodePropertyOptions, - LoggerProxy as Logger, - NodeApiError, -} from 'n8n-workflow'; +import type { IDataObject, INodePropertyOptions } from 'n8n-workflow'; +import { LoggerProxy as Logger, NodeApiError } from 'n8n-workflow'; import moment from 'moment-timezone'; diff --git a/packages/nodes-base/nodes/Salesforce/LeadDescription.ts b/packages/nodes-base/nodes/Salesforce/LeadDescription.ts index 9c71a2e005..14f66d8bfe 100644 --- a/packages/nodes-base/nodes/Salesforce/LeadDescription.ts +++ b/packages/nodes-base/nodes/Salesforce/LeadDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const leadOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Salesforce/OpportunityDescription.ts b/packages/nodes-base/nodes/Salesforce/OpportunityDescription.ts index 8e0925c7cd..b1572ff10f 100644 --- a/packages/nodes-base/nodes/Salesforce/OpportunityDescription.ts +++ b/packages/nodes-base/nodes/Salesforce/OpportunityDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const opportunityOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Salesforce/Salesforce.node.ts b/packages/nodes-base/nodes/Salesforce/Salesforce.node.ts index 5a12674573..993b8ec807 100644 --- a/packages/nodes-base/nodes/Salesforce/Salesforce.node.ts +++ b/packages/nodes-base/nodes/Salesforce/Salesforce.node.ts @@ -1,34 +1,32 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, INodePropertyOptions, INodeType, INodeTypeDescription, - LoggerProxy as Logger, - NodeApiError, - NodeOperationError, } from 'n8n-workflow'; +import { LoggerProxy as Logger, NodeApiError, NodeOperationError } from 'n8n-workflow'; import { accountFields, accountOperations } from './AccountDescription'; -import { IAccount } from './AccountInterface'; +import type { IAccount } from './AccountInterface'; import { attachmentFields, attachmentOperations } from './AttachmentDescription'; -import { IAttachment } from './AttachmentInterface'; +import type { IAttachment } from './AttachmentInterface'; -import { ICampaignMember } from './CampaignMemberInterface'; +import type { ICampaignMember } from './CampaignMemberInterface'; import { caseFields, caseOperations } from './CaseDescription'; -import { ICase, ICaseComment } from './CaseInterface'; +import type { ICase, ICaseComment } from './CaseInterface'; import { contactFields, contactOperations } from './ContactDescription'; -import { IContact } from './ContactInterface'; +import type { IContact } from './ContactInterface'; import { customObjectFields, customObjectOperations } from './CustomObjectDescription'; @@ -43,19 +41,19 @@ import { import { leadFields, leadOperations } from './LeadDescription'; -import { ILead } from './LeadInterface'; +import type { ILead } from './LeadInterface'; -import { INote } from './NoteInterface'; +import type { INote } from './NoteInterface'; import { opportunityFields, opportunityOperations } from './OpportunityDescription'; -import { IOpportunity } from './OpportunityInterface'; +import type { IOpportunity } from './OpportunityInterface'; import { searchFields, searchOperations } from './SearchDescription'; import { taskFields, taskOperations } from './TaskDescription'; -import { ITask } from './TaskInterface'; +import type { ITask } from './TaskInterface'; import { userFields, userOperations } from './UserDescription'; diff --git a/packages/nodes-base/nodes/Salesforce/SearchDescription.ts b/packages/nodes-base/nodes/Salesforce/SearchDescription.ts index c83ac6d520..4c06051266 100644 --- a/packages/nodes-base/nodes/Salesforce/SearchDescription.ts +++ b/packages/nodes-base/nodes/Salesforce/SearchDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const searchOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Salesforce/TaskDescription.ts b/packages/nodes-base/nodes/Salesforce/TaskDescription.ts index 37f7ddf2fc..5b2fb6ebbf 100644 --- a/packages/nodes-base/nodes/Salesforce/TaskDescription.ts +++ b/packages/nodes-base/nodes/Salesforce/TaskDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const taskOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Salesforce/UserDescription.ts b/packages/nodes-base/nodes/Salesforce/UserDescription.ts index 20ba58110d..90714da597 100644 --- a/packages/nodes-base/nodes/Salesforce/UserDescription.ts +++ b/packages/nodes-base/nodes/Salesforce/UserDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const userOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Salesmate/ActivityDescription.ts b/packages/nodes-base/nodes/Salesmate/ActivityDescription.ts index 8f06510dfa..8ae1e0fdac 100644 --- a/packages/nodes-base/nodes/Salesmate/ActivityDescription.ts +++ b/packages/nodes-base/nodes/Salesmate/ActivityDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const activityOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Salesmate/CompanyDescription.ts b/packages/nodes-base/nodes/Salesmate/CompanyDescription.ts index 39abf8e961..6dc4d77fd2 100644 --- a/packages/nodes-base/nodes/Salesmate/CompanyDescription.ts +++ b/packages/nodes-base/nodes/Salesmate/CompanyDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const companyOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Salesmate/DealDescription.ts b/packages/nodes-base/nodes/Salesmate/DealDescription.ts index 62ee8164fb..d855b3c8a9 100644 --- a/packages/nodes-base/nodes/Salesmate/DealDescription.ts +++ b/packages/nodes-base/nodes/Salesmate/DealDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const dealOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Salesmate/GenericFunctions.ts b/packages/nodes-base/nodes/Salesmate/GenericFunctions.ts index fcfad002d9..c650b40ac3 100644 --- a/packages/nodes-base/nodes/Salesmate/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Salesmate/GenericFunctions.ts @@ -1,12 +1,13 @@ -import { OptionsWithUri } from 'request'; -import { +import type { OptionsWithUri } from 'request'; +import type { IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, IWebhookFunctions, } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function salesmateApiRequest( this: diff --git a/packages/nodes-base/nodes/Salesmate/Salesmate.node.ts b/packages/nodes-base/nodes/Salesmate/Salesmate.node.ts index 3378bf8057..e7898cd576 100644 --- a/packages/nodes-base/nodes/Salesmate/Salesmate.node.ts +++ b/packages/nodes-base/nodes/Salesmate/Salesmate.node.ts @@ -1,13 +1,13 @@ -import { IExecuteFunctions } from 'n8n-core'; -import { +import type { IExecuteFunctions } from 'n8n-core'; +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, INodePropertyOptions, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { salesmateApiRequest, salesmateApiRequestAllItems, @@ -16,9 +16,9 @@ import { } from './GenericFunctions'; import { companyFields, companyOperations } from './CompanyDescription'; import { activityFields, activityOperations } from './ActivityDescription'; -import { ICompany } from './CompanyInterface'; -import { IActivity } from './ActivityInterface'; -import { IDeal } from './DealInterface'; +import type { ICompany } from './CompanyInterface'; +import type { IActivity } from './ActivityInterface'; +import type { IDeal } from './DealInterface'; import { dealFields, dealOperations } from './DealDescription'; export class Salesmate implements INodeType { diff --git a/packages/nodes-base/nodes/Schedule/ScheduleTrigger.node.ts b/packages/nodes-base/nodes/Schedule/ScheduleTrigger.node.ts index a65ce0c817..a5e3be9ba7 100644 --- a/packages/nodes-base/nodes/Schedule/ScheduleTrigger.node.ts +++ b/packages/nodes-base/nodes/Schedule/ScheduleTrigger.node.ts @@ -1,11 +1,6 @@ -import { ITriggerFunctions } from 'n8n-core'; -import { - IDataObject, - INodeType, - INodeTypeDescription, - ITriggerResponse, - NodeOperationError, -} from 'n8n-workflow'; +import type { ITriggerFunctions } from 'n8n-core'; +import type { IDataObject, INodeType, INodeTypeDescription, ITriggerResponse } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { CronJob } from 'cron'; import moment from 'moment'; diff --git a/packages/nodes-base/nodes/SeaTable/GenericFunctions.ts b/packages/nodes-base/nodes/SeaTable/GenericFunctions.ts index 9c5c0a8639..7d8f455a08 100644 --- a/packages/nodes-base/nodes/SeaTable/GenericFunctions.ts +++ b/packages/nodes-base/nodes/SeaTable/GenericFunctions.ts @@ -1,14 +1,15 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IDataObject, ILoadOptionsFunctions, IPollFunctions, NodeApiError } from 'n8n-workflow'; +import type { IDataObject, ILoadOptionsFunctions, IPollFunctions } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; -import { TDtableMetadataColumns, TDtableViewColumns, TEndpointVariableName } from './types'; +import type { TDtableMetadataColumns, TDtableViewColumns, TEndpointVariableName } from './types'; import { schema } from './Schema'; -import { +import type { ICredential, ICtx, IDtableMetadataColumn, diff --git a/packages/nodes-base/nodes/SeaTable/RowDescription.ts b/packages/nodes-base/nodes/SeaTable/RowDescription.ts index 591a26f0ac..2d6e42a079 100644 --- a/packages/nodes-base/nodes/SeaTable/RowDescription.ts +++ b/packages/nodes-base/nodes/SeaTable/RowDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const rowOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/SeaTable/Schema.ts b/packages/nodes-base/nodes/SeaTable/Schema.ts index b8d4518b24..f009e12883 100644 --- a/packages/nodes-base/nodes/SeaTable/Schema.ts +++ b/packages/nodes-base/nodes/SeaTable/Schema.ts @@ -1,4 +1,4 @@ -import { TColumnType, TDateTimeFormat, TInheritColumnKey } from './types'; +import type { TColumnType, TDateTimeFormat, TInheritColumnKey } from './types'; export type ColumnType = keyof typeof schema.columnTypes; diff --git a/packages/nodes-base/nodes/SeaTable/SeaTable.node.ts b/packages/nodes-base/nodes/SeaTable/SeaTable.node.ts index c002841316..8bcc91875e 100644 --- a/packages/nodes-base/nodes/SeaTable/SeaTable.node.ts +++ b/packages/nodes-base/nodes/SeaTable/SeaTable.node.ts @@ -1,14 +1,14 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, INodePropertyOptions, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { getTableColumns, @@ -24,9 +24,9 @@ import { import { rowFields, rowOperations } from './RowDescription'; -import { TColumnsUiValues, TColumnValue } from './types'; +import type { TColumnsUiValues, TColumnValue } from './types'; -import { ICtx, IRow, IRowObject } from './Interfaces'; +import type { ICtx, IRow, IRowObject } from './Interfaces'; export class SeaTable implements INodeType { description: INodeTypeDescription = { diff --git a/packages/nodes-base/nodes/SeaTable/SeaTableTrigger.node.ts b/packages/nodes-base/nodes/SeaTable/SeaTableTrigger.node.ts index 03d45d5c77..fd3745c507 100644 --- a/packages/nodes-base/nodes/SeaTable/SeaTableTrigger.node.ts +++ b/packages/nodes-base/nodes/SeaTable/SeaTableTrigger.node.ts @@ -1,6 +1,6 @@ -import { IPollFunctions } from 'n8n-core'; +import type { IPollFunctions } from 'n8n-core'; -import { +import type { ILoadOptionsFunctions, INodeExecutionData, INodePropertyOptions, @@ -10,7 +10,7 @@ import { import { getColumns, rowFormatColumns, seaTableApiRequest, simplify } from './GenericFunctions'; -import { ICtx, IRow, IRowResponse } from './Interfaces'; +import type { ICtx, IRow, IRowResponse } from './Interfaces'; import moment from 'moment'; diff --git a/packages/nodes-base/nodes/SeaTable/types.d.ts b/packages/nodes-base/nodes/SeaTable/types.d.ts index 105123b4e0..440c16db7e 100644 --- a/packages/nodes-base/nodes/SeaTable/types.d.ts +++ b/packages/nodes-base/nodes/SeaTable/types.d.ts @@ -9,8 +9,8 @@ type TSeaTableServerEdition = 'enterprise edition'; // dtable // ---------------------------------- -import { IDtableMetadataColumn, IDtableMetadataTable, TDtableViewColumn } from './Interfaces'; -import { ICredentialDataDecryptedObject } from 'n8n-workflow'; +import type { IDtableMetadataColumn, IDtableMetadataTable, TDtableViewColumn } from './Interfaces'; +import type { ICredentialDataDecryptedObject } from 'n8n-workflow'; type TInheritColumnTypeTime = 'ctime' | 'mtime'; type TInheritColumnTypeUser = 'creator' | 'last-modifier'; diff --git a/packages/nodes-base/nodes/SecurityScorecard/GenericFunctions.ts b/packages/nodes-base/nodes/SecurityScorecard/GenericFunctions.ts index 20d5909f59..3c5750f995 100644 --- a/packages/nodes-base/nodes/SecurityScorecard/GenericFunctions.ts +++ b/packages/nodes-base/nodes/SecurityScorecard/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function scorecardApiRequest( this: IHookFunctions | IExecuteFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/SecurityScorecard/SecurityScorecard.node.ts b/packages/nodes-base/nodes/SecurityScorecard/SecurityScorecard.node.ts index ab2a5c8fa3..7c17845fd6 100644 --- a/packages/nodes-base/nodes/SecurityScorecard/SecurityScorecard.node.ts +++ b/packages/nodes-base/nodes/SecurityScorecard/SecurityScorecard.node.ts @@ -1,6 +1,11 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { + IDataObject, + INodeExecutionData, + INodeType, + INodeTypeDescription, +} from 'n8n-workflow'; import { companyFields, companyOperations } from './descriptions/CompanyDescription'; diff --git a/packages/nodes-base/nodes/SecurityScorecard/descriptions/CompanyDescription.ts b/packages/nodes-base/nodes/SecurityScorecard/descriptions/CompanyDescription.ts index bb809f72b6..da50c84132 100644 --- a/packages/nodes-base/nodes/SecurityScorecard/descriptions/CompanyDescription.ts +++ b/packages/nodes-base/nodes/SecurityScorecard/descriptions/CompanyDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const companyOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/SecurityScorecard/descriptions/IndustryDescription.ts b/packages/nodes-base/nodes/SecurityScorecard/descriptions/IndustryDescription.ts index 47d1209392..06345a46c4 100644 --- a/packages/nodes-base/nodes/SecurityScorecard/descriptions/IndustryDescription.ts +++ b/packages/nodes-base/nodes/SecurityScorecard/descriptions/IndustryDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const industryOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/SecurityScorecard/descriptions/InviteDescription.ts b/packages/nodes-base/nodes/SecurityScorecard/descriptions/InviteDescription.ts index 4754f94614..df1952941a 100644 --- a/packages/nodes-base/nodes/SecurityScorecard/descriptions/InviteDescription.ts +++ b/packages/nodes-base/nodes/SecurityScorecard/descriptions/InviteDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const inviteOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/SecurityScorecard/descriptions/PortfolioCompanyDescription.ts b/packages/nodes-base/nodes/SecurityScorecard/descriptions/PortfolioCompanyDescription.ts index 846df426dc..46f5739454 100644 --- a/packages/nodes-base/nodes/SecurityScorecard/descriptions/PortfolioCompanyDescription.ts +++ b/packages/nodes-base/nodes/SecurityScorecard/descriptions/PortfolioCompanyDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const portfolioCompanyOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/SecurityScorecard/descriptions/PortfolioDescription.ts b/packages/nodes-base/nodes/SecurityScorecard/descriptions/PortfolioDescription.ts index bc05d62cf1..0f87ff661c 100644 --- a/packages/nodes-base/nodes/SecurityScorecard/descriptions/PortfolioDescription.ts +++ b/packages/nodes-base/nodes/SecurityScorecard/descriptions/PortfolioDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const portfolioOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/SecurityScorecard/descriptions/ReportDescription.ts b/packages/nodes-base/nodes/SecurityScorecard/descriptions/ReportDescription.ts index 403b2093d6..805e6a7d7c 100644 --- a/packages/nodes-base/nodes/SecurityScorecard/descriptions/ReportDescription.ts +++ b/packages/nodes-base/nodes/SecurityScorecard/descriptions/ReportDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const reportOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Segment/GenericFunctions.ts b/packages/nodes-base/nodes/Segment/GenericFunctions.ts index 1ef2b7600c..c5b32555d5 100644 --- a/packages/nodes-base/nodes/Segment/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Segment/GenericFunctions.ts @@ -1,12 +1,12 @@ -import { OptionsWithUri } from 'request'; -import { +import type { OptionsWithUri } from 'request'; +import type { IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, IWebhookFunctions, } from 'n8n-core'; -import { IDataObject } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; export async function segmentApiRequest( this: diff --git a/packages/nodes-base/nodes/Segment/GroupDescription.ts b/packages/nodes-base/nodes/Segment/GroupDescription.ts index 22cc2b3aa1..2d0a544615 100644 --- a/packages/nodes-base/nodes/Segment/GroupDescription.ts +++ b/packages/nodes-base/nodes/Segment/GroupDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const groupOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Segment/IdentifyDescription.ts b/packages/nodes-base/nodes/Segment/IdentifyDescription.ts index 47397ba874..6eadb0375d 100644 --- a/packages/nodes-base/nodes/Segment/IdentifyDescription.ts +++ b/packages/nodes-base/nodes/Segment/IdentifyDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const identifyOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Segment/IdentifyInterface.ts b/packages/nodes-base/nodes/Segment/IdentifyInterface.ts index 20ac106d82..42f7734f69 100644 --- a/packages/nodes-base/nodes/Segment/IdentifyInterface.ts +++ b/packages/nodes-base/nodes/Segment/IdentifyInterface.ts @@ -1,4 +1,4 @@ -import { IDataObject } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; export interface IIdentify { userId?: string; diff --git a/packages/nodes-base/nodes/Segment/Segment.node.ts b/packages/nodes-base/nodes/Segment/Segment.node.ts index a98d599d66..c9fce4fe36 100644 --- a/packages/nodes-base/nodes/Segment/Segment.node.ts +++ b/packages/nodes-base/nodes/Segment/Segment.node.ts @@ -1,6 +1,11 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { + IDataObject, + INodeExecutionData, + INodeType, + INodeTypeDescription, +} from 'n8n-workflow'; import { segmentApiRequest } from './GenericFunctions'; @@ -8,11 +13,11 @@ import { groupFields, groupOperations } from './GroupDescription'; import { identifyFields, identifyOperations } from './IdentifyDescription'; -import { IIdentify } from './IdentifyInterface'; +import type { IIdentify } from './IdentifyInterface'; import { trackFields, trackOperations } from './TrackDescription'; -import { IGroup, ITrack } from './TrackInterface'; +import type { IGroup, ITrack } from './TrackInterface'; import { v4 as uuid } from 'uuid'; diff --git a/packages/nodes-base/nodes/Segment/TrackDescription.ts b/packages/nodes-base/nodes/Segment/TrackDescription.ts index 058457f1e7..de7f7a339d 100644 --- a/packages/nodes-base/nodes/Segment/TrackDescription.ts +++ b/packages/nodes-base/nodes/Segment/TrackDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const trackOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Segment/TrackInterface.ts b/packages/nodes-base/nodes/Segment/TrackInterface.ts index a15b8eed2b..9c20d8f486 100644 --- a/packages/nodes-base/nodes/Segment/TrackInterface.ts +++ b/packages/nodes-base/nodes/Segment/TrackInterface.ts @@ -1,4 +1,4 @@ -import { IDataObject } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; export interface ITrack { event?: string; diff --git a/packages/nodes-base/nodes/SendGrid/ContactDescription.ts b/packages/nodes-base/nodes/SendGrid/ContactDescription.ts index d45d98cfe6..6c16c1f78e 100644 --- a/packages/nodes-base/nodes/SendGrid/ContactDescription.ts +++ b/packages/nodes-base/nodes/SendGrid/ContactDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const contactOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/SendGrid/GenericFunctions.ts b/packages/nodes-base/nodes/SendGrid/GenericFunctions.ts index 48979802c3..c91f5e17f1 100644 --- a/packages/nodes-base/nodes/SendGrid/GenericFunctions.ts +++ b/packages/nodes-base/nodes/SendGrid/GenericFunctions.ts @@ -1,13 +1,13 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { +import type { IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, } from 'n8n-core'; -import { IDataObject } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; export async function sendGridApiRequest( this: IHookFunctions | IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/SendGrid/ListDescription.ts b/packages/nodes-base/nodes/SendGrid/ListDescription.ts index feb630bb13..f51a2d739c 100644 --- a/packages/nodes-base/nodes/SendGrid/ListDescription.ts +++ b/packages/nodes-base/nodes/SendGrid/ListDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const listOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/SendGrid/MailDescription.ts b/packages/nodes-base/nodes/SendGrid/MailDescription.ts index 8d27803566..9cfe572f2e 100644 --- a/packages/nodes-base/nodes/SendGrid/MailDescription.ts +++ b/packages/nodes-base/nodes/SendGrid/MailDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const mailOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/SendGrid/SendGrid.node.ts b/packages/nodes-base/nodes/SendGrid/SendGrid.node.ts index 3b15f105a2..e62454e2b9 100644 --- a/packages/nodes-base/nodes/SendGrid/SendGrid.node.ts +++ b/packages/nodes-base/nodes/SendGrid/SendGrid.node.ts @@ -1,20 +1,21 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, INodePropertyOptions, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { listFields, listOperations } from './ListDescription'; import { contactFields, contactOperations } from './ContactDescription'; -import { mailFields, mailOperations, SendMailBody } from './MailDescription'; +import type { SendMailBody } from './MailDescription'; +import { mailFields, mailOperations } from './MailDescription'; import { sendGridApiRequest, sendGridApiRequestAllItems } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/SendInBlue/AttributeDescription.ts b/packages/nodes-base/nodes/SendInBlue/AttributeDescription.ts index 5343543262..5944ba8fe2 100644 --- a/packages/nodes-base/nodes/SendInBlue/AttributeDescription.ts +++ b/packages/nodes-base/nodes/SendInBlue/AttributeDescription.ts @@ -1,4 +1,4 @@ -import { +import type { IExecuteSingleFunctions, IHttpRequestOptions, INodeProperties, diff --git a/packages/nodes-base/nodes/SendInBlue/ContactDescription.ts b/packages/nodes-base/nodes/SendInBlue/ContactDescription.ts index 5ab609f3c1..60a67c90cb 100644 --- a/packages/nodes-base/nodes/SendInBlue/ContactDescription.ts +++ b/packages/nodes-base/nodes/SendInBlue/ContactDescription.ts @@ -1,4 +1,4 @@ -import { +import type { GenericValue, IExecuteSingleFunctions, IHttpRequestOptions, diff --git a/packages/nodes-base/nodes/SendInBlue/EmailDescription.ts b/packages/nodes-base/nodes/SendInBlue/EmailDescription.ts index f161818bf1..a94c598312 100644 --- a/packages/nodes-base/nodes/SendInBlue/EmailDescription.ts +++ b/packages/nodes-base/nodes/SendInBlue/EmailDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { SendInBlueNode } from './GenericFunctions'; export const emailOperations: INodeProperties[] = [ diff --git a/packages/nodes-base/nodes/SendInBlue/GenericFunctions.ts b/packages/nodes-base/nodes/SendInBlue/GenericFunctions.ts index b3c8d67ad1..36d7fc2c3b 100644 --- a/packages/nodes-base/nodes/SendInBlue/GenericFunctions.ts +++ b/packages/nodes-base/nodes/SendInBlue/GenericFunctions.ts @@ -1,13 +1,12 @@ -import { +import type { IExecuteSingleFunctions, IHookFunctions, IHttpRequestOptions, IWebhookFunctions, JsonObject, - jsonParse, - NodeOperationError, } from 'n8n-workflow'; -import { OptionsWithUri } from 'request'; +import { jsonParse, NodeOperationError } from 'n8n-workflow'; +import type { OptionsWithUri } from 'request'; import MailComposer from 'nodemailer/lib/mail-composer'; export namespace SendInBlueNode { type ValidEmailFields = { to: string } | { sender: string } | { cc: string } | { bcc: string }; diff --git a/packages/nodes-base/nodes/SendInBlue/SendInBlue.node.ts b/packages/nodes-base/nodes/SendInBlue/SendInBlue.node.ts index b84966c411..19c9ba5a63 100644 --- a/packages/nodes-base/nodes/SendInBlue/SendInBlue.node.ts +++ b/packages/nodes-base/nodes/SendInBlue/SendInBlue.node.ts @@ -1,5 +1,5 @@ /* eslint-disable n8n-nodes-base/node-filename-against-convention */ -import { INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { INodeType, INodeTypeDescription } from 'n8n-workflow'; import { attributeFields, attributeOperations } from './AttributeDescription'; import { contactFields, contactOperations } from './ContactDescription'; import { emailFields, emailOperations } from './EmailDescription'; diff --git a/packages/nodes-base/nodes/SendInBlue/SendInBlueTrigger.node.ts b/packages/nodes-base/nodes/SendInBlue/SendInBlueTrigger.node.ts index 2194e30172..7b9836fe48 100644 --- a/packages/nodes-base/nodes/SendInBlue/SendInBlueTrigger.node.ts +++ b/packages/nodes-base/nodes/SendInBlue/SendInBlueTrigger.node.ts @@ -1,5 +1,5 @@ /* eslint-disable n8n-nodes-base/node-filename-against-convention */ -import { +import type { IHookFunctions, INodeType, INodeTypeDescription, diff --git a/packages/nodes-base/nodes/SendInBlue/SenderDescrition.ts b/packages/nodes-base/nodes/SendInBlue/SenderDescrition.ts index c14cbf10b2..768b42293a 100644 --- a/packages/nodes-base/nodes/SendInBlue/SenderDescrition.ts +++ b/packages/nodes-base/nodes/SendInBlue/SenderDescrition.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const senderOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Sendy/CampaignDescription.ts b/packages/nodes-base/nodes/Sendy/CampaignDescription.ts index 84c86fc091..1344e1d716 100644 --- a/packages/nodes-base/nodes/Sendy/CampaignDescription.ts +++ b/packages/nodes-base/nodes/Sendy/CampaignDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const campaignOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Sendy/GenericFunctions.ts b/packages/nodes-base/nodes/Sendy/GenericFunctions.ts index e3a2b0f99c..8a574ddcd0 100644 --- a/packages/nodes-base/nodes/Sendy/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Sendy/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function sendyApiRequest( this: IExecuteFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Sendy/Sendy.node.ts b/packages/nodes-base/nodes/Sendy/Sendy.node.ts index 90f75a6115..be45e56e3c 100644 --- a/packages/nodes-base/nodes/Sendy/Sendy.node.ts +++ b/packages/nodes-base/nodes/Sendy/Sendy.node.ts @@ -1,13 +1,12 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription, - NodeApiError, - NodeOperationError, } from 'n8n-workflow'; +import { NodeApiError, NodeOperationError } from 'n8n-workflow'; import { sendyApiRequest } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Sendy/SubscriberDescription.ts b/packages/nodes-base/nodes/Sendy/SubscriberDescription.ts index 0c4715e37a..ef7c14c61f 100644 --- a/packages/nodes-base/nodes/Sendy/SubscriberDescription.ts +++ b/packages/nodes-base/nodes/Sendy/SubscriberDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const subscriberOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/SentryIo/EventDescription.ts b/packages/nodes-base/nodes/SentryIo/EventDescription.ts index 2ba8b4bfbb..a5025aaabc 100644 --- a/packages/nodes-base/nodes/SentryIo/EventDescription.ts +++ b/packages/nodes-base/nodes/SentryIo/EventDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const eventOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/SentryIo/GenericFunctions.ts b/packages/nodes-base/nodes/SentryIo/GenericFunctions.ts index e900a2ce1d..f09bf720ea 100644 --- a/packages/nodes-base/nodes/SentryIo/GenericFunctions.ts +++ b/packages/nodes-base/nodes/SentryIo/GenericFunctions.ts @@ -1,6 +1,6 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { +import type { IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, @@ -8,7 +8,8 @@ import { IWebhookFunctions, } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function sentryIoApiRequest( this: diff --git a/packages/nodes-base/nodes/SentryIo/IssueDescription.ts b/packages/nodes-base/nodes/SentryIo/IssueDescription.ts index 82e24ef3af..d23bef6c63 100644 --- a/packages/nodes-base/nodes/SentryIo/IssueDescription.ts +++ b/packages/nodes-base/nodes/SentryIo/IssueDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const issueOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/SentryIo/OrganizationDescription.ts b/packages/nodes-base/nodes/SentryIo/OrganizationDescription.ts index 665c7d1450..fc5f6aa982 100644 --- a/packages/nodes-base/nodes/SentryIo/OrganizationDescription.ts +++ b/packages/nodes-base/nodes/SentryIo/OrganizationDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const organizationOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/SentryIo/ProjectDescription.ts b/packages/nodes-base/nodes/SentryIo/ProjectDescription.ts index 6caa523281..de1366b31d 100644 --- a/packages/nodes-base/nodes/SentryIo/ProjectDescription.ts +++ b/packages/nodes-base/nodes/SentryIo/ProjectDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const projectOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/SentryIo/ReleaseDescription.ts b/packages/nodes-base/nodes/SentryIo/ReleaseDescription.ts index d8c45c885c..773d14ac4b 100644 --- a/packages/nodes-base/nodes/SentryIo/ReleaseDescription.ts +++ b/packages/nodes-base/nodes/SentryIo/ReleaseDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const releaseOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/SentryIo/SentryIo.node.ts b/packages/nodes-base/nodes/SentryIo/SentryIo.node.ts index 77fe0b872e..14e724ee2d 100644 --- a/packages/nodes-base/nodes/SentryIo/SentryIo.node.ts +++ b/packages/nodes-base/nodes/SentryIo/SentryIo.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, @@ -23,7 +23,7 @@ import { teamFields, teamOperations } from './TeamDescription'; import { sentryApiRequestAllItems, sentryIoApiRequest } from './GenericFunctions'; -import { ICommit, IPatchSet, IRef } from './Interface'; +import type { ICommit, IPatchSet, IRef } from './Interface'; export class SentryIo implements INodeType { description: INodeTypeDescription = { diff --git a/packages/nodes-base/nodes/SentryIo/TeamDescription.ts b/packages/nodes-base/nodes/SentryIo/TeamDescription.ts index b4317c9c8b..2db78ff5ba 100644 --- a/packages/nodes-base/nodes/SentryIo/TeamDescription.ts +++ b/packages/nodes-base/nodes/SentryIo/TeamDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const teamOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/ServiceNow/AttachmentDescription.ts b/packages/nodes-base/nodes/ServiceNow/AttachmentDescription.ts index d2204bdcf4..c713ca4a70 100644 --- a/packages/nodes-base/nodes/ServiceNow/AttachmentDescription.ts +++ b/packages/nodes-base/nodes/ServiceNow/AttachmentDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const attachmentOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/ServiceNow/BusinessServiceDescription.ts b/packages/nodes-base/nodes/ServiceNow/BusinessServiceDescription.ts index 987d2ef5ee..998399967d 100644 --- a/packages/nodes-base/nodes/ServiceNow/BusinessServiceDescription.ts +++ b/packages/nodes-base/nodes/ServiceNow/BusinessServiceDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const businessServiceOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/ServiceNow/ConfigurationItemsDescription.ts b/packages/nodes-base/nodes/ServiceNow/ConfigurationItemsDescription.ts index 4cf8ad3991..70b070db05 100644 --- a/packages/nodes-base/nodes/ServiceNow/ConfigurationItemsDescription.ts +++ b/packages/nodes-base/nodes/ServiceNow/ConfigurationItemsDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const configurationItemsOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/ServiceNow/DepartmentDescription.ts b/packages/nodes-base/nodes/ServiceNow/DepartmentDescription.ts index d8413c32a8..3acc8e24ea 100644 --- a/packages/nodes-base/nodes/ServiceNow/DepartmentDescription.ts +++ b/packages/nodes-base/nodes/ServiceNow/DepartmentDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const departmentOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/ServiceNow/DictionaryDescription.ts b/packages/nodes-base/nodes/ServiceNow/DictionaryDescription.ts index 7ae527a729..8cc93ee15e 100644 --- a/packages/nodes-base/nodes/ServiceNow/DictionaryDescription.ts +++ b/packages/nodes-base/nodes/ServiceNow/DictionaryDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const dictionaryOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/ServiceNow/GenericFunctions.ts b/packages/nodes-base/nodes/ServiceNow/GenericFunctions.ts index 12329a7878..5507f919fd 100644 --- a/packages/nodes-base/nodes/ServiceNow/GenericFunctions.ts +++ b/packages/nodes-base/nodes/ServiceNow/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject, INodePropertyOptions, JsonObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject, INodePropertyOptions, JsonObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function serviceNowApiRequest( this: IExecuteFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/ServiceNow/IncidentDescription.ts b/packages/nodes-base/nodes/ServiceNow/IncidentDescription.ts index 1465577952..60f4186735 100644 --- a/packages/nodes-base/nodes/ServiceNow/IncidentDescription.ts +++ b/packages/nodes-base/nodes/ServiceNow/IncidentDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const incidentOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/ServiceNow/ServiceNow.node.ts b/packages/nodes-base/nodes/ServiceNow/ServiceNow.node.ts index 213f894fe4..1cb9592b08 100644 --- a/packages/nodes-base/nodes/ServiceNow/ServiceNow.node.ts +++ b/packages/nodes-base/nodes/ServiceNow/ServiceNow.node.ts @@ -1,14 +1,14 @@ -import { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { +import type { IBinaryData, IDataObject, INodeExecutionData, INodePropertyOptions, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { mapEndpoint, diff --git a/packages/nodes-base/nodes/ServiceNow/TableRecordDescription.ts b/packages/nodes-base/nodes/ServiceNow/TableRecordDescription.ts index b6ea3ded77..82b73e88f6 100644 --- a/packages/nodes-base/nodes/ServiceNow/TableRecordDescription.ts +++ b/packages/nodes-base/nodes/ServiceNow/TableRecordDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const tableRecordOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/ServiceNow/UserDescription.ts b/packages/nodes-base/nodes/ServiceNow/UserDescription.ts index 18f2ee7fe3..9a6749ca39 100644 --- a/packages/nodes-base/nodes/ServiceNow/UserDescription.ts +++ b/packages/nodes-base/nodes/ServiceNow/UserDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const userOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/ServiceNow/UserGroupDescription.ts b/packages/nodes-base/nodes/ServiceNow/UserGroupDescription.ts index 4abfc1775f..d708df6685 100644 --- a/packages/nodes-base/nodes/ServiceNow/UserGroupDescription.ts +++ b/packages/nodes-base/nodes/ServiceNow/UserGroupDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const userGroupOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/ServiceNow/UserRoleDescription.ts b/packages/nodes-base/nodes/ServiceNow/UserRoleDescription.ts index abb0e519bc..3d1ad9bf5f 100644 --- a/packages/nodes-base/nodes/ServiceNow/UserRoleDescription.ts +++ b/packages/nodes-base/nodes/ServiceNow/UserRoleDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const userRoleOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Set/Set.node.ts b/packages/nodes-base/nodes/Set/Set.node.ts index 7de37ec2ab..de669880c5 100644 --- a/packages/nodes-base/nodes/Set/Set.node.ts +++ b/packages/nodes-base/nodes/Set/Set.node.ts @@ -1,11 +1,11 @@ -import { IExecuteFunctions } from 'n8n-core'; -import { - deepCopy, +import type { IExecuteFunctions } from 'n8n-core'; +import type { INodeExecutionData, INodeParameters, INodeType, INodeTypeDescription, } from 'n8n-workflow'; +import { deepCopy } from 'n8n-workflow'; import { set } from 'lodash'; diff --git a/packages/nodes-base/nodes/Shopify/GenericFunctions.ts b/packages/nodes-base/nodes/Shopify/GenericFunctions.ts index 3d035fef97..9a7aac1400 100644 --- a/packages/nodes-base/nodes/Shopify/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Shopify/GenericFunctions.ts @@ -1,13 +1,13 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { +import type { IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, } from 'n8n-core'; -import { IDataObject, IOAuth2Options } from 'n8n-workflow'; +import type { IDataObject, IOAuth2Options } from 'n8n-workflow'; import { snakeCase } from 'change-case'; diff --git a/packages/nodes-base/nodes/Shopify/OrderDescription.ts b/packages/nodes-base/nodes/Shopify/OrderDescription.ts index fc3b485b9e..6ec7b4c5d8 100644 --- a/packages/nodes-base/nodes/Shopify/OrderDescription.ts +++ b/packages/nodes-base/nodes/Shopify/OrderDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const orderOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Shopify/ProductDescription.ts b/packages/nodes-base/nodes/Shopify/ProductDescription.ts index d15d609916..2c97c153e7 100644 --- a/packages/nodes-base/nodes/Shopify/ProductDescription.ts +++ b/packages/nodes-base/nodes/Shopify/ProductDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const productOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Shopify/ProductInterface.ts b/packages/nodes-base/nodes/Shopify/ProductInterface.ts index 1cd3db6b55..dcaa368c5c 100644 --- a/packages/nodes-base/nodes/Shopify/ProductInterface.ts +++ b/packages/nodes-base/nodes/Shopify/ProductInterface.ts @@ -1,4 +1,4 @@ -import { IDataObject } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; export interface IImage { id?: string; diff --git a/packages/nodes-base/nodes/Shopify/Shopify.node.ts b/packages/nodes-base/nodes/Shopify/Shopify.node.ts index 17d6d189fb..13c1586561 100644 --- a/packages/nodes-base/nodes/Shopify/Shopify.node.ts +++ b/packages/nodes-base/nodes/Shopify/Shopify.node.ts @@ -1,14 +1,14 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, INodePropertyOptions, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { keysToSnakeCase, shopifyApiRequest, shopifyApiRequestAllItems } from './GenericFunctions'; @@ -16,9 +16,9 @@ import { orderFields, orderOperations } from './OrderDescription'; import { productFields, productOperations } from './ProductDescription'; -import { IAddress, IDiscountCode, ILineItem, IOrder } from './OrderInterface'; +import type { IAddress, IDiscountCode, ILineItem, IOrder } from './OrderInterface'; -import { IProduct } from './ProductInterface'; +import type { IProduct } from './ProductInterface'; export class Shopify implements INodeType { description: INodeTypeDescription = { diff --git a/packages/nodes-base/nodes/Shopify/ShopifyTrigger.node.ts b/packages/nodes-base/nodes/Shopify/ShopifyTrigger.node.ts index 95f487d535..a99f2a796e 100644 --- a/packages/nodes-base/nodes/Shopify/ShopifyTrigger.node.ts +++ b/packages/nodes-base/nodes/Shopify/ShopifyTrigger.node.ts @@ -1,6 +1,11 @@ -import { IHookFunctions, IWebhookFunctions } from 'n8n-core'; +import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; -import { IDataObject, INodeType, INodeTypeDescription, IWebhookResponseData } from 'n8n-workflow'; +import type { + IDataObject, + INodeType, + INodeTypeDescription, + IWebhookResponseData, +} from 'n8n-workflow'; import { shopifyApiRequest } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Signl4/GenericFunctions.ts b/packages/nodes-base/nodes/Signl4/GenericFunctions.ts index 76da4127c7..c74b787169 100644 --- a/packages/nodes-base/nodes/Signl4/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Signl4/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; /** * Make an API request to SIGNL4 diff --git a/packages/nodes-base/nodes/Signl4/Signl4.node.ts b/packages/nodes-base/nodes/Signl4/Signl4.node.ts index e2f04aa890..ad40f54310 100644 --- a/packages/nodes-base/nodes/Signl4/Signl4.node.ts +++ b/packages/nodes-base/nodes/Signl4/Signl4.node.ts @@ -1,13 +1,13 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IBinaryKeyData, IDataObject, INodeExecutionData, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { SIGNL4ApiRequest } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Slack/ChannelDescription.ts b/packages/nodes-base/nodes/Slack/ChannelDescription.ts index a4088d82b1..e232194fe3 100644 --- a/packages/nodes-base/nodes/Slack/ChannelDescription.ts +++ b/packages/nodes-base/nodes/Slack/ChannelDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const channelOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Slack/FileDescription.ts b/packages/nodes-base/nodes/Slack/FileDescription.ts index 42a1e874cc..e22ad88882 100644 --- a/packages/nodes-base/nodes/Slack/FileDescription.ts +++ b/packages/nodes-base/nodes/Slack/FileDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const fileOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Slack/GenericFunctions.ts b/packages/nodes-base/nodes/Slack/GenericFunctions.ts index b6d4a136c1..3c984fb120 100644 --- a/packages/nodes-base/nodes/Slack/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Slack/GenericFunctions.ts @@ -1,14 +1,9 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { - IDataObject, - IOAuth2Options, - JsonObject, - NodeApiError, - NodeOperationError, -} from 'n8n-workflow'; +import type { IDataObject, IOAuth2Options, JsonObject } from 'n8n-workflow'; +import { NodeApiError, NodeOperationError } from 'n8n-workflow'; import _ from 'lodash'; diff --git a/packages/nodes-base/nodes/Slack/MessageDescription.ts b/packages/nodes-base/nodes/Slack/MessageDescription.ts index 3a56762305..039d783aaa 100644 --- a/packages/nodes-base/nodes/Slack/MessageDescription.ts +++ b/packages/nodes-base/nodes/Slack/MessageDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const messageOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Slack/ReactionDescription.ts b/packages/nodes-base/nodes/Slack/ReactionDescription.ts index 03c2b832ed..6b2e5703a0 100644 --- a/packages/nodes-base/nodes/Slack/ReactionDescription.ts +++ b/packages/nodes-base/nodes/Slack/ReactionDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const reactionOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Slack/Slack.node.ts b/packages/nodes-base/nodes/Slack/Slack.node.ts index 3c2d038cd0..12a4524dd9 100644 --- a/packages/nodes-base/nodes/Slack/Slack.node.ts +++ b/packages/nodes-base/nodes/Slack/Slack.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, @@ -8,8 +8,8 @@ import { INodeType, INodeTypeDescription, JsonObject, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { channelFields, channelOperations } from './ChannelDescription'; import { messageFields, messageOperations } from './MessageDescription'; @@ -20,7 +20,7 @@ import { userGroupFields, userGroupOperations } from './UserGroupDescription'; import { userFields, userOperations } from './UserDescription'; import { userProfileFields, userProfileOperations } from './UserProfileDescription'; import { slackApiRequest, slackApiRequestAllItems, validateJSON } from './GenericFunctions'; -import { IAttachment } from './MessageInterface'; +import type { IAttachment } from './MessageInterface'; import moment from 'moment'; diff --git a/packages/nodes-base/nodes/Slack/StarDescription.ts b/packages/nodes-base/nodes/Slack/StarDescription.ts index 273e1ca25d..958abf53ae 100644 --- a/packages/nodes-base/nodes/Slack/StarDescription.ts +++ b/packages/nodes-base/nodes/Slack/StarDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const starOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Slack/UserDescription.ts b/packages/nodes-base/nodes/Slack/UserDescription.ts index 63c6badeff..2d6b65abd2 100644 --- a/packages/nodes-base/nodes/Slack/UserDescription.ts +++ b/packages/nodes-base/nodes/Slack/UserDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const userOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Slack/UserGroupDescription.ts b/packages/nodes-base/nodes/Slack/UserGroupDescription.ts index 3a807ff02e..5d208e1bf8 100644 --- a/packages/nodes-base/nodes/Slack/UserGroupDescription.ts +++ b/packages/nodes-base/nodes/Slack/UserGroupDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const userGroupOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Slack/UserProfileDescription.ts b/packages/nodes-base/nodes/Slack/UserProfileDescription.ts index b5794ba443..f2736fd9fe 100644 --- a/packages/nodes-base/nodes/Slack/UserProfileDescription.ts +++ b/packages/nodes-base/nodes/Slack/UserProfileDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const userProfileOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Sms77/GenericFunctions.ts b/packages/nodes-base/nodes/Sms77/GenericFunctions.ts index b13fc895c7..49e47c3242 100644 --- a/packages/nodes-base/nodes/Sms77/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Sms77/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { IExecuteFunctions, IHookFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IHookFunctions } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; /** * Make an API request to Sms77 diff --git a/packages/nodes-base/nodes/Sms77/Sms77.node.ts b/packages/nodes-base/nodes/Sms77/Sms77.node.ts index 867509f4d6..28fc249288 100644 --- a/packages/nodes-base/nodes/Sms77/Sms77.node.ts +++ b/packages/nodes-base/nodes/Sms77/Sms77.node.ts @@ -1,6 +1,11 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { + IDataObject, + INodeExecutionData, + INodeType, + INodeTypeDescription, +} from 'n8n-workflow'; import { sms77ApiRequest } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Snowflake/GenericFunctions.ts b/packages/nodes-base/nodes/Snowflake/GenericFunctions.ts index 46fbb42808..efa66cf4bd 100644 --- a/packages/nodes-base/nodes/Snowflake/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Snowflake/GenericFunctions.ts @@ -1,6 +1,7 @@ -import { deepCopy, IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import { deepCopy } from 'n8n-workflow'; -import snowflake from 'snowflake-sdk'; +import type snowflake from 'snowflake-sdk'; export async function connect(conn: snowflake.Connection) { return new Promise((resolve, reject) => { diff --git a/packages/nodes-base/nodes/Snowflake/Snowflake.node.ts b/packages/nodes-base/nodes/Snowflake/Snowflake.node.ts index b3c8f9b889..ea53aa36e9 100644 --- a/packages/nodes-base/nodes/Snowflake/Snowflake.node.ts +++ b/packages/nodes-base/nodes/Snowflake/Snowflake.node.ts @@ -1,6 +1,11 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { + IDataObject, + INodeExecutionData, + INodeType, + INodeTypeDescription, +} from 'n8n-workflow'; import { connect, copyInputItems, destroy, execute } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/SplitInBatches/SplitInBatches.node.ts b/packages/nodes-base/nodes/SplitInBatches/SplitInBatches.node.ts index e034c44371..5616b9ddee 100644 --- a/packages/nodes-base/nodes/SplitInBatches/SplitInBatches.node.ts +++ b/packages/nodes-base/nodes/SplitInBatches/SplitInBatches.node.ts @@ -1,11 +1,11 @@ -import { IExecuteFunctions } from 'n8n-core'; -import { - deepCopy, +import type { IExecuteFunctions } from 'n8n-core'; +import type { INodeExecutionData, INodeType, INodeTypeDescription, IPairedItemData, } from 'n8n-workflow'; +import { deepCopy } from 'n8n-workflow'; export class SplitInBatches implements INodeType { description: INodeTypeDescription = { diff --git a/packages/nodes-base/nodes/Splunk/GenericFunctions.ts b/packages/nodes-base/nodes/Splunk/GenericFunctions.ts index c41c012a1e..b24aea42a3 100644 --- a/packages/nodes-base/nodes/Splunk/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Splunk/GenericFunctions.ts @@ -1,12 +1,13 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, ILoadOptionsFunctions, NodeApiError } from 'n8n-workflow'; +import type { IDataObject, ILoadOptionsFunctions } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; import { parseString } from 'xml2js'; -import { +import type { SplunkCredentials, SplunkError, SplunkFeedResponse, diff --git a/packages/nodes-base/nodes/Splunk/Splunk.node.ts b/packages/nodes-base/nodes/Splunk/Splunk.node.ts index e95ea6bcc3..f83f8fc40f 100644 --- a/packages/nodes-base/nodes/Splunk/Splunk.node.ts +++ b/packages/nodes-base/nodes/Splunk/Splunk.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { ICredentialsDecrypted, ICredentialTestFunctions, IDataObject, @@ -34,9 +34,9 @@ import { userOperations, } from './descriptions'; -import { SplunkCredentials, SplunkFeedResponse } from './types'; +import type { SplunkCredentials, SplunkFeedResponse } from './types'; -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; export class Splunk implements INodeType { description: INodeTypeDescription = { diff --git a/packages/nodes-base/nodes/Splunk/descriptions/FiredAlertDescription.ts b/packages/nodes-base/nodes/Splunk/descriptions/FiredAlertDescription.ts index cf05ce444a..4132279e59 100644 --- a/packages/nodes-base/nodes/Splunk/descriptions/FiredAlertDescription.ts +++ b/packages/nodes-base/nodes/Splunk/descriptions/FiredAlertDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const firedAlertOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Splunk/descriptions/SearchConfigurationDescription.ts b/packages/nodes-base/nodes/Splunk/descriptions/SearchConfigurationDescription.ts index 1e2e5b9405..0d280b7f86 100644 --- a/packages/nodes-base/nodes/Splunk/descriptions/SearchConfigurationDescription.ts +++ b/packages/nodes-base/nodes/Splunk/descriptions/SearchConfigurationDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const searchConfigurationOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Splunk/descriptions/SearchJobDescription.ts b/packages/nodes-base/nodes/Splunk/descriptions/SearchJobDescription.ts index 0cdca1f007..a3a54930c0 100644 --- a/packages/nodes-base/nodes/Splunk/descriptions/SearchJobDescription.ts +++ b/packages/nodes-base/nodes/Splunk/descriptions/SearchJobDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const searchJobOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Splunk/descriptions/SearchResultDescription.ts b/packages/nodes-base/nodes/Splunk/descriptions/SearchResultDescription.ts index 0851d4c7d7..33bae71d53 100644 --- a/packages/nodes-base/nodes/Splunk/descriptions/SearchResultDescription.ts +++ b/packages/nodes-base/nodes/Splunk/descriptions/SearchResultDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const searchResultOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Splunk/descriptions/UserDescription.ts b/packages/nodes-base/nodes/Splunk/descriptions/UserDescription.ts index 7e88823233..149e33da04 100644 --- a/packages/nodes-base/nodes/Splunk/descriptions/UserDescription.ts +++ b/packages/nodes-base/nodes/Splunk/descriptions/UserDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const userOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Spontit/GenericFunctions.ts b/packages/nodes-base/nodes/Spontit/GenericFunctions.ts index d12969c045..509d1d0809 100644 --- a/packages/nodes-base/nodes/Spontit/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Spontit/GenericFunctions.ts @@ -1,13 +1,14 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { +import type { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions, IWebhookFunctions, } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function spontitApiRequest( this: IExecuteFunctions | ILoadOptionsFunctions | IHookFunctions | IWebhookFunctions, diff --git a/packages/nodes-base/nodes/Spontit/PushDescription.ts b/packages/nodes-base/nodes/Spontit/PushDescription.ts index 32f1fb8e4b..93e5675ddb 100644 --- a/packages/nodes-base/nodes/Spontit/PushDescription.ts +++ b/packages/nodes-base/nodes/Spontit/PushDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const pushOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Spontit/Spontit.node.ts b/packages/nodes-base/nodes/Spontit/Spontit.node.ts index b3cb09b889..459cd07e93 100644 --- a/packages/nodes-base/nodes/Spontit/Spontit.node.ts +++ b/packages/nodes-base/nodes/Spontit/Spontit.node.ts @@ -1,5 +1,10 @@ -import { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { IExecuteFunctions } from 'n8n-core'; +import type { + IDataObject, + INodeExecutionData, + INodeType, + INodeTypeDescription, +} from 'n8n-workflow'; import { spontitApiRequest } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Spotify/GenericFunctions.ts b/packages/nodes-base/nodes/Spotify/GenericFunctions.ts index 97e8496696..27e7e0e199 100644 --- a/packages/nodes-base/nodes/Spotify/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Spotify/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions, IHookFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IHookFunctions } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; import { get } from 'lodash'; diff --git a/packages/nodes-base/nodes/Spotify/Spotify.node.ts b/packages/nodes-base/nodes/Spotify/Spotify.node.ts index e238899c49..93d6ec3226 100644 --- a/packages/nodes-base/nodes/Spotify/Spotify.node.ts +++ b/packages/nodes-base/nodes/Spotify/Spotify.node.ts @@ -1,6 +1,11 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { + IDataObject, + INodeExecutionData, + INodeType, + INodeTypeDescription, +} from 'n8n-workflow'; import { spotifyApiRequest, spotifyApiRequestAllItems } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/SpreadsheetFile/SpreadsheetFile.node.ts b/packages/nodes-base/nodes/SpreadsheetFile/SpreadsheetFile.node.ts index 6d64579be0..d2bf228259 100644 --- a/packages/nodes-base/nodes/SpreadsheetFile/SpreadsheetFile.node.ts +++ b/packages/nodes-base/nodes/SpreadsheetFile/SpreadsheetFile.node.ts @@ -1,22 +1,15 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; -import { - JSON2SheetOpts, - read as xlsxRead, - Sheet2JSONOpts, - utils as xlsxUtils, - WorkBook, - write as xlsxWrite, - WritingOptions, -} from 'xlsx'; +import type { JSON2SheetOpts, Sheet2JSONOpts, WorkBook, WritingOptions } from 'xlsx'; +import { read as xlsxRead, utils as xlsxUtils, write as xlsxWrite } from 'xlsx'; /** * Flattens an object with deep data diff --git a/packages/nodes-base/nodes/SseTrigger/SseTrigger.node.ts b/packages/nodes-base/nodes/SseTrigger/SseTrigger.node.ts index c164d38e36..3acac9ca53 100644 --- a/packages/nodes-base/nodes/SseTrigger/SseTrigger.node.ts +++ b/packages/nodes-base/nodes/SseTrigger/SseTrigger.node.ts @@ -1,6 +1,7 @@ import EventSource from 'eventsource'; -import { ITriggerFunctions } from 'n8n-core'; -import { INodeType, INodeTypeDescription, ITriggerResponse, jsonParse } from 'n8n-workflow'; +import type { ITriggerFunctions } from 'n8n-core'; +import type { INodeType, INodeTypeDescription, ITriggerResponse } from 'n8n-workflow'; +import { jsonParse } from 'n8n-workflow'; export class SseTrigger implements INodeType { description: INodeTypeDescription = { diff --git a/packages/nodes-base/nodes/Ssh/Ssh.node.ts b/packages/nodes-base/nodes/Ssh/Ssh.node.ts index dab659a770..6c64dedb86 100644 --- a/packages/nodes-base/nodes/Ssh/Ssh.node.ts +++ b/packages/nodes-base/nodes/Ssh/Ssh.node.ts @@ -1,12 +1,12 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { readFile, rm, writeFile } from 'fs/promises'; diff --git a/packages/nodes-base/nodes/Stackby/GenericFunction.ts b/packages/nodes-base/nodes/Stackby/GenericFunction.ts index ebfa42636e..ed294a6cea 100644 --- a/packages/nodes-base/nodes/Stackby/GenericFunction.ts +++ b/packages/nodes-base/nodes/Stackby/GenericFunction.ts @@ -1,8 +1,9 @@ -import { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IDataObject, IPollFunctions, NodeApiError } from 'n8n-workflow'; +import type { IDataObject, IPollFunctions } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; /** * Make an API request to Airtable diff --git a/packages/nodes-base/nodes/Stackby/Stackby.node.ts b/packages/nodes-base/nodes/Stackby/Stackby.node.ts index dc3c17cc88..428301d29a 100644 --- a/packages/nodes-base/nodes/Stackby/Stackby.node.ts +++ b/packages/nodes-base/nodes/Stackby/Stackby.node.ts @@ -1,14 +1,15 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; -import { apiRequest, apiRequestAllItems, IRecord } from './GenericFunction'; +import type { IRecord } from './GenericFunction'; +import { apiRequest, apiRequestAllItems } from './GenericFunction'; export class Stackby implements INodeType { description: INodeTypeDescription = { diff --git a/packages/nodes-base/nodes/Start/Start.node.ts b/packages/nodes-base/nodes/Start/Start.node.ts index b64f5ba04f..94d9ecd2ee 100644 --- a/packages/nodes-base/nodes/Start/Start.node.ts +++ b/packages/nodes-base/nodes/Start/Start.node.ts @@ -1,5 +1,5 @@ -import { IExecuteFunctions } from 'n8n-core'; -import { INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { IExecuteFunctions } from 'n8n-core'; +import type { 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 7fd8c19062..5926329366 100644 --- a/packages/nodes-base/nodes/StickyNote/StickyNote.node.ts +++ b/packages/nodes-base/nodes/StickyNote/StickyNote.node.ts @@ -1,5 +1,5 @@ -import { IExecuteFunctions } from 'n8n-core'; -import { INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { IExecuteFunctions } from 'n8n-core'; +import type { 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 c1d18eb153..5f14626d82 100644 --- a/packages/nodes-base/nodes/StopAndError/StopAndError.node.ts +++ b/packages/nodes-base/nodes/StopAndError/StopAndError.node.ts @@ -1,12 +1,7 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { - INodeExecutionData, - INodeType, - INodeTypeDescription, - jsonParse, - NodeOperationError, -} from 'n8n-workflow'; +import type { INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import { jsonParse, NodeOperationError } from 'n8n-workflow'; const errorObjectPlaceholder = `{ "code": "404", diff --git a/packages/nodes-base/nodes/Storyblok/GenericFunctions.ts b/packages/nodes-base/nodes/Storyblok/GenericFunctions.ts index ef8618b3e4..789ec2d4ac 100644 --- a/packages/nodes-base/nodes/Storyblok/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Storyblok/GenericFunctions.ts @@ -1,13 +1,14 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { +import type { IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function storyblokApiRequest( this: IHookFunctions | IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Storyblok/StoryContentDescription.ts b/packages/nodes-base/nodes/Storyblok/StoryContentDescription.ts index 3859049f9e..db821735d0 100644 --- a/packages/nodes-base/nodes/Storyblok/StoryContentDescription.ts +++ b/packages/nodes-base/nodes/Storyblok/StoryContentDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const storyContentOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Storyblok/StoryManagementDescription.ts b/packages/nodes-base/nodes/Storyblok/StoryManagementDescription.ts index 9bc690d507..67b0f21334 100644 --- a/packages/nodes-base/nodes/Storyblok/StoryManagementDescription.ts +++ b/packages/nodes-base/nodes/Storyblok/StoryManagementDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const storyManagementOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Storyblok/Storyblok.node.ts b/packages/nodes-base/nodes/Storyblok/Storyblok.node.ts index d124964e2c..dcb1bbcb3c 100644 --- a/packages/nodes-base/nodes/Storyblok/Storyblok.node.ts +++ b/packages/nodes-base/nodes/Storyblok/Storyblok.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Strapi/EntryDescription.ts b/packages/nodes-base/nodes/Strapi/EntryDescription.ts index 27f1c72ee0..e5d6ac934c 100644 --- a/packages/nodes-base/nodes/Strapi/EntryDescription.ts +++ b/packages/nodes-base/nodes/Strapi/EntryDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const entryOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Strapi/GenericFunctions.ts b/packages/nodes-base/nodes/Strapi/GenericFunctions.ts index 5ba7b0dd20..09f39b56de 100644 --- a/packages/nodes-base/nodes/Strapi/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Strapi/GenericFunctions.ts @@ -1,13 +1,14 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { +import type { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions, IWebhookFunctions, } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function strapiApiRequest( this: IExecuteFunctions | ILoadOptionsFunctions | IHookFunctions | IWebhookFunctions, diff --git a/packages/nodes-base/nodes/Strapi/Strapi.node.ts b/packages/nodes-base/nodes/Strapi/Strapi.node.ts index fa71eb60f2..b674e0d12e 100644 --- a/packages/nodes-base/nodes/Strapi/Strapi.node.ts +++ b/packages/nodes-base/nodes/Strapi/Strapi.node.ts @@ -1,8 +1,8 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { +import type { ICredentialsDecrypted, ICredentialTestFunctions, IDataObject, @@ -10,8 +10,8 @@ import { INodeExecutionData, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { getToken, diff --git a/packages/nodes-base/nodes/Strava/ActivityDescription.ts b/packages/nodes-base/nodes/Strava/ActivityDescription.ts index a7fbcd3713..c2f8da8d09 100644 --- a/packages/nodes-base/nodes/Strava/ActivityDescription.ts +++ b/packages/nodes-base/nodes/Strava/ActivityDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const activityOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Strava/GenericFunctions.ts b/packages/nodes-base/nodes/Strava/GenericFunctions.ts index f43ceb272e..df6c04ccd2 100644 --- a/packages/nodes-base/nodes/Strava/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Strava/GenericFunctions.ts @@ -1,6 +1,6 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { +import type { IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, @@ -8,7 +8,8 @@ import { IWebhookFunctions, } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function stravaApiRequest( this: diff --git a/packages/nodes-base/nodes/Strava/Strava.node.ts b/packages/nodes-base/nodes/Strava/Strava.node.ts index 5d9504aab9..c9e1f9e31b 100644 --- a/packages/nodes-base/nodes/Strava/Strava.node.ts +++ b/packages/nodes-base/nodes/Strava/Strava.node.ts @@ -1,6 +1,11 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { + IDataObject, + INodeExecutionData, + INodeType, + INodeTypeDescription, +} from 'n8n-workflow'; import { stravaApiRequest, stravaApiRequestAllItems } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Strava/StravaTrigger.node.ts b/packages/nodes-base/nodes/Strava/StravaTrigger.node.ts index 5c40e7d57a..e9eaa45634 100644 --- a/packages/nodes-base/nodes/Strava/StravaTrigger.node.ts +++ b/packages/nodes-base/nodes/Strava/StravaTrigger.node.ts @@ -1,6 +1,11 @@ -import { IHookFunctions, IWebhookFunctions } from 'n8n-core'; +import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; -import { IDataObject, INodeType, INodeTypeDescription, IWebhookResponseData } from 'n8n-workflow'; +import type { + IDataObject, + INodeType, + INodeTypeDescription, + IWebhookResponseData, +} from 'n8n-workflow'; import { stravaApiRequest } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Stripe/Stripe.node.ts b/packages/nodes-base/nodes/Stripe/Stripe.node.ts index 2d76912239..848f70d390 100644 --- a/packages/nodes-base/nodes/Stripe/Stripe.node.ts +++ b/packages/nodes-base/nodes/Stripe/Stripe.node.ts @@ -1,14 +1,14 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, INodePropertyOptions, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { isEmpty } from 'lodash'; diff --git a/packages/nodes-base/nodes/Stripe/StripeTrigger.node.ts b/packages/nodes-base/nodes/Stripe/StripeTrigger.node.ts index 4d90f4f1a2..0716196c6d 100644 --- a/packages/nodes-base/nodes/Stripe/StripeTrigger.node.ts +++ b/packages/nodes-base/nodes/Stripe/StripeTrigger.node.ts @@ -1,7 +1,8 @@ /* eslint-disable n8n-nodes-base/node-param-description-excess-final-period */ -import { IHookFunctions, IWebhookFunctions } from 'n8n-core'; +import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; -import { INodeType, INodeTypeDescription, IWebhookResponseData, NodeApiError } from 'n8n-workflow'; +import type { INodeType, INodeTypeDescription, IWebhookResponseData } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; import { stripeApiRequest } from './helpers'; diff --git a/packages/nodes-base/nodes/Stripe/descriptions/BalanceDescription.ts b/packages/nodes-base/nodes/Stripe/descriptions/BalanceDescription.ts index 6e5a944d04..7f28caf7a5 100644 --- a/packages/nodes-base/nodes/Stripe/descriptions/BalanceDescription.ts +++ b/packages/nodes-base/nodes/Stripe/descriptions/BalanceDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const balanceOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Stripe/descriptions/ChargeDescription.ts b/packages/nodes-base/nodes/Stripe/descriptions/ChargeDescription.ts index f4426a4a60..f76a522eb4 100644 --- a/packages/nodes-base/nodes/Stripe/descriptions/ChargeDescription.ts +++ b/packages/nodes-base/nodes/Stripe/descriptions/ChargeDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const chargeOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Stripe/descriptions/CouponDescription.ts b/packages/nodes-base/nodes/Stripe/descriptions/CouponDescription.ts index 9128136630..b1e612e3b8 100644 --- a/packages/nodes-base/nodes/Stripe/descriptions/CouponDescription.ts +++ b/packages/nodes-base/nodes/Stripe/descriptions/CouponDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const couponOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Stripe/descriptions/CustomerCardDescription.ts b/packages/nodes-base/nodes/Stripe/descriptions/CustomerCardDescription.ts index 2ec4e63951..bc49a6ebd2 100644 --- a/packages/nodes-base/nodes/Stripe/descriptions/CustomerCardDescription.ts +++ b/packages/nodes-base/nodes/Stripe/descriptions/CustomerCardDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const customerCardOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Stripe/descriptions/CustomerDescription.ts b/packages/nodes-base/nodes/Stripe/descriptions/CustomerDescription.ts index 572c085949..cdf3fb78a7 100644 --- a/packages/nodes-base/nodes/Stripe/descriptions/CustomerDescription.ts +++ b/packages/nodes-base/nodes/Stripe/descriptions/CustomerDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const customerOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Stripe/descriptions/SourceDescription.ts b/packages/nodes-base/nodes/Stripe/descriptions/SourceDescription.ts index e8610a41a8..7f2b15006b 100644 --- a/packages/nodes-base/nodes/Stripe/descriptions/SourceDescription.ts +++ b/packages/nodes-base/nodes/Stripe/descriptions/SourceDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const sourceOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Stripe/descriptions/TokenDescription.ts b/packages/nodes-base/nodes/Stripe/descriptions/TokenDescription.ts index c891fa113f..3c57a024d6 100644 --- a/packages/nodes-base/nodes/Stripe/descriptions/TokenDescription.ts +++ b/packages/nodes-base/nodes/Stripe/descriptions/TokenDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const tokenOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Stripe/helpers.ts b/packages/nodes-base/nodes/Stripe/helpers.ts index 8360a3dd32..02bbb42778 100644 --- a/packages/nodes-base/nodes/Stripe/helpers.ts +++ b/packages/nodes-base/nodes/Stripe/helpers.ts @@ -1,8 +1,8 @@ -import { IExecuteFunctions, IHookFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IHookFunctions } from 'n8n-core'; import { flow, isEmpty, omit } from 'lodash'; -import { IDataObject, ILoadOptionsFunctions, INodePropertyOptions } from 'n8n-workflow'; +import type { 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 c7744d2843..35ffacc422 100644 --- a/packages/nodes-base/nodes/Supabase/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Supabase/GenericFunctions.ts @@ -1,6 +1,6 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { +import type { IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, @@ -8,13 +8,13 @@ import { IWebhookFunctions, } from 'n8n-core'; -import { +import type { ICredentialDataDecryptedObject, ICredentialTestFunctions, IDataObject, INodeProperties, - NodeApiError, } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function supabaseApiRequest( this: diff --git a/packages/nodes-base/nodes/Supabase/RowDescription.ts b/packages/nodes-base/nodes/Supabase/RowDescription.ts index 73f42f638f..c1a5a7691d 100644 --- a/packages/nodes-base/nodes/Supabase/RowDescription.ts +++ b/packages/nodes-base/nodes/Supabase/RowDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { getFilters } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Supabase/Supabase.node.ts b/packages/nodes-base/nodes/Supabase/Supabase.node.ts index dfe86b0729..3e5a7197d1 100644 --- a/packages/nodes-base/nodes/Supabase/Supabase.node.ts +++ b/packages/nodes-base/nodes/Supabase/Supabase.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { ICredentialDataDecryptedObject, ICredentialsDecrypted, ICredentialTestFunctions, @@ -11,8 +11,8 @@ import { INodePropertyOptions, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { buildGetQuery, diff --git a/packages/nodes-base/nodes/SurveyMonkey/GenericFunctions.ts b/packages/nodes-base/nodes/SurveyMonkey/GenericFunctions.ts index 6c9cea0cc0..28caf5ce90 100644 --- a/packages/nodes-base/nodes/SurveyMonkey/GenericFunctions.ts +++ b/packages/nodes-base/nodes/SurveyMonkey/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject, IHookFunctions, IWebhookFunctions, NodeApiError } from 'n8n-workflow'; +import type { IDataObject, IHookFunctions, IWebhookFunctions } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function surveyMonkeyApiRequest( this: IExecuteFunctions | IWebhookFunctions | IHookFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/SurveyMonkey/Interfaces.ts b/packages/nodes-base/nodes/SurveyMonkey/Interfaces.ts index 7837a9b353..899a9df72e 100644 --- a/packages/nodes-base/nodes/SurveyMonkey/Interfaces.ts +++ b/packages/nodes-base/nodes/SurveyMonkey/Interfaces.ts @@ -1,4 +1,4 @@ -import { IDataObject } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; export interface IImage { url: string; diff --git a/packages/nodes-base/nodes/SurveyMonkey/SurveyMonkeyTrigger.node.ts b/packages/nodes-base/nodes/SurveyMonkey/SurveyMonkeyTrigger.node.ts index 5d3ca8cd7a..079db59926 100644 --- a/packages/nodes-base/nodes/SurveyMonkey/SurveyMonkeyTrigger.node.ts +++ b/packages/nodes-base/nodes/SurveyMonkey/SurveyMonkeyTrigger.node.ts @@ -1,7 +1,6 @@ -import { IHookFunctions, IWebhookFunctions } from 'n8n-core'; +import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; -import { - deepCopy, +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, @@ -9,13 +8,12 @@ import { INodeType, INodeTypeDescription, IWebhookResponseData, - jsonParse, - NodeOperationError, } from 'n8n-workflow'; +import { deepCopy, jsonParse, NodeOperationError } from 'n8n-workflow'; import { idsExist, surveyMonkeyApiRequest, surveyMonkeyRequestAllItems } from './GenericFunctions'; -import { IAnswer, IChoice, IOther, IQuestion, IRow } from './Interfaces'; +import type { IAnswer, IChoice, IOther, IQuestion, IRow } from './Interfaces'; import { createHmac } from 'crypto'; diff --git a/packages/nodes-base/nodes/Switch/Switch.node.ts b/packages/nodes-base/nodes/Switch/Switch.node.ts index 9d29647adc..e584599788 100644 --- a/packages/nodes-base/nodes/Switch/Switch.node.ts +++ b/packages/nodes-base/nodes/Switch/Switch.node.ts @@ -1,12 +1,12 @@ -import { IExecuteFunctions } from 'n8n-core'; -import { +import type { IExecuteFunctions } from 'n8n-core'; +import type { INodeExecutionData, INodeParameters, INodeType, INodeTypeDescription, - NodeOperationError, NodeParameterValue, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; export class Switch implements INodeType { description: INodeTypeDescription = { diff --git a/packages/nodes-base/nodes/SyncroMSP/SyncroMsp.node.ts b/packages/nodes-base/nodes/SyncroMSP/SyncroMsp.node.ts index 8ee9122767..1c8db3dd4e 100644 --- a/packages/nodes-base/nodes/SyncroMSP/SyncroMsp.node.ts +++ b/packages/nodes-base/nodes/SyncroMSP/SyncroMsp.node.ts @@ -1,4 +1,5 @@ -import { INodeTypeBaseDescription, IVersionedNodeType, VersionedNodeType } from 'n8n-workflow'; +import type { INodeTypeBaseDescription, IVersionedNodeType } from 'n8n-workflow'; +import { VersionedNodeType } from 'n8n-workflow'; import { SyncroMspV1 } from './v1/SyncroMspV1.node'; diff --git a/packages/nodes-base/nodes/SyncroMSP/v1/SyncroMspV1.node.ts b/packages/nodes-base/nodes/SyncroMSP/v1/SyncroMspV1.node.ts index f765471475..a2896a3dc6 100644 --- a/packages/nodes-base/nodes/SyncroMSP/v1/SyncroMspV1.node.ts +++ b/packages/nodes-base/nodes/SyncroMSP/v1/SyncroMspV1.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { ICredentialDataDecryptedObject, ICredentialsDecrypted, ICredentialTestFunctions, diff --git a/packages/nodes-base/nodes/SyncroMSP/v1/actions/Interfaces.ts b/packages/nodes-base/nodes/SyncroMSP/v1/actions/Interfaces.ts index e18bf5789a..37c113f174 100644 --- a/packages/nodes-base/nodes/SyncroMSP/v1/actions/Interfaces.ts +++ b/packages/nodes-base/nodes/SyncroMSP/v1/actions/Interfaces.ts @@ -1,4 +1,4 @@ -import { AllEntities, Entity, PropertiesOf } from 'n8n-workflow'; +import type { AllEntities, Entity, PropertiesOf } from 'n8n-workflow'; type SyncroMspMap = { contact: 'create' | 'delete' | 'get' | 'getAll' | 'update'; diff --git a/packages/nodes-base/nodes/SyncroMSP/v1/actions/contact/create/description.ts b/packages/nodes-base/nodes/SyncroMSP/v1/actions/contact/create/description.ts index 38623747a6..69a0dc8448 100644 --- a/packages/nodes-base/nodes/SyncroMSP/v1/actions/contact/create/description.ts +++ b/packages/nodes-base/nodes/SyncroMSP/v1/actions/contact/create/description.ts @@ -1,4 +1,4 @@ -import { ContactProperties } from '../../Interfaces'; +import type { ContactProperties } from '../../Interfaces'; import { addressFixedCollection } from '../../../methods/sharedFields'; 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 1d5f535036..5c254251cc 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,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/SyncroMSP/v1/actions/contact/del/description.ts b/packages/nodes-base/nodes/SyncroMSP/v1/actions/contact/del/description.ts index 8e4552cfdc..97eb66284b 100644 --- a/packages/nodes-base/nodes/SyncroMSP/v1/actions/contact/del/description.ts +++ b/packages/nodes-base/nodes/SyncroMSP/v1/actions/contact/del/description.ts @@ -1,4 +1,4 @@ -import { ContactProperties } from '../../Interfaces'; +import type { ContactProperties } from '../../Interfaces'; export const contactDeleteDescription: ContactProperties = [ { 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 6438747628..4448bf711f 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,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/SyncroMSP/v1/actions/contact/get/description.ts b/packages/nodes-base/nodes/SyncroMSP/v1/actions/contact/get/description.ts index afddc90a6e..e331b0ab96 100644 --- a/packages/nodes-base/nodes/SyncroMSP/v1/actions/contact/get/description.ts +++ b/packages/nodes-base/nodes/SyncroMSP/v1/actions/contact/get/description.ts @@ -1,4 +1,4 @@ -import { ContactProperties } from '../../Interfaces'; +import type { ContactProperties } from '../../Interfaces'; export const contactGetDescription: ContactProperties = [ { 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 7d41cb724f..c16601c687 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,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/SyncroMSP/v1/actions/contact/getAll/description.ts b/packages/nodes-base/nodes/SyncroMSP/v1/actions/contact/getAll/description.ts index 0bfc703726..d6c14ea6da 100644 --- a/packages/nodes-base/nodes/SyncroMSP/v1/actions/contact/getAll/description.ts +++ b/packages/nodes-base/nodes/SyncroMSP/v1/actions/contact/getAll/description.ts @@ -1,4 +1,4 @@ -import { ContactProperties } from '../../Interfaces'; +import type { ContactProperties } from '../../Interfaces'; export const contactGetAllDescription: ContactProperties = [ { 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 d10c49a1ac..999fff01d2 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,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest, apiRequestAllItems } from '../../../transport'; diff --git a/packages/nodes-base/nodes/SyncroMSP/v1/actions/contact/index.ts b/packages/nodes-base/nodes/SyncroMSP/v1/actions/contact/index.ts index 34ed9a91df..2b8dccbb51 100644 --- a/packages/nodes-base/nodes/SyncroMSP/v1/actions/contact/index.ts +++ b/packages/nodes-base/nodes/SyncroMSP/v1/actions/contact/index.ts @@ -4,7 +4,7 @@ import * as get from './get'; import * as update from './update'; import * as del from './del'; -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export { getAll, create, del as delete, update, get }; diff --git a/packages/nodes-base/nodes/SyncroMSP/v1/actions/contact/update/description.ts b/packages/nodes-base/nodes/SyncroMSP/v1/actions/contact/update/description.ts index a31cf9be68..ae805a1a8c 100644 --- a/packages/nodes-base/nodes/SyncroMSP/v1/actions/contact/update/description.ts +++ b/packages/nodes-base/nodes/SyncroMSP/v1/actions/contact/update/description.ts @@ -1,4 +1,4 @@ -import { ContactProperties } from '../../Interfaces'; +import type { ContactProperties } from '../../Interfaces'; import { addressFixedCollection } from '../../../methods/sharedFields'; 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 08b22b945f..1f36bc4b37 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,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/SyncroMSP/v1/actions/customer/create/description.ts b/packages/nodes-base/nodes/SyncroMSP/v1/actions/customer/create/description.ts index c94e9812f0..a7353e5fe9 100644 --- a/packages/nodes-base/nodes/SyncroMSP/v1/actions/customer/create/description.ts +++ b/packages/nodes-base/nodes/SyncroMSP/v1/actions/customer/create/description.ts @@ -1,4 +1,4 @@ -import { CustomerProperties } from '../../Interfaces'; +import type { CustomerProperties } from '../../Interfaces'; import { addressFixedCollection } from '../../../methods/sharedFields'; 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 3c3c1e0367..f3ff770800 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,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/SyncroMSP/v1/actions/customer/del/description.ts b/packages/nodes-base/nodes/SyncroMSP/v1/actions/customer/del/description.ts index 9905147fb2..0d516043fc 100644 --- a/packages/nodes-base/nodes/SyncroMSP/v1/actions/customer/del/description.ts +++ b/packages/nodes-base/nodes/SyncroMSP/v1/actions/customer/del/description.ts @@ -1,4 +1,4 @@ -import { CustomerProperties } from '../../Interfaces'; +import type { CustomerProperties } from '../../Interfaces'; export const customerDeleteDescription: CustomerProperties = [ { 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 bada284b13..3c9f748eff 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,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/SyncroMSP/v1/actions/customer/get/description.ts b/packages/nodes-base/nodes/SyncroMSP/v1/actions/customer/get/description.ts index ae46d4b69c..2478bda169 100644 --- a/packages/nodes-base/nodes/SyncroMSP/v1/actions/customer/get/description.ts +++ b/packages/nodes-base/nodes/SyncroMSP/v1/actions/customer/get/description.ts @@ -1,4 +1,4 @@ -import { CustomerProperties } from '../../Interfaces'; +import type { CustomerProperties } from '../../Interfaces'; export const customerGetDescription: CustomerProperties = [ { 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 64de3d7075..623ff1aa5e 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,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/SyncroMSP/v1/actions/customer/getAll/description.ts b/packages/nodes-base/nodes/SyncroMSP/v1/actions/customer/getAll/description.ts index 846b07e482..a791090ac0 100644 --- a/packages/nodes-base/nodes/SyncroMSP/v1/actions/customer/getAll/description.ts +++ b/packages/nodes-base/nodes/SyncroMSP/v1/actions/customer/getAll/description.ts @@ -1,4 +1,4 @@ -import { CustomerProperties } from '../../Interfaces'; +import type { CustomerProperties } from '../../Interfaces'; export const customerGetAllDescription: CustomerProperties = [ { 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 3baaabff66..5a735b3143 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,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest, apiRequestAllItems } from '../../../transport'; diff --git a/packages/nodes-base/nodes/SyncroMSP/v1/actions/customer/index.ts b/packages/nodes-base/nodes/SyncroMSP/v1/actions/customer/index.ts index ae935770b4..041c712a96 100644 --- a/packages/nodes-base/nodes/SyncroMSP/v1/actions/customer/index.ts +++ b/packages/nodes-base/nodes/SyncroMSP/v1/actions/customer/index.ts @@ -4,7 +4,7 @@ import * as del from './del'; import * as update from './update'; import * as get from './get'; -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export { getAll, create, del as delete, update, get }; diff --git a/packages/nodes-base/nodes/SyncroMSP/v1/actions/customer/update/description.ts b/packages/nodes-base/nodes/SyncroMSP/v1/actions/customer/update/description.ts index 815c47ab77..380aa0e9dd 100644 --- a/packages/nodes-base/nodes/SyncroMSP/v1/actions/customer/update/description.ts +++ b/packages/nodes-base/nodes/SyncroMSP/v1/actions/customer/update/description.ts @@ -1,4 +1,4 @@ -import { CustomerProperties } from '../../Interfaces'; +import type { CustomerProperties } from '../../Interfaces'; import { addressFixedCollection } from '../../../methods/sharedFields'; 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 0ff127fdc1..2701197579 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,7 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData, NodeApiError } from 'n8n-workflow'; +import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/SyncroMSP/v1/actions/rmm/create/description.ts b/packages/nodes-base/nodes/SyncroMSP/v1/actions/rmm/create/description.ts index e98ac9c76f..4cf764ddca 100644 --- a/packages/nodes-base/nodes/SyncroMSP/v1/actions/rmm/create/description.ts +++ b/packages/nodes-base/nodes/SyncroMSP/v1/actions/rmm/create/description.ts @@ -1,4 +1,4 @@ -import { RmmProperties } from '../../Interfaces'; +import type { RmmProperties } from '../../Interfaces'; export const rmmCreateDescription: RmmProperties = [ { 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 87c520723a..0b4f30f884 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,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/SyncroMSP/v1/actions/rmm/del/description.ts b/packages/nodes-base/nodes/SyncroMSP/v1/actions/rmm/del/description.ts index 9da28d50b4..bb28536a79 100644 --- a/packages/nodes-base/nodes/SyncroMSP/v1/actions/rmm/del/description.ts +++ b/packages/nodes-base/nodes/SyncroMSP/v1/actions/rmm/del/description.ts @@ -1,4 +1,4 @@ -import { RmmProperties } from '../../Interfaces'; +import type { RmmProperties } from '../../Interfaces'; export const rmmDeleteDescription: RmmProperties = [ { 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 3e359252f1..0102d1b977 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,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/SyncroMSP/v1/actions/rmm/get/description.ts b/packages/nodes-base/nodes/SyncroMSP/v1/actions/rmm/get/description.ts index 0a4daed161..bd24144f34 100644 --- a/packages/nodes-base/nodes/SyncroMSP/v1/actions/rmm/get/description.ts +++ b/packages/nodes-base/nodes/SyncroMSP/v1/actions/rmm/get/description.ts @@ -1,4 +1,4 @@ -import { RmmProperties } from '../../Interfaces'; +import type { RmmProperties } from '../../Interfaces'; export const rmmGetDescription: RmmProperties = [ { 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 794f188e97..0fa9ebe8ce 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,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/SyncroMSP/v1/actions/rmm/getAll/description.ts b/packages/nodes-base/nodes/SyncroMSP/v1/actions/rmm/getAll/description.ts index 1373bf9aba..020d48a6f9 100644 --- a/packages/nodes-base/nodes/SyncroMSP/v1/actions/rmm/getAll/description.ts +++ b/packages/nodes-base/nodes/SyncroMSP/v1/actions/rmm/getAll/description.ts @@ -1,4 +1,4 @@ -import { RmmProperties } from '../../Interfaces'; +import type { RmmProperties } from '../../Interfaces'; export const rmmGetAllDescription: RmmProperties = [ { 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 3411177757..cd769b10d2 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,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest, apiRequestAllItems } from '../../../transport'; diff --git a/packages/nodes-base/nodes/SyncroMSP/v1/actions/rmm/index.ts b/packages/nodes-base/nodes/SyncroMSP/v1/actions/rmm/index.ts index 7b17c3e7e0..a8842a4af7 100644 --- a/packages/nodes-base/nodes/SyncroMSP/v1/actions/rmm/index.ts +++ b/packages/nodes-base/nodes/SyncroMSP/v1/actions/rmm/index.ts @@ -4,7 +4,7 @@ import * as create from './create'; import * as del from './del'; import * as mute from './mute'; -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export { getAll, get, mute, del as delete, create }; diff --git a/packages/nodes-base/nodes/SyncroMSP/v1/actions/rmm/mute/description.ts b/packages/nodes-base/nodes/SyncroMSP/v1/actions/rmm/mute/description.ts index 1fc7c22739..be24e69044 100644 --- a/packages/nodes-base/nodes/SyncroMSP/v1/actions/rmm/mute/description.ts +++ b/packages/nodes-base/nodes/SyncroMSP/v1/actions/rmm/mute/description.ts @@ -1,4 +1,4 @@ -import { RmmProperties } from '../../Interfaces'; +import type { RmmProperties } from '../../Interfaces'; export const rmmMuteDescription: RmmProperties = [ { 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 5df2087232..ecac9f1264 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,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { 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 53a27c2fcd..86832c37d5 100644 --- a/packages/nodes-base/nodes/SyncroMSP/v1/actions/router.ts +++ b/packages/nodes-base/nodes/SyncroMSP/v1/actions/router.ts @@ -1,13 +1,14 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { INodeExecutionData, NodeApiError } from 'n8n-workflow'; +import type { INodeExecutionData } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; import * as customer from './customer'; import * as ticket from './ticket'; import * as contact from './contact'; import * as rmm from './rmm'; -import { SyncroMsp } from './Interfaces'; +import type { SyncroMsp } from './Interfaces'; export async function router(this: IExecuteFunctions): Promise { const items = this.getInputData(); diff --git a/packages/nodes-base/nodes/SyncroMSP/v1/actions/ticket/create/description.ts b/packages/nodes-base/nodes/SyncroMSP/v1/actions/ticket/create/description.ts index fc9d51015e..c264134129 100644 --- a/packages/nodes-base/nodes/SyncroMSP/v1/actions/ticket/create/description.ts +++ b/packages/nodes-base/nodes/SyncroMSP/v1/actions/ticket/create/description.ts @@ -1,4 +1,4 @@ -import { TicketProperties } from '../../Interfaces'; +import type { TicketProperties } from '../../Interfaces'; export const ticketCreateDescription: TicketProperties = [ { 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 9e3b8f2ae3..48e79b64b2 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,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/SyncroMSP/v1/actions/ticket/del/description.ts b/packages/nodes-base/nodes/SyncroMSP/v1/actions/ticket/del/description.ts index c44e33e019..0ca7bbe7a2 100644 --- a/packages/nodes-base/nodes/SyncroMSP/v1/actions/ticket/del/description.ts +++ b/packages/nodes-base/nodes/SyncroMSP/v1/actions/ticket/del/description.ts @@ -1,4 +1,4 @@ -import { TicketProperties } from '../../Interfaces'; +import type { TicketProperties } from '../../Interfaces'; export const ticketDeleteDescription: TicketProperties = [ { 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 a6c483bcd0..d73af3ed97 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,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/SyncroMSP/v1/actions/ticket/get/description.ts b/packages/nodes-base/nodes/SyncroMSP/v1/actions/ticket/get/description.ts index 95e0e55be3..c7db59e893 100644 --- a/packages/nodes-base/nodes/SyncroMSP/v1/actions/ticket/get/description.ts +++ b/packages/nodes-base/nodes/SyncroMSP/v1/actions/ticket/get/description.ts @@ -1,4 +1,4 @@ -import { TicketProperties } from '../../Interfaces'; +import type { TicketProperties } from '../../Interfaces'; export const ticketGetDescription: TicketProperties = [ { 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 c68fcd475a..a46a8ece88 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,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/SyncroMSP/v1/actions/ticket/getAll/description.ts b/packages/nodes-base/nodes/SyncroMSP/v1/actions/ticket/getAll/description.ts index e2b3bb1810..343398a94b 100644 --- a/packages/nodes-base/nodes/SyncroMSP/v1/actions/ticket/getAll/description.ts +++ b/packages/nodes-base/nodes/SyncroMSP/v1/actions/ticket/getAll/description.ts @@ -1,4 +1,4 @@ -import { TicketProperties } from '../../Interfaces'; +import type { TicketProperties } from '../../Interfaces'; export const ticketGetAllDescription: TicketProperties = [ { 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 717a4020c3..07b7c68e03 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,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; import { apiRequest, apiRequestAllItems } from '../../../transport'; diff --git a/packages/nodes-base/nodes/SyncroMSP/v1/actions/ticket/index.ts b/packages/nodes-base/nodes/SyncroMSP/v1/actions/ticket/index.ts index e94187adee..ca2bcd6d78 100644 --- a/packages/nodes-base/nodes/SyncroMSP/v1/actions/ticket/index.ts +++ b/packages/nodes-base/nodes/SyncroMSP/v1/actions/ticket/index.ts @@ -4,7 +4,7 @@ import * as get from './get'; import * as del from './del'; import * as update from './update'; -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export { getAll, create, get, del as delete, update }; diff --git a/packages/nodes-base/nodes/SyncroMSP/v1/actions/ticket/update/description.ts b/packages/nodes-base/nodes/SyncroMSP/v1/actions/ticket/update/description.ts index 112915c2b2..9e507a0878 100644 --- a/packages/nodes-base/nodes/SyncroMSP/v1/actions/ticket/update/description.ts +++ b/packages/nodes-base/nodes/SyncroMSP/v1/actions/ticket/update/description.ts @@ -1,4 +1,4 @@ -import { TicketProperties } from '../../Interfaces'; +import type { TicketProperties } from '../../Interfaces'; export const ticketUpdateDescription: TicketProperties = [ { 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 fcbe395775..9dc418acf1 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,7 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData, NodeOperationError } from 'n8n-workflow'; +import type { IDataObject, INodeExecutionData } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { apiRequest } from '../../../transport'; diff --git a/packages/nodes-base/nodes/SyncroMSP/v1/actions/versionDescription.ts b/packages/nodes-base/nodes/SyncroMSP/v1/actions/versionDescription.ts index 571179d521..295d92b7a1 100644 --- a/packages/nodes-base/nodes/SyncroMSP/v1/actions/versionDescription.ts +++ b/packages/nodes-base/nodes/SyncroMSP/v1/actions/versionDescription.ts @@ -1,5 +1,5 @@ /* eslint-disable n8n-nodes-base/node-filename-against-convention */ -import { INodeTypeDescription } from 'n8n-workflow'; +import type { INodeTypeDescription } from 'n8n-workflow'; import * as customer from './customer'; import * as ticket from './ticket'; diff --git a/packages/nodes-base/nodes/SyncroMSP/v1/methods/loadOptions.ts b/packages/nodes-base/nodes/SyncroMSP/v1/methods/loadOptions.ts index c28ad76133..009ead9202 100644 --- a/packages/nodes-base/nodes/SyncroMSP/v1/methods/loadOptions.ts +++ b/packages/nodes-base/nodes/SyncroMSP/v1/methods/loadOptions.ts @@ -1,4 +1,5 @@ -import { ILoadOptionsFunctions, INodePropertyOptions, NodeOperationError } from 'n8n-workflow'; +import type { ILoadOptionsFunctions, INodePropertyOptions } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { apiRequestAllItems } from '../transport'; diff --git a/packages/nodes-base/nodes/SyncroMSP/v1/methods/sharedFields.ts b/packages/nodes-base/nodes/SyncroMSP/v1/methods/sharedFields.ts index a832cecafa..479997ef9b 100644 --- a/packages/nodes-base/nodes/SyncroMSP/v1/methods/sharedFields.ts +++ b/packages/nodes-base/nodes/SyncroMSP/v1/methods/sharedFields.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const addressFixedCollection: INodeProperties = { displayName: 'Address', diff --git a/packages/nodes-base/nodes/SyncroMSP/v1/transport/index.ts b/packages/nodes-base/nodes/SyncroMSP/v1/transport/index.ts index be533caaf5..78be613349 100644 --- a/packages/nodes-base/nodes/SyncroMSP/v1/transport/index.ts +++ b/packages/nodes-base/nodes/SyncroMSP/v1/transport/index.ts @@ -1,13 +1,13 @@ -import { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { +import type { GenericValue, ICredentialDataDecryptedObject, ICredentialTestFunctions, IDataObject, IHttpRequestOptions, - NodeApiError, } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; /** * Make an API request to Mattermost diff --git a/packages/nodes-base/nodes/Taiga/GenericFunctions.ts b/packages/nodes-base/nodes/Taiga/GenericFunctions.ts index 394c4c9e97..34bca83178 100644 --- a/packages/nodes-base/nodes/Taiga/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Taiga/GenericFunctions.ts @@ -1,6 +1,6 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { +import type { IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, @@ -8,12 +8,8 @@ import { IWebhookFunctions, } from 'n8n-core'; -import { - ICredentialDataDecryptedObject, - IDataObject, - NodeApiError, - NodeOperationError, -} from 'n8n-workflow'; +import type { ICredentialDataDecryptedObject, IDataObject } 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 8f3b2802f7..4afe6afa4c 100644 --- a/packages/nodes-base/nodes/Taiga/Taiga.node.ts +++ b/packages/nodes-base/nodes/Taiga/Taiga.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Taiga/TaigaTrigger.node.ts b/packages/nodes-base/nodes/Taiga/TaigaTrigger.node.ts index d5efc8a342..cfaf472b41 100644 --- a/packages/nodes-base/nodes/Taiga/TaigaTrigger.node.ts +++ b/packages/nodes-base/nodes/Taiga/TaigaTrigger.node.ts @@ -1,4 +1,4 @@ -import { +import type { IDataObject, ILoadOptionsFunctions, INodePropertyOptions, @@ -8,7 +8,7 @@ import { IWebhookResponseData, } from 'n8n-workflow'; -import { IHookFunctions } from 'n8n-core'; +import type { IHookFunctions } from 'n8n-core'; import { getAutomaticSecret, taigaApiRequest } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Taiga/descriptions/EpicDescription.ts b/packages/nodes-base/nodes/Taiga/descriptions/EpicDescription.ts index 8032ba1f62..313ef82494 100644 --- a/packages/nodes-base/nodes/Taiga/descriptions/EpicDescription.ts +++ b/packages/nodes-base/nodes/Taiga/descriptions/EpicDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const epicOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Taiga/descriptions/IssueDescription.ts b/packages/nodes-base/nodes/Taiga/descriptions/IssueDescription.ts index 9e2be004d7..88bc54d7c8 100644 --- a/packages/nodes-base/nodes/Taiga/descriptions/IssueDescription.ts +++ b/packages/nodes-base/nodes/Taiga/descriptions/IssueDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const issueOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Taiga/descriptions/TaskDescription.ts b/packages/nodes-base/nodes/Taiga/descriptions/TaskDescription.ts index 405bedfdd6..012d1e86f6 100644 --- a/packages/nodes-base/nodes/Taiga/descriptions/TaskDescription.ts +++ b/packages/nodes-base/nodes/Taiga/descriptions/TaskDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const taskOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Taiga/descriptions/UserStoryDescription.ts b/packages/nodes-base/nodes/Taiga/descriptions/UserStoryDescription.ts index 51c4397f0a..00a2444e4a 100644 --- a/packages/nodes-base/nodes/Taiga/descriptions/UserStoryDescription.ts +++ b/packages/nodes-base/nodes/Taiga/descriptions/UserStoryDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const userStoryOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Tapfiliate/AffiliateDescription.ts b/packages/nodes-base/nodes/Tapfiliate/AffiliateDescription.ts index 9f27a67ea7..8eef965d96 100644 --- a/packages/nodes-base/nodes/Tapfiliate/AffiliateDescription.ts +++ b/packages/nodes-base/nodes/Tapfiliate/AffiliateDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const affiliateOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Tapfiliate/AffiliateMetadataDescription.ts b/packages/nodes-base/nodes/Tapfiliate/AffiliateMetadataDescription.ts index 2da570c3d8..eade8db348 100644 --- a/packages/nodes-base/nodes/Tapfiliate/AffiliateMetadataDescription.ts +++ b/packages/nodes-base/nodes/Tapfiliate/AffiliateMetadataDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const affiliateMetadataOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Tapfiliate/GenericFunctions.ts b/packages/nodes-base/nodes/Tapfiliate/GenericFunctions.ts index c22ca307af..b0ea4e6332 100644 --- a/packages/nodes-base/nodes/Tapfiliate/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Tapfiliate/GenericFunctions.ts @@ -1,13 +1,14 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { +import type { IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function tapfiliateApiRequest( this: IHookFunctions | IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Tapfiliate/ProgramAffiliateDescription.ts b/packages/nodes-base/nodes/Tapfiliate/ProgramAffiliateDescription.ts index 5f5c50ee5d..a17b9d71d9 100644 --- a/packages/nodes-base/nodes/Tapfiliate/ProgramAffiliateDescription.ts +++ b/packages/nodes-base/nodes/Tapfiliate/ProgramAffiliateDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const programAffiliateOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Tapfiliate/Tapfiliate.node.ts b/packages/nodes-base/nodes/Tapfiliate/Tapfiliate.node.ts index 2e0d3141f0..e9b4dcad32 100644 --- a/packages/nodes-base/nodes/Tapfiliate/Tapfiliate.node.ts +++ b/packages/nodes-base/nodes/Tapfiliate/Tapfiliate.node.ts @@ -1,14 +1,14 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, INodePropertyOptions, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { affiliateFields, affiliateOperations } from './AffiliateDescription'; diff --git a/packages/nodes-base/nodes/Telegram/GenericFunctions.ts b/packages/nodes-base/nodes/Telegram/GenericFunctions.ts index 10f81f2fee..fbe553a755 100644 --- a/packages/nodes-base/nodes/Telegram/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Telegram/GenericFunctions.ts @@ -1,13 +1,14 @@ -import { +import type { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions, IWebhookFunctions, } from 'n8n-core'; -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; // Interface in n8n export interface IMarkupKeyboard { diff --git a/packages/nodes-base/nodes/Telegram/Telegram.node.ts b/packages/nodes-base/nodes/Telegram/Telegram.node.ts index 374c4c38b9..404ef41fcf 100644 --- a/packages/nodes-base/nodes/Telegram/Telegram.node.ts +++ b/packages/nodes-base/nodes/Telegram/Telegram.node.ts @@ -1,13 +1,14 @@ import type { Readable } from 'stream'; -import { BINARY_ENCODING, IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; +import { BINARY_ENCODING } from 'n8n-core'; -import { +import type { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { 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 f72e68a254..fb8ace7740 100644 --- a/packages/nodes-base/nodes/Telegram/TelegramTrigger.node.ts +++ b/packages/nodes-base/nodes/Telegram/TelegramTrigger.node.ts @@ -1,10 +1,15 @@ -import { IHookFunctions, IWebhookFunctions } from 'n8n-core'; +import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; -import { IDataObject, INodeType, INodeTypeDescription, IWebhookResponseData } from 'n8n-workflow'; +import type { + IDataObject, + INodeType, + INodeTypeDescription, + IWebhookResponseData, +} from 'n8n-workflow'; import { apiRequest, getImageBySize } from './GenericFunctions'; -import { IEvent } from './IEvent'; +import type { IEvent } from './IEvent'; export class TelegramTrigger implements INodeType { description: INodeTypeDescription = { diff --git a/packages/nodes-base/nodes/TheHive/GenericFunctions.ts b/packages/nodes-base/nodes/TheHive/GenericFunctions.ts index ea7e78ab7d..01e4bc87e9 100644 --- a/packages/nodes-base/nodes/TheHive/GenericFunctions.ts +++ b/packages/nodes-base/nodes/TheHive/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject, jsonParse } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { jsonParse } from 'n8n-workflow'; import moment from 'moment'; import { Eq } from './QueryFunctions'; diff --git a/packages/nodes-base/nodes/TheHive/TheHive.node.ts b/packages/nodes-base/nodes/TheHive/TheHive.node.ts index ae9519bfd4..f750f67186 100644 --- a/packages/nodes-base/nodes/TheHive/TheHive.node.ts +++ b/packages/nodes-base/nodes/TheHive/TheHive.node.ts @@ -1,7 +1,7 @@ /* eslint-disable @typescript-eslint/dot-notation */ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, @@ -9,8 +9,8 @@ import { INodePropertyOptions, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { alertFields, alertOperations } from './descriptions/AlertDescription'; @@ -22,7 +22,8 @@ import { taskFields, taskOperations } from './descriptions/TaskDescription'; import { logFields, logOperations } from './descriptions/LogDescription'; -import { And, Between, ContainsString, Eq, Id, In, IQueryObject, Parent } from './QueryFunctions'; +import type { IQueryObject } from './QueryFunctions'; +import { And, Between, ContainsString, Eq, Id, In, Parent } from './QueryFunctions'; import { buildCustomFieldSearch, diff --git a/packages/nodes-base/nodes/TheHive/TheHiveTrigger.node.ts b/packages/nodes-base/nodes/TheHive/TheHiveTrigger.node.ts index a16b35f58b..0d0cf9b6dd 100644 --- a/packages/nodes-base/nodes/TheHive/TheHiveTrigger.node.ts +++ b/packages/nodes-base/nodes/TheHive/TheHiveTrigger.node.ts @@ -1,6 +1,6 @@ -import { IWebhookFunctions } from 'n8n-core'; +import type { IWebhookFunctions } from 'n8n-core'; -import { +import type { IDataObject, IHookFunctions, INodeType, diff --git a/packages/nodes-base/nodes/TheHive/descriptions/AlertDescription.ts b/packages/nodes-base/nodes/TheHive/descriptions/AlertDescription.ts index b176570075..835d47bd56 100644 --- a/packages/nodes-base/nodes/TheHive/descriptions/AlertDescription.ts +++ b/packages/nodes-base/nodes/TheHive/descriptions/AlertDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { TLP } from '../interfaces/AlertInterface'; diff --git a/packages/nodes-base/nodes/TheHive/descriptions/CaseDescription.ts b/packages/nodes-base/nodes/TheHive/descriptions/CaseDescription.ts index ddd11489bd..938ea3d65c 100644 --- a/packages/nodes-base/nodes/TheHive/descriptions/CaseDescription.ts +++ b/packages/nodes-base/nodes/TheHive/descriptions/CaseDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { TLP } from '../interfaces/AlertInterface'; diff --git a/packages/nodes-base/nodes/TheHive/descriptions/EventsDescription.ts b/packages/nodes-base/nodes/TheHive/descriptions/EventsDescription.ts index 9894b0a5f2..ded65534ec 100644 --- a/packages/nodes-base/nodes/TheHive/descriptions/EventsDescription.ts +++ b/packages/nodes-base/nodes/TheHive/descriptions/EventsDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const eventsDescription: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/TheHive/descriptions/LogDescription.ts b/packages/nodes-base/nodes/TheHive/descriptions/LogDescription.ts index 892f2d6682..8f8f8ed16b 100644 --- a/packages/nodes-base/nodes/TheHive/descriptions/LogDescription.ts +++ b/packages/nodes-base/nodes/TheHive/descriptions/LogDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const logOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/TheHive/descriptions/ObservableDescription.ts b/packages/nodes-base/nodes/TheHive/descriptions/ObservableDescription.ts index 9ed5e9d323..d4d9a82b22 100644 --- a/packages/nodes-base/nodes/TheHive/descriptions/ObservableDescription.ts +++ b/packages/nodes-base/nodes/TheHive/descriptions/ObservableDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { TLP } from '../interfaces/AlertInterface'; diff --git a/packages/nodes-base/nodes/TheHive/descriptions/TaskDescription.ts b/packages/nodes-base/nodes/TheHive/descriptions/TaskDescription.ts index fa2881c33b..56846a203b 100644 --- a/packages/nodes-base/nodes/TheHive/descriptions/TaskDescription.ts +++ b/packages/nodes-base/nodes/TheHive/descriptions/TaskDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const taskOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/TheHive/interfaces/AlertInterface.ts b/packages/nodes-base/nodes/TheHive/interfaces/AlertInterface.ts index d6602e3ad5..f8ee11271a 100644 --- a/packages/nodes-base/nodes/TheHive/interfaces/AlertInterface.ts +++ b/packages/nodes-base/nodes/TheHive/interfaces/AlertInterface.ts @@ -1,4 +1,4 @@ -import { IDataObject } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; export enum AlertStatus { NEW = 'New', UPDATED = 'Updated', diff --git a/packages/nodes-base/nodes/TheHive/interfaces/CaseInterface.ts b/packages/nodes-base/nodes/TheHive/interfaces/CaseInterface.ts index 51b72af5e4..58e910c6ff 100644 --- a/packages/nodes-base/nodes/TheHive/interfaces/CaseInterface.ts +++ b/packages/nodes-base/nodes/TheHive/interfaces/CaseInterface.ts @@ -1,5 +1,5 @@ -import { IDataObject } from 'n8n-workflow'; -import { TLP } from './AlertInterface'; +import type { IDataObject } from 'n8n-workflow'; +import type { TLP } from './AlertInterface'; export interface ICase { // Required attributes id?: string; diff --git a/packages/nodes-base/nodes/TheHive/interfaces/LogInterface.ts b/packages/nodes-base/nodes/TheHive/interfaces/LogInterface.ts index 16141d5c17..5e02a41c62 100644 --- a/packages/nodes-base/nodes/TheHive/interfaces/LogInterface.ts +++ b/packages/nodes-base/nodes/TheHive/interfaces/LogInterface.ts @@ -1,4 +1,4 @@ -import { IAttachment } from './ObservableInterface'; +import type { IAttachment } from './ObservableInterface'; export enum LogStatus { OK = 'Ok', DELETED = 'Deleted', diff --git a/packages/nodes-base/nodes/TheHive/interfaces/ObservableInterface.ts b/packages/nodes-base/nodes/TheHive/interfaces/ObservableInterface.ts index 89f540e25b..a18b85c2db 100644 --- a/packages/nodes-base/nodes/TheHive/interfaces/ObservableInterface.ts +++ b/packages/nodes-base/nodes/TheHive/interfaces/ObservableInterface.ts @@ -1,4 +1,4 @@ -import { TLP } from './AlertInterface'; +import type { TLP } from './AlertInterface'; export enum ObservableStatus { OK = 'Ok', diff --git a/packages/nodes-base/nodes/TimescaleDb/TimescaleDb.node.ts b/packages/nodes-base/nodes/TimescaleDb/TimescaleDb.node.ts index 06713e4852..709cacb2b4 100644 --- a/packages/nodes-base/nodes/TimescaleDb/TimescaleDb.node.ts +++ b/packages/nodes-base/nodes/TimescaleDb/TimescaleDb.node.ts @@ -1,11 +1,7 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { - INodeExecutionData, - INodeType, - INodeTypeDescription, - NodeOperationError, -} from 'n8n-workflow'; +import type { 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 75e8951274..cabb09e18b 100644 --- a/packages/nodes-base/nodes/Todoist/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Todoist/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export type Context = IHookFunctions | IExecuteFunctions | ILoadOptionsFunctions; diff --git a/packages/nodes-base/nodes/Todoist/Todoist.node.ts b/packages/nodes-base/nodes/Todoist/Todoist.node.ts index 3ab421c783..27566c46d0 100644 --- a/packages/nodes-base/nodes/Todoist/Todoist.node.ts +++ b/packages/nodes-base/nodes/Todoist/Todoist.node.ts @@ -1,4 +1,5 @@ -import { INodeTypeBaseDescription, IVersionedNodeType, VersionedNodeType } from 'n8n-workflow'; +import type { INodeTypeBaseDescription, IVersionedNodeType } from 'n8n-workflow'; +import { VersionedNodeType } from 'n8n-workflow'; import { TodoistV1 } from './v1/TodoistV1.node'; import { TodoistV2 } from './v2/TodoistV2.node'; diff --git a/packages/nodes-base/nodes/Todoist/v1/OperationHandler.ts b/packages/nodes-base/nodes/Todoist/v1/OperationHandler.ts index 54e18af93d..bd7d6bc530 100644 --- a/packages/nodes-base/nodes/Todoist/v1/OperationHandler.ts +++ b/packages/nodes-base/nodes/Todoist/v1/OperationHandler.ts @@ -1,10 +1,7 @@ -import { IDataObject, jsonParse } from 'n8n-workflow'; -import { - Context, - FormatDueDatetime, - todoistApiRequest, - todoistSyncRequest, -} from '../GenericFunctions'; +import type { IDataObject } from 'n8n-workflow'; +import { jsonParse } from 'n8n-workflow'; +import type { Context } from '../GenericFunctions'; +import { FormatDueDatetime, todoistApiRequest, todoistSyncRequest } from '../GenericFunctions'; import type { Section, TodoistResponse } from './Service'; import { v4 as uuid } from 'uuid'; diff --git a/packages/nodes-base/nodes/Todoist/v1/Service.ts b/packages/nodes-base/nodes/Todoist/v1/Service.ts index 676439276c..3e951608a8 100644 --- a/packages/nodes-base/nodes/Todoist/v1/Service.ts +++ b/packages/nodes-base/nodes/Todoist/v1/Service.ts @@ -10,8 +10,8 @@ import { UpdateHandler, } from './OperationHandler'; -import { Context } from '../GenericFunctions'; -import { IDataObject } from 'n8n-workflow'; +import type { Context } from '../GenericFunctions'; +import type { IDataObject } from 'n8n-workflow'; export class TodoistService implements Service { async execute( diff --git a/packages/nodes-base/nodes/Todoist/v1/TodoistV1.node.ts b/packages/nodes-base/nodes/Todoist/v1/TodoistV1.node.ts index aade484df2..f92c957fc9 100644 --- a/packages/nodes-base/nodes/Todoist/v1/TodoistV1.node.ts +++ b/packages/nodes-base/nodes/Todoist/v1/TodoistV1.node.ts @@ -1,7 +1,7 @@ /* eslint-disable n8n-nodes-base/node-filename-against-convention */ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Todoist/v2/OperationHandler.ts b/packages/nodes-base/nodes/Todoist/v2/OperationHandler.ts index c8d8a09c97..014670e0a0 100644 --- a/packages/nodes-base/nodes/Todoist/v2/OperationHandler.ts +++ b/packages/nodes-base/nodes/Todoist/v2/OperationHandler.ts @@ -1,10 +1,7 @@ -import { IDataObject, jsonParse } from 'n8n-workflow'; -import { - Context, - FormatDueDatetime, - todoistApiRequest, - todoistSyncRequest, -} from '../GenericFunctions'; +import type { IDataObject } from 'n8n-workflow'; +import { jsonParse } from 'n8n-workflow'; +import type { Context } from '../GenericFunctions'; +import { FormatDueDatetime, todoistApiRequest, todoistSyncRequest } from '../GenericFunctions'; import type { Section, TodoistResponse } from './Service'; import { v4 as uuid } from 'uuid'; diff --git a/packages/nodes-base/nodes/Todoist/v2/Service.ts b/packages/nodes-base/nodes/Todoist/v2/Service.ts index 676439276c..3e951608a8 100644 --- a/packages/nodes-base/nodes/Todoist/v2/Service.ts +++ b/packages/nodes-base/nodes/Todoist/v2/Service.ts @@ -10,8 +10,8 @@ import { UpdateHandler, } from './OperationHandler'; -import { Context } from '../GenericFunctions'; -import { IDataObject } from 'n8n-workflow'; +import type { Context } from '../GenericFunctions'; +import type { IDataObject } from 'n8n-workflow'; export class TodoistService implements Service { async execute( diff --git a/packages/nodes-base/nodes/Todoist/v2/TodoistV2.node.ts b/packages/nodes-base/nodes/Todoist/v2/TodoistV2.node.ts index e42b3b5ffb..fd67bbfc13 100644 --- a/packages/nodes-base/nodes/Todoist/v2/TodoistV2.node.ts +++ b/packages/nodes-base/nodes/Todoist/v2/TodoistV2.node.ts @@ -1,7 +1,7 @@ /* eslint-disable n8n-nodes-base/node-filename-against-convention */ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Toggl/GenericFunctions.ts b/packages/nodes-base/nodes/Toggl/GenericFunctions.ts index 20dd6800ab..862ee97ade 100644 --- a/packages/nodes-base/nodes/Toggl/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Toggl/GenericFunctions.ts @@ -1,6 +1,6 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { +import type { IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, @@ -9,7 +9,8 @@ import { ITriggerFunctions, } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function togglApiRequest( this: diff --git a/packages/nodes-base/nodes/Toggl/TogglTrigger.node.ts b/packages/nodes-base/nodes/Toggl/TogglTrigger.node.ts index afd9bfdb76..c8bcdb2f51 100644 --- a/packages/nodes-base/nodes/Toggl/TogglTrigger.node.ts +++ b/packages/nodes-base/nodes/Toggl/TogglTrigger.node.ts @@ -1,12 +1,11 @@ -import { IPollFunctions } from 'n8n-core'; -import { +import type { IPollFunctions } from 'n8n-core'; +import type { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription, - NodeApiError, - NodeOperationError, } from 'n8n-workflow'; +import { NodeApiError, NodeOperationError } from 'n8n-workflow'; import moment from 'moment'; import { togglApiRequest } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/TravisCi/BuildDescription.ts b/packages/nodes-base/nodes/TravisCi/BuildDescription.ts index 2cd58e860f..892fc80b42 100644 --- a/packages/nodes-base/nodes/TravisCi/BuildDescription.ts +++ b/packages/nodes-base/nodes/TravisCi/BuildDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const buildOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/TravisCi/GenericFunctions.ts b/packages/nodes-base/nodes/TravisCi/GenericFunctions.ts index 64559d1293..e44e1c75a3 100644 --- a/packages/nodes-base/nodes/TravisCi/GenericFunctions.ts +++ b/packages/nodes-base/nodes/TravisCi/GenericFunctions.ts @@ -1,13 +1,14 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { +import type { IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; import { get } from 'lodash'; diff --git a/packages/nodes-base/nodes/TravisCi/TravisCi.node.ts b/packages/nodes-base/nodes/TravisCi/TravisCi.node.ts index bf4ae66061..e9e14198d9 100644 --- a/packages/nodes-base/nodes/TravisCi/TravisCi.node.ts +++ b/packages/nodes-base/nodes/TravisCi/TravisCi.node.ts @@ -1,6 +1,11 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { + IDataObject, + INodeExecutionData, + INodeType, + INodeTypeDescription, +} from 'n8n-workflow'; import { buildFields, buildOperations } from './BuildDescription'; diff --git a/packages/nodes-base/nodes/Trello/AttachmentDescription.ts b/packages/nodes-base/nodes/Trello/AttachmentDescription.ts index 385676b92b..36cbe8e01e 100644 --- a/packages/nodes-base/nodes/Trello/AttachmentDescription.ts +++ b/packages/nodes-base/nodes/Trello/AttachmentDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const attachmentOperations: INodeProperties[] = [ // ---------------------------------- diff --git a/packages/nodes-base/nodes/Trello/BoardDescription.ts b/packages/nodes-base/nodes/Trello/BoardDescription.ts index ca61288900..bf53dbca4d 100644 --- a/packages/nodes-base/nodes/Trello/BoardDescription.ts +++ b/packages/nodes-base/nodes/Trello/BoardDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const boardOperations: INodeProperties[] = [ // ---------------------------------- diff --git a/packages/nodes-base/nodes/Trello/BoardMemberDescription.ts b/packages/nodes-base/nodes/Trello/BoardMemberDescription.ts index bce9ea8122..76a47e27ef 100644 --- a/packages/nodes-base/nodes/Trello/BoardMemberDescription.ts +++ b/packages/nodes-base/nodes/Trello/BoardMemberDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const boardMemberOperations: INodeProperties[] = [ // ---------------------------------- diff --git a/packages/nodes-base/nodes/Trello/CardCommentDescription.ts b/packages/nodes-base/nodes/Trello/CardCommentDescription.ts index b19863b1ea..d57e566104 100644 --- a/packages/nodes-base/nodes/Trello/CardCommentDescription.ts +++ b/packages/nodes-base/nodes/Trello/CardCommentDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const cardCommentOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Trello/CardDescription.ts b/packages/nodes-base/nodes/Trello/CardDescription.ts index 6d0d29e79f..5642d3dabc 100644 --- a/packages/nodes-base/nodes/Trello/CardDescription.ts +++ b/packages/nodes-base/nodes/Trello/CardDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const cardOperations: INodeProperties[] = [ // ---------------------------------- diff --git a/packages/nodes-base/nodes/Trello/ChecklistDescription.ts b/packages/nodes-base/nodes/Trello/ChecklistDescription.ts index 5e3a76b42f..16c652ebab 100644 --- a/packages/nodes-base/nodes/Trello/ChecklistDescription.ts +++ b/packages/nodes-base/nodes/Trello/ChecklistDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const checklistOperations: INodeProperties[] = [ // ---------------------------------- diff --git a/packages/nodes-base/nodes/Trello/GenericFunctions.ts b/packages/nodes-base/nodes/Trello/GenericFunctions.ts index 01604c3457..b5b4405ff3 100644 --- a/packages/nodes-base/nodes/Trello/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Trello/GenericFunctions.ts @@ -1,8 +1,8 @@ -import { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IDataObject } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; /** * Make an API request to Trello diff --git a/packages/nodes-base/nodes/Trello/LabelDescription.ts b/packages/nodes-base/nodes/Trello/LabelDescription.ts index b3e9c54bee..d7ab4ee5d5 100644 --- a/packages/nodes-base/nodes/Trello/LabelDescription.ts +++ b/packages/nodes-base/nodes/Trello/LabelDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const labelOperations: INodeProperties[] = [ // ---------------------------------- diff --git a/packages/nodes-base/nodes/Trello/ListDescription.ts b/packages/nodes-base/nodes/Trello/ListDescription.ts index 4a657ed086..a9c7592f16 100644 --- a/packages/nodes-base/nodes/Trello/ListDescription.ts +++ b/packages/nodes-base/nodes/Trello/ListDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const listOperations: INodeProperties[] = [ // ---------------------------------- diff --git a/packages/nodes-base/nodes/Trello/Trello.node.ts b/packages/nodes-base/nodes/Trello/Trello.node.ts index 7dedc4ceae..bd8ea97c47 100644 --- a/packages/nodes-base/nodes/Trello/Trello.node.ts +++ b/packages/nodes-base/nodes/Trello/Trello.node.ts @@ -1,13 +1,13 @@ -import { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { +import type { IDataObject, INodeExecutionData, INodeListSearchResult, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { apiRequest, apiRequestAllItems } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Trello/TrelloTrigger.node.ts b/packages/nodes-base/nodes/Trello/TrelloTrigger.node.ts index cf3941832f..c1433826bb 100644 --- a/packages/nodes-base/nodes/Trello/TrelloTrigger.node.ts +++ b/packages/nodes-base/nodes/Trello/TrelloTrigger.node.ts @@ -1,6 +1,6 @@ -import { IHookFunctions, IWebhookFunctions } from 'n8n-core'; +import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; -import { INodeType, INodeTypeDescription, IWebhookResponseData } from 'n8n-workflow'; +import type { 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 966abe5234..e4553e3518 100644 --- a/packages/nodes-base/nodes/Twake/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Twake/GenericFunctions.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; /** * 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 1d77b26698..b2682d6aa1 100644 --- a/packages/nodes-base/nodes/Twake/Twake.node.ts +++ b/packages/nodes-base/nodes/Twake/Twake.node.ts @@ -1,14 +1,14 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, INodePropertyOptions, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { twakeApiRequest } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Twilio/GenericFunctions.ts b/packages/nodes-base/nodes/Twilio/GenericFunctions.ts index 1b2629ec8f..f774df39e7 100644 --- a/packages/nodes-base/nodes/Twilio/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Twilio/GenericFunctions.ts @@ -1,8 +1,8 @@ -import { IExecuteFunctions, IHookFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IHookFunctions } from 'n8n-core'; -import { IDataObject } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; /** * Make an API request to Twilio diff --git a/packages/nodes-base/nodes/Twilio/Twilio.node.ts b/packages/nodes-base/nodes/Twilio/Twilio.node.ts index 2480cf9156..54462285c3 100644 --- a/packages/nodes-base/nodes/Twilio/Twilio.node.ts +++ b/packages/nodes-base/nodes/Twilio/Twilio.node.ts @@ -1,11 +1,11 @@ -import { IExecuteFunctions } from 'n8n-core'; -import { +import type { IExecuteFunctions } from 'n8n-core'; +import type { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { escapeXml, twilioApiRequest } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Twist/ChannelDescription.ts b/packages/nodes-base/nodes/Twist/ChannelDescription.ts index f6727b7250..84bcd31da6 100644 --- a/packages/nodes-base/nodes/Twist/ChannelDescription.ts +++ b/packages/nodes-base/nodes/Twist/ChannelDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const channelOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Twist/CommentDescription.ts b/packages/nodes-base/nodes/Twist/CommentDescription.ts index e38c41894c..a695d399d2 100644 --- a/packages/nodes-base/nodes/Twist/CommentDescription.ts +++ b/packages/nodes-base/nodes/Twist/CommentDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const commentOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Twist/GenericFunctions.ts b/packages/nodes-base/nodes/Twist/GenericFunctions.ts index 87962977b7..27f8f081fa 100644 --- a/packages/nodes-base/nodes/Twist/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Twist/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function twistApiRequest( this: IExecuteFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Twist/MessageConversationDescription.ts b/packages/nodes-base/nodes/Twist/MessageConversationDescription.ts index 195332a902..82f7fc4e48 100644 --- a/packages/nodes-base/nodes/Twist/MessageConversationDescription.ts +++ b/packages/nodes-base/nodes/Twist/MessageConversationDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const messageConversationOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Twist/ThreadDescription.ts b/packages/nodes-base/nodes/Twist/ThreadDescription.ts index f130049b4b..b262db52dd 100644 --- a/packages/nodes-base/nodes/Twist/ThreadDescription.ts +++ b/packages/nodes-base/nodes/Twist/ThreadDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const threadOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Twist/Twist.node.ts b/packages/nodes-base/nodes/Twist/Twist.node.ts index ee98291a0d..1830d89e85 100644 --- a/packages/nodes-base/nodes/Twist/Twist.node.ts +++ b/packages/nodes-base/nodes/Twist/Twist.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IBinaryKeyData, IDataObject, ILoadOptionsFunctions, @@ -8,8 +8,8 @@ import { INodePropertyOptions, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { twistApiRequest } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Twitter/DirectMessageDescription.ts b/packages/nodes-base/nodes/Twitter/DirectMessageDescription.ts index b2c66b2ca4..66a41d3e77 100644 --- a/packages/nodes-base/nodes/Twitter/DirectMessageDescription.ts +++ b/packages/nodes-base/nodes/Twitter/DirectMessageDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const directMessageOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Twitter/GenericFunctions.ts b/packages/nodes-base/nodes/Twitter/GenericFunctions.ts index 6efa943dd8..794a3d3229 100644 --- a/packages/nodes-base/nodes/Twitter/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Twitter/GenericFunctions.ts @@ -1,20 +1,14 @@ -import { OptionsWithUrl } from 'request'; +import type { OptionsWithUrl } from 'request'; -import { +import type { IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, } from 'n8n-core'; -import { - IBinaryKeyData, - IDataObject, - INodeExecutionData, - NodeApiError, - NodeOperationError, - sleep, -} from 'n8n-workflow'; +import type { IBinaryKeyData, IDataObject, INodeExecutionData } from 'n8n-workflow'; +import { NodeApiError, NodeOperationError, sleep } from 'n8n-workflow'; export async function twitterApiRequest( this: IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions | IHookFunctions, diff --git a/packages/nodes-base/nodes/Twitter/TweetDescription.ts b/packages/nodes-base/nodes/Twitter/TweetDescription.ts index ec535d6a39..bf5cb963f9 100644 --- a/packages/nodes-base/nodes/Twitter/TweetDescription.ts +++ b/packages/nodes-base/nodes/Twitter/TweetDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const tweetOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Twitter/Twitter.node.ts b/packages/nodes-base/nodes/Twitter/Twitter.node.ts index c2b7298b0e..b96e9c2183 100644 --- a/packages/nodes-base/nodes/Twitter/Twitter.node.ts +++ b/packages/nodes-base/nodes/Twitter/Twitter.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { +import type { IDataObject, INodeExecutionData, INodePropertyOptions, @@ -19,7 +19,7 @@ import { uploadAttachments, } from './GenericFunctions'; -import { ITweet } from './TweetInterface'; +import type { ITweet } from './TweetInterface'; import ISO6391 from 'iso-639-1'; diff --git a/packages/nodes-base/nodes/Typeform/GenericFunctions.ts b/packages/nodes-base/nodes/Typeform/GenericFunctions.ts index eed52bcb68..520d1182f9 100644 --- a/packages/nodes-base/nodes/Typeform/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Typeform/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject, INodePropertyOptions, NodeApiError, NodeOperationError } from 'n8n-workflow'; +import type { IDataObject, INodePropertyOptions } from 'n8n-workflow'; +import { NodeApiError, NodeOperationError } from 'n8n-workflow'; -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; // Interface in Typeform export interface ITypeformDefinition { diff --git a/packages/nodes-base/nodes/Typeform/TypeformTrigger.node.ts b/packages/nodes-base/nodes/Typeform/TypeformTrigger.node.ts index 51601f0d80..bb515e28e2 100644 --- a/packages/nodes-base/nodes/Typeform/TypeformTrigger.node.ts +++ b/packages/nodes-base/nodes/Typeform/TypeformTrigger.node.ts @@ -1,6 +1,6 @@ -import { IHookFunctions, IWebhookFunctions } from 'n8n-core'; +import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; -import { +import type { ICredentialsDecrypted, ICredentialTestFunctions, IDataObject, @@ -9,16 +9,15 @@ import { INodeTypeDescription, IWebhookResponseData, JsonObject, - NodeApiError, } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; -import { - apiRequest, - getForms, +import type { ITypeformAnswer, ITypeformAnswerField, ITypeformDefinition, } from './GenericFunctions'; +import { apiRequest, getForms } from './GenericFunctions'; export class TypeformTrigger implements INodeType { description: INodeTypeDescription = { diff --git a/packages/nodes-base/nodes/UProc/GenericFunctions.ts b/packages/nodes-base/nodes/UProc/GenericFunctions.ts index a334cf4540..ee55454aa0 100644 --- a/packages/nodes-base/nodes/UProc/GenericFunctions.ts +++ b/packages/nodes-base/nodes/UProc/GenericFunctions.ts @@ -1,11 +1,12 @@ -import { +import type { IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, } from 'n8n-core'; -import { IDataObject, IHttpRequestMethods, IHttpRequestOptions, NodeApiError } from 'n8n-workflow'; +import type { IDataObject, IHttpRequestMethods, IHttpRequestOptions } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function uprocApiRequest( this: IHookFunctions | IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/UProc/GroupDescription.ts b/packages/nodes-base/nodes/UProc/GroupDescription.ts index 0a5ae8924e..0fe05fa319 100644 --- a/packages/nodes-base/nodes/UProc/GroupDescription.ts +++ b/packages/nodes-base/nodes/UProc/GroupDescription.ts @@ -1,4 +1,4 @@ -import { IDataObject, INodeProperties } from 'n8n-workflow'; +import type { IDataObject, INodeProperties } from 'n8n-workflow'; import { groups } from './Json/Groups'; diff --git a/packages/nodes-base/nodes/UProc/ToolDescription.ts b/packages/nodes-base/nodes/UProc/ToolDescription.ts index 9e5ed7eb23..0a6cd206a9 100644 --- a/packages/nodes-base/nodes/UProc/ToolDescription.ts +++ b/packages/nodes-base/nodes/UProc/ToolDescription.ts @@ -1,4 +1,5 @@ -import { deepCopy, IDataObject, INodeProperties } from 'n8n-workflow'; +import type { IDataObject, INodeProperties } from 'n8n-workflow'; +import { deepCopy } from 'n8n-workflow'; import { groups } from './Json/Groups'; diff --git a/packages/nodes-base/nodes/UProc/UProc.node.ts b/packages/nodes-base/nodes/UProc/UProc.node.ts index 80a006751c..53fe50d85d 100644 --- a/packages/nodes-base/nodes/UProc/UProc.node.ts +++ b/packages/nodes-base/nodes/UProc/UProc.node.ts @@ -1,7 +1,12 @@ /* eslint-disable n8n-nodes-base/node-filename-against-convention */ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { + IDataObject, + INodeExecutionData, + INodeType, + INodeTypeDescription, +} from 'n8n-workflow'; import { uprocApiRequest } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/UnleashedSoftware/GenericFunctions.ts b/packages/nodes-base/nodes/UnleashedSoftware/GenericFunctions.ts index 334240c96d..de4f055b40 100644 --- a/packages/nodes-base/nodes/UnleashedSoftware/GenericFunctions.ts +++ b/packages/nodes-base/nodes/UnleashedSoftware/GenericFunctions.ts @@ -1,13 +1,14 @@ -import { OptionsWithUrl } from 'request'; +import type { OptionsWithUrl } from 'request'; -import { +import type { IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; import { createHmac } from 'crypto'; diff --git a/packages/nodes-base/nodes/UnleashedSoftware/SalesOrderDescription.ts b/packages/nodes-base/nodes/UnleashedSoftware/SalesOrderDescription.ts index 028b6e3625..74f1200117 100644 --- a/packages/nodes-base/nodes/UnleashedSoftware/SalesOrderDescription.ts +++ b/packages/nodes-base/nodes/UnleashedSoftware/SalesOrderDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const salesOrderOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/UnleashedSoftware/StockOnHandDescription.ts b/packages/nodes-base/nodes/UnleashedSoftware/StockOnHandDescription.ts index 625622e04e..23e76aa3ea 100644 --- a/packages/nodes-base/nodes/UnleashedSoftware/StockOnHandDescription.ts +++ b/packages/nodes-base/nodes/UnleashedSoftware/StockOnHandDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const stockOnHandOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/UnleashedSoftware/UnleashedSoftware.node.ts b/packages/nodes-base/nodes/UnleashedSoftware/UnleashedSoftware.node.ts index c04e1d2c95..3d14fc4b6c 100644 --- a/packages/nodes-base/nodes/UnleashedSoftware/UnleashedSoftware.node.ts +++ b/packages/nodes-base/nodes/UnleashedSoftware/UnleashedSoftware.node.ts @@ -1,6 +1,11 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { + IDataObject, + INodeExecutionData, + INodeType, + INodeTypeDescription, +} from 'n8n-workflow'; import { convertNETDates, diff --git a/packages/nodes-base/nodes/Uplead/CompanyDesciption.ts b/packages/nodes-base/nodes/Uplead/CompanyDesciption.ts index 76317e3a92..a872f58520 100644 --- a/packages/nodes-base/nodes/Uplead/CompanyDesciption.ts +++ b/packages/nodes-base/nodes/Uplead/CompanyDesciption.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const companyOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Uplead/GenericFunctions.ts b/packages/nodes-base/nodes/Uplead/GenericFunctions.ts index 073bdaec2e..bb67b59861 100644 --- a/packages/nodes-base/nodes/Uplead/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Uplead/GenericFunctions.ts @@ -1,11 +1,12 @@ -import { OptionsWithUri } from 'request'; -import { +import type { OptionsWithUri } from 'request'; +import type { IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function upleadApiRequest( this: IHookFunctions | IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Uplead/PersonDescription.ts b/packages/nodes-base/nodes/Uplead/PersonDescription.ts index 6a6fbf87a2..69b2278a9d 100644 --- a/packages/nodes-base/nodes/Uplead/PersonDescription.ts +++ b/packages/nodes-base/nodes/Uplead/PersonDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const personOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Uplead/Uplead.node.ts b/packages/nodes-base/nodes/Uplead/Uplead.node.ts index e07b59444c..43f7f6e0e1 100644 --- a/packages/nodes-base/nodes/Uplead/Uplead.node.ts +++ b/packages/nodes-base/nodes/Uplead/Uplead.node.ts @@ -1,5 +1,10 @@ -import { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { IExecuteFunctions } from 'n8n-core'; +import type { + IDataObject, + INodeExecutionData, + INodeType, + INodeTypeDescription, +} from 'n8n-workflow'; import { upleadApiRequest } from './GenericFunctions'; import { companyFields, companyOperations } from './CompanyDesciption'; import { personFields, personOperations } from './PersonDescription'; diff --git a/packages/nodes-base/nodes/UptimeRobot/AlertContactDescription.ts b/packages/nodes-base/nodes/UptimeRobot/AlertContactDescription.ts index 35c0afa604..0243944835 100644 --- a/packages/nodes-base/nodes/UptimeRobot/AlertContactDescription.ts +++ b/packages/nodes-base/nodes/UptimeRobot/AlertContactDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const alertContactOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/UptimeRobot/GenericFunctions.ts b/packages/nodes-base/nodes/UptimeRobot/GenericFunctions.ts index dfc97e096a..c7edce491f 100644 --- a/packages/nodes-base/nodes/UptimeRobot/GenericFunctions.ts +++ b/packages/nodes-base/nodes/UptimeRobot/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, NodeApiError, NodeOperationError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError, NodeOperationError } from 'n8n-workflow'; export async function uptimeRobotApiRequest( this: IExecuteFunctions, diff --git a/packages/nodes-base/nodes/UptimeRobot/MaintenanceWindowDescription.ts b/packages/nodes-base/nodes/UptimeRobot/MaintenanceWindowDescription.ts index 618ae82eb8..296739d4da 100644 --- a/packages/nodes-base/nodes/UptimeRobot/MaintenanceWindowDescription.ts +++ b/packages/nodes-base/nodes/UptimeRobot/MaintenanceWindowDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const maintenanceWindowOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/UptimeRobot/MonitorDescription.ts b/packages/nodes-base/nodes/UptimeRobot/MonitorDescription.ts index 2dcf0183a1..148c298f0b 100644 --- a/packages/nodes-base/nodes/UptimeRobot/MonitorDescription.ts +++ b/packages/nodes-base/nodes/UptimeRobot/MonitorDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const monitorOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/UptimeRobot/PublicStatusPageDescription.ts b/packages/nodes-base/nodes/UptimeRobot/PublicStatusPageDescription.ts index 434ae58545..ffc7c825e3 100644 --- a/packages/nodes-base/nodes/UptimeRobot/PublicStatusPageDescription.ts +++ b/packages/nodes-base/nodes/UptimeRobot/PublicStatusPageDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const publicStatusPageOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/UptimeRobot/UptimeRobot.node.ts b/packages/nodes-base/nodes/UptimeRobot/UptimeRobot.node.ts index d0eea6a8d7..d2b632a2fc 100644 --- a/packages/nodes-base/nodes/UptimeRobot/UptimeRobot.node.ts +++ b/packages/nodes-base/nodes/UptimeRobot/UptimeRobot.node.ts @@ -1,6 +1,11 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { + IDataObject, + INodeExecutionData, + INodeType, + INodeTypeDescription, +} from 'n8n-workflow'; import { uptimeRobotApiRequest } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/UrlScanIo/GenericFunctions.ts b/packages/nodes-base/nodes/UrlScanIo/GenericFunctions.ts index 252c65486c..dfd679219d 100644 --- a/packages/nodes-base/nodes/UrlScanIo/GenericFunctions.ts +++ b/packages/nodes-base/nodes/UrlScanIo/GenericFunctions.ts @@ -1,8 +1,8 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject } from 'n8n-workflow'; +import type { 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 71608b9bab..8a59430b4a 100644 --- a/packages/nodes-base/nodes/UrlScanIo/UrlScanIo.node.ts +++ b/packages/nodes-base/nodes/UrlScanIo/UrlScanIo.node.ts @@ -1,12 +1,12 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { scanFields, scanOperations } from './descriptions'; diff --git a/packages/nodes-base/nodes/UrlScanIo/descriptions/ScanDescription.ts b/packages/nodes-base/nodes/UrlScanIo/descriptions/ScanDescription.ts index 331f3c66de..4dab12b236 100644 --- a/packages/nodes-base/nodes/UrlScanIo/descriptions/ScanDescription.ts +++ b/packages/nodes-base/nodes/UrlScanIo/descriptions/ScanDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const scanOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Venafi/Datacenter/CertificateDescription.ts b/packages/nodes-base/nodes/Venafi/Datacenter/CertificateDescription.ts index 2981d8e2ca..2d33a91df7 100644 --- a/packages/nodes-base/nodes/Venafi/Datacenter/CertificateDescription.ts +++ b/packages/nodes-base/nodes/Venafi/Datacenter/CertificateDescription.ts @@ -1,5 +1,5 @@ /* eslint-disable n8n-nodes-base/node-param-description-boolean-without-whether */ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const certificateOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Venafi/Datacenter/GenericFunctions.ts b/packages/nodes-base/nodes/Venafi/Datacenter/GenericFunctions.ts index fbc6e18439..05721cc57f 100644 --- a/packages/nodes-base/nodes/Venafi/Datacenter/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Venafi/Datacenter/GenericFunctions.ts @@ -1,13 +1,13 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { +import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions, IPollFunctions, } from 'n8n-core'; -import { IDataObject } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; import { get } from 'lodash'; diff --git a/packages/nodes-base/nodes/Venafi/Datacenter/PolicyDescription.ts b/packages/nodes-base/nodes/Venafi/Datacenter/PolicyDescription.ts index e52df57c0a..37407ef0fd 100644 --- a/packages/nodes-base/nodes/Venafi/Datacenter/PolicyDescription.ts +++ b/packages/nodes-base/nodes/Venafi/Datacenter/PolicyDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const policyOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Venafi/Datacenter/VenafiTlsProtectDatacenter.node.ts b/packages/nodes-base/nodes/Venafi/Datacenter/VenafiTlsProtectDatacenter.node.ts index b4a2fc022b..6eb5b4fd0e 100644 --- a/packages/nodes-base/nodes/Venafi/Datacenter/VenafiTlsProtectDatacenter.node.ts +++ b/packages/nodes-base/nodes/Venafi/Datacenter/VenafiTlsProtectDatacenter.node.ts @@ -1,6 +1,11 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { + IDataObject, + INodeExecutionData, + INodeType, + INodeTypeDescription, +} from 'n8n-workflow'; import { venafiApiRequest, venafiApiRequestAllItems } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Venafi/Datacenter/VenafiTlsProtectDatacenterTrigger.node.ts b/packages/nodes-base/nodes/Venafi/Datacenter/VenafiTlsProtectDatacenterTrigger.node.ts index 0f66636db7..d8c0aba582 100644 --- a/packages/nodes-base/nodes/Venafi/Datacenter/VenafiTlsProtectDatacenterTrigger.node.ts +++ b/packages/nodes-base/nodes/Venafi/Datacenter/VenafiTlsProtectDatacenterTrigger.node.ts @@ -1,6 +1,11 @@ -import { IPollFunctions } from 'n8n-core'; +import type { IPollFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { + IDataObject, + INodeExecutionData, + INodeType, + INodeTypeDescription, +} from 'n8n-workflow'; import moment from 'moment'; diff --git a/packages/nodes-base/nodes/Venafi/ProtectCloud/CertificateDescription.ts b/packages/nodes-base/nodes/Venafi/ProtectCloud/CertificateDescription.ts index 6fdb627cb7..575a3ae6f9 100644 --- a/packages/nodes-base/nodes/Venafi/ProtectCloud/CertificateDescription.ts +++ b/packages/nodes-base/nodes/Venafi/ProtectCloud/CertificateDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const certificateOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Venafi/ProtectCloud/CertificateRequestDescription.ts b/packages/nodes-base/nodes/Venafi/ProtectCloud/CertificateRequestDescription.ts index 99dacb3da6..9090c78dd5 100644 --- a/packages/nodes-base/nodes/Venafi/ProtectCloud/CertificateRequestDescription.ts +++ b/packages/nodes-base/nodes/Venafi/ProtectCloud/CertificateRequestDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const certificateRequestOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Venafi/ProtectCloud/GenericFunctions.ts b/packages/nodes-base/nodes/Venafi/ProtectCloud/GenericFunctions.ts index a7f0d76265..99f454bd06 100644 --- a/packages/nodes-base/nodes/Venafi/ProtectCloud/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Venafi/ProtectCloud/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject, IHookFunctions, JsonObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject, IHookFunctions, JsonObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; import { get } from 'lodash'; diff --git a/packages/nodes-base/nodes/Venafi/ProtectCloud/VenafiTlsProtectCloud.node.ts b/packages/nodes-base/nodes/Venafi/ProtectCloud/VenafiTlsProtectCloud.node.ts index 3881eb5f76..7c717069c7 100644 --- a/packages/nodes-base/nodes/Venafi/ProtectCloud/VenafiTlsProtectCloud.node.ts +++ b/packages/nodes-base/nodes/Venafi/ProtectCloud/VenafiTlsProtectCloud.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, @@ -18,7 +18,7 @@ import { certificateRequestOperations, } from './CertificateRequestDescription'; -import { +import type { ICertficateKeystoreRequest, ICertficateRequest, ICsrAttributes, diff --git a/packages/nodes-base/nodes/Venafi/ProtectCloud/VenafiTlsProtectCloudTrigger.node.ts b/packages/nodes-base/nodes/Venafi/ProtectCloud/VenafiTlsProtectCloudTrigger.node.ts index e546f17d09..879b875537 100644 --- a/packages/nodes-base/nodes/Venafi/ProtectCloud/VenafiTlsProtectCloudTrigger.node.ts +++ b/packages/nodes-base/nodes/Venafi/ProtectCloud/VenafiTlsProtectCloudTrigger.node.ts @@ -1,4 +1,4 @@ -import { +import type { IHookFunctions, ILoadOptionsFunctions, INodePropertyOptions, diff --git a/packages/nodes-base/nodes/Vero/EventDescripion.ts b/packages/nodes-base/nodes/Vero/EventDescripion.ts index c5794826f7..dd3a0efee4 100644 --- a/packages/nodes-base/nodes/Vero/EventDescripion.ts +++ b/packages/nodes-base/nodes/Vero/EventDescripion.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const eventOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Vero/GenericFunctions.ts b/packages/nodes-base/nodes/Vero/GenericFunctions.ts index 2bf80d7b93..6654964d2c 100644 --- a/packages/nodes-base/nodes/Vero/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Vero/GenericFunctions.ts @@ -1,6 +1,7 @@ -import { OptionsWithUri } from 'request'; -import { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { OptionsWithUri } from 'request'; +import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function veroApiRequest( this: IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Vero/UserDescription.ts b/packages/nodes-base/nodes/Vero/UserDescription.ts index 5530573f93..2a58981006 100644 --- a/packages/nodes-base/nodes/Vero/UserDescription.ts +++ b/packages/nodes-base/nodes/Vero/UserDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const userOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Vero/Vero.node.ts b/packages/nodes-base/nodes/Vero/Vero.node.ts index 6707fe0ec6..d0ae43aaa6 100644 --- a/packages/nodes-base/nodes/Vero/Vero.node.ts +++ b/packages/nodes-base/nodes/Vero/Vero.node.ts @@ -1,11 +1,11 @@ -import { IExecuteFunctions } from 'n8n-core'; -import { +import type { IExecuteFunctions } from 'n8n-core'; +import type { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription, - NodeApiError, } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; import { validateJSON, veroApiRequest } from './GenericFunctions'; import { userFields, userOperations } from './UserDescription'; import { eventFields, eventOperations } from './EventDescripion'; diff --git a/packages/nodes-base/nodes/Vonage/GenericFunctions.ts b/packages/nodes-base/nodes/Vonage/GenericFunctions.ts index e0bb72d37d..8330cea740 100644 --- a/packages/nodes-base/nodes/Vonage/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Vonage/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function vonageApiRequest( this: IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Vonage/Vonage.node.ts b/packages/nodes-base/nodes/Vonage/Vonage.node.ts index 25ce2a0dc7..1c82179443 100644 --- a/packages/nodes-base/nodes/Vonage/Vonage.node.ts +++ b/packages/nodes-base/nodes/Vonage/Vonage.node.ts @@ -1,6 +1,11 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { + IDataObject, + INodeExecutionData, + INodeType, + INodeTypeDescription, +} from 'n8n-workflow'; import { vonageApiRequest } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Wait/Wait.node.ts b/packages/nodes-base/nodes/Wait/Wait.node.ts index b164ff9b0e..f8527fd4f5 100644 --- a/packages/nodes-base/nodes/Wait/Wait.node.ts +++ b/packages/nodes-base/nodes/Wait/Wait.node.ts @@ -1,6 +1,7 @@ -import { BINARY_ENCODING, IExecuteFunctions, WAIT_TIME_UNLIMITED } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; +import { BINARY_ENCODING, WAIT_TIME_UNLIMITED } from 'n8n-core'; -import { +import type { ICredentialDataDecryptedObject, IDataObject, INodeExecutionData, @@ -8,8 +9,8 @@ import { INodeTypeDescription, IWebhookFunctions, IWebhookResponseData, - NodeOperationError, } from 'n8n-workflow'; +import { 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 e0699f4a6e..1a49358f91 100644 --- a/packages/nodes-base/nodes/Webflow/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Webflow/GenericFunctions.ts @@ -1,13 +1,13 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { +import type { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions, IWebhookFunctions, } from 'n8n-core'; -import { IDataObject } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; export async function webflowApiRequest( this: IHookFunctions | IExecuteFunctions | ILoadOptionsFunctions | IWebhookFunctions, diff --git a/packages/nodes-base/nodes/Webflow/ItemDescription.ts b/packages/nodes-base/nodes/Webflow/ItemDescription.ts index 3eaa2a9d2d..492497d6ef 100644 --- a/packages/nodes-base/nodes/Webflow/ItemDescription.ts +++ b/packages/nodes-base/nodes/Webflow/ItemDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const itemOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Webflow/Webflow.node.ts b/packages/nodes-base/nodes/Webflow/Webflow.node.ts index 3cc7e22d8a..5c7036f57c 100644 --- a/packages/nodes-base/nodes/Webflow/Webflow.node.ts +++ b/packages/nodes-base/nodes/Webflow/Webflow.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Webflow/WebflowTrigger.node.ts b/packages/nodes-base/nodes/Webflow/WebflowTrigger.node.ts index 403077681a..580db4d532 100644 --- a/packages/nodes-base/nodes/Webflow/WebflowTrigger.node.ts +++ b/packages/nodes-base/nodes/Webflow/WebflowTrigger.node.ts @@ -1,6 +1,6 @@ -import { IHookFunctions, IWebhookFunctions } from 'n8n-core'; +import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodePropertyOptions, diff --git a/packages/nodes-base/nodes/Webhook/Webhook.node.ts b/packages/nodes-base/nodes/Webhook/Webhook.node.ts index 2e9d4d2134..c9f6f165ec 100644 --- a/packages/nodes-base/nodes/Webhook/Webhook.node.ts +++ b/packages/nodes-base/nodes/Webhook/Webhook.node.ts @@ -1,14 +1,15 @@ -import { BINARY_ENCODING, IWebhookFunctions } from 'n8n-core'; +import type { IWebhookFunctions } from 'n8n-core'; +import { BINARY_ENCODING } from 'n8n-core'; -import { +import type { ICredentialDataDecryptedObject, IDataObject, INodeExecutionData, INodeType, INodeTypeDescription, IWebhookResponseData, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import fs from 'fs'; import stream from 'stream'; diff --git a/packages/nodes-base/nodes/Wekan/BoardDescription.ts b/packages/nodes-base/nodes/Wekan/BoardDescription.ts index a084eb7a20..4fa7ed277e 100644 --- a/packages/nodes-base/nodes/Wekan/BoardDescription.ts +++ b/packages/nodes-base/nodes/Wekan/BoardDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const boardOperations: INodeProperties[] = [ // ---------------------------------- diff --git a/packages/nodes-base/nodes/Wekan/CardCommentDescription.ts b/packages/nodes-base/nodes/Wekan/CardCommentDescription.ts index 04b6c2620f..6cf188a0aa 100644 --- a/packages/nodes-base/nodes/Wekan/CardCommentDescription.ts +++ b/packages/nodes-base/nodes/Wekan/CardCommentDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const cardCommentOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Wekan/CardDescription.ts b/packages/nodes-base/nodes/Wekan/CardDescription.ts index fdd049e7c6..54d607f253 100644 --- a/packages/nodes-base/nodes/Wekan/CardDescription.ts +++ b/packages/nodes-base/nodes/Wekan/CardDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const cardOperations: INodeProperties[] = [ // ---------------------------------- diff --git a/packages/nodes-base/nodes/Wekan/ChecklistDescription.ts b/packages/nodes-base/nodes/Wekan/ChecklistDescription.ts index 317561d35b..b2db9e3062 100644 --- a/packages/nodes-base/nodes/Wekan/ChecklistDescription.ts +++ b/packages/nodes-base/nodes/Wekan/ChecklistDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const checklistOperations: INodeProperties[] = [ // ---------------------------------- diff --git a/packages/nodes-base/nodes/Wekan/ChecklistItemDescription.ts b/packages/nodes-base/nodes/Wekan/ChecklistItemDescription.ts index 25c756cd94..abec489325 100644 --- a/packages/nodes-base/nodes/Wekan/ChecklistItemDescription.ts +++ b/packages/nodes-base/nodes/Wekan/ChecklistItemDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const checklistItemOperations: INodeProperties[] = [ // ---------------------------------- diff --git a/packages/nodes-base/nodes/Wekan/GenericFunctions.ts b/packages/nodes-base/nodes/Wekan/GenericFunctions.ts index a96bc99153..88f919571f 100644 --- a/packages/nodes-base/nodes/Wekan/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Wekan/GenericFunctions.ts @@ -1,8 +1,8 @@ -import { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IDataObject } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; export async function apiRequest( this: IHookFunctions | IExecuteFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Wekan/ListDescription.ts b/packages/nodes-base/nodes/Wekan/ListDescription.ts index d8d0231628..b7d82ce30a 100644 --- a/packages/nodes-base/nodes/Wekan/ListDescription.ts +++ b/packages/nodes-base/nodes/Wekan/ListDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const listOperations: INodeProperties[] = [ // ---------------------------------- diff --git a/packages/nodes-base/nodes/Wekan/Wekan.node.ts b/packages/nodes-base/nodes/Wekan/Wekan.node.ts index 4d65d24ece..8a4c2c69b5 100644 --- a/packages/nodes-base/nodes/Wekan/Wekan.node.ts +++ b/packages/nodes-base/nodes/Wekan/Wekan.node.ts @@ -1,14 +1,14 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, INodePropertyOptions, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { apiRequest } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/WhatsApp/MediaDescription.ts b/packages/nodes-base/nodes/WhatsApp/MediaDescription.ts index 4d3bee8a36..48ef7dd377 100644 --- a/packages/nodes-base/nodes/WhatsApp/MediaDescription.ts +++ b/packages/nodes-base/nodes/WhatsApp/MediaDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { setupUpload } from './MediaFunctions'; export const mediaFields: INodeProperties[] = [ diff --git a/packages/nodes-base/nodes/WhatsApp/MediaFunctions.ts b/packages/nodes-base/nodes/WhatsApp/MediaFunctions.ts index 1e3d8a32ac..c2f1624228 100644 --- a/packages/nodes-base/nodes/WhatsApp/MediaFunctions.ts +++ b/packages/nodes-base/nodes/WhatsApp/MediaFunctions.ts @@ -1,9 +1,5 @@ -import { - IDataObject, - IExecuteSingleFunctions, - IHttpRequestOptions, - NodeOperationError, -} from 'n8n-workflow'; +import type { IDataObject, IExecuteSingleFunctions, IHttpRequestOptions } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import FormData from 'form-data'; diff --git a/packages/nodes-base/nodes/WhatsApp/MessageFunctions.ts b/packages/nodes-base/nodes/WhatsApp/MessageFunctions.ts index 98508b8772..09aafd989c 100644 --- a/packages/nodes-base/nodes/WhatsApp/MessageFunctions.ts +++ b/packages/nodes-base/nodes/WhatsApp/MessageFunctions.ts @@ -1,15 +1,14 @@ import set from 'lodash.set'; import { BinaryDataManager } from 'n8n-core'; -import { +import type { IDataObject, IExecuteSingleFunctions, IHttpRequestOptions, IN8nHttpFullResponse, INodeExecutionData, JsonObject, - NodeApiError, - NodeOperationError, } from 'n8n-workflow'; +import { NodeApiError, NodeOperationError } from 'n8n-workflow'; import FormData from 'form-data'; diff --git a/packages/nodes-base/nodes/WhatsApp/MessagesDescription.ts b/packages/nodes-base/nodes/WhatsApp/MessagesDescription.ts index 4fbd9a5a40..4c717042d1 100644 --- a/packages/nodes-base/nodes/WhatsApp/MessagesDescription.ts +++ b/packages/nodes-base/nodes/WhatsApp/MessagesDescription.ts @@ -1,5 +1,5 @@ import countryCodes from 'currency-codes'; -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { cleanPhoneNumber, componentsRequest, diff --git a/packages/nodes-base/nodes/WhatsApp/WhatsApp.node.ts b/packages/nodes-base/nodes/WhatsApp/WhatsApp.node.ts index a1a9f8c979..ed30f1d851 100644 --- a/packages/nodes-base/nodes/WhatsApp/WhatsApp.node.ts +++ b/packages/nodes-base/nodes/WhatsApp/WhatsApp.node.ts @@ -1,4 +1,4 @@ -import { INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { INodeType, INodeTypeDescription } from 'n8n-workflow'; import { messageFields, messageTypeFields } from './MessagesDescription'; import { mediaFields, mediaTypeFields } from './MediaDescription'; diff --git a/packages/nodes-base/nodes/Wise/GenericFunctions.ts b/packages/nodes-base/nodes/Wise/GenericFunctions.ts index be10658cd4..0390987710 100644 --- a/packages/nodes-base/nodes/Wise/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Wise/GenericFunctions.ts @@ -1,13 +1,9 @@ import { createSign } from 'crypto'; -import { IExecuteFunctions, IHookFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IHookFunctions } from 'n8n-core'; -import { - IDataObject, - IHttpRequestOptions, - ILoadOptionsFunctions, - NodeApiError, -} from 'n8n-workflow'; +import type { IDataObject, IHttpRequestOptions, ILoadOptionsFunctions } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; /** * Make an authenticated API request to Wise. diff --git a/packages/nodes-base/nodes/Wise/Wise.node.ts b/packages/nodes-base/nodes/Wise/Wise.node.ts index 46705feb7a..133b562806 100644 --- a/packages/nodes-base/nodes/Wise/Wise.node.ts +++ b/packages/nodes-base/nodes/Wise/Wise.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodePropertyOptions, @@ -23,15 +23,15 @@ import { transferOperations, } from './descriptions'; -import { +import type { BorderlessAccount, ExchangeRateAdditionalFields, Profile, Recipient, StatementAdditionalFields, TransferFilters, - wiseApiRequest, } from './GenericFunctions'; +import { wiseApiRequest } from './GenericFunctions'; import { omit } from 'lodash'; diff --git a/packages/nodes-base/nodes/Wise/WiseTrigger.node.ts b/packages/nodes-base/nodes/Wise/WiseTrigger.node.ts index 2a489cba74..2245abd3f5 100644 --- a/packages/nodes-base/nodes/Wise/WiseTrigger.node.ts +++ b/packages/nodes-base/nodes/Wise/WiseTrigger.node.ts @@ -1,6 +1,6 @@ -import { IHookFunctions, IWebhookFunctions } from 'n8n-core'; +import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeType, @@ -8,13 +8,8 @@ import { IWebhookResponseData, } from 'n8n-workflow'; -import { - getTriggerName, - livePublicKey, - Profile, - testPublicKey, - wiseApiRequest, -} from './GenericFunctions'; +import type { Profile } from './GenericFunctions'; +import { getTriggerName, livePublicKey, testPublicKey, wiseApiRequest } from './GenericFunctions'; import { createVerify } from 'crypto'; diff --git a/packages/nodes-base/nodes/Wise/descriptions/AccountDescription.ts b/packages/nodes-base/nodes/Wise/descriptions/AccountDescription.ts index 9791921bc5..00101da4b3 100644 --- a/packages/nodes-base/nodes/Wise/descriptions/AccountDescription.ts +++ b/packages/nodes-base/nodes/Wise/descriptions/AccountDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const accountOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Wise/descriptions/ExchangeRateDescription.ts b/packages/nodes-base/nodes/Wise/descriptions/ExchangeRateDescription.ts index 6517deb1ee..1f6d6e11e3 100644 --- a/packages/nodes-base/nodes/Wise/descriptions/ExchangeRateDescription.ts +++ b/packages/nodes-base/nodes/Wise/descriptions/ExchangeRateDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const exchangeRateOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Wise/descriptions/ProfileDescription.ts b/packages/nodes-base/nodes/Wise/descriptions/ProfileDescription.ts index 7622457fff..5290ea7dcf 100644 --- a/packages/nodes-base/nodes/Wise/descriptions/ProfileDescription.ts +++ b/packages/nodes-base/nodes/Wise/descriptions/ProfileDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const profileOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Wise/descriptions/QuoteDescription.ts b/packages/nodes-base/nodes/Wise/descriptions/QuoteDescription.ts index 5d73bee875..4264ec9a8e 100644 --- a/packages/nodes-base/nodes/Wise/descriptions/QuoteDescription.ts +++ b/packages/nodes-base/nodes/Wise/descriptions/QuoteDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const quoteOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Wise/descriptions/RecipientDescription.ts b/packages/nodes-base/nodes/Wise/descriptions/RecipientDescription.ts index 1398923b1d..8faed286d4 100644 --- a/packages/nodes-base/nodes/Wise/descriptions/RecipientDescription.ts +++ b/packages/nodes-base/nodes/Wise/descriptions/RecipientDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const recipientOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Wise/descriptions/TransferDescription.ts b/packages/nodes-base/nodes/Wise/descriptions/TransferDescription.ts index 87f43e5865..5d9f0a2d95 100644 --- a/packages/nodes-base/nodes/Wise/descriptions/TransferDescription.ts +++ b/packages/nodes-base/nodes/Wise/descriptions/TransferDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const transferOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/WooCommerce/GenericFunctions.ts b/packages/nodes-base/nodes/WooCommerce/GenericFunctions.ts index fa4b499bde..de809e029b 100644 --- a/packages/nodes-base/nodes/WooCommerce/GenericFunctions.ts +++ b/packages/nodes-base/nodes/WooCommerce/GenericFunctions.ts @@ -1,6 +1,6 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { +import type { IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, @@ -8,9 +8,9 @@ import { IWebhookFunctions, } from 'n8n-core'; -import { ICredentialDataDecryptedObject, IDataObject } from 'n8n-workflow'; +import type { ICredentialDataDecryptedObject, IDataObject } from 'n8n-workflow'; -import { ICouponLine, IFeeLine, ILineItem, IShoppingLine } from './OrderInterface'; +import type { ICouponLine, IFeeLine, ILineItem, IShoppingLine } from './OrderInterface'; import { createHash } from 'crypto'; diff --git a/packages/nodes-base/nodes/WooCommerce/OrderDescription.ts b/packages/nodes-base/nodes/WooCommerce/OrderDescription.ts index e2dd2ac7be..d8318b467e 100644 --- a/packages/nodes-base/nodes/WooCommerce/OrderDescription.ts +++ b/packages/nodes-base/nodes/WooCommerce/OrderDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const orderOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/WooCommerce/OrderInterface.ts b/packages/nodes-base/nodes/WooCommerce/OrderInterface.ts index cf1466d0a8..645887e489 100644 --- a/packages/nodes-base/nodes/WooCommerce/OrderInterface.ts +++ b/packages/nodes-base/nodes/WooCommerce/OrderInterface.ts @@ -1,4 +1,4 @@ -import { IDataObject } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; export interface IAddress { first_name?: string; diff --git a/packages/nodes-base/nodes/WooCommerce/ProductDescription.ts b/packages/nodes-base/nodes/WooCommerce/ProductDescription.ts index 0b07fe09e4..575ad584fd 100644 --- a/packages/nodes-base/nodes/WooCommerce/ProductDescription.ts +++ b/packages/nodes-base/nodes/WooCommerce/ProductDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const productOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/WooCommerce/ProductInterface.ts b/packages/nodes-base/nodes/WooCommerce/ProductInterface.ts index b68e2a4661..376b8d5b95 100644 --- a/packages/nodes-base/nodes/WooCommerce/ProductInterface.ts +++ b/packages/nodes-base/nodes/WooCommerce/ProductInterface.ts @@ -1,4 +1,4 @@ -import { IDataObject } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; export interface IDimension { height?: string; diff --git a/packages/nodes-base/nodes/WooCommerce/WooCommerce.node.ts b/packages/nodes-base/nodes/WooCommerce/WooCommerce.node.ts index 484dd7ec7b..6702ffcc18 100644 --- a/packages/nodes-base/nodes/WooCommerce/WooCommerce.node.ts +++ b/packages/nodes-base/nodes/WooCommerce/WooCommerce.node.ts @@ -1,5 +1,5 @@ -import { IExecuteFunctions } from 'n8n-core'; -import { +import type { IExecuteFunctions } from 'n8n-core'; +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, @@ -17,8 +17,8 @@ import { } from './GenericFunctions'; import { productFields, productOperations } from './ProductDescription'; import { orderFields, orderOperations } from './OrderDescription'; -import { IDimension, IImage, IProduct } from './ProductInterface'; -import { +import type { IDimension, IImage, IProduct } from './ProductInterface'; +import type { IAddress, ICouponLine, IFeeLine, diff --git a/packages/nodes-base/nodes/WooCommerce/WooCommerceTrigger.node.ts b/packages/nodes-base/nodes/WooCommerce/WooCommerceTrigger.node.ts index 56209c5a18..cbc5a3b280 100644 --- a/packages/nodes-base/nodes/WooCommerce/WooCommerceTrigger.node.ts +++ b/packages/nodes-base/nodes/WooCommerce/WooCommerceTrigger.node.ts @@ -1,6 +1,11 @@ -import { IHookFunctions, IWebhookFunctions } from 'n8n-core'; +import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; -import { IDataObject, INodeType, INodeTypeDescription, IWebhookResponseData } from 'n8n-workflow'; +import type { + IDataObject, + INodeType, + INodeTypeDescription, + IWebhookResponseData, +} from 'n8n-workflow'; import { getAutomaticSecret, woocommerceApiRequest } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/WooCommerce/descriptions/CustomerDescription.ts b/packages/nodes-base/nodes/WooCommerce/descriptions/CustomerDescription.ts index 05d09e5ea7..65a8e01888 100644 --- a/packages/nodes-base/nodes/WooCommerce/descriptions/CustomerDescription.ts +++ b/packages/nodes-base/nodes/WooCommerce/descriptions/CustomerDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { customerCreateFields, customerUpdateFields } from './shared'; diff --git a/packages/nodes-base/nodes/WooCommerce/descriptions/shared.ts b/packages/nodes-base/nodes/WooCommerce/descriptions/shared.ts index 01d2c4dbf3..f8abfb822e 100644 --- a/packages/nodes-base/nodes/WooCommerce/descriptions/shared.ts +++ b/packages/nodes-base/nodes/WooCommerce/descriptions/shared.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; const customerAddressOptions: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Wordpress/GenericFunctions.ts b/packages/nodes-base/nodes/Wordpress/GenericFunctions.ts index bfcf68b0da..de77b7c117 100644 --- a/packages/nodes-base/nodes/Wordpress/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Wordpress/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function wordpressApiRequest( this: IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Wordpress/PostDescription.ts b/packages/nodes-base/nodes/Wordpress/PostDescription.ts index 98867a3ae2..ee4659afad 100644 --- a/packages/nodes-base/nodes/Wordpress/PostDescription.ts +++ b/packages/nodes-base/nodes/Wordpress/PostDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const postOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Wordpress/UserDescription.ts b/packages/nodes-base/nodes/Wordpress/UserDescription.ts index f669d9aace..fcc72b3989 100644 --- a/packages/nodes-base/nodes/Wordpress/UserDescription.ts +++ b/packages/nodes-base/nodes/Wordpress/UserDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const userOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Wordpress/Wordpress.node.ts b/packages/nodes-base/nodes/Wordpress/Wordpress.node.ts index acf216dfc5..2dcc16c19b 100644 --- a/packages/nodes-base/nodes/Wordpress/Wordpress.node.ts +++ b/packages/nodes-base/nodes/Wordpress/Wordpress.node.ts @@ -1,5 +1,5 @@ -import { IExecuteFunctions } from 'n8n-core'; -import { +import type { IExecuteFunctions } from 'n8n-core'; +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, @@ -10,8 +10,8 @@ import { import { wordpressApiRequest, wordpressApiRequestAllItems } from './GenericFunctions'; import { postFields, postOperations } from './PostDescription'; import { userFields, userOperations } from './UserDescription'; -import { IPost } from './PostInterface'; -import { IUser } from './UserInterface'; +import type { IPost } from './PostInterface'; +import type { IUser } from './UserInterface'; export class Wordpress implements INodeType { description: INodeTypeDescription = { diff --git a/packages/nodes-base/nodes/Workable/GenericFunctions.ts b/packages/nodes-base/nodes/Workable/GenericFunctions.ts index baa63e27eb..6bb20d4320 100644 --- a/packages/nodes-base/nodes/Workable/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Workable/GenericFunctions.ts @@ -1,13 +1,14 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { +import type { IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function workableApiRequest( this: IHookFunctions | IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Workable/WorkableTrigger.node.ts b/packages/nodes-base/nodes/Workable/WorkableTrigger.node.ts index 463b8c2e30..52367a965d 100644 --- a/packages/nodes-base/nodes/Workable/WorkableTrigger.node.ts +++ b/packages/nodes-base/nodes/Workable/WorkableTrigger.node.ts @@ -1,6 +1,6 @@ -import { IHookFunctions, IWebhookFunctions } from 'n8n-core'; +import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodePropertyOptions, diff --git a/packages/nodes-base/nodes/WorkflowTrigger/WorkflowTrigger.node.ts b/packages/nodes-base/nodes/WorkflowTrigger/WorkflowTrigger.node.ts index 64a2e851c0..4cc89edf9e 100644 --- a/packages/nodes-base/nodes/WorkflowTrigger/WorkflowTrigger.node.ts +++ b/packages/nodes-base/nodes/WorkflowTrigger/WorkflowTrigger.node.ts @@ -1,5 +1,5 @@ -import { ITriggerFunctions } from 'n8n-core'; -import { INodeType, INodeTypeDescription, ITriggerResponse } from 'n8n-workflow'; +import type { ITriggerFunctions } from 'n8n-core'; +import type { 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 bc52ca9039..3f84fb82ac 100644 --- a/packages/nodes-base/nodes/WriteBinaryFile/WriteBinaryFile.node.ts +++ b/packages/nodes-base/nodes/WriteBinaryFile/WriteBinaryFile.node.ts @@ -1,10 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; -import { - INodeExecutionData, - INodeType, - INodeTypeDescription, - NodeOperationError, -} from 'n8n-workflow'; +import type { IExecuteFunctions } from 'n8n-core'; +import type { INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { writeFile as fsWriteFile } from 'fs/promises'; diff --git a/packages/nodes-base/nodes/Wufoo/GenericFunctions.ts b/packages/nodes-base/nodes/Wufoo/GenericFunctions.ts index 456266b4c6..d1a4173d22 100644 --- a/packages/nodes-base/nodes/Wufoo/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Wufoo/GenericFunctions.ts @@ -1,13 +1,13 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { +import type { IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, } from 'n8n-core'; -import { IDataObject } from 'n8n-workflow'; +import type { IDataObject } 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 63f02a72bb..e427fd132b 100644 --- a/packages/nodes-base/nodes/Wufoo/WufooTrigger.node.ts +++ b/packages/nodes-base/nodes/Wufoo/WufooTrigger.node.ts @@ -1,18 +1,18 @@ -import { IHookFunctions, IWebhookFunctions } from 'n8n-core'; +import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodePropertyOptions, INodeType, INodeTypeDescription, IWebhookResponseData, - jsonParse, } from 'n8n-workflow'; +import { jsonParse } from 'n8n-workflow'; import { wufooApiRequest } from './GenericFunctions'; -import { IField, IWebhook } from './Interface'; +import type { IField, IWebhook } from './Interface'; import { randomBytes } from 'crypto'; diff --git a/packages/nodes-base/nodes/Xero/ContactDescription.ts b/packages/nodes-base/nodes/Xero/ContactDescription.ts index a1db35d3ef..36831a74f1 100644 --- a/packages/nodes-base/nodes/Xero/ContactDescription.ts +++ b/packages/nodes-base/nodes/Xero/ContactDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const contactOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Xero/GenericFunctions.ts b/packages/nodes-base/nodes/Xero/GenericFunctions.ts index cb99717f43..ff6f3ab088 100644 --- a/packages/nodes-base/nodes/Xero/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Xero/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject, JsonObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject, JsonObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function xeroApiRequest( this: IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Xero/InvoiceDescription.ts b/packages/nodes-base/nodes/Xero/InvoiceDescription.ts index bbe67b8217..394ab5fb03 100644 --- a/packages/nodes-base/nodes/Xero/InvoiceDescription.ts +++ b/packages/nodes-base/nodes/Xero/InvoiceDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const invoiceOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Xero/InvoiceInterface.ts b/packages/nodes-base/nodes/Xero/InvoiceInterface.ts index 270ff9ec3f..ebb48063d9 100644 --- a/packages/nodes-base/nodes/Xero/InvoiceInterface.ts +++ b/packages/nodes-base/nodes/Xero/InvoiceInterface.ts @@ -1,4 +1,4 @@ -import { IDataObject } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; export interface ILineItem { Description?: string; diff --git a/packages/nodes-base/nodes/Xero/Xero.node.ts b/packages/nodes-base/nodes/Xero/Xero.node.ts index 1d712e3fd8..cc16e033b9 100644 --- a/packages/nodes-base/nodes/Xero/Xero.node.ts +++ b/packages/nodes-base/nodes/Xero/Xero.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, @@ -16,9 +16,9 @@ import { invoiceFields, invoiceOperations } from './InvoiceDescription'; import { contactFields, contactOperations } from './ContactDescription'; -import { IInvoice, ILineItem } from './InvoiceInterface'; +import type { IInvoice, ILineItem } from './InvoiceInterface'; -import { IAddress, IContact, IPhone } from './IContactInterface'; +import type { IAddress, IContact, IPhone } from './IContactInterface'; export class Xero implements INodeType { description: INodeTypeDescription = { diff --git a/packages/nodes-base/nodes/Xml/Xml.node.ts b/packages/nodes-base/nodes/Xml/Xml.node.ts index a69b1cf8bd..3efc095695 100644 --- a/packages/nodes-base/nodes/Xml/Xml.node.ts +++ b/packages/nodes-base/nodes/Xml/Xml.node.ts @@ -1,11 +1,7 @@ import { Builder, Parser } from 'xml2js'; -import { IExecuteFunctions } from 'n8n-core'; -import { - INodeExecutionData, - INodeType, - INodeTypeDescription, - NodeOperationError, -} from 'n8n-workflow'; +import type { IExecuteFunctions } from 'n8n-core'; +import type { INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; export class Xml implements INodeType { description: INodeTypeDescription = { diff --git a/packages/nodes-base/nodes/Yourls/GenericFunctions.ts b/packages/nodes-base/nodes/Yourls/GenericFunctions.ts index 3c15e70b21..71f9cfd6ae 100644 --- a/packages/nodes-base/nodes/Yourls/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Yourls/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject, NodeApiError, NodeOperationError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError, NodeOperationError } from 'n8n-workflow'; export async function yourlsApiRequest( this: IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Yourls/UrlDescription.ts b/packages/nodes-base/nodes/Yourls/UrlDescription.ts index 2abb1155fd..44a1f1cb7e 100644 --- a/packages/nodes-base/nodes/Yourls/UrlDescription.ts +++ b/packages/nodes-base/nodes/Yourls/UrlDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const urlOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Yourls/Yourls.node.ts b/packages/nodes-base/nodes/Yourls/Yourls.node.ts index 7a11df46d1..2bd866fbec 100644 --- a/packages/nodes-base/nodes/Yourls/Yourls.node.ts +++ b/packages/nodes-base/nodes/Yourls/Yourls.node.ts @@ -1,6 +1,11 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; +import type { + IDataObject, + INodeExecutionData, + INodeType, + INodeTypeDescription, +} from 'n8n-workflow'; import { yourlsApiRequest } from './GenericFunctions'; diff --git a/packages/nodes-base/nodes/Zammad/GenericFunctions.ts b/packages/nodes-base/nodes/Zammad/GenericFunctions.ts index 52753ce886..b339a6d4cd 100644 --- a/packages/nodes-base/nodes/Zammad/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Zammad/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { IDataObject, ILoadOptionsFunctions, NodeApiError, NodeOperationError } from 'n8n-workflow'; +import type { IDataObject, ILoadOptionsFunctions } from 'n8n-workflow'; +import { NodeApiError, NodeOperationError } from 'n8n-workflow'; -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; import { flow } from 'lodash'; diff --git a/packages/nodes-base/nodes/Zammad/Zammad.node.ts b/packages/nodes-base/nodes/Zammad/Zammad.node.ts index 61fda8bd1f..7ce7f65564 100644 --- a/packages/nodes-base/nodes/Zammad/Zammad.node.ts +++ b/packages/nodes-base/nodes/Zammad/Zammad.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { ICredentialsDecrypted, ICredentialTestFunctions, IDataObject, @@ -9,10 +9,10 @@ import { INodeExecutionData, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; import { groupDescription, diff --git a/packages/nodes-base/nodes/Zammad/descriptions/GroupDescription.ts b/packages/nodes-base/nodes/Zammad/descriptions/GroupDescription.ts index 9911e7d7ad..24bfd6538d 100644 --- a/packages/nodes-base/nodes/Zammad/descriptions/GroupDescription.ts +++ b/packages/nodes-base/nodes/Zammad/descriptions/GroupDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const groupDescription: INodeProperties[] = [ // ---------------------------------- diff --git a/packages/nodes-base/nodes/Zammad/descriptions/OrganizationDescription.ts b/packages/nodes-base/nodes/Zammad/descriptions/OrganizationDescription.ts index 859eb3b19b..afa07c16e4 100644 --- a/packages/nodes-base/nodes/Zammad/descriptions/OrganizationDescription.ts +++ b/packages/nodes-base/nodes/Zammad/descriptions/OrganizationDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const organizationDescription: INodeProperties[] = [ // ---------------------------------- diff --git a/packages/nodes-base/nodes/Zammad/descriptions/TicketDescription.ts b/packages/nodes-base/nodes/Zammad/descriptions/TicketDescription.ts index 4e26fd1107..882b2cac79 100644 --- a/packages/nodes-base/nodes/Zammad/descriptions/TicketDescription.ts +++ b/packages/nodes-base/nodes/Zammad/descriptions/TicketDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const ticketDescription: INodeProperties[] = [ // ---------------------------------- diff --git a/packages/nodes-base/nodes/Zammad/descriptions/UserDescription.ts b/packages/nodes-base/nodes/Zammad/descriptions/UserDescription.ts index bfbb0b1256..29014f3d74 100644 --- a/packages/nodes-base/nodes/Zammad/descriptions/UserDescription.ts +++ b/packages/nodes-base/nodes/Zammad/descriptions/UserDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const userDescription: INodeProperties[] = [ // ---------------------------------- diff --git a/packages/nodes-base/nodes/Zammad/types.d.ts b/packages/nodes-base/nodes/Zammad/types.d.ts index 4c11f2374b..e9cc72226f 100644 --- a/packages/nodes-base/nodes/Zammad/types.d.ts +++ b/packages/nodes-base/nodes/Zammad/types.d.ts @@ -1,4 +1,4 @@ -import { IDataObject } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; export declare namespace Zammad { export type Resource = 'group' | 'organization' | 'ticket' | 'user'; diff --git a/packages/nodes-base/nodes/Zendesk/ConditionDescription.ts b/packages/nodes-base/nodes/Zendesk/ConditionDescription.ts index cccffc0a65..d9e57ecae6 100644 --- a/packages/nodes-base/nodes/Zendesk/ConditionDescription.ts +++ b/packages/nodes-base/nodes/Zendesk/ConditionDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const conditionFields: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Zendesk/GenericFunctions.ts b/packages/nodes-base/nodes/Zendesk/GenericFunctions.ts index a8a383b6d0..e32b823757 100644 --- a/packages/nodes-base/nodes/Zendesk/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Zendesk/GenericFunctions.ts @@ -1,13 +1,13 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { +import type { IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, } from 'n8n-core'; -import { IDataObject } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; function getUri(resource: string, subdomain: string) { if (resource.includes('webhooks')) { diff --git a/packages/nodes-base/nodes/Zendesk/OrganizationDescription.ts b/packages/nodes-base/nodes/Zendesk/OrganizationDescription.ts index 62c02604d2..54fecb018d 100644 --- a/packages/nodes-base/nodes/Zendesk/OrganizationDescription.ts +++ b/packages/nodes-base/nodes/Zendesk/OrganizationDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const organizationOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Zendesk/TicketDescription.ts b/packages/nodes-base/nodes/Zendesk/TicketDescription.ts index 98f451642a..b0835995ae 100644 --- a/packages/nodes-base/nodes/Zendesk/TicketDescription.ts +++ b/packages/nodes-base/nodes/Zendesk/TicketDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const ticketOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Zendesk/TicketFieldDescription.ts b/packages/nodes-base/nodes/Zendesk/TicketFieldDescription.ts index 0104f29c94..20defd9e25 100644 --- a/packages/nodes-base/nodes/Zendesk/TicketFieldDescription.ts +++ b/packages/nodes-base/nodes/Zendesk/TicketFieldDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const ticketFieldOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Zendesk/TicketInterface.ts b/packages/nodes-base/nodes/Zendesk/TicketInterface.ts index daaf0085a6..79097931be 100644 --- a/packages/nodes-base/nodes/Zendesk/TicketInterface.ts +++ b/packages/nodes-base/nodes/Zendesk/TicketInterface.ts @@ -1,4 +1,4 @@ -import { IDataObject } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; export interface IComment { body?: string; diff --git a/packages/nodes-base/nodes/Zendesk/TriggerPlaceholders.ts b/packages/nodes-base/nodes/Zendesk/TriggerPlaceholders.ts index cf32c5d54c..5534e2505f 100644 --- a/packages/nodes-base/nodes/Zendesk/TriggerPlaceholders.ts +++ b/packages/nodes-base/nodes/Zendesk/TriggerPlaceholders.ts @@ -1,4 +1,4 @@ -import { INodePropertyOptions } from 'n8n-workflow'; +import type { INodePropertyOptions } from 'n8n-workflow'; export const triggerPlaceholders = [ { diff --git a/packages/nodes-base/nodes/Zendesk/UserDescription.ts b/packages/nodes-base/nodes/Zendesk/UserDescription.ts index 753f512def..d7651ecc97 100644 --- a/packages/nodes-base/nodes/Zendesk/UserDescription.ts +++ b/packages/nodes-base/nodes/Zendesk/UserDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const userOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Zendesk/Zendesk.node.ts b/packages/nodes-base/nodes/Zendesk/Zendesk.node.ts index 356c6af61b..9d0d40f3dc 100644 --- a/packages/nodes-base/nodes/Zendesk/Zendesk.node.ts +++ b/packages/nodes-base/nodes/Zendesk/Zendesk.node.ts @@ -1,15 +1,14 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, INodePropertyOptions, INodeType, INodeTypeDescription, - NodeApiError, - NodeOperationError, } from 'n8n-workflow'; +import { NodeApiError, NodeOperationError } from 'n8n-workflow'; import { validateJSON, zendeskApiRequest, zendeskApiRequestAllItems } from './GenericFunctions'; @@ -21,7 +20,7 @@ import { userFields, userOperations } from './UserDescription'; import { organizationFields, organizationOperations } from './OrganizationDescription'; -import { IComment, ITicket } from './TicketInterface'; +import type { IComment, ITicket } from './TicketInterface'; export class Zendesk implements INodeType { description: INodeTypeDescription = { diff --git a/packages/nodes-base/nodes/Zendesk/ZendeskTrigger.node.ts b/packages/nodes-base/nodes/Zendesk/ZendeskTrigger.node.ts index 789207d513..f7993da931 100644 --- a/packages/nodes-base/nodes/Zendesk/ZendeskTrigger.node.ts +++ b/packages/nodes-base/nodes/Zendesk/ZendeskTrigger.node.ts @@ -1,14 +1,14 @@ -import { IHookFunctions, IWebhookFunctions } from 'n8n-core'; +import type { IHookFunctions, IWebhookFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodePropertyOptions, INodeType, INodeTypeDescription, IWebhookResponseData, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { zendeskApiRequest, zendeskApiRequestAllItems } from './GenericFunctions'; import { conditionFields } from './ConditionDescription'; diff --git a/packages/nodes-base/nodes/Zoho/GenericFunctions.ts b/packages/nodes-base/nodes/Zoho/GenericFunctions.ts index 9506f99069..e1aa73e098 100644 --- a/packages/nodes-base/nodes/Zoho/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Zoho/GenericFunctions.ts @@ -1,12 +1,13 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions, IHookFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IHookFunctions } from 'n8n-core'; -import { IDataObject, ILoadOptionsFunctions, NodeApiError, NodeOperationError } from 'n8n-workflow'; +import type { IDataObject, ILoadOptionsFunctions } from 'n8n-workflow'; +import { NodeApiError, NodeOperationError } from 'n8n-workflow'; import { flow, sortBy } from 'lodash'; -import { +import type { AllFields, CamelCaseResource, DateType, diff --git a/packages/nodes-base/nodes/Zoho/ZohoCrm.node.ts b/packages/nodes-base/nodes/Zoho/ZohoCrm.node.ts index 601e7bb9fe..e4dff450d1 100644 --- a/packages/nodes-base/nodes/Zoho/ZohoCrm.node.ts +++ b/packages/nodes-base/nodes/Zoho/ZohoCrm.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, @@ -32,7 +32,7 @@ import { zohoApiRequestAllItems, } from './GenericFunctions'; -import { +import type { CamelCaseResource, GetAllFilterOptions, LoadedAccounts, diff --git a/packages/nodes-base/nodes/Zoho/descriptions/AccountDescription.ts b/packages/nodes-base/nodes/Zoho/descriptions/AccountDescription.ts index d2ee7b05f7..c75cd14812 100644 --- a/packages/nodes-base/nodes/Zoho/descriptions/AccountDescription.ts +++ b/packages/nodes-base/nodes/Zoho/descriptions/AccountDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { billingAddress, diff --git a/packages/nodes-base/nodes/Zoho/descriptions/ContactDescription.ts b/packages/nodes-base/nodes/Zoho/descriptions/ContactDescription.ts index db20c40ff6..a86166668a 100644 --- a/packages/nodes-base/nodes/Zoho/descriptions/ContactDescription.ts +++ b/packages/nodes-base/nodes/Zoho/descriptions/ContactDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { currencies, diff --git a/packages/nodes-base/nodes/Zoho/descriptions/DealDescription.ts b/packages/nodes-base/nodes/Zoho/descriptions/DealDescription.ts index c2678bd002..0357eb6230 100644 --- a/packages/nodes-base/nodes/Zoho/descriptions/DealDescription.ts +++ b/packages/nodes-base/nodes/Zoho/descriptions/DealDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { currencies, makeCustomFieldsFixedCollection, makeGetAllFields } from './SharedFields'; diff --git a/packages/nodes-base/nodes/Zoho/descriptions/InvoiceDescription.ts b/packages/nodes-base/nodes/Zoho/descriptions/InvoiceDescription.ts index f4ea8052e6..5d474855bf 100644 --- a/packages/nodes-base/nodes/Zoho/descriptions/InvoiceDescription.ts +++ b/packages/nodes-base/nodes/Zoho/descriptions/InvoiceDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { billingAddress, diff --git a/packages/nodes-base/nodes/Zoho/descriptions/LeadDescription.ts b/packages/nodes-base/nodes/Zoho/descriptions/LeadDescription.ts index 0c0fcef23a..b4fc7b0237 100644 --- a/packages/nodes-base/nodes/Zoho/descriptions/LeadDescription.ts +++ b/packages/nodes-base/nodes/Zoho/descriptions/LeadDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { address, diff --git a/packages/nodes-base/nodes/Zoho/descriptions/ProductDescription.ts b/packages/nodes-base/nodes/Zoho/descriptions/ProductDescription.ts index 83dc559f95..b35ec5a30e 100644 --- a/packages/nodes-base/nodes/Zoho/descriptions/ProductDescription.ts +++ b/packages/nodes-base/nodes/Zoho/descriptions/ProductDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { makeCustomFieldsFixedCollection, makeGetAllFields } from './SharedFields'; diff --git a/packages/nodes-base/nodes/Zoho/descriptions/PurchaseOrderDescription.ts b/packages/nodes-base/nodes/Zoho/descriptions/PurchaseOrderDescription.ts index c91d7555b0..e74657010f 100644 --- a/packages/nodes-base/nodes/Zoho/descriptions/PurchaseOrderDescription.ts +++ b/packages/nodes-base/nodes/Zoho/descriptions/PurchaseOrderDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { billingAddress, diff --git a/packages/nodes-base/nodes/Zoho/descriptions/QuoteDescription.ts b/packages/nodes-base/nodes/Zoho/descriptions/QuoteDescription.ts index aac8d4be04..36c8860bd6 100644 --- a/packages/nodes-base/nodes/Zoho/descriptions/QuoteDescription.ts +++ b/packages/nodes-base/nodes/Zoho/descriptions/QuoteDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { billingAddress, diff --git a/packages/nodes-base/nodes/Zoho/descriptions/SalesOrderDescription.ts b/packages/nodes-base/nodes/Zoho/descriptions/SalesOrderDescription.ts index 51869789a4..4e25e4b529 100644 --- a/packages/nodes-base/nodes/Zoho/descriptions/SalesOrderDescription.ts +++ b/packages/nodes-base/nodes/Zoho/descriptions/SalesOrderDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { billingAddress, diff --git a/packages/nodes-base/nodes/Zoho/descriptions/SharedFields.ts b/packages/nodes-base/nodes/Zoho/descriptions/SharedFields.ts index 4adcfd1ca2..8e8d632ae9 100644 --- a/packages/nodes-base/nodes/Zoho/descriptions/SharedFields.ts +++ b/packages/nodes-base/nodes/Zoho/descriptions/SharedFields.ts @@ -1,6 +1,6 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { capitalizeInitial } from '../GenericFunctions'; -import { CamelCaseResource } from '../types'; +import type { CamelCaseResource } from '../types'; export const billingAddress: INodeProperties = { displayName: 'Billing Address', diff --git a/packages/nodes-base/nodes/Zoho/descriptions/VendorDescription.ts b/packages/nodes-base/nodes/Zoho/descriptions/VendorDescription.ts index 8e7e04e1e6..a288e257a9 100644 --- a/packages/nodes-base/nodes/Zoho/descriptions/VendorDescription.ts +++ b/packages/nodes-base/nodes/Zoho/descriptions/VendorDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; import { address, diff --git a/packages/nodes-base/nodes/Zoho/types.d.ts b/packages/nodes-base/nodes/Zoho/types.d.ts index 5715facef9..564a8120fa 100644 --- a/packages/nodes-base/nodes/Zoho/types.d.ts +++ b/packages/nodes-base/nodes/Zoho/types.d.ts @@ -1,4 +1,4 @@ -import { IDataObject } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; // ---------------------------------------- // for generic functions diff --git a/packages/nodes-base/nodes/Zoom/GenericFunctions.ts b/packages/nodes-base/nodes/Zoom/GenericFunctions.ts index d1524c176c..a8484d8b6c 100644 --- a/packages/nodes-base/nodes/Zoom/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Zoom/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject, NodeApiError } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function zoomApiRequest( this: IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Zoom/MeetingDescription.ts b/packages/nodes-base/nodes/Zoom/MeetingDescription.ts index f367e76709..2faeea0160 100644 --- a/packages/nodes-base/nodes/Zoom/MeetingDescription.ts +++ b/packages/nodes-base/nodes/Zoom/MeetingDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const meetingOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Zoom/MeetingRegistrantDescription.ts b/packages/nodes-base/nodes/Zoom/MeetingRegistrantDescription.ts index 5ebe1572cf..4c882fba13 100644 --- a/packages/nodes-base/nodes/Zoom/MeetingRegistrantDescription.ts +++ b/packages/nodes-base/nodes/Zoom/MeetingRegistrantDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const meetingRegistrantOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Zoom/WebinarDescription.ts b/packages/nodes-base/nodes/Zoom/WebinarDescription.ts index 095c9fe387..f232b93494 100644 --- a/packages/nodes-base/nodes/Zoom/WebinarDescription.ts +++ b/packages/nodes-base/nodes/Zoom/WebinarDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const webinarOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Zoom/Zoom.node.ts b/packages/nodes-base/nodes/Zoom/Zoom.node.ts index f117866299..7479802a5f 100644 --- a/packages/nodes-base/nodes/Zoom/Zoom.node.ts +++ b/packages/nodes-base/nodes/Zoom/Zoom.node.ts @@ -1,6 +1,6 @@ -import { IExecuteFunctions } from 'n8n-core'; +import type { IExecuteFunctions } from 'n8n-core'; -import { +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, diff --git a/packages/nodes-base/nodes/Zulip/GenericFunctions.ts b/packages/nodes-base/nodes/Zulip/GenericFunctions.ts index 7c7735d716..378831c6f9 100644 --- a/packages/nodes-base/nodes/Zulip/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Zulip/GenericFunctions.ts @@ -1,8 +1,9 @@ -import { OptionsWithUri } from 'request'; +import type { OptionsWithUri } from 'request'; -import { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; +import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core'; -import { IDataObject, IHookFunctions, IWebhookFunctions, NodeApiError } from 'n8n-workflow'; +import type { IDataObject, IHookFunctions, IWebhookFunctions } from 'n8n-workflow'; +import { NodeApiError } from 'n8n-workflow'; export async function zulipApiRequest( this: IExecuteFunctions | IWebhookFunctions | IHookFunctions | ILoadOptionsFunctions, diff --git a/packages/nodes-base/nodes/Zulip/MessageDescription.ts b/packages/nodes-base/nodes/Zulip/MessageDescription.ts index 474dec6a47..786cf7c745 100644 --- a/packages/nodes-base/nodes/Zulip/MessageDescription.ts +++ b/packages/nodes-base/nodes/Zulip/MessageDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const messageOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Zulip/StreamDescription.ts b/packages/nodes-base/nodes/Zulip/StreamDescription.ts index a8cddc3546..fcf8b9e0a0 100644 --- a/packages/nodes-base/nodes/Zulip/StreamDescription.ts +++ b/packages/nodes-base/nodes/Zulip/StreamDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const streamOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Zulip/UserDescription.ts b/packages/nodes-base/nodes/Zulip/UserDescription.ts index 34a3446406..30d49c6b17 100644 --- a/packages/nodes-base/nodes/Zulip/UserDescription.ts +++ b/packages/nodes-base/nodes/Zulip/UserDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from 'n8n-workflow'; +import type { INodeProperties } from 'n8n-workflow'; export const userOperations: INodeProperties[] = [ { diff --git a/packages/nodes-base/nodes/Zulip/UserInterface.ts b/packages/nodes-base/nodes/Zulip/UserInterface.ts index e79acff785..9e9c5e00bf 100644 --- a/packages/nodes-base/nodes/Zulip/UserInterface.ts +++ b/packages/nodes-base/nodes/Zulip/UserInterface.ts @@ -1,4 +1,4 @@ -import { IDataObject } from 'n8n-workflow'; +import type { IDataObject } from 'n8n-workflow'; export interface IUser { client_gravatar?: boolean; diff --git a/packages/nodes-base/nodes/Zulip/Zulip.node.ts b/packages/nodes-base/nodes/Zulip/Zulip.node.ts index e1497aa5e5..c50c37fa7f 100644 --- a/packages/nodes-base/nodes/Zulip/Zulip.node.ts +++ b/packages/nodes-base/nodes/Zulip/Zulip.node.ts @@ -1,21 +1,21 @@ -import { IExecuteFunctions } from 'n8n-core'; -import { +import type { IExecuteFunctions } from 'n8n-core'; +import type { IDataObject, ILoadOptionsFunctions, INodeExecutionData, INodePropertyOptions, INodeType, INodeTypeDescription, - NodeOperationError, } from 'n8n-workflow'; +import { NodeOperationError } from 'n8n-workflow'; import { validateJSON, zulipApiRequest } from './GenericFunctions'; import { messageFields, messageOperations } from './MessageDescription'; -import { IMessage } from './MessageInterface'; +import type { IMessage } from './MessageInterface'; import { snakeCase } from 'change-case'; import { streamFields, streamOperations } from './StreamDescription'; import { userFields, userOperations } from './UserDescription'; -import { IPrincipal, IStream } from './StreamInterface'; -import { IUser } from './UserInterface'; +import type { IPrincipal, IStream } from './StreamInterface'; +import type { IUser } from './UserInterface'; export class Zulip implements INodeType { description: INodeTypeDescription = {