Adds book reading support with EPUB and PDF reader plugins

This commit is contained in:
BinaryAlley committed 2026-09-02 04:45:11 -07:00
1 parent 275fd83ff2
commit f7ccdf3d1c
271 files changed
+11501 -361

No files matched your search

@@ -0,0 +1,33 @@
#region ========================================================================= USING =====================================================================================
using System;
using System.Diagnostics;
#endregion
namespace Lumina.Presentation.Web.Common.DTO.Reading;
/// <summary>
/// Data transfer object for the reading availability of a book.
/// </summary>
[DebuggerDisplay("BookId: {BookId}, IsAvailable: {IsAvailable}")]
public class ReadingAvailabilityDto
{
/// <summary>
/// Gets or sets the Id of the book whose reading availability is reported.
/// </summary>
public Guid BookId { get; set; }
/// <summary>
/// Gets or sets the Id of the media library the book belongs to.
/// </summary>
public Guid LibraryId { get; set; }
/// <summary>
/// Gets or sets whether the book can be opened for reading.
/// </summary>
public bool IsAvailable { get; set; }
/// <summary>
/// Gets or sets the code of the error preventing the book from being read, when it cannot be read. Can be <see langword="null"/> when the book is available.
/// </summary>
public string? ErrorCode { get; set; }
}