refactor(editor): Combine type imports in editor-ui (no-changelog) (#6072)
⚡ Combine type imports in `editor-ui`
This commit is contained in:
@@ -6,10 +6,9 @@ import {
|
|||||||
SET_NODE_TYPE,
|
SET_NODE_TYPE,
|
||||||
WEBHOOK_NODE_TYPE,
|
WEBHOOK_NODE_TYPE,
|
||||||
} from '@/constants';
|
} from '@/constants';
|
||||||
import type { ITelemetryTrackProperties } from 'n8n-workflow';
|
|
||||||
import { defineStore } from 'pinia';
|
import { defineStore } from 'pinia';
|
||||||
import { useSettingsStore } from '@/stores/settings';
|
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 { useWorkflowsStore } from '@/stores/workflows';
|
||||||
import { useNodeTypesStore } from '@/stores/nodeTypes';
|
import { useNodeTypesStore } from '@/stores/nodeTypes';
|
||||||
|
|
||||||
|
|||||||
@@ -36,6 +36,7 @@ import type {
|
|||||||
IAbstractEventMessage,
|
IAbstractEventMessage,
|
||||||
IConnection,
|
IConnection,
|
||||||
IConnections,
|
IConnections,
|
||||||
|
IDataObject,
|
||||||
IExecutionsSummary,
|
IExecutionsSummary,
|
||||||
INode,
|
INode,
|
||||||
INodeConnections,
|
INodeConnections,
|
||||||
@@ -53,7 +54,6 @@ import type {
|
|||||||
ITaskData,
|
ITaskData,
|
||||||
IWorkflowSettings,
|
IWorkflowSettings,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
import type { IDataObject } from 'n8n-workflow';
|
|
||||||
import { deepCopy, NodeHelpers, Workflow } from 'n8n-workflow';
|
import { deepCopy, NodeHelpers, Workflow } from 'n8n-workflow';
|
||||||
import Vue from 'vue';
|
import Vue from 'vue';
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
import type { NewCredentialsModal } from './../Interface';
|
|
||||||
import type { INodeParameterResourceLocator } from 'n8n-workflow';
|
import type { INodeParameterResourceLocator } from 'n8n-workflow';
|
||||||
import type { ICredentialsResponse } from '@/Interface';
|
import type { ICredentialsResponse, NewCredentialsModal } from '@/Interface';
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Type guards used in editor-ui project
|
Type guards used in editor-ui project
|
||||||
|
|||||||
@@ -68,8 +68,10 @@ import type {
|
|||||||
IPersonalizationSurveyAnswersV4,
|
IPersonalizationSurveyAnswersV4,
|
||||||
IPersonalizationSurveyVersions,
|
IPersonalizationSurveyVersions,
|
||||||
IUser,
|
IUser,
|
||||||
|
ILogInStatus,
|
||||||
|
IRole,
|
||||||
|
IUserPermissions,
|
||||||
} from '@/Interface';
|
} from '@/Interface';
|
||||||
import type { ILogInStatus, IRole, IUserPermissions } from '@/Interface';
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Utility functions used to handle users in n8n
|
Utility functions used to handle users in n8n
|
||||||
|
|||||||
Reference in New Issue
Block a user