using NexusReader.Application.Abstractions.Messaging;
namespace NexusReader.Application.Commands.Library;
///
/// Command to ingest a new ebook into the library.
///
/// The title of the book.
/// The name of the author.
/// The raw bytes of the cover image (optional).
/// The raw bytes of the EPUB file.
/// The ID of the user owning the book.
/// The tenant ID for multi-tenant isolation. Defaults to "global" for single-tenant or default usage.
public record IngestEbookCommand(
string Title,
string AuthorName,
byte[]? CoverImage,
byte[] EpubData,
string UserId,
string TenantId = "global"
) : ICommand;