
* Fixed a bug on bookmark mode not finding correct image for prefetcher. * Fixed up the edit series relationship modal on tablet viewports. * On double page mode, only bookmark 1 page if only 1 pages is renderered on screen. * Added percentage read of a given library and average hours read per week to user stats. * Fixed a bug in the reader with paging in bookmark mode * Added a "This Week" option to top readers history * Added date ranges for reading time. Added dates that don't have anything, but might remove. * On phone, when applying a metadata filter, when clicking apply, collapse the filter automatically. * Disable jump bar and the resuming from last spot when a custom sort is applied. * Ensure all Regex.Replace or Matches have timeouts set
21 lines
599 B
C#
21 lines
599 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace API.DTOs.Statistics;
|
|
|
|
public class UserReadStatistics
|
|
{
|
|
/// <summary>
|
|
/// Total number of pages read
|
|
/// </summary>
|
|
public long TotalPagesRead { get; set; }
|
|
/// <summary>
|
|
/// Total time spent reading based on estimates
|
|
/// </summary>
|
|
public long TimeSpentReading { get; set; }
|
|
public long ChaptersRead { get; set; }
|
|
public DateTime LastActive { get; set; }
|
|
public double AvgHoursPerWeekSpentReading { get; set; }
|
|
public IEnumerable<StatCount<float>> PercentReadPerLibrary { get; set; }
|
|
|
|
}
|