|
|
|
@ -2708,17 +2708,11 @@ export type SuccessfulAddAddShotAnnotationErrors =
|
|
|
|
|
| AddShotAnnotationErrors
|
|
|
|
|
| SuccessfulAdd;
|
|
|
|
|
|
|
|
|
|
export type TagClassGql = {
|
|
|
|
|
__typename?: "TagClassGQL";
|
|
|
|
|
id: Scalars["Int"]["output"];
|
|
|
|
|
name: Scalars["String"]["output"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type TagGql = {
|
|
|
|
|
__typename?: "TagGQL";
|
|
|
|
|
group?: Maybe<Scalars["String"]["output"]>;
|
|
|
|
|
id: Scalars["Int"]["output"];
|
|
|
|
|
name: Scalars["String"]["output"];
|
|
|
|
|
tagClasses?: Maybe<Array<TagClassGql>>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type TargetMetricsGql = {
|
|
|
|
@ -3389,28 +3383,6 @@ export type GetMedalsQuery = {
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type GetRunsForHighlightsQueryVariables = Exact<{
|
|
|
|
|
filterInput: RunFilterInput;
|
|
|
|
|
runIds?: InputMaybe<Array<Scalars["Int"]["input"]> | Scalars["Int"]["input"]>;
|
|
|
|
|
runsOrdering?: InputMaybe<GetRunsOrdering>;
|
|
|
|
|
}>;
|
|
|
|
|
|
|
|
|
|
export type GetRunsForHighlightsQuery = {
|
|
|
|
|
__typename?: "Query";
|
|
|
|
|
getRuns: {
|
|
|
|
|
__typename?: "GetRunsResult";
|
|
|
|
|
count?: number | null;
|
|
|
|
|
runIds: Array<number>;
|
|
|
|
|
runs: Array<{
|
|
|
|
|
__typename?: "RunGQL";
|
|
|
|
|
id: number;
|
|
|
|
|
runLength: number;
|
|
|
|
|
userId: number;
|
|
|
|
|
videoId: number;
|
|
|
|
|
}>;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type GetSerializedShotPathsQueryVariables = Exact<{
|
|
|
|
|
filterInput: FilterInput;
|
|
|
|
|
}>;
|
|
|
|
@ -3958,16 +3930,7 @@ export type GetUserTagsQueryVariables = Exact<{ [key: string]: never }>;
|
|
|
|
|
|
|
|
|
|
export type GetUserTagsQuery = {
|
|
|
|
|
__typename?: "Query";
|
|
|
|
|
getUserTags: Array<{
|
|
|
|
|
__typename?: "TagGQL";
|
|
|
|
|
id: number;
|
|
|
|
|
name: string;
|
|
|
|
|
tagClasses?: Array<{
|
|
|
|
|
__typename?: "TagClassGQL";
|
|
|
|
|
id: number;
|
|
|
|
|
name: string;
|
|
|
|
|
}> | null;
|
|
|
|
|
}>;
|
|
|
|
|
getUserTags: Array<{ __typename?: "TagGQL"; id: number; name: string }>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type FollowUserMutationVariables = Exact<{
|
|
|
|
@ -5752,96 +5715,6 @@ export type GetMedalsQueryResult = Apollo.QueryResult<
|
|
|
|
|
GetMedalsQuery,
|
|
|
|
|
GetMedalsQueryVariables
|
|
|
|
|
>;
|
|
|
|
|
export const GetRunsForHighlightsDocument = gql`
|
|
|
|
|
query GetRunsForHighlights(
|
|
|
|
|
$filterInput: RunFilterInput!
|
|
|
|
|
$runIds: [Int!] = null
|
|
|
|
|
$runsOrdering: GetRunsOrdering
|
|
|
|
|
) {
|
|
|
|
|
getRuns(
|
|
|
|
|
filterInput: $filterInput
|
|
|
|
|
runIds: $runIds
|
|
|
|
|
runsOrdering: $runsOrdering
|
|
|
|
|
) {
|
|
|
|
|
count
|
|
|
|
|
runs {
|
|
|
|
|
id
|
|
|
|
|
runLength
|
|
|
|
|
userId
|
|
|
|
|
videoId
|
|
|
|
|
}
|
|
|
|
|
runIds
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* __useGetRunsForHighlightsQuery__
|
|
|
|
|
*
|
|
|
|
|
* To run a query within a React component, call `useGetRunsForHighlightsQuery` and pass it any options that fit your needs.
|
|
|
|
|
* When your component renders, `useGetRunsForHighlightsQuery` 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 } = useGetRunsForHighlightsQuery({
|
|
|
|
|
* variables: {
|
|
|
|
|
* filterInput: // value for 'filterInput'
|
|
|
|
|
* runIds: // value for 'runIds'
|
|
|
|
|
* runsOrdering: // value for 'runsOrdering'
|
|
|
|
|
* },
|
|
|
|
|
* });
|
|
|
|
|
*/
|
|
|
|
|
export function useGetRunsForHighlightsQuery(
|
|
|
|
|
baseOptions: Apollo.QueryHookOptions<
|
|
|
|
|
GetRunsForHighlightsQuery,
|
|
|
|
|
GetRunsForHighlightsQueryVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useQuery<
|
|
|
|
|
GetRunsForHighlightsQuery,
|
|
|
|
|
GetRunsForHighlightsQueryVariables
|
|
|
|
|
>(GetRunsForHighlightsDocument, options);
|
|
|
|
|
}
|
|
|
|
|
export function useGetRunsForHighlightsLazyQuery(
|
|
|
|
|
baseOptions?: Apollo.LazyQueryHookOptions<
|
|
|
|
|
GetRunsForHighlightsQuery,
|
|
|
|
|
GetRunsForHighlightsQueryVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useLazyQuery<
|
|
|
|
|
GetRunsForHighlightsQuery,
|
|
|
|
|
GetRunsForHighlightsQueryVariables
|
|
|
|
|
>(GetRunsForHighlightsDocument, options);
|
|
|
|
|
}
|
|
|
|
|
export function useGetRunsForHighlightsSuspenseQuery(
|
|
|
|
|
baseOptions?: Apollo.SuspenseQueryHookOptions<
|
|
|
|
|
GetRunsForHighlightsQuery,
|
|
|
|
|
GetRunsForHighlightsQueryVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useSuspenseQuery<
|
|
|
|
|
GetRunsForHighlightsQuery,
|
|
|
|
|
GetRunsForHighlightsQueryVariables
|
|
|
|
|
>(GetRunsForHighlightsDocument, options);
|
|
|
|
|
}
|
|
|
|
|
export type GetRunsForHighlightsQueryHookResult = ReturnType<
|
|
|
|
|
typeof useGetRunsForHighlightsQuery
|
|
|
|
|
>;
|
|
|
|
|
export type GetRunsForHighlightsLazyQueryHookResult = ReturnType<
|
|
|
|
|
typeof useGetRunsForHighlightsLazyQuery
|
|
|
|
|
>;
|
|
|
|
|
export type GetRunsForHighlightsSuspenseQueryHookResult = ReturnType<
|
|
|
|
|
typeof useGetRunsForHighlightsSuspenseQuery
|
|
|
|
|
>;
|
|
|
|
|
export type GetRunsForHighlightsQueryResult = Apollo.QueryResult<
|
|
|
|
|
GetRunsForHighlightsQuery,
|
|
|
|
|
GetRunsForHighlightsQueryVariables
|
|
|
|
|
>;
|
|
|
|
|
export const GetSerializedShotPathsDocument = gql`
|
|
|
|
|
query GetSerializedShotPaths($filterInput: FilterInput!) {
|
|
|
|
|
getShots(filterInput: $filterInput) {
|
|
|
|
@ -7062,10 +6935,6 @@ export const GetUserTagsDocument = gql`
|
|
|
|
|
getUserTags {
|
|
|
|
|
id
|
|
|
|
|
name
|
|
|
|
|
tagClasses {
|
|
|
|
|
id
|
|
|
|
|
name
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|