1
1
mirror of https://github.com/n8n-io/n8n.git synced 2024-10-06 09:37:36 +03:00

refactor(editor): Type source control event bus (no-changelog) (#10395)

This commit is contained in:
Tomi Turtiainen 2024-08-19 18:04:00 +03:00 committed by GitHub
parent b4aec594e4
commit f784a4c95a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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>();