
* Enhance plugin/authenticate to allow RefreshToken to be returned as well. * When typing a series name, min, or max filter, press enter to apply metadata filter. * Cleaned up the documentation around MaxCount and TotalCount * Fixed a bug where PublicationStatus wasn't being correctly set due to some strange logic I coded. * Fixed bookmark mode not having access to critical page dimensions. Fetching bookmark info api now returns dimensions by default. * Fixed pagination scaling code for different fitting options * Fixed missing code to persist page split in manga reader * Removed unneeded prefetch of blank images in bookmark mode
24 lines
961 B
C#
24 lines
961 B
C#
using System.Collections.Generic;
|
|
using API.Entities.Enums;
|
|
|
|
namespace API.DTOs.Reader;
|
|
|
|
public class BookmarkInfoDto
|
|
{
|
|
public string SeriesName { get; set; } = default!;
|
|
public MangaFormat SeriesFormat { get; set; }
|
|
public int SeriesId { get; set; }
|
|
public int LibraryId { get; set; }
|
|
public LibraryType LibraryType { get; set; }
|
|
public int Pages { get; set; }
|
|
/// <summary>
|
|
/// List of all files with their inner archive structure maintained in filename and dimensions
|
|
/// </summary>
|
|
/// <remarks>This is optionally returned by includeDimensions</remarks>
|
|
public IEnumerable<FileDimensionDto>? PageDimensions { get; set; }
|
|
/// <summary>
|
|
/// For Double Page reader, this will contain snap points to ensure the reader always resumes on correct page
|
|
/// </summary>
|
|
/// <remarks>This is optionally returned by includeDimensions</remarks>
|
|
public IDictionary<int, int>? DoublePairs { get; set; }
|
|
}
|