Use getOrderedShots
This commit is contained in:
parent
72ac956758
commit
5d93f7166e
@ -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'
|
||||
* },
|
||||
|
@ -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
|
||||
) {
|
||||
|
Loading…
Reference in New Issue
Block a user