From 9718137ad34e61f08c2b509a07343fb45905ddfd Mon Sep 17 00:00:00 2001 From: Loewy Date: Mon, 7 Oct 2024 21:14:47 -0700 Subject: [PATCH] add id to prevent cache merge issues --- src/index.tsx | 4 ++++ src/operations/shots.gql | 1 + 2 files changed, 5 insertions(+) diff --git a/src/index.tsx b/src/index.tsx index f30b435..182aa7e 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -2449,6 +2449,7 @@ export type GetShotsWithMetadataQuery = { user?: { __typename?: "UserGQL"; id: number } | null; video?: { __typename?: "VideoGQL"; + id: number; stream?: { __typename?: "UploadStreamGQL"; resolution: { @@ -2507,6 +2508,7 @@ export type GetShotsByIdsQuery = { user?: { __typename?: "UserGQL"; id: number } | null; video?: { __typename?: "VideoGQL"; + id: number; stream?: { __typename?: "UploadStreamGQL"; resolution: { @@ -2558,6 +2560,7 @@ export type ShotWithAllFeaturesFragment = { user?: { __typename?: "UserGQL"; id: number } | null; video?: { __typename?: "VideoGQL"; + id: number; stream?: { __typename?: "UploadStreamGQL"; resolution: { @@ -3150,6 +3153,7 @@ export const ShotWithAllFeaturesFragmentDoc = gql` } falsePositiveScore video { + id stream { resolution { width diff --git a/src/operations/shots.gql b/src/operations/shots.gql index f741ddc..3d31693 100644 --- a/src/operations/shots.gql +++ b/src/operations/shots.gql @@ -67,6 +67,7 @@ fragment ShotWithAllFeatures on ShotGQL { } falsePositiveScore video { + id stream { resolution { width