diff --git a/src/index.tsx b/src/index.tsx index e0fec82..568edb0 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -2804,13 +2804,12 @@ export type UpdateShotAnnotationsMutation = { export type GetShotsWithVideoGqlQueryVariables = Exact<{ filterInput: FilterInput; - shotsOrdering?: InputMaybe; limit?: InputMaybe; }>; 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' * }, * }); diff --git a/src/operations/shots.gql b/src/operations/shots.gql index 27798c4..3d71420 100644 --- a/src/operations/shots.gql +++ b/src/operations/shots.gql @@ -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