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,4 +1,5 @@
import { Logger } from '@n8n/backend-common';
import { Time } from '@n8n/constants';
import type { CredentialsEntity } from '@n8n/db';
import type { User } from '@n8n/db';
import { CredentialsRepository } from '@n8n/db';
@@ -10,7 +11,6 @@ import { Cipher, type InstanceSettings, ExternalSecretsProxy } from 'n8n-core';
import type { IWorkflowExecuteAdditionalData } from 'n8n-workflow';
import nock from 'nock';
import { Time } from '@/constants';
import { OAuth1CredentialController } from '@/controllers/oauth/oauth1-credential.controller';
import { CredentialsFinderService } from '@/credentials/credentials-finder.service';
import { CredentialsHelper } from '@/credentials-helper';