From 73771a263a16003bc14384996e577a588ae44248 Mon Sep 17 00:00:00 2001 From: Loewy Date: Thu, 7 Nov 2024 17:08:35 -0800 Subject: [PATCH] remove id for now, use string instead of base64 --- src/index.tsx | 9 ++------- src/operations/video.gql | 3 +-- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/src/index.tsx b/src/index.tsx index ef2cb3f..b3d133e 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -3448,7 +3448,6 @@ export type GetStreamMonitoringDetailsQuery = { elapsedTime?: number | null; currentHomography?: { __typename?: "HomographyInfoGQL"; - id: number; frameIndex: number; crop: { __typename?: "BoundingBoxGQL"; @@ -3663,7 +3662,6 @@ export type GetVideoQuery = { } | null; homographyHistory: Array<{ __typename?: "HomographyInfoGQL"; - id: number; frameIndex: number; crop: { __typename?: "BoundingBoxGQL"; @@ -3866,7 +3864,7 @@ export type GetHeaderInfoByVideoIdQuery = { }; export type FindPrerecordTableLayoutMutationVariables = Exact<{ - b64Image: Scalars["Base64"]["input"]; + b64Image: Scalars["String"]["input"]; videoId: Scalars["Int"]["input"]; }>; @@ -3874,7 +3872,6 @@ export type FindPrerecordTableLayoutMutation = { __typename?: "Mutation"; findPrerecordTableLayout?: { __typename?: "HomographyInfoGQL"; - id: number; frameIndex: number; crop: { __typename?: "BoundingBoxGQL"; @@ -3904,7 +3901,6 @@ export type FindPrerecordTableLayoutMutation = { export type HomographyInfoFragment = { __typename?: "HomographyInfoGQL"; - id: number; frameIndex: number; crop: { __typename?: "BoundingBoxGQL"; @@ -4265,7 +4261,6 @@ export const VideoDurationDataFragmentDoc = gql` `; export const HomographyInfoFragmentDoc = gql` fragment HomographyInfo on HomographyInfoGQL { - id frameIndex crop { left @@ -7102,7 +7097,7 @@ export type GetHeaderInfoByVideoIdQueryResult = Apollo.QueryResult< GetHeaderInfoByVideoIdQueryVariables >; export const FindPrerecordTableLayoutDocument = gql` - mutation FindPrerecordTableLayout($b64Image: Base64!, $videoId: Int!) { + mutation FindPrerecordTableLayout($b64Image: String!, $videoId: Int!) { findPrerecordTableLayout(b64Image: $b64Image, videoId: $videoId) { ...HomographyInfo } diff --git a/src/operations/video.gql b/src/operations/video.gql index 03c140b..140cd8c 100644 --- a/src/operations/video.gql +++ b/src/operations/video.gql @@ -214,14 +214,13 @@ query GetHeaderInfoByVideoId($videoId: Int!) { } } -mutation FindPrerecordTableLayout($b64Image: Base64!, $videoId: Int!) { +mutation FindPrerecordTableLayout($b64Image: String!, $videoId: Int!) { findPrerecordTableLayout(b64Image: $b64Image, videoId: $videoId) { ...HomographyInfo } } fragment HomographyInfo on HomographyInfoGQL { - id frameIndex crop { left