Kavita/Kavita.API/Services/IVersionUpdaterService.cs
Fesaa c62b20f54b
BE Tech Debt (#4497)
Co-authored-by: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Co-authored-by: Joe Milazzo <josephmajora@gmail.com>
2026-03-07 10:04:08 -08:00

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);
}