refactor(core): Move UserRepository and subscribers to @n8n/db (#15352)

This commit is contained in:
Iván Ovejero
2025-05-13 15:24:26 +02:00
committed by GitHub
parent c42df1c268
commit e122b3f0f9
60 changed files with 75 additions and 74 deletions

View File

@@ -1,12 +1,12 @@
import type { User } from '@n8n/db';
import { AuthProviderSyncHistoryRepository } from '@n8n/db';
import { UserRepository } from '@n8n/db';
import { Container } from '@n8n/di';
import { Not } from '@n8n/typeorm';
import type { Entry as LdapUser } from 'ldapts';
import { Cipher } from 'n8n-core';
import config from '@/config';
import { UserRepository } from '@/databases/repositories/user.repository';
import { LDAP_DEFAULT_CONFIGURATION } from '@/ldap.ee/constants';
import { saveLdapSynchronization } from '@/ldap.ee/helpers.ee';
import { LdapService } from '@/ldap.ee/ldap.service.ee';