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

@@ -4,9 +4,9 @@
/* eslint-disable no-param-reassign */
/* eslint-disable no-underscore-dangle */
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
import express from 'express';
import type express from 'express';
import { readFile as fsReadFile } from 'fs/promises';
import {
import type {
ExecutionError,
IDataObject,
INode,
@@ -17,14 +17,14 @@ import {
import { validate } from 'class-validator';
import config from '@/config';
import * as Db from '@/Db';
import { ICredentialsDb, IExecutionDb, IExecutionFlattedDb, IWorkflowDb } from '@/Interfaces';
import type { ICredentialsDb, IExecutionDb, IExecutionFlattedDb, IWorkflowDb } from '@/Interfaces';
import * as ResponseHelper from '@/ResponseHelper';
// eslint-disable-next-line import/order
import { Like } from 'typeorm';
import { WorkflowEntity } from '@db/entities/WorkflowEntity';
import { CredentialsEntity } from '@db/entities/CredentialsEntity';
import { TagEntity } from '@db/entities/TagEntity';
import { User } from '@db/entities/User';
import type { WorkflowEntity } from '@db/entities/WorkflowEntity';
import type { CredentialsEntity } from '@db/entities/CredentialsEntity';
import type { TagEntity } from '@db/entities/TagEntity';
import type { User } from '@db/entities/User';
/**
* Returns the base URL n8n is reachable from