n8n
Version:
n8n Workflow Automation Tool
12 lines (11 loc) • 592 B
TypeScript
import type { EventMessageTypes } from '.';
import type { AbstractEventMessageOptions } from './AbstractEventMessageOptions';
export declare const getEventMessageObjectByType: (message: AbstractEventMessageOptions) => EventMessageTypes | null;
export declare function eventGroupFromEventName(eventName: string): string | undefined;
export declare function eventListToObject(dottedList: string[]): object;
interface StringIndexedChild {
name: string;
children: StringIndexedChild[];
}
export declare function eventListToObjectTree(dottedList: string[]): StringIndexedChild;
export {};