mirror of
https://github.com/Kareadita/Kavita.git
synced 2026-06-05 14:25:17 -04:00
BE Tech Debt (#4497)
Co-authored-by: Joseph Milazzo <joseph.v.milazzo@gmail.com> Co-authored-by: Joe Milazzo <josephmajora@gmail.com>
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using Kavita.Models.DTOs.SideNav;
|
||||
using Kavita.Models.Entities.User;
|
||||
|
||||
namespace Kavita.API.Repositories;
|
||||
|
||||
public interface IAppUserExternalSourceRepository
|
||||
{
|
||||
void Update(AppUserExternalSource source);
|
||||
void Delete(AppUserExternalSource source);
|
||||
Task<AppUserExternalSource?> GetById(int externalSourceId, CancellationToken ct = default);
|
||||
Task<IList<ExternalSourceDto>> GetExternalSources(int userId, CancellationToken ct = default);
|
||||
Task<bool> ExternalSourceExists(int userId, string name, string host, string apiKey, CancellationToken ct = default);
|
||||
}
|
||||
Reference in New Issue
Block a user