From 6de4fce98a091c0161faf66b1919b862823eb644 Mon Sep 17 00:00:00 2001 From: Valentina Lilova Date: Thu, 26 May 2022 17:06:30 +0300 Subject: [PATCH] Refactor imports as advised in the n8n forum --- nodes/FriendGrid/FriendGrid.node.ts | 5 ++++- nodes/FriendGrid/GenericFunctions.ts | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/nodes/FriendGrid/FriendGrid.node.ts b/nodes/FriendGrid/FriendGrid.node.ts index d769732..15ef49e 100644 --- a/nodes/FriendGrid/FriendGrid.node.ts +++ b/nodes/FriendGrid/FriendGrid.node.ts @@ -1,8 +1,11 @@ +import { + IExecuteFunctions, +} from 'n8n-core'; + import { ICredentialsDecrypted, ICredentialTestFunctions, IDataObject, - IExecuteFunctions, INodeCredentialTestResult, INodeExecutionData, INodeType, diff --git a/nodes/FriendGrid/GenericFunctions.ts b/nodes/FriendGrid/GenericFunctions.ts index f16d4ce..31cd934 100644 --- a/nodes/FriendGrid/GenericFunctions.ts +++ b/nodes/FriendGrid/GenericFunctions.ts @@ -3,11 +3,14 @@ import { } from 'request'; import { - IDataObject, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions, +} from 'n8n-core'; + +import { + IDataObject, NodeApiError, NodeOperationError, } from 'n8n-workflow';