mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
refactor(core): Move UserRepository and subscribers to @n8n/db (#15352)
This commit is contained in:
@@ -1,13 +1,12 @@
|
||||
import type { RoleChangeRequestDto } from '@n8n/api-types';
|
||||
import { User } from '@n8n/db';
|
||||
import type { PublicUser } from '@n8n/db';
|
||||
import { User, UserRepository } from '@n8n/db';
|
||||
import { Service } from '@n8n/di';
|
||||
import { getGlobalScopes, type AssignableGlobalRole } from '@n8n/permissions';
|
||||
import { Logger } from 'n8n-core';
|
||||
import type { IUserSettings } from 'n8n-workflow';
|
||||
import { UnexpectedError } from 'n8n-workflow';
|
||||
|
||||
import { UserRepository } from '@/databases/repositories/user.repository';
|
||||
import { InternalServerError } from '@/errors/response-errors/internal-server.error';
|
||||
import { EventService } from '@/events/event.service';
|
||||
import type { Invitation } from '@/interfaces';
|
||||
|
||||
Reference in New Issue
Block a user