mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-05-24 00:52:23 -04:00
* Implemented the ability to download files (series, volume, chapter) * Added RBS checks to ensure user is either an admin or has download role * Added the ability to change a users feature RBS. Changed the Role seed to use reflection
18 lines
587 B
C#
18 lines
587 B
C#
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using API.DTOs;
|
|
using API.Entities;
|
|
|
|
namespace API.Interfaces
|
|
{
|
|
public interface IVolumeRepository
|
|
{
|
|
void Update(Volume volume);
|
|
Task<Chapter> GetChapterAsync(int chapterId);
|
|
Task<ChapterDto> GetChapterDtoAsync(int chapterId);
|
|
Task<IList<MangaFile>> GetFilesForChapter(int chapterId);
|
|
Task<IList<Chapter>> GetChaptersAsync(int volumeId);
|
|
Task<byte[]> GetChapterCoverImageAsync(int chapterId);
|
|
Task<IList<MangaFile>> GetFilesForVolume(int volumeId);
|
|
}
|
|
} |