diff --git a/src/index.tsx b/src/index.tsx index 564245d..a98b735 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1574,6 +1574,8 @@ export type GetVideoMakePercentageIntervalsQuery = { export type GetShotsQueryVariables = Exact<{ filterInput: FilterInput; + shotsPagination: GetShotsPagination; + limit?: InputMaybe; includeCreatedAt?: Scalars["Boolean"]["input"]; includeUpdatedAt?: Scalars["Boolean"]["input"]; includeCueObjectFeatures?: Scalars["Boolean"]["input"]; @@ -2433,6 +2435,8 @@ export type GetVideoMakePercentageIntervalsQueryResult = Apollo.QueryResult< export const GetShotsDocument = gql` query GetShots( $filterInput: FilterInput! + $shotsPagination: GetShotsPagination! + $limit: Int $includeCreatedAt: Boolean! = false $includeUpdatedAt: Boolean! = false $includeCueObjectFeatures: Boolean! = false @@ -2445,7 +2449,11 @@ export const GetShotsDocument = gql` $includeMake: Boolean! = false $includeIntendedPocketType: Boolean! = false ) { - getShots(filterInput: $filterInput) { + getShots( + filterInput: $filterInput + shotsPagination: $shotsPagination + limit: $limit + ) { id videoId startFrame @@ -2485,6 +2493,8 @@ export const GetShotsDocument = gql` * const { data, loading, error } = useGetShotsQuery({ * variables: { * filterInput: // value for 'filterInput' + * shotsPagination: // value for 'shotsPagination' + * limit: // value for 'limit' * includeCreatedAt: // value for 'includeCreatedAt' * includeUpdatedAt: // value for 'includeUpdatedAt' * includeCueObjectFeatures: // value for 'includeCueObjectFeatures' diff --git a/src/operations/shots.gql b/src/operations/shots.gql index 1f35e88..3e2f6da 100644 --- a/src/operations/shots.gql +++ b/src/operations/shots.gql @@ -1,5 +1,7 @@ query GetShots( $filterInput: FilterInput! + $shotsPagination: GetShotsPagination! + $limit: Int $includeCreatedAt: Boolean! = false $includeUpdatedAt: Boolean! = false $includeCueObjectFeatures: Boolean! = false @@ -12,7 +14,11 @@ query GetShots( $includeMake: Boolean! = false $includeIntendedPocketType: Boolean! = false ) { - getShots(filterInput: $filterInput) { + getShots( + filterInput: $filterInput + shotsPagination: $shotsPagination + limit: $limit + ) { id videoId startFrame