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,5 +1,6 @@
import type { LoginRequestDto } from '@n8n/api-types';
import type { User } from '@n8n/db';
import { UserRepository } from '@n8n/db';
import { Container } from '@n8n/di';
import type { Response } from 'express';
import { mock } from 'jest-mock-extended';
@@ -8,7 +9,6 @@ import { Logger } from 'n8n-core';
import * as auth from '@/auth';
import { AuthService } from '@/auth/auth.service';
import config from '@/config';
import { UserRepository } from '@/databases/repositories/user.repository';
import { EventService } from '@/events/event.service';
import { License } from '@/license';
import { MfaService } from '@/mfa/mfa.service';