2020-07-07 10:13:23 -04:00
|
|
|
query getCharsByTournamentIdAndEntrantIds($tournamentId:ID, $entrantIds:[ID])
|
2020-07-06 18:38:59 -04:00
|
|
|
{
|
|
|
|
tournament(id:$tournamentId)
|
|
|
|
{
|
|
|
|
events
|
|
|
|
{
|
|
|
|
name
|
2021-07-03 14:21:05 -04:00
|
|
|
slug
|
2020-07-07 10:13:23 -04:00
|
|
|
numEntrants
|
2020-07-06 18:38:59 -04:00
|
|
|
sets
|
|
|
|
(
|
|
|
|
perPage:100
|
|
|
|
page:1
|
|
|
|
filters:
|
|
|
|
{
|
2020-07-07 10:13:23 -04:00
|
|
|
entrantIds: $entrantIds
|
2020-07-06 18:38:59 -04:00
|
|
|
}
|
|
|
|
)
|
|
|
|
{
|
|
|
|
pageInfo
|
|
|
|
{
|
|
|
|
total
|
|
|
|
}
|
|
|
|
|
|
|
|
nodes
|
|
|
|
{
|
|
|
|
games
|
|
|
|
{
|
|
|
|
winnerId
|
|
|
|
selections
|
|
|
|
{
|
|
|
|
selectionType
|
|
|
|
selectionValue
|
|
|
|
entrant
|
|
|
|
{
|
2020-07-07 10:13:23 -04:00
|
|
|
id
|
2020-07-06 18:38:59 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|