#nullable enable
namespace ErsatzTV.Core.Api.Search;

// Per-kind total hit counts for a search all-items query, independent of the current page. Lets a
// client page GET /api/v1/search/all-items to completeness (the SPA "add all" flow) instead of
// materializing every id in one unbounded response (issue #293).
public record SearchResultAllItemsTotalsResponseModel(
    int MovieCount,
    int ShowCount,
    int SeasonCount,
    int EpisodeCount,
    int ArtistCount,
    int MusicVideoCount,
    int OtherVideoCount,
    int SongCount,
    int ImageCount,
    int RemoteStreamCount);
