mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 06:11:10 +00:00
Refactors the book, artist, and album slices across the stack
This commit is contained in:
1 parent
8aaf9fe64e
commit
ea6eb9f796
439 files changed
+28235
-3156
No files matched your search
+26
@@ -0,0 +1,26 @@
|
||||
#region ========================================================================= USING =====================================================================================
|
||||
using Lumina.Contracts.DTO.MediaContributors;
|
||||
using Lumina.Contracts.Requests.MediaLibrary.AudioLibrary.MusicLibrary.Albums;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
#endregion
|
||||
|
||||
namespace Lumina.Contracts.Requests.MediaLibrary.AudioLibrary.MusicLibrary.Artists;
|
||||
|
||||
/// <summary>
|
||||
/// Represents a request to add an artist, together with the albums of the artist and the tracks of those albums.
|
||||
/// </summary>
|
||||
/// <param name="Name">The name of the artist. Required.</param>
|
||||
/// <param name="Website">The website of the artist. Optional.</param>
|
||||
/// <param name="MusicBrainzArtistId">The MusicBrainz identifier of the artist. Optional.</param>
|
||||
/// <param name="Contributors">The list of media contributors that make up the artist. Required.</param>
|
||||
/// <param name="Albums">The list of albums of the artist, each with its own list of tracks. Required.</param>
|
||||
[DebuggerDisplay("Name: {Name}")]
|
||||
public record AddArtistRequest(
|
||||
string? Name,
|
||||
string? Website,
|
||||
Guid? MusicBrainzArtistId,
|
||||
List<MediaContributorReferenceDto>? Contributors,
|
||||
List<AddAlbumRequest>? Albums
|
||||
);
|
||||
Reference in new issue
Block a user