Compare commits
26 Commits
55bbf723ba
...
dean/add-f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5fbc134c42 | ||
| f67288d387 | |||
|
|
71425a22a6 | ||
| 47339caa74 | |||
| 3c8be1d647 | |||
| 09267529cd | |||
| 2b48ec48d5 | |||
|
|
93bf341c0f | ||
|
|
9f735b61bb | ||
|
|
fda8e4eb9d | ||
|
|
338c45d59b | ||
|
|
e879c5008f | ||
|
|
2d67e076f7 | ||
|
|
ec534769f3 | ||
|
|
f8e8c7b7d4 | ||
|
|
372fd6e26b | ||
|
|
d9ef5ed79a | ||
| f14e117416 | |||
| 3d86c13291 | |||
| e63f8600aa | |||
| 7e822446da | |||
| 75ecc5894b | |||
| 73c8dd5f57 | |||
|
|
e4223a1a17 | ||
|
|
83b7f0d0f6 | ||
|
|
a882f98d91 |
161
src/index.tsx
161
src/index.tsx
@@ -3535,6 +3535,7 @@ export type GetAggregatedShotMetricsQuery = {
|
|||||||
__typename?: "TargetMetricsGQL";
|
__typename?: "TargetMetricsGQL";
|
||||||
count: number;
|
count: number;
|
||||||
makePercentage?: number | null;
|
makePercentage?: number | null;
|
||||||
|
averageDifficulty?: number | null;
|
||||||
};
|
};
|
||||||
}>;
|
}>;
|
||||||
};
|
};
|
||||||
@@ -4017,6 +4018,7 @@ export type GetFeedQuery = {
|
|||||||
private: boolean;
|
private: boolean;
|
||||||
elapsedTime?: number | null;
|
elapsedTime?: number | null;
|
||||||
tableSize: number;
|
tableSize: number;
|
||||||
|
pocketSize?: number | null;
|
||||||
owner?: {
|
owner?: {
|
||||||
__typename?: "UserGQL";
|
__typename?: "UserGQL";
|
||||||
id: number;
|
id: number;
|
||||||
@@ -4118,6 +4120,7 @@ export type VideoCardFieldsFragment = {
|
|||||||
private: boolean;
|
private: boolean;
|
||||||
elapsedTime?: number | null;
|
elapsedTime?: number | null;
|
||||||
tableSize: number;
|
tableSize: number;
|
||||||
|
pocketSize?: number | null;
|
||||||
owner?: {
|
owner?: {
|
||||||
__typename?: "UserGQL";
|
__typename?: "UserGQL";
|
||||||
id: number;
|
id: number;
|
||||||
@@ -4215,6 +4218,7 @@ export type GetVideoFeedQuery = {
|
|||||||
private: boolean;
|
private: boolean;
|
||||||
elapsedTime?: number | null;
|
elapsedTime?: number | null;
|
||||||
tableSize: number;
|
tableSize: number;
|
||||||
|
pocketSize?: number | null;
|
||||||
owner?: {
|
owner?: {
|
||||||
__typename?: "UserGQL";
|
__typename?: "UserGQL";
|
||||||
id: number;
|
id: number;
|
||||||
@@ -4965,6 +4969,7 @@ export type GetShotsWithMetadataFilterResultQuery = {
|
|||||||
} | null;
|
} | null;
|
||||||
playlist?: {
|
playlist?: {
|
||||||
__typename?: "HLSPlaylistGQL";
|
__typename?: "HLSPlaylistGQL";
|
||||||
|
videoId: number;
|
||||||
segmentDurations: Array<number>;
|
segmentDurations: Array<number>;
|
||||||
} | null;
|
} | null;
|
||||||
} | null;
|
} | null;
|
||||||
@@ -5047,6 +5052,7 @@ export type GetShotsWithMetadataQuery = {
|
|||||||
} | null;
|
} | null;
|
||||||
playlist?: {
|
playlist?: {
|
||||||
__typename?: "HLSPlaylistGQL";
|
__typename?: "HLSPlaylistGQL";
|
||||||
|
videoId: number;
|
||||||
segmentDurations: Array<number>;
|
segmentDurations: Array<number>;
|
||||||
} | null;
|
} | null;
|
||||||
} | null;
|
} | null;
|
||||||
@@ -5118,6 +5124,7 @@ export type GetShotsByIdsQuery = {
|
|||||||
} | null;
|
} | null;
|
||||||
playlist?: {
|
playlist?: {
|
||||||
__typename?: "HLSPlaylistGQL";
|
__typename?: "HLSPlaylistGQL";
|
||||||
|
videoId: number;
|
||||||
segmentDurations: Array<number>;
|
segmentDurations: Array<number>;
|
||||||
} | null;
|
} | null;
|
||||||
} | null;
|
} | null;
|
||||||
@@ -5182,6 +5189,7 @@ export type ShotWithAllFeaturesFragment = {
|
|||||||
} | null;
|
} | null;
|
||||||
playlist?: {
|
playlist?: {
|
||||||
__typename?: "HLSPlaylistGQL";
|
__typename?: "HLSPlaylistGQL";
|
||||||
|
videoId: number;
|
||||||
segmentDurations: Array<number>;
|
segmentDurations: Array<number>;
|
||||||
} | null;
|
} | null;
|
||||||
} | null;
|
} | null;
|
||||||
@@ -5263,6 +5271,7 @@ export type EditShotMutation = {
|
|||||||
} | null;
|
} | null;
|
||||||
playlist?: {
|
playlist?: {
|
||||||
__typename?: "HLSPlaylistGQL";
|
__typename?: "HLSPlaylistGQL";
|
||||||
|
videoId: number;
|
||||||
segmentDurations: Array<number>;
|
segmentDurations: Array<number>;
|
||||||
} | null;
|
} | null;
|
||||||
} | null;
|
} | null;
|
||||||
@@ -5378,6 +5387,8 @@ export type GetUserQuery = {
|
|||||||
updatedAt?: any | null;
|
updatedAt?: any | null;
|
||||||
videosPrivateByDefault?: boolean | null;
|
videosPrivateByDefault?: boolean | null;
|
||||||
agreesToMarketing?: boolean | null;
|
agreesToMarketing?: boolean | null;
|
||||||
|
following?: Array<{ __typename?: "UserGQL"; id: number }> | null;
|
||||||
|
followers?: Array<{ __typename?: "UserGQL"; id: number }> | null;
|
||||||
} | null;
|
} | null;
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -5449,21 +5460,7 @@ export type FollowUserMutationVariables = Exact<{
|
|||||||
|
|
||||||
export type FollowUserMutation = {
|
export type FollowUserMutation = {
|
||||||
__typename?: "Mutation";
|
__typename?: "Mutation";
|
||||||
followUser: {
|
followUser: { __typename?: "UserGQL"; id: number; username: string };
|
||||||
__typename?: "UserGQL";
|
|
||||||
username: string;
|
|
||||||
id: number;
|
|
||||||
following?: Array<{
|
|
||||||
__typename?: "UserGQL";
|
|
||||||
id: number;
|
|
||||||
username: string;
|
|
||||||
}> | null;
|
|
||||||
followers?: Array<{
|
|
||||||
__typename?: "UserGQL";
|
|
||||||
id: number;
|
|
||||||
username: string;
|
|
||||||
}> | null;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
export type UnfollowUserMutationVariables = Exact<{
|
export type UnfollowUserMutationVariables = Exact<{
|
||||||
@@ -5472,21 +5469,7 @@ export type UnfollowUserMutationVariables = Exact<{
|
|||||||
|
|
||||||
export type UnfollowUserMutation = {
|
export type UnfollowUserMutation = {
|
||||||
__typename?: "Mutation";
|
__typename?: "Mutation";
|
||||||
unfollowUser: {
|
unfollowUser: { __typename?: "UserGQL"; id: number; username: string };
|
||||||
__typename?: "UserGQL";
|
|
||||||
username: string;
|
|
||||||
id: number;
|
|
||||||
following?: Array<{
|
|
||||||
__typename?: "UserGQL";
|
|
||||||
id: number;
|
|
||||||
username: string;
|
|
||||||
}> | null;
|
|
||||||
followers?: Array<{
|
|
||||||
__typename?: "UserGQL";
|
|
||||||
id: number;
|
|
||||||
username: string;
|
|
||||||
}> | null;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
export type GetUserFollowingFollowersQueryVariables = Exact<{
|
export type GetUserFollowingFollowersQueryVariables = Exact<{
|
||||||
@@ -5503,12 +5486,14 @@ export type GetUserFollowingFollowersQuery = {
|
|||||||
id: number;
|
id: number;
|
||||||
username: string;
|
username: string;
|
||||||
profileImageUri?: string | null;
|
profileImageUri?: string | null;
|
||||||
|
isFollowedByCurrentUser?: boolean | null;
|
||||||
}> | null;
|
}> | null;
|
||||||
followers?: Array<{
|
followers?: Array<{
|
||||||
__typename?: "UserGQL";
|
__typename?: "UserGQL";
|
||||||
id: number;
|
id: number;
|
||||||
username: string;
|
username: string;
|
||||||
profileImageUri?: string | null;
|
profileImageUri?: string | null;
|
||||||
|
isFollowedByCurrentUser?: boolean | null;
|
||||||
}> | null;
|
}> | null;
|
||||||
} | null;
|
} | null;
|
||||||
};
|
};
|
||||||
@@ -5703,6 +5688,7 @@ export type GetVideoDetailsQuery = {
|
|||||||
endTime?: any | null;
|
endTime?: any | null;
|
||||||
makePercentage: number;
|
makePercentage: number;
|
||||||
medianRun?: number | null;
|
medianRun?: number | null;
|
||||||
|
averageDifficulty?: number | null;
|
||||||
startTime?: any | null;
|
startTime?: any | null;
|
||||||
totalShots: number;
|
totalShots: number;
|
||||||
totalShotsMade: number;
|
totalShotsMade: number;
|
||||||
@@ -5968,6 +5954,19 @@ export type GetMedianRunForVideoQuery = {
|
|||||||
getVideo: { __typename?: "VideoGQL"; id: number; medianRun?: number | null };
|
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 = {
|
export type StreamWithEndFramesFragment = {
|
||||||
__typename?: "UploadStreamGQL";
|
__typename?: "UploadStreamGQL";
|
||||||
id: string;
|
id: string;
|
||||||
@@ -6403,6 +6402,7 @@ export const VideoCardFieldsFragmentDoc = gql`
|
|||||||
streamSegmentType
|
streamSegmentType
|
||||||
}
|
}
|
||||||
tableSize
|
tableSize
|
||||||
|
pocketSize
|
||||||
tags {
|
tags {
|
||||||
tagClasses {
|
tagClasses {
|
||||||
name
|
name
|
||||||
@@ -6551,6 +6551,7 @@ export const ShotWithAllFeaturesFragmentDoc = gql`
|
|||||||
streamSegmentType
|
streamSegmentType
|
||||||
}
|
}
|
||||||
playlist {
|
playlist {
|
||||||
|
videoId
|
||||||
segmentDurations
|
segmentDurations
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -6709,6 +6710,7 @@ export const GetAggregatedShotMetricsDocument = gql`
|
|||||||
targetMetrics {
|
targetMetrics {
|
||||||
count
|
count
|
||||||
makePercentage
|
makePercentage
|
||||||
|
averageDifficulty
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -10894,6 +10896,12 @@ export const GetUserDocument = gql`
|
|||||||
query GetUser($userId: Int!) {
|
query GetUser($userId: Int!) {
|
||||||
getUser(userId: $userId) {
|
getUser(userId: $userId) {
|
||||||
...UserFragment
|
...UserFragment
|
||||||
|
following {
|
||||||
|
id
|
||||||
|
}
|
||||||
|
followers {
|
||||||
|
id
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
${UserFragmentFragmentDoc}
|
${UserFragmentFragmentDoc}
|
||||||
@@ -11280,17 +11288,9 @@ export type GetUserTagsQueryResult = Apollo.QueryResult<
|
|||||||
export const FollowUserDocument = gql`
|
export const FollowUserDocument = gql`
|
||||||
mutation followUser($followedUserId: Int!) {
|
mutation followUser($followedUserId: Int!) {
|
||||||
followUser(followedUserId: $followedUserId) {
|
followUser(followedUserId: $followedUserId) {
|
||||||
username
|
|
||||||
id
|
|
||||||
following {
|
|
||||||
id
|
id
|
||||||
username
|
username
|
||||||
}
|
}
|
||||||
followers {
|
|
||||||
id
|
|
||||||
username
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
export type FollowUserMutationFn = Apollo.MutationFunction<
|
export type FollowUserMutationFn = Apollo.MutationFunction<
|
||||||
@@ -11339,17 +11339,9 @@ export type FollowUserMutationOptions = Apollo.BaseMutationOptions<
|
|||||||
export const UnfollowUserDocument = gql`
|
export const UnfollowUserDocument = gql`
|
||||||
mutation unfollowUser($followedUserId: Int!) {
|
mutation unfollowUser($followedUserId: Int!) {
|
||||||
unfollowUser(followedUserId: $followedUserId) {
|
unfollowUser(followedUserId: $followedUserId) {
|
||||||
username
|
|
||||||
id
|
|
||||||
following {
|
|
||||||
id
|
id
|
||||||
username
|
username
|
||||||
}
|
}
|
||||||
followers {
|
|
||||||
id
|
|
||||||
username
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
export type UnfollowUserMutationFn = Apollo.MutationFunction<
|
export type UnfollowUserMutationFn = Apollo.MutationFunction<
|
||||||
@@ -11403,11 +11395,13 @@ export const GetUserFollowingFollowersDocument = gql`
|
|||||||
id
|
id
|
||||||
username
|
username
|
||||||
profileImageUri
|
profileImageUri
|
||||||
|
isFollowedByCurrentUser
|
||||||
}
|
}
|
||||||
followers {
|
followers {
|
||||||
id
|
id
|
||||||
username
|
username
|
||||||
profileImageUri
|
profileImageUri
|
||||||
|
isFollowedByCurrentUser
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -11987,6 +11981,7 @@ export const GetVideoDetailsDocument = gql`
|
|||||||
endTime
|
endTime
|
||||||
makePercentage
|
makePercentage
|
||||||
medianRun
|
medianRun
|
||||||
|
averageDifficulty
|
||||||
startTime
|
startTime
|
||||||
totalShots
|
totalShots
|
||||||
totalShotsMade
|
totalShotsMade
|
||||||
@@ -12640,6 +12635,80 @@ export type GetMedianRunForVideoQueryResult = Apollo.QueryResult<
|
|||||||
GetMedianRunForVideoQuery,
|
GetMedianRunForVideoQuery,
|
||||||
GetMedianRunForVideoQueryVariables
|
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`
|
export const GetVideoForClipTimesDocument = gql`
|
||||||
query GetVideoForClipTimes($videoId: Int!) {
|
query GetVideoForClipTimes($videoId: Int!) {
|
||||||
getVideo(videoId: $videoId) {
|
getVideo(videoId: $videoId) {
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ query GetAggregatedShotMetrics($aggregateInput: AggregateInputGQL!) {
|
|||||||
targetMetrics {
|
targetMetrics {
|
||||||
count
|
count
|
||||||
makePercentage
|
makePercentage
|
||||||
|
averageDifficulty
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -50,6 +50,7 @@ fragment VideoCardFields on VideoGQL {
|
|||||||
streamSegmentType
|
streamSegmentType
|
||||||
}
|
}
|
||||||
tableSize
|
tableSize
|
||||||
|
pocketSize
|
||||||
tags {
|
tags {
|
||||||
tagClasses {
|
tagClasses {
|
||||||
name
|
name
|
||||||
|
|||||||
@@ -192,6 +192,7 @@ fragment ShotWithAllFeatures on ShotGQL {
|
|||||||
streamSegmentType
|
streamSegmentType
|
||||||
}
|
}
|
||||||
playlist {
|
playlist {
|
||||||
|
videoId
|
||||||
segmentDurations
|
segmentDurations
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -34,6 +34,12 @@ query getLoggedInUser {
|
|||||||
query GetUser($userId: Int!) {
|
query GetUser($userId: Int!) {
|
||||||
getUser(userId: $userId) {
|
getUser(userId: $userId) {
|
||||||
...UserFragment
|
...UserFragment
|
||||||
|
following {
|
||||||
|
id
|
||||||
|
}
|
||||||
|
followers {
|
||||||
|
id
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -88,32 +94,16 @@ query GetUserTags {
|
|||||||
|
|
||||||
mutation followUser($followedUserId: Int!) {
|
mutation followUser($followedUserId: Int!) {
|
||||||
followUser(followedUserId: $followedUserId) {
|
followUser(followedUserId: $followedUserId) {
|
||||||
username
|
|
||||||
id
|
|
||||||
following {
|
|
||||||
id
|
id
|
||||||
username
|
username
|
||||||
}
|
}
|
||||||
followers {
|
|
||||||
id
|
|
||||||
username
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
mutation unfollowUser($followedUserId: Int!) {
|
mutation unfollowUser($followedUserId: Int!) {
|
||||||
unfollowUser(followedUserId: $followedUserId) {
|
unfollowUser(followedUserId: $followedUserId) {
|
||||||
username
|
|
||||||
id
|
|
||||||
following {
|
|
||||||
id
|
id
|
||||||
username
|
username
|
||||||
}
|
}
|
||||||
followers {
|
|
||||||
id
|
|
||||||
username
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
query getUserFollowingFollowers {
|
query getUserFollowingFollowers {
|
||||||
@@ -123,11 +113,13 @@ query getUserFollowingFollowers {
|
|||||||
id
|
id
|
||||||
username
|
username
|
||||||
profileImageUri
|
profileImageUri
|
||||||
|
isFollowedByCurrentUser
|
||||||
}
|
}
|
||||||
followers {
|
followers {
|
||||||
id
|
id
|
||||||
username
|
username
|
||||||
profileImageUri
|
profileImageUri
|
||||||
|
isFollowedByCurrentUser
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -61,6 +61,7 @@ query GetVideoDetails($videoId: Int!) {
|
|||||||
endTime
|
endTime
|
||||||
makePercentage
|
makePercentage
|
||||||
medianRun
|
medianRun
|
||||||
|
averageDifficulty
|
||||||
startTime
|
startTime
|
||||||
totalShots
|
totalShots
|
||||||
totalShotsMade
|
totalShotsMade
|
||||||
@@ -211,6 +212,13 @@ query GetMedianRunForVideo($videoId: Int!) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
query GetAverageDifficultyForVideo($videoId: Int!) {
|
||||||
|
getVideo(videoId: $videoId) {
|
||||||
|
id
|
||||||
|
averageDifficulty
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
fragment StreamWithEndFrames on UploadStreamGQL {
|
fragment StreamWithEndFrames on UploadStreamGQL {
|
||||||
id
|
id
|
||||||
streamSegmentType
|
streamSegmentType
|
||||||
|
|||||||
1932
src/schema.gql
1932
src/schema.gql
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user