Add more configurable metadata to datasets

This commit is contained in:
Kiana Sheibani 2023-10-13 18:15:25 -04:00
parent fae735d29b
commit 3d97028b92
Signed by: toki
GPG key ID: 6CB106C25E86A9F7
4 changed files with 68 additions and 24 deletions

View file

@ -13,6 +13,7 @@ pub struct TournamentEventsVars<'a> {
pub last_sync: Timestamp,
pub game_id: VideogameId,
pub country: Option<&'a str>,
pub state: Option<&'a str>,
pub page: i32,
}
@ -30,6 +31,7 @@ pub struct TournamentEvents {
past: true,
afterDate: $last_sync,
videogameIds: [$game_id],
countryCode: $country,
addrState: $state
}})]
tournaments: Option<TournamentConnection>,