mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
refactor(core): Refactor some of the external secrets related code (no-changelog) (#14791)
This commit is contained in:
committed by
GitHub
parent
e83a64b84a
commit
749f130d4f
@@ -9,7 +9,7 @@ import { SettingsRepository } from '@/databases/repositories/settings.repository
|
||||
import type { EventService } from '@/events/event.service';
|
||||
import { ExternalSecretsManager } from '@/external-secrets.ee/external-secrets-manager.ee';
|
||||
import { ExternalSecretsProviders } from '@/external-secrets.ee/external-secrets-providers.ee';
|
||||
import type { ExternalSecretsSettings, SecretsProviderState } from '@/interfaces';
|
||||
import type { ExternalSecretsSettings, SecretsProviderState } from '@/external-secrets.ee/types';
|
||||
import { License } from '@/license';
|
||||
|
||||
import {
|
||||
@@ -60,6 +60,7 @@ const resetManager = async () => {
|
||||
ExternalSecretsManager,
|
||||
new ExternalSecretsManager(
|
||||
logger,
|
||||
mock(),
|
||||
Container.get(SettingsRepository),
|
||||
Container.get(License),
|
||||
mockProvidersInstance,
|
||||
@@ -114,6 +115,7 @@ beforeAll(async () => {
|
||||
ExternalSecretsManager,
|
||||
new ExternalSecretsManager(
|
||||
logger,
|
||||
mock(),
|
||||
Container.get(SettingsRepository),
|
||||
Container.get(License),
|
||||
mockProvidersInstance,
|
||||
|
||||
Reference in New Issue
Block a user