11 Commits

Author SHA1 Message Date
edfec4cdc8 feat: allow to type services and events
This PR builds on upon diagram-js provided service and event typing:

* https://github.com/bpmn-io/diagram-js/pull/862

It allows you to specify (public) types exposed by your BPMN toolkit
trough a ServiceMap. Events exposed are parsed from the EventBus
dynamic types.

Closes #2121
2024-04-30 10:12:09 +02:00
bc80225030 chore: move model types to dedicated model directory 2023-04-19 12:18:42 +02:00
78edc64408 fix(BpmnFactory): fix JSDoc 2023-04-19 12:18:42 +02:00
208d1fd691 fix(modeler): fix JSDoc 2023-04-19 12:18:42 +02:00
ab130b0d1f feat: add type declarations for viewer and modeler
Related to #1829
2023-03-09 09:02:01 +01:00
0fd908cddb docs: improve core entry points JSDoc 2023-02-06 17:26:41 +01:00
7478388070 deps: replace inherits with inherits-browser
This increase the safety of our build; external consumers
do no longer need to account for the `browser` field to
bundle bpmn-js (or otherwise bundle a Node shim, unintentionally).
2022-05-18 10:15:53 +00:00
157aec6ed6 feat(lib): deprecate import.parse.complete <context> payload
The <import.parse.complete> event is now invoked with

{
 error,
 definitions,
 elementsById,
 references,
 warnings
}

The old payload is deprecated:

{
  error,
  definitions,
  context: { elementsById, references, warnings }
}
2020-04-29 11:12:23 +02:00
fcb11a60f7 chore(documentation): fix JSDoc number types 2020-04-07 06:52:55 +00:00
7a67ff95b2 chore(documentation): fix JSDoc string types 2020-04-07 06:52:55 +00:00
bb94b206a7 feat(project): provide Base{Viewer|Modeler} distributions
This allows users to use the viewer / modeler features without
inheriting our modules.

Related to #258
2019-12-11 13:28:35 +01:00