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
@@ -1,5 +1,7 @@
import { Service } from 'typedi';
// eslint-disable-next-line n8n-local-rules/misplaced-n8n-typeorm-import
import type { DeleteResult } from '@n8n/typeorm';
// eslint-disable-next-line n8n-local-rules/misplaced-n8n-typeorm-import
import { In } from '@n8n/typeorm';
import EventEmitter from 'events';
import uniqby from 'lodash/uniqBy';