mirror of
				https://github.com/Kareadita/Kavita.git
				synced 2025-10-31 18:47:05 -04:00 
			
		
		
		
	* ImageService had a stream reset before writting out to array. Added logging statment for updating series metadata. Removed ConcurencyCheck due to bad update issue for CollectionTag. * Added a new screen which lets you quickly see all your bookmarks for a given user. * Built user bookmark page in user settings. Moved user settings to it's own lazy loaded module. Removed unneded debouncing from downloader and just used throttleTime instead. * Removed a not-yet implemented tab from series modal * Fixed a bug in clear bookmarks and adjusted icons within anchors to have proper styling
		
			
				
	
	
		
			25 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
| using System.Collections.Generic;
 | |
| using System.Threading.Tasks;
 | |
| using API.DTOs;
 | |
| using API.Entities;
 | |
| 
 | |
| namespace API.Interfaces
 | |
| {
 | |
|     public interface IUserRepository
 | |
|     {
 | |
|         void Update(AppUser user);
 | |
|         void Update(AppUserPreferences preferences);
 | |
|         public void Delete(AppUser user);
 | |
|         Task<AppUser> GetUserByUsernameAsync(string username);
 | |
|         Task<IEnumerable<MemberDto>>  GetMembersAsync();
 | |
|         Task<IEnumerable<AppUser>> GetAdminUsersAsync();
 | |
|         Task<AppUserRating> GetUserRating(int seriesId, int userId);
 | |
|         void AddRatingTracking(AppUserRating userRating);
 | |
|         Task<AppUserPreferences> GetPreferencesAsync(string username);
 | |
|         Task<IEnumerable<BookmarkDto>> GetBookmarkDtosForSeries(int userId, int seriesId);
 | |
|         Task<IEnumerable<BookmarkDto>> GetBookmarkDtosForVolume(int userId, int volumeId);
 | |
|         Task<IEnumerable<BookmarkDto>> GetBookmarkDtosForChapter(int userId, int chapterId);
 | |
|         Task<IEnumerable<BookmarkDto>> GetAllBookmarkDtos(int userId);
 | |
|     }
 | |
| }
 |