ssbu_lokrez/lokrez/queries/getCharsByPlayersId.gql

50 lines
1.2 KiB
GraphQL

query getCharsByTournamentIdAndPlayerIds($tournamentId:ID, $playerIds:[ID])
{
tournament(id:$tournamentId)
{
events
{
name
sets
(
perPage:100
page:1
filters:
{
playerIds: $playerIds
}
)
{
pageInfo
{
total
}
nodes
{
games
{
winnerId
selections
{
selectionType
selectionValue
entrant
{
participants
{
player
{
id
}
}
}
}
}
}
}
}
}
}