refactor(core): move node-types endpoints to a separate file n8n-4584 (#4068)

This commit is contained in:
Michael Kret
2022-09-09 18:31:06 +03:00
committed by GitHub
parent a73ac1d94f
commit 2c7ef1e550
3 changed files with 169 additions and 154 deletions

View File

@@ -26,9 +26,9 @@ import {
NodeTypes,
WorkflowRunner,
ResponseHelper,
IExecutionFlattedDb,
} from '..';
import * as config from '../../config';
import { ExecutionEntity } from '../databases/entities/ExecutionEntity';
import { User } from '../databases/entities/User';
import { DEFAULT_EXECUTIONS_GET_ALL_LIMIT } from '../GenericHelpers';
import { getLogger } from '../Logger';
@@ -137,7 +137,7 @@ executionsController.get(
const sharedWorkflowIds = await getSharedWorkflowIds(req.user);
const findOptions: FindManyOptions<ExecutionEntity> = {
const findOptions: FindManyOptions<IExecutionFlattedDb> = {
select: [
'id',
'finished',