Skip to content

Commit

Permalink
refactor(editor): Type source control event bus (no-changelog) (n8n-i…
Browse files Browse the repository at this point in the history
  • Loading branch information
tomi authored Aug 19, 2024
1 parent b4aec59 commit f784a4c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/editor-ui/src/event-bus/source-control.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
import { createEventBus } from 'n8n-design-system/utils';

export const sourceControlEventBus = createEventBus();
export interface SourceControlEventBusEvents {
/** Event when latest changes were pulled from the source control */
pull: never;
}

export const sourceControlEventBus = createEventBus<SourceControlEventBusEvents>();

0 comments on commit f784a4c

Please sign in to comment.