Compare commits
No commits in common. "c0a3aa97dcf233579b58e7bc69d8c05b2487c4c6" and "51ab8320d7966d767a0e95f265d9121dfcd6ada3" have entirely different histories.
c0a3aa97dc
...
51ab8320d7
100
src/index.tsx
100
src/index.tsx
@ -2973,20 +2973,6 @@ 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>;
|
||||
@ -4895,92 +4881,6 @@ 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!
|
||||
|
@ -40,7 +40,6 @@ mutation UpdateShotAnnotations(
|
||||
}
|
||||
}
|
||||
|
||||
## Should be deprecated
|
||||
query GetShotsWithVideoGql(
|
||||
$filterInput: FilterInput!
|
||||
$shotsOrdering: GetShotsOrdering
|
||||
@ -62,23 +61,6 @@ query GetShotsWithVideoGql(
|
||||
}
|
||||
}
|
||||
|
||||
query GetShotsWithJustIds(
|
||||
$filterInput: FilterInput!
|
||||
$shotsOrdering: GetShotsOrdering
|
||||
$limit: Int
|
||||
) {
|
||||
getOrderedShots(
|
||||
filterInput: $filterInput
|
||||
shotsOrdering: $shotsOrdering
|
||||
limit: $limit
|
||||
) {
|
||||
shots {
|
||||
id
|
||||
videoId
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
## Reserved for playlists (which are created from a filter)
|
||||
query GetShotsWithMetadataFilterResult(
|
||||
$filterInput: FilterInput!
|
||||
|
Loading…
Reference in New Issue
Block a user