Book Reading Progress Enhancement (#259)

* Added book reader reading direction preference

* Adds a new marker to the AppUserProgress to capture nearest anchor for resuming scroll point when reading books. Refactored bookmark api to return a BookmarkDto which includes this new data.
This commit is contained in:
Joseph Milazzo 2021-06-03 18:33:13 -05:00 committed by GitHub
parent c12879cda9
commit 4910f1d1d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 925 additions and 7 deletions

View file

@ -2,9 +2,14 @@
{
public class BookmarkDto
{
public int VolumeId { get; init; }
public int ChapterId { get; init; }
public int PageNum { get; init; }
public int SeriesId { get; init; }
public int VolumeId { get; set; }
public int ChapterId { get; set; }
public int PageNum { get; set; }
public int SeriesId { get; set; }
/// <summary>
/// For Book reader, this can be an optional string of the id of a part marker, to help resume reading position
/// on pages that combine multiple "chapters".
/// </summary>
public string BookScrollId { get; set; }
}
}