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

@@ -18,6 +18,7 @@ import { SharedCredentials } from '@db/entities/SharedCredentials';
import type { WorkflowTagMapping } from '@db/entities/WorkflowTagMapping';
import type { TagEntity } from '@db/entities/TagEntity';
import { ActiveWorkflowManager } from '@/ActiveWorkflowManager';
// eslint-disable-next-line n8n-local-rules/misplaced-n8n-typeorm-import
import { In } from '@n8n/typeorm';
import { isUniqueConstraintError } from '@/ResponseHelper';
import type { SourceControlWorkflowVersionId } from './types/sourceControlWorkflowVersionId';