Skip to content

Conversation

@sBouzols
Copy link
Contributor

useDiagramModel hook should create the diagramUuid internaly, not let components or clients generate it with v4 dependency
refactor(): Add menu utils file to move getCommonEquipmentType which is used by menus not diagram cards directly.

…ot let components or clients generate it with v4 depenency

refactor(): Add menu utils file to move `getCommonEquipmentType` which is used by menus not diagram cards directly.

Signed-off-by: sBouzols <[email protected]>
… conditional type so DiagramParamsWithoutId<DiagramParams> becomes a union of the variants with diagramUuid optional.

Remove cast and simplify code

Signed-off-by: sBouzols <[email protected]>
Signed-off-by: sBouzols <[email protected]>
@sonarqubecloud
Copy link

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.

2 participants