mirror of
https://github.com/bpmn-io/bpmn-js.git
synced 2025-08-06 18:24:33 +08:00

Related to #2086 --------- Co-authored-by: Maciej Barelkowski <maciej.barelkowski@camunda.com>
41 lines
870 B
TypeScript
41 lines
870 B
TypeScript
import type {
|
|
Connection as BaseConnection,
|
|
Element as BaseElement,
|
|
Label as BaseLabel,
|
|
Root as BaseRoot,
|
|
Shape as BaseShape
|
|
} from "diagram-js/lib/model";
|
|
|
|
export type Moddle = any;
|
|
|
|
export type ModdleElement = any;
|
|
|
|
export type ModdleExtension = {};
|
|
|
|
export type BpmnAttributes = {
|
|
associationDirection: 'None' | 'One' | 'Both';
|
|
cancelActivity: boolean;
|
|
eventDefinitionType: string;
|
|
isExpanded: boolean;
|
|
isHorizontal: boolean;
|
|
isForCompensation: boolean;
|
|
isInterrupting: boolean;
|
|
processRef: ModdleElement;
|
|
triggeredByEvent: boolean;
|
|
};
|
|
|
|
export type Element = {
|
|
businessObject: any;
|
|
di: any;
|
|
type: string;
|
|
} & BaseElement;
|
|
|
|
export type Connection = BaseConnection & Element;
|
|
|
|
export type Label = BaseLabel & Element;
|
|
|
|
export type Root = BaseRoot & Element;
|
|
|
|
export type Shape = BaseShape & Element;
|
|
|
|
export type Parent = Root | Shape; |