mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
refactor(core): Replace typedi with our custom DI system (no-changelog) (#12389)
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
This commit is contained in:
committed by
GitHub
parent
8053a4a176
commit
39d5e0ff87
@@ -1,5 +1,5 @@
|
||||
import { Container } from '@n8n/di';
|
||||
import { EntityNotFoundError } from '@n8n/typeorm';
|
||||
import { Container } from 'typedi';
|
||||
import { v4 as uuid } from 'uuid';
|
||||
|
||||
import { Reset } from '@/commands/ldap/reset';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Container } from 'typedi';
|
||||
import { Container } from '@n8n/di';
|
||||
|
||||
import { ClearLicenseCommand } from '@/commands/license/clear';
|
||||
import { SETTINGS_LICENSE_CERT_KEY } from '@/constants';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Container } from 'typedi';
|
||||
import { Container } from '@n8n/di';
|
||||
|
||||
import { Reset } from '@/commands/user-management/reset';
|
||||
import { CredentialsEntity } from '@/databases/entities/credentials-entity';
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
process.argv[2] = 'worker';
|
||||
|
||||
import { TaskRunnersConfig } from '@n8n/config';
|
||||
import { Container } from '@n8n/di';
|
||||
import { BinaryDataService } from 'n8n-core';
|
||||
import Container from 'typedi';
|
||||
|
||||
import { Worker } from '@/commands/worker';
|
||||
import config from '@/config';
|
||||
|
||||
Reference in New Issue
Block a user