railbird-gql/src/operations/shots.gql

39 lines
1.3 KiB
Plaintext
Raw Normal View History

2024-02-05 12:16:58 -07:00
query GetShots(
$filterInput: FilterInput!
$includeCreatedAt: Boolean! = false
$includeUpdatedAt: Boolean! = false
$includeCueObjectFeatures: Boolean! = false
$includePocketingIntentionFeatures: Boolean! = false
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
2024-05-21 14:14:02 -06:00
user {
id
}
createdAt @include(if: $includeCreatedAt)
updatedAt @include(if: $includeUpdatedAt)
cueObjectFeatures @include(if: $includeCueObjectFeatures) {
2024-02-22 18:36:15 -07:00
cueObjectDistance @include(if: $includeCueObjectDistance)
cueObjectAngle @include(if: $includeCueObjectAngle)
cueBallSpeed @include(if: $includeCueBallSpeed)
shotDirection @include(if: $includeShotDirection)
}
pocketingIntentionFeatures
@include(if: $includePocketingIntentionFeatures) {
2024-02-22 18:36:15 -07:00
targetPocketDistance @include(if: $includeTargetPocketDistance)
make @include(if: $includeMake)
intendedPocketType @include(if: $includeIntendedPocketType)
}
}
2024-02-05 12:16:58 -07:00
}