using Flypaper.Storage.Entities; namespace Flypaper.Storage.Dashboard; public sealed record DashboardData( int TotalCatches, int CatchesLast24Hours, int Rejected, int RejectedLast24Hours, int UniqueIps, TimeSpan TotalHoldTime, IReadOnlyList Recent, IReadOnlyList TopIps, IReadOnlyList TopTargets, IReadOnlyList TopCountries, IReadOnlyList TopProviders, IReadOnlyDictionary CatchesByCountry); public sealed record TopEntry(string Key, int Count, TimeSpan HoldTime, string? Label = null);