mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-01 18:57:24 +00:00
Aligns the book metadata contract and consolidates metadata conversion and merging
This commit is contained in:
1 parent
590e49c9de
commit
e2d8e62908
43 files changed
+1076
-849
No files matched your search
+2
-20
@@ -10,16 +10,7 @@ namespace Nemera.Contracts.DTO.MediaLibrary.WrittenContentLibrary.BookLibrary;
|
||||
/// <summary>
|
||||
/// Data transfer object for the metadata of a book returned by a metadata provider.
|
||||
/// </summary>
|
||||
/// <param name="Title">The title of the book.</param>
|
||||
/// <param name="OriginalTitle">The original title of the book, if different from the current title.</param>
|
||||
/// <param name="Description">A brief description or summary of the book.</param>
|
||||
/// <param name="ReleaseInfo">The release information, including release date and other relevant details.</param>
|
||||
/// <param name="Genres">The list of genres associated with the book.</param>
|
||||
/// <param name="Tags">The list of tags that further describe or categorize the book.</param>
|
||||
/// <param name="Language">The language in which the book is written.</param>
|
||||
/// <param name="OriginalLanguage">The original language of the book, if it has been translated.</param>
|
||||
/// <param name="Publisher">The name of the publisher of the book.</param>
|
||||
/// <param name="PageCount">The number of pages in the book.</param>
|
||||
/// <param name="Metadata">Written content metadata of the book.</param>
|
||||
/// <param name="Format">The format of the book (e.g., Hardcover, Paperback), if applicable.</param>
|
||||
/// <param name="Edition">The edition of the book, if applicable.</param>
|
||||
/// <param name="VolumeNumber">The volume or book number in the series, if applicable.</param>
|
||||
@@ -38,16 +29,7 @@ namespace Nemera.Contracts.DTO.MediaLibrary.WrittenContentLibrary.BookLibrary;
|
||||
/// <param name="Ratings">The list of ratings for the book.</param>
|
||||
/// <param name="CoverImagePath">The path of the cover image of the book, if applicable.</param>
|
||||
public sealed record BookMetadataDto(
|
||||
string? Title,
|
||||
string? OriginalTitle,
|
||||
string? Description,
|
||||
ReleaseInfoDto? ReleaseInfo,
|
||||
List<GenreDto>? Genres,
|
||||
List<TagDto>? Tags,
|
||||
LanguageInfoDto? Language,
|
||||
LanguageInfoDto? OriginalLanguage,
|
||||
string? Publisher,
|
||||
int? PageCount,
|
||||
WrittenContentMetadataDto? Metadata,
|
||||
BookFormat? Format,
|
||||
string? Edition,
|
||||
float? VolumeNumber,
|
||||
|
||||
Reference in new issue
Block a user