18 lines
653 B
C#
18 lines
653 B
C#
using ModVersionChecker.repository.api.dto;
|
|
using NuGet.Versioning;
|
|
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace ModVersionChecker.service.interfaces
|
|
{
|
|
public interface IApiService
|
|
{
|
|
Task<List<AppVersionsResponse>> GetAppVersionsAsync(List<App> apps);
|
|
Task<List<TypeResponse>> GetTypes();
|
|
Task<List<SourceResponse>> GetSources();
|
|
Task<AppVersionsResponse?> GetAppLatestVersionAsync(App app);
|
|
Task<bool> AuthenticateAsync(string username, string password);
|
|
Task<List<App>> GetAppsByIds(List<App> apps);
|
|
Task<List<App>> SearchApps(string searchText);
|
|
}
|
|
} |