2021-05-15 17:36:35 +02:00
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using WotBlitzStatisticsPro.Blazor.GraphQl;
|
|
|
|
|
|
|
|
|
|
namespace WotBlitzStatisticsPro.Blazor.Services
|
|
|
|
|
{
|
|
|
|
|
public interface IGraphQlBackendService
|
|
|
|
|
{
|
2021-06-04 15:35:53 +02:00
|
|
|
Task<IReadOnlyList<IPlayerShortInfo>?> FindPlayers(
|
2021-05-15 17:36:35 +02:00
|
|
|
string accountNick,
|
2021-05-15 19:47:48 +02:00
|
|
|
RealmType realmType);
|
2021-05-15 17:36:35 +02:00
|
|
|
|
2021-06-04 15:35:53 +02:00
|
|
|
Task<IReadOnlyList<IClanShortInfo>?> FindClans(
|
2021-05-15 17:36:35 +02:00
|
|
|
string clanNameOrTag,
|
2021-05-15 19:47:48 +02:00
|
|
|
RealmType realmType);
|
2021-05-28 15:27:36 +02:00
|
|
|
|
2021-06-04 15:35:53 +02:00
|
|
|
Task<(IAccount accountInfo, IReadOnlyList<ISection> achievementsBySection)> GetPlayerInfo(
|
2021-05-28 15:27:36 +02:00
|
|
|
long accountId,
|
|
|
|
|
RealmType realmType);
|
2021-05-15 17:36:35 +02:00
|
|
|
}
|
|
|
|
|
}
|