From 829940d9624075c69ff6d9a30e4f48d97868d5b9 Mon Sep 17 00:00:00 2001 From: Elias Meire Date: Mon, 6 Jan 2025 11:02:32 +0100 Subject: [PATCH] Fix import order --- .../nodes-base/nodes/Google/Gmail/test/v1/GmailV1.node.test.ts | 2 +- .../nodes-base/nodes/Google/Gmail/test/v2/GmailV2.node.test.ts | 2 +- packages/nodes-base/nodes/Google/Gmail/v1/GmailV1.node.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/nodes-base/nodes/Google/Gmail/test/v1/GmailV1.node.test.ts b/packages/nodes-base/nodes/Google/Gmail/test/v1/GmailV1.node.test.ts index cb78670c3776f..4a439d2028155 100644 --- a/packages/nodes-base/nodes/Google/Gmail/test/v1/GmailV1.node.test.ts +++ b/packages/nodes-base/nodes/Google/Gmail/test/v1/GmailV1.node.test.ts @@ -5,9 +5,9 @@ import nock from 'nock'; import { testWorkflows } from '@test/nodes/Helpers'; +import { getLabels } from '../../v1/loadOptions'; import labels from '../fixtures/labels.json'; import messages from '../fixtures/messages.json'; -import { getLabels } from '../../v1/loadOptions'; describe('Test Gmail Node v1', () => { beforeAll(() => { diff --git a/packages/nodes-base/nodes/Google/Gmail/test/v2/GmailV2.node.test.ts b/packages/nodes-base/nodes/Google/Gmail/test/v2/GmailV2.node.test.ts index d230806cabd53..47960a7a3abc9 100644 --- a/packages/nodes-base/nodes/Google/Gmail/test/v2/GmailV2.node.test.ts +++ b/packages/nodes-base/nodes/Google/Gmail/test/v2/GmailV2.node.test.ts @@ -5,9 +5,9 @@ import nock from 'nock'; import { testWorkflows } from '@test/nodes/Helpers'; +import { getGmailAliases, getLabels, getThreadMessages } from '../../v2/loadOptions'; import labels from '../fixtures/labels.json'; import messages from '../fixtures/messages.json'; -import { getGmailAliases, getLabels, getThreadMessages } from '../../v2/loadOptions'; describe('Test Gmail Node v2', () => { beforeAll(() => { 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 f063d44534133..afc8e76a4f692 100644 --- a/packages/nodes-base/nodes/Google/Gmail/v1/GmailV1.node.ts +++ b/packages/nodes-base/nodes/Google/Gmail/v1/GmailV1.node.ts @@ -15,6 +15,7 @@ import { oldVersionNotice } from '@utils/descriptions'; import { draftFields, draftOperations } from './DraftDescription'; import { labelFields, labelOperations } from './LabelDescription'; +import { getLabels } from './loadOptions'; import { messageFields, messageOperations } from './MessageDescription'; import { messageLabelFields, messageLabelOperations } from './MessageLabelDescription'; import type { IEmail } from '../../../../utils/sendAndWait/interfaces'; @@ -25,7 +26,6 @@ import { googleApiRequestAllItems, parseRawEmail, } from '../GenericFunctions'; -import { getLabels } from './loadOptions'; const versionDescription: INodeTypeDescription = { displayName: 'Gmail',