mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-05-30 19:54:14 -04:00
* Fixed the typeahead not having the same size input box as other inputs * Implemented the ability to add multiple series to a collection through bulk operations flow. Updated book parser to handle "@import url('...');" syntax as well as @import '...'; * Implemented the ability to create a new Collection tag via bulk operations flow.
26 lines
918 B
C#
26 lines
918 B
C#
using System.Threading.Tasks;
|
|
using API.Interfaces.Repositories;
|
|
|
|
namespace API.Interfaces
|
|
{
|
|
public interface IUnitOfWork
|
|
{
|
|
ISeriesRepository SeriesRepository { get; }
|
|
IUserRepository UserRepository { get; }
|
|
ILibraryRepository LibraryRepository { get; }
|
|
IVolumeRepository VolumeRepository { get; }
|
|
ISettingsRepository SettingsRepository { get; }
|
|
IAppUserProgressRepository AppUserProgressRepository { get; }
|
|
ICollectionTagRepository CollectionTagRepository { get; }
|
|
IFileRepository FileRepository { get; }
|
|
IChapterRepository ChapterRepository { get; }
|
|
IReadingListRepository ReadingListRepository { get; }
|
|
ISeriesMetadataRepository SeriesMetadataRepository { get; }
|
|
bool Commit();
|
|
Task<bool> CommitAsync();
|
|
bool HasChanges();
|
|
bool Rollback();
|
|
Task<bool> RollbackAsync();
|
|
}
|
|
}
|