mirror of
https://github.com/Kareadita/Kavita.git
synced 2026-03-10 20:15:26 -04:00
Co-authored-by: Joseph Milazzo <joseph.v.milazzo@gmail.com> Co-authored-by: Joe Milazzo <josephmajora@gmail.com>
16 lines
620 B
C#
16 lines
620 B
C#
using System.Collections.Generic;
|
|
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
using Kavita.Models.DTOs.Update;
|
|
|
|
namespace Kavita.API.Services;
|
|
|
|
public interface IVersionUpdaterService
|
|
{
|
|
Task<UpdateNotificationDto?> CheckForUpdate(CancellationToken ct = default);
|
|
Task PushUpdate(UpdateNotificationDto update, CancellationToken ct = default);
|
|
Task<IList<UpdateNotificationDto>> GetAllReleases(int count = 0, CancellationToken ct = default);
|
|
Task<int> GetNumberOfReleasesBehind(bool stableOnly = false, CancellationToken ct = default);
|
|
void BustGithubCache(CancellationToken ct = default);
|
|
}
|