mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
13 lines
329 B
TypeScript
13 lines
329 B
TypeScript
import { createEventBus } from '@n8n/utils/event-bus';
|
|
|
|
export interface FormEventBusEvents {
|
|
submit: never;
|
|
}
|
|
|
|
export type FormEventBus = ReturnType<typeof createFormEventBus>;
|
|
|
|
/**
|
|
* Creates a new event bus to be used with the `FormInputs` component.
|
|
*/
|
|
export const createFormEventBus = createEventBus<FormEventBusEvents>;
|