remove id for now, use string instead of base64
All checks were successful
Tests / Tests (pull_request) Successful in 16s

This commit is contained in:
Loewy 2024-11-07 17:08:35 -08:00
parent 655e59c43c
commit 73771a263a
2 changed files with 3 additions and 9 deletions

View File

@ -3448,7 +3448,6 @@ export type GetStreamMonitoringDetailsQuery = {
elapsedTime?: number | null; elapsedTime?: number | null;
currentHomography?: { currentHomography?: {
__typename?: "HomographyInfoGQL"; __typename?: "HomographyInfoGQL";
id: number;
frameIndex: number; frameIndex: number;
crop: { crop: {
__typename?: "BoundingBoxGQL"; __typename?: "BoundingBoxGQL";
@ -3663,7 +3662,6 @@ export type GetVideoQuery = {
} | null; } | null;
homographyHistory: Array<{ homographyHistory: Array<{
__typename?: "HomographyInfoGQL"; __typename?: "HomographyInfoGQL";
id: number;
frameIndex: number; frameIndex: number;
crop: { crop: {
__typename?: "BoundingBoxGQL"; __typename?: "BoundingBoxGQL";
@ -3866,7 +3864,7 @@ export type GetHeaderInfoByVideoIdQuery = {
}; };
export type FindPrerecordTableLayoutMutationVariables = Exact<{ export type FindPrerecordTableLayoutMutationVariables = Exact<{
b64Image: Scalars["Base64"]["input"]; b64Image: Scalars["String"]["input"];
videoId: Scalars["Int"]["input"]; videoId: Scalars["Int"]["input"];
}>; }>;
@ -3874,7 +3872,6 @@ export type FindPrerecordTableLayoutMutation = {
__typename?: "Mutation"; __typename?: "Mutation";
findPrerecordTableLayout?: { findPrerecordTableLayout?: {
__typename?: "HomographyInfoGQL"; __typename?: "HomographyInfoGQL";
id: number;
frameIndex: number; frameIndex: number;
crop: { crop: {
__typename?: "BoundingBoxGQL"; __typename?: "BoundingBoxGQL";
@ -3904,7 +3901,6 @@ export type FindPrerecordTableLayoutMutation = {
export type HomographyInfoFragment = { export type HomographyInfoFragment = {
__typename?: "HomographyInfoGQL"; __typename?: "HomographyInfoGQL";
id: number;
frameIndex: number; frameIndex: number;
crop: { crop: {
__typename?: "BoundingBoxGQL"; __typename?: "BoundingBoxGQL";
@ -4265,7 +4261,6 @@ export const VideoDurationDataFragmentDoc = gql`
`; `;
export const HomographyInfoFragmentDoc = gql` export const HomographyInfoFragmentDoc = gql`
fragment HomographyInfo on HomographyInfoGQL { fragment HomographyInfo on HomographyInfoGQL {
id
frameIndex frameIndex
crop { crop {
left left
@ -7102,7 +7097,7 @@ export type GetHeaderInfoByVideoIdQueryResult = Apollo.QueryResult<
GetHeaderInfoByVideoIdQueryVariables GetHeaderInfoByVideoIdQueryVariables
>; >;
export const FindPrerecordTableLayoutDocument = gql` export const FindPrerecordTableLayoutDocument = gql`
mutation FindPrerecordTableLayout($b64Image: Base64!, $videoId: Int!) { mutation FindPrerecordTableLayout($b64Image: String!, $videoId: Int!) {
findPrerecordTableLayout(b64Image: $b64Image, videoId: $videoId) { findPrerecordTableLayout(b64Image: $b64Image, videoId: $videoId) {
...HomographyInfo ...HomographyInfo
} }

View File

@ -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) { findPrerecordTableLayout(b64Image: $b64Image, videoId: $videoId) {
...HomographyInfo ...HomographyInfo
} }
} }
fragment HomographyInfo on HomographyInfoGQL { fragment HomographyInfo on HomographyInfoGQL {
id
frameIndex frameIndex
crop { crop {
left left