Refactors the album slice across the stack

This commit is contained in:
BinaryAlley committed 2026-09-19 12:57:39 -07:00
1 parent aa097ecc98
commit d4cc3c1f8d
37 files changed
+600 -305

No files matched your search

@@ -1,17 +0,0 @@
#region ========================================================================= USING =====================================================================================
using System;
using System.Diagnostics;
#endregion
namespace Lumina.Contracts.Requests.MediaLibrary.AudioLibrary.MusicLibrary.Albums;
/// <summary>
/// Represents a request to delete an album by the specified Id.
/// </summary>
/// <param name="ArtistId">The unique identifier of the artist the album belongs to, taken from the route.</param>
/// <param name="AlbumId">The unique identifier of the album to delete.</param>
[DebuggerDisplay("AlbumId: {AlbumId}")]
public record DeleteAlbumRequest(
Guid ArtistId,
Guid AlbumId
);
@@ -1,17 +0,0 @@
#region ========================================================================= USING =====================================================================================
using System;
using System.Diagnostics;
#endregion
namespace Lumina.Contracts.Requests.MediaLibrary.AudioLibrary.MusicLibrary.Albums;
/// <summary>
/// Represents a request to get an album by the specified Id.
/// </summary>
/// <param name="ArtistId">The unique identifier of the artist the album belongs to, taken from the route.</param>
/// <param name="AlbumId">The unique identifier of the album to retrieve.</param>
[DebuggerDisplay("AlbumId: {AlbumId}")]
public record GetAlbumRequest(
Guid ArtistId,
Guid AlbumId
);
@@ -1,5 +1,4 @@
#region ========================================================================= USING =====================================================================================
using System;
using System.Diagnostics;
#endregion
@@ -8,14 +7,10 @@ namespace Lumina.Contracts.Requests.MediaLibrary.AudioLibrary.MusicLibrary.Album
/// <summary>
/// Represents a request to get the lightweight read models of the tracks of an album.
/// </summary>
/// <param name="ArtistId">The unique identifier of the artist the album belongs to, taken from the route.</param>
/// <param name="AlbumId">The unique identifier of the album whose tracks are retrieved.</param>
/// <param name="CurrentPage">The page of results to retrieve. Optional.</param>
/// <param name="PerPage">The maximum number of tracks to retrieve per page. Optional.</param>
[DebuggerDisplay("AlbumId: {AlbumId}")]
[DebuggerDisplay("CurrentPage: {CurrentPage}, PerPage: {PerPage}")]
public record GetAlbumTracksLiteRequest(
Guid ArtistId,
Guid AlbumId,
int? CurrentPage,
int? PerPage
);
@@ -1,17 +0,0 @@
#region ========================================================================= USING =====================================================================================
using System;
using System.Diagnostics;
#endregion
namespace Lumina.Contracts.Requests.MediaLibrary.AudioLibrary.MusicLibrary.Albums;
/// <summary>
/// Represents a request to get the tracks of an album.
/// </summary>
/// <param name="ArtistId">The unique identifier of the artist the album belongs to, taken from the route.</param>
/// <param name="AlbumId">The unique identifier of the album whose tracks are retrieved.</param>
[DebuggerDisplay("AlbumId: {AlbumId}")]
public record GetAlbumTracksRequest(
Guid ArtistId,
Guid AlbumId
);