refactor(editor): Combine type imports in editor-ui (no-changelog) (#6072)

 Combine type imports in `editor-ui`
This commit is contained in:
Iván Ovejero 2023-04-24 13:58:22 +02:00 committed by GitHub
parent 308a94311f
commit 1bb6672498
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 6 deletions

View file

@ -6,10 +6,9 @@ import {
SET_NODE_TYPE,
WEBHOOK_NODE_TYPE,
} from '@/constants';
import type { ITelemetryTrackProperties } from 'n8n-workflow';
import { defineStore } from 'pinia';
import { useSettingsStore } from '@/stores/settings';
import type { INodeTypeDescription, IRun } from 'n8n-workflow';
import type { INodeTypeDescription, IRun, ITelemetryTrackProperties } from 'n8n-workflow';
import { useWorkflowsStore } from '@/stores/workflows';
import { useNodeTypesStore } from '@/stores/nodeTypes';

View file

@ -36,6 +36,7 @@ import type {
IAbstractEventMessage,
IConnection,
IConnections,
IDataObject,
IExecutionsSummary,
INode,
INodeConnections,
@ -53,7 +54,6 @@ import type {
ITaskData,
IWorkflowSettings,
} from 'n8n-workflow';
import type { IDataObject } from 'n8n-workflow';
import { deepCopy, NodeHelpers, Workflow } from 'n8n-workflow';
import Vue from 'vue';

View file

@ -1,6 +1,5 @@
import type { NewCredentialsModal } from './../Interface';
import type { INodeParameterResourceLocator } from 'n8n-workflow';
import type { ICredentialsResponse } from '@/Interface';
import type { ICredentialsResponse, NewCredentialsModal } from '@/Interface';
/*
Type guards used in editor-ui project

View file

@ -68,8 +68,10 @@ import type {
IPersonalizationSurveyAnswersV4,
IPersonalizationSurveyVersions,
IUser,
ILogInStatus,
IRole,
IUserPermissions,
} from '@/Interface';
import type { ILogInStatus, IRole, IUserPermissions } from '@/Interface';
/*
Utility functions used to handle users in n8n