Reading List Detail Overhaul + More Bugfixes and Polish (#3687)
Co-authored-by: Yongun Seong <yseong.p@gmail.com>
This commit is contained in:
parent
b2ee651fb8
commit
dad212bfb9
71 changed files with 5056 additions and 729 deletions
26
API/DTOs/ReadingLists/ReadingListInfoDto.cs
Normal file
26
API/DTOs/ReadingLists/ReadingListInfoDto.cs
Normal file
|
@ -0,0 +1,26 @@
|
|||
using API.DTOs.Reader;
|
||||
using API.Entities.Interfaces;
|
||||
|
||||
namespace API.DTOs.ReadingLists;
|
||||
|
||||
public class ReadingListInfoDto : IHasReadTimeEstimate
|
||||
{
|
||||
/// <summary>
|
||||
/// Total Pages across all Reading List Items
|
||||
/// </summary>
|
||||
public int Pages { get; set; }
|
||||
/// <summary>
|
||||
/// Total Word count across all Reading List Items
|
||||
/// </summary>
|
||||
public long WordCount { get; set; }
|
||||
/// <summary>
|
||||
/// Are ALL Reading List Items epub
|
||||
/// </summary>
|
||||
public bool IsAllEpub { get; set; }
|
||||
/// <inheritdoc cref="IHasReadTimeEstimate.MinHoursToRead"/>
|
||||
public int MinHoursToRead { get; set; }
|
||||
/// <inheritdoc cref="IHasReadTimeEstimate.MaxHoursToRead"/>
|
||||
public int MaxHoursToRead { get; set; }
|
||||
/// <inheritdoc cref="IHasReadTimeEstimate.AvgHoursToRead"/>
|
||||
public float AvgHoursToRead { get; set; }
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue