diff --git a/packages/editor-ui/src/Interface.ts b/packages/editor-ui/src/Interface.ts index 81008201a8e..c773d7710a0 100644 --- a/packages/editor-ui/src/Interface.ts +++ b/packages/editor-ui/src/Interface.ts @@ -20,6 +20,11 @@ import { WorkflowExecuteMode, } from 'n8n-workflow'; +import { + IN8nUISettings, + IVersionNotificationSettings, +} from 'n8n'; + import { PaintStyle, } from 'jsplumb'; @@ -445,33 +450,6 @@ export interface IPushDataConsoleMessage { message: string; } -export interface IVersionNotificationSettings { - enabled: boolean; - endpoint: string; - infoUrl: string; -} - -export interface IN8nUISettings { - endpointWebhook: string; - endpointWebhookTest: string; - saveDataErrorExecution: string; - saveDataSuccessExecution: string; - saveManualExecutions: boolean; - timezone: string; - executionTimeout: number; - maxExecutionTimeout: number; - oauthCallbackUrls: { - oauth1: string; - oauth2: string; - }; - urlBaseWebhook: string; - versionCli: string; - n8nMetadata?: { - [key: string]: string | number | undefined; - }; - versionNotifications: IVersionNotificationSettings; -} - export interface IWorkflowSettings extends IWorkflowSettingsWorkflow { errorWorkflow?: string; saveDataErrorExecution?: string; diff --git a/packages/editor-ui/src/components/MainSidebar.vue b/packages/editor-ui/src/components/MainSidebar.vue index 720086ff8d4..59be0386b13 100644 --- a/packages/editor-ui/src/components/MainSidebar.vue +++ b/packages/editor-ui/src/components/MainSidebar.vue @@ -127,7 +127,7 @@ -
+