import { EventType } from '../Constants'; import { Event, EventDefinition, IntermediateCatchEvent, IntermediateThrowEvent } from './EventBase'; /** * The parameters required to configure a LinkEvent. */ export type LinkEventDefinition = EventDefinition & { name: string; }; /** * Describes a Flow Node with a Link Event Definition. */ export type LinkEvent = Event & { readonly eventType: EventType.linkEvent; linkEventDefinition: LinkEventDefinition; }; export type LinkIntermediateCatchEvent = IntermediateCatchEvent & LinkEvent; export type LinkIntermediateThrowEvent = IntermediateThrowEvent & LinkEvent;