Merge pull request 'Add count to GetShotsWithJustIds operation return' (#127) from loewy/add-count-to-getshots-with-just-ids into master
Reviewed-on: #127
This commit is contained in:
commit
0120c15064
@ -3008,12 +3008,14 @@ export type GetShotsWithJustIdsQueryVariables = Exact<{
|
|||||||
filterInput: FilterInput;
|
filterInput: FilterInput;
|
||||||
shotsOrdering?: InputMaybe<GetShotsOrdering>;
|
shotsOrdering?: InputMaybe<GetShotsOrdering>;
|
||||||
limit?: InputMaybe<Scalars["Int"]["input"]>;
|
limit?: InputMaybe<Scalars["Int"]["input"]>;
|
||||||
|
countRespectsLimit?: InputMaybe<Scalars["Boolean"]["input"]>;
|
||||||
}>;
|
}>;
|
||||||
|
|
||||||
export type GetShotsWithJustIdsQuery = {
|
export type GetShotsWithJustIdsQuery = {
|
||||||
__typename?: "Query";
|
__typename?: "Query";
|
||||||
getOrderedShots: {
|
getOrderedShots: {
|
||||||
__typename?: "GetShotsResult";
|
__typename?: "GetShotsResult";
|
||||||
|
count?: number | null;
|
||||||
shots: Array<{ __typename?: "ShotGQL"; id: number; videoId: number }>;
|
shots: Array<{ __typename?: "ShotGQL"; id: number; videoId: number }>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@ -5049,12 +5051,15 @@ export const GetShotsWithJustIdsDocument = gql`
|
|||||||
$filterInput: FilterInput!
|
$filterInput: FilterInput!
|
||||||
$shotsOrdering: GetShotsOrdering
|
$shotsOrdering: GetShotsOrdering
|
||||||
$limit: Int
|
$limit: Int
|
||||||
|
$countRespectsLimit: Boolean
|
||||||
) {
|
) {
|
||||||
getOrderedShots(
|
getOrderedShots(
|
||||||
filterInput: $filterInput
|
filterInput: $filterInput
|
||||||
shotsOrdering: $shotsOrdering
|
shotsOrdering: $shotsOrdering
|
||||||
limit: $limit
|
limit: $limit
|
||||||
|
countRespectsLimit: $countRespectsLimit
|
||||||
) {
|
) {
|
||||||
|
count
|
||||||
shots {
|
shots {
|
||||||
id
|
id
|
||||||
videoId
|
videoId
|
||||||
@ -5078,6 +5083,7 @@ export const GetShotsWithJustIdsDocument = gql`
|
|||||||
* filterInput: // value for 'filterInput'
|
* filterInput: // value for 'filterInput'
|
||||||
* shotsOrdering: // value for 'shotsOrdering'
|
* shotsOrdering: // value for 'shotsOrdering'
|
||||||
* limit: // value for 'limit'
|
* limit: // value for 'limit'
|
||||||
|
* countRespectsLimit: // value for 'countRespectsLimit'
|
||||||
* },
|
* },
|
||||||
* });
|
* });
|
||||||
*/
|
*/
|
||||||
|
@ -66,12 +66,15 @@ query GetShotsWithJustIds(
|
|||||||
$filterInput: FilterInput!
|
$filterInput: FilterInput!
|
||||||
$shotsOrdering: GetShotsOrdering
|
$shotsOrdering: GetShotsOrdering
|
||||||
$limit: Int
|
$limit: Int
|
||||||
|
$countRespectsLimit: Boolean
|
||||||
) {
|
) {
|
||||||
getOrderedShots(
|
getOrderedShots(
|
||||||
filterInput: $filterInput
|
filterInput: $filterInput
|
||||||
shotsOrdering: $shotsOrdering
|
shotsOrdering: $shotsOrdering
|
||||||
limit: $limit
|
limit: $limit
|
||||||
|
countRespectsLimit: $countRespectsLimit
|
||||||
) {
|
) {
|
||||||
|
count
|
||||||
shots {
|
shots {
|
||||||
id
|
id
|
||||||
videoId
|
videoId
|
||||||
|
Loading…
Reference in New Issue
Block a user