Compare commits

..

No commits in common. "eec79b2dc5f459c0aa1fae4f1c9f4aa6de6eff4d" and "a43b286e399f256dc0d3f4ac83c23f8d6ede9780" have entirely different histories.

2 changed files with 5 additions and 23 deletions

View File

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

View File

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