|
|
|
@ -2556,6 +2556,12 @@ export type SegmentEndFramesGql = {
|
|
|
|
|
segmentEndFrames: Array<Scalars["Int"]["output"]>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type SegmentInfo = {
|
|
|
|
|
__typename?: "SegmentInfo";
|
|
|
|
|
index: Scalars["Int"]["output"];
|
|
|
|
|
time: Scalars["Float"]["output"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type SegmentStartTimesGql = {
|
|
|
|
|
__typename?: "SegmentStartTimesGQL";
|
|
|
|
|
id: Scalars["Int"]["output"];
|
|
|
|
@ -2608,6 +2614,7 @@ export type ShotGql = {
|
|
|
|
|
createdAt?: Maybe<Scalars["DateTime"]["output"]>;
|
|
|
|
|
cueObjectFeatures?: Maybe<CueObjectFeaturesGql>;
|
|
|
|
|
endFrame: Scalars["Int"]["output"];
|
|
|
|
|
endSegment: SegmentInfo;
|
|
|
|
|
endTime: Scalars["Float"]["output"];
|
|
|
|
|
falsePositiveScore?: Maybe<Scalars["Float"]["output"]>;
|
|
|
|
|
id: Scalars["Int"]["output"];
|
|
|
|
@ -2617,6 +2624,7 @@ export type ShotGql = {
|
|
|
|
|
runFeatures?: Maybe<RunFeaturesGql>;
|
|
|
|
|
serializedShotPaths?: Maybe<SerializedShotPathsGql>;
|
|
|
|
|
startFrame: Scalars["Int"]["output"];
|
|
|
|
|
startSegment: SegmentInfo;
|
|
|
|
|
startTime: Scalars["Float"]["output"];
|
|
|
|
|
updatedAt?: Maybe<Scalars["DateTime"]["output"]>;
|
|
|
|
|
user?: Maybe<UserGql>;
|
|
|
|
@ -2708,13 +2716,19 @@ export type SuccessfulAddAddShotAnnotationErrors =
|
|
|
|
|
| AddShotAnnotationErrors
|
|
|
|
|
| SuccessfulAdd;
|
|
|
|
|
|
|
|
|
|
export type TagGql = {
|
|
|
|
|
__typename?: "TagGQL";
|
|
|
|
|
group?: Maybe<Scalars["String"]["output"]>;
|
|
|
|
|
export type TagClassGql = {
|
|
|
|
|
__typename?: "TagClassGQL";
|
|
|
|
|
id: Scalars["Int"]["output"];
|
|
|
|
|
name: Scalars["String"]["output"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type TagGql = {
|
|
|
|
|
__typename?: "TagGQL";
|
|
|
|
|
id: Scalars["Int"]["output"];
|
|
|
|
|
name: Scalars["String"]["output"];
|
|
|
|
|
tagClasses?: Maybe<Array<TagClassGql>>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type TargetMetricsGql = {
|
|
|
|
|
__typename?: "TargetMetricsGQL";
|
|
|
|
|
averageDifficulty?: Maybe<Scalars["Float"]["output"]>;
|
|
|
|
@ -2906,6 +2920,7 @@ export type VideoMetadataInput = {
|
|
|
|
|
endStream?: Scalars["Boolean"]["input"];
|
|
|
|
|
endTime?: InputMaybe<Scalars["DateTime"]["input"]>;
|
|
|
|
|
framesPerSecond?: InputMaybe<Scalars["Float"]["input"]>;
|
|
|
|
|
/** @deprecated `game_type` is deprecated. Use `tags` instead. */
|
|
|
|
|
gameType?: InputMaybe<Scalars["String"]["input"]>;
|
|
|
|
|
lastIntendedSegmentBound?: InputMaybe<Scalars["Int"]["input"]>;
|
|
|
|
|
private?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
|
|
@ -2913,6 +2928,8 @@ export type VideoMetadataInput = {
|
|
|
|
|
startTime?: InputMaybe<Scalars["DateTime"]["input"]>;
|
|
|
|
|
streamSegmentType?: InputMaybe<StreamSegmentTypeEnum>;
|
|
|
|
|
tableSize?: InputMaybe<Scalars["Float"]["input"]>;
|
|
|
|
|
/** A list of tags associated with the video. Replace `game_type` */
|
|
|
|
|
tags?: InputMaybe<Array<VideoTagInput>>;
|
|
|
|
|
videoName?: InputMaybe<Scalars["String"]["input"]>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
@ -3380,6 +3397,29 @@ 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;
|
|
|
|
|
shots: Array<{ __typename?: "ShotGQL"; videoId: number; id: number }>;
|
|
|
|
|
}>;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type GetSerializedShotPathsQueryVariables = Exact<{
|
|
|
|
|
filterInput: FilterInput;
|
|
|
|
|
}>;
|
|
|
|
@ -3507,6 +3547,8 @@ export type GetShotsWithMetadataFilterResultQuery = {
|
|
|
|
|
falsePositiveScore?: number | null;
|
|
|
|
|
createdAt?: any | null;
|
|
|
|
|
updatedAt?: any | null;
|
|
|
|
|
startSegment: { __typename?: "SegmentInfo"; index: number; time: number };
|
|
|
|
|
endSegment: { __typename?: "SegmentInfo"; index: number; time: number };
|
|
|
|
|
user?: { __typename?: "UserGQL"; id: number } | null;
|
|
|
|
|
cueObjectFeatures?: {
|
|
|
|
|
__typename?: "CueObjectFeaturesGQL";
|
|
|
|
@ -3574,6 +3616,8 @@ export type GetShotsWithMetadataQuery = {
|
|
|
|
|
falsePositiveScore?: number | null;
|
|
|
|
|
createdAt?: any | null;
|
|
|
|
|
updatedAt?: any | null;
|
|
|
|
|
startSegment: { __typename?: "SegmentInfo"; index: number; time: number };
|
|
|
|
|
endSegment: { __typename?: "SegmentInfo"; index: number; time: number };
|
|
|
|
|
user?: { __typename?: "UserGQL"; id: number } | null;
|
|
|
|
|
cueObjectFeatures?: {
|
|
|
|
|
__typename?: "CueObjectFeaturesGQL";
|
|
|
|
@ -3634,6 +3678,8 @@ export type GetShotsByIdsQuery = {
|
|
|
|
|
falsePositiveScore?: number | null;
|
|
|
|
|
createdAt?: any | null;
|
|
|
|
|
updatedAt?: any | null;
|
|
|
|
|
startSegment: { __typename?: "SegmentInfo"; index: number; time: number };
|
|
|
|
|
endSegment: { __typename?: "SegmentInfo"; index: number; time: number };
|
|
|
|
|
user?: { __typename?: "UserGQL"; id: number } | null;
|
|
|
|
|
cueObjectFeatures?: {
|
|
|
|
|
__typename?: "CueObjectFeaturesGQL";
|
|
|
|
@ -3683,6 +3729,8 @@ export type ShotWithAllFeaturesFragment = {
|
|
|
|
|
falsePositiveScore?: number | null;
|
|
|
|
|
createdAt?: any | null;
|
|
|
|
|
updatedAt?: any | null;
|
|
|
|
|
startSegment: { __typename?: "SegmentInfo"; index: number; time: number };
|
|
|
|
|
endSegment: { __typename?: "SegmentInfo"; index: number; time: number };
|
|
|
|
|
user?: { __typename?: "UserGQL"; id: number } | null;
|
|
|
|
|
cueObjectFeatures?: {
|
|
|
|
|
__typename?: "CueObjectFeaturesGQL";
|
|
|
|
@ -3745,6 +3793,8 @@ export type EditShotMutation = {
|
|
|
|
|
falsePositiveScore?: number | null;
|
|
|
|
|
createdAt?: any | null;
|
|
|
|
|
updatedAt?: any | null;
|
|
|
|
|
startSegment: { __typename?: "SegmentInfo"; index: number; time: number };
|
|
|
|
|
endSegment: { __typename?: "SegmentInfo"; index: number; time: number };
|
|
|
|
|
user?: { __typename?: "UserGQL"; id: number } | null;
|
|
|
|
|
cueObjectFeatures?: {
|
|
|
|
|
__typename?: "CueObjectFeaturesGQL";
|
|
|
|
@ -3927,7 +3977,16 @@ export type GetUserTagsQueryVariables = Exact<{ [key: string]: never }>;
|
|
|
|
|
|
|
|
|
|
export type GetUserTagsQuery = {
|
|
|
|
|
__typename?: "Query";
|
|
|
|
|
getUserTags: Array<{ __typename?: "TagGQL"; id: number; name: string }>;
|
|
|
|
|
getUserTags: Array<{
|
|
|
|
|
__typename?: "TagGQL";
|
|
|
|
|
id: number;
|
|
|
|
|
name: string;
|
|
|
|
|
tagClasses?: Array<{
|
|
|
|
|
__typename?: "TagClassGQL";
|
|
|
|
|
id: number;
|
|
|
|
|
name: string;
|
|
|
|
|
}> | null;
|
|
|
|
|
}>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type FollowUserMutationVariables = Exact<{
|
|
|
|
@ -4811,6 +4870,14 @@ export const ShotWithAllFeaturesFragmentDoc = gql`
|
|
|
|
|
endFrame
|
|
|
|
|
startTime @client
|
|
|
|
|
endTime @client
|
|
|
|
|
startSegment @client {
|
|
|
|
|
index
|
|
|
|
|
time
|
|
|
|
|
}
|
|
|
|
|
endSegment @client {
|
|
|
|
|
index
|
|
|
|
|
time
|
|
|
|
|
}
|
|
|
|
|
user {
|
|
|
|
|
id
|
|
|
|
|
}
|
|
|
|
@ -5712,6 +5779,100 @@ 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
|
|
|
|
|
shots {
|
|
|
|
|
videoId
|
|
|
|
|
id
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
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) {
|
|
|
|
@ -6932,6 +7093,10 @@ export const GetUserTagsDocument = gql`
|
|
|
|
|
getUserTags {
|
|
|
|
|
id
|
|
|
|
|
name
|
|
|
|
|
tagClasses {
|
|
|
|
|
id
|
|
|
|
|
name
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|