Track set counts for players
This commit is contained in:
parent
ce6692c4c1
commit
5d935ab059
5 changed files with 66 additions and 50 deletions
|
|
@ -1,4 +1,5 @@
|
|||
use super::{EntrantId, EventId, PlayerData, PlayerId, QueryUnwrap, Timestamp};
|
||||
use super::scalars::*;
|
||||
use super::{PlayerData, QueryUnwrap};
|
||||
use cynic::GraphQlResponse;
|
||||
use schema::schema;
|
||||
|
||||
|
|
@ -24,7 +25,7 @@ pub struct EventSets {
|
|||
#[derive(cynic::QueryFragment, Debug)]
|
||||
#[cynic(variables = "EventSetsVars")]
|
||||
struct Event {
|
||||
#[arguments(page: $page, perPage: 40, sortType: RECENT)]
|
||||
#[arguments(page: $page, perPage: 30, sortType: RECENT)]
|
||||
sets: Option<SetConnection>,
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
use super::scalars::*;
|
||||
use super::QueryUnwrap;
|
||||
use super::{EventId, Timestamp, VideogameId};
|
||||
use cynic::GraphQlResponse;
|
||||
use schema::schema;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue