Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Be able to type diagram and events #862

Merged
merged 5 commits into from
Feb 29, 2024
Merged

Be able to type diagram and events #862

merged 5 commits into from
Feb 29, 2024

Conversation

nikku
Copy link
Member

@nikku nikku commented Feb 24, 2024

This allows implementors to type the diagram (available services) and eventBus events (available events):

Sublime Text

capture hj3ree_optimized

VSCode

capture WrEJZW_optimized

@bpmn-io-tasks bpmn-io-tasks bot added the needs review Review pending label Feb 24, 2024
@nikku nikku requested review from philippfromme, a team and barmac and removed request for a team February 24, 2024 21:50
Consumers of the diagram may bootstrap it with a service map
that is being used during type inference.
* handles combined override / optional args signatures
@barmac
Copy link
Member

barmac commented Feb 29, 2024

I will have a look at this today.

Copy link
Member

@barmac barmac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This works great. I can't wait to see that in action in bpmn-js.

@nikku nikku merged commit 7cfc91d into develop Feb 29, 2024
12 checks passed
@nikku nikku deleted the service-map branch February 29, 2024 12:37
@bpmn-io-tasks bpmn-io-tasks bot removed the needs review Review pending label Feb 29, 2024
nikku added a commit to bpmn-io/bpmn-js that referenced this pull request Apr 29, 2024
This PR builds on upon diagram-js provided service and event typing:

* bpmn-io/diagram-js#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
nikku added a commit to bpmn-io/bpmn-js that referenced this pull request Apr 29, 2024
This PR builds on upon diagram-js provided service and event typing:

* bpmn-io/diagram-js#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
nikku added a commit to bpmn-io/bpmn-js that referenced this pull request Apr 29, 2024
This PR builds on upon diagram-js provided service and event typing:

* bpmn-io/diagram-js#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
nikku added a commit to bpmn-io/bpmn-js that referenced this pull request Apr 30, 2024
This PR builds on upon diagram-js provided service and event typing:

* bpmn-io/diagram-js#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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants