mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-09 22:24:05 -08:00
refactor(editor): Type source control event bus (no-changelog) (#10395)
This commit is contained in:
parent
b4aec594e4
commit
f784a4c95a
|
@ -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>();
|
||||
|
|
Loading…
Reference in a new issue