refactor(core): Move DbConnection to @n8n/db (#16616)

This commit is contained in:
Iván Ovejero
2025-06-24 12:33:01 +02:00
committed by GitHub
parent 88af45f71a
commit 21ff173070
43 changed files with 98 additions and 86 deletions

View File

@@ -1,12 +1,12 @@
import { mockLogger } from '@n8n/backend-test-utils';
import type { GlobalConfig } from '@n8n/config';
import type { DbConnection } from '@n8n/db';
import type express from 'express';
import { mock } from 'jest-mock-extended';
import type { InstanceSettings } from 'n8n-core';
import { AssertionError } from 'node:assert';
import * as http from 'node:http';
import type { DbConnection } from '@/databases/db-connection';
import type { ExternalHooks } from '@/external-hooks';
import type { PrometheusMetricsService } from '@/metrics/prometheus-metrics.service';
import { bodyParser, rawBodyReader } from '@/middlewares';