feat(replay): add ReplayHistoryReader for newest-first list query
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
7
SVSim.Database/Services/Replay/IReplayHistoryReader.cs
Normal file
7
SVSim.Database/Services/Replay/IReplayHistoryReader.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
namespace SVSim.Database.Services.Replay;
|
||||
|
||||
public interface IReplayHistoryReader
|
||||
{
|
||||
/// <summary>Newest-first by CreateTime. Caps at <paramref name="take"/> (default 50).</summary>
|
||||
Task<IReadOnlyList<ReplayHistoryEntry>> GetRecentAsync(long viewerId, int take, CancellationToken ct);
|
||||
}
|
||||
Reference in New Issue
Block a user