mirror of
				https://github.com/Kareadita/Kavita.git
				synced 2025-11-03 19:17:05 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
		
			629 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			629 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<IEnumerable<InProgressChapterDto>> GetContinueReading(int userId, int libraryId, int limit);
 | 
						|
    }
 | 
						|
} |