This commit is contained in:
gamer147
2026-05-25 14:36:12 -04:00
parent 558e8288eb
commit 5e7a65fe5a
54 changed files with 39633 additions and 29 deletions

View File

@@ -0,0 +1,12 @@
using SVSim.Database.Entities.Story;
namespace SVSim.Database.Repositories.Story;
public interface IViewerStoryProgressRepository
{
Task<Dictionary<int, ViewerStoryProgress>> GetProgressForChaptersAsync(long viewerId, IEnumerable<int> storyIds);
Task<HashSet<int>> GetBranchUnlockedStoryIdsAsync(long viewerId, IEnumerable<int> storyIds);
Task UpsertProgressAsync(long viewerId, int storyId, bool? isFinish, bool? isSkipped);
Task UpsertBranchUnlockAsync(long viewerId, int storyId);
}