From 172df6934049ad90cdaabceb301dd6b19c1ba8bc Mon Sep 17 00:00:00 2001 From: Loewy Date: Fri, 23 Aug 2024 17:29:40 -0700 Subject: [PATCH] add resolution to getShots operation --- src/index.tsx | 19 +++++++++++++++++++ src/operations/shots.gql | 8 ++++++++ 2 files changed, 27 insertions(+) diff --git a/src/index.tsx b/src/index.tsx index 82c5cd5..2eea419 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1755,6 +1755,17 @@ export type GetShotsQuery = { createdAt?: any | null; updatedAt?: any | null; user?: { __typename?: "UserGQL"; id: number } | null; + video?: { + __typename?: "VideoGQL"; + stream?: { + __typename?: "UploadStreamGQL"; + resolution: { + __typename?: "VideoResolutionGQL"; + width?: number | null; + height?: number | null; + }; + } | null; + } | null; cueObjectFeatures?: { __typename?: "CueObjectFeaturesGQL"; cueObjectDistance?: number | null; @@ -2680,6 +2691,14 @@ export const GetShotsDocument = gql` id } falsePositiveScore + video { + stream { + resolution { + width + height + } + } + } createdAt @include(if: $includeCreatedAt) updatedAt @include(if: $includeUpdatedAt) cueObjectFeatures @include(if: $includeCueObjectFeatures) { diff --git a/src/operations/shots.gql b/src/operations/shots.gql index 5c486f9..fc8f652 100644 --- a/src/operations/shots.gql +++ b/src/operations/shots.gql @@ -27,6 +27,14 @@ query GetShots( id } falsePositiveScore + video { + stream { + resolution { + width + height + } + } + } createdAt @include(if: $includeCreatedAt) updatedAt @include(if: $includeUpdatedAt) cueObjectFeatures @include(if: $includeCueObjectFeatures) { -- 2.45.2