UNPKG

875 BTypeScriptView Raw
1import type { Connection as BaseConnection, Element as BaseElement, Label as BaseLabel, Root as BaseRoot, Shape as BaseShape } from "diagram-js/lib/model";
2export type Moddle = any;
3export type ModdleElement = any;
4export type ModdleExtension = {};
5export type BpmnAttributes = {
6 associationDirection: 'None' | 'One' | 'Both';
7 cancelActivity: boolean;
8 eventDefinitionType: string;
9 isExpanded: boolean;
10 isHorizontal: boolean;
11 isForCompensation: boolean;
12 isInterrupting: boolean;
13 processRef: ModdleElement;
14 triggeredByEvent: boolean;
15};
16export type Element = {
17 businessObject: any;
18 di: any;
19 type: string;
20} & BaseElement;
21export type Connection = BaseConnection & Element;
22export type Label = BaseLabel & Element;
23export type Root = BaseRoot & Element;
24export type Shape = BaseShape & Element;
25export type Parent = Root | Shape;