mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 09:36:44 +00:00
This extracts all core and editor changes from #7246 and #7137, so that we can get these changes merged first. ADO-1120 [DB Tests](https://github.com/n8n-io/n8n/actions/runs/6379749011) [E2E Tests](https://github.com/n8n-io/n8n/actions/runs/6379751480) [Workflow Tests](https://github.com/n8n-io/n8n/actions/runs/6379752828) --------- Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com> Co-authored-by: Oleg Ivaniv <me@olegivaniv.com> Co-authored-by: Alex Grozav <alex@grozav.com> Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
20 lines
845 B
TypeScript
20 lines
845 B
TypeScript
import type { Plugin } from 'vue';
|
|
import { N8nPlusEndpointHandler } from '@/plugins/jsplumb/N8nPlusEndpointType';
|
|
import * as N8nPlusEndpointRenderer from '@/plugins/jsplumb/N8nPlusEndpointRenderer';
|
|
import { N8nConnector } from '@/plugins/connectors/N8nCustomConnector';
|
|
import * as N8nAddInputEndpointRenderer from '@/plugins/jsplumb/N8nAddInputEndpointRenderer';
|
|
import { N8nAddInputEndpointHandler } from '@/plugins/jsplumb/N8nAddInputEndpointType';
|
|
import { Connectors, EndpointFactory } from '@jsplumb/core';
|
|
|
|
export const JsPlumbPlugin: Plugin<{}> = {
|
|
install: () => {
|
|
Connectors.register(N8nConnector.type, N8nConnector);
|
|
|
|
N8nPlusEndpointRenderer.register();
|
|
EndpointFactory.registerHandler(N8nPlusEndpointHandler);
|
|
|
|
N8nAddInputEndpointRenderer.register();
|
|
EndpointFactory.registerHandler(N8nAddInputEndpointHandler);
|
|
},
|
|
};
|