-
Notifications
You must be signed in to change notification settings - Fork 5
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
[Merged by Bors] - fix: update BlockTemplate types to use diagramID instead of new structure (CT-679) #346
Conversation
0892b8d
to
263965e
Compare
@@ -1,7 +1,5 @@ | |||
import { BaseDiagramNode } from '../base'; | |||
|
|||
export interface BlockTemplate { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why do we need BlockTemplate
type?
263965e
to
22a01bb
Compare
@@ -0,0 +1,5 @@ | |||
export interface CanvasTemplate { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add an id field so for the endpoints we can select by id instead of name?
22a01bb
to
defe33d
Compare
bors r+ |
…ture (CT-679) (#346) <!-- You can erase any parts of this template not applicable to your Pull Request. --> **Fixes or implements CT-679** ### Brief description. What is this change? <!-- Build up some context for your teammates on the changes made here and potential tradeoffs made and/or highlight any topics for discussion -->
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Pull request successfully merged into master. Build succeeded: |
Fixes or implements CT-679
Brief description. What is this change?
Implementation details. How do you make this change?
We decided to use diagram to save the templates. That will better support migrations and it will makes things easier if we decide to support edition of a template.
To support that, we introduced a new diagram type: TEMPLATE.
Also, version will only point out to a diagramID instead of saving the whole node inside it.