@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 04:45 UTC

main
ts 1,041 lines 44.4 KB
Raw
1 // Generated by @effect/graphql-generator from issues.graphql. Do not edit.
2 import { GraphQL, GraphQLGroup } from "effect/graphql"
3 import * as Schema from "effect/Schema"
4 import * as Shared from "../../schema/github.graphql.ts"
5
6 /** A user is an individual's account on GitHub that owns repositories and can make new content. */
7 export const AuthorUser = Schema.Struct({
8 __typename: Schema.Literal("User"),
9 /** The username used to login. */
10 login: Schema.String,
11 /** A URL pointing to the user's public avatar. */
12 avatarUrl: Shared.URI,
13 /** The user's public profile name. */
14 name: Schema.NullOr(Schema.String)
15 })
16 export interface AuthorUser extends Schema.Struct.Type<typeof AuthorUser.fields> {}
17
18 /** Represents an object which can take actions on GitHub. Typically a User or Bot. */
19 export const ActorOther = Schema.Struct({
20 __typename: GraphQL.otherTypename<Shared.Typename.Actor>()(["User"]),
21 /** The username of the actor. */
22 login: Schema.String,
23 /** A URL pointing to the actor's public avatar. */
24 avatarUrl: Shared.URI
25 })
26 export interface ActorOther extends Schema.Struct.Type<typeof ActorOther.fields> {}
27
28 /**
29 * `fragment IssueRow on Issue`
30 *
31 * An Issue is a place to discuss ideas, enhancements, tasks, and bugs for a project.
32 */
33 export const IssueRow = Schema.Struct({
34 /** Identifies the issue number. */
35 number: Shared.Int,
36 /** Identifies the issue title. */
37 title: Schema.String,
38 /** The HTTP URL for this issue */
39 url: Shared.URI,
40 /** Identifies the state of the issue. */
41 state: GraphQL.enumLiterals(Shared.IssueState.literals),
42 /** Identifies the reason for the issue state. */
43 stateReason: Schema.NullOr(GraphQL.enumLiterals(Shared.IssueStateReason.literals)),
44 /** Identifies the date and time when the object was created. */
45 createdAt: Shared.DateTime,
46 /** Identifies the date and time when the object was last updated. */
47 updatedAt: Shared.DateTime,
48 /** Identifies the date and time when the object was closed. */
49 closedAt: Schema.NullOr(Shared.DateTime),
50 /** The actor who authored the comment. */
51 author: Schema.NullOr(Schema.Union([
52 AuthorUser,
53 ActorOther
54 ]))
55 })
56 export interface IssueRow extends Schema.Struct.Type<typeof IssueRow.fields> {}
57
58 /** Information about pagination in a connection. */
59 export const SearchPageInfoPageInfo = Schema.Struct({
60 /** When paginating forwards, are there more items? */
61 hasNextPage: Schema.Boolean,
62 /** When paginating forwards, the cursor to continue. */
63 endCursor: Schema.NullOr(Schema.String)
64 })
65 export interface SearchPageInfoPageInfo extends Schema.Struct.Type<typeof SearchPageInfoPageInfo.fields> {}
66
67 /** A user is an individual's account on GitHub that owns repositories and can make new content. */
68 export const AssigneesNodesUser = Schema.Struct({
69 /** The username used to login. */
70 login: Schema.String,
71 /** The user's public profile name. */
72 name: Schema.NullOr(Schema.String),
73 /** A URL pointing to the user's public avatar. */
74 avatarUrl: Shared.URI
75 })
76 export interface AssigneesNodesUser extends Schema.Struct.Type<typeof AssigneesNodesUser.fields> {}
77
78 /** A list of users. */
79 export const NodesAssigneesUserConnection = Schema.Struct({
80 /** A list of nodes. */
81 nodes: Schema.NullOr(Schema.Array(Schema.NullOr(AssigneesNodesUser)))
82 })
83 export interface NodesAssigneesUserConnection extends Schema.Struct.Type<typeof NodesAssigneesUserConnection.fields> {}
84
85 /** A label for categorizing Issues, Pull Requests, Milestones, or Discussions with a given Repository. */
86 export const NodesLabelsNodesLabel = Schema.Struct({
87 /** Identifies the label name. */
88 name: Schema.String,
89 /** Identifies the label color. */
90 color: Schema.String
91 })
92 export interface NodesLabelsNodesLabel extends Schema.Struct.Type<typeof NodesLabelsNodesLabel.fields> {}
93
94 /** The connection type for Label. */
95 export const NodesLabelsLabelConnection = Schema.Struct({
96 /** A list of nodes. */
97 nodes: Schema.NullOr(Schema.Array(Schema.NullOr(NodesLabelsNodesLabel)))
98 })
99 export interface NodesLabelsLabelConnection extends Schema.Struct.Type<typeof NodesLabelsLabelConnection.fields> {}
100
101 /** The connection type for IssueComment. */
102 export const NodesCommentsIssueCommentConnection = Schema.Struct({
103 /** Identifies the total count of items in the connection. */
104 totalCount: Shared.Int
105 })
106 export interface NodesCommentsIssueCommentConnection extends Schema.Struct.Type<typeof NodesCommentsIssueCommentConnection.fields> {}
107
108 /** An Issue is a place to discuss ideas, enhancements, tasks, and bugs for a project. */
109 export const NodesIssue = Schema.Struct({
110 __typename: Schema.Literal("Issue"),
111 ...IssueRow.fields,
112 /** A list of Users assigned to this object. */
113 assignees: NodesAssigneesUserConnection,
114 /** A list of labels associated with the object. */
115 labels: Schema.NullOr(NodesLabelsLabelConnection),
116 /** A list of comments associated with the Issue. */
117 comments: NodesCommentsIssueCommentConnection
118 })
119 export interface NodesIssue extends Schema.Struct.Type<typeof NodesIssue.fields> {}
120
121 /** The results of a search. */
122 export const SearchResultItemOther = Schema.Struct({
123 __typename: GraphQL.otherTypename<Shared.Typename.SearchResultItem>()(["Issue"])
124 })
125 export interface SearchResultItemOther extends Schema.Struct.Type<typeof SearchResultItemOther.fields> {}
126
127 /**
128 * A list of results that matched against a search query. Regardless of the number
129 * of matches, a maximum of 1,000 results will be available across all types,
130 * potentially split across many pages.
131 */
132 export const SearchResultItemConnection = Schema.Struct({
133 /** Information to aid in pagination. */
134 pageInfo: SearchPageInfoPageInfo,
135 /** A list of nodes. */
136 nodes: Schema.NullOr(Schema.Array(Schema.NullOr(Schema.Union([
137 NodesIssue,
138 SearchResultItemOther
139 ]))))
140 })
141 export interface SearchResultItemConnection extends Schema.Struct.Type<typeof SearchResultItemConnection.fields> {}
142
143 /** `query IssueSearch` */
144 export const IssueSearch = GraphQL.query("IssueSearch", {
145 document: {
146 variables: [
147 { name: "q", body: "String!" },
148 { name: "cursor", body: "String" },
149 { name: "rows", body: "Int!" }
150 ],
151 selections: [
152 { name: "search", body: ["(query:$", "q", " type:ISSUE first:$", "rows", " after:$", "cursor", "){pageInfo{hasNextPage endCursor}nodes{__typename...on Issue{...IssueRow assignees(first:20){nodes{login name avatarUrl}}labels(first:20){nodes{name color}}comments{totalCount}}}}"] }
153 ],
154 fragments: [
155 { name: "IssueRow", body: ["on Issue{number title url state stateReason createdAt updatedAt closedAt author{__typename login avatarUrl...on User{name}}}"] }
156 ]
157 },
158 variables: {
159 q: Schema.String,
160 cursor: Schema.optional(Schema.NullOr(Schema.String)),
161 rows: Shared.Int
162 },
163 result: Schema.Struct({
164 /** Perform a search across resources, returning a maximum of 1,000 results. */
165 search: SearchResultItemConnection
166 })
167 })
168 export declare namespace IssueSearch {
169 export type Variables = typeof IssueSearch.variables.Type
170 export type Result = typeof IssueSearch.result.Type
171 }
172
173 /** A user is an individual's account on GitHub that owns repositories and can make new content. */
174 export const ViewerUser = Schema.Struct({
175 /** The username used to login. */
176 login: Schema.String
177 })
178 export interface ViewerUser extends Schema.Struct.Type<typeof ViewerUser.fields> {}
179
180 /** A list of users. */
181 export const IssueAssigneesUserConnection = Schema.Struct({
182 /** Information to aid in pagination. */
183 pageInfo: SearchPageInfoPageInfo,
184 /** A list of nodes. */
185 nodes: Schema.NullOr(Schema.Array(Schema.NullOr(AssigneesNodesUser)))
186 })
187 export interface IssueAssigneesUserConnection extends Schema.Struct.Type<typeof IssueAssigneesUserConnection.fields> {}
188
189 /** The connection type for Label. */
190 export const IssueLabelsLabelConnection = Schema.Struct({
191 /** Information to aid in pagination. */
192 pageInfo: SearchPageInfoPageInfo,
193 /** A list of nodes. */
194 nodes: Schema.NullOr(Schema.Array(Schema.NullOr(NodesLabelsNodesLabel)))
195 })
196 export interface IssueLabelsLabelConnection extends Schema.Struct.Type<typeof IssueLabelsLabelConnection.fields> {}
197
198 /** A user is an individual's account on GitHub that owns repositories and can make new content. */
199 export const ReactorsNodesUser = Schema.Struct({
200 __typename: Schema.Literal("User"),
201 /** The username used to login. */
202 login: Schema.String
203 })
204 export interface ReactorsNodesUser extends Schema.Struct.Type<typeof ReactorsNodesUser.fields> {}
205
206 /** A special type of user which takes actions on behalf of GitHub Apps. */
207 export const Bot = Schema.Struct({
208 __typename: Schema.Literal("Bot"),
209 /** The username of the actor. */
210 login: Schema.String
211 })
212 export interface Bot extends Schema.Struct.Type<typeof Bot.fields> {}
213
214 /** An account on GitHub, with one or more owners, that has repositories, members and teams. */
215 export const Organization = Schema.Struct({
216 __typename: Schema.Literal("Organization"),
217 /** The organization's login name. */
218 login: Schema.String
219 })
220 export interface Organization extends Schema.Struct.Type<typeof Organization.fields> {}
221
222 /** A placeholder user for attribution of imported data on GitHub. */
223 export const Mannequin = Schema.Struct({
224 __typename: Schema.Literal("Mannequin"),
225 /** The username of the actor. */
226 login: Schema.String
227 })
228 export interface Mannequin extends Schema.Struct.Type<typeof Mannequin.fields> {}
229
230 /** Types that can be assigned to reactions. */
231 export const ReactorOther = Schema.Struct({
232 __typename: GraphQL.otherTypename<Shared.Typename.Reactor>()(["User", "Bot", "Organization", "Mannequin"])
233 })
234 export interface ReactorOther extends Schema.Struct.Type<typeof ReactorOther.fields> {}
235
236 /** The connection type for Reactor. */
237 export const ReactorConnection = Schema.Struct({
238 /** Identifies the total count of items in the connection. */
239 totalCount: Shared.Int,
240 /** A list of nodes. */
241 nodes: Schema.NullOr(Schema.Array(Schema.NullOr(Schema.Union([
242 ReactorsNodesUser,
243 Bot,
244 Organization,
245 Mannequin,
246 ReactorOther
247 ]))))
248 })
249 export interface ReactorConnection extends Schema.Struct.Type<typeof ReactorConnection.fields> {}
250
251 /** A group of emoji reactions to a particular piece of content. */
252 export const ReactionGroup = Schema.Struct({
253 /** Identifies the emoji reaction. */
254 content: GraphQL.enumLiterals(Shared.ReactionContent.literals),
255 /** Whether or not the authenticated user has left a reaction on the subject. */
256 viewerHasReacted: Schema.Boolean,
257 /** Reactors to the reaction subject with the emotion represented by this reaction group. */
258 reactors: ReactorConnection
259 })
260 export interface ReactionGroup extends Schema.Struct.Type<typeof ReactionGroup.fields> {}
261
262 /** Information about pagination in a connection. */
263 export const CommentsPageInfoPageInfo = Schema.Struct({
264 /** When paginating backwards, are there more items? */
265 hasPreviousPage: Schema.Boolean,
266 /** When paginating backwards, the cursor to continue. */
267 startCursor: Schema.NullOr(Schema.String)
268 })
269 export interface CommentsPageInfoPageInfo extends Schema.Struct.Type<typeof CommentsPageInfoPageInfo.fields> {}
270
271 /** Represents an object which can take actions on GitHub. Typically a User or Bot. */
272 export const Actor = Schema.Struct({
273 __typename: GraphQL.otherTypename<Shared.Typename.Actor>()([]),
274 /** The username of the actor. */
275 login: Schema.String,
276 /** A URL pointing to the actor's public avatar. */
277 avatarUrl: Shared.URI
278 })
279 export interface Actor extends Schema.Struct.Type<typeof Actor.fields> {}
280
281 /** Represents a comment on an Issue. */
282 export const NodesIssueComment = Schema.Struct({
283 /** The Node ID of the IssueComment object */
284 id: Shared.ID,
285 /** The actor who authored the comment. */
286 author: Schema.NullOr(Actor),
287 /** The body as Markdown. */
288 body: Schema.String,
289 /** Identifies the date and time when the object was created. */
290 createdAt: Shared.DateTime,
291 /** The HTTP URL for this issue comment */
292 url: Shared.URI,
293 /** A list of reactions grouped by content left on the subject. */
294 reactionGroups: Schema.NullOr(Schema.Array(ReactionGroup))
295 })
296 export interface NodesIssueComment extends Schema.Struct.Type<typeof NodesIssueComment.fields> {}
297
298 /** The connection type for IssueComment. */
299 export const IssueDetailRepositoryIssueCommentsIssueCommentConnection = Schema.Struct({
300 /** Identifies the total count of items in the connection. */
301 totalCount: Shared.Int,
302 /** Information to aid in pagination. */
303 pageInfo: CommentsPageInfoPageInfo,
304 /** A list of nodes. */
305 nodes: Schema.NullOr(Schema.Array(Schema.NullOr(NodesIssueComment)))
306 })
307 export interface IssueDetailRepositoryIssueCommentsIssueCommentConnection extends Schema.Struct.Type<typeof IssueDetailRepositoryIssueCommentsIssueCommentConnection.fields> {}
308
309 /** A repository contains the content for a project. */
310 export const NodesRepositoryRepository = Schema.Struct({
311 /** The repository's name with owner. */
312 nameWithOwner: Schema.String
313 })
314 export interface NodesRepositoryRepository extends Schema.Struct.Type<typeof NodesRepositoryRepository.fields> {}
315
316 /** A repository pull request. */
317 export const NodesPullRequest = Schema.Struct({
318 /** Identifies the pull request number. */
319 number: Shared.Int,
320 /** Identifies the pull request title. */
321 title: Schema.String,
322 /** The HTTP URL for this pull request. */
323 url: Shared.URI,
324 /** Identifies the state of the pull request. */
325 state: GraphQL.enumLiterals(Shared.PullRequestState.literals),
326 /** Identifies if the pull request is a draft. */
327 isDraft: Schema.Boolean,
328 /** The repository associated with this node. */
329 repository: NodesRepositoryRepository
330 })
331 export interface NodesPullRequest extends Schema.Struct.Type<typeof NodesPullRequest.fields> {}
332
333 /** The connection type for PullRequest. */
334 export const PullRequestConnection = Schema.Struct({
335 /** Information to aid in pagination. */
336 pageInfo: SearchPageInfoPageInfo,
337 /** A list of nodes. */
338 nodes: Schema.NullOr(Schema.Array(Schema.NullOr(NodesPullRequest)))
339 })
340 export interface PullRequestConnection extends Schema.Struct.Type<typeof PullRequestConnection.fields> {}
341
342 /** Represents a 'closed' event on any `Closable`. */
343 export const ClosedEvent = Schema.Struct({
344 __typename: Schema.Literal("ClosedEvent"),
345 /** The Node ID of the ClosedEvent object */
346 id: Shared.ID,
347 /** Identifies the date and time when the object was created. */
348 createdAt: Shared.DateTime,
349 /** Identifies the actor who performed the event. */
350 actor: Schema.NullOr(Actor)
351 })
352 export interface ClosedEvent extends Schema.Struct.Type<typeof ClosedEvent.fields> {}
353
354 /** Represents a 'reopened' event on any `Closable`. */
355 export const ReopenedEvent = Schema.Struct({
356 __typename: Schema.Literal("ReopenedEvent"),
357 /** The Node ID of the ReopenedEvent object */
358 id: Shared.ID,
359 /** Identifies the date and time when the object was created. */
360 createdAt: Shared.DateTime,
361 /** Identifies the actor who performed the event. */
362 actor: Schema.NullOr(Actor)
363 })
364 export interface ReopenedEvent extends Schema.Struct.Type<typeof ReopenedEvent.fields> {}
365
366 /** A label for categorizing Issues, Pull Requests, Milestones, or Discussions with a given Repository. */
367 export const LabelLabel = Schema.Struct({
368 /** Identifies the label name. */
369 name: Schema.String
370 })
371 export interface LabelLabel extends Schema.Struct.Type<typeof LabelLabel.fields> {}
372
373 /** Represents a 'labeled' event on a given issue or pull request. */
374 export const LabeledEvent = Schema.Struct({
375 __typename: Schema.Literal("LabeledEvent"),
376 /** The Node ID of the LabeledEvent object */
377 id: Shared.ID,
378 /** Identifies the date and time when the object was created. */
379 createdAt: Shared.DateTime,
380 /** Identifies the actor who performed the event. */
381 actor: Schema.NullOr(Actor),
382 /** Identifies the label associated with the 'labeled' event. */
383 label: LabelLabel
384 })
385 export interface LabeledEvent extends Schema.Struct.Type<typeof LabeledEvent.fields> {}
386
387 /** Represents an 'unlabeled' event on a given issue or pull request. */
388 export const UnlabeledEvent = Schema.Struct({
389 __typename: Schema.Literal("UnlabeledEvent"),
390 /** The Node ID of the UnlabeledEvent object */
391 id: Shared.ID,
392 /** Identifies the date and time when the object was created. */
393 createdAt: Shared.DateTime,
394 /** Identifies the actor who performed the event. */
395 actor: Schema.NullOr(Actor),
396 /** Identifies the label associated with the 'unlabeled' event. */
397 label: LabelLabel
398 })
399 export interface UnlabeledEvent extends Schema.Struct.Type<typeof UnlabeledEvent.fields> {}
400
401 /** A user is an individual's account on GitHub that owns repositories and can make new content. */
402 export const AssigneeUser = Schema.Struct({
403 __typename: Schema.Literal("User"),
404 /** The username used to login. */
405 login: Schema.String,
406 /** The user's public profile name. */
407 name: Schema.NullOr(Schema.String)
408 })
409 export interface AssigneeUser extends Schema.Struct.Type<typeof AssigneeUser.fields> {}
410
411 /** Types that can be assigned to issues. */
412 export const AssigneeOther = Schema.Struct({
413 __typename: GraphQL.otherTypename<Shared.Typename.Assignee>()(["User", "Bot"])
414 })
415 export interface AssigneeOther extends Schema.Struct.Type<typeof AssigneeOther.fields> {}
416
417 /** Represents an 'assigned' event on any assignable object. */
418 export const AssignedEvent = Schema.Struct({
419 __typename: Schema.Literal("AssignedEvent"),
420 /** The Node ID of the AssignedEvent object */
421 id: Shared.ID,
422 /** Identifies the date and time when the object was created. */
423 createdAt: Shared.DateTime,
424 /** Identifies the actor who performed the event. */
425 actor: Schema.NullOr(Actor),
426 /** Identifies the user or mannequin that was assigned. */
427 assignee: Schema.NullOr(Schema.Union([
428 AssigneeUser,
429 Bot,
430 AssigneeOther
431 ]))
432 })
433 export interface AssignedEvent extends Schema.Struct.Type<typeof AssignedEvent.fields> {}
434
435 /** Represents an 'unassigned' event on any assignable object. */
436 export const UnassignedEvent = Schema.Struct({
437 __typename: Schema.Literal("UnassignedEvent"),
438 /** The Node ID of the UnassignedEvent object */
439 id: Shared.ID,
440 /** Identifies the date and time when the object was created. */
441 createdAt: Shared.DateTime,
442 /** Identifies the actor who performed the event. */
443 actor: Schema.NullOr(Actor),
444 /** Identifies the user or mannequin that was unassigned. */
445 assignee: Schema.NullOr(Schema.Union([
446 AssigneeUser,
447 Bot,
448 AssigneeOther
449 ]))
450 })
451 export interface UnassignedEvent extends Schema.Struct.Type<typeof UnassignedEvent.fields> {}
452
453 /** Represents a 'renamed' event on a given issue or pull request */
454 export const RenamedTitleEvent = Schema.Struct({
455 __typename: Schema.Literal("RenamedTitleEvent"),
456 /** The Node ID of the RenamedTitleEvent object */
457 id: Shared.ID,
458 /** Identifies the date and time when the object was created. */
459 createdAt: Shared.DateTime,
460 /** Identifies the actor who performed the event. */
461 actor: Schema.NullOr(Actor),
462 /** Identifies the current title of the issue or pull request. */
463 currentTitle: Schema.String
464 })
465 export interface RenamedTitleEvent extends Schema.Struct.Type<typeof RenamedTitleEvent.fields> {}
466
467 /** A repository pull request. */
468 export const SourcePullRequest = Schema.Struct({
469 __typename: Schema.Literal("PullRequest"),
470 /** Identifies the pull request number. */
471 number: Shared.Int,
472 /** Identifies the pull request title. */
473 title: Schema.String,
474 /** The HTTP URL for this pull request. */
475 url: Shared.URI,
476 /** Identifies the state of the pull request. */
477 state: GraphQL.enumLiterals(Shared.PullRequestState.literals),
478 /** Identifies if the pull request is a draft. */
479 isDraft: Schema.Boolean,
480 /** The repository associated with this node. */
481 repository: NodesRepositoryRepository
482 })
483 export interface SourcePullRequest extends Schema.Struct.Type<typeof SourcePullRequest.fields> {}
484
485 /** An Issue is a place to discuss ideas, enhancements, tasks, and bugs for a project. */
486 export const SourceIssue = Schema.Struct({
487 __typename: Schema.Literal("Issue"),
488 /** Identifies the issue number. */
489 number: Shared.Int,
490 /** The repository associated with this node. */
491 repository: NodesRepositoryRepository
492 })
493 export interface SourceIssue extends Schema.Struct.Type<typeof SourceIssue.fields> {}
494
495 /** Any referencable object */
496 export const ReferencedSubjectOther = Schema.Struct({
497 __typename: GraphQL.otherTypename<Shared.Typename.ReferencedSubject>()(["PullRequest", "Issue"])
498 })
499 export interface ReferencedSubjectOther extends Schema.Struct.Type<typeof ReferencedSubjectOther.fields> {}
500
501 /** Represents a mention made by one issue or pull request to another. */
502 export const CrossReferencedEvent = Schema.Struct({
503 __typename: Schema.Literal("CrossReferencedEvent"),
504 /** The Node ID of the CrossReferencedEvent object */
505 id: Shared.ID,
506 /** Identifies the date and time when the object was created. */
507 createdAt: Shared.DateTime,
508 /** Identifies the actor who performed the event. */
509 actor: Schema.NullOr(Actor),
510 /** Issue or pull request that made the reference. */
511 source: Schema.Union([
512 SourcePullRequest,
513 SourceIssue,
514 ReferencedSubjectOther
515 ])
516 })
517 export interface CrossReferencedEvent extends Schema.Struct.Type<typeof CrossReferencedEvent.fields> {}
518
519 /** An item in an issue timeline */
520 export const IssueTimelineItemsOther = Schema.Struct({
521 __typename: GraphQL.otherTypename<Shared.Typename.IssueTimelineItems>()(["ClosedEvent", "ReopenedEvent", "LabeledEvent", "UnlabeledEvent", "AssignedEvent", "UnassignedEvent", "RenamedTitleEvent", "CrossReferencedEvent"])
522 })
523 export interface IssueTimelineItemsOther extends Schema.Struct.Type<typeof IssueTimelineItemsOther.fields> {}
524
525 /** The connection type for IssueTimelineItems. */
526 export const IssueTimelineItemsConnection = Schema.Struct({
527 /** A list of nodes. */
528 nodes: Schema.NullOr(Schema.Array(Schema.NullOr(Schema.Union([
529 ClosedEvent,
530 ReopenedEvent,
531 LabeledEvent,
532 UnlabeledEvent,
533 AssignedEvent,
534 UnassignedEvent,
535 RenamedTitleEvent,
536 CrossReferencedEvent,
537 IssueTimelineItemsOther
538 ]))))
539 })
540 export interface IssueTimelineItemsConnection extends Schema.Struct.Type<typeof IssueTimelineItemsConnection.fields> {}
541
542 /** An Issue is a place to discuss ideas, enhancements, tasks, and bugs for a project. */
543 export const IssueDetailRepositoryIssueIssue = Schema.Struct({
544 ...IssueRow.fields,
545 /** A list of Users assigned to this object. */
546 assignees: IssueAssigneesUserConnection,
547 /** A list of labels associated with the object. */
548 labels: Schema.NullOr(IssueLabelsLabelConnection),
549 /** Identifies the body of the issue. */
550 body: Schema.String,
551 /** Check if the current viewer can update this object. */
552 viewerCanUpdate: Schema.Boolean,
553 /** Indicates if the object can be closed by the viewer. */
554 viewerCanClose: Schema.Boolean,
555 /** Indicates if the object can be reopened by the viewer. */
556 viewerCanReopen: Schema.Boolean,
557 /** A list of reactions grouped by content left on the subject. */
558 reactionGroups: Schema.NullOr(Schema.Array(ReactionGroup)),
559 /** A list of comments associated with the Issue. */
560 comments: IssueDetailRepositoryIssueCommentsIssueCommentConnection,
561 /** List of open pull requests referenced from this issue */
562 closedByPullRequestsReferences: Schema.NullOr(PullRequestConnection),
563 /** A list of events, comments, commits, etc. associated with the issue. */
564 timelineItems: IssueTimelineItemsConnection
565 })
566 export interface IssueDetailRepositoryIssueIssue extends Schema.Struct.Type<typeof IssueDetailRepositoryIssueIssue.fields> {}
567
568 /** A repository contains the content for a project. */
569 export const IssueDetailRepositoryRepository = Schema.Struct({
570 /** The users permission level on the repository. Will return null if authenticated as an GitHub App. */
571 viewerPermission: Schema.NullOr(GraphQL.enumLiterals(Shared.RepositoryPermission.literals)),
572 /** Returns a single issue from the current repository by number. */
573 issue: Schema.NullOr(IssueDetailRepositoryIssueIssue)
574 })
575 export interface IssueDetailRepositoryRepository extends Schema.Struct.Type<typeof IssueDetailRepositoryRepository.fields> {}
576
577 /** `query IssueDetail` */
578 export const IssueDetail = GraphQL.query("IssueDetail", {
579 document: {
580 variables: [
581 { name: "owner", body: "String!" },
582 { name: "name", body: "String!" },
583 { name: "number", body: "Int!" }
584 ],
585 selections: [
586 { name: "viewer", body: ["{login}"] },
587 { name: "repository", body: ["(owner:$", "owner", " name:$", "name", "){viewerPermission issue(number:$", "number", "){...IssueRow assignees(first:100){pageInfo{hasNextPage endCursor}nodes{login name avatarUrl}}labels(first:100){pageInfo{hasNextPage endCursor}nodes{name color}}body viewerCanUpdate viewerCanClose viewerCanReopen...Reactions comments(last:100){totalCount pageInfo{hasPreviousPage startCursor}nodes{id author{__typename login avatarUrl}body createdAt url...Reactions}}closedByPullRequestsReferences(first:20 includeClosedPrs:true){pageInfo{hasNextPage endCursor}nodes{number title url state isDraft repository{nameWithOwner}}}timelineItems(last:100 itemTypes:[CLOSED_EVENT REOPENED_EVENT LABELED_EVENT UNLABELED_EVENT ASSIGNED_EVENT UNASSIGNED_EVENT RENAMED_TITLE_EVENT CROSS_REFERENCED_EVENT]){nodes{__typename...on ClosedEvent{id createdAt actor{__typename login avatarUrl}}...on ReopenedEvent{id createdAt actor{__typename login avatarUrl}}...on LabeledEvent{id createdAt actor{__typename login avatarUrl}label{name}}...on UnlabeledEvent{id createdAt actor{__typename login avatarUrl}label{name}}...on AssignedEvent{id createdAt actor{__typename login avatarUrl}assignee{__typename...on User{login name}...on Bot{login}}}...on UnassignedEvent{id createdAt actor{__typename login avatarUrl}assignee{__typename...on User{login name}...on Bot{login}}}...on RenamedTitleEvent{id createdAt actor{__typename login avatarUrl}currentTitle}...on CrossReferencedEvent{id createdAt actor{__typename login avatarUrl}source{__typename...on PullRequest{number title url state isDraft repository{nameWithOwner}}...on Issue{number repository{nameWithOwner}}}}}}}}"] }
588 ],
589 fragments: [
590 { name: "IssueRow", body: ["on Issue{number title url state stateReason createdAt updatedAt closedAt author{__typename login avatarUrl...on User{name}}}"] },
591 { name: "Reactions", body: ["on Reactable{__typename reactionGroups{content viewerHasReacted reactors(first:10){totalCount nodes{__typename...on User{login}...on Bot{login}...on Organization{login}...on Mannequin{login}}}}}"] }
592 ]
593 },
594 variables: {
595 owner: Schema.String,
596 name: Schema.String,
597 number: Shared.Int
598 },
599 result: Schema.Struct({
600 /** The currently authenticated user. */
601 viewer: ViewerUser,
602 /** Lookup a given repository by the owner and repository name. */
603 repository: Schema.NullOr(IssueDetailRepositoryRepository)
604 })
605 })
606 export declare namespace IssueDetail {
607 export type Variables = typeof IssueDetail.variables.Type
608 export type Result = typeof IssueDetail.result.Type
609 }
610
611 /** The connection type for IssueComment. */
612 export const IssueCommentsRepositoryIssueCommentsIssueCommentConnection = Schema.Struct({
613 /** Information to aid in pagination. */
614 pageInfo: CommentsPageInfoPageInfo,
615 /** A list of nodes. */
616 nodes: Schema.NullOr(Schema.Array(Schema.NullOr(NodesIssueComment)))
617 })
618 export interface IssueCommentsRepositoryIssueCommentsIssueCommentConnection extends Schema.Struct.Type<typeof IssueCommentsRepositoryIssueCommentsIssueCommentConnection.fields> {}
619
620 /** An Issue is a place to discuss ideas, enhancements, tasks, and bugs for a project. */
621 export const IssueCommentsRepositoryIssueIssue = Schema.Struct({
622 /** A list of comments associated with the Issue. */
623 comments: IssueCommentsRepositoryIssueCommentsIssueCommentConnection
624 })
625 export interface IssueCommentsRepositoryIssueIssue extends Schema.Struct.Type<typeof IssueCommentsRepositoryIssueIssue.fields> {}
626
627 /** A repository contains the content for a project. */
628 export const IssueCommentsRepositoryRepository = Schema.Struct({
629 /** Returns a single issue from the current repository by number. */
630 issue: Schema.NullOr(IssueCommentsRepositoryIssueIssue)
631 })
632 export interface IssueCommentsRepositoryRepository extends Schema.Struct.Type<typeof IssueCommentsRepositoryRepository.fields> {}
633
634 /** `query IssueComments` */
635 export const IssueComments = GraphQL.query("IssueComments", {
636 document: {
637 variables: [
638 { name: "owner", body: "String!" },
639 { name: "name", body: "String!" },
640 { name: "number", body: "Int!" },
641 { name: "cursor", body: "String!" }
642 ],
643 selections: [
644 { name: "viewer", body: ["{login}"] },
645 { name: "repository", body: ["(owner:$", "owner", " name:$", "name", "){issue(number:$", "number", "){comments(last:100 before:$", "cursor", "){pageInfo{hasPreviousPage startCursor}nodes{id author{__typename login avatarUrl}body createdAt url...Reactions}}}}"] }
646 ],
647 fragments: [
648 { name: "Reactions", body: ["on Reactable{__typename reactionGroups{content viewerHasReacted reactors(first:10){totalCount nodes{__typename...on User{login}...on Bot{login}...on Organization{login}...on Mannequin{login}}}}}"] }
649 ]
650 },
651 variables: {
652 owner: Schema.String,
653 name: Schema.String,
654 number: Shared.Int,
655 cursor: Schema.String
656 },
657 result: Schema.Struct({
658 /** The currently authenticated user. */
659 viewer: ViewerUser,
660 /** Lookup a given repository by the owner and repository name. */
661 repository: Schema.NullOr(IssueCommentsRepositoryRepository)
662 })
663 })
664 export declare namespace IssueComments {
665 export type Variables = typeof IssueComments.variables.Type
666 export type Result = typeof IssueComments.result.Type
667 }
668
669 /** An Issue is a place to discuss ideas, enhancements, tasks, and bugs for a project. */
670 export const IssueNodeIdRepositoryIssueIssue = Schema.Struct({
671 /** The Node ID of the Issue object */
672 id: Shared.ID,
673 /** Identifies the state of the issue. */
674 state: GraphQL.enumLiterals(Shared.IssueState.literals),
675 /** Identifies the reason for the issue state. */
676 stateReason: Schema.NullOr(GraphQL.enumLiterals(Shared.IssueStateReason.literals))
677 })
678 export interface IssueNodeIdRepositoryIssueIssue extends Schema.Struct.Type<typeof IssueNodeIdRepositoryIssueIssue.fields> {}
679
680 /** A repository contains the content for a project. */
681 export const IssueNodeIdRepositoryRepository = Schema.Struct({
682 /** Returns a single issue from the current repository by number. */
683 issue: Schema.NullOr(IssueNodeIdRepositoryIssueIssue)
684 })
685 export interface IssueNodeIdRepositoryRepository extends Schema.Struct.Type<typeof IssueNodeIdRepositoryRepository.fields> {}
686
687 /** `query IssueNodeId` */
688 export const IssueNodeId = GraphQL.query("IssueNodeId", {
689 document: {
690 variables: [
691 { name: "owner", body: "String!" },
692 { name: "name", body: "String!" },
693 { name: "number", body: "Int!" }
694 ],
695 selections: [
696 { name: "repository", body: ["(owner:$", "owner", " name:$", "name", "){issue(number:$", "number", "){id state stateReason}}"] }
697 ],
698 fragments: []
699 },
700 variables: {
701 owner: Schema.String,
702 name: Schema.String,
703 number: Shared.Int
704 },
705 result: Schema.Struct({
706 /** Lookup a given repository by the owner and repository name. */
707 repository: Schema.NullOr(IssueNodeIdRepositoryRepository)
708 })
709 })
710 export declare namespace IssueNodeId {
711 export type Variables = typeof IssueNodeId.variables.Type
712 export type Result = typeof IssueNodeId.result.Type
713 }
714
715 /** An Issue is a place to discuss ideas, enhancements, tasks, and bugs for a project. */
716 export const IssueCommentScopeRepositoryIssueIssue = Schema.Struct({
717 /** The Node ID of the Issue object */
718 id: Shared.ID
719 })
720 export interface IssueCommentScopeRepositoryIssueIssue extends Schema.Struct.Type<typeof IssueCommentScopeRepositoryIssueIssue.fields> {}
721
722 /** A repository contains the content for a project. */
723 export const IssueCommentScopeRepositoryRepository = Schema.Struct({
724 /** Returns a single issue from the current repository by number. */
725 issue: Schema.NullOr(IssueCommentScopeRepositoryIssueIssue)
726 })
727 export interface IssueCommentScopeRepositoryRepository extends Schema.Struct.Type<typeof IssueCommentScopeRepositoryRepository.fields> {}
728
729 /** Represents a comment on an Issue. */
730 export const NodeIssueComment = Schema.Struct({
731 __typename: Schema.Literal("IssueComment"),
732 /** Identifies the issue associated with the comment. */
733 issue: IssueCommentScopeRepositoryIssueIssue
734 })
735 export interface NodeIssueComment extends Schema.Struct.Type<typeof NodeIssueComment.fields> {}
736
737 /** An object with an ID. */
738 export const NodeOther = Schema.Struct({
739 __typename: GraphQL.otherTypename<Shared.Typename.Node>()(["IssueComment"])
740 })
741 export interface NodeOther extends Schema.Struct.Type<typeof NodeOther.fields> {}
742
743 /** `query IssueCommentScope` */
744 export const IssueCommentScope = GraphQL.query("IssueCommentScope", {
745 document: {
746 variables: [
747 { name: "owner", body: "String!" },
748 { name: "name", body: "String!" },
749 { name: "number", body: "Int!" },
750 { name: "commentId", body: "ID!" }
751 ],
752 selections: [
753 { name: "repository", body: ["(owner:$", "owner", " name:$", "name", "){issue(number:$", "number", "){id}}"] },
754 { name: "node", body: ["(id:$", "commentId", "){__typename...on IssueComment{issue{id}}}"] }
755 ],
756 fragments: []
757 },
758 variables: {
759 owner: Schema.String,
760 name: Schema.String,
761 number: Shared.Int,
762 commentId: Shared.ID
763 },
764 result: Schema.Struct({
765 /** Lookup a given repository by the owner and repository name. */
766 repository: Schema.NullOr(IssueCommentScopeRepositoryRepository),
767 /** Fetches an object given its ID. */
768 node: Schema.NullOr(Schema.Union([
769 NodeIssueComment,
770 NodeOther
771 ]))
772 })
773 })
774 export declare namespace IssueCommentScope {
775 export type Variables = typeof IssueCommentScope.variables.Type
776 export type Result = typeof IssueCommentScope.result.Type
777 }
778
779 /** Information about pagination in a connection. */
780 export const LabelsPageInfoPageInfo = Schema.Struct({
781 /** When paginating forwards, are there more items? */
782 hasNextPage: Schema.Boolean
783 })
784 export interface LabelsPageInfoPageInfo extends Schema.Struct.Type<typeof LabelsPageInfoPageInfo.fields> {}
785
786 /** A label for categorizing Issues, Pull Requests, Milestones, or Discussions with a given Repository. */
787 export const RepositoryLabelsNodesLabel = Schema.Struct({
788 /** Identifies the label name. */
789 name: Schema.String,
790 /** Identifies the label color. */
791 color: Schema.String,
792 /** A brief description of this label. */
793 description: Schema.NullOr(Schema.String)
794 })
795 export interface RepositoryLabelsNodesLabel extends Schema.Struct.Type<typeof RepositoryLabelsNodesLabel.fields> {}
796
797 /** The connection type for Label. */
798 export const RepositoryLabelsLabelConnection = Schema.Struct({
799 /** Information to aid in pagination. */
800 pageInfo: LabelsPageInfoPageInfo,
801 /** A list of nodes. */
802 nodes: Schema.NullOr(Schema.Array(Schema.NullOr(RepositoryLabelsNodesLabel)))
803 })
804 export interface RepositoryLabelsLabelConnection extends Schema.Struct.Type<typeof RepositoryLabelsLabelConnection.fields> {}
805
806 /** A list of users. */
807 export const AssignableUsersUserConnection = Schema.Struct({
808 /** Information to aid in pagination. */
809 pageInfo: LabelsPageInfoPageInfo,
810 /** A list of nodes. */
811 nodes: Schema.NullOr(Schema.Array(Schema.NullOr(AssigneesNodesUser)))
812 })
813 export interface AssignableUsersUserConnection extends Schema.Struct.Type<typeof AssignableUsersUserConnection.fields> {}
814
815 /** A repository contains the content for a project. */
816 export const IssueCandidatesRepositoryRepository = Schema.Struct({
817 /** A list of labels associated with the repository. */
818 labels: Schema.NullOr(RepositoryLabelsLabelConnection),
819 /** A list of users that can be assigned to issues in this repository. */
820 assignableUsers: AssignableUsersUserConnection
821 })
822 export interface IssueCandidatesRepositoryRepository extends Schema.Struct.Type<typeof IssueCandidatesRepositoryRepository.fields> {}
823
824 /** `query IssueCandidates` */
825 export const IssueCandidates = GraphQL.query("IssueCandidates", {
826 document: {
827 variables: [
828 { name: "owner", body: "String!" },
829 { name: "name", body: "String!" }
830 ],
831 selections: [
832 { name: "repository", body: ["(owner:$", "owner", " name:$", "name", "){labels(first:100){pageInfo{hasNextPage}nodes{name color description}}assignableUsers(first:100){pageInfo{hasNextPage}nodes{login name avatarUrl}}}"] }
833 ],
834 fragments: []
835 },
836 variables: {
837 owner: Schema.String,
838 name: Schema.String
839 },
840 result: Schema.Struct({
841 /** Lookup a given repository by the owner and repository name. */
842 repository: Schema.NullOr(IssueCandidatesRepositoryRepository)
843 })
844 })
845 export declare namespace IssueCandidates {
846 export type Variables = typeof IssueCandidates.variables.Type
847 export type Result = typeof IssueCandidates.result.Type
848 }
849
850 /** Represents a Git blob. */
851 export const Blob = Schema.Struct({
852 __typename: Schema.Literal("Blob"),
853 /** UTF8 text data or null if the Blob is binary */
854 text: Schema.NullOr(Schema.String),
855 /** Indicates whether the contents is truncated */
856 isTruncated: Schema.Boolean
857 })
858 export interface Blob extends Schema.Struct.Type<typeof Blob.fields> {}
859
860 /** Represents a Git object. */
861 export const ObjectGitObjectOther = Schema.Struct({
862 __typename: GraphQL.otherTypename<Shared.Typename.GitObject>()(["Blob"])
863 })
864 export interface ObjectGitObjectOther extends Schema.Struct.Type<typeof ObjectGitObjectOther.fields> {}
865
866 /** Represents a Git tree entry. */
867 export const TreeEntry = Schema.Struct({
868 /** Entry file name. */
869 name: Schema.String,
870 /** Entry file object. */
871 object: Schema.NullOr(Schema.Union([
872 Blob,
873 ObjectGitObjectOther
874 ]))
875 })
876 export interface TreeEntry extends Schema.Struct.Type<typeof TreeEntry.fields> {}
877
878 /** Represents a Git tree. */
879 export const Tree = Schema.Struct({
880 __typename: Schema.Literal("Tree"),
881 /** A list of tree entries. */
882 entries: Schema.NullOr(Schema.Array(TreeEntry))
883 })
884 export interface Tree extends Schema.Struct.Type<typeof Tree.fields> {}
885
886 /** Represents a Git object. */
887 export const TemplateDirectoryGitObjectOther = Schema.Struct({
888 __typename: GraphQL.otherTypename<Shared.Typename.GitObject>()(["Tree"])
889 })
890 export interface TemplateDirectoryGitObjectOther extends Schema.Struct.Type<typeof TemplateDirectoryGitObjectOther.fields> {}
891
892 /** A list of users. */
893 export const IssueTemplatesAssigneesUserConnection = Schema.Struct({
894 /** A list of nodes. */
895 nodes: Schema.NullOr(Schema.Array(Schema.NullOr(ViewerUser)))
896 })
897 export interface IssueTemplatesAssigneesUserConnection extends Schema.Struct.Type<typeof IssueTemplatesAssigneesUserConnection.fields> {}
898
899 /** The connection type for Label. */
900 export const IssueTemplatesLabelsLabelConnection = Schema.Struct({
901 /** A list of nodes. */
902 nodes: Schema.NullOr(Schema.Array(Schema.NullOr(LabelLabel)))
903 })
904 export interface IssueTemplatesLabelsLabelConnection extends Schema.Struct.Type<typeof IssueTemplatesLabelsLabelConnection.fields> {}
905
906 /** A repository issue template. */
907 export const IssueTemplate = Schema.Struct({
908 /** The template filename. */
909 filename: Schema.String,
910 /** The template name. */
911 name: Schema.String,
912 /** The template purpose. */
913 about: Schema.NullOr(Schema.String),
914 /** The suggested issue title. */
915 title: Schema.NullOr(Schema.String),
916 /** The suggested issue body. */
917 body: Schema.NullOr(Schema.String),
918 /** The suggested assignees. */
919 assignees: IssueTemplatesAssigneesUserConnection,
920 /** The suggested issue labels */
921 labels: Schema.NullOr(IssueTemplatesLabelsLabelConnection)
922 })
923 export interface IssueTemplate extends Schema.Struct.Type<typeof IssueTemplate.fields> {}
924
925 /** A repository contains the content for a project. */
926 export const IssueTemplatesRepositoryRepository = Schema.Struct({
927 /** A Git object in the repository */
928 templateDirectory: Schema.NullOr(Schema.Union([
929 Tree,
930 TemplateDirectoryGitObjectOther
931 ])),
932 /** Returns a list of issue templates associated to the repository */
933 issueTemplates: Schema.NullOr(Schema.Array(IssueTemplate))
934 })
935 export interface IssueTemplatesRepositoryRepository extends Schema.Struct.Type<typeof IssueTemplatesRepositoryRepository.fields> {}
936
937 /** `query IssueTemplates` */
938 export const IssueTemplates = GraphQL.query("IssueTemplates", {
939 document: {
940 variables: [
941 { name: "owner", body: "String!" },
942 { name: "name", body: "String!" }
943 ],
944 selections: [
945 { name: "repository", body: ["(owner:$", "owner", " name:$", "name", "){templateDirectory:object(expression:\"HEAD:.github/ISSUE_TEMPLATE\"){__typename...on Tree{entries{name object{__typename...on Blob{text isTruncated}}}}}issueTemplates{filename name about title body assignees(first:25){nodes{login}}labels(first:50){nodes{name}}}}"] }
946 ],
947 fragments: []
948 },
949 variables: {
950 owner: Schema.String,
951 name: Schema.String
952 },
953 result: Schema.Struct({
954 /** Lookup a given repository by the owner and repository name. */
955 repository: Schema.NullOr(IssueTemplatesRepositoryRepository)
956 })
957 })
958 export declare namespace IssueTemplates {
959 export type Variables = typeof IssueTemplates.variables.Type
960 export type Result = typeof IssueTemplates.result.Type
961 }
962
963 /** `query IssueViewer` */
964 export const IssueViewer = GraphQL.query("IssueViewer", {
965 document: {
966 variables: [],
967 selections: [
968 { name: "viewer", body: ["{login}"] }
969 ],
970 fragments: []
971 },
972 result: Schema.Struct({
973 /** The currently authenticated user. */
974 viewer: ViewerUser
975 })
976 })
977 export declare namespace IssueViewer {
978 export type Variables = typeof IssueViewer.variables.Type
979 export type Result = typeof IssueViewer.result.Type
980 }
981
982 /** An Issue is a place to discuss ideas, enhancements, tasks, and bugs for a project. */
983 export const IssueCollectionsRepositoryIssueIssue = Schema.Struct({
984 /** A list of labels associated with the object. */
985 labels: Schema.optionalKey(Schema.NullOr(IssueLabelsLabelConnection)),
986 /** A list of Users assigned to this object. */
987 assignees: Schema.optionalKey(IssueAssigneesUserConnection),
988 /** List of open pull requests referenced from this issue */
989 closedByPullRequestsReferences: Schema.optionalKey(Schema.NullOr(PullRequestConnection))
990 })
991 export interface IssueCollectionsRepositoryIssueIssue extends Schema.Struct.Type<typeof IssueCollectionsRepositoryIssueIssue.fields> {}
992
993 /** A repository contains the content for a project. */
994 export const IssueCollectionsRepositoryRepository = Schema.Struct({
995 /** Returns a single issue from the current repository by number. */
996 issue: Schema.NullOr(IssueCollectionsRepositoryIssueIssue)
997 })
998 export interface IssueCollectionsRepositoryRepository extends Schema.Struct.Type<typeof IssueCollectionsRepositoryRepository.fields> {}
999
1000 /** `query IssueCollections` */
1001 export const IssueCollections = GraphQL.query("IssueCollections", {
1002 document: {
1003 variables: [
1004 { name: "owner", body: "String!" },
1005 { name: "name", body: "String!" },
1006 { name: "number", body: "Int!" },
1007 { name: "labelsCursor", body: "String" },
1008 { name: "assigneesCursor", body: "String" },
1009 { name: "closingPullRequestsCursor", body: "String" },
1010 { name: "withLabels", body: "Boolean!" },
1011 { name: "withAssignees", body: "Boolean!" },
1012 { name: "withClosingPullRequests", body: "Boolean!" }
1013 ],
1014 selections: [
1015 { name: "repository", body: ["(owner:$", "owner", " name:$", "name", "){issue(number:$", "number", "){labels(first:100 after:$", "labelsCursor", ")@include(if:$", "withLabels", "){pageInfo{hasNextPage endCursor}nodes{name color}}assignees(first:100 after:$", "assigneesCursor", ")@include(if:$", "withAssignees", "){pageInfo{hasNextPage endCursor}nodes{login name avatarUrl}}closedByPullRequestsReferences(first:100 after:$", "closingPullRequestsCursor", " includeClosedPrs:true)@include(if:$", "withClosingPullRequests", "){pageInfo{hasNextPage endCursor}nodes{number title url state isDraft repository{nameWithOwner}}}}}"] }
1016 ],
1017 fragments: []
1018 },
1019 variables: {
1020 owner: Schema.String,
1021 name: Schema.String,
1022 number: Shared.Int,
1023 labelsCursor: Schema.optional(Schema.NullOr(Schema.String)),
1024 assigneesCursor: Schema.optional(Schema.NullOr(Schema.String)),
1025 closingPullRequestsCursor: Schema.optional(Schema.NullOr(Schema.String)),
1026 withLabels: Schema.Boolean,
1027 withAssignees: Schema.Boolean,
1028 withClosingPullRequests: Schema.Boolean
1029 },
1030 result: Schema.Struct({
1031 /** Lookup a given repository by the owner and repository name. */
1032 repository: Schema.NullOr(IssueCollectionsRepositoryRepository)
1033 })
1034 })
1035 export declare namespace IssueCollections {
1036 export type Variables = typeof IssueCollections.variables.Type
1037 export type Result = typeof IssueCollections.result.Type
1038 }
1039
1040 /** Every operation in issues.graphql. */
1041 export const IssuesGraphQLGroup = GraphQLGroup.make(IssueSearch, IssueDetail, IssueComments, IssueNodeId, IssueCommentScope, IssueCandidates, IssueTemplates, IssueViewer, IssueCollections)