mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2026-08-29 14:50:36 +02:00
refactor(core): Move final batch of entities to @n8n/db (#15061)
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import type { AuthUser } from '@n8n/db';
|
||||
import RudderStack from '@rudderstack/rudder-sdk-node';
|
||||
import type { Response } from 'express';
|
||||
import { mock } from 'jest-mock-extended';
|
||||
|
||||
import type { AuthService } from '@/auth/auth.service';
|
||||
import type { AuthUser } from '@/databases/entities/auth-user';
|
||||
import type { AuthUserRepository } from '@/databases/repositories/auth-user.repository';
|
||||
import type { CredentialsRepository } from '@/databases/repositories/credentials.repository';
|
||||
import type { SettingsRepository } from '@/databases/repositories/settings.repository';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import type { AnnotationTagEntity } from '@n8n/db';
|
||||
import { Service } from '@n8n/di';
|
||||
|
||||
import type { AnnotationTagEntity } from '@/databases/entities/annotation-tag-entity.ee';
|
||||
import { AnnotationTagRepository } from '@/databases/repositories/annotation-tag.repository.ee';
|
||||
import { validateEntity } from '@/generic-helpers';
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import type { ExecutionMetadata } from '@n8n/db';
|
||||
import { Service } from '@n8n/di';
|
||||
|
||||
import type { ExecutionMetadata } from '@/databases/entities/execution-metadata';
|
||||
import { ExecutionMetadataRepository } from '@/databases/repositories/execution-metadata.repository';
|
||||
|
||||
@Service()
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { Settings, CredentialsEntity, User, WorkflowEntity } from '@n8n/db';
|
||||
import type { Settings, CredentialsEntity, User, WorkflowEntity, AuthUser } from '@n8n/db';
|
||||
import { Service } from '@n8n/di';
|
||||
// eslint-disable-next-line n8n-local-rules/misplaced-n8n-typeorm-import
|
||||
import type { FindManyOptions, FindOneOptions, FindOptionsWhere } from '@n8n/typeorm';
|
||||
@@ -7,7 +7,6 @@ import RudderStack, { type constructorOptions } from '@rudderstack/rudder-sdk-no
|
||||
import type { NextFunction, Response } from 'express';
|
||||
|
||||
import { AuthService } from '@/auth/auth.service';
|
||||
import type { AuthUser } from '@/databases/entities/auth-user';
|
||||
import { AuthUserRepository } from '@/databases/repositories/auth-user.repository';
|
||||
import { CredentialsRepository } from '@/databases/repositories/credentials.repository';
|
||||
import { SettingsRepository } from '@/databases/repositories/settings.repository';
|
||||
|
||||
Reference in New Issue
Block a user