From 01533d3d7b5c6529f29c04a92eb0d5c745ce30ea Mon Sep 17 00:00:00 2001 From: Lertsenem Date: Tue, 7 Jul 2020 01:51:04 +0200 Subject: [PATCH] Add more infos in the getTournament* queries Ask for player twitterHandle, tournament venue and date, etc. --- lokrez/queries/getTournamentTopById.gql | 11 +++++++++-- lokrez/queries/getTournamentTopBySlug.gql | 7 +++++++ 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/lokrez/queries/getTournamentTopById.gql b/lokrez/queries/getTournamentTopById.gql index 8971b7a..b2af74a 100644 --- a/lokrez/queries/getTournamentTopById.gql +++ b/lokrez/queries/getTournamentTopById.gql @@ -4,6 +4,12 @@ query getTournamentTopBySlug($id:String,$top:Int) { slug name + startAt + venueAddress + venueName + city + countryCode + hashtag events { name @@ -33,11 +39,12 @@ query getTournamentTopBySlug($id:String,$top:Int) { participants { + gamerTag + prefix player { id - gamerTag - prefix + twitterHandle } } diff --git a/lokrez/queries/getTournamentTopBySlug.gql b/lokrez/queries/getTournamentTopBySlug.gql index 53506ca..476b3fc 100644 --- a/lokrez/queries/getTournamentTopBySlug.gql +++ b/lokrez/queries/getTournamentTopBySlug.gql @@ -4,6 +4,12 @@ query getTournamentTopBySlug($slug:String,$top:Int) { id name + startAt + venueAddress + venueName + city + countryCode + hashtag events { name @@ -38,6 +44,7 @@ query getTournamentTopBySlug($slug:String,$top:Int) player { id + twitterHandle } }