From 875989e3a9d7662c081a0adb9014021df3b21519 Mon Sep 17 00:00:00 2001 From: Kat Huang Date: Tue, 9 Jan 2024 00:45:18 -0700 Subject: [PATCH] Add filter input --- graphql/query.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/graphql/query.ts b/graphql/query.ts index b4329cf..7a06588 100644 --- a/graphql/query.ts +++ b/graphql/query.ts @@ -2,6 +2,7 @@ import { gql } from "@apollo/client"; export const GET_SHOTS = gql` query GetShots( + $filterInput: FilterInput $includeCueObjectDistance: Boolean! = false $includeTargetPocketDistance: Boolean! = false $includeCueObjectAngle: Boolean! = false @@ -10,7 +11,7 @@ export const GET_SHOTS = gql` $includeShotDirection: Boolean! = false $includeDidMake: Boolean! = false ) { - getShots { + getShots(filterInput: $filterInput) { id videoId startFrame