2024-02-05 12:16:58 -07:00
|
|
|
query GetShots(
|
2024-03-30 21:49:29 -06:00
|
|
|
$filterInput: FilterInput!
|
2024-02-22 18:36:15 -07:00
|
|
|
$includeCueObjectDistance: Boolean! = false
|
|
|
|
$includeCueObjectAngle: Boolean! = false
|
|
|
|
$includeCueBallSpeed: Boolean! = false
|
|
|
|
$includeShotDirection: Boolean! = false
|
|
|
|
$includeTargetPocketDistance: Boolean! = false
|
|
|
|
$includeMake: Boolean! = false
|
|
|
|
$includeIntendedPocketType: Boolean! = false
|
2024-02-05 12:16:58 -07:00
|
|
|
) {
|
2024-02-22 18:36:15 -07:00
|
|
|
getShots(filterInput: $filterInput) {
|
|
|
|
id
|
|
|
|
videoId
|
|
|
|
startFrame
|
|
|
|
endFrame
|
|
|
|
createdAt
|
|
|
|
updatedAt
|
|
|
|
cueObjectFeatures {
|
|
|
|
cueObjectDistance @include(if: $includeCueObjectDistance)
|
|
|
|
cueObjectAngle @include(if: $includeCueObjectAngle)
|
|
|
|
cueBallSpeed @include(if: $includeCueBallSpeed)
|
|
|
|
shotDirection @include(if: $includeShotDirection)
|
|
|
|
}
|
|
|
|
pocketingIntentionFeatures {
|
|
|
|
targetPocketDistance @include(if: $includeTargetPocketDistance)
|
|
|
|
make @include(if: $includeMake)
|
|
|
|
intendedPocketType @include(if: $includeIntendedPocketType)
|
|
|
|
}
|
|
|
|
}
|
2024-02-05 12:16:58 -07:00
|
|
|
}
|