This commit is contained in:
Veljko Tosic
2026-02-12 09:51:09 +01:00
parent b0f5f38412
commit aa012d2b0c
11 changed files with 245 additions and 0 deletions

View File

@@ -28,6 +28,7 @@ public static partial class ShapeMappers
Id = new Guid(rectangle.Id.Value),
Type = rectangle.ShapeType,
WhiteboardId = new Guid(rectangle.WhiteboardId.IdValue),
AuthorId = new Guid(rectangle.AuthorId.IdValue),
PositionX = rectangle.Position.X,
PositionY = rectangle.Position.Y,
Color = rectangle.Color.Value,
@@ -45,6 +46,7 @@ public static partial class ShapeMappers
Id = new Guid(line.Id.Value),
Type = line.ShapeType,
WhiteboardId = new Guid(line.WhiteboardId.IdValue),
AuthorId = new Guid(line.AuthorId.IdValue),
PositionX = line.Position.X,
PositionY = line.Position.Y,
Color = line.Color.Value,
@@ -62,6 +64,7 @@ public static partial class ShapeMappers
Id = new Guid(arrow.Id.Value),
Type = arrow.ShapeType,
WhiteboardId = new Guid(arrow.WhiteboardId.IdValue),
AuthorId = new Guid(arrow.AuthorId.IdValue),
PositionX = arrow.Position.X,
PositionY = arrow.Position.Y,
Color = arrow.Color.Value,
@@ -79,6 +82,7 @@ public static partial class ShapeMappers
Id = new Guid(textShape.Id.Value),
Type = textShape.ShapeType,
WhiteboardId = new Guid(textShape.WhiteboardId.IdValue),
AuthorId = new Guid(textShape.AuthorId.IdValue),
PositionX = textShape.Position.X,
PositionY = textShape.Position.Y,
Color = textShape.Color.Value,