in source/functions/preprocess-function/index.js [40:173]
createGameEvent(input: $input, condition: $condition) {
id
gameId
game {
id
stage {
id
startDate
endDate
name
sequence
}
plannedKickoffTime
venue {
id
name
capacity
city
country
surface
roofType
}
home {
id
name
country
countryCode
alias
}
away {
id
name
country
countryCode
alias
}
gameStatus {
status
clock
clockStoppageAnnounced
clockStoppagePlayer
aggregateAwayScore
aggregateHomeScore
awayNormaltimeScore
awayOvertimeScore
awayScore
homeNormaltimeScore
homeOvertimeScore
homeScore
possession
location
play
sections {
awayScore
homeScore
sequence
name
type
stats
}
}
scoringDrives {
scoreName
score
playsCount
duration
quarter
gain
penalty
}
stats
}
type
clock
section {
awayScore
homeScore
sequence
name
type
stats
}
competitor {
id
name
country
countryCode
alias
}
homeScore
awayScore
scorer {
id
name
jersey
position
country
countryCode
}
assist {
id
name
jersey
position
country
countryCode
}
playerIn {
id
name
jersey
position
country
countryCode
}
playerOut {
id
name
jersey
position
country
countryCode
}
commentary
players {
id
name
jersey
position
country
countryCode
}
createdAt
}