using NexusReader.Application.Abstractions.Messaging;

namespace NexusReader.Application.Queries.Reader;

/// <summary>
/// Query to retrieve a specific chapter of a user's ebook.
/// </summary>
/// <param name="EbookId">The ID of the ebook to read.</param>
/// <param name="ChapterIndex">Zero-based chapter index.</param>
/// <param name="UserId">The authenticated user's ID for tenant isolation.</param>
public record GetReaderPageQuery(
    Guid EbookId,
    int ChapterIndex = 0,
    string? UserId = null) : IQuery<ReaderPageViewModel>;
