Refactors the book, artist, and album slices across the stack

This commit is contained in:
BinaryAlley committed 2026-09-17 13:30:48 -07:00
1 parent 8aaf9fe64e
commit ea6eb9f796
439 files changed
+28235 -3156

No files matched your search

@@ -1,4 +1,5 @@
#region ========================================================================= USING =====================================================================================
using System;
using System.Diagnostics;
#endregion
@@ -7,8 +8,10 @@ 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, taken from the route. Required.</param>
[DebuggerDisplay("Id: {Id}")]
/// <param name="BookId">The unique identifier of the book to retrieve, taken from the route. Required.</param>
/// <param name="LibraryId">The Id of the media library the book belongs to. Required.</param>
[DebuggerDisplay("BookId: {BookId}")]
public record GetBookRequest(
string Id
string BookId,
Guid LibraryId
);
@@ -9,7 +9,9 @@ namespace Lumina.Presentation.Web.Common.Requests.Library.WrittenContentLibrary.
/// 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>
/// <param name="LibraryId">The Id of the media library the book belongs to. Required.</param>
[DebuggerDisplay("BookId: {BookId}")]
public record GetBookReadingAvailabilityRequest(
Guid BookId
Guid BookId,
Guid LibraryId
);
@@ -9,7 +9,9 @@ namespace Lumina.Presentation.Web.Common.Requests.Library.WrittenContentLibrary.
/// 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>
/// <param name="LibraryId">The Id of the media library the book belongs to. Required.</param>
[DebuggerDisplay("BookId: {BookId}")]
public record GetBookReadingManifestRequest(
Guid BookId
Guid BookId,
Guid LibraryId
);
@@ -10,8 +10,10 @@ namespace Lumina.Presentation.Web.Common.Requests.Library.WrittenContentLibrary.
/// </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>
/// <param name="LibraryId">The Id of the media library the book belongs to. Required.</param>
[DebuggerDisplay("BookId: {BookId}, ResourceKey: {ResourceKey}")]
public record GetBookReadingResourceRequest(
Guid BookId,
string ResourceKey
string ResourceKey,
Guid LibraryId
);
@@ -10,8 +10,10 @@ namespace Lumina.Presentation.Web.Common.Requests.Library.WrittenContentLibrary.
/// </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>
/// <param name="LibraryId">The Id of the media library the book belongs to. Required.</param>
[DebuggerDisplay("BookId: {BookId}, LocationRef: {LocationRef}")]
public record GetBookReadingSectionRequest(
Guid BookId,
string LocationRef
string LocationRef,
Guid LibraryId
);
@@ -9,7 +9,9 @@ namespace Lumina.Presentation.Web.Common.Requests.Library.WrittenContentLibrary.
/// 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>
/// <param name="LibraryId">The Id of the media library the book belongs to. Required.</param>
[DebuggerDisplay("BookId: {BookId}")]
public record ReadBookViewRequest(
Guid BookId
Guid BookId,
Guid LibraryId
);