using System.Collections.Generic; using System.Threading.Tasks; using WotBlitzStatisticsPro.Blazor.GraphQl; using WotBlitzStatisticsPro.Blazor.Model; namespace WotBlitzStatisticsPro.Blazor.Services { public interface IGraphQlBackendService { Task?> FindPlayers( string accountNick, RealmType realmType); Task?> FindClans( string clanNameOrTag, RealmType realmType); Task<(IAccount accountInfo, IReadOnlyList achievementsBySection)> GetPlayerInfo( long accountId, RealmType realmType); Task CollectPlayerInfo( long accountId, RealmType realmType, string accessToken); Task GetWgLoginUrl(RealmType realmType); Task ProlongToken( string oldToken, RealmType realmType); Task Logout( string token, RealmType realmType); Task> GetVehiclesByNation(string nationId); } }