add averageTimePerShot, elapsedTime and MedianRun forVideo queries
All checks were successful
Tests / Tests (pull_request) Successful in 8s

This commit is contained in:
2024-06-04 23:20:47 -07:00
parent 9ee4d43c89
commit 14da2ae388
2 changed files with 265 additions and 4 deletions

View File

@@ -91,11 +91,9 @@ query GetVideoDetails($videoId: Int!) {
elapsedTime
endTime
makePercentage
makePercentage
medianRun
startTime
totalShots
totalShots
totalShotsMade
createdAt
updatedAt
@@ -148,3 +146,19 @@ query GetVideo($videoId: Int!) {
}
}
}
query GetAverageTimePerShotForVideo($videoId: Int!) {
getVideo(videoId: $videoId) {
averageTimeBetweenShots
}
}
query GetElapsedTimeForVideo($videoId: Int!) {
getVideo(videoId: $videoId) {
elapsedTime
}
}
query GetMedianRunForVideo($videoId: Int!) {
getVideo(videoId: $videoId) {
medianRun
}
}