feat: add GetContinueWatchingEntry to watchlist service

Expose continue watching entry lookup so other handlers can check
saved progress for an anime without needing the playback service.
This commit is contained in:
2026-05-13 18:16:14 +02:00
parent b7f91f3b1b
commit 89e0120ca6
3 changed files with 13 additions and 0 deletions

View File

@@ -34,6 +34,10 @@ func (r *watchlistRepository) GetUserWatchList(ctx context.Context, userID strin
return r.queries.GetUserWatchList(ctx, userID)
}
func (r *watchlistRepository) GetContinueWatchingEntry(ctx context.Context, arg db.GetContinueWatchingEntryParams) (db.ContinueWatchingEntry, error) {
return r.queries.GetContinueWatchingEntry(ctx, arg)
}
func (r *watchlistRepository) DeleteContinueWatchingEntry(ctx context.Context, arg db.DeleteContinueWatchingEntryParams) error {
return r.queries.DeleteContinueWatchingEntry(ctx, arg)
}