Use getOrderedShots
This commit is contained in:
parent
72ac956758
commit
5d93f7166e
@ -2594,14 +2594,14 @@ export type GetShotsWithVideoGqlQuery = {
|
|||||||
|
|
||||||
export type GetShotsWithMetadataFilterResultQueryVariables = Exact<{
|
export type GetShotsWithMetadataFilterResultQueryVariables = Exact<{
|
||||||
filterInput: FilterInput;
|
filterInput: FilterInput;
|
||||||
shotsPagination?: InputMaybe<GetShotsPagination>;
|
shotsOrdering?: InputMaybe<GetShotsOrdering>;
|
||||||
limit?: InputMaybe<Scalars["Int"]["input"]>;
|
limit?: InputMaybe<Scalars["Int"]["input"]>;
|
||||||
ids?: InputMaybe<Array<Scalars["Int"]["input"]> | Scalars["Int"]["input"]>;
|
ids?: InputMaybe<Array<Scalars["Int"]["input"]> | Scalars["Int"]["input"]>;
|
||||||
}>;
|
}>;
|
||||||
|
|
||||||
export type GetShotsWithMetadataFilterResultQuery = {
|
export type GetShotsWithMetadataFilterResultQuery = {
|
||||||
__typename?: "Query";
|
__typename?: "Query";
|
||||||
getShotsWithMetadata: {
|
getOrderedShots: {
|
||||||
__typename?: "GetShotsResult";
|
__typename?: "GetShotsResult";
|
||||||
count?: number | null;
|
count?: number | null;
|
||||||
ids: Array<number>;
|
ids: Array<number>;
|
||||||
@ -4167,13 +4167,13 @@ export type GetShotsWithVideoGqlQueryResult = Apollo.QueryResult<
|
|||||||
export const GetShotsWithMetadataFilterResultDocument = gql`
|
export const GetShotsWithMetadataFilterResultDocument = gql`
|
||||||
query GetShotsWithMetadataFilterResult(
|
query GetShotsWithMetadataFilterResult(
|
||||||
$filterInput: FilterInput!
|
$filterInput: FilterInput!
|
||||||
$shotsPagination: GetShotsPagination
|
$shotsOrdering: GetShotsOrdering
|
||||||
$limit: Int
|
$limit: Int
|
||||||
$ids: [Int!]
|
$ids: [Int!]
|
||||||
) {
|
) {
|
||||||
getShotsWithMetadata(
|
getOrderedShots(
|
||||||
filterInput: $filterInput
|
filterInput: $filterInput
|
||||||
shotsPagination: $shotsPagination
|
shotsOrdering: $shotsOrdering
|
||||||
limit: $limit
|
limit: $limit
|
||||||
ids: $ids
|
ids: $ids
|
||||||
) {
|
) {
|
||||||
@ -4200,7 +4200,7 @@ export const GetShotsWithMetadataFilterResultDocument = gql`
|
|||||||
* const { data, loading, error } = useGetShotsWithMetadataFilterResultQuery({
|
* const { data, loading, error } = useGetShotsWithMetadataFilterResultQuery({
|
||||||
* variables: {
|
* variables: {
|
||||||
* filterInput: // value for 'filterInput'
|
* filterInput: // value for 'filterInput'
|
||||||
* shotsPagination: // value for 'shotsPagination'
|
* shotsOrdering: // value for 'shotsOrdering'
|
||||||
* limit: // value for 'limit'
|
* limit: // value for 'limit'
|
||||||
* ids: // value for 'ids'
|
* ids: // value for 'ids'
|
||||||
* },
|
* },
|
||||||
|
@ -34,13 +34,13 @@ query GetShotsWithVideoGql($filterInput: FilterInput!, $limit: Int) {
|
|||||||
## Reserved for playlists (which are created from a filter)
|
## Reserved for playlists (which are created from a filter)
|
||||||
query GetShotsWithMetadataFilterResult(
|
query GetShotsWithMetadataFilterResult(
|
||||||
$filterInput: FilterInput!
|
$filterInput: FilterInput!
|
||||||
$shotsPagination: GetShotsPagination
|
$shotsOrdering: GetShotsOrdering
|
||||||
$limit: Int
|
$limit: Int
|
||||||
$ids: [Int!]
|
$ids: [Int!]
|
||||||
) {
|
) {
|
||||||
getShotsWithMetadata(
|
getOrderedShots(
|
||||||
filterInput: $filterInput
|
filterInput: $filterInput
|
||||||
shotsPagination: $shotsPagination
|
shotsOrdering: $shotsOrdering
|
||||||
limit: $limit
|
limit: $limit
|
||||||
ids: $ids
|
ids: $ids
|
||||||
) {
|
) {
|
||||||
|
Loading…
Reference in New Issue
Block a user