|
|
|
@@ -2002,6 +2002,7 @@ export type MustHaveSetForUploadLinkErrSegmentAlreadyUploadedErrProcessingFailed
|
|
|
|
|
export type Mutation = {
|
|
|
|
|
__typename?: "Mutation";
|
|
|
|
|
addAnnotationToShot: AddShotAnnotationReturn;
|
|
|
|
|
checkHomographyIsValid?: Maybe<HomographyInfoGql>;
|
|
|
|
|
createBucketSet: BucketSetGql;
|
|
|
|
|
createUploadStream: CreateUploadStreamReturn;
|
|
|
|
|
deleteVideo: Scalars["Boolean"]["output"];
|
|
|
|
@@ -2024,6 +2025,11 @@ export type MutationAddAnnotationToShotArgs = {
|
|
|
|
|
shotId: Scalars["Int"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type MutationCheckHomographyIsValidArgs = {
|
|
|
|
|
b64Image: Scalars["String"]["input"];
|
|
|
|
|
videoId: Scalars["Int"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type MutationCreateBucketSetArgs = {
|
|
|
|
|
params: CreateBucketSetInput;
|
|
|
|
|
};
|
|
|
|
@@ -2816,6 +2822,15 @@ export type VideoCardFieldsFragment = {
|
|
|
|
|
name: string;
|
|
|
|
|
tagClasses: Array<{ __typename?: "VideoTagClass"; name: string }>;
|
|
|
|
|
}>;
|
|
|
|
|
currentProcessing?: {
|
|
|
|
|
__typename?: "VideoProcessingGQL";
|
|
|
|
|
status: ProcessingStatusEnum;
|
|
|
|
|
errors: Array<{ __typename?: "VideoProcessingErrorGQL"; message: string }>;
|
|
|
|
|
statuses: Array<{
|
|
|
|
|
__typename?: "VideoProcessingStatusGQL";
|
|
|
|
|
status: ProcessingStatusEnum;
|
|
|
|
|
}>;
|
|
|
|
|
} | null;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type GetVideoFeedQueryVariables = Exact<{
|
|
|
|
@@ -2858,6 +2873,18 @@ export type GetVideoFeedQuery = {
|
|
|
|
|
name: string;
|
|
|
|
|
tagClasses: Array<{ __typename?: "VideoTagClass"; name: string }>;
|
|
|
|
|
}>;
|
|
|
|
|
currentProcessing?: {
|
|
|
|
|
__typename?: "VideoProcessingGQL";
|
|
|
|
|
status: ProcessingStatusEnum;
|
|
|
|
|
errors: Array<{
|
|
|
|
|
__typename?: "VideoProcessingErrorGQL";
|
|
|
|
|
message: string;
|
|
|
|
|
}>;
|
|
|
|
|
statuses: Array<{
|
|
|
|
|
__typename?: "VideoProcessingStatusGQL";
|
|
|
|
|
status: ProcessingStatusEnum;
|
|
|
|
|
}>;
|
|
|
|
|
} | null;
|
|
|
|
|
}>;
|
|
|
|
|
pageInfo: {
|
|
|
|
|
__typename?: "PageInfoGQL";
|
|
|
|
@@ -2967,6 +2994,20 @@ export type GetShotsWithVideoGqlQuery = {
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type GetShotsWithJustIdsQueryVariables = Exact<{
|
|
|
|
|
filterInput: FilterInput;
|
|
|
|
|
shotsOrdering?: InputMaybe<GetShotsOrdering>;
|
|
|
|
|
limit?: InputMaybe<Scalars["Int"]["input"]>;
|
|
|
|
|
}>;
|
|
|
|
|
|
|
|
|
|
export type GetShotsWithJustIdsQuery = {
|
|
|
|
|
__typename?: "Query";
|
|
|
|
|
getOrderedShots: {
|
|
|
|
|
__typename?: "GetShotsResult";
|
|
|
|
|
shots: Array<{ __typename?: "ShotGQL"; id: number; videoId: number }>;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type GetShotsWithMetadataFilterResultQueryVariables = Exact<{
|
|
|
|
|
filterInput: FilterInput;
|
|
|
|
|
shotsOrdering?: InputMaybe<GetShotsOrdering>;
|
|
|
|
@@ -4019,6 +4060,15 @@ export const VideoCardFieldsFragmentDoc = gql`
|
|
|
|
|
}
|
|
|
|
|
name
|
|
|
|
|
}
|
|
|
|
|
currentProcessing {
|
|
|
|
|
errors {
|
|
|
|
|
message
|
|
|
|
|
}
|
|
|
|
|
status
|
|
|
|
|
statuses {
|
|
|
|
|
status
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
export const ShotWithAllFeaturesFragmentDoc = gql`
|
|
|
|
@@ -4875,6 +4925,92 @@ export type GetShotsWithVideoGqlQueryResult = Apollo.QueryResult<
|
|
|
|
|
GetShotsWithVideoGqlQuery,
|
|
|
|
|
GetShotsWithVideoGqlQueryVariables
|
|
|
|
|
>;
|
|
|
|
|
export const GetShotsWithJustIdsDocument = gql`
|
|
|
|
|
query GetShotsWithJustIds(
|
|
|
|
|
$filterInput: FilterInput!
|
|
|
|
|
$shotsOrdering: GetShotsOrdering
|
|
|
|
|
$limit: Int
|
|
|
|
|
) {
|
|
|
|
|
getOrderedShots(
|
|
|
|
|
filterInput: $filterInput
|
|
|
|
|
shotsOrdering: $shotsOrdering
|
|
|
|
|
limit: $limit
|
|
|
|
|
) {
|
|
|
|
|
shots {
|
|
|
|
|
id
|
|
|
|
|
videoId
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* __useGetShotsWithJustIdsQuery__
|
|
|
|
|
*
|
|
|
|
|
* To run a query within a React component, call `useGetShotsWithJustIdsQuery` and pass it any options that fit your needs.
|
|
|
|
|
* When your component renders, `useGetShotsWithJustIdsQuery` 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 } = useGetShotsWithJustIdsQuery({
|
|
|
|
|
* variables: {
|
|
|
|
|
* filterInput: // value for 'filterInput'
|
|
|
|
|
* shotsOrdering: // value for 'shotsOrdering'
|
|
|
|
|
* limit: // value for 'limit'
|
|
|
|
|
* },
|
|
|
|
|
* });
|
|
|
|
|
*/
|
|
|
|
|
export function useGetShotsWithJustIdsQuery(
|
|
|
|
|
baseOptions: Apollo.QueryHookOptions<
|
|
|
|
|
GetShotsWithJustIdsQuery,
|
|
|
|
|
GetShotsWithJustIdsQueryVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useQuery<
|
|
|
|
|
GetShotsWithJustIdsQuery,
|
|
|
|
|
GetShotsWithJustIdsQueryVariables
|
|
|
|
|
>(GetShotsWithJustIdsDocument, options);
|
|
|
|
|
}
|
|
|
|
|
export function useGetShotsWithJustIdsLazyQuery(
|
|
|
|
|
baseOptions?: Apollo.LazyQueryHookOptions<
|
|
|
|
|
GetShotsWithJustIdsQuery,
|
|
|
|
|
GetShotsWithJustIdsQueryVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useLazyQuery<
|
|
|
|
|
GetShotsWithJustIdsQuery,
|
|
|
|
|
GetShotsWithJustIdsQueryVariables
|
|
|
|
|
>(GetShotsWithJustIdsDocument, options);
|
|
|
|
|
}
|
|
|
|
|
export function useGetShotsWithJustIdsSuspenseQuery(
|
|
|
|
|
baseOptions?: Apollo.SuspenseQueryHookOptions<
|
|
|
|
|
GetShotsWithJustIdsQuery,
|
|
|
|
|
GetShotsWithJustIdsQueryVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useSuspenseQuery<
|
|
|
|
|
GetShotsWithJustIdsQuery,
|
|
|
|
|
GetShotsWithJustIdsQueryVariables
|
|
|
|
|
>(GetShotsWithJustIdsDocument, options);
|
|
|
|
|
}
|
|
|
|
|
export type GetShotsWithJustIdsQueryHookResult = ReturnType<
|
|
|
|
|
typeof useGetShotsWithJustIdsQuery
|
|
|
|
|
>;
|
|
|
|
|
export type GetShotsWithJustIdsLazyQueryHookResult = ReturnType<
|
|
|
|
|
typeof useGetShotsWithJustIdsLazyQuery
|
|
|
|
|
>;
|
|
|
|
|
export type GetShotsWithJustIdsSuspenseQueryHookResult = ReturnType<
|
|
|
|
|
typeof useGetShotsWithJustIdsSuspenseQuery
|
|
|
|
|
>;
|
|
|
|
|
export type GetShotsWithJustIdsQueryResult = Apollo.QueryResult<
|
|
|
|
|
GetShotsWithJustIdsQuery,
|
|
|
|
|
GetShotsWithJustIdsQueryVariables
|
|
|
|
|
>;
|
|
|
|
|
export const GetShotsWithMetadataFilterResultDocument = gql`
|
|
|
|
|
query GetShotsWithMetadataFilterResult(
|
|
|
|
|
$filterInput: FilterInput!
|
|
|
|
|