diff --git a/package.json b/package.json index 5ed7dfe9..422d817c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rete", - "version": "1.2.0-rc.9", + "version": "1.2.0-rc.10", "description": "JavaScript framework", "main": "build/rete.common.js", "module": "build/rete.esm.js", diff --git a/src/events.ts b/src/events.ts index 13090272..403ccd65 100644 --- a/src/events.ts +++ b/src/events.ts @@ -8,6 +8,7 @@ import { Control } from './control'; import { Transform, ZoomSource, Mouse } from './view/area'; import { EditorView } from './view'; import { Data } from './core/data'; +import { Component } from './component'; export class EditorEvents extends Events { @@ -51,6 +52,7 @@ export class EditorEvents extends Events { export interface EventsTypes { + componentregister: Component; nodecreate: Node; nodecreated: Node; noderemove: Node;