phase 1
This commit is contained in:
19
ModVersionChecker/service/interfaces/IApiService.cs
Normal file
19
ModVersionChecker/service/interfaces/IApiService.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
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(App[] apps);
|
||||
Task<List<App>?> SearchApps(string searchText);
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user