mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-06-04 06:04:37 -04:00
* Refactored the performance of GetChapter/BookInfo API to have a 10x speed improvement and to use common code, rather than duplicating code. Removed an api param that is no longer needed. * Book reader now has dedicated buttons to jump to next/prev chapter as well as through page buttons
15 lines
393 B
C#
15 lines
393 B
C#
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using API.DTOs.Reader;
|
|
using API.Entities;
|
|
|
|
namespace API.Interfaces.Repositories
|
|
{
|
|
public interface IChapterRepository
|
|
{
|
|
void Update(Chapter chapter);
|
|
Task<IEnumerable<Chapter>> GetChaptersByIdsAsync(IList<int> chapterIds);
|
|
Task<IChapterInfoDto> GetChapterInfoDtoAsync(int chapterId);
|
|
}
|
|
}
|