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
|
|
|
|
|
{
|
|
|
|
|
Task<IReadOnlyList<IFindPlayers_Players>?> FindPlayers(
|
|
|
|
|
string accountNick,
|
2021-05-15 19:47:48 +02:00
|
|
|
RealmType realmType);
|
2021-05-15 17:36:35 +02:00
|
|
|
|
|
|
|
|
Task<IReadOnlyList<IFindClans_Clans>?> FindClans(
|
|
|
|
|
string clanNameOrTag,
|
2021-05-15 19:47:48 +02:00
|
|
|
RealmType realmType);
|
2021-05-28 15:27:36 +02:00
|
|
|
|
2021-06-02 14:34:00 +02:00
|
|
|
Task<(IPlayer_AccountInfo accountInfo, IReadOnlyList<IPlayer_AccountMedals_Sections> achievementsBySection)> GetPlayerInfo(
|
2021-05-28 15:27:36 +02:00
|
|
|
long accountId,
|
|
|
|
|
RealmType realmType);
|
2021-05-15 17:36:35 +02:00
|
|
|
}
|
|
|
|
|
}
|