UNPKG

camunda-bpmn-js

Version:

Embeddable Camunda modeling distributions based on bpmn-js

24 lines (23 loc) 717 B
/** * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH * under one or more contributor license agreements. See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. * * Camunda licenses this file to you under the MIT; you may not use this file * except in compliance with the MIT License. */ /** * Create a new BPMN element for the given process resource. * * @param resource * @param injector * * @returns */ export function createElement(resource: CallActivity, injector: any): import("bpmn-js/lib/model/Types").ModdleElement; export type CallActivity = { type: "bpmnProcess"; name: string; processId: string; };