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