refactor(core): Clean up event relays (no-changelog) (#10284)
This commit is contained in:
@@ -24,7 +24,7 @@ import { BadRequestError } from '@/errors/response-errors/bad-request.error';
|
||||
import { ForbiddenError } from '@/errors/response-errors/forbidden.error';
|
||||
import { ApplicationError } from 'n8n-workflow';
|
||||
import { UserRepository } from '@/databases/repositories/user.repository';
|
||||
import { EventService } from '@/eventbus/event.service';
|
||||
import { EventService } from '@/events/event.service';
|
||||
|
||||
@RestController()
|
||||
export class AuthController {
|
||||
|
||||
@@ -13,7 +13,7 @@ import { Push } from '@/push';
|
||||
import { CommunityPackagesService } from '@/services/communityPackages.service';
|
||||
import { BadRequestError } from '@/errors/response-errors/bad-request.error';
|
||||
import { InternalServerError } from '@/errors/response-errors/internal-server.error';
|
||||
import { EventService } from '@/eventbus/event.service';
|
||||
import { EventService } from '@/events/event.service';
|
||||
|
||||
const {
|
||||
PACKAGE_NOT_INSTALLED,
|
||||
|
||||
@@ -18,7 +18,7 @@ import { BadRequestError } from '@/errors/response-errors/bad-request.error';
|
||||
import { ForbiddenError } from '@/errors/response-errors/forbidden.error';
|
||||
import { InternalHooks } from '@/InternalHooks';
|
||||
import { ExternalHooks } from '@/ExternalHooks';
|
||||
import { EventService } from '@/eventbus/event.service';
|
||||
import { EventService } from '@/events/event.service';
|
||||
|
||||
@RestController('/invitations')
|
||||
export class InvitationController {
|
||||
|
||||
@@ -23,7 +23,7 @@ import { InternalHooks } from '@/InternalHooks';
|
||||
import { BadRequestError } from '@/errors/response-errors/bad-request.error';
|
||||
import { UserRepository } from '@/databases/repositories/user.repository';
|
||||
import { isApiEnabled } from '@/PublicApi';
|
||||
import { EventService } from '@/eventbus/event.service';
|
||||
import { EventService } from '@/events/event.service';
|
||||
|
||||
export const API_KEY_PREFIX = 'n8n_api_';
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ import { ForbiddenError } from '@/errors/response-errors/forbidden.error';
|
||||
import { NotFoundError } from '@/errors/response-errors/not-found.error';
|
||||
import { UnprocessableRequestError } from '@/errors/response-errors/unprocessable.error';
|
||||
import { UserRepository } from '@/databases/repositories/user.repository';
|
||||
import { EventService } from '@/eventbus/event.service';
|
||||
import { EventService } from '@/events/event.service';
|
||||
|
||||
@RestController()
|
||||
export class PasswordResetController {
|
||||
|
||||
@@ -23,7 +23,7 @@ import { ProjectRepository } from '@/databases/repositories/project.repository';
|
||||
// eslint-disable-next-line n8n-local-rules/misplaced-n8n-typeorm-import
|
||||
import { In, Not } from '@n8n/typeorm';
|
||||
import { BadRequestError } from '@/errors/response-errors/bad-request.error';
|
||||
import { EventService } from '@/eventbus/event.service';
|
||||
import { EventService } from '@/events/event.service';
|
||||
|
||||
@RestController('/projects')
|
||||
export class ProjectController {
|
||||
|
||||
@@ -28,7 +28,7 @@ import { Project } from '@/databases/entities/Project';
|
||||
import { WorkflowService } from '@/workflows/workflow.service';
|
||||
import { CredentialsService } from '@/credentials/credentials.service';
|
||||
import { ProjectService } from '@/services/project.service';
|
||||
import { EventService } from '@/eventbus/event.service';
|
||||
import { EventService } from '@/events/event.service';
|
||||
|
||||
@RestController('/users')
|
||||
export class UsersController {
|
||||
|
||||
Reference in New Issue
Block a user