mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-06-02 21:24:18 -04:00
* Fixed up a localization lookup test case * Refactored some webp to a unified method * Cleaned up some code * Expanded webp conversion for covers to all entities * Code cleanup * Prompt the user when they are about to delete multiple series via bulk actions * Aligned Kavita to OPDS-PS 1.2. * Fixed a bug where clearing metadata filter of series name didn't clear the actual field. * Added some documentation * Refactored how covert covers to webp works. Now we will handle all custom covers for all entities. Volumes and Series will not be touched but instead be updated via a RefreshCovers call. This will fix up the references much faster. * Fixed up the OPDS-PS 1.2 attributes to only show on PS links
26 lines
680 B
C#
26 lines
680 B
C#
using System;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace API.DTOs;
|
|
|
|
public class ProgressDto
|
|
{
|
|
[Required]
|
|
public int VolumeId { get; set; }
|
|
[Required]
|
|
public int ChapterId { get; set; }
|
|
[Required]
|
|
public int PageNum { get; set; }
|
|
[Required]
|
|
public int SeriesId { get; set; }
|
|
[Required]
|
|
public int LibraryId { get; set; }
|
|
/// <summary>
|
|
/// For EPUB 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; }
|
|
|
|
public DateTime LastModifiedUtc { get; set; }
|
|
}
|