refactor: Integrate consistent-type-imports in BE packages (no-changelog) (#5270)

This commit is contained in:
Iván Ovejero
2023-01-27 14:56:56 +01:00
committed by GitHub
parent 7d7418140e
commit 2ca959b383
148 changed files with 452 additions and 421 deletions

View File

@@ -1,5 +1,5 @@
import { In } from 'typeorm';
import {
import type {
IDataObject,
IExecuteData,
INode,
@@ -7,22 +7,28 @@ import {
IRun,
IRunExecutionData,
ITaskData,
NodeApiError,
WorkflowExecuteMode,
} from 'n8n-workflow';
import {
ErrorReporterProxy as ErrorReporter,
LoggerProxy as Logger,
NodeApiError,
NodeOperationError,
Workflow,
WorkflowExecuteMode,
} from 'n8n-workflow';
import { v4 as uuid } from 'uuid';
import * as Db from '@/Db';
import { ICredentialsDb, IWorkflowErrorData, IWorkflowExecutionDataProcess } from '@/Interfaces';
import type {
ICredentialsDb,
IWorkflowErrorData,
IWorkflowExecutionDataProcess,
} from '@/Interfaces';
import { NodeTypes } from '@/NodeTypes';
import { WorkflowRunner } from '@/WorkflowRunner';
import config from '@/config';
import { WorkflowEntity } from '@db/entities/WorkflowEntity';
import { User } from '@db/entities/User';
import type { WorkflowEntity } from '@db/entities/WorkflowEntity';
import type { User } from '@db/entities/User';
import { getWorkflowOwner, whereClause } from '@/UserManagement/UserManagementHelper';
import omit from 'lodash.omit';