Skip to content
/ qp-n8n Public
forked from n8n-io/n8n

Commit

Permalink
refactor(editor): Combine type imports in editor-ui (no-changelog) (n…
Browse files Browse the repository at this point in the history
…8n-io#6072)

⚡ Combine type imports in `editor-ui`
  • Loading branch information
ivov authored and sunilrr committed Apr 24, 2023
1 parent 5d0c413 commit f4358b0
Showing 4 changed files with 6 additions and 6 deletions.
3 changes: 1 addition & 2 deletions packages/editor-ui/src/stores/segment.ts
Original file line number Diff line number Diff line change
@@ -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';

2 changes: 1 addition & 1 deletion packages/editor-ui/src/stores/workflows.ts
Original file line number Diff line number Diff line change
@@ -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';

3 changes: 1 addition & 2 deletions packages/editor-ui/src/utils/typeGuards.ts
Original file line number Diff line number Diff line change
@@ -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
4 changes: 3 additions & 1 deletion packages/editor-ui/src/utils/userUtils.ts
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit f4358b0

Please sign in to comment.