Initial commit
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
using RobotNet10.MapEditor.Shared.DTOs.Node;
|
||||
using RobotNet10.MapEditor.Shared.DTOs.Edge;
|
||||
|
||||
namespace RobotNet10.MapEditor.Shared.DTOs.Responses;
|
||||
|
||||
/// <summary>
|
||||
/// Response from split node operation
|
||||
/// </summary>
|
||||
public class SplitNodeResponse
|
||||
{
|
||||
/// <summary>
|
||||
/// List of newly created nodes (one for each connected edge)
|
||||
/// </summary>
|
||||
public List<NodeDto> NewNodes { get; set; } = new();
|
||||
|
||||
/// <summary>
|
||||
/// List of edges that were updated (StartNodeId or EndNodeId changed)
|
||||
/// </summary>
|
||||
public List<EdgeDto> UpdatedEdges { get; set; } = new();
|
||||
|
||||
/// <summary>
|
||||
/// ID of the original node that was split (now deleted)
|
||||
/// </summary>
|
||||
public Guid DeletedNodeId { get; set; }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user