add id's to new getVideo w/ metric queries to prevent cache merge issues
All checks were successful
Tests / Tests (pull_request) Successful in 12s
All checks were successful
Tests / Tests (pull_request) Successful in 12s
This commit is contained in:
parent
1cc0660a93
commit
37a13f1418
@ -1052,6 +1052,7 @@ export type GetAverageTimePerShotForVideoQuery = {
|
||||
__typename?: "Query";
|
||||
getVideo: {
|
||||
__typename?: "VideoGQL";
|
||||
id: number;
|
||||
averageTimeBetweenShots?: number | null;
|
||||
};
|
||||
};
|
||||
@ -1062,7 +1063,11 @@ export type GetElapsedTimeForVideoQueryVariables = Exact<{
|
||||
|
||||
export type GetElapsedTimeForVideoQuery = {
|
||||
__typename?: "Query";
|
||||
getVideo: { __typename?: "VideoGQL"; elapsedTime?: number | null };
|
||||
getVideo: {
|
||||
__typename?: "VideoGQL";
|
||||
id: number;
|
||||
elapsedTime?: number | null;
|
||||
};
|
||||
};
|
||||
|
||||
export type GetMedianRunForVideoQueryVariables = Exact<{
|
||||
@ -1071,7 +1076,7 @@ export type GetMedianRunForVideoQueryVariables = Exact<{
|
||||
|
||||
export type GetMedianRunForVideoQuery = {
|
||||
__typename?: "Query";
|
||||
getVideo: { __typename?: "VideoGQL"; medianRun?: number | null };
|
||||
getVideo: { __typename?: "VideoGQL"; id: number; medianRun?: number | null };
|
||||
};
|
||||
|
||||
export type CreateUploadStreamMutationVariables = Exact<{
|
||||
@ -2394,6 +2399,7 @@ export type GetVideoQueryResult = Apollo.QueryResult<
|
||||
export const GetAverageTimePerShotForVideoDocument = gql`
|
||||
query GetAverageTimePerShotForVideo($videoId: Int!) {
|
||||
getVideo(videoId: $videoId) {
|
||||
id
|
||||
averageTimeBetweenShots
|
||||
}
|
||||
}
|
||||
@ -2467,6 +2473,7 @@ export type GetAverageTimePerShotForVideoQueryResult = Apollo.QueryResult<
|
||||
export const GetElapsedTimeForVideoDocument = gql`
|
||||
query GetElapsedTimeForVideo($videoId: Int!) {
|
||||
getVideo(videoId: $videoId) {
|
||||
id
|
||||
elapsedTime
|
||||
}
|
||||
}
|
||||
@ -2540,6 +2547,7 @@ export type GetElapsedTimeForVideoQueryResult = Apollo.QueryResult<
|
||||
export const GetMedianRunForVideoDocument = gql`
|
||||
query GetMedianRunForVideo($videoId: Int!) {
|
||||
getVideo(videoId: $videoId) {
|
||||
id
|
||||
medianRun
|
||||
}
|
||||
}
|
||||
|
@ -149,16 +149,19 @@ query GetVideo($videoId: Int!) {
|
||||
|
||||
query GetAverageTimePerShotForVideo($videoId: Int!) {
|
||||
getVideo(videoId: $videoId) {
|
||||
id
|
||||
averageTimeBetweenShots
|
||||
}
|
||||
}
|
||||
query GetElapsedTimeForVideo($videoId: Int!) {
|
||||
getVideo(videoId: $videoId) {
|
||||
id
|
||||
elapsedTime
|
||||
}
|
||||
}
|
||||
query GetMedianRunForVideo($videoId: Int!) {
|
||||
getVideo(videoId: $videoId) {
|
||||
id
|
||||
medianRun
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user