Revert changes to getShotsWithVideoGql #102

Closed
loewy wants to merge 1 commits from loewy/revert-get-shots-with-video-gql into master
2 changed files with 5 additions and 23 deletions
Showing only changes of commit 91a163a4b7 - Show all commits

View File

@ -2804,13 +2804,12 @@ export type UpdateShotAnnotationsMutation = {
export type GetShotsWithVideoGqlQueryVariables = Exact<{
filterInput: FilterInput;
shotsOrdering?: InputMaybe<GetShotsOrdering>;
limit?: InputMaybe<Scalars["Int"]["input"]>;
}>;
export type GetShotsWithVideoGqlQuery = {
__typename?: "Query";
getOrderedShots: {
getShotsWithMetadata: {
__typename?: "GetShotsResult";
shots: Array<{
__typename?: "ShotGQL";
@ -4498,16 +4497,8 @@ export type UpdateShotAnnotationsMutationOptions = Apollo.BaseMutationOptions<
UpdateShotAnnotationsMutationVariables
>;
export const GetShotsWithVideoGqlDocument = gql`
query GetShotsWithVideoGql(
$filterInput: FilterInput!
$shotsOrdering: GetShotsOrdering
$limit: Int
) {
getOrderedShots(
filterInput: $filterInput
shotsOrdering: $shotsOrdering
limit: $limit
) {
query GetShotsWithVideoGql($filterInput: FilterInput!, $limit: Int) {
getShotsWithMetadata(filterInput: $filterInput, limit: $limit) {
shots {
id
videoId
@ -4533,7 +4524,6 @@ export const GetShotsWithVideoGqlDocument = gql`
* const { data, loading, error } = useGetShotsWithVideoGqlQuery({
* variables: {
* filterInput: // value for 'filterInput'
* shotsOrdering: // value for 'shotsOrdering'
* limit: // value for 'limit'
* },
* });

View File

@ -40,16 +40,8 @@ mutation UpdateShotAnnotations(
}
}
query GetShotsWithVideoGql(
$filterInput: FilterInput!
$shotsOrdering: GetShotsOrdering
$limit: Int
) {
getOrderedShots(
filterInput: $filterInput
shotsOrdering: $shotsOrdering
limit: $limit
) {
query GetShotsWithVideoGql($filterInput: FilterInput!, $limit: Int) {
getShotsWithMetadata(filterInput: $filterInput, limit: $limit) {
shots {
id
videoId