From b0f94f5ea87baa276a7c14cf205574a3dc54ef16 Mon Sep 17 00:00:00 2001 From: Loewy Date: Thu, 20 Feb 2025 12:37:52 -0800 Subject: [PATCH] add shots to runs to get id --- src/index.tsx | 5 +++++ src/operations/runs.gql | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/src/index.tsx b/src/index.tsx index 7da643c..b8518ed 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -3407,6 +3407,7 @@ export type GetRunsForHighlightsQuery = { runLength: number; userId: number; videoId: number; + shots: Array<{ __typename?: "ShotGQL"; videoId: number; id: number }>; }>; }; }; @@ -5769,6 +5770,10 @@ export const GetRunsForHighlightsDocument = gql` runLength userId videoId + shots { + videoId + id + } } runIds } diff --git a/src/operations/runs.gql b/src/operations/runs.gql index 3a2b002..a900152 100644 --- a/src/operations/runs.gql +++ b/src/operations/runs.gql @@ -14,6 +14,10 @@ query GetRunsForHighlights( runLength userId videoId + shots { + videoId + id + } } runIds } -- 2.47.2