Use getOrderedShots

This commit is contained in:
Ivan Malison 2024-10-19 21:27:57 -06:00
parent 72ac956758
commit 5d93f7166e
2 changed files with 9 additions and 9 deletions

View File

@ -2594,14 +2594,14 @@ export type GetShotsWithVideoGqlQuery = {
export type GetShotsWithMetadataFilterResultQueryVariables = Exact<{
filterInput: FilterInput;
shotsPagination?: InputMaybe<GetShotsPagination>;
shotsOrdering?: InputMaybe<GetShotsOrdering>;
limit?: InputMaybe<Scalars["Int"]["input"]>;
ids?: InputMaybe<Array<Scalars["Int"]["input"]> | Scalars["Int"]["input"]>;
}>;
export type GetShotsWithMetadataFilterResultQuery = {
__typename?: "Query";
getShotsWithMetadata: {
getOrderedShots: {
__typename?: "GetShotsResult";
count?: number | null;
ids: Array<number>;
@ -4167,13 +4167,13 @@ export type GetShotsWithVideoGqlQueryResult = Apollo.QueryResult<
export const GetShotsWithMetadataFilterResultDocument = gql`
query GetShotsWithMetadataFilterResult(
$filterInput: FilterInput!
$shotsPagination: GetShotsPagination
$shotsOrdering: GetShotsOrdering
$limit: Int
$ids: [Int!]
) {
getShotsWithMetadata(
getOrderedShots(
filterInput: $filterInput
shotsPagination: $shotsPagination
shotsOrdering: $shotsOrdering
limit: $limit
ids: $ids
) {
@ -4200,7 +4200,7 @@ export const GetShotsWithMetadataFilterResultDocument = gql`
* const { data, loading, error } = useGetShotsWithMetadataFilterResultQuery({
* variables: {
* filterInput: // value for 'filterInput'
* shotsPagination: // value for 'shotsPagination'
* shotsOrdering: // value for 'shotsOrdering'
* limit: // value for 'limit'
* ids: // value for 'ids'
* },

View File

@ -34,13 +34,13 @@ query GetShotsWithVideoGql($filterInput: FilterInput!, $limit: Int) {
## Reserved for playlists (which are created from a filter)
query GetShotsWithMetadataFilterResult(
$filterInput: FilterInput!
$shotsPagination: GetShotsPagination
$shotsOrdering: GetShotsOrdering
$limit: Int
$ids: [Int!]
) {
getShotsWithMetadata(
getOrderedShots(
filterInput: $filterInput
shotsPagination: $shotsPagination
shotsOrdering: $shotsOrdering
limit: $limit
ids: $ids
) {