mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 13:11:10 +00:00
Adds book deletion and restore to the web client.
Soft deletes books so the scan keeps their paths reserved, lists the deleted books on a themed page, and lets the user restore them. Updates the API, bundled themes, localization, documentation and tests. Closes #213
This commit is contained in:
1 parent
ef5ede6325
commit
f26b07d4ff
125 files changed
+9856
-378
No files matched your search
+25
@@ -0,0 +1,25 @@
|
||||
#region ========================================================================= USING =====================================================================================
|
||||
using System;
|
||||
#endregion
|
||||
|
||||
namespace Lumina.Contracts.Responses.MediaLibrary.WrittenContentLibrary.BookLibrary.Books;
|
||||
|
||||
/// <summary>
|
||||
/// Represents a book that the user deleted and can restore.
|
||||
/// </summary>
|
||||
/// <param name="Id">The unique identifier of the book.</param>
|
||||
/// <param name="LibraryId">The unique identifier of the media library the book belongs to.</param>
|
||||
/// <param name="Title">The title of the book.</param>
|
||||
/// <param name="OriginalTitle">The original title of the book, when it differs from the current one.</param>
|
||||
/// <param name="Path">The file system path of the book.</param>
|
||||
/// <param name="DeletedOnUtc">The date and time when the book was deleted.</param>
|
||||
/// <param name="CoverPath">The relative path of the stored cover image of the book, when it has one.</param>
|
||||
public record DeletedBookResponse(
|
||||
Guid Id,
|
||||
Guid LibraryId,
|
||||
string Title,
|
||||
string? OriginalTitle,
|
||||
string Path,
|
||||
DateTime DeletedOnUtc,
|
||||
string? CoverPath
|
||||
);
|
||||
Reference in new issue
Block a user