From e0b150aa2a59dbb63722af5cf2f980975d829117 Mon Sep 17 00:00:00 2001 From: Loewy Date: Wed, 4 Sep 2024 18:18:15 -0700 Subject: [PATCH] add current homography operation --- src/index.tsx | 6 +++--- src/operations/video.gql | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/index.tsx b/src/index.tsx index 50acc67..bc7a8b1 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -2054,7 +2054,7 @@ export type GetStreamMonitoringDetailsQuery = { totalShots: number; makePercentage: number; elapsedTime?: number | null; - homographyHistory: Array<{ + currentHomography?: { __typename?: "HomographyInfoGQL"; crop: { __typename?: "BoundingBoxGQL"; @@ -2079,7 +2079,7 @@ export type GetStreamMonitoringDetailsQuery = { bottomSide: { __typename?: "IntPoint2D"; x: number; y: number }; bottomRight: { __typename?: "IntPoint2D"; x: number; y: number }; }; - }>; + } | null; stream?: { __typename?: "UploadStreamGQL"; linksRequested: number; @@ -3686,7 +3686,7 @@ export const GetStreamMonitoringDetailsDocument = gql` totalShots makePercentage elapsedTime - homographyHistory { + currentHomography { crop { left top diff --git a/src/operations/video.gql b/src/operations/video.gql index 3b786ce..613857a 100644 --- a/src/operations/video.gql +++ b/src/operations/video.gql @@ -4,7 +4,7 @@ query GetStreamMonitoringDetails($videoId: Int!, $debuggingJson: JSON) { totalShots makePercentage elapsedTime - homographyHistory { + currentHomography { crop { left top