using SVSim.Database.Entities.Story; namespace SVSim.Database.Repositories.Story; public interface IViewerStoryProgressRepository { Task> GetProgressForChaptersAsync(long viewerId, IEnumerable storyIds); Task> GetBranchUnlockedStoryIdsAsync(long viewerId, IEnumerable storyIds); Task UpsertProgressAsync(long viewerId, int storyId, bool? isFinish, bool? isSkipped); Task UpsertBranchUnlockAsync(long viewerId, int storyId); }