mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 15:11:10 +00:00
Adds book reading support with EPUB and PDF reader plugins
This commit is contained in:
1 parent
275fd83ff2
commit
f7ccdf3d1c
271 files changed
+11501
-361
No files matched your search
+1
-1
@@ -8,7 +8,7 @@ namespace Lumina.Presentation.Web.Common.Requests.Library.Management;
|
||||
/// <summary>
|
||||
/// Represents the request for displaying the media library editing view.
|
||||
/// </summary>
|
||||
/// <param name="Id">The unique identifier of the media library to edit.</param>
|
||||
/// <param name="Id">The unique identifier of the media library to edit. Required.</param>
|
||||
[DebuggerDisplay("Id: {Id}")]
|
||||
public record EditLibraryRequest(
|
||||
Guid Id
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@ namespace Lumina.Presentation.Web.Common.Requests.Library.Management;
|
||||
/// <summary>
|
||||
/// Represents the request for retrieving the artwork providers of a media library.
|
||||
/// </summary>
|
||||
/// <param name="LibraryId">The unique identifier of the media library whose artwork providers are retrieved.</param>
|
||||
/// <param name="LibraryId">The unique identifier of the media library whose artwork providers are retrieved. Required.</param>
|
||||
[DebuggerDisplay("LibraryId: {LibraryId}")]
|
||||
public record GetArtworkProvidersRequest(
|
||||
Guid LibraryId
|
||||
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
#region ========================================================================= USING =====================================================================================
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
#endregion
|
||||
|
||||
namespace Lumina.Presentation.Web.Common.Requests.Library.Management;
|
||||
|
||||
/// <summary>
|
||||
/// Represents the request for retrieving the book readers of a media library.
|
||||
/// </summary>
|
||||
/// <param name="LibraryId">The unique identifier of the media library whose book readers are retrieved. Required.</param>
|
||||
[DebuggerDisplay("LibraryId: {LibraryId}")]
|
||||
public record GetBookReadersRequest(
|
||||
Guid LibraryId
|
||||
);
|
||||
+1
-1
@@ -8,7 +8,7 @@ namespace Lumina.Presentation.Web.Common.Requests.Library.Management;
|
||||
/// <summary>
|
||||
/// Represents the request for retrieving the metadata providers of a media library.
|
||||
/// </summary>
|
||||
/// <param name="LibraryId">The unique identifier of the media library whose metadata providers are retrieved.</param>
|
||||
/// <param name="LibraryId">The unique identifier of the media library whose metadata providers are retrieved. Required.</param>
|
||||
[DebuggerDisplay("LibraryId: {LibraryId}")]
|
||||
public record GetMetadataProvidersRequest(
|
||||
Guid LibraryId
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@ namespace Lumina.Presentation.Web.Common.Requests.Library.WrittenContentLibrary.
|
||||
/// <summary>
|
||||
/// Represents a request to get a book by the specified Id.
|
||||
/// </summary>
|
||||
/// <param name="Id">The unique identifier of the book to retrieve.</param>
|
||||
/// <param name="Id">The unique identifier of the book to retrieve. Required.</param>
|
||||
[DebuggerDisplay("Id: {Id}")]
|
||||
public record GetBookRequest(
|
||||
Guid Id
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@ namespace Lumina.Presentation.Web.Common.Requests.Library.WrittenContentLibrary.
|
||||
/// <summary>
|
||||
/// Represents the request for displaying the books browsing view.
|
||||
/// </summary>
|
||||
/// <param name="LibraryId">The unique identifier of the media library whose books are browsed.</param>
|
||||
/// <param name="LibraryId">The unique identifier of the media library whose books are browsed. Optional.</param>
|
||||
[DebuggerDisplay("LibraryId: {LibraryId}")]
|
||||
public record GetBooksViewRequest(
|
||||
Guid? LibraryId
|
||||
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
#region ========================================================================= USING =====================================================================================
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
#endregion
|
||||
|
||||
namespace Lumina.Presentation.Web.Common.Requests.Library.WrittenContentLibrary.BookLibrary.Books.Reading;
|
||||
|
||||
/// <summary>
|
||||
/// Represents a request to check the reading availability of a book.
|
||||
/// </summary>
|
||||
/// <param name="BookId">The unique identifier of the book whose reading availability is checked. Required.</param>
|
||||
[DebuggerDisplay("BookId: {BookId}")]
|
||||
public record GetBookReadingAvailabilityRequest(
|
||||
Guid BookId
|
||||
);
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
#region ========================================================================= USING =====================================================================================
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
#endregion
|
||||
|
||||
namespace Lumina.Presentation.Web.Common.Requests.Library.WrittenContentLibrary.BookLibrary.Books.Reading;
|
||||
|
||||
/// <summary>
|
||||
/// Represents a request to get the reading manifest of a book.
|
||||
/// </summary>
|
||||
/// <param name="BookId">The unique identifier of the book whose reading manifest is retrieved. Required.</param>
|
||||
[DebuggerDisplay("BookId: {BookId}")]
|
||||
public record GetBookReadingManifestRequest(
|
||||
Guid BookId
|
||||
);
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
#region ========================================================================= USING =====================================================================================
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
#endregion
|
||||
|
||||
namespace Lumina.Presentation.Web.Common.Requests.Library.WrittenContentLibrary.BookLibrary.Books.Reading;
|
||||
|
||||
/// <summary>
|
||||
/// Represents a request to get a resource of a book, for reading.
|
||||
/// </summary>
|
||||
/// <param name="BookId">The unique identifier of the book whose resource is retrieved. Required.</param>
|
||||
/// <param name="ResourceKey">The opaque resource key of the resource. Required.</param>
|
||||
[DebuggerDisplay("BookId: {BookId}, ResourceKey: {ResourceKey}")]
|
||||
public record GetBookReadingResourceRequest(
|
||||
Guid BookId,
|
||||
string ResourceKey
|
||||
);
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
#region ========================================================================= USING =====================================================================================
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
#endregion
|
||||
|
||||
namespace Lumina.Presentation.Web.Common.Requests.Library.WrittenContentLibrary.BookLibrary.Books.Reading;
|
||||
|
||||
/// <summary>
|
||||
/// Represents a request to get the content of a reading section of a book.
|
||||
/// </summary>
|
||||
/// <param name="BookId">The unique identifier of the book whose reading section is retrieved. Required.</param>
|
||||
/// <param name="LocationRef">The opaque location reference of the reading section. Required.</param>
|
||||
[DebuggerDisplay("BookId: {BookId}, LocationRef: {LocationRef}")]
|
||||
public record GetBookReadingSectionRequest(
|
||||
Guid BookId,
|
||||
string LocationRef
|
||||
);
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
#region ========================================================================= USING =====================================================================================
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
#endregion
|
||||
|
||||
namespace Lumina.Presentation.Web.Common.Requests.Library.WrittenContentLibrary.BookLibrary.Books.Reading;
|
||||
|
||||
/// <summary>
|
||||
/// Represents the request for displaying the reading view of a book.
|
||||
/// </summary>
|
||||
/// <param name="BookId">The unique identifier of the book to read. Required.</param>
|
||||
[DebuggerDisplay("BookId: {BookId}")]
|
||||
public record ReadBookViewRequest(
|
||||
Guid BookId
|
||||
);
|
||||
Reference in new issue
Block a user