Skip to content

Commit

Permalink
feat: add diagramID to diagram and program models (CV3-363)
Browse files Browse the repository at this point in the history
  • Loading branch information
viniciusdacal committed Sep 8, 2023
1 parent 1072388 commit 8f88a7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/base-types/src/models/diagram.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export interface MenuItem {
export interface Model<Node extends BaseDiagramNode = BaseDiagramNode> {
_id: string;
versionID: string;
diagramID: string;
creatorID: number;

name: string;
Expand Down
1 change: 1 addition & 0 deletions packages/base-types/src/models/program.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ export interface Model<Node extends BaseNode = BaseNode, Command extends BaseCom
id: string;
startId: string;
versionID: string;
diagramID: string;

name?: string;
lines: Record<string, Node>;
Expand Down

0 comments on commit 8f88a7f

Please sign in to comment.