2024-01-08 22:14:21 -07:00
|
|
|
import { gql } from "@apollo/client";
|
2024-01-08 22:23:51 -07:00
|
|
|
import SHOT_FEATURES_FRAGMENT from "./fragment/shot-features";
|
2024-01-08 22:14:21 -07:00
|
|
|
|
|
|
|
export const GET_SHOTS = gql`
|
2024-01-08 22:23:51 -07:00
|
|
|
${SHOT_FEATURES_FRAGMENT}
|
2024-01-08 22:14:21 -07:00
|
|
|
query GetShots(
|
|
|
|
$includeCueObjectAngle: Boolean! = false
|
|
|
|
$includeCueObjectDistance: Boolean! = false
|
|
|
|
) {
|
|
|
|
getShots {
|
|
|
|
id
|
|
|
|
videoId
|
|
|
|
features {
|
|
|
|
...ShotFeatures
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
`;
|