mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 10:11:10 +00:00
Refactors the album slice across the stack
This commit is contained in:
1 parent
aa097ecc98
commit
d4cc3c1f8d
37 files changed
+600
-305
No files matched your search
-17
@@ -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
|
||||
);
|
||||
-17
@@ -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
-6
@@ -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
|
||||
);
|
||||
-17
@@ -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
|
||||
);
|
||||
Reference in new issue
Block a user