@@ -35955,6 +35955,7 @@ export type FetchIssueByNumberQueryVariables = Exact<{
3595535955 owner: Scalars['String']['input'];
3595635956 name: Scalars['String']['input'];
3595735957 number: Scalars['Int']['input'];
35958+ lastComments?: InputMaybe<Scalars['Int']['input']>;
3595835959 firstLabels?: InputMaybe<Scalars['Int']['input']>;
3595935960}>;
3596035961
@@ -35975,15 +35976,18 @@ export type FetchIssueByNumberQuery = { __typename?: 'Query', repository?: { __t
3597535976
3597635977export type MilestoneFieldsFragment = { __typename?: 'Milestone', state: MilestoneState, title: string };
3597735978
35978- export type FetchPullByNumberQueryVariables = Exact<{
35979+ export type FetchPullRequestByNumberQueryVariables = Exact<{
3597935980 owner: Scalars['String']['input'];
3598035981 name: Scalars['String']['input'];
3598135982 number: Scalars['Int']['input'];
3598235983 firstLabels?: InputMaybe<Scalars['Int']['input']>;
35984+ lastComments?: InputMaybe<Scalars['Int']['input']>;
35985+ lastReviews?: InputMaybe<Scalars['Int']['input']>;
35986+ firstClosingIssues?: InputMaybe<Scalars['Int']['input']>;
3598335987}>;
3598435988
3598535989
35986- export type FetchPullByNumberQuery = { __typename?: 'Query', repository?: { __typename?: 'Repository', pullRequest?: { __typename: 'PullRequest', number: number, title: string, url: any, state: PullRequestState, merged: boolean, isDraft: boolean, isInMergeQueue: boolean, milestone?: { __typename?: 'Milestone', state: MilestoneState, title: string } | null, author?:
35990+ export type FetchPullRequestByNumberQuery = { __typename?: 'Query', repository?: { __typename?: 'Repository', pullRequest?: { __typename: 'PullRequest', number: number, title: string, url: any, state: PullRequestState, merged: boolean, isDraft: boolean, isInMergeQueue: boolean, milestone?: { __typename?: 'Milestone', state: MilestoneState, title: string } | null, author?:
3598735991 | { __typename?: 'Bot', login: string, html_url: any, avatar_url: any, type: 'Bot' }
3598835992 | { __typename?: 'EnterpriseUserAccount', login: string, html_url: any, avatar_url: any, type: 'EnterpriseUserAccount' }
3598935993 | { __typename?: 'Mannequin', login: string, html_url: any, avatar_url: any, type: 'Mannequin' }
@@ -36097,7 +36101,7 @@ fragment CommentFields on DiscussionComment {
3609736101 url
3609836102}`) as unknown as TypedDocumentString<FetchDiscussionByNumberQuery, FetchDiscussionByNumberQueryVariables>;
3609936103export const FetchIssueByNumberDocument = new TypedDocumentString(`
36100- query FetchIssueByNumber($owner: String!, $name: String!, $number: Int!, $firstLabels: Int) {
36104+ query FetchIssueByNumber($owner: String!, $name: String!, $number: Int!, $lastComments: Int, $ firstLabels: Int) {
3610136105 repository(owner: $owner, name: $name) {
3610236106 issue(number: $number) {
3610336107 __typename
@@ -36112,7 +36116,7 @@ export const FetchIssueByNumberDocument = new TypedDocumentString(`
3611236116 author {
3611336117 ...AuthorFields
3611436118 }
36115- comments(last: 1 ) {
36119+ comments(last: $lastComments ) {
3611636120 totalCount
3611736121 nodes {
3611836122 url
@@ -36139,8 +36143,8 @@ fragment MilestoneFields on Milestone {
3613936143 state
3614036144 title
3614136145}`) as unknown as TypedDocumentString<FetchIssueByNumberQuery, FetchIssueByNumberQueryVariables>;
36142- export const FetchPullByNumberDocument = new TypedDocumentString(`
36143- query FetchPullByNumber ($owner: String!, $name: String!, $number: Int!, $firstLabels: Int) {
36146+ export const FetchPullRequestByNumberDocument = new TypedDocumentString(`
36147+ query FetchPullRequestByNumber ($owner: String!, $name: String!, $number: Int!, $firstLabels: Int, $lastComments: Int, $lastReviews: Int, $firstClosingIssues : Int) {
3614436148 repository(owner: $owner, name: $name) {
3614536149 pullRequest(number: $number) {
3614636150 __typename
@@ -36157,7 +36161,7 @@ export const FetchPullByNumberDocument = new TypedDocumentString(`
3615736161 author {
3615836162 ...AuthorFields
3615936163 }
36160- comments(last: 1 ) {
36164+ comments(last: $lastComments ) {
3616136165 totalCount
3616236166 nodes {
3616336167 url
@@ -36166,7 +36170,7 @@ export const FetchPullByNumberDocument = new TypedDocumentString(`
3616636170 }
3616736171 }
3616836172 }
36169- reviews(last: 100 ) {
36173+ reviews(last: $lastReviews ) {
3617036174 totalCount
3617136175 nodes {
3617236176 state
@@ -36180,7 +36184,7 @@ export const FetchPullByNumberDocument = new TypedDocumentString(`
3618036184 name
3618136185 }
3618236186 }
36183- closingIssuesReferences(first: 50 ) {
36187+ closingIssuesReferences(first: $firstClosingIssues ) {
3618436188 nodes {
3618536189 number
3618636190 }
@@ -36197,4 +36201,4 @@ export const FetchPullByNumberDocument = new TypedDocumentString(`
3619736201fragment MilestoneFields on Milestone {
3619836202 state
3619936203 title
36200- }`) as unknown as TypedDocumentString<FetchPullByNumberQuery, FetchPullByNumberQueryVariables >;
36204+ }`) as unknown as TypedDocumentString<FetchPullRequestByNumberQuery, FetchPullRequestByNumberQueryVariables >;
0 commit comments