Initial commit
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
using RobotNet10.MapEditor.Shared.DTOs.Node;
|
||||
using RobotNet10.MapEditor.Shared.DTOs.Edge;
|
||||
|
||||
namespace RobotNet10.MapEditor.Shared.DTOs.Responses;
|
||||
|
||||
/// <summary>
|
||||
/// Response from copy nodes operation
|
||||
/// </summary>
|
||||
public class CopyNodesResponse
|
||||
{
|
||||
/// <summary>
|
||||
/// Whether the copy operation was successful
|
||||
/// </summary>
|
||||
public bool Success { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Error message if copy failed
|
||||
/// </summary>
|
||||
public string? ErrorMessage { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Newly created nodes
|
||||
/// </summary>
|
||||
public List<NodeDto> NewNodes { get; set; } = new();
|
||||
|
||||
/// <summary>
|
||||
/// Newly created edges
|
||||
/// </summary>
|
||||
public List<EdgeDto> NewEdges { get; set; } = new();
|
||||
|
||||
/// <summary>
|
||||
/// Mapping from original node ID to new node ID
|
||||
/// </summary>
|
||||
public Dictionary<Guid, Guid> NodeIdMapping { get; set; } = new();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user