mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
refactor(editor): Move externalSecrets.ee API to @n8n/rest-api-client package (#19404)
This commit is contained in:
committed by
GitHub
parent
c4d26982e3
commit
47d9936fd4
@@ -1,6 +1,7 @@
|
||||
import type { ExternalSecretsProvider } from '@/Interface';
|
||||
import type { IRestApiContext } from '@n8n/rest-api-client';
|
||||
import { makeRestApiRequest } from '@n8n/rest-api-client';
|
||||
import type { ExternalSecretsProvider } from '@n8n/api-types';
|
||||
|
||||
import type { IRestApiContext } from '../types';
|
||||
import { makeRestApiRequest } from '../utils';
|
||||
|
||||
export const getExternalSecrets = async (
|
||||
context: IRestApiContext,
|
||||
@@ -4,6 +4,7 @@ export * from './communityNodes';
|
||||
export * from './ctas';
|
||||
export * from './eventbus.ee';
|
||||
export * from './events';
|
||||
export * from './externalSecrets.ee';
|
||||
export * from './ldap';
|
||||
export * from './mfa';
|
||||
export * from './nodeTypes';
|
||||
|
||||
@@ -3,10 +3,10 @@ import { defineStore } from 'pinia';
|
||||
import { EnterpriseEditionFeature } from '@/constants';
|
||||
import { useRootStore } from '@n8n/stores/useRootStore';
|
||||
import { useSettingsStore } from '@/stores/settings.store';
|
||||
import * as externalSecretsApi from '@/api/externalSecrets.ee';
|
||||
import { connectProvider } from '@/api/externalSecrets.ee';
|
||||
import * as externalSecretsApi from '@n8n/rest-api-client';
|
||||
import { connectProvider } from '@n8n/rest-api-client';
|
||||
import { useRBACStore } from '@/stores/rbac.store';
|
||||
import type { ExternalSecretsProvider } from '@/Interface';
|
||||
import type { ExternalSecretsProvider } from '@n8n/api-types';
|
||||
|
||||
export const useExternalSecretsStore = defineStore('externalSecrets', () => {
|
||||
const rootStore = useRootStore();
|
||||
|
||||
Reference in New Issue
Block a user