Skip to content

Commit

Permalink
feat: removing StructureNodeResult and adding DocumentStructureNodeRe…
Browse files Browse the repository at this point in the history
…sult back #9

BREAKING CHANGE: StructureNodeResult has been removed, and adding DocumentStructureNodeResult back
  • Loading branch information
Andras-Csanyi authored May 11, 2024
2 parents 4cafd3f + 3eb34d4 commit af6fc97
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion BusinessLogic.Contracts/DocumentInput.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ public class DocumentInput
public string? Description { get; set; }
public Uri? Uri { get; set; }

public StructureNodeInput? RootStructureNode { get; set; }
public DocumentStructureNodeInput? RootStructureNode { get; set; }
}
2 changes: 1 addition & 1 deletion BusinessLogic.Contracts/DocumentResult.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ public class DocumentResult
public string? Description { get; set; }
public Uri? Uri { get; set; }

public ICollection<StructureNodeResult> StructureNodes { get; set; } = new List<StructureNodeResult>();
public ICollection<DocumentStructureNodeResult> StructureNodes { get; set; } = new List<DocumentStructureNodeResult>();
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace EncyclopediaGalactica.BusinessLogic.Contracts;

public class StructureNodeInput
public class DocumentStructureNodeInput
{
public long Id { get; set; }
public long DocumentId { get; set; }
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
namespace EncyclopediaGalactica.BusinessLogic.Contracts;

public class StructureNodeResult
public class DocumentStructureNodeResult
{
public long Id { get; set; }
public long DocumentId { get; set; }
public long ParentId { get; set; }
public ICollection<StructureNodeResult> StructureNodeResults { get; set; } = new List<StructureNodeResult>();
public ICollection<DocumentStructureNodeResult> StructureNodeResults { get; set; } = new List<DocumentStructureNodeResult>();
}

0 comments on commit af6fc97

Please sign in to comment.