Started the refactoring so that there is a menu service to handle opening/closing the different drawers.
This commit is contained in:
parent
fc54f8571f
commit
4d4b3c7285
41 changed files with 4666 additions and 142 deletions
35
API/DTOs/Reader/CreateAnnotationRequest.cs
Normal file
35
API/DTOs/Reader/CreateAnnotationRequest.cs
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
using API.Entities.Enums;
|
||||
|
||||
namespace API.DTOs.Reader;
|
||||
|
||||
public sealed record CreateAnnotationRequest
|
||||
{
|
||||
public int Id { get; set; }
|
||||
/// <summary>
|
||||
/// Starting point of the Highlight
|
||||
/// </summary>
|
||||
public required string XPath { get; set; }
|
||||
/// <summary>
|
||||
/// Ending point of the Highlight. Can be the same as <see cref="XPath"/>
|
||||
/// </summary>
|
||||
public string EndingXPath { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The text selected.
|
||||
/// </summary>
|
||||
public string SelectedText { get; set; }
|
||||
/// <summary>
|
||||
/// Rich text Comment
|
||||
/// </summary>
|
||||
public string? Comment { get; set; }
|
||||
/// <summary>
|
||||
/// The number of characters selected
|
||||
/// </summary>
|
||||
public int HighlightCount { get; set; }
|
||||
public bool ContainsSpoiler { get; set; }
|
||||
public int PageNumber { get; set; }
|
||||
|
||||
public HightlightColor HighlightColor { get; set; }
|
||||
|
||||
public required int ChapterId { get; set; }
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue