diff --git a/src/GmRelay.Web/Services/ISessionStore.cs b/src/GmRelay.Web/Services/ISessionStore.cs index 07e6999..2033608 100644 --- a/src/GmRelay.Web/Services/ISessionStore.cs +++ b/src/GmRelay.Web/Services/ISessionStore.cs @@ -2,6 +2,19 @@ using GmRelay.Shared.Domain; namespace GmRelay.Web.Services; +public sealed record PlayerAttendanceStats( + Guid PlayerId, + string DisplayName, + string? TelegramUsername, + long TotalSessions, + long ConfirmedCount, + long DeclinedCount, + long NoResponseCount, + long WaitlistedCount, + long CancellationAffectedCount, + decimal AttendanceRate +); + public interface ISessionStore { Task> GetGroupsForGmAsync(long gmId); @@ -28,17 +41,4 @@ public interface ISessionStore Task> GetSessionParticipantsAsync(Guid sessionId); Task RemovePlayerFromSessionAsync(Guid sessionId, Guid groupId, Guid participantId); Task> GetGroupAttendanceStatsAsync(Guid groupId); - -public sealed record PlayerAttendanceStats( - Guid PlayerId, - string DisplayName, - string? TelegramUsername, - long TotalSessions, - long ConfirmedCount, - long DeclinedCount, - long NoResponseCount, - long WaitlistedCount, - long CancellationAffectedCount, - decimal AttendanceRate -); }