|
|
|
|
@@ -1872,11 +1872,11 @@ export type GetFeedQueryVariables = Exact<{
|
|
|
|
|
}>;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export type GetFeedQuery = { __typename?: 'Query', getUserVideos: { __typename?: 'VideoHistoryGQL', videos: Array<{ __typename?: 'VideoGQL', id: number, name?: string | null, screenshotUri?: string | null, totalShotsMade: number, totalShots: number, makePercentage: number, averageTimeBetweenShots?: number | null, averageDifficulty?: number | null, createdAt?: any | null, updatedAt?: any | null, startTime?: any | null, endTime?: any | null, private: boolean, elapsedTime?: number | null, tableSize: number, pocketSize?: number | null, owner?: { __typename?: 'UserGQL', id: number, username: string, profileImageUri?: string | null } | null, stream?: { __typename?: 'UploadStreamGQL', id: string, lastIntendedSegmentBound?: number | null, isCompleted: boolean, streamSegmentType: StreamSegmentTypeEnum } | null, tags: Array<{ __typename?: 'VideoTag', name: string, tagClasses: Array<{ __typename?: 'VideoTagClass', name: string }> }>, currentProcessing?: { __typename?: 'VideoProcessingGQL', id: number, status: ProcessingStatusEnum, errors: Array<{ __typename?: 'VideoProcessingErrorGQL', message: string }>, statuses: Array<{ __typename?: 'VideoProcessingStatusGQL', status: ProcessingStatusEnum }> } | null, reactions: Array<{ __typename?: 'ReactionGQL', videoId: number, reaction: ReactionEnum, user: { __typename?: 'UserGQL', id: number, username: string, profileImageUri?: string | null, isFollowedByCurrentUser?: boolean | null } }>, comments: Array<{ __typename?: 'CommentGQL', id: number, message: string, user: { __typename?: 'UserGQL', id: number, username: string, profileImageUri?: string | null, isFollowedByCurrentUser?: boolean | null }, replies: Array<{ __typename?: 'CommentGQL', id: number, message: string, user: { __typename?: 'UserGQL', id: number, username: string, profileImageUri?: string | null, isFollowedByCurrentUser?: boolean | null } }> }> }>, pageInfo: { __typename?: 'PageInfoGQL', hasNextPage: boolean, endCursor?: string | null } } };
|
|
|
|
|
export type GetFeedQuery = { __typename?: 'Query', getUserVideos: { __typename?: 'VideoHistoryGQL', videos: Array<{ __typename?: 'VideoGQL', id: number, name?: string | null, screenshotUri?: string | null, totalShotsMade: number, totalShots: number, makePercentage: number, averageTimeBetweenShots?: number | null, averageDifficulty?: number | null, createdAt?: any | null, updatedAt?: any | null, startTime?: any | null, endTime?: any | null, private: boolean, elapsedTime?: number | null, tableSize: number, owner?: { __typename?: 'UserGQL', id: number, username: string, profileImageUri?: string | null } | null, stream?: { __typename?: 'UploadStreamGQL', id: string, lastIntendedSegmentBound?: number | null, isCompleted: boolean, streamSegmentType: StreamSegmentTypeEnum } | null, tags: Array<{ __typename?: 'VideoTag', name: string, tagClasses: Array<{ __typename?: 'VideoTagClass', name: string }> }>, currentProcessing?: { __typename?: 'VideoProcessingGQL', id: number, status: ProcessingStatusEnum, errors: Array<{ __typename?: 'VideoProcessingErrorGQL', message: string }>, statuses: Array<{ __typename?: 'VideoProcessingStatusGQL', status: ProcessingStatusEnum }> } | null, reactions: Array<{ __typename?: 'ReactionGQL', videoId: number, reaction: ReactionEnum, user: { __typename?: 'UserGQL', id: number, username: string, profileImageUri?: string | null, isFollowedByCurrentUser?: boolean | null } }>, comments: Array<{ __typename?: 'CommentGQL', id: number, message: string, user: { __typename?: 'UserGQL', id: number, username: string, profileImageUri?: string | null, isFollowedByCurrentUser?: boolean | null }, replies: Array<{ __typename?: 'CommentGQL', id: number, message: string, user: { __typename?: 'UserGQL', id: number, username: string, profileImageUri?: string | null, isFollowedByCurrentUser?: boolean | null } }> }> }>, pageInfo: { __typename?: 'PageInfoGQL', hasNextPage: boolean, endCursor?: string | null } } };
|
|
|
|
|
|
|
|
|
|
export type UserSocialsFieldsFragment = { __typename?: 'UserGQL', id: number, username: string, profileImageUri?: string | null, isFollowedByCurrentUser?: boolean | null };
|
|
|
|
|
|
|
|
|
|
export type VideoCardFieldsFragment = { __typename?: 'VideoGQL', id: number, name?: string | null, screenshotUri?: string | null, totalShotsMade: number, totalShots: number, makePercentage: number, averageTimeBetweenShots?: number | null, averageDifficulty?: number | null, createdAt?: any | null, updatedAt?: any | null, startTime?: any | null, endTime?: any | null, private: boolean, elapsedTime?: number | null, tableSize: number, pocketSize?: number | null, owner?: { __typename?: 'UserGQL', id: number, username: string, profileImageUri?: string | null } | null, stream?: { __typename?: 'UploadStreamGQL', id: string, lastIntendedSegmentBound?: number | null, isCompleted: boolean, streamSegmentType: StreamSegmentTypeEnum } | null, tags: Array<{ __typename?: 'VideoTag', name: string, tagClasses: Array<{ __typename?: 'VideoTagClass', name: string }> }>, currentProcessing?: { __typename?: 'VideoProcessingGQL', id: number, status: ProcessingStatusEnum, errors: Array<{ __typename?: 'VideoProcessingErrorGQL', message: string }>, statuses: Array<{ __typename?: 'VideoProcessingStatusGQL', status: ProcessingStatusEnum }> } | null, reactions: Array<{ __typename?: 'ReactionGQL', videoId: number, reaction: ReactionEnum, user: { __typename?: 'UserGQL', id: number, username: string, profileImageUri?: string | null, isFollowedByCurrentUser?: boolean | null } }>, comments: Array<{ __typename?: 'CommentGQL', id: number, message: string, user: { __typename?: 'UserGQL', id: number, username: string, profileImageUri?: string | null, isFollowedByCurrentUser?: boolean | null }, replies: Array<{ __typename?: 'CommentGQL', id: number, message: string, user: { __typename?: 'UserGQL', id: number, username: string, profileImageUri?: string | null, isFollowedByCurrentUser?: boolean | null } }> }> };
|
|
|
|
|
export type VideoCardFieldsFragment = { __typename?: 'VideoGQL', id: number, name?: string | null, screenshotUri?: string | null, totalShotsMade: number, totalShots: number, makePercentage: number, averageTimeBetweenShots?: number | null, averageDifficulty?: number | null, createdAt?: any | null, updatedAt?: any | null, startTime?: any | null, endTime?: any | null, private: boolean, elapsedTime?: number | null, tableSize: number, owner?: { __typename?: 'UserGQL', id: number, username: string, profileImageUri?: string | null } | null, stream?: { __typename?: 'UploadStreamGQL', id: string, lastIntendedSegmentBound?: number | null, isCompleted: boolean, streamSegmentType: StreamSegmentTypeEnum } | null, tags: Array<{ __typename?: 'VideoTag', name: string, tagClasses: Array<{ __typename?: 'VideoTagClass', name: string }> }>, currentProcessing?: { __typename?: 'VideoProcessingGQL', id: number, status: ProcessingStatusEnum, errors: Array<{ __typename?: 'VideoProcessingErrorGQL', message: string }>, statuses: Array<{ __typename?: 'VideoProcessingStatusGQL', status: ProcessingStatusEnum }> } | null, reactions: Array<{ __typename?: 'ReactionGQL', videoId: number, reaction: ReactionEnum, user: { __typename?: 'UserGQL', id: number, username: string, profileImageUri?: string | null, isFollowedByCurrentUser?: boolean | null } }>, comments: Array<{ __typename?: 'CommentGQL', id: number, message: string, user: { __typename?: 'UserGQL', id: number, username: string, profileImageUri?: string | null, isFollowedByCurrentUser?: boolean | null }, replies: Array<{ __typename?: 'CommentGQL', id: number, message: string, user: { __typename?: 'UserGQL', id: number, username: string, profileImageUri?: string | null, isFollowedByCurrentUser?: boolean | null } }> }> };
|
|
|
|
|
|
|
|
|
|
export type GetVideoFeedQueryVariables = Exact<{
|
|
|
|
|
limit?: Scalars['Int']['input'];
|
|
|
|
|
@@ -1888,7 +1888,7 @@ export type GetVideoFeedQueryVariables = Exact<{
|
|
|
|
|
}>;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export type GetVideoFeedQuery = { __typename?: 'Query', getFeedVideos: { __typename?: 'VideoHistoryGQL', hasFollowing: boolean, videos: Array<{ __typename?: 'VideoGQL', id: number, name?: string | null, screenshotUri?: string | null, totalShotsMade: number, totalShots: number, makePercentage: number, averageTimeBetweenShots?: number | null, averageDifficulty?: number | null, createdAt?: any | null, updatedAt?: any | null, startTime?: any | null, endTime?: any | null, private: boolean, elapsedTime?: number | null, tableSize: number, pocketSize?: number | null, owner?: { __typename?: 'UserGQL', id: number, username: string, profileImageUri?: string | null } | null, stream?: { __typename?: 'UploadStreamGQL', id: string, lastIntendedSegmentBound?: number | null, isCompleted: boolean, streamSegmentType: StreamSegmentTypeEnum } | null, tags: Array<{ __typename?: 'VideoTag', name: string, tagClasses: Array<{ __typename?: 'VideoTagClass', name: string }> }>, currentProcessing?: { __typename?: 'VideoProcessingGQL', id: number, status: ProcessingStatusEnum, errors: Array<{ __typename?: 'VideoProcessingErrorGQL', message: string }>, statuses: Array<{ __typename?: 'VideoProcessingStatusGQL', status: ProcessingStatusEnum }> } | null, reactions: Array<{ __typename?: 'ReactionGQL', videoId: number, reaction: ReactionEnum, user: { __typename?: 'UserGQL', id: number, username: string, profileImageUri?: string | null, isFollowedByCurrentUser?: boolean | null } }>, comments: Array<{ __typename?: 'CommentGQL', id: number, message: string, user: { __typename?: 'UserGQL', id: number, username: string, profileImageUri?: string | null, isFollowedByCurrentUser?: boolean | null }, replies: Array<{ __typename?: 'CommentGQL', id: number, message: string, user: { __typename?: 'UserGQL', id: number, username: string, profileImageUri?: string | null, isFollowedByCurrentUser?: boolean | null } }> }> }>, pageInfo: { __typename?: 'PageInfoGQL', hasNextPage: boolean, endCursor?: string | null } } };
|
|
|
|
|
export type GetVideoFeedQuery = { __typename?: 'Query', getFeedVideos: { __typename?: 'VideoHistoryGQL', hasFollowing: boolean, videos: Array<{ __typename?: 'VideoGQL', id: number, name?: string | null, screenshotUri?: string | null, totalShotsMade: number, totalShots: number, makePercentage: number, averageTimeBetweenShots?: number | null, averageDifficulty?: number | null, createdAt?: any | null, updatedAt?: any | null, startTime?: any | null, endTime?: any | null, private: boolean, elapsedTime?: number | null, tableSize: number, owner?: { __typename?: 'UserGQL', id: number, username: string, profileImageUri?: string | null } | null, stream?: { __typename?: 'UploadStreamGQL', id: string, lastIntendedSegmentBound?: number | null, isCompleted: boolean, streamSegmentType: StreamSegmentTypeEnum } | null, tags: Array<{ __typename?: 'VideoTag', name: string, tagClasses: Array<{ __typename?: 'VideoTagClass', name: string }> }>, currentProcessing?: { __typename?: 'VideoProcessingGQL', id: number, status: ProcessingStatusEnum, errors: Array<{ __typename?: 'VideoProcessingErrorGQL', message: string }>, statuses: Array<{ __typename?: 'VideoProcessingStatusGQL', status: ProcessingStatusEnum }> } | null, reactions: Array<{ __typename?: 'ReactionGQL', videoId: number, reaction: ReactionEnum, user: { __typename?: 'UserGQL', id: number, username: string, profileImageUri?: string | null, isFollowedByCurrentUser?: boolean | null } }>, comments: Array<{ __typename?: 'CommentGQL', id: number, message: string, user: { __typename?: 'UserGQL', id: number, username: string, profileImageUri?: string | null, isFollowedByCurrentUser?: boolean | null }, replies: Array<{ __typename?: 'CommentGQL', id: number, message: string, user: { __typename?: 'UserGQL', id: number, username: string, profileImageUri?: string | null, isFollowedByCurrentUser?: boolean | null } }> }> }>, pageInfo: { __typename?: 'PageInfoGQL', hasNextPage: boolean, endCursor?: string | null } } };
|
|
|
|
|
|
|
|
|
|
export type GetMakesLeaderboardQueryVariables = Exact<{
|
|
|
|
|
interval?: InputMaybe<TimeInterval>;
|
|
|
|
|
@@ -2120,10 +2120,7 @@ export type GetProfileImageUploadLinkMutationVariables = Exact<{
|
|
|
|
|
}>;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export type GetProfileImageUploadLinkMutation = { __typename?: 'Mutation', getProfileImageUploadLink: { __typename?: 'GetProfileUploadLinkReturn', value:
|
|
|
|
|
| { __typename?: 'GetProfileUploadLinkErrors', error: { __typename?: 'TooManyProfileImageUploadsErr', linksRequested: number } }
|
|
|
|
|
| { __typename?: 'UploadLink', uploadUrl: string, headers: Array<{ __typename?: 'Header', key: string, value: string } | null> }
|
|
|
|
|
} };
|
|
|
|
|
export type GetProfileImageUploadLinkMutation = { __typename?: 'Mutation', getProfileImageUploadLink: { __typename?: 'GetProfileUploadLinkReturn', value: { __typename?: 'GetProfileUploadLinkErrors', error: { __typename?: 'TooManyProfileImageUploadsErr', linksRequested: number } } | { __typename?: 'UploadLink', uploadUrl: string, headers: Array<{ __typename?: 'Header', key: string, value: string } | null> } } };
|
|
|
|
|
|
|
|
|
|
export type EditProfileImageUriMutationVariables = Exact<{
|
|
|
|
|
profileImageUri: Scalars['String']['input'];
|
|
|
|
|
@@ -2308,6 +2305,13 @@ export type GetMedianRunForVideoQueryVariables = Exact<{
|
|
|
|
|
|
|
|
|
|
export type GetMedianRunForVideoQuery = { __typename?: 'Query', getVideo: { __typename?: 'VideoGQL', id: number, medianRun?: number | null } };
|
|
|
|
|
|
|
|
|
|
export type GetAverageDifficultyForVideoQueryVariables = Exact<{
|
|
|
|
|
videoId: Scalars['Int']['input'];
|
|
|
|
|
}>;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export type GetAverageDifficultyForVideoQuery = { __typename?: 'Query', getVideo: { __typename?: 'VideoGQL', id: number, averageDifficulty?: number | null } };
|
|
|
|
|
|
|
|
|
|
export type StreamWithEndFramesFragment = { __typename?: 'UploadStreamGQL', id: string, streamSegmentType: StreamSegmentTypeEnum, segmentEndFrames: Array<number>, resolution: { __typename?: 'VideoResolutionGQL', width?: number | null, height?: number | null }, segments: Array<{ __typename?: 'UploadSegmentGQL', uploaded: boolean, valid: boolean, segmentIndex: number, endFrameIndex?: number | null, framesPerSecond?: number | null }> };
|
|
|
|
|
|
|
|
|
|
export type SegmentEndFramesFragment = { __typename?: 'SegmentEndFramesGQL', id: number, segmentEndFrames: Array<number> };
|
|
|
|
|
@@ -2362,36 +2366,14 @@ export type GetUploadLinkMutationVariables = Exact<{
|
|
|
|
|
}>;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export type GetUploadLinkMutation = { __typename?: 'Mutation', getUploadLink: { __typename?: 'GetUploadLinkReturn', value:
|
|
|
|
|
| { __typename?: 'GetUploadLinkErrors', error:
|
|
|
|
|
| { __typename?: 'InitUploadAlreadyCompletedErr' }
|
|
|
|
|
| { __typename?: 'MustHaveSetForUploadLinkErr', resolution?: boolean | null, framesPerSecond?: boolean | null }
|
|
|
|
|
| { __typename?: 'NoInitForChunkedUploadErr' }
|
|
|
|
|
| { __typename?: 'ProcessingFailedErr', processing: { __typename?: 'VideoProcessingGQL', status: ProcessingStatusEnum, errors: Array<{ __typename?: 'VideoProcessingErrorGQL', message: string }> } }
|
|
|
|
|
| { __typename?: 'SegmentAlreadyUploadedErr', segmentId: number }
|
|
|
|
|
| { __typename?: 'TooManyInitUploadsErr' }
|
|
|
|
|
| { __typename?: 'TooManyProfileImageUploadsErr' }
|
|
|
|
|
}
|
|
|
|
|
| { __typename?: 'UploadLink', uploadUrl: string, headers: Array<{ __typename?: 'Header', key: string, value: string } | null> }
|
|
|
|
|
, stream?: { __typename?: 'UploadStreamGQL', uploadCompletionCursor: number } | null } };
|
|
|
|
|
export type GetUploadLinkMutation = { __typename?: 'Mutation', getUploadLink: { __typename?: 'GetUploadLinkReturn', value: { __typename?: 'GetUploadLinkErrors', error: { __typename?: 'InitUploadAlreadyCompletedErr' } | { __typename?: 'MustHaveSetForUploadLinkErr', resolution?: boolean | null, framesPerSecond?: boolean | null } | { __typename?: 'NoInitForChunkedUploadErr' } | { __typename?: 'ProcessingFailedErr', processing: { __typename?: 'VideoProcessingGQL', status: ProcessingStatusEnum, errors: Array<{ __typename?: 'VideoProcessingErrorGQL', message: string }> } } | { __typename?: 'SegmentAlreadyUploadedErr', segmentId: number } | { __typename?: 'TooManyInitUploadsErr' } | { __typename?: 'TooManyProfileImageUploadsErr' } } | { __typename?: 'UploadLink', uploadUrl: string, headers: Array<{ __typename?: 'Header', key: string, value: string } | null> }, stream?: { __typename?: 'UploadStreamGQL', uploadCompletionCursor: number } | null } };
|
|
|
|
|
|
|
|
|
|
export type GetHlsInitUploadLinkMutationVariables = Exact<{
|
|
|
|
|
videoId: Scalars['Int']['input'];
|
|
|
|
|
}>;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export type GetHlsInitUploadLinkMutation = { __typename?: 'Mutation', getHlsInitUploadLink: { __typename?: 'GetUploadLinkReturn', value:
|
|
|
|
|
| { __typename?: 'GetUploadLinkErrors', error:
|
|
|
|
|
| { __typename?: 'InitUploadAlreadyCompletedErr', segmentType: StreamSegmentTypeEnum }
|
|
|
|
|
| { __typename?: 'MustHaveSetForUploadLinkErr' }
|
|
|
|
|
| { __typename?: 'NoInitForChunkedUploadErr', segmentType: StreamSegmentTypeEnum }
|
|
|
|
|
| { __typename?: 'ProcessingFailedErr' }
|
|
|
|
|
| { __typename?: 'SegmentAlreadyUploadedErr' }
|
|
|
|
|
| { __typename?: 'TooManyInitUploadsErr', linksRequested: number }
|
|
|
|
|
| { __typename?: 'TooManyProfileImageUploadsErr' }
|
|
|
|
|
}
|
|
|
|
|
| { __typename?: 'UploadLink', uploadUrl: string, headers: Array<{ __typename?: 'Header', key: string, value: string } | null> }
|
|
|
|
|
} };
|
|
|
|
|
export type GetHlsInitUploadLinkMutation = { __typename?: 'Mutation', getHlsInitUploadLink: { __typename?: 'GetUploadLinkReturn', value: { __typename?: 'GetUploadLinkErrors', error: { __typename?: 'InitUploadAlreadyCompletedErr', segmentType: StreamSegmentTypeEnum } | { __typename?: 'MustHaveSetForUploadLinkErr' } | { __typename?: 'NoInitForChunkedUploadErr', segmentType: StreamSegmentTypeEnum } | { __typename?: 'ProcessingFailedErr' } | { __typename?: 'SegmentAlreadyUploadedErr' } | { __typename?: 'TooManyInitUploadsErr', linksRequested: number } | { __typename?: 'TooManyProfileImageUploadsErr' } } | { __typename?: 'UploadLink', uploadUrl: string, headers: Array<{ __typename?: 'Header', key: string, value: string } | null> } } };
|
|
|
|
|
|
|
|
|
|
export type SetSegmentDurationMutationVariables = Exact<{
|
|
|
|
|
videoId: Scalars['Int']['input'];
|
|
|
|
|
@@ -2467,7 +2449,6 @@ export const VideoCardFieldsFragmentDoc = gql`
|
|
|
|
|
streamSegmentType
|
|
|
|
|
}
|
|
|
|
|
tableSize
|
|
|
|
|
pocketSize
|
|
|
|
|
tags {
|
|
|
|
|
tagClasses {
|
|
|
|
|
name
|
|
|
|
|
@@ -6441,6 +6422,47 @@ export type GetMedianRunForVideoQueryHookResult = ReturnType<typeof useGetMedian
|
|
|
|
|
export type GetMedianRunForVideoLazyQueryHookResult = ReturnType<typeof useGetMedianRunForVideoLazyQuery>;
|
|
|
|
|
export type GetMedianRunForVideoSuspenseQueryHookResult = ReturnType<typeof useGetMedianRunForVideoSuspenseQuery>;
|
|
|
|
|
export type GetMedianRunForVideoQueryResult = Apollo.QueryResult<GetMedianRunForVideoQuery, GetMedianRunForVideoQueryVariables>;
|
|
|
|
|
export const GetAverageDifficultyForVideoDocument = gql`
|
|
|
|
|
query GetAverageDifficultyForVideo($videoId: Int!) {
|
|
|
|
|
getVideo(videoId: $videoId) {
|
|
|
|
|
id
|
|
|
|
|
averageDifficulty
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* __useGetAverageDifficultyForVideoQuery__
|
|
|
|
|
*
|
|
|
|
|
* To run a query within a React component, call `useGetAverageDifficultyForVideoQuery` and pass it any options that fit your needs.
|
|
|
|
|
* When your component renders, `useGetAverageDifficultyForVideoQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
|
|
|
* you can use to render your UI.
|
|
|
|
|
*
|
|
|
|
|
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
|
|
|
*
|
|
|
|
|
* @example
|
|
|
|
|
* const { data, loading, error } = useGetAverageDifficultyForVideoQuery({
|
|
|
|
|
* variables: {
|
|
|
|
|
* videoId: // value for 'videoId'
|
|
|
|
|
* },
|
|
|
|
|
* });
|
|
|
|
|
*/
|
|
|
|
|
export function useGetAverageDifficultyForVideoQuery(baseOptions: Apollo.QueryHookOptions<GetAverageDifficultyForVideoQuery, GetAverageDifficultyForVideoQueryVariables>) {
|
|
|
|
|
const options = {...defaultOptions, ...baseOptions}
|
|
|
|
|
return Apollo.useQuery<GetAverageDifficultyForVideoQuery, GetAverageDifficultyForVideoQueryVariables>(GetAverageDifficultyForVideoDocument, options);
|
|
|
|
|
}
|
|
|
|
|
export function useGetAverageDifficultyForVideoLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<GetAverageDifficultyForVideoQuery, GetAverageDifficultyForVideoQueryVariables>) {
|
|
|
|
|
const options = {...defaultOptions, ...baseOptions}
|
|
|
|
|
return Apollo.useLazyQuery<GetAverageDifficultyForVideoQuery, GetAverageDifficultyForVideoQueryVariables>(GetAverageDifficultyForVideoDocument, options);
|
|
|
|
|
}
|
|
|
|
|
export function useGetAverageDifficultyForVideoSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions<GetAverageDifficultyForVideoQuery, GetAverageDifficultyForVideoQueryVariables>) {
|
|
|
|
|
const options = {...defaultOptions, ...baseOptions}
|
|
|
|
|
return Apollo.useSuspenseQuery<GetAverageDifficultyForVideoQuery, GetAverageDifficultyForVideoQueryVariables>(GetAverageDifficultyForVideoDocument, options);
|
|
|
|
|
}
|
|
|
|
|
export type GetAverageDifficultyForVideoQueryHookResult = ReturnType<typeof useGetAverageDifficultyForVideoQuery>;
|
|
|
|
|
export type GetAverageDifficultyForVideoLazyQueryHookResult = ReturnType<typeof useGetAverageDifficultyForVideoLazyQuery>;
|
|
|
|
|
export type GetAverageDifficultyForVideoSuspenseQueryHookResult = ReturnType<typeof useGetAverageDifficultyForVideoSuspenseQuery>;
|
|
|
|
|
export type GetAverageDifficultyForVideoQueryResult = Apollo.QueryResult<GetAverageDifficultyForVideoQuery, GetAverageDifficultyForVideoQueryVariables>;
|
|
|
|
|
export const GetVideoForClipTimesDocument = gql`
|
|
|
|
|
query GetVideoForClipTimes($videoId: Int!) {
|
|
|
|
|
getVideo(videoId: $videoId) {
|
|
|
|
|
|