revert
All checks were successful
Tests / Tests (pull_request) Successful in 15s

This commit is contained in:
Loewy 2024-10-30 10:45:40 -07:00
parent 9db95c4e6c
commit 91a163a4b7
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";
@ -4498,16 +4497,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
@ -4533,7 +4524,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