Remove id from HomographyInfo fragment for now, use string instead of base64 for FindPrerecordTableLayout #122

Merged
loewy merged 1 commits from loewy/switch-back-to-string into master 2024-11-07 18:09:52 -07:00
2 changed files with 3 additions and 9 deletions

View File

@ -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
}

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) {
...HomographyInfo
}
}
fragment HomographyInfo on HomographyInfoGQL {
id
frameIndex
crop {
left