mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 10:31:15 +00:00
refactor(editor): Move templates api to @n8n/rest-api-client package (no-changelog) (#16542)
This commit is contained in:
@@ -2,12 +2,8 @@
|
||||
import { ref, computed, onMounted } from 'vue';
|
||||
import { useRoute } from 'vue-router';
|
||||
import { useToast } from '@/composables/useToast';
|
||||
import type {
|
||||
ITimeoutHMS,
|
||||
IWorkflowDataUpdate,
|
||||
IWorkflowSettings,
|
||||
IWorkflowShortResponse,
|
||||
} from '@/Interface';
|
||||
import type { ITimeoutHMS, IWorkflowSettings, IWorkflowShortResponse } from '@/Interface';
|
||||
import type { WorkflowDataUpdate } from '@n8n/rest-api-client/api/workflows';
|
||||
import Modal from '@/components/Modal.vue';
|
||||
import {
|
||||
EnterpriseEditionFeature,
|
||||
@@ -298,7 +294,7 @@ const convertToHMS = (num: number): ITimeoutHMS => {
|
||||
|
||||
const saveSettings = async () => {
|
||||
// Set that the active state should be changed
|
||||
const data: IWorkflowDataUpdate & { settings: IWorkflowSettings } = {
|
||||
const data: WorkflowDataUpdate & { settings: IWorkflowSettings } = {
|
||||
settings: workflowSettings.value,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user