updateGame()

in source/functions/preprocess-function/index.js [182:291]


    updateGame(input: $input, condition: $condition) {
      id
      stage {
        id
        startDate
        endDate
        name
        sequence
        season {
          id
          name
          year
          competitionId
          startDate
          endDate
          status
          createdAt
          updatedAt
        }
        seasonId
        games {
          nextToken
        }
        createdAt
        updatedAt
      }
      stageId
      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
        winner {
          id
          name
          country
          countryCode
          alias
        }
        aggregateAwayScore
        aggregateHomeScore
        aggregateWinner {
          id
          name
          country
          countryCode
          alias
        }
        awayNormaltimeScore
        awayOvertimeScore
        awayScore
        homeNormaltimeScore
        homeOvertimeScore
        homeScore
        possession
        location
        play
        sections {
          awayScore
          homeScore
          sequence
          name
          type
          stats
        }
      }
      scoringDrives {
        scoreName
        score
        playsCount
        duration
        quarter
        gain
        penalty
        team {
          id
          name
          country
          countryCode
          alias
        }
      }
      stats
      createdAt
      updatedAt
    }