refactor(core): Lint to restrict @n8n/typeorm to persistence layer (no-changelog) (#9840)

This commit is contained in:
Iván Ovejero
2024-06-24 10:24:05 +02:00
committed by GitHub
parent 2ce97be33e
commit 8e529219df
24 changed files with 61 additions and 0 deletions

View File

@@ -29,7 +29,9 @@ import { WorkflowSharingService } from './workflowSharing.service';
import { ProjectService } from '@/services/project.service';
import { ExecutionRepository } from '@/databases/repositories/execution.repository';
import type { Scope } from '@n8n/permissions';
// eslint-disable-next-line n8n-local-rules/misplaced-n8n-typeorm-import
import type { EntityManager } from '@n8n/typeorm';
// eslint-disable-next-line n8n-local-rules/misplaced-n8n-typeorm-import
import { In } from '@n8n/typeorm';
import { SharedWorkflow } from '@/databases/entities/SharedWorkflow';
import { EventRelay } from '@/eventbus/event-relay.service';