1"""Autogenerated input type of AcceptTopicSuggestion"""
2input AcceptTopicSuggestionInput {
3  """The Node ID of the repository."""
4  repositoryId: ID!
5
6  """The name of the suggested topic."""
7  name: String!
8
9  """A unique identifier for the client performing the mutation."""
10  clientMutationId: String
11}
12
13"""Autogenerated return type of AcceptTopicSuggestion"""
14type AcceptTopicSuggestionPayload {
15  """A unique identifier for the client performing the mutation."""
16  clientMutationId: String
17
18  """The accepted topic."""
19  topic: Topic
20}
21
22"""
23Represents an object which can take actions on GitHub. Typically a User or Bot.
24"""
25interface Actor {
26  """A URL pointing to the actor's public avatar."""
27  avatarUrl(
28    """The size of the resulting square image."""
29    size: Int
30  ): URI!
31
32  """The username of the actor."""
33  login: String!
34
35  """The HTTP path for this actor."""
36  resourcePath: URI!
37
38  """The HTTP URL for this actor."""
39  url: URI!
40}
41
42"""Autogenerated input type of AddAssigneesToAssignable"""
43input AddAssigneesToAssignableInput {
44  """The id of the assignable object to add assignees to."""
45  assignableId: ID!
46
47  """The id of users to add as assignees."""
48  assigneeIds: [ID!]!
49
50  """A unique identifier for the client performing the mutation."""
51  clientMutationId: String
52}
53
54"""Autogenerated return type of AddAssigneesToAssignable"""
55type AddAssigneesToAssignablePayload {
56  """The item that was assigned."""
57  assignable: Assignable
58
59  """A unique identifier for the client performing the mutation."""
60  clientMutationId: String
61}
62
63"""Autogenerated input type of AddComment"""
64input AddCommentInput {
65  """The Node ID of the subject to modify."""
66  subjectId: ID!
67
68  """The contents of the comment."""
69  body: String!
70
71  """A unique identifier for the client performing the mutation."""
72  clientMutationId: String
73}
74
75"""Autogenerated return type of AddComment"""
76type AddCommentPayload {
77  """A unique identifier for the client performing the mutation."""
78  clientMutationId: String
79
80  """The edge from the subject's comment connection."""
81  commentEdge: IssueCommentEdge
82
83  """The subject"""
84  subject: Node
85
86  """The edge from the subject's timeline connection."""
87  timelineEdge: IssueTimelineItemEdge
88}
89
90"""
91Represents a 'added_to_project' event on a given issue or pull request.
92"""
93type AddedToProjectEvent implements Node {
94  """Identifies the actor who performed the event."""
95  actor: Actor
96
97  """Identifies the date and time when the object was created."""
98  createdAt: DateTime!
99
100  """Identifies the primary key from the database."""
101  databaseId: Int
102  id: ID!
103}
104
105"""Autogenerated input type of AddLabelsToLabelable"""
106input AddLabelsToLabelableInput {
107  """The id of the labelable object to add labels to."""
108  labelableId: ID!
109
110  """The ids of the labels to add."""
111  labelIds: [ID!]!
112
113  """A unique identifier for the client performing the mutation."""
114  clientMutationId: String
115}
116
117"""Autogenerated return type of AddLabelsToLabelable"""
118type AddLabelsToLabelablePayload {
119  """A unique identifier for the client performing the mutation."""
120  clientMutationId: String
121
122  """The item that was labeled."""
123  labelable: Labelable
124}
125
126"""Autogenerated input type of AddProjectCard"""
127input AddProjectCardInput {
128  """The Node ID of the ProjectColumn."""
129  projectColumnId: ID!
130
131  """The content of the card. Must be a member of the ProjectCardItem union"""
132  contentId: ID
133
134  """The note on the card."""
135  note: String
136
137  """A unique identifier for the client performing the mutation."""
138  clientMutationId: String
139}
140
141"""Autogenerated return type of AddProjectCard"""
142type AddProjectCardPayload {
143  """The edge from the ProjectColumn's card connection."""
144  cardEdge: ProjectCardEdge
145
146  """A unique identifier for the client performing the mutation."""
147  clientMutationId: String
148
149  """The ProjectColumn"""
150  projectColumn: ProjectColumn
151}
152
153"""Autogenerated input type of AddProjectColumn"""
154input AddProjectColumnInput {
155  """The Node ID of the project."""
156  projectId: ID!
157
158  """The name of the column."""
159  name: String!
160
161  """A unique identifier for the client performing the mutation."""
162  clientMutationId: String
163}
164
165"""Autogenerated return type of AddProjectColumn"""
166type AddProjectColumnPayload {
167  """A unique identifier for the client performing the mutation."""
168  clientMutationId: String
169
170  """The edge from the project's column connection."""
171  columnEdge: ProjectColumnEdge
172
173  """The project"""
174  project: Project
175}
176
177"""Autogenerated input type of AddPullRequestReviewComment"""
178input AddPullRequestReviewCommentInput {
179  """The Node ID of the review to modify."""
180  pullRequestReviewId: ID!
181
182  """The SHA of the commit to comment on."""
183  commitOID: GitObjectID
184
185  """The text of the comment."""
186  body: String!
187
188  """The relative path of the file to comment on."""
189  path: String
190
191  """The line index in the diff to comment on."""
192  position: Int
193
194  """The comment id to reply to."""
195  inReplyTo: ID
196
197  """A unique identifier for the client performing the mutation."""
198  clientMutationId: String
199}
200
201"""Autogenerated return type of AddPullRequestReviewComment"""
202type AddPullRequestReviewCommentPayload {
203  """A unique identifier for the client performing the mutation."""
204  clientMutationId: String
205
206  """The newly created comment."""
207  comment: PullRequestReviewComment
208
209  """The edge from the review's comment connection."""
210  commentEdge: PullRequestReviewCommentEdge
211}
212
213"""Autogenerated input type of AddPullRequestReview"""
214input AddPullRequestReviewInput {
215  """The Node ID of the pull request to modify."""
216  pullRequestId: ID!
217
218  """The commit OID the review pertains to."""
219  commitOID: GitObjectID
220
221  """The contents of the review body comment."""
222  body: String
223
224  """The event to perform on the pull request review."""
225  event: PullRequestReviewEvent
226
227  """The review line comments."""
228  comments: [DraftPullRequestReviewComment]
229
230  """A unique identifier for the client performing the mutation."""
231  clientMutationId: String
232}
233
234"""Autogenerated return type of AddPullRequestReview"""
235type AddPullRequestReviewPayload {
236  """A unique identifier for the client performing the mutation."""
237  clientMutationId: String
238
239  """The newly created pull request review."""
240  pullRequestReview: PullRequestReview
241
242  """The edge from the pull request's review connection."""
243  reviewEdge: PullRequestReviewEdge
244}
245
246"""Autogenerated input type of AddReaction"""
247input AddReactionInput {
248  """The Node ID of the subject to modify."""
249  subjectId: ID!
250
251  """The name of the emoji to react with."""
252  content: ReactionContent!
253
254  """A unique identifier for the client performing the mutation."""
255  clientMutationId: String
256}
257
258"""Autogenerated return type of AddReaction"""
259type AddReactionPayload {
260  """A unique identifier for the client performing the mutation."""
261  clientMutationId: String
262
263  """The reaction object."""
264  reaction: Reaction
265
266  """The reactable subject."""
267  subject: Reactable
268}
269
270"""Autogenerated input type of AddStar"""
271input AddStarInput {
272  """The Starrable ID to star."""
273  starrableId: ID!
274
275  """A unique identifier for the client performing the mutation."""
276  clientMutationId: String
277}
278
279"""Autogenerated return type of AddStar"""
280type AddStarPayload {
281  """A unique identifier for the client performing the mutation."""
282  clientMutationId: String
283
284  """The starrable."""
285  starrable: Starrable
286}
287
288"""A GitHub App."""
289type App implements Node {
290  """Identifies the date and time when the object was created."""
291  createdAt: DateTime!
292
293  """Identifies the primary key from the database."""
294  databaseId: Int
295
296  """The description of the app."""
297  description: String
298  id: ID!
299
300  """The hex color code, without the leading '#', for the logo background."""
301  logoBackgroundColor: String!
302
303  """A URL pointing to the app's logo."""
304  logoUrl(
305    """The size of the resulting image."""
306    size: Int
307  ): URI!
308
309  """The name of the app."""
310  name: String!
311
312  """A slug based on the name of the app for use in URLs."""
313  slug: String!
314
315  """Identifies the date and time when the object was last updated."""
316  updatedAt: DateTime!
317
318  """The URL to the app's homepage."""
319  url: URI!
320}
321
322"""An edge in a connection."""
323type AppEdge {
324  """A cursor for use in pagination."""
325  cursor: String!
326
327  """The item at the end of the edge."""
328  node: App
329}
330
331"""An object that can have users assigned to it."""
332interface Assignable {
333  """A list of Users assigned to this object."""
334  assignees(
335    """Returns the elements in the list that come after the specified cursor."""
336    after: String
337
338    """
339    Returns the elements in the list that come before the specified cursor.
340    """
341    before: String
342
343    """Returns the first _n_ elements from the list."""
344    first: Int
345
346    """Returns the last _n_ elements from the list."""
347    last: Int
348  ): UserConnection!
349}
350
351"""Represents an 'assigned' event on any assignable object."""
352type AssignedEvent implements Node {
353  """Identifies the actor who performed the event."""
354  actor: Actor
355
356  """Identifies the assignable associated with the event."""
357  assignable: Assignable!
358
359  """Identifies the date and time when the object was created."""
360  createdAt: DateTime!
361  id: ID!
362
363  """Identifies the user who was assigned."""
364  user: User
365}
366
367"""
368Represents a 'base_ref_changed' event on a given issue or pull request.
369"""
370type BaseRefChangedEvent implements Node {
371  """Identifies the actor who performed the event."""
372  actor: Actor
373
374  """Identifies the date and time when the object was created."""
375  createdAt: DateTime!
376
377  """Identifies the primary key from the database."""
378  databaseId: Int
379  id: ID!
380}
381
382"""Represents a 'base_ref_force_pushed' event on a given pull request."""
383type BaseRefForcePushedEvent implements Node {
384  """Identifies the actor who performed the event."""
385  actor: Actor
386
387  """Identifies the after commit SHA for the 'base_ref_force_pushed' event."""
388  afterCommit: Commit
389
390  """
391  Identifies the before commit SHA for the 'base_ref_force_pushed' event.
392  """
393  beforeCommit: Commit
394
395  """Identifies the date and time when the object was created."""
396  createdAt: DateTime!
397  id: ID!
398
399  """PullRequest referenced by event."""
400  pullRequest: PullRequest!
401
402  """
403  Identifies the fully qualified ref name for the 'base_ref_force_pushed' event.
404  """
405  ref: Ref
406}
407
408"""Represents a Git blame."""
409type Blame {
410  """The list of ranges from a Git blame."""
411  ranges: [BlameRange!]!
412}
413
414"""Represents a range of information from a Git blame."""
415type BlameRange {
416  """
417  Identifies the recency of the change, from 1 (new) to 10 (old). This is
418  calculated as a 2-quantile and determines the length of distance between the
419  median age of all the changes in the file and the recency of the current
420  range's change.
421  """
422  age: Int!
423
424  """Identifies the line author"""
425  commit: Commit!
426
427  """The ending line for the range"""
428  endingLine: Int!
429
430  """The starting line for the range"""
431  startingLine: Int!
432}
433
434"""Represents a Git blob."""
435type Blob implements Node & GitObject {
436  """An abbreviated version of the Git object ID"""
437  abbreviatedOid: String!
438
439  """Byte size of Blob object"""
440  byteSize: Int!
441
442  """The HTTP path for this Git object"""
443  commitResourcePath: URI!
444
445  """The HTTP URL for this Git object"""
446  commitUrl: URI!
447  id: ID!
448
449  """Indicates whether the Blob is binary or text"""
450  isBinary: Boolean!
451
452  """Indicates whether the contents is truncated"""
453  isTruncated: Boolean!
454
455  """The Git object ID"""
456  oid: GitObjectID!
457
458  """The Repository the Git object belongs to"""
459  repository: Repository!
460
461  """UTF8 text data or null if the Blob is binary"""
462  text: String
463}
464
465"""A special type of user which takes actions on behalf of GitHub Apps."""
466type Bot implements Node & Actor & UniformResourceLocatable {
467  """A URL pointing to the GitHub App's public avatar."""
468  avatarUrl(
469    """The size of the resulting square image."""
470    size: Int
471  ): URI!
472
473  """Identifies the date and time when the object was created."""
474  createdAt: DateTime!
475
476  """Identifies the primary key from the database."""
477  databaseId: Int
478  id: ID!
479
480  """The username of the actor."""
481  login: String!
482
483  """The HTTP path for this bot"""
484  resourcePath: URI!
485
486  """Identifies the date and time when the object was last updated."""
487  updatedAt: DateTime!
488
489  """The HTTP URL for this bot"""
490  url: URI!
491}
492
493"""A branch protection rule."""
494type BranchProtectionRule implements Node {
495  """
496  A list of conflicts matching branches protection rule and other branch protection rules
497  """
498  branchProtectionRuleConflicts(
499    """Returns the elements in the list that come after the specified cursor."""
500    after: String
501
502    """
503    Returns the elements in the list that come before the specified cursor.
504    """
505    before: String
506
507    """Returns the first _n_ elements from the list."""
508    first: Int
509
510    """Returns the last _n_ elements from the list."""
511    last: Int
512  ): BranchProtectionRuleConflictConnection!
513
514  """The actor who created this branch protection rule."""
515  creator: Actor
516
517  """Identifies the primary key from the database."""
518  databaseId: Int
519
520  """
521  Will new commits pushed to matching branches dismiss pull request review approvals.
522  """
523  dismissesStaleReviews: Boolean!
524  id: ID!
525
526  """Can admins overwrite branch protection."""
527  isAdminEnforced: Boolean!
528
529  """Repository refs that are protected by this rule"""
530  matchingRefs(
531    """Returns the elements in the list that come after the specified cursor."""
532    after: String
533
534    """
535    Returns the elements in the list that come before the specified cursor.
536    """
537    before: String
538
539    """Returns the first _n_ elements from the list."""
540    first: Int
541
542    """Returns the last _n_ elements from the list."""
543    last: Int
544  ): RefConnection!
545
546  """Identifies the protection rule pattern."""
547  pattern: String!
548
549  """A list push allowances for this branch protection rule."""
550  pushAllowances(
551    """Returns the elements in the list that come after the specified cursor."""
552    after: String
553
554    """
555    Returns the elements in the list that come before the specified cursor.
556    """
557    before: String
558
559    """Returns the first _n_ elements from the list."""
560    first: Int
561
562    """Returns the last _n_ elements from the list."""
563    last: Int
564  ): PushAllowanceConnection!
565
566  """The repository associated with this branch protection rule."""
567  repository: Repository
568
569  """Number of approving reviews required to update matching branches."""
570  requiredApprovingReviewCount: Int
571
572  """
573  List of required status check contexts that must pass for commits to be accepted to matching branches.
574  """
575  requiredStatusCheckContexts: [String]
576
577  """Are approving reviews required to update matching branches."""
578  requiresApprovingReviews: Boolean!
579
580  """Are commits required to be signed."""
581  requiresCommitSignatures: Boolean!
582
583  """Are status checks required to update matching branches."""
584  requiresStatusChecks: Boolean!
585
586  """Are branches required to be up to date before merging."""
587  requiresStrictStatusChecks: Boolean!
588
589  """Is pushing to matching branches restricted."""
590  restrictsPushes: Boolean!
591
592  """Is dismissal of pull request reviews restricted."""
593  restrictsReviewDismissals: Boolean!
594
595  """A list review dismissal allowances for this branch protection rule."""
596  reviewDismissalAllowances(
597    """Returns the elements in the list that come after the specified cursor."""
598    after: String
599
600    """
601    Returns the elements in the list that come before the specified cursor.
602    """
603    before: String
604
605    """Returns the first _n_ elements from the list."""
606    first: Int
607
608    """Returns the last _n_ elements from the list."""
609    last: Int
610  ): ReviewDismissalAllowanceConnection!
611}
612
613"""A conflict between two branch protection rules."""
614type BranchProtectionRuleConflict {
615  """Identifies the branch protection rule."""
616  branchProtectionRule: BranchProtectionRule
617
618  """Identifies the conflicting branch protection rule."""
619  conflictingBranchProtectionRule: BranchProtectionRule
620
621  """Identifies the branch ref that has conflicting rules"""
622  ref: Ref
623}
624
625"""The connection type for BranchProtectionRuleConflict."""
626type BranchProtectionRuleConflictConnection {
627  """A list of edges."""
628  edges: [BranchProtectionRuleConflictEdge]
629
630  """A list of nodes."""
631  nodes: [BranchProtectionRuleConflict]
632
633  """Information to aid in pagination."""
634  pageInfo: PageInfo!
635
636  """Identifies the total count of items in the connection."""
637  totalCount: Int!
638}
639
640"""An edge in a connection."""
641type BranchProtectionRuleConflictEdge {
642  """A cursor for use in pagination."""
643  cursor: String!
644
645  """The item at the end of the edge."""
646  node: BranchProtectionRuleConflict
647}
648
649"""The connection type for BranchProtectionRule."""
650type BranchProtectionRuleConnection {
651  """A list of edges."""
652  edges: [BranchProtectionRuleEdge]
653
654  """A list of nodes."""
655  nodes: [BranchProtectionRule]
656
657  """Information to aid in pagination."""
658  pageInfo: PageInfo!
659
660  """Identifies the total count of items in the connection."""
661  totalCount: Int!
662}
663
664"""An edge in a connection."""
665type BranchProtectionRuleEdge {
666  """A cursor for use in pagination."""
667  cursor: String!
668
669  """The item at the end of the edge."""
670  node: BranchProtectionRule
671}
672
673"""Autogenerated input type of ChangeUserStatus"""
674input ChangeUserStatusInput {
675  """
676  The emoji to represent your status. Can either be a native Unicode emoji or an emoji name with colons, e.g., :grinning:.
677  """
678  emoji: String
679
680  """A short description of your current status."""
681  message: String
682
683  """
684  The ID of the organization whose members will be allowed to see the status. If
685  omitted, the status will be publicly visible.
686  """
687  organizationId: ID
688
689  """
690  Whether this status should indicate you are not fully available on GitHub, e.g., you are away.
691  """
692  limitedAvailability: Boolean = false
693
694  """A unique identifier for the client performing the mutation."""
695  clientMutationId: String
696}
697
698"""Autogenerated return type of ChangeUserStatus"""
699type ChangeUserStatusPayload {
700  """A unique identifier for the client performing the mutation."""
701  clientMutationId: String
702
703  """Your updated status."""
704  status: UserStatus
705}
706
707"""Autogenerated input type of ClearLabelsFromLabelable"""
708input ClearLabelsFromLabelableInput {
709  """The id of the labelable object to clear the labels from."""
710  labelableId: ID!
711
712  """A unique identifier for the client performing the mutation."""
713  clientMutationId: String
714}
715
716"""Autogenerated return type of ClearLabelsFromLabelable"""
717type ClearLabelsFromLabelablePayload {
718  """A unique identifier for the client performing the mutation."""
719  clientMutationId: String
720
721  """The item that was unlabeled."""
722  labelable: Labelable
723}
724
725"""Autogenerated input type of CloneProject"""
726input CloneProjectInput {
727  """The owner ID to create the project under."""
728  targetOwnerId: ID!
729
730  """The source project to clone."""
731  sourceId: ID!
732
733  """Whether or not to clone the source project's workflows."""
734  includeWorkflows: Boolean!
735
736  """The name of the project."""
737  name: String!
738
739  """The description of the project."""
740  body: String
741
742  """The visibility of the project, defaults to false (private)."""
743  public: Boolean
744
745  """A unique identifier for the client performing the mutation."""
746  clientMutationId: String
747}
748
749"""Autogenerated return type of CloneProject"""
750type CloneProjectPayload {
751  """A unique identifier for the client performing the mutation."""
752  clientMutationId: String
753
754  """The id of the JobStatus for populating cloned fields."""
755  jobStatusId: String
756
757  """The new cloned project."""
758  project: Project
759}
760
761"""An object that can be closed"""
762interface Closable {
763  """
764  `true` if the object is closed (definition of closed may depend on type)
765  """
766  closed: Boolean!
767
768  """Identifies the date and time when the object was closed."""
769  closedAt: DateTime
770}
771
772"""Represents a 'closed' event on any `Closable`."""
773type ClosedEvent implements Node & UniformResourceLocatable {
774  """Identifies the actor who performed the event."""
775  actor: Actor
776
777  """Object that was closed."""
778  closable: Closable!
779
780  """Object which triggered the creation of this event."""
781  closer: Closer
782
783  """Identifies the date and time when the object was created."""
784  createdAt: DateTime!
785  id: ID!
786
787  """The HTTP path for this closed event."""
788  resourcePath: URI!
789
790  """The HTTP URL for this closed event."""
791  url: URI!
792}
793
794"""Autogenerated input type of CloseIssue"""
795input CloseIssueInput {
796  """ID of the issue to be closed."""
797  issueId: ID!
798
799  """A unique identifier for the client performing the mutation."""
800  clientMutationId: String
801}
802
803"""Autogenerated return type of CloseIssue"""
804type CloseIssuePayload {
805  """A unique identifier for the client performing the mutation."""
806  clientMutationId: String
807
808  """The issue that was closed."""
809  issue: Issue
810}
811
812"""Autogenerated input type of ClosePullRequest"""
813input ClosePullRequestInput {
814  """ID of the pull request to be closed."""
815  pullRequestId: ID!
816
817  """A unique identifier for the client performing the mutation."""
818  clientMutationId: String
819}
820
821"""Autogenerated return type of ClosePullRequest"""
822type ClosePullRequestPayload {
823  """A unique identifier for the client performing the mutation."""
824  clientMutationId: String
825
826  """The pull request that was closed."""
827  pullRequest: PullRequest
828}
829
830"""The object which triggered a `ClosedEvent`."""
831union Closer = Commit | PullRequest
832
833"""The Code of Conduct for a repository"""
834type CodeOfConduct implements Node {
835  """The body of the Code of Conduct"""
836  body: String
837  id: ID!
838
839  """The key for the Code of Conduct"""
840  key: String!
841
842  """The formal name of the Code of Conduct"""
843  name: String!
844
845  """The HTTP path for this Code of Conduct"""
846  resourcePath: URI
847
848  """The HTTP URL for this Code of Conduct"""
849  url: URI
850}
851
852"""Collaborators affiliation level with a subject."""
853enum CollaboratorAffiliation {
854  """All outside collaborators of an organization-owned subject."""
855  OUTSIDE
856
857  """
858  All collaborators with permissions to an organization-owned subject, regardless of organization membership status.
859  """
860  DIRECT
861
862  """All collaborators the authenticated user can see."""
863  ALL
864}
865
866"""Types that can be inside Collection Items."""
867union CollectionItemContent = Repository | Organization | User
868
869"""Represents a comment."""
870interface Comment {
871  """The actor who authored the comment."""
872  author: Actor
873
874  """Author's association with the subject of the comment."""
875  authorAssociation: CommentAuthorAssociation!
876
877  """The body as Markdown."""
878  body: String!
879
880  """The body rendered to HTML."""
881  bodyHTML: HTML!
882
883  """The body rendered to text."""
884  bodyText: String!
885
886  """Identifies the date and time when the object was created."""
887  createdAt: DateTime!
888
889  """Check if this comment was created via an email reply."""
890  createdViaEmail: Boolean!
891
892  """The actor who edited the comment."""
893  editor: Actor
894  id: ID!
895
896  """
897  Check if this comment was edited and includes an edit with the creation data
898  """
899  includesCreatedEdit: Boolean!
900
901  """The moment the editor made the last edit"""
902  lastEditedAt: DateTime
903
904  """Identifies when the comment was published at."""
905  publishedAt: DateTime
906
907  """Identifies the date and time when the object was last updated."""
908  updatedAt: DateTime!
909
910  """A list of edits to this content."""
911  userContentEdits(
912    """Returns the elements in the list that come after the specified cursor."""
913    after: String
914
915    """
916    Returns the elements in the list that come before the specified cursor.
917    """
918    before: String
919
920    """Returns the first _n_ elements from the list."""
921    first: Int
922
923    """Returns the last _n_ elements from the list."""
924    last: Int
925  ): UserContentEditConnection
926
927  """Did the viewer author this comment."""
928  viewerDidAuthor: Boolean!
929}
930
931"""A comment author association with repository."""
932enum CommentAuthorAssociation {
933  """Author is a member of the organization that owns the repository."""
934  MEMBER
935
936  """Author is the owner of the repository."""
937  OWNER
938
939  """Author has been invited to collaborate on the repository."""
940  COLLABORATOR
941
942  """Author has previously committed to the repository."""
943  CONTRIBUTOR
944
945  """Author has not previously committed to the repository."""
946  FIRST_TIME_CONTRIBUTOR
947
948  """Author has not previously committed to GitHub."""
949  FIRST_TIMER
950
951  """Author has no association with the repository."""
952  NONE
953}
954
955"""The possible errors that will prevent a user from updating a comment."""
956enum CommentCannotUpdateReason {
957  """
958  You must be the author or have write access to this repository to update this comment.
959  """
960  INSUFFICIENT_ACCESS
961
962  """Unable to create comment because issue is locked."""
963  LOCKED
964
965  """You must be logged in to update this comment."""
966  LOGIN_REQUIRED
967
968  """Repository is under maintenance."""
969  MAINTENANCE
970
971  """At least one email address must be verified to update this comment."""
972  VERIFIED_EMAIL_REQUIRED
973
974  """You cannot update this comment"""
975  DENIED
976}
977
978"""Represents a 'comment_deleted' event on a given issue or pull request."""
979type CommentDeletedEvent implements Node {
980  """Identifies the actor who performed the event."""
981  actor: Actor
982
983  """Identifies the date and time when the object was created."""
984  createdAt: DateTime!
985
986  """Identifies the primary key from the database."""
987  databaseId: Int
988  id: ID!
989}
990
991"""Represents a Git commit."""
992type Commit implements Node & GitObject & Subscribable & UniformResourceLocatable {
993  """An abbreviated version of the Git object ID"""
994  abbreviatedOid: String!
995
996  """The number of additions in this commit."""
997  additions: Int!
998
999  """The pull requests associated with a commit"""
1000  associatedPullRequests(
1001    """Returns the elements in the list that come after the specified cursor."""
1002    after: String
1003
1004    """
1005    Returns the elements in the list that come before the specified cursor.
1006    """
1007    before: String
1008
1009    """Returns the first _n_ elements from the list."""
1010    first: Int
1011
1012    """Returns the last _n_ elements from the list."""
1013    last: Int
1014
1015    """Ordering options for pull requests."""
1016    orderBy: PullRequestOrder
1017  ): PullRequestConnection
1018
1019  """Authorship details of the commit."""
1020  author: GitActor
1021
1022  """Check if the committer and the author match."""
1023  authoredByCommitter: Boolean!
1024
1025  """The datetime when this commit was authored."""
1026  authoredDate: DateTime!
1027
1028  """Fetches `git blame` information."""
1029  blame(
1030    """The file whose Git blame information you want."""
1031    path: String!
1032  ): Blame!
1033
1034  """The number of changed files in this commit."""
1035  changedFiles: Int!
1036
1037  """Comments made on the commit."""
1038  comments(
1039    """Returns the elements in the list that come after the specified cursor."""
1040    after: String
1041
1042    """
1043    Returns the elements in the list that come before the specified cursor.
1044    """
1045    before: String
1046
1047    """Returns the first _n_ elements from the list."""
1048    first: Int
1049
1050    """Returns the last _n_ elements from the list."""
1051    last: Int
1052  ): CommitCommentConnection!
1053
1054  """The HTTP path for this Git object"""
1055  commitResourcePath: URI!
1056
1057  """The HTTP URL for this Git object"""
1058  commitUrl: URI!
1059
1060  """The datetime when this commit was committed."""
1061  committedDate: DateTime!
1062
1063  """Check if commited via GitHub web UI."""
1064  committedViaWeb: Boolean!
1065
1066  """Committership details of the commit."""
1067  committer: GitActor
1068
1069  """The number of deletions in this commit."""
1070  deletions: Int!
1071
1072  """The deployments associated with a commit."""
1073  deployments(
1074    """Environments to list deployments for"""
1075    environments: [String!]
1076
1077    """Ordering options for deployments returned from the connection."""
1078    orderBy: DeploymentOrder
1079
1080    """Returns the elements in the list that come after the specified cursor."""
1081    after: String
1082
1083    """
1084    Returns the elements in the list that come before the specified cursor.
1085    """
1086    before: String
1087
1088    """Returns the first _n_ elements from the list."""
1089    first: Int
1090
1091    """Returns the last _n_ elements from the list."""
1092    last: Int
1093  ): DeploymentConnection
1094
1095  """
1096  The linear commit history starting from (and including) this commit, in the same order as `git log`.
1097  """
1098  history(
1099    """Returns the elements in the list that come after the specified cursor."""
1100    after: String
1101
1102    """
1103    Returns the elements in the list that come before the specified cursor.
1104    """
1105    before: String
1106
1107    """Returns the first _n_ elements from the list."""
1108    first: Int
1109
1110    """Returns the last _n_ elements from the list."""
1111    last: Int
1112
1113    """
1114    If non-null, filters history to only show commits touching files under this path.
1115    """
1116    path: String
1117
1118    """
1119    If non-null, filters history to only show commits with matching authorship.
1120    """
1121    author: CommitAuthor
1122
1123    """Allows specifying a beginning time or date for fetching commits."""
1124    since: GitTimestamp
1125
1126    """Allows specifying an ending time or date for fetching commits."""
1127    until: GitTimestamp
1128  ): CommitHistoryConnection!
1129  id: ID!
1130
1131  """The Git commit message"""
1132  message: String!
1133
1134  """The Git commit message body"""
1135  messageBody: String!
1136
1137  """The commit message body rendered to HTML."""
1138  messageBodyHTML: HTML!
1139
1140  """The Git commit message headline"""
1141  messageHeadline: String!
1142
1143  """The commit message headline rendered to HTML."""
1144  messageHeadlineHTML: HTML!
1145
1146  """The Git object ID"""
1147  oid: GitObjectID!
1148
1149  """The parents of a commit."""
1150  parents(
1151    """Returns the elements in the list that come after the specified cursor."""
1152    after: String
1153
1154    """
1155    Returns the elements in the list that come before the specified cursor.
1156    """
1157    before: String
1158
1159    """Returns the first _n_ elements from the list."""
1160    first: Int
1161
1162    """Returns the last _n_ elements from the list."""
1163    last: Int
1164  ): CommitConnection!
1165
1166  """The datetime when this commit was pushed."""
1167  pushedDate: DateTime
1168
1169  """The Repository this commit belongs to"""
1170  repository: Repository!
1171
1172  """The HTTP path for this commit"""
1173  resourcePath: URI!
1174
1175  """Commit signing information, if present."""
1176  signature: GitSignature
1177
1178  """Status information for this commit"""
1179  status: Status
1180
1181  """
1182  Returns a URL to download a tarball archive for a repository.
1183  Note: For private repositories, these links are temporary and expire after five minutes.
1184  """
1185  tarballUrl: URI!
1186
1187  """Commit's root Tree"""
1188  tree: Tree!
1189
1190  """The HTTP path for the tree of this commit"""
1191  treeResourcePath: URI!
1192
1193  """The HTTP URL for the tree of this commit"""
1194  treeUrl: URI!
1195
1196  """The HTTP URL for this commit"""
1197  url: URI!
1198
1199  """
1200  Check if the viewer is able to change their subscription status for the repository.
1201  """
1202  viewerCanSubscribe: Boolean!
1203
1204  """
1205  Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.
1206  """
1207  viewerSubscription: SubscriptionState
1208
1209  """
1210  Returns a URL to download a zipball archive for a repository.
1211  Note: For private repositories, these links are temporary and expire after five minutes.
1212  """
1213  zipballUrl: URI!
1214}
1215
1216"""Specifies an author for filtering Git commits."""
1217input CommitAuthor {
1218  """
1219  ID of a User to filter by. If non-null, only commits authored by this user
1220  will be returned. This field takes precedence over emails.
1221  """
1222  id: ID
1223
1224  """
1225  Email addresses to filter by. Commits authored by any of the specified email addresses will be returned.
1226  """
1227  emails: [String!]
1228}
1229
1230"""Represents a comment on a given Commit."""
1231type CommitComment implements Node & Comment & Deletable & Updatable & UpdatableComment & Reactable & RepositoryNode {
1232  """The actor who authored the comment."""
1233  author: Actor
1234
1235  """Author's association with the subject of the comment."""
1236  authorAssociation: CommentAuthorAssociation!
1237
1238  """Identifies the comment body."""
1239  body: String!
1240
1241  """Identifies the comment body rendered to HTML."""
1242  bodyHTML: HTML!
1243
1244  """The body rendered to text."""
1245  bodyText: String!
1246
1247  """
1248  Identifies the commit associated with the comment, if the commit exists.
1249  """
1250  commit: Commit
1251
1252  """Identifies the date and time when the object was created."""
1253  createdAt: DateTime!
1254
1255  """Check if this comment was created via an email reply."""
1256  createdViaEmail: Boolean!
1257
1258  """Identifies the primary key from the database."""
1259  databaseId: Int
1260
1261  """The actor who edited the comment."""
1262  editor: Actor
1263  id: ID!
1264
1265  """
1266  Check if this comment was edited and includes an edit with the creation data
1267  """
1268  includesCreatedEdit: Boolean!
1269
1270  """Returns whether or not a comment has been minimized."""
1271  isMinimized: Boolean!
1272
1273  """The moment the editor made the last edit"""
1274  lastEditedAt: DateTime
1275
1276  """Returns why the comment was minimized."""
1277  minimizedReason: String
1278
1279  """Identifies the file path associated with the comment."""
1280  path: String
1281
1282  """Identifies the line position associated with the comment."""
1283  position: Int
1284
1285  """Identifies when the comment was published at."""
1286  publishedAt: DateTime
1287
1288  """A list of reactions grouped by content left on the subject."""
1289  reactionGroups: [ReactionGroup!]
1290
1291  """A list of Reactions left on the Issue."""
1292  reactions(
1293    """Returns the elements in the list that come after the specified cursor."""
1294    after: String
1295
1296    """
1297    Returns the elements in the list that come before the specified cursor.
1298    """
1299    before: String
1300
1301    """Returns the first _n_ elements from the list."""
1302    first: Int
1303
1304    """Returns the last _n_ elements from the list."""
1305    last: Int
1306
1307    """Allows filtering Reactions by emoji."""
1308    content: ReactionContent
1309
1310    """Allows specifying the order in which reactions are returned."""
1311    orderBy: ReactionOrder
1312  ): ReactionConnection!
1313
1314  """The repository associated with this node."""
1315  repository: Repository!
1316
1317  """The HTTP path permalink for this commit comment."""
1318  resourcePath: URI!
1319
1320  """Identifies the date and time when the object was last updated."""
1321  updatedAt: DateTime!
1322
1323  """The HTTP URL permalink for this commit comment."""
1324  url: URI!
1325
1326  """A list of edits to this content."""
1327  userContentEdits(
1328    """Returns the elements in the list that come after the specified cursor."""
1329    after: String
1330
1331    """
1332    Returns the elements in the list that come before the specified cursor.
1333    """
1334    before: String
1335
1336    """Returns the first _n_ elements from the list."""
1337    first: Int
1338
1339    """Returns the last _n_ elements from the list."""
1340    last: Int
1341  ): UserContentEditConnection
1342
1343  """Check if the current viewer can delete this object."""
1344  viewerCanDelete: Boolean!
1345
1346  """Check if the current viewer can minimize this object."""
1347  viewerCanMinimize: Boolean!
1348
1349  """Can user react to this subject"""
1350  viewerCanReact: Boolean!
1351
1352  """Check if the current viewer can update this object."""
1353  viewerCanUpdate: Boolean!
1354
1355  """Reasons why the current viewer can not update this comment."""
1356  viewerCannotUpdateReasons: [CommentCannotUpdateReason!]!
1357
1358  """Did the viewer author this comment."""
1359  viewerDidAuthor: Boolean!
1360}
1361
1362"""The connection type for CommitComment."""
1363type CommitCommentConnection {
1364  """A list of edges."""
1365  edges: [CommitCommentEdge]
1366
1367  """A list of nodes."""
1368  nodes: [CommitComment]
1369
1370  """Information to aid in pagination."""
1371  pageInfo: PageInfo!
1372
1373  """Identifies the total count of items in the connection."""
1374  totalCount: Int!
1375}
1376
1377"""An edge in a connection."""
1378type CommitCommentEdge {
1379  """A cursor for use in pagination."""
1380  cursor: String!
1381
1382  """The item at the end of the edge."""
1383  node: CommitComment
1384}
1385
1386"""A thread of comments on a commit."""
1387type CommitCommentThread implements Node & RepositoryNode {
1388  """The comments that exist in this thread."""
1389  comments(
1390    """Returns the elements in the list that come after the specified cursor."""
1391    after: String
1392
1393    """
1394    Returns the elements in the list that come before the specified cursor.
1395    """
1396    before: String
1397
1398    """Returns the first _n_ elements from the list."""
1399    first: Int
1400
1401    """Returns the last _n_ elements from the list."""
1402    last: Int
1403  ): CommitCommentConnection!
1404
1405  """The commit the comments were made on."""
1406  commit: Commit!
1407  id: ID!
1408
1409  """The file the comments were made on."""
1410  path: String
1411
1412  """The position in the diff for the commit that the comment was made on."""
1413  position: Int
1414
1415  """The repository associated with this node."""
1416  repository: Repository!
1417}
1418
1419"""The connection type for Commit."""
1420type CommitConnection {
1421  """A list of edges."""
1422  edges: [CommitEdge]
1423
1424  """A list of nodes."""
1425  nodes: [Commit]
1426
1427  """Information to aid in pagination."""
1428  pageInfo: PageInfo!
1429
1430  """Identifies the total count of items in the connection."""
1431  totalCount: Int!
1432}
1433
1434"""Ordering options for commit contribution connections."""
1435input CommitContributionOrder {
1436  """The field by which to order commit contributions."""
1437  field: CommitContributionOrderField!
1438
1439  """The ordering direction."""
1440  direction: OrderDirection!
1441}
1442
1443"""Properties by which commit contribution connections can be ordered."""
1444enum CommitContributionOrderField {
1445  """Order commit contributions by when they were made."""
1446  OCCURRED_AT
1447
1448  """Order commit contributions by how many commits they represent."""
1449  COMMIT_COUNT
1450}
1451
1452"""This aggregates commits made by a user within one repository."""
1453type CommitContributionsByRepository {
1454  """The commit contributions, each representing a day."""
1455  contributions(
1456    """Returns the elements in the list that come after the specified cursor."""
1457    after: String
1458
1459    """
1460    Returns the elements in the list that come before the specified cursor.
1461    """
1462    before: String
1463
1464    """Returns the first _n_ elements from the list."""
1465    first: Int
1466
1467    """Returns the last _n_ elements from the list."""
1468    last: Int
1469
1470    """
1471    Ordering options for commit contributions returned from the connection.
1472    """
1473    orderBy: CommitContributionOrder
1474  ): CreatedCommitContributionConnection!
1475
1476  """The repository in which the commits were made."""
1477  repository: Repository!
1478
1479  """
1480  The HTTP path for the user's commits to the repository in this time range.
1481  """
1482  resourcePath: URI!
1483
1484  """
1485  The HTTP URL for the user's commits to the repository in this time range.
1486  """
1487  url: URI!
1488}
1489
1490"""An edge in a connection."""
1491type CommitEdge {
1492  """A cursor for use in pagination."""
1493  cursor: String!
1494
1495  """The item at the end of the edge."""
1496  node: Commit
1497}
1498
1499"""The connection type for Commit."""
1500type CommitHistoryConnection {
1501  """A list of edges."""
1502  edges: [CommitEdge]
1503
1504  """A list of nodes."""
1505  nodes: [Commit]
1506
1507  """Information to aid in pagination."""
1508  pageInfo: PageInfo!
1509
1510  """Identifies the total count of items in the connection."""
1511  totalCount: Int!
1512}
1513
1514"""A content attachment"""
1515type ContentAttachment {
1516  """
1517  The body text of the content attachment. This parameter supports markdown.
1518  """
1519  body: String!
1520
1521  """The content reference that the content attachment is attached to."""
1522  contentReference: ContentReference!
1523
1524  """Identifies the primary key from the database."""
1525  databaseId: Int!
1526  id: ID!
1527
1528  """The title of the content attachment."""
1529  title: String!
1530}
1531
1532"""A content reference"""
1533type ContentReference {
1534  """Identifies the primary key from the database."""
1535  databaseId: Int!
1536  id: ID!
1537
1538  """The reference of the content reference."""
1539  reference: String!
1540}
1541
1542"""
1543Represents a contribution a user made on GitHub, such as opening an issue.
1544"""
1545interface Contribution {
1546  """
1547  Whether this contribution is associated with a record you do not have access to. For
1548  example, your own 'first issue' contribution may have been made on a repository you can no
1549  longer access.
1550
1551  """
1552  isRestricted: Boolean!
1553
1554  """When this contribution was made."""
1555  occurredAt: DateTime!
1556
1557  """The HTTP path for this contribution."""
1558  resourcePath: URI!
1559
1560  """The HTTP URL for this contribution."""
1561  url: URI!
1562
1563  """
1564  The user who made this contribution.
1565
1566  """
1567  user: User!
1568}
1569
1570"""A calendar of contributions made on GitHub by a user."""
1571type ContributionCalendar {
1572  """
1573  A list of hex color codes used in this calendar. The darker the color, the more contributions it represents.
1574  """
1575  colors: [String!]!
1576
1577  """
1578  Determine if the color set was chosen because it's currently Halloween.
1579  """
1580  isHalloween: Boolean!
1581
1582  """A list of the months of contributions in this calendar."""
1583  months: [ContributionCalendarMonth!]!
1584
1585  """The count of total contributions in the calendar."""
1586  totalContributions: Int!
1587
1588  """A list of the weeks of contributions in this calendar."""
1589  weeks: [ContributionCalendarWeek!]!
1590}
1591
1592"""Represents a single day of contributions on GitHub by a user."""
1593type ContributionCalendarDay {
1594  """
1595  The hex color code that represents how many contributions were made on this day compared to others in the calendar.
1596  """
1597  color: String!
1598
1599  """How many contributions were made by the user on this day."""
1600  contributionCount: Int!
1601
1602  """The day this square represents."""
1603  date: Date!
1604
1605  """
1606  A number representing which day of the week this square represents, e.g., 1 is Monday.
1607  """
1608  weekday: Int!
1609}
1610
1611"""A month of contributions in a user's contribution graph."""
1612type ContributionCalendarMonth {
1613  """The date of the first day of this month."""
1614  firstDay: Date!
1615
1616  """The name of the month."""
1617  name: String!
1618
1619  """How many weeks started in this month."""
1620  totalWeeks: Int!
1621
1622  """The year the month occurred in."""
1623  year: Int!
1624}
1625
1626"""A week of contributions in a user's contribution graph."""
1627type ContributionCalendarWeek {
1628  """The days of contributions in this week."""
1629  contributionDays: [ContributionCalendarDay!]!
1630
1631  """The date of the earliest square in this week."""
1632  firstDay: Date!
1633}
1634
1635"""Ordering options for contribution connections."""
1636input ContributionOrder {
1637  """The field by which to order contributions."""
1638  field: ContributionOrderField!
1639
1640  """The ordering direction."""
1641  direction: OrderDirection!
1642}
1643
1644"""Properties by which contribution connections can be ordered."""
1645enum ContributionOrderField {
1646  """Order contributions by when they were made."""
1647  OCCURRED_AT
1648}
1649
1650"""
1651A contributions collection aggregates contributions such as opened issues and commits created by a user.
1652"""
1653type ContributionsCollection {
1654  """Commit contributions made by the user, grouped by repository."""
1655  commitContributionsByRepository(
1656    """How many repositories should be included."""
1657    maxRepositories: Int = 25
1658  ): [CommitContributionsByRepository!]!
1659
1660  """A calendar of this user's contributions on GitHub."""
1661  contributionCalendar: ContributionCalendar!
1662
1663  """
1664  The years the user has been making contributions with the most recent year first.
1665  """
1666  contributionYears: [Int!]!
1667
1668  """
1669  Determine if this collection's time span ends in the current month.
1670
1671  """
1672  doesEndInCurrentMonth: Boolean!
1673
1674  """
1675  The date of the first restricted contribution the user made in this time
1676  period. Can only be non-null when the user has enabled private contribution counts.
1677  """
1678  earliestRestrictedContributionDate: Date
1679
1680  """The ending date and time of this collection."""
1681  endedAt: DateTime!
1682
1683  """
1684  The first issue the user opened on GitHub. This will be null if that issue was
1685  opened outside the collection's time range and ignoreTimeRange is false. If
1686  the issue is not visible but the user has opted to show private contributions,
1687  a RestrictedContribution will be returned.
1688  """
1689  firstIssueContribution(
1690    """
1691    If true, the first issue will be returned even if it was opened outside of the collection's time range.
1692
1693    **Upcoming Change on 2019-07-01 UTC**
1694    **Description:** `ignoreTimeRange` will be removed. Use a `ContributionsCollection` starting sufficiently far back
1695    **Reason:** ignore_time_range will be removed
1696
1697    """
1698    ignoreTimeRange: Boolean = false
1699  ): CreatedIssueOrRestrictedContribution
1700
1701  """
1702  The first pull request the user opened on GitHub. This will be null if that
1703  pull request was opened outside the collection's time range and
1704  ignoreTimeRange is not true. If the pull request is not visible but the user
1705  has opted to show private contributions, a RestrictedContribution will be returned.
1706  """
1707  firstPullRequestContribution(
1708    """
1709    If true, the first pull request will be returned even if it was opened outside of the collection's time range.
1710
1711    **Upcoming Change on 2019-07-01 UTC**
1712    **Description:** `ignoreTimeRange` will be removed. Use a `ContributionsCollection` starting sufficiently far back
1713    **Reason:** ignore_time_range will be removed
1714
1715    """
1716    ignoreTimeRange: Boolean = false
1717  ): CreatedPullRequestOrRestrictedContribution
1718
1719  """
1720  The first repository the user created on GitHub. This will be null if that
1721  first repository was created outside the collection's time range and
1722  ignoreTimeRange is false. If the repository is not visible, then a
1723  RestrictedContribution is returned.
1724  """
1725  firstRepositoryContribution(
1726    """
1727    If true, the first repository will be returned even if it was opened outside of the collection's time range.
1728
1729    **Upcoming Change on 2019-07-01 UTC**
1730    **Description:** `ignoreTimeRange` will be removed. Use a `ContributionsCollection` starting sufficiently far back
1731    **Reason:** ignore_time_range will be removed
1732
1733    """
1734    ignoreTimeRange: Boolean = false
1735  ): CreatedRepositoryOrRestrictedContribution
1736
1737  """
1738  Does the user have any more activity in the timeline that occurred prior to the collection's time range?
1739  """
1740  hasActivityInThePast: Boolean!
1741
1742  """Determine if there are any contributions in this collection."""
1743  hasAnyContributions: Boolean!
1744
1745  """
1746  Determine if the user made any contributions in this time frame whose details
1747  are not visible because they were made in a private repository. Can only be
1748  true if the user enabled private contribution counts.
1749  """
1750  hasAnyRestrictedContributions: Boolean!
1751
1752  """Whether or not the collector's time span is all within the same day."""
1753  isSingleDay: Boolean!
1754
1755  """A list of issues the user opened."""
1756  issueContributions(
1757    """Returns the elements in the list that come after the specified cursor."""
1758    after: String
1759
1760    """
1761    Returns the elements in the list that come before the specified cursor.
1762    """
1763    before: String
1764
1765    """Returns the first _n_ elements from the list."""
1766    first: Int
1767
1768    """Returns the last _n_ elements from the list."""
1769    last: Int
1770
1771    """Should the user's first issue ever be excluded from the result."""
1772    excludeFirst: Boolean = false
1773
1774    """Should the user's most commented issue be excluded from the result."""
1775    excludePopular: Boolean = false
1776
1777    """Ordering options for contributions returned from the connection."""
1778    orderBy: ContributionOrder
1779  ): CreatedIssueContributionConnection!
1780
1781  """Issue contributions made by the user, grouped by repository."""
1782  issueContributionsByRepository(
1783    """How many repositories should be included."""
1784    maxRepositories: Int = 25
1785
1786    """Should the user's first issue ever be excluded from the result."""
1787    excludeFirst: Boolean = false
1788
1789    """Should the user's most commented issue be excluded from the result."""
1790    excludePopular: Boolean = false
1791  ): [IssueContributionsByRepository!]!
1792
1793  """
1794  When the user signed up for GitHub. This will be null if that sign up date
1795  falls outside the collection's time range and ignoreTimeRange is false.
1796  """
1797  joinedGitHubContribution(
1798    """
1799    If true, the contribution will be returned even if the user signed up outside of the collection's time range.
1800
1801    **Upcoming Change on 2019-07-01 UTC**
1802    **Description:** `ignoreTimeRange` will be removed. Use a `ContributionsCollection` starting sufficiently far back
1803    **Reason:** ignore_time_range will be removed
1804
1805    """
1806    ignoreTimeRange: Boolean = false
1807  ): JoinedGitHubContribution
1808
1809  """
1810  The date of the most recent restricted contribution the user made in this time
1811  period. Can only be non-null when the user has enabled private contribution counts.
1812  """
1813  latestRestrictedContributionDate: Date
1814
1815  """
1816  When this collection's time range does not include any activity from the user, use this
1817  to get a different collection from an earlier time range that does have activity.
1818
1819  """
1820  mostRecentCollectionWithActivity: ContributionsCollection
1821
1822  """
1823  Returns a different contributions collection from an earlier time range than this one
1824  that does not have any contributions.
1825
1826  """
1827  mostRecentCollectionWithoutActivity: ContributionsCollection
1828
1829  """
1830  The issue the user opened on GitHub that received the most comments in the specified
1831  time frame.
1832
1833  """
1834  popularIssueContribution: CreatedIssueContribution
1835
1836  """
1837  The pull request the user opened on GitHub that received the most comments in the
1838  specified time frame.
1839
1840  """
1841  popularPullRequestContribution: CreatedPullRequestContribution
1842
1843  """Pull request contributions made by the user."""
1844  pullRequestContributions(
1845    """Returns the elements in the list that come after the specified cursor."""
1846    after: String
1847
1848    """
1849    Returns the elements in the list that come before the specified cursor.
1850    """
1851    before: String
1852
1853    """Returns the first _n_ elements from the list."""
1854    first: Int
1855
1856    """Returns the last _n_ elements from the list."""
1857    last: Int
1858
1859    """Should the user's first pull request ever be excluded from the result."""
1860    excludeFirst: Boolean = false
1861
1862    """
1863    Should the user's most commented pull request be excluded from the result.
1864    """
1865    excludePopular: Boolean = false
1866
1867    """Ordering options for contributions returned from the connection."""
1868    orderBy: ContributionOrder
1869  ): CreatedPullRequestContributionConnection!
1870
1871  """Pull request contributions made by the user, grouped by repository."""
1872  pullRequestContributionsByRepository(
1873    """How many repositories should be included."""
1874    maxRepositories: Int = 25
1875
1876    """Should the user's first pull request ever be excluded from the result."""
1877    excludeFirst: Boolean = false
1878
1879    """
1880    Should the user's most commented pull request be excluded from the result.
1881    """
1882    excludePopular: Boolean = false
1883  ): [PullRequestContributionsByRepository!]!
1884
1885  """Pull request review contributions made by the user."""
1886  pullRequestReviewContributions(
1887    """Returns the elements in the list that come after the specified cursor."""
1888    after: String
1889
1890    """
1891    Returns the elements in the list that come before the specified cursor.
1892    """
1893    before: String
1894
1895    """Returns the first _n_ elements from the list."""
1896    first: Int
1897
1898    """Returns the last _n_ elements from the list."""
1899    last: Int
1900
1901    """Ordering options for contributions returned from the connection."""
1902    orderBy: ContributionOrder
1903  ): CreatedPullRequestReviewContributionConnection!
1904
1905  """
1906  Pull request review contributions made by the user, grouped by repository.
1907  """
1908  pullRequestReviewContributionsByRepository(
1909    """How many repositories should be included."""
1910    maxRepositories: Int = 25
1911  ): [PullRequestReviewContributionsByRepository!]!
1912
1913  """
1914  A list of repositories owned by the user that the user created in this time range.
1915  """
1916  repositoryContributions(
1917    """Returns the elements in the list that come after the specified cursor."""
1918    after: String
1919
1920    """
1921    Returns the elements in the list that come before the specified cursor.
1922    """
1923    before: String
1924
1925    """Returns the first _n_ elements from the list."""
1926    first: Int
1927
1928    """Returns the last _n_ elements from the list."""
1929    last: Int
1930
1931    """Should the user's first repository ever be excluded from the result."""
1932    excludeFirst: Boolean = false
1933
1934    """Ordering options for contributions returned from the connection."""
1935    orderBy: ContributionOrder
1936  ): CreatedRepositoryContributionConnection!
1937
1938  """
1939  A count of contributions made by the user that the viewer cannot access. Only
1940  non-zero when the user has chosen to share their private contribution counts.
1941  """
1942  restrictedContributionsCount: Int!
1943
1944  """The beginning date and time of this collection."""
1945  startedAt: DateTime!
1946
1947  """How many commits were made by the user in this time span."""
1948  totalCommitContributions: Int!
1949
1950  """How many issues the user opened."""
1951  totalIssueContributions(
1952    """Should the user's first issue ever be excluded from this count."""
1953    excludeFirst: Boolean = false
1954
1955    """Should the user's most commented issue be excluded from this count."""
1956    excludePopular: Boolean = false
1957  ): Int!
1958
1959  """How many pull requests the user opened."""
1960  totalPullRequestContributions(
1961    """Should the user's first pull request ever be excluded from this count."""
1962    excludeFirst: Boolean = false
1963
1964    """
1965    Should the user's most commented pull request be excluded from this count.
1966    """
1967    excludePopular: Boolean = false
1968  ): Int!
1969
1970  """How many pull request reviews the user left."""
1971  totalPullRequestReviewContributions: Int!
1972
1973  """How many different repositories the user committed to."""
1974  totalRepositoriesWithContributedCommits: Int!
1975
1976  """How many different repositories the user opened issues in."""
1977  totalRepositoriesWithContributedIssues(
1978    """Should the user's first issue ever be excluded from this count."""
1979    excludeFirst: Boolean = false
1980
1981    """Should the user's most commented issue be excluded from this count."""
1982    excludePopular: Boolean = false
1983  ): Int!
1984
1985  """How many different repositories the user left pull request reviews in."""
1986  totalRepositoriesWithContributedPullRequestReviews: Int!
1987
1988  """How many different repositories the user opened pull requests in."""
1989  totalRepositoriesWithContributedPullRequests(
1990    """Should the user's first pull request ever be excluded from this count."""
1991    excludeFirst: Boolean = false
1992
1993    """
1994    Should the user's most commented pull request be excluded from this count.
1995    """
1996    excludePopular: Boolean = false
1997  ): Int!
1998
1999  """How many repositories the user created."""
2000  totalRepositoryContributions(
2001    """Should the user's first repository ever be excluded from this count."""
2002    excludeFirst: Boolean = false
2003  ): Int!
2004
2005  """The user who made the contributions in this collection."""
2006  user: User!
2007}
2008
2009"""
2010Represents a 'converted_note_to_issue' event on a given issue or pull request.
2011"""
2012type ConvertedNoteToIssueEvent implements Node {
2013  """Identifies the actor who performed the event."""
2014  actor: Actor
2015
2016  """Identifies the date and time when the object was created."""
2017  createdAt: DateTime!
2018
2019  """Identifies the primary key from the database."""
2020  databaseId: Int
2021  id: ID!
2022}
2023
2024"""Autogenerated input type of ConvertProjectCardNoteToIssue"""
2025input ConvertProjectCardNoteToIssueInput {
2026  """The ProjectCard ID to convert."""
2027  projectCardId: ID!
2028
2029  """The ID of the repository to create the issue in."""
2030  repositoryId: ID!
2031
2032  """
2033  The title of the newly created issue. Defaults to the card's note text.
2034  """
2035  title: String
2036
2037  """The body of the newly created issue."""
2038  body: String
2039
2040  """A unique identifier for the client performing the mutation."""
2041  clientMutationId: String
2042}
2043
2044"""Autogenerated return type of ConvertProjectCardNoteToIssue"""
2045type ConvertProjectCardNoteToIssuePayload {
2046  """A unique identifier for the client performing the mutation."""
2047  clientMutationId: String
2048
2049  """The updated ProjectCard."""
2050  projectCard: ProjectCard
2051}
2052
2053"""Autogenerated input type of CreateBranchProtectionRule"""
2054input CreateBranchProtectionRuleInput {
2055  """
2056  The global relay id of the repository in which a new branch protection rule should be created in.
2057  """
2058  repositoryId: ID!
2059
2060  """The glob-like pattern used to determine matching branches."""
2061  pattern: String!
2062
2063  """Are approving reviews required to update matching branches."""
2064  requiresApprovingReviews: Boolean
2065
2066  """Number of approving reviews required to update matching branches."""
2067  requiredApprovingReviewCount: Int
2068
2069  """Are commits required to be signed."""
2070  requiresCommitSignatures: Boolean
2071
2072  """Can admins overwrite branch protection."""
2073  isAdminEnforced: Boolean
2074
2075  """Are status checks required to update matching branches."""
2076  requiresStatusChecks: Boolean
2077
2078  """Are branches required to be up to date before merging."""
2079  requiresStrictStatusChecks: Boolean
2080
2081  """Are reviews from code owners required to update matching branches."""
2082  requiresCodeOwnerReviews: Boolean
2083
2084  """
2085  Will new commits pushed to matching branches dismiss pull request review approvals.
2086  """
2087  dismissesStaleReviews: Boolean
2088
2089  """Is dismissal of pull request reviews restricted."""
2090  restrictsReviewDismissals: Boolean
2091
2092  """
2093  A list of User or Team IDs allowed to dismiss reviews on pull requests targeting matching branches.
2094  """
2095  reviewDismissalActorIds: [ID!]
2096
2097  """Is pushing to matching branches restricted."""
2098  restrictsPushes: Boolean
2099
2100  """A list of User or Team IDs allowed to push to matching branches."""
2101  pushActorIds: [ID!]
2102
2103  """
2104  List of required status check contexts that must pass for commits to be accepted to matching branches.
2105  """
2106  requiredStatusCheckContexts: [String!]
2107
2108  """A unique identifier for the client performing the mutation."""
2109  clientMutationId: String
2110}
2111
2112"""Autogenerated return type of CreateBranchProtectionRule"""
2113type CreateBranchProtectionRulePayload {
2114  """The newly created BranchProtectionRule."""
2115  branchProtectionRule: BranchProtectionRule
2116
2117  """A unique identifier for the client performing the mutation."""
2118  clientMutationId: String
2119}
2120
2121"""Autogenerated input type of CreateContentAttachment"""
2122input CreateContentAttachmentInput {
2123  """The node ID of the content_reference."""
2124  contentReferenceId: ID!
2125
2126  """The title of the content attachment."""
2127  title: String!
2128
2129  """The body of the content attachment, which may contain markdown."""
2130  body: String!
2131
2132  """A unique identifier for the client performing the mutation."""
2133  clientMutationId: String
2134}
2135
2136"""Represents the contribution a user made by committing to a repository."""
2137type CreatedCommitContribution implements Contribution {
2138  """How many commits were made on this day to this repository by the user."""
2139  commitCount: Int!
2140
2141  """
2142  Whether this contribution is associated with a record you do not have access to. For
2143  example, your own 'first issue' contribution may have been made on a repository you can no
2144  longer access.
2145
2146  """
2147  isRestricted: Boolean!
2148
2149  """When this contribution was made."""
2150  occurredAt: DateTime!
2151
2152  """The repository the user made a commit in."""
2153  repository: Repository!
2154
2155  """The HTTP path for this contribution."""
2156  resourcePath: URI!
2157
2158  """The HTTP URL for this contribution."""
2159  url: URI!
2160
2161  """
2162  The user who made this contribution.
2163
2164  """
2165  user: User!
2166}
2167
2168"""The connection type for CreatedCommitContribution."""
2169type CreatedCommitContributionConnection {
2170  """A list of edges."""
2171  edges: [CreatedCommitContributionEdge]
2172
2173  """A list of nodes."""
2174  nodes: [CreatedCommitContribution]
2175
2176  """Information to aid in pagination."""
2177  pageInfo: PageInfo!
2178
2179  """
2180  Identifies the total count of commits across days and repositories in the connection.
2181
2182  """
2183  totalCount: Int!
2184}
2185
2186"""An edge in a connection."""
2187type CreatedCommitContributionEdge {
2188  """A cursor for use in pagination."""
2189  cursor: String!
2190
2191  """The item at the end of the edge."""
2192  node: CreatedCommitContribution
2193}
2194
2195"""Represents the contribution a user made on GitHub by opening an issue."""
2196type CreatedIssueContribution implements Contribution {
2197  """
2198  Whether this contribution is associated with a record you do not have access to. For
2199  example, your own 'first issue' contribution may have been made on a repository you can no
2200  longer access.
2201
2202  """
2203  isRestricted: Boolean!
2204
2205  """The issue that was opened."""
2206  issue: Issue!
2207
2208  """When this contribution was made."""
2209  occurredAt: DateTime!
2210
2211  """The HTTP path for this contribution."""
2212  resourcePath: URI!
2213
2214  """The HTTP URL for this contribution."""
2215  url: URI!
2216
2217  """
2218  The user who made this contribution.
2219
2220  """
2221  user: User!
2222}
2223
2224"""The connection type for CreatedIssueContribution."""
2225type CreatedIssueContributionConnection {
2226  """A list of edges."""
2227  edges: [CreatedIssueContributionEdge]
2228
2229  """A list of nodes."""
2230  nodes: [CreatedIssueContribution]
2231
2232  """Information to aid in pagination."""
2233  pageInfo: PageInfo!
2234
2235  """Identifies the total count of items in the connection."""
2236  totalCount: Int!
2237}
2238
2239"""An edge in a connection."""
2240type CreatedIssueContributionEdge {
2241  """A cursor for use in pagination."""
2242  cursor: String!
2243
2244  """The item at the end of the edge."""
2245  node: CreatedIssueContribution
2246}
2247
2248"""
2249Represents either a issue the viewer can access or a restricted contribution.
2250"""
2251union CreatedIssueOrRestrictedContribution = CreatedIssueContribution | RestrictedContribution
2252
2253"""
2254Represents the contribution a user made on GitHub by opening a pull request.
2255"""
2256type CreatedPullRequestContribution implements Contribution {
2257  """
2258  Whether this contribution is associated with a record you do not have access to. For
2259  example, your own 'first issue' contribution may have been made on a repository you can no
2260  longer access.
2261
2262  """
2263  isRestricted: Boolean!
2264
2265  """When this contribution was made."""
2266  occurredAt: DateTime!
2267
2268  """The pull request that was opened."""
2269  pullRequest: PullRequest!
2270
2271  """The HTTP path for this contribution."""
2272  resourcePath: URI!
2273
2274  """The HTTP URL for this contribution."""
2275  url: URI!
2276
2277  """
2278  The user who made this contribution.
2279
2280  """
2281  user: User!
2282}
2283
2284"""The connection type for CreatedPullRequestContribution."""
2285type CreatedPullRequestContributionConnection {
2286  """A list of edges."""
2287  edges: [CreatedPullRequestContributionEdge]
2288
2289  """A list of nodes."""
2290  nodes: [CreatedPullRequestContribution]
2291
2292  """Information to aid in pagination."""
2293  pageInfo: PageInfo!
2294
2295  """Identifies the total count of items in the connection."""
2296  totalCount: Int!
2297}
2298
2299"""An edge in a connection."""
2300type CreatedPullRequestContributionEdge {
2301  """A cursor for use in pagination."""
2302  cursor: String!
2303
2304  """The item at the end of the edge."""
2305  node: CreatedPullRequestContribution
2306}
2307
2308"""
2309Represents either a pull request the viewer can access or a restricted contribution.
2310"""
2311union CreatedPullRequestOrRestrictedContribution = CreatedPullRequestContribution | RestrictedContribution
2312
2313"""
2314Represents the contribution a user made by leaving a review on a pull request.
2315"""
2316type CreatedPullRequestReviewContribution implements Contribution {
2317  """
2318  Whether this contribution is associated with a record you do not have access to. For
2319  example, your own 'first issue' contribution may have been made on a repository you can no
2320  longer access.
2321
2322  """
2323  isRestricted: Boolean!
2324
2325  """When this contribution was made."""
2326  occurredAt: DateTime!
2327
2328  """The pull request the user reviewed."""
2329  pullRequest: PullRequest!
2330
2331  """The review the user left on the pull request."""
2332  pullRequestReview: PullRequestReview!
2333
2334  """The repository containing the pull request that the user reviewed."""
2335  repository: Repository!
2336
2337  """The HTTP path for this contribution."""
2338  resourcePath: URI!
2339
2340  """The HTTP URL for this contribution."""
2341  url: URI!
2342
2343  """
2344  The user who made this contribution.
2345
2346  """
2347  user: User!
2348}
2349
2350"""The connection type for CreatedPullRequestReviewContribution."""
2351type CreatedPullRequestReviewContributionConnection {
2352  """A list of edges."""
2353  edges: [CreatedPullRequestReviewContributionEdge]
2354
2355  """A list of nodes."""
2356  nodes: [CreatedPullRequestReviewContribution]
2357
2358  """Information to aid in pagination."""
2359  pageInfo: PageInfo!
2360
2361  """Identifies the total count of items in the connection."""
2362  totalCount: Int!
2363}
2364
2365"""An edge in a connection."""
2366type CreatedPullRequestReviewContributionEdge {
2367  """A cursor for use in pagination."""
2368  cursor: String!
2369
2370  """The item at the end of the edge."""
2371  node: CreatedPullRequestReviewContribution
2372}
2373
2374"""
2375Represents the contribution a user made on GitHub by creating a repository.
2376"""
2377type CreatedRepositoryContribution implements Contribution {
2378  """
2379  Whether this contribution is associated with a record you do not have access to. For
2380  example, your own 'first issue' contribution may have been made on a repository you can no
2381  longer access.
2382
2383  """
2384  isRestricted: Boolean!
2385
2386  """When this contribution was made."""
2387  occurredAt: DateTime!
2388
2389  """The repository that was created."""
2390  repository: Repository!
2391
2392  """The HTTP path for this contribution."""
2393  resourcePath: URI!
2394
2395  """The HTTP URL for this contribution."""
2396  url: URI!
2397
2398  """
2399  The user who made this contribution.
2400
2401  """
2402  user: User!
2403}
2404
2405"""The connection type for CreatedRepositoryContribution."""
2406type CreatedRepositoryContributionConnection {
2407  """A list of edges."""
2408  edges: [CreatedRepositoryContributionEdge]
2409
2410  """A list of nodes."""
2411  nodes: [CreatedRepositoryContribution]
2412
2413  """Information to aid in pagination."""
2414  pageInfo: PageInfo!
2415
2416  """Identifies the total count of items in the connection."""
2417  totalCount: Int!
2418}
2419
2420"""An edge in a connection."""
2421type CreatedRepositoryContributionEdge {
2422  """A cursor for use in pagination."""
2423  cursor: String!
2424
2425  """The item at the end of the edge."""
2426  node: CreatedRepositoryContribution
2427}
2428
2429"""
2430Represents either a repository the viewer can access or a restricted contribution.
2431"""
2432union CreatedRepositoryOrRestrictedContribution = CreatedRepositoryContribution | RestrictedContribution
2433
2434"""Autogenerated input type of CreateIssue"""
2435input CreateIssueInput {
2436  """The Node ID of the repository."""
2437  repositoryId: ID!
2438
2439  """The title for the issue."""
2440  title: String!
2441
2442  """The body for the issue description."""
2443  body: String
2444
2445  """The Node ID for the user assignee for this issue."""
2446  assigneeIds: [ID!]
2447
2448  """The Node ID of the milestone for this issue."""
2449  milestoneId: ID
2450
2451  """An array of Node IDs of labels for this issue."""
2452  labelIds: [ID!]
2453
2454  """An array of Node IDs for projects associated with this issue."""
2455  projectIds: [ID!]
2456
2457  """A unique identifier for the client performing the mutation."""
2458  clientMutationId: String
2459}
2460
2461"""Autogenerated return type of CreateIssue"""
2462type CreateIssuePayload {
2463  """A unique identifier for the client performing the mutation."""
2464  clientMutationId: String
2465
2466  """The new issue."""
2467  issue: Issue
2468}
2469
2470"""Autogenerated input type of CreateProject"""
2471input CreateProjectInput {
2472  """The owner ID to create the project under."""
2473  ownerId: ID!
2474
2475  """The name of project."""
2476  name: String!
2477
2478  """The description of project."""
2479  body: String
2480
2481  """A unique identifier for the client performing the mutation."""
2482  clientMutationId: String
2483}
2484
2485"""Autogenerated return type of CreateProject"""
2486type CreateProjectPayload {
2487  """A unique identifier for the client performing the mutation."""
2488  clientMutationId: String
2489
2490  """The new project."""
2491  project: Project
2492}
2493
2494"""Autogenerated input type of CreatePullRequest"""
2495input CreatePullRequestInput {
2496  """The Node ID of the repository."""
2497  repositoryId: ID!
2498
2499  """
2500  The name of the branch you want your changes pulled into. This should be an existing branch
2501  on the current repository. You cannot update the base branch on a pull request to point
2502  to another repository.
2503
2504  """
2505  baseRefName: String!
2506
2507  """
2508  The name of the branch where your changes are implemented. For cross-repository pull requests
2509  in the same network, namespace `head_ref_name` with a user like this: `username:branch`.
2510
2511  """
2512  headRefName: String!
2513
2514  """The title of the pull request."""
2515  title: String!
2516
2517  """The contents of the pull request."""
2518  body: String
2519
2520  """Indicates whether maintainers can modify the pull request."""
2521  maintainerCanModify: Boolean = true
2522
2523  """A unique identifier for the client performing the mutation."""
2524  clientMutationId: String
2525}
2526
2527"""Autogenerated return type of CreatePullRequest"""
2528type CreatePullRequestPayload {
2529  """A unique identifier for the client performing the mutation."""
2530  clientMutationId: String
2531
2532  """The new pull request."""
2533  pullRequest: PullRequest
2534}
2535
2536"""Represents a mention made by one issue or pull request to another."""
2537type CrossReferencedEvent implements Node & UniformResourceLocatable {
2538  """Identifies the actor who performed the event."""
2539  actor: Actor
2540
2541  """Identifies the date and time when the object was created."""
2542  createdAt: DateTime!
2543  id: ID!
2544
2545  """Reference originated in a different repository."""
2546  isCrossRepository: Boolean!
2547
2548  """Identifies when the reference was made."""
2549  referencedAt: DateTime!
2550
2551  """The HTTP path for this pull request."""
2552  resourcePath: URI!
2553
2554  """Issue or pull request that made the reference."""
2555  source: ReferencedSubject!
2556
2557  """Issue or pull request to which the reference was made."""
2558  target: ReferencedSubject!
2559
2560  """The HTTP URL for this pull request."""
2561  url: URI!
2562
2563  """Checks if the target will be closed when the source is merged."""
2564  willCloseTarget: Boolean!
2565}
2566
2567"""An ISO-8601 encoded date string."""
2568scalar Date
2569
2570"""An ISO-8601 encoded UTC date string."""
2571scalar DateTime
2572
2573"""Autogenerated input type of DeclineTopicSuggestion"""
2574input DeclineTopicSuggestionInput {
2575  """The Node ID of the repository."""
2576  repositoryId: ID!
2577
2578  """The name of the suggested topic."""
2579  name: String!
2580
2581  """The reason why the suggested topic is declined."""
2582  reason: TopicSuggestionDeclineReason!
2583
2584  """A unique identifier for the client performing the mutation."""
2585  clientMutationId: String
2586}
2587
2588"""Autogenerated return type of DeclineTopicSuggestion"""
2589type DeclineTopicSuggestionPayload {
2590  """A unique identifier for the client performing the mutation."""
2591  clientMutationId: String
2592
2593  """The declined topic."""
2594  topic: Topic
2595}
2596
2597"""The possible default permissions for repositories."""
2598enum DefaultRepositoryPermissionField {
2599  """No access"""
2600  NONE
2601
2602  """Can read repos by default"""
2603  READ
2604
2605  """Can read and write repos by default"""
2606  WRITE
2607
2608  """Can read, write, and administrate repos by default"""
2609  ADMIN
2610}
2611
2612"""Entities that can be deleted."""
2613interface Deletable {
2614  """Check if the current viewer can delete this object."""
2615  viewerCanDelete: Boolean!
2616}
2617
2618"""Autogenerated input type of DeleteBranchProtectionRule"""
2619input DeleteBranchProtectionRuleInput {
2620  """The global relay id of the branch protection rule to be deleted."""
2621  branchProtectionRuleId: ID!
2622
2623  """A unique identifier for the client performing the mutation."""
2624  clientMutationId: String
2625}
2626
2627"""Autogenerated return type of DeleteBranchProtectionRule"""
2628type DeleteBranchProtectionRulePayload {
2629  """A unique identifier for the client performing the mutation."""
2630  clientMutationId: String
2631}
2632
2633"""Autogenerated input type of DeleteIssueComment"""
2634input DeleteIssueCommentInput {
2635  """The ID of the comment to delete."""
2636  id: ID!
2637
2638  """A unique identifier for the client performing the mutation."""
2639  clientMutationId: String
2640}
2641
2642"""Autogenerated return type of DeleteIssueComment"""
2643type DeleteIssueCommentPayload {
2644  """A unique identifier for the client performing the mutation."""
2645  clientMutationId: String
2646}
2647
2648"""Autogenerated input type of DeleteIssue"""
2649input DeleteIssueInput {
2650  """The ID of the issue to delete."""
2651  issueId: ID!
2652
2653  """A unique identifier for the client performing the mutation."""
2654  clientMutationId: String
2655}
2656
2657"""Autogenerated return type of DeleteIssue"""
2658type DeleteIssuePayload {
2659  """A unique identifier for the client performing the mutation."""
2660  clientMutationId: String
2661
2662  """The repository the issue belonged to"""
2663  repository: Repository
2664}
2665
2666"""Autogenerated input type of DeleteProjectCard"""
2667input DeleteProjectCardInput {
2668  """The id of the card to delete."""
2669  cardId: ID!
2670
2671  """A unique identifier for the client performing the mutation."""
2672  clientMutationId: String
2673}
2674
2675"""Autogenerated return type of DeleteProjectCard"""
2676type DeleteProjectCardPayload {
2677  """A unique identifier for the client performing the mutation."""
2678  clientMutationId: String
2679
2680  """The column the deleted card was in."""
2681  column: ProjectColumn
2682
2683  """The deleted card ID."""
2684  deletedCardId: ID
2685}
2686
2687"""Autogenerated input type of DeleteProjectColumn"""
2688input DeleteProjectColumnInput {
2689  """The id of the column to delete."""
2690  columnId: ID!
2691
2692  """A unique identifier for the client performing the mutation."""
2693  clientMutationId: String
2694}
2695
2696"""Autogenerated return type of DeleteProjectColumn"""
2697type DeleteProjectColumnPayload {
2698  """A unique identifier for the client performing the mutation."""
2699  clientMutationId: String
2700
2701  """The deleted column ID."""
2702  deletedColumnId: ID
2703
2704  """The project the deleted column was in."""
2705  project: Project
2706}
2707
2708"""Autogenerated input type of DeleteProject"""
2709input DeleteProjectInput {
2710  """The Project ID to update."""
2711  projectId: ID!
2712
2713  """A unique identifier for the client performing the mutation."""
2714  clientMutationId: String
2715}
2716
2717"""Autogenerated return type of DeleteProject"""
2718type DeleteProjectPayload {
2719  """A unique identifier for the client performing the mutation."""
2720  clientMutationId: String
2721
2722  """The repository or organization the project was removed from."""
2723  owner: ProjectOwner
2724}
2725
2726"""Autogenerated input type of DeletePullRequestReviewComment"""
2727input DeletePullRequestReviewCommentInput {
2728  """The ID of the comment to delete."""
2729  id: ID!
2730
2731  """A unique identifier for the client performing the mutation."""
2732  clientMutationId: String
2733}
2734
2735"""Autogenerated return type of DeletePullRequestReviewComment"""
2736type DeletePullRequestReviewCommentPayload {
2737  """A unique identifier for the client performing the mutation."""
2738  clientMutationId: String
2739
2740  """The pull request review the deleted comment belonged to."""
2741  pullRequestReview: PullRequestReview
2742}
2743
2744"""Autogenerated input type of DeletePullRequestReview"""
2745input DeletePullRequestReviewInput {
2746  """The Node ID of the pull request review to delete."""
2747  pullRequestReviewId: ID!
2748
2749  """A unique identifier for the client performing the mutation."""
2750  clientMutationId: String
2751}
2752
2753"""Autogenerated return type of DeletePullRequestReview"""
2754type DeletePullRequestReviewPayload {
2755  """A unique identifier for the client performing the mutation."""
2756  clientMutationId: String
2757
2758  """The deleted pull request review."""
2759  pullRequestReview: PullRequestReview
2760}
2761
2762"""Represents a 'demilestoned' event on a given issue or pull request."""
2763type DemilestonedEvent implements Node {
2764  """Identifies the actor who performed the event."""
2765  actor: Actor
2766
2767  """Identifies the date and time when the object was created."""
2768  createdAt: DateTime!
2769  id: ID!
2770
2771  """
2772  Identifies the milestone title associated with the 'demilestoned' event.
2773  """
2774  milestoneTitle: String!
2775
2776  """Object referenced by event."""
2777  subject: MilestoneItem!
2778}
2779
2780"""Represents a 'deployed' event on a given pull request."""
2781type DeployedEvent implements Node {
2782  """Identifies the actor who performed the event."""
2783  actor: Actor
2784
2785  """Identifies the date and time when the object was created."""
2786  createdAt: DateTime!
2787
2788  """Identifies the primary key from the database."""
2789  databaseId: Int
2790
2791  """The deployment associated with the 'deployed' event."""
2792  deployment: Deployment!
2793  id: ID!
2794
2795  """PullRequest referenced by event."""
2796  pullRequest: PullRequest!
2797
2798  """The ref associated with the 'deployed' event."""
2799  ref: Ref
2800}
2801
2802"""A repository deploy key."""
2803type DeployKey implements Node {
2804  """Identifies the date and time when the object was created."""
2805  createdAt: DateTime!
2806  id: ID!
2807
2808  """The deploy key."""
2809  key: String!
2810
2811  """Whether or not the deploy key is read only."""
2812  readOnly: Boolean!
2813
2814  """The deploy key title."""
2815  title: String!
2816
2817  """Whether or not the deploy key has been verified."""
2818  verified: Boolean!
2819}
2820
2821"""The connection type for DeployKey."""
2822type DeployKeyConnection {
2823  """A list of edges."""
2824  edges: [DeployKeyEdge]
2825
2826  """A list of nodes."""
2827  nodes: [DeployKey]
2828
2829  """Information to aid in pagination."""
2830  pageInfo: PageInfo!
2831
2832  """Identifies the total count of items in the connection."""
2833  totalCount: Int!
2834}
2835
2836"""An edge in a connection."""
2837type DeployKeyEdge {
2838  """A cursor for use in pagination."""
2839  cursor: String!
2840
2841  """The item at the end of the edge."""
2842  node: DeployKey
2843}
2844
2845"""Represents triggered deployment instance."""
2846type Deployment implements Node {
2847  """Identifies the commit sha of the deployment."""
2848  commit: Commit
2849
2850  """
2851  Identifies the oid of the deployment commit, even if the commit has been deleted.
2852  """
2853  commitOid: String!
2854
2855  """Identifies the date and time when the object was created."""
2856  createdAt: DateTime!
2857
2858  """Identifies the actor who triggered the deployment."""
2859  creator: Actor
2860
2861  """Identifies the primary key from the database."""
2862  databaseId: Int
2863
2864  """The deployment description."""
2865  description: String
2866
2867  """The environment to which this deployment was made."""
2868  environment: String
2869  id: ID!
2870
2871  """The latest status of this deployment."""
2872  latestStatus: DeploymentStatus
2873
2874  """Extra information that a deployment system might need."""
2875  payload: String
2876
2877  """
2878  Identifies the Ref of the deployment, if the deployment was created by ref.
2879  """
2880  ref: Ref
2881
2882  """Identifies the repository associated with the deployment."""
2883  repository: Repository!
2884
2885  """The current state of the deployment."""
2886  state: DeploymentState
2887
2888  """A list of statuses associated with the deployment."""
2889  statuses(
2890    """Returns the elements in the list that come after the specified cursor."""
2891    after: String
2892
2893    """
2894    Returns the elements in the list that come before the specified cursor.
2895    """
2896    before: String
2897
2898    """Returns the first _n_ elements from the list."""
2899    first: Int
2900
2901    """Returns the last _n_ elements from the list."""
2902    last: Int
2903  ): DeploymentStatusConnection
2904
2905  """The deployment task."""
2906  task: String
2907
2908  """Identifies the date and time when the object was last updated."""
2909  updatedAt: DateTime!
2910}
2911
2912"""The connection type for Deployment."""
2913type DeploymentConnection {
2914  """A list of edges."""
2915  edges: [DeploymentEdge]
2916
2917  """A list of nodes."""
2918  nodes: [Deployment]
2919
2920  """Information to aid in pagination."""
2921  pageInfo: PageInfo!
2922
2923  """Identifies the total count of items in the connection."""
2924  totalCount: Int!
2925}
2926
2927"""An edge in a connection."""
2928type DeploymentEdge {
2929  """A cursor for use in pagination."""
2930  cursor: String!
2931
2932  """The item at the end of the edge."""
2933  node: Deployment
2934}
2935
2936"""
2937Represents a 'deployment_environment_changed' event on a given pull request.
2938"""
2939type DeploymentEnvironmentChangedEvent implements Node {
2940  """Identifies the actor who performed the event."""
2941  actor: Actor
2942
2943  """Identifies the date and time when the object was created."""
2944  createdAt: DateTime!
2945
2946  """The deployment status that updated the deployment environment."""
2947  deploymentStatus: DeploymentStatus!
2948  id: ID!
2949
2950  """PullRequest referenced by event."""
2951  pullRequest: PullRequest!
2952}
2953
2954"""Ordering options for deployment connections"""
2955input DeploymentOrder {
2956  """The field to order deployments by."""
2957  field: DeploymentOrderField!
2958
2959  """The ordering direction."""
2960  direction: OrderDirection!
2961}
2962
2963"""Properties by which deployment connections can be ordered."""
2964enum DeploymentOrderField {
2965  """Order collection by creation time"""
2966  CREATED_AT
2967}
2968
2969"""The possible states in which a deployment can be."""
2970enum DeploymentState {
2971  """The pending deployment was not updated after 30 minutes."""
2972  ABANDONED
2973
2974  """The deployment is currently active."""
2975  ACTIVE
2976
2977  """An inactive transient deployment."""
2978  DESTROYED
2979
2980  """The deployment experienced an error."""
2981  ERROR
2982
2983  """The deployment has failed."""
2984  FAILURE
2985
2986  """The deployment is inactive."""
2987  INACTIVE
2988
2989  """The deployment is pending."""
2990  PENDING
2991
2992  """The deployment has queued"""
2993  QUEUED
2994
2995  """The deployment is in progress."""
2996  IN_PROGRESS
2997}
2998
2999"""Describes the status of a given deployment attempt."""
3000type DeploymentStatus implements Node {
3001  """Identifies the date and time when the object was created."""
3002  createdAt: DateTime!
3003
3004  """Identifies the actor who triggered the deployment."""
3005  creator: Actor
3006
3007  """Identifies the deployment associated with status."""
3008  deployment: Deployment!
3009
3010  """Identifies the description of the deployment."""
3011  description: String
3012
3013  """Identifies the environment URL of the deployment."""
3014  environmentUrl: URI
3015  id: ID!
3016
3017  """Identifies the log URL of the deployment."""
3018  logUrl: URI
3019
3020  """Identifies the current state of the deployment."""
3021  state: DeploymentStatusState!
3022
3023  """Identifies the date and time when the object was last updated."""
3024  updatedAt: DateTime!
3025}
3026
3027"""The connection type for DeploymentStatus."""
3028type DeploymentStatusConnection {
3029  """A list of edges."""
3030  edges: [DeploymentStatusEdge]
3031
3032  """A list of nodes."""
3033  nodes: [DeploymentStatus]
3034
3035  """Information to aid in pagination."""
3036  pageInfo: PageInfo!
3037
3038  """Identifies the total count of items in the connection."""
3039  totalCount: Int!
3040}
3041
3042"""An edge in a connection."""
3043type DeploymentStatusEdge {
3044  """A cursor for use in pagination."""
3045  cursor: String!
3046
3047  """The item at the end of the edge."""
3048  node: DeploymentStatus
3049}
3050
3051"""The possible states for a deployment status."""
3052enum DeploymentStatusState {
3053  """The deployment is pending."""
3054  PENDING
3055
3056  """The deployment was successful."""
3057  SUCCESS
3058
3059  """The deployment has failed."""
3060  FAILURE
3061
3062  """The deployment is inactive."""
3063  INACTIVE
3064
3065  """The deployment experienced an error."""
3066  ERROR
3067
3068  """The deployment is queued"""
3069  QUEUED
3070
3071  """The deployment is in progress."""
3072  IN_PROGRESS
3073}
3074
3075"""Autogenerated input type of DismissPullRequestReview"""
3076input DismissPullRequestReviewInput {
3077  """The Node ID of the pull request review to modify."""
3078  pullRequestReviewId: ID!
3079
3080  """The contents of the pull request review dismissal message."""
3081  message: String!
3082
3083  """A unique identifier for the client performing the mutation."""
3084  clientMutationId: String
3085}
3086
3087"""Autogenerated return type of DismissPullRequestReview"""
3088type DismissPullRequestReviewPayload {
3089  """A unique identifier for the client performing the mutation."""
3090  clientMutationId: String
3091
3092  """The dismissed pull request review."""
3093  pullRequestReview: PullRequestReview
3094}
3095
3096"""Specifies a review comment to be left with a Pull Request Review."""
3097input DraftPullRequestReviewComment {
3098  """Path to the file being commented on."""
3099  path: String!
3100
3101  """Position in the file to leave a comment on."""
3102  position: Int!
3103
3104  """Body of the comment to leave."""
3105  body: String!
3106}
3107
3108"""An external identity provisioned by SAML SSO or SCIM."""
3109type ExternalIdentity implements Node {
3110  """The GUID for this identity"""
3111  guid: String!
3112  id: ID!
3113
3114  """Organization invitation for this SCIM-provisioned external identity"""
3115  organizationInvitation: OrganizationInvitation
3116
3117  """SAML Identity attributes"""
3118  samlIdentity: ExternalIdentitySamlAttributes
3119
3120  """SCIM Identity attributes"""
3121  scimIdentity: ExternalIdentityScimAttributes
3122
3123  """
3124  User linked to this external identity. Will be NULL if this identity has not been claimed by an organization member.
3125  """
3126  user: User
3127}
3128
3129"""The connection type for ExternalIdentity."""
3130type ExternalIdentityConnection {
3131  """A list of edges."""
3132  edges: [ExternalIdentityEdge]
3133
3134  """A list of nodes."""
3135  nodes: [ExternalIdentity]
3136
3137  """Information to aid in pagination."""
3138  pageInfo: PageInfo!
3139
3140  """Identifies the total count of items in the connection."""
3141  totalCount: Int!
3142}
3143
3144"""An edge in a connection."""
3145type ExternalIdentityEdge {
3146  """A cursor for use in pagination."""
3147  cursor: String!
3148
3149  """The item at the end of the edge."""
3150  node: ExternalIdentity
3151}
3152
3153"""SAML attributes for the External Identity"""
3154type ExternalIdentitySamlAttributes {
3155  """The NameID of the SAML identity"""
3156  nameId: String
3157}
3158
3159"""SCIM attributes for the External Identity"""
3160type ExternalIdentityScimAttributes {
3161  """The userName of the SCIM identity"""
3162  username: String
3163}
3164
3165"""The connection type for User."""
3166type FollowerConnection {
3167  """A list of edges."""
3168  edges: [UserEdge]
3169
3170  """A list of nodes."""
3171  nodes: [User]
3172
3173  """Information to aid in pagination."""
3174  pageInfo: PageInfo!
3175
3176  """Identifies the total count of items in the connection."""
3177  totalCount: Int!
3178}
3179
3180"""The connection type for User."""
3181type FollowingConnection {
3182  """A list of edges."""
3183  edges: [UserEdge]
3184
3185  """A list of nodes."""
3186  nodes: [User]
3187
3188  """Information to aid in pagination."""
3189  pageInfo: PageInfo!
3190
3191  """Identifies the total count of items in the connection."""
3192  totalCount: Int!
3193}
3194
3195"""A Gist."""
3196type Gist implements Node & Starrable {
3197  """A list of comments associated with the gist"""
3198  comments(
3199    """Returns the elements in the list that come after the specified cursor."""
3200    after: String
3201
3202    """
3203    Returns the elements in the list that come before the specified cursor.
3204    """
3205    before: String
3206
3207    """Returns the first _n_ elements from the list."""
3208    first: Int
3209
3210    """Returns the last _n_ elements from the list."""
3211    last: Int
3212  ): GistCommentConnection!
3213
3214  """Identifies the date and time when the object was created."""
3215  createdAt: DateTime!
3216
3217  """The gist description."""
3218  description: String
3219
3220  """The files in this gist."""
3221  files(
3222    """The maximum number of files to return."""
3223    limit: Int = 10
3224  ): [GistFile]
3225  id: ID!
3226
3227  """Identifies if the gist is a fork."""
3228  isFork: Boolean!
3229
3230  """Whether the gist is public or not."""
3231  isPublic: Boolean!
3232
3233  """The gist name."""
3234  name: String!
3235
3236  """The gist owner."""
3237  owner: RepositoryOwner
3238
3239  """Identifies when the gist was last pushed to."""
3240  pushedAt: DateTime
3241
3242  """A list of users who have starred this starrable."""
3243  stargazers(
3244    """Returns the elements in the list that come after the specified cursor."""
3245    after: String
3246
3247    """
3248    Returns the elements in the list that come before the specified cursor.
3249    """
3250    before: String
3251
3252    """Returns the first _n_ elements from the list."""
3253    first: Int
3254
3255    """Returns the last _n_ elements from the list."""
3256    last: Int
3257
3258    """Order for connection"""
3259    orderBy: StarOrder
3260  ): StargazerConnection!
3261
3262  """Identifies the date and time when the object was last updated."""
3263  updatedAt: DateTime!
3264
3265  """
3266  Returns a boolean indicating whether the viewing user has starred this starrable.
3267  """
3268  viewerHasStarred: Boolean!
3269}
3270
3271"""Represents a comment on an Gist."""
3272type GistComment implements Node & Comment & Deletable & Updatable & UpdatableComment {
3273  """The actor who authored the comment."""
3274  author: Actor
3275
3276  """Author's association with the gist."""
3277  authorAssociation: CommentAuthorAssociation!
3278
3279  """Identifies the comment body."""
3280  body: String!
3281
3282  """The comment body rendered to HTML."""
3283  bodyHTML: HTML!
3284
3285  """The body rendered to text."""
3286  bodyText: String!
3287
3288  """Identifies the date and time when the object was created."""
3289  createdAt: DateTime!
3290
3291  """Check if this comment was created via an email reply."""
3292  createdViaEmail: Boolean!
3293
3294  """Identifies the primary key from the database."""
3295  databaseId: Int
3296
3297  """The actor who edited the comment."""
3298  editor: Actor
3299
3300  """The associated gist."""
3301  gist: Gist!
3302  id: ID!
3303
3304  """
3305  Check if this comment was edited and includes an edit with the creation data
3306  """
3307  includesCreatedEdit: Boolean!
3308
3309  """Returns whether or not a comment has been minimized."""
3310  isMinimized: Boolean!
3311
3312  """The moment the editor made the last edit"""
3313  lastEditedAt: DateTime
3314
3315  """Returns why the comment was minimized."""
3316  minimizedReason: String
3317
3318  """Identifies when the comment was published at."""
3319  publishedAt: DateTime
3320
3321  """Identifies the date and time when the object was last updated."""
3322  updatedAt: DateTime!
3323
3324  """A list of edits to this content."""
3325  userContentEdits(
3326    """Returns the elements in the list that come after the specified cursor."""
3327    after: String
3328
3329    """
3330    Returns the elements in the list that come before the specified cursor.
3331    """
3332    before: String
3333
3334    """Returns the first _n_ elements from the list."""
3335    first: Int
3336
3337    """Returns the last _n_ elements from the list."""
3338    last: Int
3339  ): UserContentEditConnection
3340
3341  """Check if the current viewer can delete this object."""
3342  viewerCanDelete: Boolean!
3343
3344  """Check if the current viewer can minimize this object."""
3345  viewerCanMinimize: Boolean!
3346
3347  """Check if the current viewer can update this object."""
3348  viewerCanUpdate: Boolean!
3349
3350  """Reasons why the current viewer can not update this comment."""
3351  viewerCannotUpdateReasons: [CommentCannotUpdateReason!]!
3352
3353  """Did the viewer author this comment."""
3354  viewerDidAuthor: Boolean!
3355}
3356
3357"""The connection type for GistComment."""
3358type GistCommentConnection {
3359  """A list of edges."""
3360  edges: [GistCommentEdge]
3361
3362  """A list of nodes."""
3363  nodes: [GistComment]
3364
3365  """Information to aid in pagination."""
3366  pageInfo: PageInfo!
3367
3368  """Identifies the total count of items in the connection."""
3369  totalCount: Int!
3370}
3371
3372"""An edge in a connection."""
3373type GistCommentEdge {
3374  """A cursor for use in pagination."""
3375  cursor: String!
3376
3377  """The item at the end of the edge."""
3378  node: GistComment
3379}
3380
3381"""The connection type for Gist."""
3382type GistConnection {
3383  """A list of edges."""
3384  edges: [GistEdge]
3385
3386  """A list of nodes."""
3387  nodes: [Gist]
3388
3389  """Information to aid in pagination."""
3390  pageInfo: PageInfo!
3391
3392  """Identifies the total count of items in the connection."""
3393  totalCount: Int!
3394}
3395
3396"""An edge in a connection."""
3397type GistEdge {
3398  """A cursor for use in pagination."""
3399  cursor: String!
3400
3401  """The item at the end of the edge."""
3402  node: Gist
3403}
3404
3405"""A file in a gist."""
3406type GistFile {
3407  """
3408  The file name encoded to remove characters that are invalid in URL paths.
3409  """
3410  encodedName: String
3411
3412  """The gist file encoding."""
3413  encoding: String
3414
3415  """The file extension from the file name."""
3416  extension: String
3417
3418  """Indicates if this file is an image."""
3419  isImage: Boolean!
3420
3421  """Whether the file's contents were truncated."""
3422  isTruncated: Boolean!
3423
3424  """The programming language this file is written in."""
3425  language: Language
3426
3427  """The gist file name."""
3428  name: String
3429
3430  """The gist file size in bytes."""
3431  size: Int
3432
3433  """UTF8 text data or null if the file is binary"""
3434  text(
3435    """Optionally truncate the returned file to this length."""
3436    truncate: Int
3437  ): String
3438}
3439
3440"""Ordering options for gist connections"""
3441input GistOrder {
3442  """The field to order repositories by."""
3443  field: GistOrderField!
3444
3445  """The ordering direction."""
3446  direction: OrderDirection!
3447}
3448
3449"""Properties by which gist connections can be ordered."""
3450enum GistOrderField {
3451  """Order gists by creation time"""
3452  CREATED_AT
3453
3454  """Order gists by update time"""
3455  UPDATED_AT
3456
3457  """Order gists by push time"""
3458  PUSHED_AT
3459}
3460
3461"""The privacy of a Gist"""
3462enum GistPrivacy {
3463  """Public"""
3464  PUBLIC
3465
3466  """Secret"""
3467  SECRET
3468
3469  """Gists that are public and secret"""
3470  ALL
3471}
3472
3473"""Represents an actor in a Git commit (ie. an author or committer)."""
3474type GitActor {
3475  """A URL pointing to the author's public avatar."""
3476  avatarUrl(
3477    """The size of the resulting square image."""
3478    size: Int
3479  ): URI!
3480
3481  """The timestamp of the Git action (authoring or committing)."""
3482  date: GitTimestamp
3483
3484  """The email in the Git commit."""
3485  email: String
3486
3487  """The name in the Git commit."""
3488  name: String
3489
3490  """
3491  The GitHub user corresponding to the email field. Null if no such user exists.
3492  """
3493  user: User
3494}
3495
3496"""Represents information about the GitHub instance."""
3497type GitHubMetadata {
3498  """Returns a String that's a SHA of `github-services`"""
3499  gitHubServicesSha: GitObjectID!
3500
3501  """IP addresses that users connect to for git operations"""
3502  gitIpAddresses: [String!]
3503
3504  """IP addresses that service hooks are sent from"""
3505  hookIpAddresses: [String!]
3506
3507  """IP addresses that the importer connects from"""
3508  importerIpAddresses: [String!]
3509
3510  """Whether or not users are verified"""
3511  isPasswordAuthenticationVerifiable: Boolean!
3512
3513  """IP addresses for GitHub Pages' A records"""
3514  pagesIpAddresses: [String!]
3515}
3516
3517"""Represents a Git object."""
3518interface GitObject {
3519  """An abbreviated version of the Git object ID"""
3520  abbreviatedOid: String!
3521
3522  """The HTTP path for this Git object"""
3523  commitResourcePath: URI!
3524
3525  """The HTTP URL for this Git object"""
3526  commitUrl: URI!
3527  id: ID!
3528
3529  """The Git object ID"""
3530  oid: GitObjectID!
3531
3532  """The Repository the Git object belongs to"""
3533  repository: Repository!
3534}
3535
3536"""A Git object ID."""
3537scalar GitObjectID
3538
3539"""Information about a signature (GPG or S/MIME) on a Commit or Tag."""
3540interface GitSignature {
3541  """Email used to sign this object."""
3542  email: String!
3543
3544  """True if the signature is valid and verified by GitHub."""
3545  isValid: Boolean!
3546
3547  """
3548  Payload for GPG signing object. Raw ODB object without the signature header.
3549  """
3550  payload: String!
3551
3552  """ASCII-armored signature header from object."""
3553  signature: String!
3554
3555  """GitHub user corresponding to the email signing this commit."""
3556  signer: User
3557
3558  """
3559  The state of this signature. `VALID` if signature is valid and verified by
3560  GitHub, otherwise represents reason why signature is considered invalid.
3561  """
3562  state: GitSignatureState!
3563
3564  """True if the signature was made with GitHub's signing key."""
3565  wasSignedByGitHub: Boolean!
3566}
3567
3568"""The state of a Git signature."""
3569enum GitSignatureState {
3570  """Valid signature and verified by GitHub"""
3571  VALID
3572
3573  """Invalid signature"""
3574  INVALID
3575
3576  """Malformed signature"""
3577  MALFORMED_SIG
3578
3579  """Key used for signing not known to GitHub"""
3580  UNKNOWN_KEY
3581
3582  """Invalid email used for signing"""
3583  BAD_EMAIL
3584
3585  """Email used for signing unverified on GitHub"""
3586  UNVERIFIED_EMAIL
3587
3588  """Email used for signing not known to GitHub"""
3589  NO_USER
3590
3591  """Unknown signature type"""
3592  UNKNOWN_SIG_TYPE
3593
3594  """Unsigned"""
3595  UNSIGNED
3596
3597  """
3598  Internal error - the GPG verification service is unavailable at the moment
3599  """
3600  GPGVERIFY_UNAVAILABLE
3601
3602  """Internal error - the GPG verification service misbehaved"""
3603  GPGVERIFY_ERROR
3604
3605  """The usage flags for the key that signed this don't allow signing"""
3606  NOT_SIGNING_KEY
3607
3608  """Signing key expired"""
3609  EXPIRED_KEY
3610
3611  """Valid signature, pending certificate revocation checking"""
3612  OCSP_PENDING
3613
3614  """Valid siganture, though certificate revocation check failed"""
3615  OCSP_ERROR
3616
3617  """The signing certificate or its chain could not be verified"""
3618  BAD_CERT
3619
3620  """One or more certificates in chain has been revoked"""
3621  OCSP_REVOKED
3622}
3623
3624"""Git SSH string"""
3625scalar GitSSHRemote
3626
3627"""
3628An ISO-8601 encoded date string. Unlike the DateTime type, GitTimestamp is not converted in UTC.
3629"""
3630scalar GitTimestamp
3631
3632"""Represents a GPG signature on a Commit or Tag."""
3633type GpgSignature implements GitSignature {
3634  """Email used to sign this object."""
3635  email: String!
3636
3637  """True if the signature is valid and verified by GitHub."""
3638  isValid: Boolean!
3639
3640  """Hex-encoded ID of the key that signed this object."""
3641  keyId: String
3642
3643  """
3644  Payload for GPG signing object. Raw ODB object without the signature header.
3645  """
3646  payload: String!
3647
3648  """ASCII-armored signature header from object."""
3649  signature: String!
3650
3651  """GitHub user corresponding to the email signing this commit."""
3652  signer: User
3653
3654  """
3655  The state of this signature. `VALID` if signature is valid and verified by
3656  GitHub, otherwise represents reason why signature is considered invalid.
3657  """
3658  state: GitSignatureState!
3659
3660  """True if the signature was made with GitHub's signing key."""
3661  wasSignedByGitHub: Boolean!
3662}
3663
3664"""Represents a 'head_ref_deleted' event on a given pull request."""
3665type HeadRefDeletedEvent implements Node {
3666  """Identifies the actor who performed the event."""
3667  actor: Actor
3668
3669  """Identifies the date and time when the object was created."""
3670  createdAt: DateTime!
3671
3672  """Identifies the Ref associated with the `head_ref_deleted` event."""
3673  headRef: Ref
3674
3675  """
3676  Identifies the name of the Ref associated with the `head_ref_deleted` event.
3677  """
3678  headRefName: String!
3679  id: ID!
3680
3681  """PullRequest referenced by event."""
3682  pullRequest: PullRequest!
3683}
3684
3685"""Represents a 'head_ref_force_pushed' event on a given pull request."""
3686type HeadRefForcePushedEvent implements Node {
3687  """Identifies the actor who performed the event."""
3688  actor: Actor
3689
3690  """Identifies the after commit SHA for the 'head_ref_force_pushed' event."""
3691  afterCommit: Commit
3692
3693  """
3694  Identifies the before commit SHA for the 'head_ref_force_pushed' event.
3695  """
3696  beforeCommit: Commit
3697
3698  """Identifies the date and time when the object was created."""
3699  createdAt: DateTime!
3700  id: ID!
3701
3702  """PullRequest referenced by event."""
3703  pullRequest: PullRequest!
3704
3705  """
3706  Identifies the fully qualified ref name for the 'head_ref_force_pushed' event.
3707  """
3708  ref: Ref
3709}
3710
3711"""Represents a 'head_ref_restored' event on a given pull request."""
3712type HeadRefRestoredEvent implements Node {
3713  """Identifies the actor who performed the event."""
3714  actor: Actor
3715
3716  """Identifies the date and time when the object was created."""
3717  createdAt: DateTime!
3718  id: ID!
3719
3720  """PullRequest referenced by event."""
3721  pullRequest: PullRequest!
3722}
3723
3724"""A string containing HTML code."""
3725scalar HTML
3726
3727"""
3728The possible states in which authentication can be configured with an identity provider.
3729"""
3730enum IdentityProviderConfigurationState {
3731  """Authentication with an identity provider is configured and enforced."""
3732  ENFORCED
3733
3734  """
3735  Authentication with an identity provider is configured but not enforced.
3736  """
3737  CONFIGURED
3738
3739  """Authentication with an identity provider is not configured."""
3740  UNCONFIGURED
3741}
3742
3743"""Autogenerated input type of ImportProject"""
3744input ImportProjectInput {
3745  """The name of the Organization or User to create the Project under."""
3746  ownerName: String!
3747
3748  """The name of Project."""
3749  name: String!
3750
3751  """The description of Project."""
3752  body: String
3753
3754  """Whether the Project is public or not."""
3755  public: Boolean = false
3756
3757  """A list of columns containing issues and pull requests."""
3758  columnImports: [ProjectColumnImport!]!
3759
3760  """A unique identifier for the client performing the mutation."""
3761  clientMutationId: String
3762}
3763
3764"""
3765An Issue is a place to discuss ideas, enhancements, tasks, and bugs for a project.
3766"""
3767type Issue implements Node & Assignable & Closable & Comment & Updatable & UpdatableComment & Labelable & Lockable & Reactable & RepositoryNode & Subscribable & UniformResourceLocatable {
3768  """Reason that the conversation was locked."""
3769  activeLockReason: LockReason
3770
3771  """A list of Users assigned to this object."""
3772  assignees(
3773    """Returns the elements in the list that come after the specified cursor."""
3774    after: String
3775
3776    """
3777    Returns the elements in the list that come before the specified cursor.
3778    """
3779    before: String
3780
3781    """Returns the first _n_ elements from the list."""
3782    first: Int
3783
3784    """Returns the last _n_ elements from the list."""
3785    last: Int
3786  ): UserConnection!
3787
3788  """The actor who authored the comment."""
3789  author: Actor
3790
3791  """Author's association with the subject of the comment."""
3792  authorAssociation: CommentAuthorAssociation!
3793
3794  """Identifies the body of the issue."""
3795  body: String!
3796
3797  """Identifies the body of the issue rendered to HTML."""
3798  bodyHTML: HTML!
3799
3800  """Identifies the body of the issue rendered to text."""
3801  bodyText: String!
3802
3803  """
3804  `true` if the object is closed (definition of closed may depend on type)
3805  """
3806  closed: Boolean!
3807
3808  """Identifies the date and time when the object was closed."""
3809  closedAt: DateTime
3810
3811  """A list of comments associated with the Issue."""
3812  comments(
3813    """Returns the elements in the list that come after the specified cursor."""
3814    after: String
3815
3816    """
3817    Returns the elements in the list that come before the specified cursor.
3818    """
3819    before: String
3820
3821    """Returns the first _n_ elements from the list."""
3822    first: Int
3823
3824    """Returns the last _n_ elements from the list."""
3825    last: Int
3826  ): IssueCommentConnection!
3827
3828  """Identifies the date and time when the object was created."""
3829  createdAt: DateTime!
3830
3831  """Check if this comment was created via an email reply."""
3832  createdViaEmail: Boolean!
3833
3834  """Identifies the primary key from the database."""
3835  databaseId: Int
3836
3837  """The actor who edited the comment."""
3838  editor: Actor
3839  id: ID!
3840
3841  """
3842  Check if this comment was edited and includes an edit with the creation data
3843  """
3844  includesCreatedEdit: Boolean!
3845
3846  """A list of labels associated with the object."""
3847  labels(
3848    """Returns the elements in the list that come after the specified cursor."""
3849    after: String
3850
3851    """
3852    Returns the elements in the list that come before the specified cursor.
3853    """
3854    before: String
3855
3856    """Returns the first _n_ elements from the list."""
3857    first: Int
3858
3859    """Returns the last _n_ elements from the list."""
3860    last: Int
3861  ): LabelConnection
3862
3863  """The moment the editor made the last edit"""
3864  lastEditedAt: DateTime
3865
3866  """`true` if the object is locked"""
3867  locked: Boolean!
3868
3869  """Identifies the milestone associated with the issue."""
3870  milestone: Milestone
3871
3872  """Identifies the issue number."""
3873  number: Int!
3874
3875  """A list of Users that are participating in the Issue conversation."""
3876  participants(
3877    """Returns the elements in the list that come after the specified cursor."""
3878    after: String
3879
3880    """
3881    Returns the elements in the list that come before the specified cursor.
3882    """
3883    before: String
3884
3885    """Returns the first _n_ elements from the list."""
3886    first: Int
3887
3888    """Returns the last _n_ elements from the list."""
3889    last: Int
3890  ): UserConnection!
3891
3892  """List of project cards associated with this issue."""
3893  projectCards(
3894    """Returns the elements in the list that come after the specified cursor."""
3895    after: String
3896
3897    """
3898    Returns the elements in the list that come before the specified cursor.
3899    """
3900    before: String
3901
3902    """Returns the first _n_ elements from the list."""
3903    first: Int
3904
3905    """Returns the last _n_ elements from the list."""
3906    last: Int
3907
3908    """A list of archived states to filter the cards by"""
3909    archivedStates: [ProjectCardArchivedState]
3910  ): ProjectCardConnection!
3911
3912  """Identifies when the comment was published at."""
3913  publishedAt: DateTime
3914
3915  """A list of reactions grouped by content left on the subject."""
3916  reactionGroups: [ReactionGroup!]
3917
3918  """A list of Reactions left on the Issue."""
3919  reactions(
3920    """Returns the elements in the list that come after the specified cursor."""
3921    after: String
3922
3923    """
3924    Returns the elements in the list that come before the specified cursor.
3925    """
3926    before: String
3927
3928    """Returns the first _n_ elements from the list."""
3929    first: Int
3930
3931    """Returns the last _n_ elements from the list."""
3932    last: Int
3933
3934    """Allows filtering Reactions by emoji."""
3935    content: ReactionContent
3936
3937    """Allows specifying the order in which reactions are returned."""
3938    orderBy: ReactionOrder
3939  ): ReactionConnection!
3940
3941  """The repository associated with this node."""
3942  repository: Repository!
3943
3944  """The HTTP path for this issue"""
3945  resourcePath: URI!
3946
3947  """Identifies the state of the issue."""
3948  state: IssueState!
3949
3950  """A list of events, comments, commits, etc. associated with the issue."""
3951  timeline(
3952    """Allows filtering timeline events by a `since` timestamp."""
3953    since: DateTime
3954
3955    """Returns the elements in the list that come after the specified cursor."""
3956    after: String
3957
3958    """
3959    Returns the elements in the list that come before the specified cursor.
3960    """
3961    before: String
3962
3963    """Returns the first _n_ elements from the list."""
3964    first: Int
3965
3966    """Returns the last _n_ elements from the list."""
3967    last: Int
3968  ): IssueTimelineConnection!
3969
3970  """A list of events, comments, commits, etc. associated with the issue."""
3971  timelineItems(
3972    """Filter timeline items by a `since` timestamp."""
3973    since: DateTime
3974
3975    """Skips the first _n_ elements in the list."""
3976    skip: Int
3977
3978    """Filter timeline items by type."""
3979    itemTypes: [IssueTimelineItemsItemType!]
3980
3981    """Returns the elements in the list that come after the specified cursor."""
3982    after: String
3983
3984    """
3985    Returns the elements in the list that come before the specified cursor.
3986    """
3987    before: String
3988
3989    """Returns the first _n_ elements from the list."""
3990    first: Int
3991
3992    """Returns the last _n_ elements from the list."""
3993    last: Int
3994  ): IssueTimelineItemsConnection!
3995
3996  """Identifies the issue title."""
3997  title: String!
3998
3999  """Identifies the date and time when the object was last updated."""
4000  updatedAt: DateTime!
4001
4002  """The HTTP URL for this issue"""
4003  url: URI!
4004
4005  """A list of edits to this content."""
4006  userContentEdits(
4007    """Returns the elements in the list that come after the specified cursor."""
4008    after: String
4009
4010    """
4011    Returns the elements in the list that come before the specified cursor.
4012    """
4013    before: String
4014
4015    """Returns the first _n_ elements from the list."""
4016    first: Int
4017
4018    """Returns the last _n_ elements from the list."""
4019    last: Int
4020  ): UserContentEditConnection
4021
4022  """Can user react to this subject"""
4023  viewerCanReact: Boolean!
4024
4025  """
4026  Check if the viewer is able to change their subscription status for the repository.
4027  """
4028  viewerCanSubscribe: Boolean!
4029
4030  """Check if the current viewer can update this object."""
4031  viewerCanUpdate: Boolean!
4032
4033  """Reasons why the current viewer can not update this comment."""
4034  viewerCannotUpdateReasons: [CommentCannotUpdateReason!]!
4035
4036  """Did the viewer author this comment."""
4037  viewerDidAuthor: Boolean!
4038
4039  """
4040  Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.
4041  """
4042  viewerSubscription: SubscriptionState
4043}
4044
4045"""Represents a comment on an Issue."""
4046type IssueComment implements Node & Comment & Deletable & Updatable & UpdatableComment & Reactable & RepositoryNode {
4047  """The actor who authored the comment."""
4048  author: Actor
4049
4050  """Author's association with the subject of the comment."""
4051  authorAssociation: CommentAuthorAssociation!
4052
4053  """The body as Markdown."""
4054  body: String!
4055
4056  """The body rendered to HTML."""
4057  bodyHTML: HTML!
4058
4059  """The body rendered to text."""
4060  bodyText: String!
4061
4062  """Identifies the date and time when the object was created."""
4063  createdAt: DateTime!
4064
4065  """Check if this comment was created via an email reply."""
4066  createdViaEmail: Boolean!
4067
4068  """Identifies the primary key from the database."""
4069  databaseId: Int
4070
4071  """The actor who edited the comment."""
4072  editor: Actor
4073  id: ID!
4074
4075  """
4076  Check if this comment was edited and includes an edit with the creation data
4077  """
4078  includesCreatedEdit: Boolean!
4079
4080  """Returns whether or not a comment has been minimized."""
4081  isMinimized: Boolean!
4082
4083  """Identifies the issue associated with the comment."""
4084  issue: Issue!
4085
4086  """The moment the editor made the last edit"""
4087  lastEditedAt: DateTime
4088
4089  """Returns why the comment was minimized."""
4090  minimizedReason: String
4091
4092  """Identifies when the comment was published at."""
4093  publishedAt: DateTime
4094
4095  """
4096  Returns the pull request associated with the comment, if this comment was made on a
4097  pull request.
4098
4099  """
4100  pullRequest: PullRequest
4101
4102  """A list of reactions grouped by content left on the subject."""
4103  reactionGroups: [ReactionGroup!]
4104
4105  """A list of Reactions left on the Issue."""
4106  reactions(
4107    """Returns the elements in the list that come after the specified cursor."""
4108    after: String
4109
4110    """
4111    Returns the elements in the list that come before the specified cursor.
4112    """
4113    before: String
4114
4115    """Returns the first _n_ elements from the list."""
4116    first: Int
4117
4118    """Returns the last _n_ elements from the list."""
4119    last: Int
4120
4121    """Allows filtering Reactions by emoji."""
4122    content: ReactionContent
4123
4124    """Allows specifying the order in which reactions are returned."""
4125    orderBy: ReactionOrder
4126  ): ReactionConnection!
4127
4128  """The repository associated with this node."""
4129  repository: Repository!
4130
4131  """The HTTP path for this issue comment"""
4132  resourcePath: URI!
4133
4134  """Identifies the date and time when the object was last updated."""
4135  updatedAt: DateTime!
4136
4137  """The HTTP URL for this issue comment"""
4138  url: URI!
4139
4140  """A list of edits to this content."""
4141  userContentEdits(
4142    """Returns the elements in the list that come after the specified cursor."""
4143    after: String
4144
4145    """
4146    Returns the elements in the list that come before the specified cursor.
4147    """
4148    before: String
4149
4150    """Returns the first _n_ elements from the list."""
4151    first: Int
4152
4153    """Returns the last _n_ elements from the list."""
4154    last: Int
4155  ): UserContentEditConnection
4156
4157  """Check if the current viewer can delete this object."""
4158  viewerCanDelete: Boolean!
4159
4160  """Check if the current viewer can minimize this object."""
4161  viewerCanMinimize: Boolean!
4162
4163  """Can user react to this subject"""
4164  viewerCanReact: Boolean!
4165
4166  """Check if the current viewer can update this object."""
4167  viewerCanUpdate: Boolean!
4168
4169  """Reasons why the current viewer can not update this comment."""
4170  viewerCannotUpdateReasons: [CommentCannotUpdateReason!]!
4171
4172  """Did the viewer author this comment."""
4173  viewerDidAuthor: Boolean!
4174}
4175
4176"""The connection type for IssueComment."""
4177type IssueCommentConnection {
4178  """A list of edges."""
4179  edges: [IssueCommentEdge]
4180
4181  """A list of nodes."""
4182  nodes: [IssueComment]
4183
4184  """Information to aid in pagination."""
4185  pageInfo: PageInfo!
4186
4187  """Identifies the total count of items in the connection."""
4188  totalCount: Int!
4189}
4190
4191"""An edge in a connection."""
4192type IssueCommentEdge {
4193  """A cursor for use in pagination."""
4194  cursor: String!
4195
4196  """The item at the end of the edge."""
4197  node: IssueComment
4198}
4199
4200"""The connection type for Issue."""
4201type IssueConnection {
4202  """A list of edges."""
4203  edges: [IssueEdge]
4204
4205  """A list of nodes."""
4206  nodes: [Issue]
4207
4208  """Information to aid in pagination."""
4209  pageInfo: PageInfo!
4210
4211  """Identifies the total count of items in the connection."""
4212  totalCount: Int!
4213}
4214
4215"""This aggregates issues opened by a user within one repository."""
4216type IssueContributionsByRepository {
4217  """The issue contributions."""
4218  contributions(
4219    """Returns the elements in the list that come after the specified cursor."""
4220    after: String
4221
4222    """
4223    Returns the elements in the list that come before the specified cursor.
4224    """
4225    before: String
4226
4227    """Returns the first _n_ elements from the list."""
4228    first: Int
4229
4230    """Returns the last _n_ elements from the list."""
4231    last: Int
4232
4233    """Ordering options for contributions returned from the connection."""
4234    orderBy: ContributionOrder
4235  ): CreatedIssueContributionConnection!
4236
4237  """The repository in which the issues were opened."""
4238  repository: Repository!
4239}
4240
4241"""An edge in a connection."""
4242type IssueEdge {
4243  """A cursor for use in pagination."""
4244  cursor: String!
4245
4246  """The item at the end of the edge."""
4247  node: Issue
4248}
4249
4250"""Ways in which to filter lists of issues."""
4251input IssueFilters {
4252  """
4253  List issues assigned to given name. Pass in `null` for issues with no assigned
4254  user, and `*` for issues assigned to any user.
4255  """
4256  assignee: String
4257
4258  """List issues created by given name."""
4259  createdBy: String
4260
4261  """List issues where the list of label names exist on the issue."""
4262  labels: [String!]
4263
4264  """List issues where the given name is mentioned in the issue."""
4265  mentioned: String
4266
4267  """
4268  List issues by given milestone argument. If an string representation of an
4269  integer is passed, it should refer to a milestone by its number field. Pass in
4270  `null` for issues with no milestone, and `*` for issues that are assigned to any milestone.
4271  """
4272  milestone: String
4273
4274  """List issues that have been updated at or after the given date."""
4275  since: DateTime
4276
4277  """List issues filtered by the list of states given."""
4278  states: [IssueState!]
4279
4280  """List issues subscribed to by viewer."""
4281  viewerSubscribed: Boolean = false
4282}
4283
4284"""Ways in which lists of issues can be ordered upon return."""
4285input IssueOrder {
4286  """The field in which to order issues by."""
4287  field: IssueOrderField!
4288
4289  """The direction in which to order issues by the specified field."""
4290  direction: OrderDirection!
4291}
4292
4293"""Properties by which issue connections can be ordered."""
4294enum IssueOrderField {
4295  """Order issues by creation time"""
4296  CREATED_AT
4297
4298  """Order issues by update time"""
4299  UPDATED_AT
4300
4301  """Order issues by comment count"""
4302  COMMENTS
4303}
4304
4305"""Used for return value of Repository.issueOrPullRequest."""
4306union IssueOrPullRequest = Issue | PullRequest
4307
4308"""The possible PubSub channels for an issue."""
4309enum IssuePubSubTopic {
4310  """The channel ID for observing issue updates."""
4311  UPDATED
4312
4313  """The channel ID for marking an issue as read."""
4314  MARKASREAD
4315
4316  """The channel ID for updating items on the issue timeline."""
4317  TIMELINE
4318
4319  """The channel ID for observing issue state updates."""
4320  STATE
4321}
4322
4323"""The possible states of an issue."""
4324enum IssueState {
4325  """An issue that is still open"""
4326  OPEN
4327
4328  """An issue that has been closed"""
4329  CLOSED
4330}
4331
4332"""The connection type for IssueTimelineItem."""
4333type IssueTimelineConnection {
4334  """A list of edges."""
4335  edges: [IssueTimelineItemEdge]
4336
4337  """A list of nodes."""
4338  nodes: [IssueTimelineItem]
4339
4340  """Information to aid in pagination."""
4341  pageInfo: PageInfo!
4342
4343  """Identifies the total count of items in the connection."""
4344  totalCount: Int!
4345}
4346
4347"""An item in an issue timeline"""
4348union IssueTimelineItem = Commit | IssueComment | CrossReferencedEvent | ClosedEvent | ReopenedEvent | SubscribedEvent | UnsubscribedEvent | ReferencedEvent | AssignedEvent | UnassignedEvent | LabeledEvent | UnlabeledEvent | UserBlockedEvent | MilestonedEvent | DemilestonedEvent | RenamedTitleEvent | LockedEvent | UnlockedEvent | TransferredEvent
4349
4350"""An edge in a connection."""
4351type IssueTimelineItemEdge {
4352  """A cursor for use in pagination."""
4353  cursor: String!
4354
4355  """The item at the end of the edge."""
4356  node: IssueTimelineItem
4357}
4358
4359"""An item in an issue timeline"""
4360union IssueTimelineItems = IssueComment | CrossReferencedEvent | AddedToProjectEvent | AssignedEvent | ClosedEvent | CommentDeletedEvent | ConvertedNoteToIssueEvent | DemilestonedEvent | LabeledEvent | LockedEvent | MentionedEvent | MilestonedEvent | MovedColumnsInProjectEvent | PinnedEvent | ReferencedEvent | RemovedFromProjectEvent | RenamedTitleEvent | ReopenedEvent | SubscribedEvent | TransferredEvent | UnassignedEvent | UnlabeledEvent | UnlockedEvent | UserBlockedEvent | UnpinnedEvent | UnsubscribedEvent
4361
4362"""The connection type for IssueTimelineItems."""
4363type IssueTimelineItemsConnection {
4364  """A list of edges."""
4365  edges: [IssueTimelineItemsEdge]
4366
4367  """
4368  Identifies the count of items after applying `before` and `after` filters.
4369  """
4370  filteredCount: Int!
4371
4372  """A list of nodes."""
4373  nodes: [IssueTimelineItems]
4374
4375  """
4376  Identifies the count of items after applying `before`/`after` filters and `first`/`last`/`skip` slicing.
4377  """
4378  pageCount: Int!
4379
4380  """Information to aid in pagination."""
4381  pageInfo: PageInfo!
4382
4383  """Identifies the total count of items in the connection."""
4384  totalCount: Int!
4385
4386  """Identifies the date and time when the timeline was last updated."""
4387  updatedAt: DateTime!
4388}
4389
4390"""An edge in a connection."""
4391type IssueTimelineItemsEdge {
4392  """A cursor for use in pagination."""
4393  cursor: String!
4394
4395  """The item at the end of the edge."""
4396  node: IssueTimelineItems
4397}
4398
4399"""The possible item types found in a timeline."""
4400enum IssueTimelineItemsItemType {
4401  """Represents a comment on an Issue."""
4402  ISSUE_COMMENT
4403
4404  """Represents a mention made by one issue or pull request to another."""
4405  CROSS_REFERENCED_EVENT
4406
4407  """
4408  Represents a 'added_to_project' event on a given issue or pull request.
4409  """
4410  ADDED_TO_PROJECT_EVENT
4411
4412  """Represents an 'assigned' event on any assignable object."""
4413  ASSIGNED_EVENT
4414
4415  """Represents a 'closed' event on any `Closable`."""
4416  CLOSED_EVENT
4417
4418  """Represents a 'comment_deleted' event on a given issue or pull request."""
4419  COMMENT_DELETED_EVENT
4420
4421  """
4422  Represents a 'converted_note_to_issue' event on a given issue or pull request.
4423  """
4424  CONVERTED_NOTE_TO_ISSUE_EVENT
4425
4426  """Represents a 'demilestoned' event on a given issue or pull request."""
4427  DEMILESTONED_EVENT
4428
4429  """Represents a 'labeled' event on a given issue or pull request."""
4430  LABELED_EVENT
4431
4432  """Represents a 'locked' event on a given issue or pull request."""
4433  LOCKED_EVENT
4434
4435  """Represents a 'mentioned' event on a given issue or pull request."""
4436  MENTIONED_EVENT
4437
4438  """Represents a 'milestoned' event on a given issue or pull request."""
4439  MILESTONED_EVENT
4440
4441  """
4442  Represents a 'moved_columns_in_project' event on a given issue or pull request.
4443  """
4444  MOVED_COLUMNS_IN_PROJECT_EVENT
4445
4446  """Represents a 'pinned' event on a given issue or pull request."""
4447  PINNED_EVENT
4448
4449  """Represents a 'referenced' event on a given `ReferencedSubject`."""
4450  REFERENCED_EVENT
4451
4452  """
4453  Represents a 'removed_from_project' event on a given issue or pull request.
4454  """
4455  REMOVED_FROM_PROJECT_EVENT
4456
4457  """Represents a 'renamed' event on a given issue or pull request"""
4458  RENAMED_TITLE_EVENT
4459
4460  """Represents a 'reopened' event on any `Closable`."""
4461  REOPENED_EVENT
4462
4463  """Represents a 'subscribed' event on a given `Subscribable`."""
4464  SUBSCRIBED_EVENT
4465
4466  """Represents a 'transferred' event on a given issue or pull request."""
4467  TRANSFERRED_EVENT
4468
4469  """Represents an 'unassigned' event on any assignable object."""
4470  UNASSIGNED_EVENT
4471
4472  """Represents an 'unlabeled' event on a given issue or pull request."""
4473  UNLABELED_EVENT
4474
4475  """Represents an 'unlocked' event on a given issue or pull request."""
4476  UNLOCKED_EVENT
4477
4478  """Represents a 'user_blocked' event on a given user."""
4479  USER_BLOCKED_EVENT
4480
4481  """Represents an 'unpinned' event on a given issue or pull request."""
4482  UNPINNED_EVENT
4483
4484  """Represents an 'unsubscribed' event on a given `Subscribable`."""
4485  UNSUBSCRIBED_EVENT
4486}
4487
4488"""Represents a user signing up for a GitHub account."""
4489type JoinedGitHubContribution implements Contribution {
4490  """
4491  Whether this contribution is associated with a record you do not have access to. For
4492  example, your own 'first issue' contribution may have been made on a repository you can no
4493  longer access.
4494
4495  """
4496  isRestricted: Boolean!
4497
4498  """When this contribution was made."""
4499  occurredAt: DateTime!
4500
4501  """The HTTP path for this contribution."""
4502  resourcePath: URI!
4503
4504  """The HTTP URL for this contribution."""
4505  url: URI!
4506
4507  """
4508  The user who made this contribution.
4509
4510  """
4511  user: User!
4512}
4513
4514"""A label for categorizing Issues or Milestones with a given Repository."""
4515type Label implements Node {
4516  """Identifies the label color."""
4517  color: String!
4518
4519  """Identifies the date and time when the label was created."""
4520  createdAt: DateTime
4521
4522  """A brief description of this label."""
4523  description: String
4524  id: ID!
4525
4526  """Indicates whether or not this is a default label."""
4527  isDefault: Boolean!
4528
4529  """A list of issues associated with this label."""
4530  issues(
4531    """Ordering options for issues returned from the connection."""
4532    orderBy: IssueOrder
4533
4534    """A list of label names to filter the pull requests by."""
4535    labels: [String!]
4536
4537    """A list of states to filter the issues by."""
4538    states: [IssueState!]
4539
4540    """Filtering options for issues returned from the connection."""
4541    filterBy: IssueFilters
4542
4543    """Returns the elements in the list that come after the specified cursor."""
4544    after: String
4545
4546    """
4547    Returns the elements in the list that come before the specified cursor.
4548    """
4549    before: String
4550
4551    """Returns the first _n_ elements from the list."""
4552    first: Int
4553
4554    """Returns the last _n_ elements from the list."""
4555    last: Int
4556  ): IssueConnection!
4557
4558  """Identifies the label name."""
4559  name: String!
4560
4561  """A list of pull requests associated with this label."""
4562  pullRequests(
4563    """A list of states to filter the pull requests by."""
4564    states: [PullRequestState!]
4565
4566    """A list of label names to filter the pull requests by."""
4567    labels: [String!]
4568
4569    """The head ref name to filter the pull requests by."""
4570    headRefName: String
4571
4572    """The base ref name to filter the pull requests by."""
4573    baseRefName: String
4574
4575    """Ordering options for pull requests returned from the connection."""
4576    orderBy: IssueOrder
4577
4578    """Returns the elements in the list that come after the specified cursor."""
4579    after: String
4580
4581    """
4582    Returns the elements in the list that come before the specified cursor.
4583    """
4584    before: String
4585
4586    """Returns the first _n_ elements from the list."""
4587    first: Int
4588
4589    """Returns the last _n_ elements from the list."""
4590    last: Int
4591  ): PullRequestConnection!
4592
4593  """The repository associated with this label."""
4594  repository: Repository!
4595
4596  """The HTTP path for this label."""
4597  resourcePath: URI!
4598
4599  """Identifies the date and time when the label was last updated."""
4600  updatedAt: DateTime
4601
4602  """The HTTP URL for this label."""
4603  url: URI!
4604}
4605
4606"""An object that can have labels assigned to it."""
4607interface Labelable {
4608  """A list of labels associated with the object."""
4609  labels(
4610    """Returns the elements in the list that come after the specified cursor."""
4611    after: String
4612
4613    """
4614    Returns the elements in the list that come before the specified cursor.
4615    """
4616    before: String
4617
4618    """Returns the first _n_ elements from the list."""
4619    first: Int
4620
4621    """Returns the last _n_ elements from the list."""
4622    last: Int
4623  ): LabelConnection
4624}
4625
4626"""The connection type for Label."""
4627type LabelConnection {
4628  """A list of edges."""
4629  edges: [LabelEdge]
4630
4631  """A list of nodes."""
4632  nodes: [Label]
4633
4634  """Information to aid in pagination."""
4635  pageInfo: PageInfo!
4636
4637  """Identifies the total count of items in the connection."""
4638  totalCount: Int!
4639}
4640
4641"""Represents a 'labeled' event on a given issue or pull request."""
4642type LabeledEvent implements Node {
4643  """Identifies the actor who performed the event."""
4644  actor: Actor
4645
4646  """Identifies the date and time when the object was created."""
4647  createdAt: DateTime!
4648  id: ID!
4649
4650  """Identifies the label associated with the 'labeled' event."""
4651  label: Label!
4652
4653  """Identifies the `Labelable` associated with the event."""
4654  labelable: Labelable!
4655}
4656
4657"""An edge in a connection."""
4658type LabelEdge {
4659  """A cursor for use in pagination."""
4660  cursor: String!
4661
4662  """The item at the end of the edge."""
4663  node: Label
4664}
4665
4666"""Represents a given language found in repositories."""
4667type Language implements Node {
4668  """The color defined for the current language."""
4669  color: String
4670  id: ID!
4671
4672  """The name of the current language."""
4673  name: String!
4674}
4675
4676"""A list of languages associated with the parent."""
4677type LanguageConnection {
4678  """A list of edges."""
4679  edges: [LanguageEdge]
4680
4681  """A list of nodes."""
4682  nodes: [Language]
4683
4684  """Information to aid in pagination."""
4685  pageInfo: PageInfo!
4686
4687  """Identifies the total count of items in the connection."""
4688  totalCount: Int!
4689
4690  """The total size in bytes of files written in that language."""
4691  totalSize: Int!
4692}
4693
4694"""Represents the language of a repository."""
4695type LanguageEdge {
4696  cursor: String!
4697  node: Language!
4698
4699  """The number of bytes of code written in the language."""
4700  size: Int!
4701}
4702
4703"""Ordering options for language connections."""
4704input LanguageOrder {
4705  """The field to order languages by."""
4706  field: LanguageOrderField!
4707
4708  """The ordering direction."""
4709  direction: OrderDirection!
4710}
4711
4712"""Properties by which language connections can be ordered."""
4713enum LanguageOrderField {
4714  """Order languages by the size of all files containing the language"""
4715  SIZE
4716}
4717
4718"""A repository's open source license"""
4719type License implements Node {
4720  """The full text of the license"""
4721  body: String!
4722
4723  """The conditions set by the license"""
4724  conditions: [LicenseRule]!
4725
4726  """A human-readable description of the license"""
4727  description: String
4728
4729  """Whether the license should be featured"""
4730  featured: Boolean!
4731
4732  """Whether the license should be displayed in license pickers"""
4733  hidden: Boolean!
4734  id: ID!
4735
4736  """Instructions on how to implement the license"""
4737  implementation: String
4738
4739  """The lowercased SPDX ID of the license"""
4740  key: String!
4741
4742  """The limitations set by the license"""
4743  limitations: [LicenseRule]!
4744
4745  """The license full name specified by <https://spdx.org/licenses>"""
4746  name: String!
4747
4748  """Customary short name if applicable (e.g, GPLv3)"""
4749  nickname: String
4750
4751  """The permissions set by the license"""
4752  permissions: [LicenseRule]!
4753
4754  """
4755  Whether the license is a pseudo-license placeholder (e.g., other, no-license)
4756  """
4757  pseudoLicense: Boolean!
4758
4759  """Short identifier specified by <https://spdx.org/licenses>"""
4760  spdxId: String
4761
4762  """URL to the license on <https://choosealicense.com>"""
4763  url: URI
4764}
4765
4766"""Describes a License's conditions, permissions, and limitations"""
4767type LicenseRule {
4768  """A description of the rule"""
4769  description: String!
4770
4771  """The machine-readable rule key"""
4772  key: String!
4773
4774  """The human-readable rule label"""
4775  label: String!
4776}
4777
4778"""An object that can be locked."""
4779interface Lockable {
4780  """Reason that the conversation was locked."""
4781  activeLockReason: LockReason
4782
4783  """`true` if the object is locked"""
4784  locked: Boolean!
4785}
4786
4787"""Represents a 'locked' event on a given issue or pull request."""
4788type LockedEvent implements Node {
4789  """Identifies the actor who performed the event."""
4790  actor: Actor
4791
4792  """Identifies the date and time when the object was created."""
4793  createdAt: DateTime!
4794  id: ID!
4795
4796  """Reason that the conversation was locked (optional)."""
4797  lockReason: LockReason
4798
4799  """Object that was locked."""
4800  lockable: Lockable!
4801}
4802
4803"""Autogenerated input type of LockLockable"""
4804input LockLockableInput {
4805  """ID of the issue or pull request to be locked."""
4806  lockableId: ID!
4807
4808  """A reason for why the issue or pull request will be locked."""
4809  lockReason: LockReason
4810
4811  """A unique identifier for the client performing the mutation."""
4812  clientMutationId: String
4813}
4814
4815"""Autogenerated return type of LockLockable"""
4816type LockLockablePayload {
4817  """A unique identifier for the client performing the mutation."""
4818  clientMutationId: String
4819
4820  """The item that was locked."""
4821  lockedRecord: Lockable
4822}
4823
4824"""The possible reasons that an issue or pull request was locked."""
4825enum LockReason {
4826  """
4827  The issue or pull request was locked because the conversation was off-topic.
4828  """
4829  OFF_TOPIC
4830
4831  """
4832  The issue or pull request was locked because the conversation was too heated.
4833  """
4834  TOO_HEATED
4835
4836  """
4837  The issue or pull request was locked because the conversation was resolved.
4838  """
4839  RESOLVED
4840
4841  """
4842  The issue or pull request was locked because the conversation was spam.
4843  """
4844  SPAM
4845}
4846
4847"""A placeholder user for attribution of imported data on GitHub."""
4848type Mannequin implements Node & Actor & UniformResourceLocatable {
4849  """A URL pointing to the GitHub App's public avatar."""
4850  avatarUrl(
4851    """The size of the resulting square image."""
4852    size: Int
4853  ): URI!
4854
4855  """Identifies the date and time when the object was created."""
4856  createdAt: DateTime!
4857
4858  """Identifies the primary key from the database."""
4859  databaseId: Int
4860  id: ID!
4861
4862  """The username of the actor."""
4863  login: String!
4864
4865  """The HTML path to this resource."""
4866  resourcePath: URI!
4867
4868  """Identifies the date and time when the object was last updated."""
4869  updatedAt: DateTime!
4870
4871  """The URL to this resource."""
4872  url: URI!
4873}
4874
4875"""A public description of a Marketplace category."""
4876type MarketplaceCategory implements Node {
4877  """The category's description."""
4878  description: String
4879
4880  """
4881  The technical description of how apps listed in this category work with GitHub.
4882  """
4883  howItWorks: String
4884  id: ID!
4885
4886  """The category's name."""
4887  name: String!
4888
4889  """How many Marketplace listings have this as their primary category."""
4890  primaryListingCount: Int!
4891
4892  """The HTTP path for this Marketplace category."""
4893  resourcePath: URI!
4894
4895  """How many Marketplace listings have this as their secondary category."""
4896  secondaryListingCount: Int!
4897
4898  """The short name of the category used in its URL."""
4899  slug: String!
4900
4901  """The HTTP URL for this Marketplace category."""
4902  url: URI!
4903}
4904
4905"""A listing in the GitHub integration marketplace."""
4906type MarketplaceListing implements Node {
4907  """The GitHub App this listing represents."""
4908  app: App
4909
4910  """URL to the listing owner's company site."""
4911  companyUrl: URI
4912
4913  """
4914  The HTTP path for configuring access to the listing's integration or OAuth app
4915  """
4916  configurationResourcePath: URI!
4917
4918  """
4919  The HTTP URL for configuring access to the listing's integration or OAuth app
4920  """
4921  configurationUrl: URI!
4922
4923  """URL to the listing's documentation."""
4924  documentationUrl: URI
4925
4926  """The listing's detailed description."""
4927  extendedDescription: String
4928
4929  """The listing's detailed description rendered to HTML."""
4930  extendedDescriptionHTML: HTML!
4931
4932  """The listing's introductory description."""
4933  fullDescription: String!
4934
4935  """The listing's introductory description rendered to HTML."""
4936  fullDescriptionHTML: HTML!
4937
4938  """
4939  Whether this listing has been submitted for review from GitHub for approval to be displayed in the Marketplace.
4940  """
4941  hasApprovalBeenRequested: Boolean! @deprecated(reason: "`hasApprovalBeenRequested` will be removed. Use `isVerificationPendingFromDraft` instead. Removal on 2019-10-01 UTC.")
4942
4943  """Does this listing have any plans with a free trial?"""
4944  hasPublishedFreeTrialPlans: Boolean!
4945
4946  """Does this listing have a terms of service link?"""
4947  hasTermsOfService: Boolean!
4948
4949  """A technical description of how this app works with GitHub."""
4950  howItWorks: String
4951
4952  """The listing's technical description rendered to HTML."""
4953  howItWorksHTML: HTML!
4954  id: ID!
4955
4956  """URL to install the product to the viewer's account or organization."""
4957  installationUrl: URI
4958
4959  """Whether this listing's app has been installed for the current viewer"""
4960  installedForViewer: Boolean!
4961
4962  """Whether this listing has been approved for display in the Marketplace."""
4963  isApproved: Boolean! @deprecated(reason: "`isApproved` will be removed. Use `isPublic` instead. Removal on 2019-10-01 UTC.")
4964
4965  """Whether this listing has been removed from the Marketplace."""
4966  isArchived: Boolean!
4967
4968  """Whether this listing has been removed from the Marketplace."""
4969  isDelisted: Boolean! @deprecated(reason: "`isDelisted` will be removed. Use `isArchived` instead. Removal on 2019-10-01 UTC.")
4970
4971  """
4972  Whether this listing is still an editable draft that has not been submitted
4973  for review and is not publicly visible in the Marketplace.
4974  """
4975  isDraft: Boolean!
4976
4977  """
4978  Whether the product this listing represents is available as part of a paid plan.
4979  """
4980  isPaid: Boolean!
4981
4982  """Whether this listing has been approved for display in the Marketplace."""
4983  isPublic: Boolean!
4984
4985  """
4986  Whether this listing has been rejected by GitHub for display in the Marketplace.
4987  """
4988  isRejected: Boolean!
4989
4990  """
4991  Whether this listing has been approved for unverified display in the Marketplace.
4992  """
4993  isUnverified: Boolean!
4994
4995  """
4996  Whether this draft listing has been submitted for review for approval to be unverified in the Marketplace.
4997  """
4998  isUnverifiedPending: Boolean!
4999
5000  """
5001  Whether this draft listing has been submitted for review from GitHub for approval to be verified in the Marketplace.
5002  """
5003  isVerificationPendingFromDraft: Boolean!
5004
5005  """
5006  Whether this unverified listing has been submitted for review from GitHub for approval to be verified in the Marketplace.
5007  """
5008  isVerificationPendingFromUnverified: Boolean!
5009
5010  """
5011  Whether this listing has been approved for verified display in the Marketplace.
5012  """
5013  isVerified: Boolean!
5014
5015  """The hex color code, without the leading '#', for the logo background."""
5016  logoBackgroundColor: String!
5017
5018  """URL for the listing's logo image."""
5019  logoUrl(
5020    """The size in pixels of the resulting square image."""
5021    size: Int = 400
5022  ): URI
5023
5024  """The listing's full name."""
5025  name: String!
5026
5027  """
5028  The listing's very short description without a trailing period or ampersands.
5029  """
5030  normalizedShortDescription: String!
5031
5032  """URL to the listing's detailed pricing."""
5033  pricingUrl: URI
5034
5035  """The category that best describes the listing."""
5036  primaryCategory: MarketplaceCategory!
5037
5038  """
5039  URL to the listing's privacy policy, may return an empty string for listings that do not require a privacy policy URL.
5040  """
5041  privacyPolicyUrl: URI!
5042
5043  """The HTTP path for the Marketplace listing."""
5044  resourcePath: URI!
5045
5046  """The URLs for the listing's screenshots."""
5047  screenshotUrls: [String]!
5048
5049  """An alternate category that describes the listing."""
5050  secondaryCategory: MarketplaceCategory
5051
5052  """The listing's very short description."""
5053  shortDescription: String!
5054
5055  """The short name of the listing used in its URL."""
5056  slug: String!
5057
5058  """URL to the listing's status page."""
5059  statusUrl: URI
5060
5061  """An email address for support for this listing's app."""
5062  supportEmail: String
5063
5064  """
5065  Either a URL or an email address for support for this listing's app, may
5066  return an empty string for listings that do not require a support URL.
5067  """
5068  supportUrl: URI!
5069
5070  """URL to the listing's terms of service."""
5071  termsOfServiceUrl: URI
5072
5073  """The HTTP URL for the Marketplace listing."""
5074  url: URI!
5075
5076  """Can the current viewer add plans for this Marketplace listing."""
5077  viewerCanAddPlans: Boolean!
5078
5079  """Can the current viewer approve this Marketplace listing."""
5080  viewerCanApprove: Boolean!
5081
5082  """Can the current viewer delist this Marketplace listing."""
5083  viewerCanDelist: Boolean!
5084
5085  """Can the current viewer edit this Marketplace listing."""
5086  viewerCanEdit: Boolean!
5087
5088  """
5089  Can the current viewer edit the primary and secondary category of this
5090  Marketplace listing.
5091
5092  """
5093  viewerCanEditCategories: Boolean!
5094
5095  """Can the current viewer edit the plans for this Marketplace listing."""
5096  viewerCanEditPlans: Boolean!
5097
5098  """
5099  Can the current viewer return this Marketplace listing to draft state
5100  so it becomes editable again.
5101
5102  """
5103  viewerCanRedraft: Boolean!
5104
5105  """
5106  Can the current viewer reject this Marketplace listing by returning it to
5107  an editable draft state or rejecting it entirely.
5108
5109  """
5110  viewerCanReject: Boolean!
5111
5112  """
5113  Can the current viewer request this listing be reviewed for display in
5114  the Marketplace as verified.
5115
5116  """
5117  viewerCanRequestApproval: Boolean!
5118
5119  """
5120  Indicates whether the current user has an active subscription to this Marketplace listing.
5121
5122  """
5123  viewerHasPurchased: Boolean!
5124
5125  """
5126  Indicates if the current user has purchased a subscription to this Marketplace listing
5127  for all of the organizations the user owns.
5128
5129  """
5130  viewerHasPurchasedForAllOrganizations: Boolean!
5131
5132  """
5133  Does the current viewer role allow them to administer this Marketplace listing.
5134
5135  """
5136  viewerIsListingAdmin: Boolean!
5137}
5138
5139"""Look up Marketplace Listings"""
5140type MarketplaceListingConnection {
5141  """A list of edges."""
5142  edges: [MarketplaceListingEdge]
5143
5144  """A list of nodes."""
5145  nodes: [MarketplaceListing]
5146
5147  """Information to aid in pagination."""
5148  pageInfo: PageInfo!
5149
5150  """Identifies the total count of items in the connection."""
5151  totalCount: Int!
5152}
5153
5154"""An edge in a connection."""
5155type MarketplaceListingEdge {
5156  """A cursor for use in pagination."""
5157  cursor: String!
5158
5159  """The item at the end of the edge."""
5160  node: MarketplaceListing
5161}
5162
5163"""Entities that have members who can set status messages."""
5164interface MemberStatusable {
5165  """
5166  Get the status messages members of this entity have set that are either public or visible only to the organization.
5167  """
5168  memberStatuses(
5169    """Returns the elements in the list that come after the specified cursor."""
5170    after: String
5171
5172    """
5173    Returns the elements in the list that come before the specified cursor.
5174    """
5175    before: String
5176
5177    """Returns the first _n_ elements from the list."""
5178    first: Int
5179
5180    """Returns the last _n_ elements from the list."""
5181    last: Int
5182
5183    """Ordering options for user statuses returned from the connection."""
5184    orderBy: UserStatusOrder
5185  ): UserStatusConnection!
5186}
5187
5188"""Represents a 'mentioned' event on a given issue or pull request."""
5189type MentionedEvent implements Node {
5190  """Identifies the actor who performed the event."""
5191  actor: Actor
5192
5193  """Identifies the date and time when the object was created."""
5194  createdAt: DateTime!
5195
5196  """Identifies the primary key from the database."""
5197  databaseId: Int
5198  id: ID!
5199}
5200
5201"""Whether or not a PullRequest can be merged."""
5202enum MergeableState {
5203  """The pull request can be merged."""
5204  MERGEABLE
5205
5206  """The pull request cannot be merged due to merge conflicts."""
5207  CONFLICTING
5208
5209  """The mergeability of the pull request is still being calculated."""
5210  UNKNOWN
5211}
5212
5213"""Represents a 'merged' event on a given pull request."""
5214type MergedEvent implements Node & UniformResourceLocatable {
5215  """Identifies the actor who performed the event."""
5216  actor: Actor
5217
5218  """Identifies the commit associated with the `merge` event."""
5219  commit: Commit
5220
5221  """Identifies the date and time when the object was created."""
5222  createdAt: DateTime!
5223  id: ID!
5224
5225  """Identifies the Ref associated with the `merge` event."""
5226  mergeRef: Ref
5227
5228  """Identifies the name of the Ref associated with the `merge` event."""
5229  mergeRefName: String!
5230
5231  """PullRequest referenced by event."""
5232  pullRequest: PullRequest!
5233
5234  """The HTTP path for this merged event."""
5235  resourcePath: URI!
5236
5237  """The HTTP URL for this merged event."""
5238  url: URI!
5239}
5240
5241"""Autogenerated input type of MergePullRequest"""
5242input MergePullRequestInput {
5243  """ID of the pull request to be merged."""
5244  pullRequestId: ID!
5245
5246  """
5247  Commit headline to use for the merge commit; if omitted, a default message will be used.
5248  """
5249  commitHeadline: String
5250
5251  """
5252  Commit body to use for the merge commit; if omitted, a default message will be used
5253  """
5254  commitBody: String
5255
5256  """
5257  OID that the pull request head ref must match to allow merge; if omitted, no check is performed.
5258  """
5259  expectedHeadOid: GitObjectID
5260
5261  """A unique identifier for the client performing the mutation."""
5262  clientMutationId: String
5263}
5264
5265"""Autogenerated return type of MergePullRequest"""
5266type MergePullRequestPayload {
5267  """A unique identifier for the client performing the mutation."""
5268  clientMutationId: String
5269
5270  """The pull request that was merged."""
5271  pullRequest: PullRequest
5272}
5273
5274"""Represents a Milestone object on a given repository."""
5275type Milestone implements Node & Closable & UniformResourceLocatable {
5276  """
5277  `true` if the object is closed (definition of closed may depend on type)
5278  """
5279  closed: Boolean!
5280
5281  """Identifies the date and time when the object was closed."""
5282  closedAt: DateTime
5283
5284  """Identifies the date and time when the object was created."""
5285  createdAt: DateTime!
5286
5287  """Identifies the actor who created the milestone."""
5288  creator: Actor
5289
5290  """Identifies the description of the milestone."""
5291  description: String
5292
5293  """Identifies the due date of the milestone."""
5294  dueOn: DateTime
5295  id: ID!
5296
5297  """A list of issues associated with the milestone."""
5298  issues(
5299    """Ordering options for issues returned from the connection."""
5300    orderBy: IssueOrder
5301
5302    """A list of label names to filter the pull requests by."""
5303    labels: [String!]
5304
5305    """A list of states to filter the issues by."""
5306    states: [IssueState!]
5307
5308    """Filtering options for issues returned from the connection."""
5309    filterBy: IssueFilters
5310
5311    """Returns the elements in the list that come after the specified cursor."""
5312    after: String
5313
5314    """
5315    Returns the elements in the list that come before the specified cursor.
5316    """
5317    before: String
5318
5319    """Returns the first _n_ elements from the list."""
5320    first: Int
5321
5322    """Returns the last _n_ elements from the list."""
5323    last: Int
5324  ): IssueConnection!
5325
5326  """Identifies the number of the milestone."""
5327  number: Int!
5328
5329  """A list of pull requests associated with the milestone."""
5330  pullRequests(
5331    """A list of states to filter the pull requests by."""
5332    states: [PullRequestState!]
5333
5334    """A list of label names to filter the pull requests by."""
5335    labels: [String!]
5336
5337    """The head ref name to filter the pull requests by."""
5338    headRefName: String
5339
5340    """The base ref name to filter the pull requests by."""
5341    baseRefName: String
5342
5343    """Ordering options for pull requests returned from the connection."""
5344    orderBy: IssueOrder
5345
5346    """Returns the elements in the list that come after the specified cursor."""
5347    after: String
5348
5349    """
5350    Returns the elements in the list that come before the specified cursor.
5351    """
5352    before: String
5353
5354    """Returns the first _n_ elements from the list."""
5355    first: Int
5356
5357    """Returns the last _n_ elements from the list."""
5358    last: Int
5359  ): PullRequestConnection!
5360
5361  """The repository associated with this milestone."""
5362  repository: Repository!
5363
5364  """The HTTP path for this milestone"""
5365  resourcePath: URI!
5366
5367  """Identifies the state of the milestone."""
5368  state: MilestoneState!
5369
5370  """Identifies the title of the milestone."""
5371  title: String!
5372
5373  """Identifies the date and time when the object was last updated."""
5374  updatedAt: DateTime!
5375
5376  """The HTTP URL for this milestone"""
5377  url: URI!
5378}
5379
5380"""The connection type for Milestone."""
5381type MilestoneConnection {
5382  """A list of edges."""
5383  edges: [MilestoneEdge]
5384
5385  """A list of nodes."""
5386  nodes: [Milestone]
5387
5388  """Information to aid in pagination."""
5389  pageInfo: PageInfo!
5390
5391  """Identifies the total count of items in the connection."""
5392  totalCount: Int!
5393}
5394
5395"""Represents a 'milestoned' event on a given issue or pull request."""
5396type MilestonedEvent implements Node {
5397  """Identifies the actor who performed the event."""
5398  actor: Actor
5399
5400  """Identifies the date and time when the object was created."""
5401  createdAt: DateTime!
5402  id: ID!
5403
5404  """Identifies the milestone title associated with the 'milestoned' event."""
5405  milestoneTitle: String!
5406
5407  """Object referenced by event."""
5408  subject: MilestoneItem!
5409}
5410
5411"""An edge in a connection."""
5412type MilestoneEdge {
5413  """A cursor for use in pagination."""
5414  cursor: String!
5415
5416  """The item at the end of the edge."""
5417  node: Milestone
5418}
5419
5420"""Types that can be inside a Milestone."""
5421union MilestoneItem = Issue | PullRequest
5422
5423"""Ordering options for milestone connections."""
5424input MilestoneOrder {
5425  """The field to order milestones by."""
5426  field: MilestoneOrderField!
5427
5428  """The ordering direction."""
5429  direction: OrderDirection!
5430}
5431
5432"""Properties by which milestone connections can be ordered."""
5433enum MilestoneOrderField {
5434  """Order milestones by when they are due."""
5435  DUE_DATE
5436
5437  """Order milestones by when they were created."""
5438  CREATED_AT
5439
5440  """Order milestones by when they were last updated."""
5441  UPDATED_AT
5442
5443  """Order milestones by their number."""
5444  NUMBER
5445}
5446
5447"""The possible states of a milestone."""
5448enum MilestoneState {
5449  """A milestone that is still open."""
5450  OPEN
5451
5452  """A milestone that has been closed."""
5453  CLOSED
5454}
5455
5456"""Autogenerated input type of MinimizeComment"""
5457input MinimizeCommentInput {
5458  """The Node ID of the subject to modify."""
5459  subjectId: ID!
5460
5461  """The classification of comment"""
5462  classifier: ReportedContentClassifiers!
5463
5464  """A unique identifier for the client performing the mutation."""
5465  clientMutationId: String
5466}
5467
5468"""
5469Represents a 'moved_columns_in_project' event on a given issue or pull request.
5470"""
5471type MovedColumnsInProjectEvent implements Node {
5472  """Identifies the actor who performed the event."""
5473  actor: Actor
5474
5475  """Identifies the date and time when the object was created."""
5476  createdAt: DateTime!
5477
5478  """Identifies the primary key from the database."""
5479  databaseId: Int
5480  id: ID!
5481}
5482
5483"""Autogenerated input type of MoveProjectCard"""
5484input MoveProjectCardInput {
5485  """The id of the card to move."""
5486  cardId: ID!
5487
5488  """The id of the column to move it into."""
5489  columnId: ID!
5490
5491  """
5492  Place the new card after the card with this id. Pass null to place it at the top.
5493  """
5494  afterCardId: ID
5495
5496  """A unique identifier for the client performing the mutation."""
5497  clientMutationId: String
5498}
5499
5500"""Autogenerated return type of MoveProjectCard"""
5501type MoveProjectCardPayload {
5502  """The new edge of the moved card."""
5503  cardEdge: ProjectCardEdge
5504
5505  """A unique identifier for the client performing the mutation."""
5506  clientMutationId: String
5507}
5508
5509"""Autogenerated input type of MoveProjectColumn"""
5510input MoveProjectColumnInput {
5511  """The id of the column to move."""
5512  columnId: ID!
5513
5514  """
5515  Place the new column after the column with this id. Pass null to place it at the front.
5516  """
5517  afterColumnId: ID
5518
5519  """A unique identifier for the client performing the mutation."""
5520  clientMutationId: String
5521}
5522
5523"""Autogenerated return type of MoveProjectColumn"""
5524type MoveProjectColumnPayload {
5525  """A unique identifier for the client performing the mutation."""
5526  clientMutationId: String
5527
5528  """The new edge of the moved column."""
5529  columnEdge: ProjectColumnEdge
5530}
5531
5532"""The root query for implementing GraphQL mutations."""
5533type Mutation {
5534  """Applies a suggested topic to the repository."""
5535  acceptTopicSuggestion(input: AcceptTopicSuggestionInput!): AcceptTopicSuggestionPayload
5536
5537  """Adds assignees to an assignable object."""
5538  addAssigneesToAssignable(input: AddAssigneesToAssignableInput!): AddAssigneesToAssignablePayload
5539
5540  """Adds a comment to an Issue or Pull Request."""
5541  addComment(input: AddCommentInput!): AddCommentPayload
5542
5543  """Adds labels to a labelable object."""
5544  addLabelsToLabelable(input: AddLabelsToLabelableInput!): AddLabelsToLabelablePayload
5545
5546  """
5547  Adds a card to a ProjectColumn. Either `contentId` or `note` must be provided but **not** both.
5548  """
5549  addProjectCard(input: AddProjectCardInput!): AddProjectCardPayload
5550
5551  """Adds a column to a Project."""
5552  addProjectColumn(input: AddProjectColumnInput!): AddProjectColumnPayload
5553
5554  """Adds a review to a Pull Request."""
5555  addPullRequestReview(input: AddPullRequestReviewInput!): AddPullRequestReviewPayload
5556
5557  """Adds a comment to a review."""
5558  addPullRequestReviewComment(input: AddPullRequestReviewCommentInput!): AddPullRequestReviewCommentPayload
5559
5560  """Adds a reaction to a subject."""
5561  addReaction(input: AddReactionInput!): AddReactionPayload
5562
5563  """Adds a star to a Starrable."""
5564  addStar(input: AddStarInput!): AddStarPayload
5565
5566  """Update your status on GitHub."""
5567  changeUserStatus(input: ChangeUserStatusInput!): ChangeUserStatusPayload
5568
5569  """Clears all labels from a labelable object."""
5570  clearLabelsFromLabelable(input: ClearLabelsFromLabelableInput!): ClearLabelsFromLabelablePayload
5571
5572  """
5573  Creates a new project by cloning configuration from an existing project.
5574  """
5575  cloneProject(input: CloneProjectInput!): CloneProjectPayload
5576
5577  """Close an issue."""
5578  closeIssue(input: CloseIssueInput!): CloseIssuePayload
5579
5580  """Close a pull request."""
5581  closePullRequest(input: ClosePullRequestInput!): ClosePullRequestPayload
5582
5583  """
5584  Convert a project note card to one associated with a newly created issue.
5585  """
5586  convertProjectCardNoteToIssue(input: ConvertProjectCardNoteToIssueInput!): ConvertProjectCardNoteToIssuePayload
5587
5588  """Create a new branch protection rule"""
5589  createBranchProtectionRule(input: CreateBranchProtectionRuleInput!): CreateBranchProtectionRulePayload
5590
5591  """Creates a new issue."""
5592  createIssue(input: CreateIssueInput!): CreateIssuePayload
5593
5594  """Creates a new project."""
5595  createProject(input: CreateProjectInput!): CreateProjectPayload
5596
5597  """Create a new pull request"""
5598  createPullRequest(input: CreatePullRequestInput!): CreatePullRequestPayload
5599
5600  """Rejects a suggested topic for the repository."""
5601  declineTopicSuggestion(input: DeclineTopicSuggestionInput!): DeclineTopicSuggestionPayload
5602
5603  """Delete a branch protection rule"""
5604  deleteBranchProtectionRule(input: DeleteBranchProtectionRuleInput!): DeleteBranchProtectionRulePayload
5605
5606  """Deletes an Issue object."""
5607  deleteIssue(input: DeleteIssueInput!): DeleteIssuePayload
5608
5609  """Deletes an IssueComment object."""
5610  deleteIssueComment(input: DeleteIssueCommentInput!): DeleteIssueCommentPayload
5611
5612  """Deletes a project."""
5613  deleteProject(input: DeleteProjectInput!): DeleteProjectPayload
5614
5615  """Deletes a project card."""
5616  deleteProjectCard(input: DeleteProjectCardInput!): DeleteProjectCardPayload
5617
5618  """Deletes a project column."""
5619  deleteProjectColumn(input: DeleteProjectColumnInput!): DeleteProjectColumnPayload
5620
5621  """Deletes a pull request review."""
5622  deletePullRequestReview(input: DeletePullRequestReviewInput!): DeletePullRequestReviewPayload
5623
5624  """Deletes a pull request review comment."""
5625  deletePullRequestReviewComment(input: DeletePullRequestReviewCommentInput!): DeletePullRequestReviewCommentPayload
5626
5627  """Dismisses an approved or rejected pull request review."""
5628  dismissPullRequestReview(input: DismissPullRequestReviewInput!): DismissPullRequestReviewPayload
5629
5630  """Lock a lockable object"""
5631  lockLockable(input: LockLockableInput!): LockLockablePayload
5632
5633  """Merge a pull request."""
5634  mergePullRequest(input: MergePullRequestInput!): MergePullRequestPayload
5635
5636  """Moves a project card to another place."""
5637  moveProjectCard(input: MoveProjectCardInput!): MoveProjectCardPayload
5638
5639  """Moves a project column to another place."""
5640  moveProjectColumn(input: MoveProjectColumnInput!): MoveProjectColumnPayload
5641
5642  """Removes assignees from an assignable object."""
5643  removeAssigneesFromAssignable(input: RemoveAssigneesFromAssignableInput!): RemoveAssigneesFromAssignablePayload
5644
5645  """Removes labels from a Labelable object."""
5646  removeLabelsFromLabelable(input: RemoveLabelsFromLabelableInput!): RemoveLabelsFromLabelablePayload
5647
5648  """Removes outside collaborator from all repositories in an organization."""
5649  removeOutsideCollaborator(input: RemoveOutsideCollaboratorInput!): RemoveOutsideCollaboratorPayload
5650
5651  """Removes a reaction from a subject."""
5652  removeReaction(input: RemoveReactionInput!): RemoveReactionPayload
5653
5654  """Removes a star from a Starrable."""
5655  removeStar(input: RemoveStarInput!): RemoveStarPayload
5656
5657  """Reopen a issue."""
5658  reopenIssue(input: ReopenIssueInput!): ReopenIssuePayload
5659
5660  """Reopen a pull request."""
5661  reopenPullRequest(input: ReopenPullRequestInput!): ReopenPullRequestPayload
5662
5663  """Set review requests on a pull request."""
5664  requestReviews(input: RequestReviewsInput!): RequestReviewsPayload
5665
5666  """Marks a review thread as resolved."""
5667  resolveReviewThread(input: ResolveReviewThreadInput!): ResolveReviewThreadPayload
5668
5669  """Submits a pending pull request review."""
5670  submitPullRequestReview(input: SubmitPullRequestReviewInput!): SubmitPullRequestReviewPayload
5671
5672  """Unlock a lockable object"""
5673  unlockLockable(input: UnlockLockableInput!): UnlockLockablePayload
5674
5675  """Unmark an issue as a duplicate of another issue."""
5676  unmarkIssueAsDuplicate(input: UnmarkIssueAsDuplicateInput!): UnmarkIssueAsDuplicatePayload
5677
5678  """Marks a review thread as unresolved."""
5679  unresolveReviewThread(input: UnresolveReviewThreadInput!): UnresolveReviewThreadPayload
5680
5681  """Create a new branch protection rule"""
5682  updateBranchProtectionRule(input: UpdateBranchProtectionRuleInput!): UpdateBranchProtectionRulePayload
5683
5684  """Updates an Issue."""
5685  updateIssue(input: UpdateIssueInput!): UpdateIssuePayload
5686
5687  """Updates an IssueComment object."""
5688  updateIssueComment(input: UpdateIssueCommentInput!): UpdateIssueCommentPayload
5689
5690  """Updates an existing project."""
5691  updateProject(input: UpdateProjectInput!): UpdateProjectPayload
5692
5693  """Updates an existing project card."""
5694  updateProjectCard(input: UpdateProjectCardInput!): UpdateProjectCardPayload
5695
5696  """Updates an existing project column."""
5697  updateProjectColumn(input: UpdateProjectColumnInput!): UpdateProjectColumnPayload
5698
5699  """Update a pull request"""
5700  updatePullRequest(input: UpdatePullRequestInput!): UpdatePullRequestPayload
5701
5702  """Updates the body of a pull request review."""
5703  updatePullRequestReview(input: UpdatePullRequestReviewInput!): UpdatePullRequestReviewPayload
5704
5705  """Updates a pull request review comment."""
5706  updatePullRequestReviewComment(input: UpdatePullRequestReviewCommentInput!): UpdatePullRequestReviewCommentPayload
5707
5708  """Updates the state for subscribable subjects."""
5709  updateSubscription(input: UpdateSubscriptionInput!): UpdateSubscriptionPayload
5710
5711  """Replaces the repository's topics with the given topics."""
5712  updateTopics(input: UpdateTopicsInput!): UpdateTopicsPayload
5713}
5714
5715"""An object with an ID."""
5716interface Node {
5717  """ID of the object."""
5718  id: ID!
5719}
5720
5721"""
5722Possible directions in which to order a list of items when provided an `orderBy` argument.
5723"""
5724enum OrderDirection {
5725  """Specifies an ascending order for a given `orderBy` argument."""
5726  ASC
5727
5728  """Specifies a descending order for a given `orderBy` argument."""
5729  DESC
5730}
5731
5732"""
5733An account on GitHub, with one or more owners, that has repositories, members and teams.
5734"""
5735type Organization implements Node & Actor & RegistryPackageOwner & RegistryPackageSearch & ProjectOwner & RepositoryOwner & UniformResourceLocatable & MemberStatusable & ProfileOwner {
5736  """
5737  Determine if this repository owner has any items that can be pinned to their profile.
5738  """
5739  anyPinnableItems(
5740    """Filter to only a particular kind of pinnable item."""
5741    type: PinnableItemType
5742  ): Boolean!
5743
5744  """A URL pointing to the organization's public avatar."""
5745  avatarUrl(
5746    """The size of the resulting square image."""
5747    size: Int
5748  ): URI!
5749
5750  """Identifies the primary key from the database."""
5751  databaseId: Int
5752
5753  """The organization's public profile description."""
5754  description: String
5755
5756  """The organization's public email."""
5757  email: String
5758  id: ID!
5759
5760  """Whether the organization has verified its profile email and website."""
5761  isVerified: Boolean!
5762
5763  """
5764  Showcases a selection of repositories and gists that the profile owner has
5765  either curated or that have been selected automatically based on popularity.
5766  """
5767  itemShowcase: ProfileItemShowcase!
5768
5769  """The organization's public profile location."""
5770  location: String
5771
5772  """The organization's login name."""
5773  login: String!
5774
5775  """
5776  Get the status messages members of this entity have set that are either public or visible only to the organization.
5777  """
5778  memberStatuses(
5779    """Returns the elements in the list that come after the specified cursor."""
5780    after: String
5781
5782    """
5783    Returns the elements in the list that come before the specified cursor.
5784    """
5785    before: String
5786
5787    """Returns the first _n_ elements from the list."""
5788    first: Int
5789
5790    """Returns the last _n_ elements from the list."""
5791    last: Int
5792
5793    """Ordering options for user statuses returned from the connection."""
5794    orderBy: UserStatusOrder
5795  ): UserStatusConnection!
5796
5797  """A list of users who are members of this organization."""
5798  membersWithRole(
5799    """Returns the elements in the list that come after the specified cursor."""
5800    after: String
5801
5802    """
5803    Returns the elements in the list that come before the specified cursor.
5804    """
5805    before: String
5806
5807    """Returns the first _n_ elements from the list."""
5808    first: Int
5809
5810    """Returns the last _n_ elements from the list."""
5811    last: Int
5812  ): OrganizationMemberConnection!
5813
5814  """The organization's public profile name."""
5815  name: String
5816
5817  """The HTTP path creating a new team"""
5818  newTeamResourcePath: URI!
5819
5820  """The HTTP URL creating a new team"""
5821  newTeamUrl: URI!
5822
5823  """The billing email for the organization."""
5824  organizationBillingEmail: String
5825
5826  """A list of users who have been invited to join this organization."""
5827  pendingMembers(
5828    """Returns the elements in the list that come after the specified cursor."""
5829    after: String
5830
5831    """
5832    Returns the elements in the list that come before the specified cursor.
5833    """
5834    before: String
5835
5836    """Returns the first _n_ elements from the list."""
5837    first: Int
5838
5839    """Returns the last _n_ elements from the list."""
5840    last: Int
5841  ): UserConnection!
5842
5843  """
5844  A list of repositories and gists this profile owner can pin to their profile.
5845  """
5846  pinnableItems(
5847    """Filter the types of pinnable items that are returned."""
5848    types: [PinnableItemType!]
5849
5850    """Returns the elements in the list that come after the specified cursor."""
5851    after: String
5852
5853    """
5854    Returns the elements in the list that come before the specified cursor.
5855    """
5856    before: String
5857
5858    """Returns the first _n_ elements from the list."""
5859    first: Int
5860
5861    """Returns the last _n_ elements from the list."""
5862    last: Int
5863  ): PinnableItemConnection!
5864
5865  """
5866  A list of repositories and gists this profile owner has pinned to their profile
5867  """
5868  pinnedItems(
5869    """Filter the types of pinned items that are returned."""
5870    types: [PinnableItemType!]
5871
5872    """Returns the elements in the list that come after the specified cursor."""
5873    after: String
5874
5875    """
5876    Returns the elements in the list that come before the specified cursor.
5877    """
5878    before: String
5879
5880    """Returns the first _n_ elements from the list."""
5881    first: Int
5882
5883    """Returns the last _n_ elements from the list."""
5884    last: Int
5885  ): PinnableItemConnection!
5886
5887  """
5888  Returns how many more items this profile owner can pin to their profile.
5889  """
5890  pinnedItemsRemaining: Int!
5891
5892  """A list of repositories this user has pinned to their profile"""
5893  pinnedRepositories(
5894    """If non-null, filters repositories according to privacy"""
5895    privacy: RepositoryPrivacy
5896
5897    """Ordering options for repositories returned from the connection"""
5898    orderBy: RepositoryOrder
5899
5900    """
5901    Array of viewer's affiliation options for repositories returned from the
5902    connection. For example, OWNER will include only repositories that the
5903    current viewer owns.
5904    """
5905    affiliations: [RepositoryAffiliation]
5906
5907    """
5908    Array of owner's affiliation options for repositories returned from the
5909    connection. For example, OWNER will include only repositories that the
5910    organization or user being viewed owns.
5911    """
5912    ownerAffiliations: [RepositoryAffiliation]
5913
5914    """
5915    If non-null, filters repositories according to whether they have been locked
5916    """
5917    isLocked: Boolean
5918
5919    """Returns the elements in the list that come after the specified cursor."""
5920    after: String
5921
5922    """
5923    Returns the elements in the list that come before the specified cursor.
5924    """
5925    before: String
5926
5927    """Returns the first _n_ elements from the list."""
5928    first: Int
5929
5930    """Returns the last _n_ elements from the list."""
5931    last: Int
5932  ): RepositoryConnection! @deprecated(reason: "pinnedRepositories will be removed Use ProfileOwner.pinnedItems instead. Removal on 2019-07-01 UTC.")
5933
5934  """Find project by number."""
5935  project(
5936    """The project number to find."""
5937    number: Int!
5938  ): Project
5939
5940  """A list of projects under the owner."""
5941  projects(
5942    """Ordering options for projects returned from the connection"""
5943    orderBy: ProjectOrder
5944
5945    """Query to search projects by, currently only searching by name."""
5946    search: String
5947
5948    """A list of states to filter the projects by."""
5949    states: [ProjectState!]
5950
5951    """Returns the elements in the list that come after the specified cursor."""
5952    after: String
5953
5954    """
5955    Returns the elements in the list that come before the specified cursor.
5956    """
5957    before: String
5958
5959    """Returns the first _n_ elements from the list."""
5960    first: Int
5961
5962    """Returns the last _n_ elements from the list."""
5963    last: Int
5964  ): ProjectConnection!
5965
5966  """The HTTP path listing organization's projects"""
5967  projectsResourcePath: URI!
5968
5969  """The HTTP URL listing organization's projects"""
5970  projectsUrl: URI!
5971
5972  """A list of repositories that the user owns."""
5973  repositories(
5974    """If non-null, filters repositories according to privacy"""
5975    privacy: RepositoryPrivacy
5976
5977    """Ordering options for repositories returned from the connection"""
5978    orderBy: RepositoryOrder
5979
5980    """
5981    Array of viewer's affiliation options for repositories returned from the
5982    connection. For example, OWNER will include only repositories that the
5983    current viewer owns.
5984    """
5985    affiliations: [RepositoryAffiliation]
5986
5987    """
5988    Array of owner's affiliation options for repositories returned from the
5989    connection. For example, OWNER will include only repositories that the
5990    organization or user being viewed owns.
5991    """
5992    ownerAffiliations: [RepositoryAffiliation]
5993
5994    """
5995    If non-null, filters repositories according to whether they have been locked
5996    """
5997    isLocked: Boolean
5998
5999    """Returns the elements in the list that come after the specified cursor."""
6000    after: String
6001
6002    """
6003    Returns the elements in the list that come before the specified cursor.
6004    """
6005    before: String
6006
6007    """Returns the first _n_ elements from the list."""
6008    first: Int
6009
6010    """Returns the last _n_ elements from the list."""
6011    last: Int
6012
6013    """
6014    If non-null, filters repositories according to whether they are forks of another repository
6015    """
6016    isFork: Boolean
6017  ): RepositoryConnection!
6018
6019  """Find Repository."""
6020  repository(
6021    """Name of Repository to find."""
6022    name: String!
6023  ): Repository
6024
6025  """
6026  When true the organization requires all members, billing managers, and outside
6027  collaborators to enable two-factor authentication.
6028  """
6029  requiresTwoFactorAuthentication: Boolean
6030
6031  """The HTTP path for this organization."""
6032  resourcePath: URI!
6033
6034  """The Organization's SAML identity providers"""
6035  samlIdentityProvider: OrganizationIdentityProvider
6036
6037  """Find an organization's team by its slug."""
6038  team(
6039    """The name or slug of the team to find."""
6040    slug: String!
6041  ): Team
6042
6043  """A list of teams in this organization."""
6044  teams(
6045    """If non-null, filters teams according to privacy"""
6046    privacy: TeamPrivacy
6047
6048    """
6049    If non-null, filters teams according to whether the viewer is an admin or member on team
6050    """
6051    role: TeamRole
6052
6053    """If non-null, filters teams with query on team name and team slug"""
6054    query: String
6055
6056    """User logins to filter by"""
6057    userLogins: [String!]
6058
6059    """Ordering options for teams returned from the connection"""
6060    orderBy: TeamOrder
6061
6062    """
6063    If true, filters teams that are mapped to an LDAP Group (Enterprise only)
6064    """
6065    ldapMapped: Boolean
6066
6067    """If true, restrict to only root teams"""
6068    rootTeamsOnly: Boolean = false
6069
6070    """Returns the elements in the list that come after the specified cursor."""
6071    after: String
6072
6073    """
6074    Returns the elements in the list that come before the specified cursor.
6075    """
6076    before: String
6077
6078    """Returns the first _n_ elements from the list."""
6079    first: Int
6080
6081    """Returns the last _n_ elements from the list."""
6082    last: Int
6083  ): TeamConnection!
6084
6085  """The HTTP path listing organization's teams"""
6086  teamsResourcePath: URI!
6087
6088  """The HTTP URL listing organization's teams"""
6089  teamsUrl: URI!
6090
6091  """The HTTP URL for this organization."""
6092  url: URI!
6093
6094  """Organization is adminable by the viewer."""
6095  viewerCanAdminister: Boolean!
6096
6097  """Can the viewer pin repositories and gists to the profile?"""
6098  viewerCanChangePinnedItems: Boolean!
6099
6100  """Can the current viewer create new projects on this owner."""
6101  viewerCanCreateProjects: Boolean!
6102
6103  """Viewer can create repositories on this organization"""
6104  viewerCanCreateRepositories: Boolean!
6105
6106  """Viewer can create teams on this organization."""
6107  viewerCanCreateTeams: Boolean!
6108
6109  """Viewer is an active member of this organization."""
6110  viewerIsAMember: Boolean!
6111
6112  """The organization's public profile URL."""
6113  websiteUrl: URI
6114}
6115
6116"""The connection type for Organization."""
6117type OrganizationConnection {
6118  """A list of edges."""
6119  edges: [OrganizationEdge]
6120
6121  """A list of nodes."""
6122  nodes: [Organization]
6123
6124  """Information to aid in pagination."""
6125  pageInfo: PageInfo!
6126
6127  """Identifies the total count of items in the connection."""
6128  totalCount: Int!
6129}
6130
6131"""An edge in a connection."""
6132type OrganizationEdge {
6133  """A cursor for use in pagination."""
6134  cursor: String!
6135
6136  """The item at the end of the edge."""
6137  node: Organization
6138}
6139
6140"""
6141An Identity Provider configured to provision SAML and SCIM identities for Organizations
6142"""
6143type OrganizationIdentityProvider implements Node {
6144  """
6145  The digest algorithm used to sign SAML requests for the Identity Provider.
6146  """
6147  digestMethod: URI
6148
6149  """External Identities provisioned by this Identity Provider"""
6150  externalIdentities(
6151    """Returns the elements in the list that come after the specified cursor."""
6152    after: String
6153
6154    """
6155    Returns the elements in the list that come before the specified cursor.
6156    """
6157    before: String
6158
6159    """Returns the first _n_ elements from the list."""
6160    first: Int
6161
6162    """Returns the last _n_ elements from the list."""
6163    last: Int
6164  ): ExternalIdentityConnection!
6165  id: ID!
6166
6167  """
6168  The x509 certificate used by the Identity Provder to sign assertions and responses.
6169  """
6170  idpCertificate: X509Certificate
6171
6172  """The Issuer Entity ID for the SAML Identity Provider"""
6173  issuer: String
6174
6175  """Organization this Identity Provider belongs to"""
6176  organization: Organization
6177
6178  """
6179  The signature algorithm used to sign SAML requests for the Identity Provider.
6180  """
6181  signatureMethod: URI
6182
6183  """The URL endpoint for the Identity Provider's SAML SSO."""
6184  ssoUrl: URI
6185}
6186
6187"""An Invitation for a user to an organization."""
6188type OrganizationInvitation implements Node {
6189  """Identifies the date and time when the object was created."""
6190  createdAt: DateTime!
6191
6192  """The email address of the user invited to the organization."""
6193  email: String
6194  id: ID!
6195
6196  """The type of invitation that was sent (e.g. email, user)."""
6197  invitationType: OrganizationInvitationType!
6198
6199  """The user who was invited to the organization."""
6200  invitee: User
6201
6202  """The user who created the invitation."""
6203  inviter: User!
6204
6205  """The organization the invite is for"""
6206  organization: Organization!
6207
6208  """The user's pending role in the organization (e.g. member, owner)."""
6209  role: OrganizationInvitationRole!
6210}
6211
6212"""The connection type for OrganizationInvitation."""
6213type OrganizationInvitationConnection {
6214  """A list of edges."""
6215  edges: [OrganizationInvitationEdge]
6216
6217  """A list of nodes."""
6218  nodes: [OrganizationInvitation]
6219
6220  """Information to aid in pagination."""
6221  pageInfo: PageInfo!
6222
6223  """Identifies the total count of items in the connection."""
6224  totalCount: Int!
6225}
6226
6227"""An edge in a connection."""
6228type OrganizationInvitationEdge {
6229  """A cursor for use in pagination."""
6230  cursor: String!
6231
6232  """The item at the end of the edge."""
6233  node: OrganizationInvitation
6234}
6235
6236"""The possible organization invitation roles."""
6237enum OrganizationInvitationRole {
6238  """The user is invited to be a direct member of the organization."""
6239  DIRECT_MEMBER
6240
6241  """The user is invited to be an admin of the organization."""
6242  ADMIN
6243
6244  """The user is invited to be a billing manager of the organization."""
6245  BILLING_MANAGER
6246
6247  """The user's previous role will be reinstated."""
6248  REINSTATE
6249}
6250
6251"""The possible organization invitation types."""
6252enum OrganizationInvitationType {
6253  """The invitation was to an existing user."""
6254  USER
6255
6256  """The invitation was to an email address."""
6257  EMAIL
6258}
6259
6260"""The connection type for User."""
6261type OrganizationMemberConnection {
6262  """A list of edges."""
6263  edges: [OrganizationMemberEdge]
6264
6265  """A list of nodes."""
6266  nodes: [User]
6267
6268  """Information to aid in pagination."""
6269  pageInfo: PageInfo!
6270
6271  """Identifies the total count of items in the connection."""
6272  totalCount: Int!
6273}
6274
6275"""Represents a user within an organization."""
6276type OrganizationMemberEdge {
6277  """A cursor for use in pagination."""
6278  cursor: String!
6279
6280  """
6281  Whether the organization member has two factor enabled or not. Returns null if information is not available to viewer.
6282  """
6283  hasTwoFactorEnabled: Boolean
6284
6285  """The item at the end of the edge."""
6286  node: User
6287
6288  """The role this user has in the organization."""
6289  role: OrganizationMemberRole
6290}
6291
6292"""The possible roles within an organization for its members."""
6293enum OrganizationMemberRole {
6294  """The user is a member of the organization."""
6295  MEMBER
6296
6297  """The user is an administrator of the organization."""
6298  ADMIN
6299}
6300
6301"""Information about pagination in a connection."""
6302type PageInfo {
6303  """When paginating forwards, the cursor to continue."""
6304  endCursor: String
6305
6306  """When paginating forwards, are there more items?"""
6307  hasNextPage: Boolean!
6308
6309  """When paginating backwards, are there more items?"""
6310  hasPreviousPage: Boolean!
6311
6312  """When paginating backwards, the cursor to continue."""
6313  startCursor: String
6314}
6315
6316"""Types that can grant permissions on a repository to a user"""
6317union PermissionGranter = Organization | Repository | Team
6318
6319"""A level of permission and source for a user's access to a repository."""
6320type PermissionSource {
6321  """The organization the repository belongs to."""
6322  organization: Organization!
6323
6324  """The level of access this source has granted to the user."""
6325  permission: DefaultRepositoryPermissionField!
6326
6327  """The source of this permission."""
6328  source: PermissionGranter!
6329}
6330
6331"""Autogenerated input type of PinIssue"""
6332input PinIssueInput {
6333  """The ID of the issue to be pinned"""
6334  issueId: ID!
6335
6336  """A unique identifier for the client performing the mutation."""
6337  clientMutationId: String
6338}
6339
6340"""Types that can be pinned to a profile page."""
6341union PinnableItem = Gist | Repository
6342
6343"""The connection type for PinnableItem."""
6344type PinnableItemConnection {
6345  """A list of edges."""
6346  edges: [PinnableItemEdge]
6347
6348  """A list of nodes."""
6349  nodes: [PinnableItem]
6350
6351  """Information to aid in pagination."""
6352  pageInfo: PageInfo!
6353
6354  """Identifies the total count of items in the connection."""
6355  totalCount: Int!
6356}
6357
6358"""An edge in a connection."""
6359type PinnableItemEdge {
6360  """A cursor for use in pagination."""
6361  cursor: String!
6362
6363  """The item at the end of the edge."""
6364  node: PinnableItem
6365}
6366
6367"""Represents items that can be pinned to a profile page or dashboard."""
6368enum PinnableItemType {
6369  """A repository."""
6370  REPOSITORY
6371
6372  """A gist."""
6373  GIST
6374
6375  """An issue."""
6376  ISSUE
6377}
6378
6379"""Represents a 'pinned' event on a given issue or pull request."""
6380type PinnedEvent implements Node {
6381  """Identifies the actor who performed the event."""
6382  actor: Actor
6383
6384  """Identifies the date and time when the object was created."""
6385  createdAt: DateTime!
6386  id: ID!
6387
6388  """Identifies the issue associated with the event."""
6389  issue: Issue!
6390}
6391
6392"""
6393A curatable list of repositories relating to a repository owner, which defaults
6394to showing the most popular repositories they own.
6395"""
6396type ProfileItemShowcase {
6397  """Whether or not the owner has pinned any repositories or gists."""
6398  hasPinnedItems: Boolean!
6399
6400  """
6401  The repositories and gists in the showcase. If the profile owner has any
6402  pinned items, those will be returned. Otherwise, the profile owner's popular
6403  repositories will be returned.
6404  """
6405  items(
6406    """Returns the elements in the list that come after the specified cursor."""
6407    after: String
6408
6409    """
6410    Returns the elements in the list that come before the specified cursor.
6411    """
6412    before: String
6413
6414    """Returns the first _n_ elements from the list."""
6415    first: Int
6416
6417    """Returns the last _n_ elements from the list."""
6418    last: Int
6419  ): PinnableItemConnection!
6420}
6421
6422"""Represents any entity on GitHub that has a profile page."""
6423interface ProfileOwner {
6424  """
6425  Determine if this repository owner has any items that can be pinned to their profile.
6426  """
6427  anyPinnableItems(
6428    """Filter to only a particular kind of pinnable item."""
6429    type: PinnableItemType
6430  ): Boolean!
6431
6432  """The public profile email."""
6433  email: String
6434  id: ID!
6435
6436  """
6437  Showcases a selection of repositories and gists that the profile owner has
6438  either curated or that have been selected automatically based on popularity.
6439  """
6440  itemShowcase: ProfileItemShowcase!
6441
6442  """The public profile location."""
6443  location: String
6444
6445  """The username used to login."""
6446  login: String!
6447
6448  """The public profile name."""
6449  name: String
6450
6451  """
6452  A list of repositories and gists this profile owner can pin to their profile.
6453  """
6454  pinnableItems(
6455    """Filter the types of pinnable items that are returned."""
6456    types: [PinnableItemType!]
6457
6458    """Returns the elements in the list that come after the specified cursor."""
6459    after: String
6460
6461    """
6462    Returns the elements in the list that come before the specified cursor.
6463    """
6464    before: String
6465
6466    """Returns the first _n_ elements from the list."""
6467    first: Int
6468
6469    """Returns the last _n_ elements from the list."""
6470    last: Int
6471  ): PinnableItemConnection!
6472
6473  """
6474  A list of repositories and gists this profile owner has pinned to their profile
6475  """
6476  pinnedItems(
6477    """Filter the types of pinned items that are returned."""
6478    types: [PinnableItemType!]
6479
6480    """Returns the elements in the list that come after the specified cursor."""
6481    after: String
6482
6483    """
6484    Returns the elements in the list that come before the specified cursor.
6485    """
6486    before: String
6487
6488    """Returns the first _n_ elements from the list."""
6489    first: Int
6490
6491    """Returns the last _n_ elements from the list."""
6492    last: Int
6493  ): PinnableItemConnection!
6494
6495  """
6496  Returns how many more items this profile owner can pin to their profile.
6497  """
6498  pinnedItemsRemaining: Int!
6499
6500  """Can the viewer pin repositories and gists to the profile?"""
6501  viewerCanChangePinnedItems: Boolean!
6502
6503  """The public profile website URL."""
6504  websiteUrl: URI
6505}
6506
6507"""
6508Projects manage issues, pull requests and notes within a project owner.
6509"""
6510type Project implements Node & Closable & Updatable {
6511  """The project's description body."""
6512  body: String
6513
6514  """The projects description body rendered to HTML."""
6515  bodyHTML: HTML!
6516
6517  """
6518  `true` if the object is closed (definition of closed may depend on type)
6519  """
6520  closed: Boolean!
6521
6522  """Identifies the date and time when the object was closed."""
6523  closedAt: DateTime
6524
6525  """List of columns in the project"""
6526  columns(
6527    """Returns the elements in the list that come after the specified cursor."""
6528    after: String
6529
6530    """
6531    Returns the elements in the list that come before the specified cursor.
6532    """
6533    before: String
6534
6535    """Returns the first _n_ elements from the list."""
6536    first: Int
6537
6538    """Returns the last _n_ elements from the list."""
6539    last: Int
6540  ): ProjectColumnConnection!
6541
6542  """Identifies the date and time when the object was created."""
6543  createdAt: DateTime!
6544
6545  """The actor who originally created the project."""
6546  creator: Actor
6547
6548  """Identifies the primary key from the database."""
6549  databaseId: Int
6550  id: ID!
6551
6552  """The project's name."""
6553  name: String!
6554
6555  """The project's number."""
6556  number: Int!
6557
6558  """
6559  The project's owner. Currently limited to repositories, organizations, and users.
6560  """
6561  owner: ProjectOwner!
6562
6563  """List of pending cards in this project"""
6564  pendingCards(
6565    """Returns the elements in the list that come after the specified cursor."""
6566    after: String
6567
6568    """
6569    Returns the elements in the list that come before the specified cursor.
6570    """
6571    before: String
6572
6573    """Returns the first _n_ elements from the list."""
6574    first: Int
6575
6576    """Returns the last _n_ elements from the list."""
6577    last: Int
6578
6579    """A list of archived states to filter the cards by"""
6580    archivedStates: [ProjectCardArchivedState]
6581  ): ProjectCardConnection!
6582
6583  """The HTTP path for this project"""
6584  resourcePath: URI!
6585
6586  """Whether the project is open or closed."""
6587  state: ProjectState!
6588
6589  """Identifies the date and time when the object was last updated."""
6590  updatedAt: DateTime!
6591
6592  """The HTTP URL for this project"""
6593  url: URI!
6594
6595  """Check if the current viewer can update this object."""
6596  viewerCanUpdate: Boolean!
6597}
6598
6599"""A card in a project."""
6600type ProjectCard implements Node {
6601  """
6602  The project column this card is associated under. A card may only belong to one
6603  project column at a time. The column field will be null if the card is created
6604  in a pending state and has yet to be associated with a column. Once cards are
6605  associated with a column, they will not become pending in the future.
6606
6607  """
6608  column: ProjectColumn
6609
6610  """The card content item"""
6611  content: ProjectCardItem
6612
6613  """Identifies the date and time when the object was created."""
6614  createdAt: DateTime!
6615
6616  """The actor who created this card"""
6617  creator: Actor
6618
6619  """Identifies the primary key from the database."""
6620  databaseId: Int
6621  id: ID!
6622
6623  """Whether the card is archived"""
6624  isArchived: Boolean!
6625
6626  """The card note"""
6627  note: String
6628
6629  """The project that contains this card."""
6630  project: Project!
6631
6632  """The HTTP path for this card"""
6633  resourcePath: URI!
6634
6635  """The state of ProjectCard"""
6636  state: ProjectCardState
6637
6638  """Identifies the date and time when the object was last updated."""
6639  updatedAt: DateTime!
6640
6641  """The HTTP URL for this card"""
6642  url: URI!
6643}
6644
6645"""The possible archived states of a project card."""
6646enum ProjectCardArchivedState {
6647  """A project card that is archived"""
6648  ARCHIVED
6649
6650  """A project card that is not archived"""
6651  NOT_ARCHIVED
6652}
6653
6654"""The connection type for ProjectCard."""
6655type ProjectCardConnection {
6656  """A list of edges."""
6657  edges: [ProjectCardEdge]
6658
6659  """A list of nodes."""
6660  nodes: [ProjectCard]
6661
6662  """Information to aid in pagination."""
6663  pageInfo: PageInfo!
6664
6665  """Identifies the total count of items in the connection."""
6666  totalCount: Int!
6667}
6668
6669"""An edge in a connection."""
6670type ProjectCardEdge {
6671  """A cursor for use in pagination."""
6672  cursor: String!
6673
6674  """The item at the end of the edge."""
6675  node: ProjectCard
6676}
6677
6678"""An issue or PR and its owning repository to be used in a project card."""
6679input ProjectCardImport {
6680  """Repository name with owner (owner/repository)."""
6681  repository: String!
6682
6683  """The issue or pull request number."""
6684  number: Int!
6685}
6686
6687"""Types that can be inside Project Cards."""
6688union ProjectCardItem = Issue | PullRequest
6689
6690"""Various content states of a ProjectCard"""
6691enum ProjectCardState {
6692  """The card has content only."""
6693  CONTENT_ONLY
6694
6695  """The card has a note only."""
6696  NOTE_ONLY
6697
6698  """The card is redacted."""
6699  REDACTED
6700}
6701
6702"""A column inside a project."""
6703type ProjectColumn implements Node {
6704  """List of cards in the column"""
6705  cards(
6706    """Returns the elements in the list that come after the specified cursor."""
6707    after: String
6708
6709    """
6710    Returns the elements in the list that come before the specified cursor.
6711    """
6712    before: String
6713
6714    """Returns the first _n_ elements from the list."""
6715    first: Int
6716
6717    """Returns the last _n_ elements from the list."""
6718    last: Int
6719
6720    """A list of archived states to filter the cards by"""
6721    archivedStates: [ProjectCardArchivedState]
6722  ): ProjectCardConnection!
6723
6724  """Identifies the date and time when the object was created."""
6725  createdAt: DateTime!
6726
6727  """Identifies the primary key from the database."""
6728  databaseId: Int
6729  id: ID!
6730
6731  """The project column's name."""
6732  name: String!
6733
6734  """The project that contains this column."""
6735  project: Project!
6736
6737  """The semantic purpose of the column"""
6738  purpose: ProjectColumnPurpose
6739
6740  """The HTTP path for this project column"""
6741  resourcePath: URI!
6742
6743  """Identifies the date and time when the object was last updated."""
6744  updatedAt: DateTime!
6745
6746  """The HTTP URL for this project column"""
6747  url: URI!
6748}
6749
6750"""The connection type for ProjectColumn."""
6751type ProjectColumnConnection {
6752  """A list of edges."""
6753  edges: [ProjectColumnEdge]
6754
6755  """A list of nodes."""
6756  nodes: [ProjectColumn]
6757
6758  """Information to aid in pagination."""
6759  pageInfo: PageInfo!
6760
6761  """Identifies the total count of items in the connection."""
6762  totalCount: Int!
6763}
6764
6765"""An edge in a connection."""
6766type ProjectColumnEdge {
6767  """A cursor for use in pagination."""
6768  cursor: String!
6769
6770  """The item at the end of the edge."""
6771  node: ProjectColumn
6772}
6773
6774"""A project column and a list of its issues and PRs."""
6775input ProjectColumnImport {
6776  """The name of the column."""
6777  columnName: String!
6778
6779  """The position of the column, starting from 0."""
6780  position: Int!
6781
6782  """A list of issues and pull requests in the column."""
6783  issues: [ProjectCardImport!]
6784}
6785
6786"""The semantic purpose of the column - todo, in progress, or done."""
6787enum ProjectColumnPurpose {
6788  """The column contains cards still to be worked on"""
6789  TODO
6790
6791  """The column contains cards which are currently being worked on"""
6792  IN_PROGRESS
6793
6794  """The column contains cards which are complete"""
6795  DONE
6796}
6797
6798"""A list of projects associated with the owner."""
6799type ProjectConnection {
6800  """A list of edges."""
6801  edges: [ProjectEdge]
6802
6803  """A list of nodes."""
6804  nodes: [Project]
6805
6806  """Information to aid in pagination."""
6807  pageInfo: PageInfo!
6808
6809  """Identifies the total count of items in the connection."""
6810  totalCount: Int!
6811}
6812
6813"""An edge in a connection."""
6814type ProjectEdge {
6815  """A cursor for use in pagination."""
6816  cursor: String!
6817
6818  """The item at the end of the edge."""
6819  node: Project
6820}
6821
6822"""Ways in which lists of projects can be ordered upon return."""
6823input ProjectOrder {
6824  """The field in which to order projects by."""
6825  field: ProjectOrderField!
6826
6827  """The direction in which to order projects by the specified field."""
6828  direction: OrderDirection!
6829}
6830
6831"""Properties by which project connections can be ordered."""
6832enum ProjectOrderField {
6833  """Order projects by creation time"""
6834  CREATED_AT
6835
6836  """Order projects by update time"""
6837  UPDATED_AT
6838
6839  """Order projects by name"""
6840  NAME
6841}
6842
6843"""Represents an owner of a Project."""
6844interface ProjectOwner {
6845  id: ID!
6846
6847  """Find project by number."""
6848  project(
6849    """The project number to find."""
6850    number: Int!
6851  ): Project
6852
6853  """A list of projects under the owner."""
6854  projects(
6855    """Ordering options for projects returned from the connection"""
6856    orderBy: ProjectOrder
6857
6858    """Query to search projects by, currently only searching by name."""
6859    search: String
6860
6861    """A list of states to filter the projects by."""
6862    states: [ProjectState!]
6863
6864    """Returns the elements in the list that come after the specified cursor."""
6865    after: String
6866
6867    """
6868    Returns the elements in the list that come before the specified cursor.
6869    """
6870    before: String
6871
6872    """Returns the first _n_ elements from the list."""
6873    first: Int
6874
6875    """Returns the last _n_ elements from the list."""
6876    last: Int
6877  ): ProjectConnection!
6878
6879  """The HTTP path listing owners projects"""
6880  projectsResourcePath: URI!
6881
6882  """The HTTP URL listing owners projects"""
6883  projectsUrl: URI!
6884
6885  """Can the current viewer create new projects on this owner."""
6886  viewerCanCreateProjects: Boolean!
6887}
6888
6889"""State of the project; either 'open' or 'closed'"""
6890enum ProjectState {
6891  """The project is open."""
6892  OPEN
6893
6894  """The project is closed."""
6895  CLOSED
6896}
6897
6898"""A user's public key."""
6899type PublicKey implements Node {
6900  """The last time this authorization was used to perform an action"""
6901  accessedAt: DateTime
6902
6903  """Identifies the date and time when the object was created."""
6904  createdAt: DateTime!
6905
6906  """The fingerprint for this PublicKey"""
6907  fingerprint: String
6908  id: ID!
6909
6910  """Whether this PublicKey is read-only or not"""
6911  isReadOnly: Boolean!
6912
6913  """The public key string"""
6914  key: String!
6915
6916  """Identifies the date and time when the object was last updated."""
6917  updatedAt: DateTime!
6918}
6919
6920"""The connection type for PublicKey."""
6921type PublicKeyConnection {
6922  """A list of edges."""
6923  edges: [PublicKeyEdge]
6924
6925  """A list of nodes."""
6926  nodes: [PublicKey]
6927
6928  """Information to aid in pagination."""
6929  pageInfo: PageInfo!
6930
6931  """Identifies the total count of items in the connection."""
6932  totalCount: Int!
6933}
6934
6935"""An edge in a connection."""
6936type PublicKeyEdge {
6937  """A cursor for use in pagination."""
6938  cursor: String!
6939
6940  """The item at the end of the edge."""
6941  node: PublicKey
6942}
6943
6944"""A repository pull request."""
6945type PullRequest implements Node & Assignable & Closable & Comment & Updatable & UpdatableComment & Labelable & Lockable & Reactable & RepositoryNode & Subscribable & UniformResourceLocatable {
6946  """Reason that the conversation was locked."""
6947  activeLockReason: LockReason
6948
6949  """The number of additions in this pull request."""
6950  additions: Int!
6951
6952  """A list of Users assigned to this object."""
6953  assignees(
6954    """Returns the elements in the list that come after the specified cursor."""
6955    after: String
6956
6957    """
6958    Returns the elements in the list that come before the specified cursor.
6959    """
6960    before: String
6961
6962    """Returns the first _n_ elements from the list."""
6963    first: Int
6964
6965    """Returns the last _n_ elements from the list."""
6966    last: Int
6967  ): UserConnection!
6968
6969  """The actor who authored the comment."""
6970  author: Actor
6971
6972  """Author's association with the subject of the comment."""
6973  authorAssociation: CommentAuthorAssociation!
6974
6975  """Identifies the base Ref associated with the pull request."""
6976  baseRef: Ref
6977
6978  """
6979  Identifies the name of the base Ref associated with the pull request, even if the ref has been deleted.
6980  """
6981  baseRefName: String!
6982
6983  """
6984  Identifies the oid of the base ref associated with the pull request, even if the ref has been deleted.
6985  """
6986  baseRefOid: GitObjectID!
6987
6988  """The repository associated with this pull request's base Ref."""
6989  baseRepository: Repository
6990
6991  """The body as Markdown."""
6992  body: String!
6993
6994  """The body rendered to HTML."""
6995  bodyHTML: HTML!
6996
6997  """The body rendered to text."""
6998  bodyText: String!
6999
7000  """The number of changed files in this pull request."""
7001  changedFiles: Int!
7002
7003  """`true` if the pull request is closed"""
7004  closed: Boolean!
7005
7006  """Identifies the date and time when the object was closed."""
7007  closedAt: DateTime
7008
7009  """A list of comments associated with the pull request."""
7010  comments(
7011    """Returns the elements in the list that come after the specified cursor."""
7012    after: String
7013
7014    """
7015    Returns the elements in the list that come before the specified cursor.
7016    """
7017    before: String
7018
7019    """Returns the first _n_ elements from the list."""
7020    first: Int
7021
7022    """Returns the last _n_ elements from the list."""
7023    last: Int
7024  ): IssueCommentConnection!
7025
7026  """
7027  A list of commits present in this pull request's head branch not present in the base branch.
7028  """
7029  commits(
7030    """Returns the elements in the list that come after the specified cursor."""
7031    after: String
7032
7033    """
7034    Returns the elements in the list that come before the specified cursor.
7035    """
7036    before: String
7037
7038    """Returns the first _n_ elements from the list."""
7039    first: Int
7040
7041    """Returns the last _n_ elements from the list."""
7042    last: Int
7043  ): PullRequestCommitConnection!
7044
7045  """Identifies the date and time when the object was created."""
7046  createdAt: DateTime!
7047
7048  """Check if this comment was created via an email reply."""
7049  createdViaEmail: Boolean!
7050
7051  """Identifies the primary key from the database."""
7052  databaseId: Int
7053
7054  """The number of deletions in this pull request."""
7055  deletions: Int!
7056
7057  """The actor who edited this pull request's body."""
7058  editor: Actor
7059
7060  """Lists the files changed within this pull request."""
7061  files(
7062    """Returns the elements in the list that come after the specified cursor."""
7063    after: String
7064
7065    """
7066    Returns the elements in the list that come before the specified cursor.
7067    """
7068    before: String
7069
7070    """Returns the first _n_ elements from the list."""
7071    first: Int
7072
7073    """Returns the last _n_ elements from the list."""
7074    last: Int
7075  ): PullRequestChangedFileConnection
7076
7077  """Identifies the head Ref associated with the pull request."""
7078  headRef: Ref
7079
7080  """
7081  Identifies the name of the head Ref associated with the pull request, even if the ref has been deleted.
7082  """
7083  headRefName: String!
7084
7085  """
7086  Identifies the oid of the head ref associated with the pull request, even if the ref has been deleted.
7087  """
7088  headRefOid: GitObjectID!
7089
7090  """The repository associated with this pull request's head Ref."""
7091  headRepository: Repository
7092
7093  """
7094  The owner of the repository associated with this pull request's head Ref.
7095  """
7096  headRepositoryOwner: RepositoryOwner
7097  id: ID!
7098
7099  """
7100  Check if this comment was edited and includes an edit with the creation data
7101  """
7102  includesCreatedEdit: Boolean!
7103
7104  """The head and base repositories are different."""
7105  isCrossRepository: Boolean!
7106
7107  """A list of labels associated with the object."""
7108  labels(
7109    """Returns the elements in the list that come after the specified cursor."""
7110    after: String
7111
7112    """
7113    Returns the elements in the list that come before the specified cursor.
7114    """
7115    before: String
7116
7117    """Returns the first _n_ elements from the list."""
7118    first: Int
7119
7120    """Returns the last _n_ elements from the list."""
7121    last: Int
7122  ): LabelConnection
7123
7124  """The moment the editor made the last edit"""
7125  lastEditedAt: DateTime
7126
7127  """`true` if the pull request is locked"""
7128  locked: Boolean!
7129
7130  """Indicates whether maintainers can modify the pull request."""
7131  maintainerCanModify: Boolean!
7132
7133  """The commit that was created when this pull request was merged."""
7134  mergeCommit: Commit
7135
7136  """
7137  Whether or not the pull request can be merged based on the existence of merge conflicts.
7138  """
7139  mergeable: MergeableState!
7140
7141  """Whether or not the pull request was merged."""
7142  merged: Boolean!
7143
7144  """The date and time that the pull request was merged."""
7145  mergedAt: DateTime
7146
7147  """The actor who merged the pull request."""
7148  mergedBy: Actor
7149
7150  """Identifies the milestone associated with the pull request."""
7151  milestone: Milestone
7152
7153  """Identifies the pull request number."""
7154  number: Int!
7155
7156  """
7157  A list of Users that are participating in the Pull Request conversation.
7158  """
7159  participants(
7160    """Returns the elements in the list that come after the specified cursor."""
7161    after: String
7162
7163    """
7164    Returns the elements in the list that come before the specified cursor.
7165    """
7166    before: String
7167
7168    """Returns the first _n_ elements from the list."""
7169    first: Int
7170
7171    """Returns the last _n_ elements from the list."""
7172    last: Int
7173  ): UserConnection!
7174
7175  """The permalink to the pull request."""
7176  permalink: URI!
7177
7178  """
7179  The commit that GitHub automatically generated to test if this pull request
7180  could be merged. This field will not return a value if the pull request is
7181  merged, or if the test merge commit is still being generated. See the
7182  `mergeable` field for more details on the mergeability of the pull request.
7183  """
7184  potentialMergeCommit: Commit
7185
7186  """List of project cards associated with this pull request."""
7187  projectCards(
7188    """Returns the elements in the list that come after the specified cursor."""
7189    after: String
7190
7191    """
7192    Returns the elements in the list that come before the specified cursor.
7193    """
7194    before: String
7195
7196    """Returns the first _n_ elements from the list."""
7197    first: Int
7198
7199    """Returns the last _n_ elements from the list."""
7200    last: Int
7201
7202    """A list of archived states to filter the cards by"""
7203    archivedStates: [ProjectCardArchivedState]
7204  ): ProjectCardConnection!
7205
7206  """Identifies when the comment was published at."""
7207  publishedAt: DateTime
7208
7209  """A list of reactions grouped by content left on the subject."""
7210  reactionGroups: [ReactionGroup!]
7211
7212  """A list of Reactions left on the Issue."""
7213  reactions(
7214    """Returns the elements in the list that come after the specified cursor."""
7215    after: String
7216
7217    """
7218    Returns the elements in the list that come before the specified cursor.
7219    """
7220    before: String
7221
7222    """Returns the first _n_ elements from the list."""
7223    first: Int
7224
7225    """Returns the last _n_ elements from the list."""
7226    last: Int
7227
7228    """Allows filtering Reactions by emoji."""
7229    content: ReactionContent
7230
7231    """Allows specifying the order in which reactions are returned."""
7232    orderBy: ReactionOrder
7233  ): ReactionConnection!
7234
7235  """The repository associated with this node."""
7236  repository: Repository!
7237
7238  """The HTTP path for this pull request."""
7239  resourcePath: URI!
7240
7241  """The HTTP path for reverting this pull request."""
7242  revertResourcePath: URI!
7243
7244  """The HTTP URL for reverting this pull request."""
7245  revertUrl: URI!
7246
7247  """A list of review requests associated with the pull request."""
7248  reviewRequests(
7249    """Returns the elements in the list that come after the specified cursor."""
7250    after: String
7251
7252    """
7253    Returns the elements in the list that come before the specified cursor.
7254    """
7255    before: String
7256
7257    """Returns the first _n_ elements from the list."""
7258    first: Int
7259
7260    """Returns the last _n_ elements from the list."""
7261    last: Int
7262  ): ReviewRequestConnection
7263
7264  """The list of all review threads for this pull request."""
7265  reviewThreads(
7266    """Returns the elements in the list that come after the specified cursor."""
7267    after: String
7268
7269    """
7270    Returns the elements in the list that come before the specified cursor.
7271    """
7272    before: String
7273
7274    """Returns the first _n_ elements from the list."""
7275    first: Int
7276
7277    """Returns the last _n_ elements from the list."""
7278    last: Int
7279  ): PullRequestReviewThreadConnection!
7280
7281  """A list of reviews associated with the pull request."""
7282  reviews(
7283    """Returns the elements in the list that come after the specified cursor."""
7284    after: String
7285
7286    """
7287    Returns the elements in the list that come before the specified cursor.
7288    """
7289    before: String
7290
7291    """Returns the first _n_ elements from the list."""
7292    first: Int
7293
7294    """Returns the last _n_ elements from the list."""
7295    last: Int
7296
7297    """A list of states to filter the reviews."""
7298    states: [PullRequestReviewState!]
7299
7300    """Filter by author of the review."""
7301    author: String
7302  ): PullRequestReviewConnection
7303
7304  """Identifies the state of the pull request."""
7305  state: PullRequestState!
7306
7307  """
7308  A list of reviewer suggestions based on commit history and past review comments.
7309  """
7310  suggestedReviewers: [SuggestedReviewer]!
7311
7312  """
7313  A list of events, comments, commits, etc. associated with the pull request.
7314  """
7315  timeline(
7316    """Allows filtering timeline events by a `since` timestamp."""
7317    since: DateTime
7318
7319    """Returns the elements in the list that come after the specified cursor."""
7320    after: String
7321
7322    """
7323    Returns the elements in the list that come before the specified cursor.
7324    """
7325    before: String
7326
7327    """Returns the first _n_ elements from the list."""
7328    first: Int
7329
7330    """Returns the last _n_ elements from the list."""
7331    last: Int
7332  ): PullRequestTimelineConnection!
7333
7334  """
7335  A list of events, comments, commits, etc. associated with the pull request.
7336  """
7337  timelineItems(
7338    """Filter timeline items by a `since` timestamp."""
7339    since: DateTime
7340
7341    """Skips the first _n_ elements in the list."""
7342    skip: Int
7343
7344    """Filter timeline items by type."""
7345    itemTypes: [PullRequestTimelineItemsItemType!]
7346
7347    """Returns the elements in the list that come after the specified cursor."""
7348    after: String
7349
7350    """
7351    Returns the elements in the list that come before the specified cursor.
7352    """
7353    before: String
7354
7355    """Returns the first _n_ elements from the list."""
7356    first: Int
7357
7358    """Returns the last _n_ elements from the list."""
7359    last: Int
7360  ): PullRequestTimelineItemsConnection!
7361
7362  """Identifies the pull request title."""
7363  title: String!
7364
7365  """Identifies the date and time when the object was last updated."""
7366  updatedAt: DateTime!
7367
7368  """The HTTP URL for this pull request."""
7369  url: URI!
7370
7371  """A list of edits to this content."""
7372  userContentEdits(
7373    """Returns the elements in the list that come after the specified cursor."""
7374    after: String
7375
7376    """
7377    Returns the elements in the list that come before the specified cursor.
7378    """
7379    before: String
7380
7381    """Returns the first _n_ elements from the list."""
7382    first: Int
7383
7384    """Returns the last _n_ elements from the list."""
7385    last: Int
7386  ): UserContentEditConnection
7387
7388  """Whether or not the viewer can apply suggestion."""
7389  viewerCanApplySuggestion: Boolean!
7390
7391  """Can user react to this subject"""
7392  viewerCanReact: Boolean!
7393
7394  """
7395  Check if the viewer is able to change their subscription status for the repository.
7396  """
7397  viewerCanSubscribe: Boolean!
7398
7399  """Check if the current viewer can update this object."""
7400  viewerCanUpdate: Boolean!
7401
7402  """Reasons why the current viewer can not update this comment."""
7403  viewerCannotUpdateReasons: [CommentCannotUpdateReason!]!
7404
7405  """Did the viewer author this comment."""
7406  viewerDidAuthor: Boolean!
7407
7408  """
7409  Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.
7410  """
7411  viewerSubscription: SubscriptionState
7412}
7413
7414"""A file changed in a pull request."""
7415type PullRequestChangedFile {
7416  """The number of additions to the file."""
7417  additions: Int!
7418
7419  """The number of deletions to the file."""
7420  deletions: Int!
7421
7422  """The path of the file."""
7423  path: String!
7424}
7425
7426"""The connection type for PullRequestChangedFile."""
7427type PullRequestChangedFileConnection {
7428  """A list of edges."""
7429  edges: [PullRequestChangedFileEdge]
7430
7431  """A list of nodes."""
7432  nodes: [PullRequestChangedFile]
7433
7434  """Information to aid in pagination."""
7435  pageInfo: PageInfo!
7436
7437  """Identifies the total count of items in the connection."""
7438  totalCount: Int!
7439}
7440
7441"""An edge in a connection."""
7442type PullRequestChangedFileEdge {
7443  """A cursor for use in pagination."""
7444  cursor: String!
7445
7446  """The item at the end of the edge."""
7447  node: PullRequestChangedFile
7448}
7449
7450"""Represents a Git commit part of a pull request."""
7451type PullRequestCommit implements Node & UniformResourceLocatable {
7452  """The Git commit object"""
7453  commit: Commit!
7454  id: ID!
7455
7456  """The pull request this commit belongs to"""
7457  pullRequest: PullRequest!
7458
7459  """The HTTP path for this pull request commit"""
7460  resourcePath: URI!
7461
7462  """The HTTP URL for this pull request commit"""
7463  url: URI!
7464}
7465
7466"""Represents a commit comment thread part of a pull request."""
7467type PullRequestCommitCommentThread implements Node & RepositoryNode {
7468  """The comments that exist in this thread."""
7469  comments(
7470    """Returns the elements in the list that come after the specified cursor."""
7471    after: String
7472
7473    """
7474    Returns the elements in the list that come before the specified cursor.
7475    """
7476    before: String
7477
7478    """Returns the first _n_ elements from the list."""
7479    first: Int
7480
7481    """Returns the last _n_ elements from the list."""
7482    last: Int
7483  ): CommitCommentConnection!
7484
7485  """The commit the comments were made on."""
7486  commit: Commit!
7487  id: ID!
7488
7489  """The file the comments were made on."""
7490  path: String
7491
7492  """The position in the diff for the commit that the comment was made on."""
7493  position: Int
7494
7495  """The pull request this commit comment thread belongs to"""
7496  pullRequest: PullRequest!
7497
7498  """The repository associated with this node."""
7499  repository: Repository!
7500}
7501
7502"""The connection type for PullRequestCommit."""
7503type PullRequestCommitConnection {
7504  """A list of edges."""
7505  edges: [PullRequestCommitEdge]
7506
7507  """A list of nodes."""
7508  nodes: [PullRequestCommit]
7509
7510  """Information to aid in pagination."""
7511  pageInfo: PageInfo!
7512
7513  """Identifies the total count of items in the connection."""
7514  totalCount: Int!
7515}
7516
7517"""An edge in a connection."""
7518type PullRequestCommitEdge {
7519  """A cursor for use in pagination."""
7520  cursor: String!
7521
7522  """The item at the end of the edge."""
7523  node: PullRequestCommit
7524}
7525
7526"""The connection type for PullRequest."""
7527type PullRequestConnection {
7528  """A list of edges."""
7529  edges: [PullRequestEdge]
7530
7531  """A list of nodes."""
7532  nodes: [PullRequest]
7533
7534  """Information to aid in pagination."""
7535  pageInfo: PageInfo!
7536
7537  """Identifies the total count of items in the connection."""
7538  totalCount: Int!
7539}
7540
7541"""This aggregates pull requests opened by a user within one repository."""
7542type PullRequestContributionsByRepository {
7543  """The pull request contributions."""
7544  contributions(
7545    """Returns the elements in the list that come after the specified cursor."""
7546    after: String
7547
7548    """
7549    Returns the elements in the list that come before the specified cursor.
7550    """
7551    before: String
7552
7553    """Returns the first _n_ elements from the list."""
7554    first: Int
7555
7556    """Returns the last _n_ elements from the list."""
7557    last: Int
7558
7559    """Ordering options for contributions returned from the connection."""
7560    orderBy: ContributionOrder
7561  ): CreatedPullRequestContributionConnection!
7562
7563  """The repository in which the pull requests were opened."""
7564  repository: Repository!
7565}
7566
7567"""An edge in a connection."""
7568type PullRequestEdge {
7569  """A cursor for use in pagination."""
7570  cursor: String!
7571
7572  """The item at the end of the edge."""
7573  node: PullRequest
7574}
7575
7576"""Ways in which lists of issues can be ordered upon return."""
7577input PullRequestOrder {
7578  """The field in which to order pull requests by."""
7579  field: PullRequestOrderField!
7580
7581  """The direction in which to order pull requests by the specified field."""
7582  direction: OrderDirection!
7583}
7584
7585"""Properties by which pull_requests connections can be ordered."""
7586enum PullRequestOrderField {
7587  """Order pull_requests by creation time"""
7588  CREATED_AT
7589
7590  """Order pull_requests by update time"""
7591  UPDATED_AT
7592}
7593
7594"""The possible PubSub channels for a pull request."""
7595enum PullRequestPubSubTopic {
7596  """The channel ID for observing pull request updates."""
7597  UPDATED
7598
7599  """The channel ID for marking an pull request as read."""
7600  MARKASREAD
7601
7602  """The channel ID for observing head ref updates."""
7603  HEAD_REF
7604
7605  """The channel ID for updating items on the pull request timeline."""
7606  TIMELINE
7607
7608  """The channel ID for observing pull request state updates."""
7609  STATE
7610}
7611
7612"""A review object for a given pull request."""
7613type PullRequestReview implements Node & Comment & Deletable & Updatable & UpdatableComment & Reactable & RepositoryNode {
7614  """The actor who authored the comment."""
7615  author: Actor
7616
7617  """Author's association with the subject of the comment."""
7618  authorAssociation: CommentAuthorAssociation!
7619
7620  """Identifies the pull request review body."""
7621  body: String!
7622
7623  """The body of this review rendered to HTML."""
7624  bodyHTML: HTML!
7625
7626  """The body of this review rendered as plain text."""
7627  bodyText: String!
7628
7629  """A list of review comments for the current pull request review."""
7630  comments(
7631    """Returns the elements in the list that come after the specified cursor."""
7632    after: String
7633
7634    """
7635    Returns the elements in the list that come before the specified cursor.
7636    """
7637    before: String
7638
7639    """Returns the first _n_ elements from the list."""
7640    first: Int
7641
7642    """Returns the last _n_ elements from the list."""
7643    last: Int
7644  ): PullRequestReviewCommentConnection!
7645
7646  """Identifies the commit associated with this pull request review."""
7647  commit: Commit
7648
7649  """Identifies the date and time when the object was created."""
7650  createdAt: DateTime!
7651
7652  """Check if this comment was created via an email reply."""
7653  createdViaEmail: Boolean!
7654
7655  """Identifies the primary key from the database."""
7656  databaseId: Int
7657
7658  """The actor who edited the comment."""
7659  editor: Actor
7660  id: ID!
7661
7662  """
7663  Check if this comment was edited and includes an edit with the creation data
7664  """
7665  includesCreatedEdit: Boolean!
7666
7667  """The moment the editor made the last edit"""
7668  lastEditedAt: DateTime
7669
7670  """A list of teams that this review was made on behalf of."""
7671  onBehalfOf(
7672    """Returns the elements in the list that come after the specified cursor."""
7673    after: String
7674
7675    """
7676    Returns the elements in the list that come before the specified cursor.
7677    """
7678    before: String
7679
7680    """Returns the first _n_ elements from the list."""
7681    first: Int
7682
7683    """Returns the last _n_ elements from the list."""
7684    last: Int
7685  ): TeamConnection!
7686
7687  """Identifies when the comment was published at."""
7688  publishedAt: DateTime
7689
7690  """Identifies the pull request associated with this pull request review."""
7691  pullRequest: PullRequest!
7692
7693  """A list of reactions grouped by content left on the subject."""
7694  reactionGroups: [ReactionGroup!]
7695
7696  """A list of Reactions left on the Issue."""
7697  reactions(
7698    """Returns the elements in the list that come after the specified cursor."""
7699    after: String
7700
7701    """
7702    Returns the elements in the list that come before the specified cursor.
7703    """
7704    before: String
7705
7706    """Returns the first _n_ elements from the list."""
7707    first: Int
7708
7709    """Returns the last _n_ elements from the list."""
7710    last: Int
7711
7712    """Allows filtering Reactions by emoji."""
7713    content: ReactionContent
7714
7715    """Allows specifying the order in which reactions are returned."""
7716    orderBy: ReactionOrder
7717  ): ReactionConnection!
7718
7719  """The repository associated with this node."""
7720  repository: Repository!
7721
7722  """The HTTP path permalink for this PullRequestReview."""
7723  resourcePath: URI!
7724
7725  """Identifies the current state of the pull request review."""
7726  state: PullRequestReviewState!
7727
7728  """Identifies when the Pull Request Review was submitted"""
7729  submittedAt: DateTime
7730
7731  """Identifies the date and time when the object was last updated."""
7732  updatedAt: DateTime!
7733
7734  """The HTTP URL permalink for this PullRequestReview."""
7735  url: URI!
7736
7737  """A list of edits to this content."""
7738  userContentEdits(
7739    """Returns the elements in the list that come after the specified cursor."""
7740    after: String
7741
7742    """
7743    Returns the elements in the list that come before the specified cursor.
7744    """
7745    before: String
7746
7747    """Returns the first _n_ elements from the list."""
7748    first: Int
7749
7750    """Returns the last _n_ elements from the list."""
7751    last: Int
7752  ): UserContentEditConnection
7753
7754  """Check if the current viewer can delete this object."""
7755  viewerCanDelete: Boolean!
7756
7757  """Can user react to this subject"""
7758  viewerCanReact: Boolean!
7759
7760  """Check if the current viewer can update this object."""
7761  viewerCanUpdate: Boolean!
7762
7763  """Reasons why the current viewer can not update this comment."""
7764  viewerCannotUpdateReasons: [CommentCannotUpdateReason!]!
7765
7766  """Did the viewer author this comment."""
7767  viewerDidAuthor: Boolean!
7768}
7769
7770"""A review comment associated with a given repository pull request."""
7771type PullRequestReviewComment implements Node & Comment & Deletable & Updatable & UpdatableComment & Reactable & RepositoryNode {
7772  """The actor who authored the comment."""
7773  author: Actor
7774
7775  """Author's association with the subject of the comment."""
7776  authorAssociation: CommentAuthorAssociation!
7777
7778  """The comment body of this review comment."""
7779  body: String!
7780
7781  """The comment body of this review comment rendered to HTML."""
7782  bodyHTML: HTML!
7783
7784  """The comment body of this review comment rendered as plain text."""
7785  bodyText: String!
7786
7787  """Identifies the commit associated with the comment."""
7788  commit: Commit!
7789
7790  """Identifies when the comment was created."""
7791  createdAt: DateTime!
7792
7793  """Check if this comment was created via an email reply."""
7794  createdViaEmail: Boolean!
7795
7796  """Identifies the primary key from the database."""
7797  databaseId: Int
7798
7799  """The diff hunk to which the comment applies."""
7800  diffHunk: String!
7801
7802  """Identifies when the comment was created in a draft state."""
7803  draftedAt: DateTime!
7804
7805  """The actor who edited the comment."""
7806  editor: Actor
7807  id: ID!
7808
7809  """
7810  Check if this comment was edited and includes an edit with the creation data
7811  """
7812  includesCreatedEdit: Boolean!
7813
7814  """Returns whether or not a comment has been minimized."""
7815  isMinimized: Boolean!
7816
7817  """The moment the editor made the last edit"""
7818  lastEditedAt: DateTime
7819
7820  """Returns why the comment was minimized."""
7821  minimizedReason: String
7822
7823  """Identifies the original commit associated with the comment."""
7824  originalCommit: Commit
7825
7826  """The original line index in the diff to which the comment applies."""
7827  originalPosition: Int!
7828
7829  """Identifies when the comment body is outdated"""
7830  outdated: Boolean!
7831
7832  """The path to which the comment applies."""
7833  path: String!
7834
7835  """The line index in the diff to which the comment applies."""
7836  position: Int
7837
7838  """Identifies when the comment was published at."""
7839  publishedAt: DateTime
7840
7841  """The pull request associated with this review comment."""
7842  pullRequest: PullRequest!
7843
7844  """The pull request review associated with this review comment."""
7845  pullRequestReview: PullRequestReview
7846
7847  """A list of reactions grouped by content left on the subject."""
7848  reactionGroups: [ReactionGroup!]
7849
7850  """A list of Reactions left on the Issue."""
7851  reactions(
7852    """Returns the elements in the list that come after the specified cursor."""
7853    after: String
7854
7855    """
7856    Returns the elements in the list that come before the specified cursor.
7857    """
7858    before: String
7859
7860    """Returns the first _n_ elements from the list."""
7861    first: Int
7862
7863    """Returns the last _n_ elements from the list."""
7864    last: Int
7865
7866    """Allows filtering Reactions by emoji."""
7867    content: ReactionContent
7868
7869    """Allows specifying the order in which reactions are returned."""
7870    orderBy: ReactionOrder
7871  ): ReactionConnection!
7872
7873  """The comment this is a reply to."""
7874  replyTo: PullRequestReviewComment
7875
7876  """The repository associated with this node."""
7877  repository: Repository!
7878
7879  """The HTTP path permalink for this review comment."""
7880  resourcePath: URI!
7881
7882  """Identifies the state of the comment."""
7883  state: PullRequestReviewCommentState!
7884
7885  """Identifies when the comment was last updated."""
7886  updatedAt: DateTime!
7887
7888  """The HTTP URL permalink for this review comment."""
7889  url: URI!
7890
7891  """A list of edits to this content."""
7892  userContentEdits(
7893    """Returns the elements in the list that come after the specified cursor."""
7894    after: String
7895
7896    """
7897    Returns the elements in the list that come before the specified cursor.
7898    """
7899    before: String
7900
7901    """Returns the first _n_ elements from the list."""
7902    first: Int
7903
7904    """Returns the last _n_ elements from the list."""
7905    last: Int
7906  ): UserContentEditConnection
7907
7908  """Check if the current viewer can delete this object."""
7909  viewerCanDelete: Boolean!
7910
7911  """Check if the current viewer can minimize this object."""
7912  viewerCanMinimize: Boolean!
7913
7914  """Can user react to this subject"""
7915  viewerCanReact: Boolean!
7916
7917  """Check if the current viewer can update this object."""
7918  viewerCanUpdate: Boolean!
7919
7920  """Reasons why the current viewer can not update this comment."""
7921  viewerCannotUpdateReasons: [CommentCannotUpdateReason!]!
7922
7923  """Did the viewer author this comment."""
7924  viewerDidAuthor: Boolean!
7925}
7926
7927"""The connection type for PullRequestReviewComment."""
7928type PullRequestReviewCommentConnection {
7929  """A list of edges."""
7930  edges: [PullRequestReviewCommentEdge]
7931
7932  """A list of nodes."""
7933  nodes: [PullRequestReviewComment]
7934
7935  """Information to aid in pagination."""
7936  pageInfo: PageInfo!
7937
7938  """Identifies the total count of items in the connection."""
7939  totalCount: Int!
7940}
7941
7942"""An edge in a connection."""
7943type PullRequestReviewCommentEdge {
7944  """A cursor for use in pagination."""
7945  cursor: String!
7946
7947  """The item at the end of the edge."""
7948  node: PullRequestReviewComment
7949}
7950
7951"""The possible states of a pull request review comment."""
7952enum PullRequestReviewCommentState {
7953  """A comment that is part of a pending review"""
7954  PENDING
7955
7956  """A comment that is part of a submitted review"""
7957  SUBMITTED
7958}
7959
7960"""The connection type for PullRequestReview."""
7961type PullRequestReviewConnection {
7962  """A list of edges."""
7963  edges: [PullRequestReviewEdge]
7964
7965  """A list of nodes."""
7966  nodes: [PullRequestReview]
7967
7968  """Information to aid in pagination."""
7969  pageInfo: PageInfo!
7970
7971  """Identifies the total count of items in the connection."""
7972  totalCount: Int!
7973}
7974
7975"""
7976This aggregates pull request reviews made by a user within one repository.
7977"""
7978type PullRequestReviewContributionsByRepository {
7979  """The pull request review contributions."""
7980  contributions(
7981    """Returns the elements in the list that come after the specified cursor."""
7982    after: String
7983
7984    """
7985    Returns the elements in the list that come before the specified cursor.
7986    """
7987    before: String
7988
7989    """Returns the first _n_ elements from the list."""
7990    first: Int
7991
7992    """Returns the last _n_ elements from the list."""
7993    last: Int
7994
7995    """Ordering options for contributions returned from the connection."""
7996    orderBy: ContributionOrder
7997  ): CreatedPullRequestReviewContributionConnection!
7998
7999  """The repository in which the pull request reviews were made."""
8000  repository: Repository!
8001}
8002
8003"""An edge in a connection."""
8004type PullRequestReviewEdge {
8005  """A cursor for use in pagination."""
8006  cursor: String!
8007
8008  """The item at the end of the edge."""
8009  node: PullRequestReview
8010}
8011
8012"""The possible events to perform on a pull request review."""
8013enum PullRequestReviewEvent {
8014  """Submit general feedback without explicit approval."""
8015  COMMENT
8016
8017  """Submit feedback and approve merging these changes."""
8018  APPROVE
8019
8020  """Submit feedback that must be addressed before merging."""
8021  REQUEST_CHANGES
8022
8023  """Dismiss review so it now longer effects merging."""
8024  DISMISS
8025}
8026
8027"""The possible states of a pull request review."""
8028enum PullRequestReviewState {
8029  """A review that has not yet been submitted."""
8030  PENDING
8031
8032  """An informational review."""
8033  COMMENTED
8034
8035  """A review allowing the pull request to merge."""
8036  APPROVED
8037
8038  """A review blocking the pull request from merging."""
8039  CHANGES_REQUESTED
8040
8041  """A review that has been dismissed."""
8042  DISMISSED
8043}
8044
8045"""A threaded list of comments for a given pull request."""
8046type PullRequestReviewThread implements Node {
8047  """A list of pull request comments associated with the thread."""
8048  comments(
8049    """Returns the elements in the list that come after the specified cursor."""
8050    after: String
8051
8052    """
8053    Returns the elements in the list that come before the specified cursor.
8054    """
8055    before: String
8056
8057    """Returns the first _n_ elements from the list."""
8058    first: Int
8059
8060    """Returns the last _n_ elements from the list."""
8061    last: Int
8062  ): PullRequestReviewCommentConnection!
8063  id: ID!
8064
8065  """Whether this thread has been resolved"""
8066  isResolved: Boolean!
8067
8068  """Identifies the pull request associated with this thread."""
8069  pullRequest: PullRequest!
8070
8071  """Identifies the repository associated with this thread."""
8072  repository: Repository!
8073
8074  """The user who resolved this thread"""
8075  resolvedBy: User
8076
8077  """Whether or not the viewer can resolve this thread"""
8078  viewerCanResolve: Boolean!
8079
8080  """Whether or not the viewer can unresolve this thread"""
8081  viewerCanUnresolve: Boolean!
8082}
8083
8084"""Review comment threads for a pull request review."""
8085type PullRequestReviewThreadConnection {
8086  """A list of edges."""
8087  edges: [PullRequestReviewThreadEdge]
8088
8089  """A list of nodes."""
8090  nodes: [PullRequestReviewThread]
8091
8092  """Information to aid in pagination."""
8093  pageInfo: PageInfo!
8094
8095  """Identifies the total count of items in the connection."""
8096  totalCount: Int!
8097}
8098
8099"""An edge in a connection."""
8100type PullRequestReviewThreadEdge {
8101  """A cursor for use in pagination."""
8102  cursor: String!
8103
8104  """The item at the end of the edge."""
8105  node: PullRequestReviewThread
8106}
8107
8108"""
8109Represents the latest point in the pull request timeline for which the viewer has seen the pull request's commits.
8110"""
8111type PullRequestRevisionMarker {
8112  """Identifies the date and time when the object was created."""
8113  createdAt: DateTime!
8114
8115  """The last commit the viewer has seen."""
8116  lastSeenCommit: Commit!
8117
8118  """The pull request to which the marker belongs."""
8119  pullRequest: PullRequest!
8120}
8121
8122"""The possible states of a pull request."""
8123enum PullRequestState {
8124  """A pull request that is still open."""
8125  OPEN
8126
8127  """A pull request that has been closed without being merged."""
8128  CLOSED
8129
8130  """A pull request that has been closed by being merged."""
8131  MERGED
8132}
8133
8134"""The connection type for PullRequestTimelineItem."""
8135type PullRequestTimelineConnection {
8136  """A list of edges."""
8137  edges: [PullRequestTimelineItemEdge]
8138
8139  """A list of nodes."""
8140  nodes: [PullRequestTimelineItem]
8141
8142  """Information to aid in pagination."""
8143  pageInfo: PageInfo!
8144
8145  """Identifies the total count of items in the connection."""
8146  totalCount: Int!
8147}
8148
8149"""An item in an pull request timeline"""
8150union PullRequestTimelineItem = Commit | CommitCommentThread | PullRequestReview | PullRequestReviewThread | PullRequestReviewComment | IssueComment | ClosedEvent | ReopenedEvent | SubscribedEvent | UnsubscribedEvent | MergedEvent | ReferencedEvent | CrossReferencedEvent | AssignedEvent | UnassignedEvent | LabeledEvent | UnlabeledEvent | MilestonedEvent | DemilestonedEvent | RenamedTitleEvent | LockedEvent | UnlockedEvent | DeployedEvent | DeploymentEnvironmentChangedEvent | HeadRefDeletedEvent | HeadRefRestoredEvent | HeadRefForcePushedEvent | BaseRefForcePushedEvent | ReviewRequestedEvent | ReviewRequestRemovedEvent | ReviewDismissedEvent | UserBlockedEvent
8151
8152"""An edge in a connection."""
8153type PullRequestTimelineItemEdge {
8154  """A cursor for use in pagination."""
8155  cursor: String!
8156
8157  """The item at the end of the edge."""
8158  node: PullRequestTimelineItem
8159}
8160
8161"""An item in a pull request timeline"""
8162union PullRequestTimelineItems = PullRequestCommit | PullRequestCommitCommentThread | PullRequestReview | PullRequestReviewThread | PullRequestRevisionMarker | BaseRefChangedEvent | BaseRefForcePushedEvent | DeployedEvent | DeploymentEnvironmentChangedEvent | HeadRefDeletedEvent | HeadRefForcePushedEvent | HeadRefRestoredEvent | MergedEvent | ReviewDismissedEvent | ReviewRequestedEvent | ReviewRequestRemovedEvent | IssueComment | CrossReferencedEvent | AddedToProjectEvent | AssignedEvent | ClosedEvent | CommentDeletedEvent | ConvertedNoteToIssueEvent | DemilestonedEvent | LabeledEvent | LockedEvent | MentionedEvent | MilestonedEvent | MovedColumnsInProjectEvent | PinnedEvent | ReferencedEvent | RemovedFromProjectEvent | RenamedTitleEvent | ReopenedEvent | SubscribedEvent | TransferredEvent | UnassignedEvent | UnlabeledEvent | UnlockedEvent | UserBlockedEvent | UnpinnedEvent | UnsubscribedEvent
8163
8164"""The connection type for PullRequestTimelineItems."""
8165type PullRequestTimelineItemsConnection {
8166  """A list of edges."""
8167  edges: [PullRequestTimelineItemsEdge]
8168
8169  """
8170  Identifies the count of items after applying `before` and `after` filters.
8171  """
8172  filteredCount: Int!
8173
8174  """A list of nodes."""
8175  nodes: [PullRequestTimelineItems]
8176
8177  """
8178  Identifies the count of items after applying `before`/`after` filters and `first`/`last`/`skip` slicing.
8179  """
8180  pageCount: Int!
8181
8182  """Information to aid in pagination."""
8183  pageInfo: PageInfo!
8184
8185  """Identifies the total count of items in the connection."""
8186  totalCount: Int!
8187
8188  """Identifies the date and time when the timeline was last updated."""
8189  updatedAt: DateTime!
8190}
8191
8192"""An edge in a connection."""
8193type PullRequestTimelineItemsEdge {
8194  """A cursor for use in pagination."""
8195  cursor: String!
8196
8197  """The item at the end of the edge."""
8198  node: PullRequestTimelineItems
8199}
8200
8201"""The possible item types found in a timeline."""
8202enum PullRequestTimelineItemsItemType {
8203  """Represents a Git commit part of a pull request."""
8204  PULL_REQUEST_COMMIT
8205
8206  """Represents a commit comment thread part of a pull request."""
8207  PULL_REQUEST_COMMIT_COMMENT_THREAD
8208
8209  """A review object for a given pull request."""
8210  PULL_REQUEST_REVIEW
8211
8212  """A threaded list of comments for a given pull request."""
8213  PULL_REQUEST_REVIEW_THREAD
8214
8215  """
8216  Represents the latest point in the pull request timeline for which the viewer has seen the pull request's commits.
8217  """
8218  PULL_REQUEST_REVISION_MARKER
8219
8220  """
8221  Represents a 'base_ref_changed' event on a given issue or pull request.
8222  """
8223  BASE_REF_CHANGED_EVENT
8224
8225  """Represents a 'base_ref_force_pushed' event on a given pull request."""
8226  BASE_REF_FORCE_PUSHED_EVENT
8227
8228  """Represents a 'deployed' event on a given pull request."""
8229  DEPLOYED_EVENT
8230
8231  """
8232  Represents a 'deployment_environment_changed' event on a given pull request.
8233  """
8234  DEPLOYMENT_ENVIRONMENT_CHANGED_EVENT
8235
8236  """Represents a 'head_ref_deleted' event on a given pull request."""
8237  HEAD_REF_DELETED_EVENT
8238
8239  """Represents a 'head_ref_force_pushed' event on a given pull request."""
8240  HEAD_REF_FORCE_PUSHED_EVENT
8241
8242  """Represents a 'head_ref_restored' event on a given pull request."""
8243  HEAD_REF_RESTORED_EVENT
8244
8245  """Represents a 'merged' event on a given pull request."""
8246  MERGED_EVENT
8247
8248  """
8249  Represents a 'review_dismissed' event on a given issue or pull request.
8250  """
8251  REVIEW_DISMISSED_EVENT
8252
8253  """Represents an 'review_requested' event on a given pull request."""
8254  REVIEW_REQUESTED_EVENT
8255
8256  """Represents an 'review_request_removed' event on a given pull request."""
8257  REVIEW_REQUEST_REMOVED_EVENT
8258
8259  """Represents a comment on an Issue."""
8260  ISSUE_COMMENT
8261
8262  """Represents a mention made by one issue or pull request to another."""
8263  CROSS_REFERENCED_EVENT
8264
8265  """
8266  Represents a 'added_to_project' event on a given issue or pull request.
8267  """
8268  ADDED_TO_PROJECT_EVENT
8269
8270  """Represents an 'assigned' event on any assignable object."""
8271  ASSIGNED_EVENT
8272
8273  """Represents a 'closed' event on any `Closable`."""
8274  CLOSED_EVENT
8275
8276  """Represents a 'comment_deleted' event on a given issue or pull request."""
8277  COMMENT_DELETED_EVENT
8278
8279  """
8280  Represents a 'converted_note_to_issue' event on a given issue or pull request.
8281  """
8282  CONVERTED_NOTE_TO_ISSUE_EVENT
8283
8284  """Represents a 'demilestoned' event on a given issue or pull request."""
8285  DEMILESTONED_EVENT
8286
8287  """Represents a 'labeled' event on a given issue or pull request."""
8288  LABELED_EVENT
8289
8290  """Represents a 'locked' event on a given issue or pull request."""
8291  LOCKED_EVENT
8292
8293  """Represents a 'mentioned' event on a given issue or pull request."""
8294  MENTIONED_EVENT
8295
8296  """Represents a 'milestoned' event on a given issue or pull request."""
8297  MILESTONED_EVENT
8298
8299  """
8300  Represents a 'moved_columns_in_project' event on a given issue or pull request.
8301  """
8302  MOVED_COLUMNS_IN_PROJECT_EVENT
8303
8304  """Represents a 'pinned' event on a given issue or pull request."""
8305  PINNED_EVENT
8306
8307  """Represents a 'referenced' event on a given `ReferencedSubject`."""
8308  REFERENCED_EVENT
8309
8310  """
8311  Represents a 'removed_from_project' event on a given issue or pull request.
8312  """
8313  REMOVED_FROM_PROJECT_EVENT
8314
8315  """Represents a 'renamed' event on a given issue or pull request"""
8316  RENAMED_TITLE_EVENT
8317
8318  """Represents a 'reopened' event on any `Closable`."""
8319  REOPENED_EVENT
8320
8321  """Represents a 'subscribed' event on a given `Subscribable`."""
8322  SUBSCRIBED_EVENT
8323
8324  """Represents a 'transferred' event on a given issue or pull request."""
8325  TRANSFERRED_EVENT
8326
8327  """Represents an 'unassigned' event on any assignable object."""
8328  UNASSIGNED_EVENT
8329
8330  """Represents an 'unlabeled' event on a given issue or pull request."""
8331  UNLABELED_EVENT
8332
8333  """Represents an 'unlocked' event on a given issue or pull request."""
8334  UNLOCKED_EVENT
8335
8336  """Represents a 'user_blocked' event on a given user."""
8337  USER_BLOCKED_EVENT
8338
8339  """Represents an 'unpinned' event on a given issue or pull request."""
8340  UNPINNED_EVENT
8341
8342  """Represents an 'unsubscribed' event on a given `Subscribable`."""
8343  UNSUBSCRIBED_EVENT
8344}
8345
8346"""A team or user who has the ability to push to a protected branch."""
8347type PushAllowance implements Node {
8348  """The actor that can push."""
8349  actor: PushAllowanceActor
8350
8351  """
8352  Identifies the branch protection rule associated with the allowed user or team.
8353  """
8354  branchProtectionRule: BranchProtectionRule
8355  id: ID!
8356}
8357
8358"""Types that can be an actor."""
8359union PushAllowanceActor = User | Team
8360
8361"""The connection type for PushAllowance."""
8362type PushAllowanceConnection {
8363  """A list of edges."""
8364  edges: [PushAllowanceEdge]
8365
8366  """A list of nodes."""
8367  nodes: [PushAllowance]
8368
8369  """Information to aid in pagination."""
8370  pageInfo: PageInfo!
8371
8372  """Identifies the total count of items in the connection."""
8373  totalCount: Int!
8374}
8375
8376"""An edge in a connection."""
8377type PushAllowanceEdge {
8378  """A cursor for use in pagination."""
8379  cursor: String!
8380
8381  """The item at the end of the edge."""
8382  node: PushAllowance
8383}
8384
8385"""The query root of GitHub's GraphQL interface."""
8386type Query {
8387  """Look up a code of conduct by its key"""
8388  codeOfConduct(
8389    """The code of conduct's key"""
8390    key: String!
8391  ): CodeOfConduct
8392
8393  """Look up a code of conduct by its key"""
8394  codesOfConduct: [CodeOfConduct]
8395
8396  """Look up an open source license by its key"""
8397  license(
8398    """The license's downcased SPDX ID"""
8399    key: String!
8400  ): License
8401
8402  """Return a list of known open source licenses"""
8403  licenses: [License]!
8404
8405  """Get alphabetically sorted list of Marketplace categories"""
8406  marketplaceCategories(
8407    """Return only the specified categories."""
8408    includeCategories: [String!]
8409
8410    """Exclude categories with no listings."""
8411    excludeEmpty: Boolean
8412
8413    """Returns top level categories only, excluding any subcategories."""
8414    excludeSubcategories: Boolean
8415  ): [MarketplaceCategory!]!
8416
8417  """Look up a Marketplace category by its slug."""
8418  marketplaceCategory(
8419    """The URL slug of the category."""
8420    slug: String!
8421
8422    """Also check topic aliases for the category slug"""
8423    useTopicAliases: Boolean
8424  ): MarketplaceCategory
8425
8426  """Look up a single Marketplace listing"""
8427  marketplaceListing(
8428    """
8429    Select the listing that matches this slug. It's the short name of the listing used in its URL.
8430    """
8431    slug: String!
8432  ): MarketplaceListing
8433
8434  """Look up Marketplace listings"""
8435  marketplaceListings(
8436    """Returns the elements in the list that come after the specified cursor."""
8437    after: String
8438
8439    """
8440    Returns the elements in the list that come before the specified cursor.
8441    """
8442    before: String
8443
8444    """Returns the first _n_ elements from the list."""
8445    first: Int
8446
8447    """Returns the last _n_ elements from the list."""
8448    last: Int
8449
8450    """Select only listings with the given category."""
8451    categorySlug: String
8452
8453    """Also check topic aliases for the category slug"""
8454    useTopicAliases: Boolean
8455
8456    """
8457    Select listings to which user has admin access. If omitted, listings visible to the
8458    viewer are returned.
8459
8460    """
8461    viewerCanAdmin: Boolean
8462
8463    """Select listings that can be administered by the specified user."""
8464    adminId: ID
8465
8466    """Select listings for products owned by the specified organization."""
8467    organizationId: ID
8468
8469    """
8470    Select listings visible to the viewer even if they are not approved. If omitted or
8471    false, only approved listings will be returned.
8472
8473    """
8474    allStates: Boolean
8475
8476    """
8477    Select the listings with these slugs, if they are visible to the viewer.
8478    """
8479    slugs: [String]
8480
8481    """
8482    Select only listings where the primary category matches the given category slug.
8483    """
8484    primaryCategoryOnly: Boolean = false
8485
8486    """Select only listings that offer a free trial."""
8487    withFreeTrialsOnly: Boolean = false
8488  ): MarketplaceListingConnection!
8489
8490  """Return information about the GitHub instance"""
8491  meta: GitHubMetadata!
8492
8493  """Fetches an object given its ID."""
8494  node(
8495    """ID of the object."""
8496    id: ID!
8497  ): Node
8498
8499  """Lookup nodes by a list of IDs."""
8500  nodes(
8501    """The list of node IDs."""
8502    ids: [ID!]!
8503  ): [Node]!
8504
8505  """Lookup a organization by login."""
8506  organization(
8507    """The organization's login."""
8508    login: String!
8509  ): Organization
8510
8511  """The client's rate limit information."""
8512  rateLimit(
8513    """If true, calculate the cost for the query without evaluating it"""
8514    dryRun: Boolean = false
8515  ): RateLimit
8516
8517  """
8518  Hack to workaround https://github.com/facebook/relay/issues/112 re-exposing the root query object
8519  """
8520  relay: Query!
8521
8522  """Lookup a given repository by the owner and repository name."""
8523  repository(
8524    """The login field of a user or organization"""
8525    owner: String!
8526
8527    """The name of the repository"""
8528    name: String!
8529  ): Repository
8530
8531  """
8532  Lookup a repository owner (ie. either a User or an Organization) by login.
8533  """
8534  repositoryOwner(
8535    """The username to lookup the owner by."""
8536    login: String!
8537  ): RepositoryOwner
8538
8539  """Lookup resource by a URL."""
8540  resource(
8541    """The URL."""
8542    url: URI!
8543  ): UniformResourceLocatable
8544
8545  """Perform a search across resources."""
8546  search(
8547    """Returns the elements in the list that come after the specified cursor."""
8548    after: String
8549
8550    """
8551    Returns the elements in the list that come before the specified cursor.
8552    """
8553    before: String
8554
8555    """Returns the first _n_ elements from the list."""
8556    first: Int
8557
8558    """Returns the last _n_ elements from the list."""
8559    last: Int
8560
8561    """The search string to look for."""
8562    query: String!
8563
8564    """The types of search items to search within."""
8565    type: SearchType!
8566  ): SearchResultItemConnection!
8567
8568  """GitHub Security Advisories"""
8569  securityAdvisories(
8570    """Ordering options for the returned topics."""
8571    orderBy: SecurityAdvisoryOrder
8572
8573    """Filter advisories by identifier, e.g. GHSA or CVE."""
8574    identifier: SecurityAdvisoryIdentifierFilter
8575
8576    """Filter advisories to those published since a time in the past."""
8577    publishedSince: DateTime
8578
8579    """Filter advisories to those updated since a time in the past."""
8580    updatedSince: DateTime
8581
8582    """Returns the elements in the list that come after the specified cursor."""
8583    after: String
8584
8585    """
8586    Returns the elements in the list that come before the specified cursor.
8587    """
8588    before: String
8589
8590    """Returns the first _n_ elements from the list."""
8591    first: Int
8592
8593    """Returns the last _n_ elements from the list."""
8594    last: Int
8595  ): SecurityAdvisoryConnection!
8596
8597  """Fetch a Security Advisory by its GHSA ID"""
8598  securityAdvisory(
8599    """GitHub Security Advisory ID."""
8600    ghsaId: String!
8601  ): SecurityAdvisory
8602
8603  """Software Vulnerabilities documented by GitHub Security Advisories"""
8604  securityVulnerabilities(
8605    """Ordering options for the returned topics."""
8606    orderBy: SecurityVulnerabilityOrder
8607
8608    """An ecosystem to filter vulnerabilities by."""
8609    ecosystem: SecurityAdvisoryEcosystem
8610
8611    """A package name to filter vulnerabilities by."""
8612    package: String
8613
8614    """A list of severities to filter vulnerabilities by."""
8615    severities: [SecurityAdvisorySeverity!]
8616
8617    """Returns the elements in the list that come after the specified cursor."""
8618    after: String
8619
8620    """
8621    Returns the elements in the list that come before the specified cursor.
8622    """
8623    before: String
8624
8625    """Returns the first _n_ elements from the list."""
8626    first: Int
8627
8628    """Returns the last _n_ elements from the list."""
8629    last: Int
8630  ): SecurityVulnerabilityConnection!
8631
8632  """Look up a topic by name."""
8633  topic(
8634    """The topic's name."""
8635    name: String!
8636  ): Topic
8637
8638  """Lookup a user by login."""
8639  user(
8640    """The user's login."""
8641    login: String!
8642  ): User
8643
8644  """The currently authenticated user."""
8645  viewer: User!
8646}
8647
8648"""Represents the client's rate limit."""
8649type RateLimit {
8650  """The point cost for the current query counting against the rate limit."""
8651  cost: Int!
8652
8653  """
8654  The maximum number of points the client is permitted to consume in a 60 minute window.
8655  """
8656  limit: Int!
8657
8658  """The maximum number of nodes this query may return"""
8659  nodeCount: Int!
8660
8661  """The number of points remaining in the current rate limit window."""
8662  remaining: Int!
8663
8664  """
8665  The time at which the current rate limit window resets in UTC epoch seconds.
8666  """
8667  resetAt: DateTime!
8668}
8669
8670"""Represents a subject that can be reacted on."""
8671interface Reactable {
8672  """Identifies the primary key from the database."""
8673  databaseId: Int
8674  id: ID!
8675
8676  """A list of reactions grouped by content left on the subject."""
8677  reactionGroups: [ReactionGroup!]
8678
8679  """A list of Reactions left on the Issue."""
8680  reactions(
8681    """Returns the elements in the list that come after the specified cursor."""
8682    after: String
8683
8684    """
8685    Returns the elements in the list that come before the specified cursor.
8686    """
8687    before: String
8688
8689    """Returns the first _n_ elements from the list."""
8690    first: Int
8691
8692    """Returns the last _n_ elements from the list."""
8693    last: Int
8694
8695    """Allows filtering Reactions by emoji."""
8696    content: ReactionContent
8697
8698    """Allows specifying the order in which reactions are returned."""
8699    orderBy: ReactionOrder
8700  ): ReactionConnection!
8701
8702  """Can user react to this subject"""
8703  viewerCanReact: Boolean!
8704}
8705
8706"""The connection type for User."""
8707type ReactingUserConnection {
8708  """A list of edges."""
8709  edges: [ReactingUserEdge]
8710
8711  """A list of nodes."""
8712  nodes: [User]
8713
8714  """Information to aid in pagination."""
8715  pageInfo: PageInfo!
8716
8717  """Identifies the total count of items in the connection."""
8718  totalCount: Int!
8719}
8720
8721"""Represents a user that's made a reaction."""
8722type ReactingUserEdge {
8723  """A cursor for use in pagination."""
8724  cursor: String!
8725  node: User!
8726
8727  """The moment when the user made the reaction."""
8728  reactedAt: DateTime!
8729}
8730
8731"""An emoji reaction to a particular piece of content."""
8732type Reaction implements Node {
8733  """Identifies the emoji reaction."""
8734  content: ReactionContent!
8735
8736  """Identifies the date and time when the object was created."""
8737  createdAt: DateTime!
8738
8739  """Identifies the primary key from the database."""
8740  databaseId: Int
8741  id: ID!
8742
8743  """The reactable piece of content"""
8744  reactable: Reactable!
8745
8746  """Identifies the user who created this reaction."""
8747  user: User
8748}
8749
8750"""A list of reactions that have been left on the subject."""
8751type ReactionConnection {
8752  """A list of edges."""
8753  edges: [ReactionEdge]
8754
8755  """A list of nodes."""
8756  nodes: [Reaction]
8757
8758  """Information to aid in pagination."""
8759  pageInfo: PageInfo!
8760
8761  """Identifies the total count of items in the connection."""
8762  totalCount: Int!
8763
8764  """
8765  Whether or not the authenticated user has left a reaction on the subject.
8766  """
8767  viewerHasReacted: Boolean!
8768}
8769
8770"""Emojis that can be attached to Issues, Pull Requests and Comments."""
8771enum ReactionContent {
8772  """Represents the �� emoji."""
8773  THUMBS_UP
8774
8775  """Represents the �� emoji."""
8776  THUMBS_DOWN
8777
8778  """Represents the �� emoji."""
8779  LAUGH
8780
8781  """Represents the �� emoji."""
8782  HOORAY
8783
8784  """Represents the �� emoji."""
8785  CONFUSED
8786
8787  """Represents the ❤️ emoji."""
8788  HEART
8789
8790  """Represents the �� emoji."""
8791  ROCKET
8792
8793  """Represents the �� emoji."""
8794  EYES
8795}
8796
8797"""An edge in a connection."""
8798type ReactionEdge {
8799  """A cursor for use in pagination."""
8800  cursor: String!
8801
8802  """The item at the end of the edge."""
8803  node: Reaction
8804}
8805
8806"""A group of emoji reactions to a particular piece of content."""
8807type ReactionGroup {
8808  """Identifies the emoji reaction."""
8809  content: ReactionContent!
8810
8811  """Identifies when the reaction was created."""
8812  createdAt: DateTime
8813
8814  """The subject that was reacted to."""
8815  subject: Reactable!
8816
8817  """
8818  Users who have reacted to the reaction subject with the emotion represented by this reaction group
8819  """
8820  users(
8821    """Returns the elements in the list that come after the specified cursor."""
8822    after: String
8823
8824    """
8825    Returns the elements in the list that come before the specified cursor.
8826    """
8827    before: String
8828
8829    """Returns the first _n_ elements from the list."""
8830    first: Int
8831
8832    """Returns the last _n_ elements from the list."""
8833    last: Int
8834  ): ReactingUserConnection!
8835
8836  """
8837  Whether or not the authenticated user has left a reaction on the subject.
8838  """
8839  viewerHasReacted: Boolean!
8840}
8841
8842"""Ways in which lists of reactions can be ordered upon return."""
8843input ReactionOrder {
8844  """The field in which to order reactions by."""
8845  field: ReactionOrderField!
8846
8847  """The direction in which to order reactions by the specified field."""
8848  direction: OrderDirection!
8849}
8850
8851"""A list of fields that reactions can be ordered by."""
8852enum ReactionOrderField {
8853  """Allows ordering a list of reactions by when they were created."""
8854  CREATED_AT
8855}
8856
8857"""Represents a Git reference."""
8858type Ref implements Node {
8859  """A list of pull requests with this ref as the head ref."""
8860  associatedPullRequests(
8861    """A list of states to filter the pull requests by."""
8862    states: [PullRequestState!]
8863
8864    """A list of label names to filter the pull requests by."""
8865    labels: [String!]
8866
8867    """The head ref name to filter the pull requests by."""
8868    headRefName: String
8869
8870    """The base ref name to filter the pull requests by."""
8871    baseRefName: String
8872
8873    """Ordering options for pull requests returned from the connection."""
8874    orderBy: IssueOrder
8875
8876    """Returns the elements in the list that come after the specified cursor."""
8877    after: String
8878
8879    """
8880    Returns the elements in the list that come before the specified cursor.
8881    """
8882    before: String
8883
8884    """Returns the first _n_ elements from the list."""
8885    first: Int
8886
8887    """Returns the last _n_ elements from the list."""
8888    last: Int
8889  ): PullRequestConnection!
8890  id: ID!
8891
8892  """The ref name."""
8893  name: String!
8894
8895  """The ref's prefix, such as `refs/heads/` or `refs/tags/`."""
8896  prefix: String!
8897
8898  """The repository the ref belongs to."""
8899  repository: Repository!
8900
8901  """The object the ref points to."""
8902  target: GitObject!
8903}
8904
8905"""The connection type for Ref."""
8906type RefConnection {
8907  """A list of edges."""
8908  edges: [RefEdge]
8909
8910  """A list of nodes."""
8911  nodes: [Ref]
8912
8913  """Information to aid in pagination."""
8914  pageInfo: PageInfo!
8915
8916  """Identifies the total count of items in the connection."""
8917  totalCount: Int!
8918}
8919
8920"""An edge in a connection."""
8921type RefEdge {
8922  """A cursor for use in pagination."""
8923  cursor: String!
8924
8925  """The item at the end of the edge."""
8926  node: Ref
8927}
8928
8929"""Represents a 'referenced' event on a given `ReferencedSubject`."""
8930type ReferencedEvent implements Node {
8931  """Identifies the actor who performed the event."""
8932  actor: Actor
8933
8934  """Identifies the commit associated with the 'referenced' event."""
8935  commit: Commit
8936
8937  """Identifies the repository associated with the 'referenced' event."""
8938  commitRepository: Repository!
8939
8940  """Identifies the date and time when the object was created."""
8941  createdAt: DateTime!
8942  id: ID!
8943
8944  """Reference originated in a different repository."""
8945  isCrossRepository: Boolean!
8946
8947  """
8948  Checks if the commit message itself references the subject. Can be false in the case of a commit comment reference.
8949  """
8950  isDirectReference: Boolean!
8951
8952  """Object referenced by event."""
8953  subject: ReferencedSubject!
8954}
8955
8956"""Any referencable object"""
8957union ReferencedSubject = Issue | PullRequest
8958
8959"""Ways in which lists of git refs can be ordered upon return."""
8960input RefOrder {
8961  """The field in which to order refs by."""
8962  field: RefOrderField!
8963
8964  """The direction in which to order refs by the specified field."""
8965  direction: OrderDirection!
8966}
8967
8968"""Properties by which ref connections can be ordered."""
8969enum RefOrderField {
8970  """Order refs by underlying commit date if the ref prefix is refs/tags/"""
8971  TAG_COMMIT_DATE
8972
8973  """Order refs by their alphanumeric name"""
8974  ALPHABETICAL
8975}
8976
8977"""Represents an owner of a registry package."""
8978interface RegistryPackageOwner {
8979  id: ID!
8980}
8981
8982"""Represents an interface to search packages on an object."""
8983interface RegistryPackageSearch {
8984  id: ID!
8985}
8986
8987"""A release contains the content for a release."""
8988type Release implements Node & UniformResourceLocatable {
8989  """The author of the release"""
8990  author: User
8991
8992  """Identifies the date and time when the object was created."""
8993  createdAt: DateTime!
8994
8995  """Identifies the description of the release."""
8996  description: String
8997  id: ID!
8998
8999  """Whether or not the release is a draft"""
9000  isDraft: Boolean!
9001
9002  """Whether or not the release is a prerelease"""
9003  isPrerelease: Boolean!
9004
9005  """Identifies the title of the release."""
9006  name: String
9007
9008  """Identifies the date and time when the release was created."""
9009  publishedAt: DateTime
9010
9011  """List of releases assets which are dependent on this release."""
9012  releaseAssets(
9013    """Returns the elements in the list that come after the specified cursor."""
9014    after: String
9015
9016    """
9017    Returns the elements in the list that come before the specified cursor.
9018    """
9019    before: String
9020
9021    """Returns the first _n_ elements from the list."""
9022    first: Int
9023
9024    """Returns the last _n_ elements from the list."""
9025    last: Int
9026
9027    """A list of names to filter the assets by."""
9028    name: String
9029  ): ReleaseAssetConnection!
9030
9031  """The HTTP path for this issue"""
9032  resourcePath: URI!
9033
9034  """The Git tag the release points to"""
9035  tag: Ref
9036
9037  """The name of the release's Git tag"""
9038  tagName: String!
9039
9040  """Identifies the date and time when the object was last updated."""
9041  updatedAt: DateTime!
9042
9043  """The HTTP URL for this issue"""
9044  url: URI!
9045}
9046
9047"""A release asset contains the content for a release asset."""
9048type ReleaseAsset implements Node {
9049  """The asset's content-type"""
9050  contentType: String!
9051
9052  """Identifies the date and time when the object was created."""
9053  createdAt: DateTime!
9054
9055  """The number of times this asset was downloaded"""
9056  downloadCount: Int!
9057
9058  """
9059  Identifies the URL where you can download the release asset via the browser.
9060  """
9061  downloadUrl: URI!
9062  id: ID!
9063
9064  """Identifies the title of the release asset."""
9065  name: String!
9066
9067  """Release that the asset is associated with"""
9068  release: Release
9069
9070  """The size (in bytes) of the asset"""
9071  size: Int!
9072
9073  """Identifies the date and time when the object was last updated."""
9074  updatedAt: DateTime!
9075
9076  """The user that performed the upload"""
9077  uploadedBy: User!
9078
9079  """Identifies the URL of the release asset."""
9080  url: URI!
9081}
9082
9083"""The connection type for ReleaseAsset."""
9084type ReleaseAssetConnection {
9085  """A list of edges."""
9086  edges: [ReleaseAssetEdge]
9087
9088  """A list of nodes."""
9089  nodes: [ReleaseAsset]
9090
9091  """Information to aid in pagination."""
9092  pageInfo: PageInfo!
9093
9094  """Identifies the total count of items in the connection."""
9095  totalCount: Int!
9096}
9097
9098"""An edge in a connection."""
9099type ReleaseAssetEdge {
9100  """A cursor for use in pagination."""
9101  cursor: String!
9102
9103  """The item at the end of the edge."""
9104  node: ReleaseAsset
9105}
9106
9107"""The connection type for Release."""
9108type ReleaseConnection {
9109  """A list of edges."""
9110  edges: [ReleaseEdge]
9111
9112  """A list of nodes."""
9113  nodes: [Release]
9114
9115  """Information to aid in pagination."""
9116  pageInfo: PageInfo!
9117
9118  """Identifies the total count of items in the connection."""
9119  totalCount: Int!
9120}
9121
9122"""An edge in a connection."""
9123type ReleaseEdge {
9124  """A cursor for use in pagination."""
9125  cursor: String!
9126
9127  """The item at the end of the edge."""
9128  node: Release
9129}
9130
9131"""Ways in which lists of releases can be ordered upon return."""
9132input ReleaseOrder {
9133  """The field in which to order releases by."""
9134  field: ReleaseOrderField!
9135
9136  """The direction in which to order releases by the specified field."""
9137  direction: OrderDirection!
9138}
9139
9140"""Properties by which release connections can be ordered."""
9141enum ReleaseOrderField {
9142  """Order releases by creation time"""
9143  CREATED_AT
9144
9145  """Order releases alphabetically by name"""
9146  NAME
9147}
9148
9149"""Autogenerated input type of RemoveAssigneesFromAssignable"""
9150input RemoveAssigneesFromAssignableInput {
9151  """The id of the assignable object to remove assignees from."""
9152  assignableId: ID!
9153
9154  """The id of users to remove as assignees."""
9155  assigneeIds: [ID!]!
9156
9157  """A unique identifier for the client performing the mutation."""
9158  clientMutationId: String
9159}
9160
9161"""Autogenerated return type of RemoveAssigneesFromAssignable"""
9162type RemoveAssigneesFromAssignablePayload {
9163  """The item that was unassigned."""
9164  assignable: Assignable
9165
9166  """A unique identifier for the client performing the mutation."""
9167  clientMutationId: String
9168}
9169
9170"""
9171Represents a 'removed_from_project' event on a given issue or pull request.
9172"""
9173type RemovedFromProjectEvent implements Node {
9174  """Identifies the actor who performed the event."""
9175  actor: Actor
9176
9177  """Identifies the date and time when the object was created."""
9178  createdAt: DateTime!
9179
9180  """Identifies the primary key from the database."""
9181  databaseId: Int
9182  id: ID!
9183}
9184
9185"""Autogenerated input type of RemoveLabelsFromLabelable"""
9186input RemoveLabelsFromLabelableInput {
9187  """The id of the Labelable to remove labels from."""
9188  labelableId: ID!
9189
9190  """The ids of labels to remove."""
9191  labelIds: [ID!]!
9192
9193  """A unique identifier for the client performing the mutation."""
9194  clientMutationId: String
9195}
9196
9197"""Autogenerated return type of RemoveLabelsFromLabelable"""
9198type RemoveLabelsFromLabelablePayload {
9199  """A unique identifier for the client performing the mutation."""
9200  clientMutationId: String
9201
9202  """The Labelable the labels were removed from."""
9203  labelable: Labelable
9204}
9205
9206"""Autogenerated input type of RemoveOutsideCollaborator"""
9207input RemoveOutsideCollaboratorInput {
9208  """The ID of the outside collaborator to remove."""
9209  userId: ID!
9210
9211  """The ID of the organization to remove the outside collaborator from."""
9212  organizationId: ID!
9213
9214  """A unique identifier for the client performing the mutation."""
9215  clientMutationId: String
9216}
9217
9218"""Autogenerated return type of RemoveOutsideCollaborator"""
9219type RemoveOutsideCollaboratorPayload {
9220  """A unique identifier for the client performing the mutation."""
9221  clientMutationId: String
9222
9223  """The user that was removed as an outside collaborator."""
9224  removedUser: User
9225}
9226
9227"""Autogenerated input type of RemoveReaction"""
9228input RemoveReactionInput {
9229  """The Node ID of the subject to modify."""
9230  subjectId: ID!
9231
9232  """The name of the emoji reaction to remove."""
9233  content: ReactionContent!
9234
9235  """A unique identifier for the client performing the mutation."""
9236  clientMutationId: String
9237}
9238
9239"""Autogenerated return type of RemoveReaction"""
9240type RemoveReactionPayload {
9241  """A unique identifier for the client performing the mutation."""
9242  clientMutationId: String
9243
9244  """The reaction object."""
9245  reaction: Reaction
9246
9247  """The reactable subject."""
9248  subject: Reactable
9249}
9250
9251"""Autogenerated input type of RemoveStar"""
9252input RemoveStarInput {
9253  """The Starrable ID to unstar."""
9254  starrableId: ID!
9255
9256  """A unique identifier for the client performing the mutation."""
9257  clientMutationId: String
9258}
9259
9260"""Autogenerated return type of RemoveStar"""
9261type RemoveStarPayload {
9262  """A unique identifier for the client performing the mutation."""
9263  clientMutationId: String
9264
9265  """The starrable."""
9266  starrable: Starrable
9267}
9268
9269"""Represents a 'renamed' event on a given issue or pull request"""
9270type RenamedTitleEvent implements Node {
9271  """Identifies the actor who performed the event."""
9272  actor: Actor
9273
9274  """Identifies the date and time when the object was created."""
9275  createdAt: DateTime!
9276
9277  """Identifies the current title of the issue or pull request."""
9278  currentTitle: String!
9279  id: ID!
9280
9281  """Identifies the previous title of the issue or pull request."""
9282  previousTitle: String!
9283
9284  """Subject that was renamed."""
9285  subject: RenamedTitleSubject!
9286}
9287
9288"""An object which has a renamable title"""
9289union RenamedTitleSubject = Issue | PullRequest
9290
9291"""Represents a 'reopened' event on any `Closable`."""
9292type ReopenedEvent implements Node {
9293  """Identifies the actor who performed the event."""
9294  actor: Actor
9295
9296  """Object that was reopened."""
9297  closable: Closable!
9298
9299  """Identifies the date and time when the object was created."""
9300  createdAt: DateTime!
9301  id: ID!
9302}
9303
9304"""Autogenerated input type of ReopenIssue"""
9305input ReopenIssueInput {
9306  """ID of the issue to be opened."""
9307  issueId: ID!
9308
9309  """A unique identifier for the client performing the mutation."""
9310  clientMutationId: String
9311}
9312
9313"""Autogenerated return type of ReopenIssue"""
9314type ReopenIssuePayload {
9315  """A unique identifier for the client performing the mutation."""
9316  clientMutationId: String
9317
9318  """The issue that was opened."""
9319  issue: Issue
9320}
9321
9322"""Autogenerated input type of ReopenPullRequest"""
9323input ReopenPullRequestInput {
9324  """ID of the pull request to be reopened."""
9325  pullRequestId: ID!
9326
9327  """A unique identifier for the client performing the mutation."""
9328  clientMutationId: String
9329}
9330
9331"""Autogenerated return type of ReopenPullRequest"""
9332type ReopenPullRequestPayload {
9333  """A unique identifier for the client performing the mutation."""
9334  clientMutationId: String
9335
9336  """The pull request that was reopened."""
9337  pullRequest: PullRequest
9338}
9339
9340"""The reasons a piece of content can be reported or minimized."""
9341enum ReportedContentClassifiers {
9342  """A spammy piece of content"""
9343  SPAM
9344
9345  """An abusive or harassing piece of content"""
9346  ABUSE
9347
9348  """An irrelevant piece of content"""
9349  OFF_TOPIC
9350
9351  """An outdated piece of content"""
9352  OUTDATED
9353
9354  """The content has been resolved"""
9355  RESOLVED
9356}
9357
9358"""A repository contains the content for a project."""
9359type Repository implements Node & ProjectOwner & RegistryPackageOwner & Subscribable & Starrable & UniformResourceLocatable & RepositoryInfo {
9360  """A list of users that can be assigned to issues in this repository."""
9361  assignableUsers(
9362    """Returns the elements in the list that come after the specified cursor."""
9363    after: String
9364
9365    """
9366    Returns the elements in the list that come before the specified cursor.
9367    """
9368    before: String
9369
9370    """Returns the first _n_ elements from the list."""
9371    first: Int
9372
9373    """Returns the last _n_ elements from the list."""
9374    last: Int
9375  ): UserConnection!
9376
9377  """A list of branch protection rules for this repository."""
9378  branchProtectionRules(
9379    """Returns the elements in the list that come after the specified cursor."""
9380    after: String
9381
9382    """
9383    Returns the elements in the list that come before the specified cursor.
9384    """
9385    before: String
9386
9387    """Returns the first _n_ elements from the list."""
9388    first: Int
9389
9390    """Returns the last _n_ elements from the list."""
9391    last: Int
9392  ): BranchProtectionRuleConnection!
9393
9394  """Returns the code of conduct for this repository"""
9395  codeOfConduct: CodeOfConduct
9396
9397  """A list of collaborators associated with the repository."""
9398  collaborators(
9399    """Collaborators affiliation level with a repository."""
9400    affiliation: CollaboratorAffiliation
9401
9402    """Returns the elements in the list that come after the specified cursor."""
9403    after: String
9404
9405    """
9406    Returns the elements in the list that come before the specified cursor.
9407    """
9408    before: String
9409
9410    """Returns the first _n_ elements from the list."""
9411    first: Int
9412
9413    """Returns the last _n_ elements from the list."""
9414    last: Int
9415  ): RepositoryCollaboratorConnection
9416
9417  """A list of commit comments associated with the repository."""
9418  commitComments(
9419    """Returns the elements in the list that come after the specified cursor."""
9420    after: String
9421
9422    """
9423    Returns the elements in the list that come before the specified cursor.
9424    """
9425    before: String
9426
9427    """Returns the first _n_ elements from the list."""
9428    first: Int
9429
9430    """Returns the last _n_ elements from the list."""
9431    last: Int
9432  ): CommitCommentConnection!
9433
9434  """Identifies the date and time when the object was created."""
9435  createdAt: DateTime!
9436
9437  """Identifies the primary key from the database."""
9438  databaseId: Int
9439
9440  """The Ref associated with the repository's default branch."""
9441  defaultBranchRef: Ref
9442
9443  """A list of deploy keys that are on this repository."""
9444  deployKeys(
9445    """Returns the elements in the list that come after the specified cursor."""
9446    after: String
9447
9448    """
9449    Returns the elements in the list that come before the specified cursor.
9450    """
9451    before: String
9452
9453    """Returns the first _n_ elements from the list."""
9454    first: Int
9455
9456    """Returns the last _n_ elements from the list."""
9457    last: Int
9458  ): DeployKeyConnection!
9459
9460  """Deployments associated with the repository"""
9461  deployments(
9462    """Environments to list deployments for"""
9463    environments: [String!]
9464
9465    """Ordering options for deployments returned from the connection."""
9466    orderBy: DeploymentOrder
9467
9468    """Returns the elements in the list that come after the specified cursor."""
9469    after: String
9470
9471    """
9472    Returns the elements in the list that come before the specified cursor.
9473    """
9474    before: String
9475
9476    """Returns the first _n_ elements from the list."""
9477    first: Int
9478
9479    """Returns the last _n_ elements from the list."""
9480    last: Int
9481  ): DeploymentConnection!
9482
9483  """The description of the repository."""
9484  description: String
9485
9486  """The description of the repository rendered to HTML."""
9487  descriptionHTML: HTML!
9488
9489  """The number of kilobytes this repository occupies on disk."""
9490  diskUsage: Int
9491
9492  """
9493  Returns how many forks there are of this repository in the whole network.
9494  """
9495  forkCount: Int!
9496
9497  """A list of direct forked repositories."""
9498  forks(
9499    """If non-null, filters repositories according to privacy"""
9500    privacy: RepositoryPrivacy
9501
9502    """Ordering options for repositories returned from the connection"""
9503    orderBy: RepositoryOrder
9504
9505    """
9506    Array of viewer's affiliation options for repositories returned from the
9507    connection. For example, OWNER will include only repositories that the
9508    current viewer owns.
9509    """
9510    affiliations: [RepositoryAffiliation]
9511
9512    """
9513    Array of owner's affiliation options for repositories returned from the
9514    connection. For example, OWNER will include only repositories that the
9515    organization or user being viewed owns.
9516    """
9517    ownerAffiliations: [RepositoryAffiliation]
9518
9519    """
9520    If non-null, filters repositories according to whether they have been locked
9521    """
9522    isLocked: Boolean
9523
9524    """Returns the elements in the list that come after the specified cursor."""
9525    after: String
9526
9527    """
9528    Returns the elements in the list that come before the specified cursor.
9529    """
9530    before: String
9531
9532    """Returns the first _n_ elements from the list."""
9533    first: Int
9534
9535    """Returns the last _n_ elements from the list."""
9536    last: Int
9537  ): RepositoryConnection!
9538
9539  """Indicates if the repository has issues feature enabled."""
9540  hasIssuesEnabled: Boolean!
9541
9542  """Indicates if the repository has wiki feature enabled."""
9543  hasWikiEnabled: Boolean!
9544
9545  """The repository's URL."""
9546  homepageUrl: URI
9547  id: ID!
9548
9549  """Indicates if the repository is unmaintained."""
9550  isArchived: Boolean!
9551
9552  """Returns whether or not this repository disabled."""
9553  isDisabled: Boolean!
9554
9555  """Identifies if the repository is a fork."""
9556  isFork: Boolean!
9557
9558  """Indicates if the repository has been locked or not."""
9559  isLocked: Boolean!
9560
9561  """Identifies if the repository is a mirror."""
9562  isMirror: Boolean!
9563
9564  """Identifies if the repository is private."""
9565  isPrivate: Boolean!
9566
9567  """Returns a single issue from the current repository by number."""
9568  issue(
9569    """The number for the issue to be returned."""
9570    number: Int!
9571  ): Issue
9572
9573  """
9574  Returns a single issue-like object from the current repository by number.
9575  """
9576  issueOrPullRequest(
9577    """The number for the issue to be returned."""
9578    number: Int!
9579  ): IssueOrPullRequest
9580
9581  """A list of issues that have been opened in the repository."""
9582  issues(
9583    """Ordering options for issues returned from the connection."""
9584    orderBy: IssueOrder
9585
9586    """A list of label names to filter the pull requests by."""
9587    labels: [String!]
9588
9589    """A list of states to filter the issues by."""
9590    states: [IssueState!]
9591
9592    """Filtering options for issues returned from the connection."""
9593    filterBy: IssueFilters
9594
9595    """Returns the elements in the list that come after the specified cursor."""
9596    after: String
9597
9598    """
9599    Returns the elements in the list that come before the specified cursor.
9600    """
9601    before: String
9602
9603    """Returns the first _n_ elements from the list."""
9604    first: Int
9605
9606    """Returns the last _n_ elements from the list."""
9607    last: Int
9608  ): IssueConnection!
9609
9610  """Returns a single label by name"""
9611  label(
9612    """Label name"""
9613    name: String!
9614  ): Label
9615
9616  """A list of labels associated with the repository."""
9617  labels(
9618    """Returns the elements in the list that come after the specified cursor."""
9619    after: String
9620
9621    """
9622    Returns the elements in the list that come before the specified cursor.
9623    """
9624    before: String
9625
9626    """Returns the first _n_ elements from the list."""
9627    first: Int
9628
9629    """Returns the last _n_ elements from the list."""
9630    last: Int
9631
9632    """If provided, searches labels by name and description."""
9633    query: String
9634  ): LabelConnection
9635
9636  """
9637  A list containing a breakdown of the language composition of the repository.
9638  """
9639  languages(
9640    """Returns the elements in the list that come after the specified cursor."""
9641    after: String
9642
9643    """
9644    Returns the elements in the list that come before the specified cursor.
9645    """
9646    before: String
9647
9648    """Returns the first _n_ elements from the list."""
9649    first: Int
9650
9651    """Returns the last _n_ elements from the list."""
9652    last: Int
9653
9654    """Order for connection"""
9655    orderBy: LanguageOrder
9656  ): LanguageConnection
9657
9658  """The license associated with the repository"""
9659  licenseInfo: License
9660
9661  """The reason the repository has been locked."""
9662  lockReason: RepositoryLockReason
9663
9664  """
9665  A list of Users that can be mentioned in the context of the repository.
9666  """
9667  mentionableUsers(
9668    """Returns the elements in the list that come after the specified cursor."""
9669    after: String
9670
9671    """
9672    Returns the elements in the list that come before the specified cursor.
9673    """
9674    before: String
9675
9676    """Returns the first _n_ elements from the list."""
9677    first: Int
9678
9679    """Returns the last _n_ elements from the list."""
9680    last: Int
9681  ): UserConnection!
9682
9683  """Whether or not PRs are merged with a merge commit on this repository."""
9684  mergeCommitAllowed: Boolean!
9685
9686  """Returns a single milestone from the current repository by number."""
9687  milestone(
9688    """The number for the milestone to be returned."""
9689    number: Int!
9690  ): Milestone
9691
9692  """A list of milestones associated with the repository."""
9693  milestones(
9694    """Returns the elements in the list that come after the specified cursor."""
9695    after: String
9696
9697    """
9698    Returns the elements in the list that come before the specified cursor.
9699    """
9700    before: String
9701
9702    """Returns the first _n_ elements from the list."""
9703    first: Int
9704
9705    """Returns the last _n_ elements from the list."""
9706    last: Int
9707
9708    """Filter by the state of the milestones."""
9709    states: [MilestoneState!]
9710
9711    """Ordering options for milestones."""
9712    orderBy: MilestoneOrder
9713  ): MilestoneConnection
9714
9715  """The repository's original mirror URL."""
9716  mirrorUrl: URI
9717
9718  """The name of the repository."""
9719  name: String!
9720
9721  """The repository's name with owner."""
9722  nameWithOwner: String!
9723
9724  """A Git object in the repository"""
9725  object(
9726    """The Git object ID"""
9727    oid: GitObjectID
9728
9729    """A Git revision expression suitable for rev-parse"""
9730    expression: String
9731  ): GitObject
9732
9733  """The User owner of the repository."""
9734  owner: RepositoryOwner!
9735
9736  """The repository parent, if this is a fork."""
9737  parent: Repository
9738
9739  """The primary language of the repository's code."""
9740  primaryLanguage: Language
9741
9742  """Find project by number."""
9743  project(
9744    """The project number to find."""
9745    number: Int!
9746  ): Project
9747
9748  """A list of projects under the owner."""
9749  projects(
9750    """Ordering options for projects returned from the connection"""
9751    orderBy: ProjectOrder
9752
9753    """Query to search projects by, currently only searching by name."""
9754    search: String
9755
9756    """A list of states to filter the projects by."""
9757    states: [ProjectState!]
9758
9759    """Returns the elements in the list that come after the specified cursor."""
9760    after: String
9761
9762    """
9763    Returns the elements in the list that come before the specified cursor.
9764    """
9765    before: String
9766
9767    """Returns the first _n_ elements from the list."""
9768    first: Int
9769
9770    """Returns the last _n_ elements from the list."""
9771    last: Int
9772  ): ProjectConnection!
9773
9774  """The HTTP path listing the repository's projects"""
9775  projectsResourcePath: URI!
9776
9777  """The HTTP URL listing the repository's projects"""
9778  projectsUrl: URI!
9779
9780  """Returns a single pull request from the current repository by number."""
9781  pullRequest(
9782    """The number for the pull request to be returned."""
9783    number: Int!
9784  ): PullRequest
9785
9786  """A list of pull requests that have been opened in the repository."""
9787  pullRequests(
9788    """A list of states to filter the pull requests by."""
9789    states: [PullRequestState!]
9790
9791    """A list of label names to filter the pull requests by."""
9792    labels: [String!]
9793
9794    """The head ref name to filter the pull requests by."""
9795    headRefName: String
9796
9797    """The base ref name to filter the pull requests by."""
9798    baseRefName: String
9799
9800    """Ordering options for pull requests returned from the connection."""
9801    orderBy: IssueOrder
9802
9803    """Returns the elements in the list that come after the specified cursor."""
9804    after: String
9805
9806    """
9807    Returns the elements in the list that come before the specified cursor.
9808    """
9809    before: String
9810
9811    """Returns the first _n_ elements from the list."""
9812    first: Int
9813
9814    """Returns the last _n_ elements from the list."""
9815    last: Int
9816  ): PullRequestConnection!
9817
9818  """Identifies when the repository was last pushed to."""
9819  pushedAt: DateTime
9820
9821  """Whether or not rebase-merging is enabled on this repository."""
9822  rebaseMergeAllowed: Boolean!
9823
9824  """Fetch a given ref from the repository"""
9825  ref(
9826    """
9827    The ref to retrieve. Fully qualified matches are checked in order
9828    (`refs/heads/master`) before falling back onto checks for short name matches (`master`).
9829    """
9830    qualifiedName: String!
9831  ): Ref
9832
9833  """Fetch a list of refs from the repository"""
9834  refs(
9835    """Returns the elements in the list that come after the specified cursor."""
9836    after: String
9837
9838    """
9839    Returns the elements in the list that come before the specified cursor.
9840    """
9841    before: String
9842
9843    """Returns the first _n_ elements from the list."""
9844    first: Int
9845
9846    """Returns the last _n_ elements from the list."""
9847    last: Int
9848
9849    """A ref name prefix like `refs/heads/`, `refs/tags/`, etc."""
9850    refPrefix: String!
9851
9852    """DEPRECATED: use orderBy. The ordering direction."""
9853    direction: OrderDirection
9854
9855    """Ordering options for refs returned from the connection."""
9856    orderBy: RefOrder
9857  ): RefConnection
9858
9859  """Lookup a single release given various criteria."""
9860  release(
9861    """The name of the Tag the Release was created from"""
9862    tagName: String!
9863  ): Release
9864
9865  """List of releases which are dependent on this repository."""
9866  releases(
9867    """Returns the elements in the list that come after the specified cursor."""
9868    after: String
9869
9870    """
9871    Returns the elements in the list that come before the specified cursor.
9872    """
9873    before: String
9874
9875    """Returns the first _n_ elements from the list."""
9876    first: Int
9877
9878    """Returns the last _n_ elements from the list."""
9879    last: Int
9880
9881    """Order for connection"""
9882    orderBy: ReleaseOrder
9883  ): ReleaseConnection!
9884
9885  """A list of applied repository-topic associations for this repository."""
9886  repositoryTopics(
9887    """Returns the elements in the list that come after the specified cursor."""
9888    after: String
9889
9890    """
9891    Returns the elements in the list that come before the specified cursor.
9892    """
9893    before: String
9894
9895    """Returns the first _n_ elements from the list."""
9896    first: Int
9897
9898    """Returns the last _n_ elements from the list."""
9899    last: Int
9900  ): RepositoryTopicConnection!
9901
9902  """The HTTP path for this repository"""
9903  resourcePath: URI!
9904
9905  """
9906  A description of the repository, rendered to HTML without any links in it.
9907  """
9908  shortDescriptionHTML(
9909    """How many characters to return."""
9910    limit: Int = 200
9911  ): HTML!
9912
9913  """Whether or not squash-merging is enabled on this repository."""
9914  squashMergeAllowed: Boolean!
9915
9916  """The SSH URL to clone this repository"""
9917  sshUrl: GitSSHRemote!
9918
9919  """A list of users who have starred this starrable."""
9920  stargazers(
9921    """Returns the elements in the list that come after the specified cursor."""
9922    after: String
9923
9924    """
9925    Returns the elements in the list that come before the specified cursor.
9926    """
9927    before: String
9928
9929    """Returns the first _n_ elements from the list."""
9930    first: Int
9931
9932    """Returns the last _n_ elements from the list."""
9933    last: Int
9934
9935    """Order for connection"""
9936    orderBy: StarOrder
9937  ): StargazerConnection!
9938
9939  """Identifies the date and time when the object was last updated."""
9940  updatedAt: DateTime!
9941
9942  """The HTTP URL for this repository"""
9943  url: URI!
9944
9945  """Indicates whether the viewer has admin permissions on this repository."""
9946  viewerCanAdminister: Boolean!
9947
9948  """Can the current viewer create new projects on this owner."""
9949  viewerCanCreateProjects: Boolean!
9950
9951  """
9952  Check if the viewer is able to change their subscription status for the repository.
9953  """
9954  viewerCanSubscribe: Boolean!
9955
9956  """Indicates whether the viewer can update the topics of this repository."""
9957  viewerCanUpdateTopics: Boolean!
9958
9959  """
9960  Returns a boolean indicating whether the viewing user has starred this starrable.
9961  """
9962  viewerHasStarred: Boolean!
9963
9964  """
9965  The users permission level on the repository. Will return null if authenticated as an GitHub App.
9966  """
9967  viewerPermission: RepositoryPermission
9968
9969  """
9970  Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.
9971  """
9972  viewerSubscription: SubscriptionState
9973
9974  """A list of users watching the repository."""
9975  watchers(
9976    """Returns the elements in the list that come after the specified cursor."""
9977    after: String
9978
9979    """
9980    Returns the elements in the list that come before the specified cursor.
9981    """
9982    before: String
9983
9984    """Returns the first _n_ elements from the list."""
9985    first: Int
9986
9987    """Returns the last _n_ elements from the list."""
9988    last: Int
9989  ): UserConnection!
9990}
9991
9992"""The affiliation of a user to a repository"""
9993enum RepositoryAffiliation {
9994  """Repositories that are owned by the authenticated user."""
9995  OWNER
9996
9997  """Repositories that the user has been added to as a collaborator."""
9998  COLLABORATOR
9999
10000  """
10001  Repositories that the user has access to through being a member of an
10002  organization. This includes every repository on every team that the user is on.
10003  """
10004  ORGANIZATION_MEMBER
10005}
10006
10007"""The affiliation type between collaborator and repository."""
10008enum RepositoryCollaboratorAffiliation {
10009  """All collaborators of the repository."""
10010  ALL
10011
10012  """All outside collaborators of an organization-owned repository."""
10013  OUTSIDE
10014}
10015
10016"""The connection type for User."""
10017type RepositoryCollaboratorConnection {
10018  """A list of edges."""
10019  edges: [RepositoryCollaboratorEdge]
10020
10021  """A list of nodes."""
10022  nodes: [User]
10023
10024  """Information to aid in pagination."""
10025  pageInfo: PageInfo!
10026
10027  """Identifies the total count of items in the connection."""
10028  totalCount: Int!
10029}
10030
10031"""Represents a user who is a collaborator of a repository."""
10032type RepositoryCollaboratorEdge {
10033  """A cursor for use in pagination."""
10034  cursor: String!
10035  node: User!
10036
10037  """The permission the user has on the repository."""
10038  permission: RepositoryPermission!
10039
10040  """A list of sources for the user's access to the repository."""
10041  permissionSources: [PermissionSource!]
10042}
10043
10044"""A list of repositories owned by the subject."""
10045type RepositoryConnection {
10046  """A list of edges."""
10047  edges: [RepositoryEdge]
10048
10049  """A list of nodes."""
10050  nodes: [Repository]
10051
10052  """Information to aid in pagination."""
10053  pageInfo: PageInfo!
10054
10055  """Identifies the total count of items in the connection."""
10056  totalCount: Int!
10057
10058  """The total size in kilobytes of all repositories in the connection."""
10059  totalDiskUsage: Int!
10060}
10061
10062"""The reason a repository is listed as 'contributed'."""
10063enum RepositoryContributionType {
10064  """Created a commit"""
10065  COMMIT
10066
10067  """Created an issue"""
10068  ISSUE
10069
10070  """Created a pull request"""
10071  PULL_REQUEST
10072
10073  """Created the repository"""
10074  REPOSITORY
10075
10076  """Reviewed a pull request"""
10077  PULL_REQUEST_REVIEW
10078}
10079
10080"""An edge in a connection."""
10081type RepositoryEdge {
10082  """A cursor for use in pagination."""
10083  cursor: String!
10084
10085  """The item at the end of the edge."""
10086  node: Repository
10087}
10088
10089"""A subset of repository info."""
10090interface RepositoryInfo {
10091  """Identifies the date and time when the object was created."""
10092  createdAt: DateTime!
10093
10094  """The description of the repository."""
10095  description: String
10096
10097  """The description of the repository rendered to HTML."""
10098  descriptionHTML: HTML!
10099
10100  """
10101  Returns how many forks there are of this repository in the whole network.
10102  """
10103  forkCount: Int!
10104
10105  """Indicates if the repository has issues feature enabled."""
10106  hasIssuesEnabled: Boolean!
10107
10108  """Indicates if the repository has wiki feature enabled."""
10109  hasWikiEnabled: Boolean!
10110
10111  """The repository's URL."""
10112  homepageUrl: URI
10113
10114  """Indicates if the repository is unmaintained."""
10115  isArchived: Boolean!
10116
10117  """Identifies if the repository is a fork."""
10118  isFork: Boolean!
10119
10120  """Indicates if the repository has been locked or not."""
10121  isLocked: Boolean!
10122
10123  """Identifies if the repository is a mirror."""
10124  isMirror: Boolean!
10125
10126  """Identifies if the repository is private."""
10127  isPrivate: Boolean!
10128
10129  """The license associated with the repository"""
10130  licenseInfo: License
10131
10132  """The reason the repository has been locked."""
10133  lockReason: RepositoryLockReason
10134
10135  """The repository's original mirror URL."""
10136  mirrorUrl: URI
10137
10138  """The name of the repository."""
10139  name: String!
10140
10141  """The repository's name with owner."""
10142  nameWithOwner: String!
10143
10144  """The User owner of the repository."""
10145  owner: RepositoryOwner!
10146
10147  """Identifies when the repository was last pushed to."""
10148  pushedAt: DateTime
10149
10150  """The HTTP path for this repository"""
10151  resourcePath: URI!
10152
10153  """
10154  A description of the repository, rendered to HTML without any links in it.
10155  """
10156  shortDescriptionHTML(
10157    """How many characters to return."""
10158    limit: Int = 200
10159  ): HTML!
10160
10161  """Identifies the date and time when the object was last updated."""
10162  updatedAt: DateTime!
10163
10164  """The HTTP URL for this repository"""
10165  url: URI!
10166}
10167
10168"""An invitation for a user to be added to a repository."""
10169type RepositoryInvitation implements Node {
10170  id: ID!
10171
10172  """The user who received the invitation."""
10173  invitee: User!
10174
10175  """The user who created the invitation."""
10176  inviter: User!
10177
10178  """The permission granted on this repository by this invitation."""
10179  permission: RepositoryPermission!
10180
10181  """The Repository the user is invited to."""
10182  repository: RepositoryInfo
10183}
10184
10185"""An edge in a connection."""
10186type RepositoryInvitationEdge {
10187  """A cursor for use in pagination."""
10188  cursor: String!
10189
10190  """The item at the end of the edge."""
10191  node: RepositoryInvitation
10192}
10193
10194"""The possible reasons a given repository could be in a locked state."""
10195enum RepositoryLockReason {
10196  """The repository is locked due to a move."""
10197  MOVING
10198
10199  """The repository is locked due to a billing related reason."""
10200  BILLING
10201
10202  """The repository is locked due to a rename."""
10203  RENAME
10204
10205  """The repository is locked due to a migration."""
10206  MIGRATING
10207}
10208
10209"""Represents a object that belongs to a repository."""
10210interface RepositoryNode {
10211  """The repository associated with this node."""
10212  repository: Repository!
10213}
10214
10215"""Ordering options for repository connections"""
10216input RepositoryOrder {
10217  """The field to order repositories by."""
10218  field: RepositoryOrderField!
10219
10220  """The ordering direction."""
10221  direction: OrderDirection!
10222}
10223
10224"""Properties by which repository connections can be ordered."""
10225enum RepositoryOrderField {
10226  """Order repositories by creation time"""
10227  CREATED_AT
10228
10229  """Order repositories by update time"""
10230  UPDATED_AT
10231
10232  """Order repositories by push time"""
10233  PUSHED_AT
10234
10235  """Order repositories by name"""
10236  NAME
10237
10238  """Order repositories by number of stargazers"""
10239  STARGAZERS
10240}
10241
10242"""Represents an owner of a Repository."""
10243interface RepositoryOwner {
10244  """A URL pointing to the owner's public avatar."""
10245  avatarUrl(
10246    """The size of the resulting square image."""
10247    size: Int
10248  ): URI!
10249  id: ID!
10250
10251  """The username used to login."""
10252  login: String!
10253
10254  """A list of repositories this user has pinned to their profile"""
10255  pinnedRepositories(
10256    """If non-null, filters repositories according to privacy"""
10257    privacy: RepositoryPrivacy
10258
10259    """Ordering options for repositories returned from the connection"""
10260    orderBy: RepositoryOrder
10261
10262    """
10263    Array of viewer's affiliation options for repositories returned from the
10264    connection. For example, OWNER will include only repositories that the
10265    current viewer owns.
10266    """
10267    affiliations: [RepositoryAffiliation]
10268
10269    """
10270    Array of owner's affiliation options for repositories returned from the
10271    connection. For example, OWNER will include only repositories that the
10272    organization or user being viewed owns.
10273    """
10274    ownerAffiliations: [RepositoryAffiliation]
10275
10276    """
10277    If non-null, filters repositories according to whether they have been locked
10278    """
10279    isLocked: Boolean
10280
10281    """Returns the elements in the list that come after the specified cursor."""
10282    after: String
10283
10284    """
10285    Returns the elements in the list that come before the specified cursor.
10286    """
10287    before: String
10288
10289    """Returns the first _n_ elements from the list."""
10290    first: Int
10291
10292    """Returns the last _n_ elements from the list."""
10293    last: Int
10294  ): RepositoryConnection! @deprecated(reason: "pinnedRepositories will be removed Use ProfileOwner.pinnedItems instead. Removal on 2019-07-01 UTC.")
10295
10296  """A list of repositories that the user owns."""
10297  repositories(
10298    """If non-null, filters repositories according to privacy"""
10299    privacy: RepositoryPrivacy
10300
10301    """Ordering options for repositories returned from the connection"""
10302    orderBy: RepositoryOrder
10303
10304    """
10305    Array of viewer's affiliation options for repositories returned from the
10306    connection. For example, OWNER will include only repositories that the
10307    current viewer owns.
10308    """
10309    affiliations: [RepositoryAffiliation]
10310
10311    """
10312    Array of owner's affiliation options for repositories returned from the
10313    connection. For example, OWNER will include only repositories that the
10314    organization or user being viewed owns.
10315    """
10316    ownerAffiliations: [RepositoryAffiliation]
10317
10318    """
10319    If non-null, filters repositories according to whether they have been locked
10320    """
10321    isLocked: Boolean
10322
10323    """Returns the elements in the list that come after the specified cursor."""
10324    after: String
10325
10326    """
10327    Returns the elements in the list that come before the specified cursor.
10328    """
10329    before: String
10330
10331    """Returns the first _n_ elements from the list."""
10332    first: Int
10333
10334    """Returns the last _n_ elements from the list."""
10335    last: Int
10336
10337    """
10338    If non-null, filters repositories according to whether they are forks of another repository
10339    """
10340    isFork: Boolean
10341  ): RepositoryConnection!
10342
10343  """Find Repository."""
10344  repository(
10345    """Name of Repository to find."""
10346    name: String!
10347  ): Repository
10348
10349  """The HTTP URL for the owner."""
10350  resourcePath: URI!
10351
10352  """The HTTP URL for the owner."""
10353  url: URI!
10354}
10355
10356"""The access level to a repository"""
10357enum RepositoryPermission {
10358  """Can read, clone, push, and add collaborators"""
10359  ADMIN
10360
10361  """Can read, clone and push"""
10362  WRITE
10363
10364  """Can read and clone"""
10365  READ
10366}
10367
10368"""The privacy of a repository"""
10369enum RepositoryPrivacy {
10370  """Public"""
10371  PUBLIC
10372
10373  """Private"""
10374  PRIVATE
10375}
10376
10377"""A repository-topic connects a repository to a topic."""
10378type RepositoryTopic implements Node & UniformResourceLocatable {
10379  id: ID!
10380
10381  """The HTTP path for this repository-topic."""
10382  resourcePath: URI!
10383
10384  """The topic."""
10385  topic: Topic!
10386
10387  """The HTTP URL for this repository-topic."""
10388  url: URI!
10389}
10390
10391"""The connection type for RepositoryTopic."""
10392type RepositoryTopicConnection {
10393  """A list of edges."""
10394  edges: [RepositoryTopicEdge]
10395
10396  """A list of nodes."""
10397  nodes: [RepositoryTopic]
10398
10399  """Information to aid in pagination."""
10400  pageInfo: PageInfo!
10401
10402  """Identifies the total count of items in the connection."""
10403  totalCount: Int!
10404}
10405
10406"""An edge in a connection."""
10407type RepositoryTopicEdge {
10408  """A cursor for use in pagination."""
10409  cursor: String!
10410
10411  """The item at the end of the edge."""
10412  node: RepositoryTopic
10413}
10414
10415"""Types that can be requested reviewers."""
10416union RequestedReviewer = User | Team | Mannequin
10417
10418"""Autogenerated input type of RequestReviews"""
10419input RequestReviewsInput {
10420  """The Node ID of the pull request to modify."""
10421  pullRequestId: ID!
10422
10423  """The Node IDs of the user to request."""
10424  userIds: [ID!]
10425
10426  """The Node IDs of the team to request."""
10427  teamIds: [ID!]
10428
10429  """Add users to the set rather than replace."""
10430  union: Boolean
10431
10432  """A unique identifier for the client performing the mutation."""
10433  clientMutationId: String
10434}
10435
10436"""Autogenerated return type of RequestReviews"""
10437type RequestReviewsPayload {
10438  """A unique identifier for the client performing the mutation."""
10439  clientMutationId: String
10440
10441  """The pull request that is getting requests."""
10442  pullRequest: PullRequest
10443
10444  """The edge from the pull request to the requested reviewers."""
10445  requestedReviewersEdge: UserEdge
10446}
10447
10448"""Autogenerated input type of ResolveReviewThread"""
10449input ResolveReviewThreadInput {
10450  """The ID of the thread to resolve"""
10451  threadId: ID!
10452
10453  """A unique identifier for the client performing the mutation."""
10454  clientMutationId: String
10455}
10456
10457"""Autogenerated return type of ResolveReviewThread"""
10458type ResolveReviewThreadPayload {
10459  """A unique identifier for the client performing the mutation."""
10460  clientMutationId: String
10461
10462  """The thread to resolve."""
10463  thread: PullRequestReviewThread
10464}
10465
10466"""Represents a private contribution a user made on GitHub."""
10467type RestrictedContribution implements Contribution {
10468  """
10469  Whether this contribution is associated with a record you do not have access to. For
10470  example, your own 'first issue' contribution may have been made on a repository you can no
10471  longer access.
10472
10473  """
10474  isRestricted: Boolean!
10475
10476  """When this contribution was made."""
10477  occurredAt: DateTime!
10478
10479  """The HTTP path for this contribution."""
10480  resourcePath: URI!
10481
10482  """The HTTP URL for this contribution."""
10483  url: URI!
10484
10485  """
10486  The user who made this contribution.
10487
10488  """
10489  user: User!
10490}
10491
10492"""
10493A team or user who has the ability to dismiss a review on a protected branch.
10494"""
10495type ReviewDismissalAllowance implements Node {
10496  """The actor that can dismiss."""
10497  actor: ReviewDismissalAllowanceActor
10498
10499  """
10500  Identifies the branch protection rule associated with the allowed user or team.
10501  """
10502  branchProtectionRule: BranchProtectionRule
10503  id: ID!
10504}
10505
10506"""Types that can be an actor."""
10507union ReviewDismissalAllowanceActor = User | Team
10508
10509"""The connection type for ReviewDismissalAllowance."""
10510type ReviewDismissalAllowanceConnection {
10511  """A list of edges."""
10512  edges: [ReviewDismissalAllowanceEdge]
10513
10514  """A list of nodes."""
10515  nodes: [ReviewDismissalAllowance]
10516
10517  """Information to aid in pagination."""
10518  pageInfo: PageInfo!
10519
10520  """Identifies the total count of items in the connection."""
10521  totalCount: Int!
10522}
10523
10524"""An edge in a connection."""
10525type ReviewDismissalAllowanceEdge {
10526  """A cursor for use in pagination."""
10527  cursor: String!
10528
10529  """The item at the end of the edge."""
10530  node: ReviewDismissalAllowance
10531}
10532
10533"""
10534Represents a 'review_dismissed' event on a given issue or pull request.
10535"""
10536type ReviewDismissedEvent implements Node & UniformResourceLocatable {
10537  """Identifies the actor who performed the event."""
10538  actor: Actor
10539
10540  """Identifies the date and time when the object was created."""
10541  createdAt: DateTime!
10542
10543  """Identifies the primary key from the database."""
10544  databaseId: Int
10545
10546  """
10547  Identifies the optional message associated with the 'review_dismissed' event.
10548  """
10549  dismissalMessage: String
10550
10551  """
10552  Identifies the optional message associated with the event, rendered to HTML.
10553  """
10554  dismissalMessageHTML: String
10555  id: ID!
10556
10557  """Identifies the message associated with the 'review_dismissed' event."""
10558  message: String! @deprecated(reason: "`message` is being removed because it not nullable, whereas the underlying field is optional. Use `dismissalMessage` instead. Removal on 2019-07-01 UTC.")
10559
10560  """The message associated with the event, rendered to HTML."""
10561  messageHtml: HTML! @deprecated(reason: "`messageHtml` is being removed because it not nullable, whereas the underlying field is optional. Use `dismissalMessageHTML` instead. Removal on 2019-07-01 UTC.")
10562
10563  """
10564  Identifies the previous state of the review with the 'review_dismissed' event.
10565  """
10566  previousReviewState: PullRequestReviewState!
10567
10568  """PullRequest referenced by event."""
10569  pullRequest: PullRequest!
10570
10571  """Identifies the commit which caused the review to become stale."""
10572  pullRequestCommit: PullRequestCommit
10573
10574  """The HTTP path for this review dismissed event."""
10575  resourcePath: URI!
10576
10577  """Identifies the review associated with the 'review_dismissed' event."""
10578  review: PullRequestReview
10579
10580  """The HTTP URL for this review dismissed event."""
10581  url: URI!
10582}
10583
10584"""A request for a user to review a pull request."""
10585type ReviewRequest implements Node {
10586  """Identifies the primary key from the database."""
10587  databaseId: Int
10588  id: ID!
10589
10590  """Identifies the pull request associated with this review request."""
10591  pullRequest: PullRequest!
10592
10593  """The reviewer that is requested."""
10594  requestedReviewer: RequestedReviewer
10595}
10596
10597"""The connection type for ReviewRequest."""
10598type ReviewRequestConnection {
10599  """A list of edges."""
10600  edges: [ReviewRequestEdge]
10601
10602  """A list of nodes."""
10603  nodes: [ReviewRequest]
10604
10605  """Information to aid in pagination."""
10606  pageInfo: PageInfo!
10607
10608  """Identifies the total count of items in the connection."""
10609  totalCount: Int!
10610}
10611
10612"""Represents an 'review_requested' event on a given pull request."""
10613type ReviewRequestedEvent implements Node {
10614  """Identifies the actor who performed the event."""
10615  actor: Actor
10616
10617  """Identifies the date and time when the object was created."""
10618  createdAt: DateTime!
10619  id: ID!
10620
10621  """PullRequest referenced by event."""
10622  pullRequest: PullRequest!
10623
10624  """Identifies the reviewer whose review was requested."""
10625  requestedReviewer: RequestedReviewer
10626}
10627
10628"""An edge in a connection."""
10629type ReviewRequestEdge {
10630  """A cursor for use in pagination."""
10631  cursor: String!
10632
10633  """The item at the end of the edge."""
10634  node: ReviewRequest
10635}
10636
10637"""Represents an 'review_request_removed' event on a given pull request."""
10638type ReviewRequestRemovedEvent implements Node {
10639  """Identifies the actor who performed the event."""
10640  actor: Actor
10641
10642  """Identifies the date and time when the object was created."""
10643  createdAt: DateTime!
10644  id: ID!
10645
10646  """PullRequest referenced by event."""
10647  pullRequest: PullRequest!
10648
10649  """Identifies the reviewer whose review request was removed."""
10650  requestedReviewer: RequestedReviewer
10651}
10652
10653"""The results of a search."""
10654union SearchResultItem = Issue | PullRequest | Repository | User | Organization | MarketplaceListing
10655
10656"""A list of results that matched against a search query."""
10657type SearchResultItemConnection {
10658  """The number of pieces of code that matched the search query."""
10659  codeCount: Int!
10660
10661  """A list of edges."""
10662  edges: [SearchResultItemEdge]
10663
10664  """The number of issues that matched the search query."""
10665  issueCount: Int!
10666
10667  """A list of nodes."""
10668  nodes: [SearchResultItem]
10669
10670  """Information to aid in pagination."""
10671  pageInfo: PageInfo!
10672
10673  """The number of repositories that matched the search query."""
10674  repositoryCount: Int!
10675
10676  """The number of users that matched the search query."""
10677  userCount: Int!
10678
10679  """The number of wiki pages that matched the search query."""
10680  wikiCount: Int!
10681}
10682
10683"""An edge in a connection."""
10684type SearchResultItemEdge {
10685  """A cursor for use in pagination."""
10686  cursor: String!
10687
10688  """The item at the end of the edge."""
10689  node: SearchResultItem
10690
10691  """Text matches on the result found."""
10692  textMatches: [TextMatch]
10693}
10694
10695"""Represents the individual results of a search."""
10696enum SearchType {
10697  """Returns results matching issues in repositories."""
10698  ISSUE
10699
10700  """Returns results matching repositories."""
10701  REPOSITORY
10702
10703  """Returns results matching users and organizations on GitHub."""
10704  USER
10705}
10706
10707"""A GitHub Security Advisory"""
10708type SecurityAdvisory implements Node {
10709  """Identifies the primary key from the database."""
10710  databaseId: Int
10711
10712  """This is a long plaintext description of the advisory"""
10713  description: String!
10714
10715  """The GitHub Security Advisory ID"""
10716  ghsaId: String!
10717  id: ID!
10718
10719  """A list of identifiers for this advisory"""
10720  identifiers: [SecurityAdvisoryIdentifier!]!
10721
10722  """The organization that originated the advisory"""
10723  origin: String!
10724
10725  """When the advisory was published"""
10726  publishedAt: DateTime!
10727
10728  """A list of references for this advisory"""
10729  references: [SecurityAdvisoryReference!]!
10730
10731  """The severity of the advisory"""
10732  severity: SecurityAdvisorySeverity!
10733
10734  """A short plaintext summary of the advisory"""
10735  summary: String!
10736
10737  """When the advisory was last updated"""
10738  updatedAt: DateTime!
10739
10740  """Vulnerabilities associated with this Advisory"""
10741  vulnerabilities(
10742    """Ordering options for the returned topics."""
10743    orderBy: SecurityVulnerabilityOrder
10744
10745    """An ecosystem to filter vulnerabilities by."""
10746    ecosystem: SecurityAdvisoryEcosystem
10747
10748    """A package name to filter vulnerabilities by."""
10749    package: String
10750
10751    """A list of severities to filter vulnerabilities by."""
10752    severities: [SecurityAdvisorySeverity!]
10753
10754    """Returns the elements in the list that come after the specified cursor."""
10755    after: String
10756
10757    """
10758    Returns the elements in the list that come before the specified cursor.
10759    """
10760    before: String
10761
10762    """Returns the first _n_ elements from the list."""
10763    first: Int
10764
10765    """Returns the last _n_ elements from the list."""
10766    last: Int
10767  ): SecurityVulnerabilityConnection!
10768
10769  """When the advisory was withdrawn, if it has been withdrawn"""
10770  withdrawnAt: DateTime
10771}
10772
10773"""The connection type for SecurityAdvisory."""
10774type SecurityAdvisoryConnection {
10775  """A list of edges."""
10776  edges: [SecurityAdvisoryEdge]
10777
10778  """A list of nodes."""
10779  nodes: [SecurityAdvisory]
10780
10781  """Information to aid in pagination."""
10782  pageInfo: PageInfo!
10783
10784  """Identifies the total count of items in the connection."""
10785  totalCount: Int!
10786}
10787
10788"""The possible ecosystems of a security vulnerability's package."""
10789enum SecurityAdvisoryEcosystem {
10790  """Ruby gems hosted at RubyGems.org"""
10791  RUBYGEMS
10792
10793  """JavaScript packages hosted at npmjs.com"""
10794  NPM
10795
10796  """Python packages hosted at PyPI.org"""
10797  PIP
10798
10799  """Java artifacts hosted at the Maven central repository"""
10800  MAVEN
10801
10802  """.NET packages hosted at the NuGet Gallery"""
10803  NUGET
10804}
10805
10806"""An edge in a connection."""
10807type SecurityAdvisoryEdge {
10808  """A cursor for use in pagination."""
10809  cursor: String!
10810
10811  """The item at the end of the edge."""
10812  node: SecurityAdvisory
10813}
10814
10815"""A GitHub Security Advisory Identifier"""
10816type SecurityAdvisoryIdentifier {
10817  """The identifier type, e.g. GHSA, CVE"""
10818  type: String!
10819
10820  """The identifier"""
10821  value: String!
10822}
10823
10824"""An advisory identifier to filter results on."""
10825input SecurityAdvisoryIdentifierFilter {
10826  """The identifier type."""
10827  type: SecurityAdvisoryIdentifierType!
10828
10829  """The identifier string. Supports exact or partial matching."""
10830  value: String!
10831}
10832
10833"""Identifier formats available for advisories."""
10834enum SecurityAdvisoryIdentifierType {
10835  """Common Vulnerabilities and Exposures Identifier."""
10836  CVE
10837
10838  """GitHub Security Advisory ID."""
10839  GHSA
10840}
10841
10842"""Ordering options for security advisory connections"""
10843input SecurityAdvisoryOrder {
10844  """The field to order security advisories by."""
10845  field: SecurityAdvisoryOrderField!
10846
10847  """The ordering direction."""
10848  direction: OrderDirection!
10849}
10850
10851"""Properties by which security advisory connections can be ordered."""
10852enum SecurityAdvisoryOrderField {
10853  """Order advisories by publication time"""
10854  PUBLISHED_AT
10855
10856  """Order advisories by update time"""
10857  UPDATED_AT
10858}
10859
10860"""An individual package"""
10861type SecurityAdvisoryPackage {
10862  """The ecosystem the package belongs to, e.g. RUBYGEMS, NPM"""
10863  ecosystem: SecurityAdvisoryEcosystem!
10864
10865  """The package name"""
10866  name: String!
10867}
10868
10869"""An individual package version"""
10870type SecurityAdvisoryPackageVersion {
10871  """The package name or version"""
10872  identifier: String!
10873}
10874
10875"""A GitHub Security Advisory Reference"""
10876type SecurityAdvisoryReference {
10877  """A publicly accessible reference"""
10878  url: URI!
10879}
10880
10881"""Severity of the vulnerability."""
10882enum SecurityAdvisorySeverity {
10883  """Low."""
10884  LOW
10885
10886  """Moderate."""
10887  MODERATE
10888
10889  """High."""
10890  HIGH
10891
10892  """Critical."""
10893  CRITICAL
10894}
10895
10896"""An individual vulnerability within an Advisory"""
10897type SecurityVulnerability {
10898  """The Advisory associated with this Vulnerability"""
10899  advisory: SecurityAdvisory!
10900
10901  """The first version containing a fix for the vulnerability"""
10902  firstPatchedVersion: SecurityAdvisoryPackageVersion
10903
10904  """A description of the vulnerable package"""
10905  package: SecurityAdvisoryPackage!
10906
10907  """The severity of the vulnerability within this package"""
10908  severity: SecurityAdvisorySeverity!
10909
10910  """When the vulnerability was last updated"""
10911  updatedAt: DateTime!
10912
10913  """
10914  A string that describes the vulnerable package versions.
10915  This string follows a basic syntax with a few forms.
10916  + `= 0.2.0` denotes a single vulnerable version.
10917  + `<= 1.0.8` denotes a version range up to and including the specified version
10918  + `< 0.1.11` denotes a version range up to, but excluding, the specified version
10919  + `>= 4.3.0, < 4.3.5` denotes a version range with a known minimum and maximum version.
10920  + `>= 0.0.1` denotes a version range with a known minimum, but no known maximum
10921
10922  """
10923  vulnerableVersionRange: String!
10924}
10925
10926"""The connection type for SecurityVulnerability."""
10927type SecurityVulnerabilityConnection {
10928  """A list of edges."""
10929  edges: [SecurityVulnerabilityEdge]
10930
10931  """A list of nodes."""
10932  nodes: [SecurityVulnerability]
10933
10934  """Information to aid in pagination."""
10935  pageInfo: PageInfo!
10936
10937  """Identifies the total count of items in the connection."""
10938  totalCount: Int!
10939}
10940
10941"""An edge in a connection."""
10942type SecurityVulnerabilityEdge {
10943  """A cursor for use in pagination."""
10944  cursor: String!
10945
10946  """The item at the end of the edge."""
10947  node: SecurityVulnerability
10948}
10949
10950"""Ordering options for security vulnerability connections"""
10951input SecurityVulnerabilityOrder {
10952  """The field to order security vulnerabilities by."""
10953  field: SecurityVulnerabilityOrderField!
10954
10955  """The ordering direction."""
10956  direction: OrderDirection!
10957}
10958
10959"""Properties by which security vulnerability connections can be ordered."""
10960enum SecurityVulnerabilityOrderField {
10961  """Order vulnerability by update time"""
10962  UPDATED_AT
10963}
10964
10965"""Represents an S/MIME signature on a Commit or Tag."""
10966type SmimeSignature implements GitSignature {
10967  """Email used to sign this object."""
10968  email: String!
10969
10970  """True if the signature is valid and verified by GitHub."""
10971  isValid: Boolean!
10972
10973  """
10974  Payload for GPG signing object. Raw ODB object without the signature header.
10975  """
10976  payload: String!
10977
10978  """ASCII-armored signature header from object."""
10979  signature: String!
10980
10981  """GitHub user corresponding to the email signing this commit."""
10982  signer: User
10983
10984  """
10985  The state of this signature. `VALID` if signature is valid and verified by
10986  GitHub, otherwise represents reason why signature is considered invalid.
10987  """
10988  state: GitSignatureState!
10989
10990  """True if the signature was made with GitHub's signing key."""
10991  wasSignedByGitHub: Boolean!
10992}
10993
10994"""The connection type for User."""
10995type StargazerConnection {
10996  """A list of edges."""
10997  edges: [StargazerEdge]
10998
10999  """A list of nodes."""
11000  nodes: [User]
11001
11002  """Information to aid in pagination."""
11003  pageInfo: PageInfo!
11004
11005  """Identifies the total count of items in the connection."""
11006  totalCount: Int!
11007}
11008
11009"""Represents a user that's starred a repository."""
11010type StargazerEdge {
11011  """A cursor for use in pagination."""
11012  cursor: String!
11013  node: User!
11014
11015  """Identifies when the item was starred."""
11016  starredAt: DateTime!
11017}
11018
11019"""Ways in which star connections can be ordered."""
11020input StarOrder {
11021  """The field in which to order nodes by."""
11022  field: StarOrderField!
11023
11024  """The direction in which to order nodes."""
11025  direction: OrderDirection!
11026}
11027
11028"""Properties by which star connections can be ordered."""
11029enum StarOrderField {
11030  """Allows ordering a list of stars by when they were created."""
11031  STARRED_AT
11032}
11033
11034"""Things that can be starred."""
11035interface Starrable {
11036  id: ID!
11037
11038  """A list of users who have starred this starrable."""
11039  stargazers(
11040    """Returns the elements in the list that come after the specified cursor."""
11041    after: String
11042
11043    """
11044    Returns the elements in the list that come before the specified cursor.
11045    """
11046    before: String
11047
11048    """Returns the first _n_ elements from the list."""
11049    first: Int
11050
11051    """Returns the last _n_ elements from the list."""
11052    last: Int
11053
11054    """Order for connection"""
11055    orderBy: StarOrder
11056  ): StargazerConnection!
11057
11058  """
11059  Returns a boolean indicating whether the viewing user has starred this starrable.
11060  """
11061  viewerHasStarred: Boolean!
11062}
11063
11064"""The connection type for Repository."""
11065type StarredRepositoryConnection {
11066  """A list of edges."""
11067  edges: [StarredRepositoryEdge]
11068
11069  """A list of nodes."""
11070  nodes: [Repository]
11071
11072  """Information to aid in pagination."""
11073  pageInfo: PageInfo!
11074
11075  """Identifies the total count of items in the connection."""
11076  totalCount: Int!
11077}
11078
11079"""Represents a starred repository."""
11080type StarredRepositoryEdge {
11081  """A cursor for use in pagination."""
11082  cursor: String!
11083  node: Repository!
11084
11085  """Identifies when the item was starred."""
11086  starredAt: DateTime!
11087}
11088
11089"""Represents a commit status."""
11090type Status implements Node {
11091  """The commit this status is attached to."""
11092  commit: Commit
11093
11094  """Looks up an individual status context by context name."""
11095  context(
11096    """The context name."""
11097    name: String!
11098  ): StatusContext
11099
11100  """The individual status contexts for this commit."""
11101  contexts: [StatusContext!]!
11102  id: ID!
11103
11104  """The combined commit status."""
11105  state: StatusState!
11106}
11107
11108"""Represents an individual commit status context"""
11109type StatusContext implements Node {
11110  """This commit this status context is attached to."""
11111  commit: Commit
11112
11113  """The name of this status context."""
11114  context: String!
11115
11116  """Identifies the date and time when the object was created."""
11117  createdAt: DateTime!
11118
11119  """The actor who created this status context."""
11120  creator: Actor
11121
11122  """The description for this status context."""
11123  description: String
11124  id: ID!
11125
11126  """The state of this status context."""
11127  state: StatusState!
11128
11129  """The URL for this status context."""
11130  targetUrl: URI
11131}
11132
11133"""The possible commit status states."""
11134enum StatusState {
11135  """Status is expected."""
11136  EXPECTED
11137
11138  """Status is errored."""
11139  ERROR
11140
11141  """Status is failing."""
11142  FAILURE
11143
11144  """Status is pending."""
11145  PENDING
11146
11147  """Status is successful."""
11148  SUCCESS
11149}
11150
11151"""Autogenerated input type of SubmitPullRequestReview"""
11152input SubmitPullRequestReviewInput {
11153  """The Pull Request Review ID to submit."""
11154  pullRequestReviewId: ID!
11155
11156  """The event to send to the Pull Request Review."""
11157  event: PullRequestReviewEvent!
11158
11159  """The text field to set on the Pull Request Review."""
11160  body: String
11161
11162  """A unique identifier for the client performing the mutation."""
11163  clientMutationId: String
11164}
11165
11166"""Autogenerated return type of SubmitPullRequestReview"""
11167type SubmitPullRequestReviewPayload {
11168  """A unique identifier for the client performing the mutation."""
11169  clientMutationId: String
11170
11171  """The submitted pull request review."""
11172  pullRequestReview: PullRequestReview
11173}
11174
11175"""Entities that can be subscribed to for web and email notifications."""
11176interface Subscribable {
11177  id: ID!
11178
11179  """
11180  Check if the viewer is able to change their subscription status for the repository.
11181  """
11182  viewerCanSubscribe: Boolean!
11183
11184  """
11185  Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.
11186  """
11187  viewerSubscription: SubscriptionState
11188}
11189
11190"""Represents a 'subscribed' event on a given `Subscribable`."""
11191type SubscribedEvent implements Node {
11192  """Identifies the actor who performed the event."""
11193  actor: Actor
11194
11195  """Identifies the date and time when the object was created."""
11196  createdAt: DateTime!
11197  id: ID!
11198
11199  """Object referenced by event."""
11200  subscribable: Subscribable!
11201}
11202
11203"""The possible states of a subscription."""
11204enum SubscriptionState {
11205  """The User is only notified when participating or @mentioned."""
11206  UNSUBSCRIBED
11207
11208  """The User is notified of all conversations."""
11209  SUBSCRIBED
11210
11211  """The User is never notified."""
11212  IGNORED
11213}
11214
11215"""
11216A suggestion to review a pull request based on a user's commit history and review comments.
11217"""
11218type SuggestedReviewer {
11219  """Is this suggestion based on past commits?"""
11220  isAuthor: Boolean!
11221
11222  """Is this suggestion based on past review comments?"""
11223  isCommenter: Boolean!
11224
11225  """Identifies the user suggested to review the pull request."""
11226  reviewer: User!
11227}
11228
11229"""Represents a Git tag."""
11230type Tag implements Node & GitObject {
11231  """An abbreviated version of the Git object ID"""
11232  abbreviatedOid: String!
11233
11234  """The HTTP path for this Git object"""
11235  commitResourcePath: URI!
11236
11237  """The HTTP URL for this Git object"""
11238  commitUrl: URI!
11239  id: ID!
11240
11241  """The Git tag message."""
11242  message: String
11243
11244  """The Git tag name."""
11245  name: String!
11246
11247  """The Git object ID"""
11248  oid: GitObjectID!
11249
11250  """The Repository the Git object belongs to"""
11251  repository: Repository!
11252
11253  """Details about the tag author."""
11254  tagger: GitActor
11255
11256  """The Git object the tag points to."""
11257  target: GitObject!
11258}
11259
11260"""A team of users in an organization."""
11261type Team implements Node & Subscribable & MemberStatusable {
11262  """A list of teams that are ancestors of this team."""
11263  ancestors(
11264    """Returns the elements in the list that come after the specified cursor."""
11265    after: String
11266
11267    """
11268    Returns the elements in the list that come before the specified cursor.
11269    """
11270    before: String
11271
11272    """Returns the first _n_ elements from the list."""
11273    first: Int
11274
11275    """Returns the last _n_ elements from the list."""
11276    last: Int
11277  ): TeamConnection!
11278
11279  """A URL pointing to the team's avatar."""
11280  avatarUrl(
11281    """The size in pixels of the resulting square image."""
11282    size: Int = 400
11283  ): URI
11284
11285  """List of child teams belonging to this team"""
11286  childTeams(
11287    """Order for connection"""
11288    orderBy: TeamOrder
11289
11290    """User logins to filter by"""
11291    userLogins: [String!]
11292
11293    """Whether to list immediate child teams or all descendant child teams."""
11294    immediateOnly: Boolean = true
11295
11296    """Returns the elements in the list that come after the specified cursor."""
11297    after: String
11298
11299    """
11300    Returns the elements in the list that come before the specified cursor.
11301    """
11302    before: String
11303
11304    """Returns the first _n_ elements from the list."""
11305    first: Int
11306
11307    """Returns the last _n_ elements from the list."""
11308    last: Int
11309  ): TeamConnection!
11310
11311  """The slug corresponding to the organization and team."""
11312  combinedSlug: String!
11313
11314  """Identifies the date and time when the object was created."""
11315  createdAt: DateTime!
11316
11317  """The description of the team."""
11318  description: String
11319
11320  """The HTTP path for editing this team"""
11321  editTeamResourcePath: URI!
11322
11323  """The HTTP URL for editing this team"""
11324  editTeamUrl: URI!
11325  id: ID!
11326
11327  """A list of pending invitations for users to this team"""
11328  invitations(
11329    """Returns the elements in the list that come after the specified cursor."""
11330    after: String
11331
11332    """
11333    Returns the elements in the list that come before the specified cursor.
11334    """
11335    before: String
11336
11337    """Returns the first _n_ elements from the list."""
11338    first: Int
11339
11340    """Returns the last _n_ elements from the list."""
11341    last: Int
11342  ): OrganizationInvitationConnection
11343
11344  """
11345  Get the status messages members of this entity have set that are either public or visible only to the organization.
11346  """
11347  memberStatuses(
11348    """Returns the elements in the list that come after the specified cursor."""
11349    after: String
11350
11351    """
11352    Returns the elements in the list that come before the specified cursor.
11353    """
11354    before: String
11355
11356    """Returns the first _n_ elements from the list."""
11357    first: Int
11358
11359    """Returns the last _n_ elements from the list."""
11360    last: Int
11361
11362    """Ordering options for user statuses returned from the connection."""
11363    orderBy: UserStatusOrder
11364  ): UserStatusConnection!
11365
11366  """A list of users who are members of this team."""
11367  members(
11368    """Returns the elements in the list that come after the specified cursor."""
11369    after: String
11370
11371    """
11372    Returns the elements in the list that come before the specified cursor.
11373    """
11374    before: String
11375
11376    """Returns the first _n_ elements from the list."""
11377    first: Int
11378
11379    """Returns the last _n_ elements from the list."""
11380    last: Int
11381
11382    """The search string to look for."""
11383    query: String
11384
11385    """Filter by membership type"""
11386    membership: TeamMembershipType = ALL
11387
11388    """Filter by team member role"""
11389    role: TeamMemberRole
11390
11391    """Order for the connection."""
11392    orderBy: TeamMemberOrder
11393  ): TeamMemberConnection!
11394
11395  """The HTTP path for the team' members"""
11396  membersResourcePath: URI!
11397
11398  """The HTTP URL for the team' members"""
11399  membersUrl: URI!
11400
11401  """The name of the team."""
11402  name: String!
11403
11404  """The HTTP path creating a new team"""
11405  newTeamResourcePath: URI!
11406
11407  """The HTTP URL creating a new team"""
11408  newTeamUrl: URI!
11409
11410  """The organization that owns this team."""
11411  organization: Organization!
11412
11413  """The parent team of the team."""
11414  parentTeam: Team
11415
11416  """The level of privacy the team has."""
11417  privacy: TeamPrivacy!
11418
11419  """A list of repositories this team has access to."""
11420  repositories(
11421    """Returns the elements in the list that come after the specified cursor."""
11422    after: String
11423
11424    """
11425    Returns the elements in the list that come before the specified cursor.
11426    """
11427    before: String
11428
11429    """Returns the first _n_ elements from the list."""
11430    first: Int
11431
11432    """Returns the last _n_ elements from the list."""
11433    last: Int
11434
11435    """The search string to look for."""
11436    query: String
11437
11438    """Order for the connection."""
11439    orderBy: TeamRepositoryOrder
11440  ): TeamRepositoryConnection!
11441
11442  """The HTTP path for this team's repositories"""
11443  repositoriesResourcePath: URI!
11444
11445  """The HTTP URL for this team's repositories"""
11446  repositoriesUrl: URI!
11447
11448  """The HTTP path for this team"""
11449  resourcePath: URI!
11450
11451  """The slug corresponding to the team."""
11452  slug: String!
11453
11454  """The HTTP path for this team's teams"""
11455  teamsResourcePath: URI!
11456
11457  """The HTTP URL for this team's teams"""
11458  teamsUrl: URI!
11459
11460  """Identifies the date and time when the object was last updated."""
11461  updatedAt: DateTime!
11462
11463  """The HTTP URL for this team"""
11464  url: URI!
11465
11466  """Team is adminable by the viewer."""
11467  viewerCanAdminister: Boolean!
11468
11469  """
11470  Check if the viewer is able to change their subscription status for the repository.
11471  """
11472  viewerCanSubscribe: Boolean!
11473
11474  """
11475  Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.
11476  """
11477  viewerSubscription: SubscriptionState
11478}
11479
11480"""The connection type for Team."""
11481type TeamConnection {
11482  """A list of edges."""
11483  edges: [TeamEdge]
11484
11485  """A list of nodes."""
11486  nodes: [Team]
11487
11488  """Information to aid in pagination."""
11489  pageInfo: PageInfo!
11490
11491  """Identifies the total count of items in the connection."""
11492  totalCount: Int!
11493}
11494
11495"""An edge in a connection."""
11496type TeamEdge {
11497  """A cursor for use in pagination."""
11498  cursor: String!
11499
11500  """The item at the end of the edge."""
11501  node: Team
11502}
11503
11504"""The connection type for User."""
11505type TeamMemberConnection {
11506  """A list of edges."""
11507  edges: [TeamMemberEdge]
11508
11509  """A list of nodes."""
11510  nodes: [User]
11511
11512  """Information to aid in pagination."""
11513  pageInfo: PageInfo!
11514
11515  """Identifies the total count of items in the connection."""
11516  totalCount: Int!
11517}
11518
11519"""Represents a user who is a member of a team."""
11520type TeamMemberEdge {
11521  """A cursor for use in pagination."""
11522  cursor: String!
11523
11524  """The HTTP path to the organization's member access page."""
11525  memberAccessResourcePath: URI!
11526
11527  """The HTTP URL to the organization's member access page."""
11528  memberAccessUrl: URI!
11529  node: User!
11530
11531  """The role the member has on the team."""
11532  role: TeamMemberRole!
11533}
11534
11535"""Ordering options for team member connections"""
11536input TeamMemberOrder {
11537  """The field to order team members by."""
11538  field: TeamMemberOrderField!
11539
11540  """The ordering direction."""
11541  direction: OrderDirection!
11542}
11543
11544"""Properties by which team member connections can be ordered."""
11545enum TeamMemberOrderField {
11546  """Order team members by login"""
11547  LOGIN
11548
11549  """Order team members by creation time"""
11550  CREATED_AT
11551}
11552
11553"""The possible team member roles; either 'maintainer' or 'member'."""
11554enum TeamMemberRole {
11555  """A team maintainer has permission to add and remove team members."""
11556  MAINTAINER
11557
11558  """A team member has no administrative permissions on the team."""
11559  MEMBER
11560}
11561
11562"""
11563Defines which types of team members are included in the returned list. Can be one of IMMEDIATE, CHILD_TEAM or ALL.
11564"""
11565enum TeamMembershipType {
11566  """Includes only immediate members of the team."""
11567  IMMEDIATE
11568
11569  """Includes only child team members for the team."""
11570  CHILD_TEAM
11571
11572  """Includes immediate and child team members for the team."""
11573  ALL
11574}
11575
11576"""Ways in which team connections can be ordered."""
11577input TeamOrder {
11578  """The field in which to order nodes by."""
11579  field: TeamOrderField!
11580
11581  """The direction in which to order nodes."""
11582  direction: OrderDirection!
11583}
11584
11585"""Properties by which team connections can be ordered."""
11586enum TeamOrderField {
11587  """Allows ordering a list of teams by name."""
11588  NAME
11589}
11590
11591"""The possible team privacy values."""
11592enum TeamPrivacy {
11593  """A secret team can only be seen by its members."""
11594  SECRET
11595
11596  """
11597  A visible team can be seen and @mentioned by every member of the organization.
11598  """
11599  VISIBLE
11600}
11601
11602"""The connection type for Repository."""
11603type TeamRepositoryConnection {
11604  """A list of edges."""
11605  edges: [TeamRepositoryEdge]
11606
11607  """A list of nodes."""
11608  nodes: [Repository]
11609
11610  """Information to aid in pagination."""
11611  pageInfo: PageInfo!
11612
11613  """Identifies the total count of items in the connection."""
11614  totalCount: Int!
11615}
11616
11617"""Represents a team repository."""
11618type TeamRepositoryEdge {
11619  """A cursor for use in pagination."""
11620  cursor: String!
11621  node: Repository!
11622
11623  """The permission level the team has on the repository"""
11624  permission: RepositoryPermission!
11625}
11626
11627"""Ordering options for team repository connections"""
11628input TeamRepositoryOrder {
11629  """The field to order repositories by."""
11630  field: TeamRepositoryOrderField!
11631
11632  """The ordering direction."""
11633  direction: OrderDirection!
11634}
11635
11636"""Properties by which team repository connections can be ordered."""
11637enum TeamRepositoryOrderField {
11638  """Order repositories by creation time"""
11639  CREATED_AT
11640
11641  """Order repositories by update time"""
11642  UPDATED_AT
11643
11644  """Order repositories by push time"""
11645  PUSHED_AT
11646
11647  """Order repositories by name"""
11648  NAME
11649
11650  """Order repositories by permission"""
11651  PERMISSION
11652
11653  """Order repositories by number of stargazers"""
11654  STARGAZERS
11655}
11656
11657"""The role of a user on a team."""
11658enum TeamRole {
11659  """User has admin rights on the team."""
11660  ADMIN
11661
11662  """User is a member of the team."""
11663  MEMBER
11664}
11665
11666"""A text match within a search result."""
11667type TextMatch {
11668  """The specific text fragment within the property matched on."""
11669  fragment: String!
11670
11671  """Highlights within the matched fragment."""
11672  highlights: [TextMatchHighlight!]!
11673
11674  """The property matched on."""
11675  property: String!
11676}
11677
11678"""Represents a single highlight in a search result match."""
11679type TextMatchHighlight {
11680  """The indice in the fragment where the matched text begins."""
11681  beginIndice: Int!
11682
11683  """The indice in the fragment where the matched text ends."""
11684  endIndice: Int!
11685
11686  """The text matched."""
11687  text: String!
11688}
11689
11690"""A topic aggregates entities that are related to a subject."""
11691type Topic implements Node & Starrable {
11692  id: ID!
11693
11694  """The topic's name."""
11695  name: String!
11696
11697  """
11698  A list of related topics, including aliases of this topic, sorted with the most relevant
11699  first. Returns up to 10 Topics.
11700
11701  """
11702  relatedTopics(
11703    """How many topics to return."""
11704    first: Int = 3
11705  ): [Topic!]!
11706
11707  """A list of users who have starred this starrable."""
11708  stargazers(
11709    """Returns the elements in the list that come after the specified cursor."""
11710    after: String
11711
11712    """
11713    Returns the elements in the list that come before the specified cursor.
11714    """
11715    before: String
11716
11717    """Returns the first _n_ elements from the list."""
11718    first: Int
11719
11720    """Returns the last _n_ elements from the list."""
11721    last: Int
11722
11723    """Order for connection"""
11724    orderBy: StarOrder
11725  ): StargazerConnection!
11726
11727  """
11728  Returns a boolean indicating whether the viewing user has starred this starrable.
11729  """
11730  viewerHasStarred: Boolean!
11731}
11732
11733"""The connection type for Topic."""
11734type TopicConnection {
11735  """A list of edges."""
11736  edges: [TopicEdge]
11737
11738  """A list of nodes."""
11739  nodes: [Topic]
11740
11741  """Information to aid in pagination."""
11742  pageInfo: PageInfo!
11743
11744  """Identifies the total count of items in the connection."""
11745  totalCount: Int!
11746}
11747
11748"""An edge in a connection."""
11749type TopicEdge {
11750  """A cursor for use in pagination."""
11751  cursor: String!
11752
11753  """The item at the end of the edge."""
11754  node: Topic
11755}
11756
11757"""Reason that the suggested topic is declined."""
11758enum TopicSuggestionDeclineReason {
11759  """The suggested topic is not relevant to the repository."""
11760  NOT_RELEVANT
11761
11762  """
11763  The suggested topic is too specific for the repository (e.g. #ruby-on-rails-version-4-2-1).
11764  """
11765  TOO_SPECIFIC
11766
11767  """The viewer does not like the suggested topic."""
11768  PERSONAL_PREFERENCE
11769
11770  """The suggested topic is too general for the repository."""
11771  TOO_GENERAL
11772}
11773
11774"""Represents a 'transferred' event on a given issue or pull request."""
11775type TransferredEvent implements Node {
11776  """Identifies the actor who performed the event."""
11777  actor: Actor
11778
11779  """Identifies the date and time when the object was created."""
11780  createdAt: DateTime!
11781
11782  """The repository this came from"""
11783  fromRepository: Repository
11784  id: ID!
11785
11786  """Identifies the issue associated with the event."""
11787  issue: Issue!
11788}
11789
11790"""Represents a Git tree."""
11791type Tree implements Node & GitObject {
11792  """An abbreviated version of the Git object ID"""
11793  abbreviatedOid: String!
11794
11795  """The HTTP path for this Git object"""
11796  commitResourcePath: URI!
11797
11798  """The HTTP URL for this Git object"""
11799  commitUrl: URI!
11800
11801  """A list of tree entries."""
11802  entries: [TreeEntry!]
11803  id: ID!
11804
11805  """The Git object ID"""
11806  oid: GitObjectID!
11807
11808  """The Repository the Git object belongs to"""
11809  repository: Repository!
11810}
11811
11812"""Represents a Git tree entry."""
11813type TreeEntry {
11814  """Entry file mode."""
11815  mode: Int!
11816
11817  """Entry file name."""
11818  name: String!
11819
11820  """Entry file object."""
11821  object: GitObject
11822
11823  """Entry file Git object ID."""
11824  oid: GitObjectID!
11825
11826  """The Repository the tree entry belongs to"""
11827  repository: Repository!
11828
11829  """Entry file type."""
11830  type: String!
11831}
11832
11833"""Represents an 'unassigned' event on any assignable object."""
11834type UnassignedEvent implements Node {
11835  """Identifies the actor who performed the event."""
11836  actor: Actor
11837
11838  """Identifies the assignable associated with the event."""
11839  assignable: Assignable!
11840
11841  """Identifies the date and time when the object was created."""
11842  createdAt: DateTime!
11843  id: ID!
11844
11845  """Identifies the subject (user) who was unassigned."""
11846  user: User
11847}
11848
11849"""Represents a type that can be retrieved by a URL."""
11850interface UniformResourceLocatable {
11851  """The HTML path to this resource."""
11852  resourcePath: URI!
11853
11854  """The URL to this resource."""
11855  url: URI!
11856}
11857
11858"""Represents an unknown signature on a Commit or Tag."""
11859type UnknownSignature implements GitSignature {
11860  """Email used to sign this object."""
11861  email: String!
11862
11863  """True if the signature is valid and verified by GitHub."""
11864  isValid: Boolean!
11865
11866  """
11867  Payload for GPG signing object. Raw ODB object without the signature header.
11868  """
11869  payload: String!
11870
11871  """ASCII-armored signature header from object."""
11872  signature: String!
11873
11874  """GitHub user corresponding to the email signing this commit."""
11875  signer: User
11876
11877  """
11878  The state of this signature. `VALID` if signature is valid and verified by
11879  GitHub, otherwise represents reason why signature is considered invalid.
11880  """
11881  state: GitSignatureState!
11882
11883  """True if the signature was made with GitHub's signing key."""
11884  wasSignedByGitHub: Boolean!
11885}
11886
11887"""Represents an 'unlabeled' event on a given issue or pull request."""
11888type UnlabeledEvent implements Node {
11889  """Identifies the actor who performed the event."""
11890  actor: Actor
11891
11892  """Identifies the date and time when the object was created."""
11893  createdAt: DateTime!
11894  id: ID!
11895
11896  """Identifies the label associated with the 'unlabeled' event."""
11897  label: Label!
11898
11899  """Identifies the `Labelable` associated with the event."""
11900  labelable: Labelable!
11901}
11902
11903"""Represents an 'unlocked' event on a given issue or pull request."""
11904type UnlockedEvent implements Node {
11905  """Identifies the actor who performed the event."""
11906  actor: Actor
11907
11908  """Identifies the date and time when the object was created."""
11909  createdAt: DateTime!
11910  id: ID!
11911
11912  """Object that was unlocked."""
11913  lockable: Lockable!
11914}
11915
11916"""Autogenerated input type of UnlockLockable"""
11917input UnlockLockableInput {
11918  """ID of the issue or pull request to be unlocked."""
11919  lockableId: ID!
11920
11921  """A unique identifier for the client performing the mutation."""
11922  clientMutationId: String
11923}
11924
11925"""Autogenerated return type of UnlockLockable"""
11926type UnlockLockablePayload {
11927  """A unique identifier for the client performing the mutation."""
11928  clientMutationId: String
11929
11930  """The item that was unlocked."""
11931  unlockedRecord: Lockable
11932}
11933
11934"""Autogenerated input type of UnmarkIssueAsDuplicate"""
11935input UnmarkIssueAsDuplicateInput {
11936  """ID of the issue or pull request currently marked as a duplicate."""
11937  duplicateId: ID!
11938
11939  """
11940  ID of the issue or pull request currently considered canonical/authoritative/original.
11941  """
11942  canonicalId: ID!
11943
11944  """A unique identifier for the client performing the mutation."""
11945  clientMutationId: String
11946}
11947
11948"""Autogenerated return type of UnmarkIssueAsDuplicate"""
11949type UnmarkIssueAsDuplicatePayload {
11950  """A unique identifier for the client performing the mutation."""
11951  clientMutationId: String
11952
11953  """The issue or pull request that was marked as a duplicate."""
11954  duplicate: IssueOrPullRequest
11955}
11956
11957"""Autogenerated input type of UnminimizeComment"""
11958input UnminimizeCommentInput {
11959  """The Node ID of the subject to modify."""
11960  subjectId: ID!
11961
11962  """A unique identifier for the client performing the mutation."""
11963  clientMutationId: String
11964}
11965
11966"""Autogenerated input type of UnpinIssue"""
11967input UnpinIssueInput {
11968  """The ID of the issue to be unpinned"""
11969  issueId: ID!
11970
11971  """A unique identifier for the client performing the mutation."""
11972  clientMutationId: String
11973}
11974
11975"""Represents an 'unpinned' event on a given issue or pull request."""
11976type UnpinnedEvent implements Node {
11977  """Identifies the actor who performed the event."""
11978  actor: Actor
11979
11980  """Identifies the date and time when the object was created."""
11981  createdAt: DateTime!
11982  id: ID!
11983
11984  """Identifies the issue associated with the event."""
11985  issue: Issue!
11986}
11987
11988"""Autogenerated input type of UnresolveReviewThread"""
11989input UnresolveReviewThreadInput {
11990  """The ID of the thread to unresolve"""
11991  threadId: ID!
11992
11993  """A unique identifier for the client performing the mutation."""
11994  clientMutationId: String
11995}
11996
11997"""Autogenerated return type of UnresolveReviewThread"""
11998type UnresolveReviewThreadPayload {
11999  """A unique identifier for the client performing the mutation."""
12000  clientMutationId: String
12001
12002  """The thread to resolve."""
12003  thread: PullRequestReviewThread
12004}
12005
12006"""Represents an 'unsubscribed' event on a given `Subscribable`."""
12007type UnsubscribedEvent implements Node {
12008  """Identifies the actor who performed the event."""
12009  actor: Actor
12010
12011  """Identifies the date and time when the object was created."""
12012  createdAt: DateTime!
12013  id: ID!
12014
12015  """Object referenced by event."""
12016  subscribable: Subscribable!
12017}
12018
12019"""Entities that can be updated."""
12020interface Updatable {
12021  """Check if the current viewer can update this object."""
12022  viewerCanUpdate: Boolean!
12023}
12024
12025"""Comments that can be updated."""
12026interface UpdatableComment {
12027  """Reasons why the current viewer can not update this comment."""
12028  viewerCannotUpdateReasons: [CommentCannotUpdateReason!]!
12029}
12030
12031"""Autogenerated input type of UpdateBranchProtectionRule"""
12032input UpdateBranchProtectionRuleInput {
12033  """The global relay id of the branch protection rule to be updated."""
12034  branchProtectionRuleId: ID!
12035
12036  """The glob-like pattern used to determine matching branches."""
12037  pattern: String
12038
12039  """Are approving reviews required to update matching branches."""
12040  requiresApprovingReviews: Boolean
12041
12042  """Number of approving reviews required to update matching branches."""
12043  requiredApprovingReviewCount: Int
12044
12045  """Are commits required to be signed."""
12046  requiresCommitSignatures: Boolean
12047
12048  """Can admins overwrite branch protection."""
12049  isAdminEnforced: Boolean
12050
12051  """Are status checks required to update matching branches."""
12052  requiresStatusChecks: Boolean
12053
12054  """Are branches required to be up to date before merging."""
12055  requiresStrictStatusChecks: Boolean
12056
12057  """Are reviews from code owners required to update matching branches."""
12058  requiresCodeOwnerReviews: Boolean
12059
12060  """
12061  Will new commits pushed to matching branches dismiss pull request review approvals.
12062  """
12063  dismissesStaleReviews: Boolean
12064
12065  """Is dismissal of pull request reviews restricted."""
12066  restrictsReviewDismissals: Boolean
12067
12068  """
12069  A list of User or Team IDs allowed to dismiss reviews on pull requests targeting matching branches.
12070  """
12071  reviewDismissalActorIds: [ID!]
12072
12073  """Is pushing to matching branches restricted."""
12074  restrictsPushes: Boolean
12075
12076  """A list of User or Team IDs allowed to push to matching branches."""
12077  pushActorIds: [ID!]
12078
12079  """
12080  List of required status check contexts that must pass for commits to be accepted to matching branches.
12081  """
12082  requiredStatusCheckContexts: [String!]
12083
12084  """A unique identifier for the client performing the mutation."""
12085  clientMutationId: String
12086}
12087
12088"""Autogenerated return type of UpdateBranchProtectionRule"""
12089type UpdateBranchProtectionRulePayload {
12090  """The newly created BranchProtectionRule."""
12091  branchProtectionRule: BranchProtectionRule
12092
12093  """A unique identifier for the client performing the mutation."""
12094  clientMutationId: String
12095}
12096
12097"""Autogenerated input type of UpdateIssueComment"""
12098input UpdateIssueCommentInput {
12099  """The ID of the IssueComment to modify."""
12100  id: ID!
12101
12102  """The updated text of the comment."""
12103  body: String!
12104
12105  """A unique identifier for the client performing the mutation."""
12106  clientMutationId: String
12107}
12108
12109"""Autogenerated return type of UpdateIssueComment"""
12110type UpdateIssueCommentPayload {
12111  """A unique identifier for the client performing the mutation."""
12112  clientMutationId: String
12113
12114  """The updated comment."""
12115  issueComment: IssueComment
12116}
12117
12118"""Autogenerated input type of UpdateIssue"""
12119input UpdateIssueInput {
12120  """The ID of the Issue to modify."""
12121  id: ID!
12122
12123  """The title for the issue."""
12124  title: String
12125
12126  """The body for the issue description."""
12127  body: String
12128
12129  """An array of Node IDs of users for this issue."""
12130  assigneeIds: [ID!]
12131
12132  """The Node ID of the milestone for this issue."""
12133  milestoneId: ID
12134
12135  """An array of Node IDs of labels for this issue."""
12136  labelIds: [ID!]
12137
12138  """The desired issue state."""
12139  state: IssueState
12140
12141  """An array of Node IDs for projects associated with this issue."""
12142  projectIds: [ID!]
12143
12144  """A unique identifier for the client performing the mutation."""
12145  clientMutationId: String
12146}
12147
12148"""Autogenerated return type of UpdateIssue"""
12149type UpdateIssuePayload {
12150  """A unique identifier for the client performing the mutation."""
12151  clientMutationId: String
12152
12153  """The issue."""
12154  issue: Issue
12155}
12156
12157"""Autogenerated input type of UpdateProjectCard"""
12158input UpdateProjectCardInput {
12159  """The ProjectCard ID to update."""
12160  projectCardId: ID!
12161
12162  """Whether or not the ProjectCard should be archived"""
12163  isArchived: Boolean
12164
12165  """The note of ProjectCard."""
12166  note: String
12167
12168  """A unique identifier for the client performing the mutation."""
12169  clientMutationId: String
12170}
12171
12172"""Autogenerated return type of UpdateProjectCard"""
12173type UpdateProjectCardPayload {
12174  """A unique identifier for the client performing the mutation."""
12175  clientMutationId: String
12176
12177  """The updated ProjectCard."""
12178  projectCard: ProjectCard
12179}
12180
12181"""Autogenerated input type of UpdateProjectColumn"""
12182input UpdateProjectColumnInput {
12183  """The ProjectColumn ID to update."""
12184  projectColumnId: ID!
12185
12186  """The name of project column."""
12187  name: String!
12188
12189  """A unique identifier for the client performing the mutation."""
12190  clientMutationId: String
12191}
12192
12193"""Autogenerated return type of UpdateProjectColumn"""
12194type UpdateProjectColumnPayload {
12195  """A unique identifier for the client performing the mutation."""
12196  clientMutationId: String
12197
12198  """The updated project column."""
12199  projectColumn: ProjectColumn
12200}
12201
12202"""Autogenerated input type of UpdateProject"""
12203input UpdateProjectInput {
12204  """The Project ID to update."""
12205  projectId: ID!
12206
12207  """The name of project."""
12208  name: String
12209
12210  """The description of project."""
12211  body: String
12212
12213  """Whether the project is open or closed."""
12214  state: ProjectState
12215
12216  """Whether the project is public or not."""
12217  public: Boolean
12218
12219  """A unique identifier for the client performing the mutation."""
12220  clientMutationId: String
12221}
12222
12223"""Autogenerated return type of UpdateProject"""
12224type UpdateProjectPayload {
12225  """A unique identifier for the client performing the mutation."""
12226  clientMutationId: String
12227
12228  """The updated project."""
12229  project: Project
12230}
12231
12232"""Autogenerated input type of UpdatePullRequest"""
12233input UpdatePullRequestInput {
12234  """The Node ID of the pull request."""
12235  pullRequestId: ID!
12236
12237  """
12238  The name of the branch you want your changes pulled into. This should be an existing branch
12239  on the current repository.
12240
12241  """
12242  baseRefName: String
12243
12244  """The title of the pull request."""
12245  title: String
12246
12247  """The contents of the pull request."""
12248  body: String
12249
12250  """Indicates whether maintainers can modify the pull request."""
12251  maintainerCanModify: Boolean
12252
12253  """A unique identifier for the client performing the mutation."""
12254  clientMutationId: String
12255}
12256
12257"""Autogenerated return type of UpdatePullRequest"""
12258type UpdatePullRequestPayload {
12259  """A unique identifier for the client performing the mutation."""
12260  clientMutationId: String
12261
12262  """The updated pull request."""
12263  pullRequest: PullRequest
12264}
12265
12266"""Autogenerated input type of UpdatePullRequestReviewComment"""
12267input UpdatePullRequestReviewCommentInput {
12268  """The Node ID of the comment to modify."""
12269  pullRequestReviewCommentId: ID!
12270
12271  """The text of the comment."""
12272  body: String!
12273
12274  """A unique identifier for the client performing the mutation."""
12275  clientMutationId: String
12276}
12277
12278"""Autogenerated return type of UpdatePullRequestReviewComment"""
12279type UpdatePullRequestReviewCommentPayload {
12280  """A unique identifier for the client performing the mutation."""
12281  clientMutationId: String
12282
12283  """The updated comment."""
12284  pullRequestReviewComment: PullRequestReviewComment
12285}
12286
12287"""Autogenerated input type of UpdatePullRequestReview"""
12288input UpdatePullRequestReviewInput {
12289  """The Node ID of the pull request review to modify."""
12290  pullRequestReviewId: ID!
12291
12292  """The contents of the pull request review body."""
12293  body: String!
12294
12295  """A unique identifier for the client performing the mutation."""
12296  clientMutationId: String
12297}
12298
12299"""Autogenerated return type of UpdatePullRequestReview"""
12300type UpdatePullRequestReviewPayload {
12301  """A unique identifier for the client performing the mutation."""
12302  clientMutationId: String
12303
12304  """The updated pull request review."""
12305  pullRequestReview: PullRequestReview
12306}
12307
12308"""Autogenerated input type of UpdateSubscription"""
12309input UpdateSubscriptionInput {
12310  """The Node ID of the subscribable object to modify."""
12311  subscribableId: ID!
12312
12313  """The new state of the subscription."""
12314  state: SubscriptionState!
12315
12316  """A unique identifier for the client performing the mutation."""
12317  clientMutationId: String
12318}
12319
12320"""Autogenerated return type of UpdateSubscription"""
12321type UpdateSubscriptionPayload {
12322  """A unique identifier for the client performing the mutation."""
12323  clientMutationId: String
12324
12325  """The input subscribable entity."""
12326  subscribable: Subscribable
12327}
12328
12329"""Autogenerated input type of UpdateTopics"""
12330input UpdateTopicsInput {
12331  """The Node ID of the repository."""
12332  repositoryId: ID!
12333
12334  """An array of topic names."""
12335  topicNames: [String!]!
12336
12337  """A unique identifier for the client performing the mutation."""
12338  clientMutationId: String
12339}
12340
12341"""Autogenerated return type of UpdateTopics"""
12342type UpdateTopicsPayload {
12343  """A unique identifier for the client performing the mutation."""
12344  clientMutationId: String
12345
12346  """Names of the provided topics that are not valid."""
12347  invalidTopicNames: [String!]
12348
12349  """The updated repository."""
12350  repository: Repository
12351}
12352
12353"""An RFC 3986, RFC 3987, and RFC 6570 (level 4) compliant URI string."""
12354scalar URI
12355
12356"""
12357A user is an individual's account on GitHub that owns repositories and can make new content.
12358"""
12359type User implements Node & Actor & RegistryPackageOwner & RegistryPackageSearch & ProjectOwner & RepositoryOwner & UniformResourceLocatable & ProfileOwner {
12360  """
12361  Determine if this repository owner has any items that can be pinned to their profile.
12362  """
12363  anyPinnableItems(
12364    """Filter to only a particular kind of pinnable item."""
12365    type: PinnableItemType
12366  ): Boolean!
12367
12368  """A URL pointing to the user's public avatar."""
12369  avatarUrl(
12370    """The size of the resulting square image."""
12371    size: Int
12372  ): URI!
12373
12374  """The user's public profile bio."""
12375  bio: String
12376
12377  """The user's public profile bio as HTML."""
12378  bioHTML: HTML!
12379
12380  """A list of commit comments made by this user."""
12381  commitComments(
12382    """Returns the elements in the list that come after the specified cursor."""
12383    after: String
12384
12385    """
12386    Returns the elements in the list that come before the specified cursor.
12387    """
12388    before: String
12389
12390    """Returns the first _n_ elements from the list."""
12391    first: Int
12392
12393    """Returns the last _n_ elements from the list."""
12394    last: Int
12395  ): CommitCommentConnection!
12396
12397  """The user's public profile company."""
12398  company: String
12399
12400  """The user's public profile company as HTML."""
12401  companyHTML: HTML!
12402
12403  """
12404  The collection of contributions this user has made to different repositories.
12405  """
12406  contributionsCollection(
12407    """The ID of the organization used to filter contributions."""
12408    organizationID: ID
12409
12410    """
12411    Only contributions made at this time or later will be counted. If omitted, defaults to a year ago.
12412    """
12413    from: DateTime
12414
12415    """
12416    Only contributions made before and up to and including this time will be
12417    counted. If omitted, defaults to the current time.
12418    """
12419    to: DateTime
12420  ): ContributionsCollection!
12421
12422  """Identifies the date and time when the object was created."""
12423  createdAt: DateTime!
12424
12425  """Identifies the primary key from the database."""
12426  databaseId: Int
12427
12428  """The user's publicly visible profile email."""
12429  email: String!
12430
12431  """A list of users the given user is followed by."""
12432  followers(
12433    """Returns the elements in the list that come after the specified cursor."""
12434    after: String
12435
12436    """
12437    Returns the elements in the list that come before the specified cursor.
12438    """
12439    before: String
12440
12441    """Returns the first _n_ elements from the list."""
12442    first: Int
12443
12444    """Returns the last _n_ elements from the list."""
12445    last: Int
12446  ): FollowerConnection!
12447
12448  """A list of users the given user is following."""
12449  following(
12450    """Returns the elements in the list that come after the specified cursor."""
12451    after: String
12452
12453    """
12454    Returns the elements in the list that come before the specified cursor.
12455    """
12456    before: String
12457
12458    """Returns the first _n_ elements from the list."""
12459    first: Int
12460
12461    """Returns the last _n_ elements from the list."""
12462    last: Int
12463  ): FollowingConnection!
12464
12465  """Find gist by repo name."""
12466  gist(
12467    """The gist name to find."""
12468    name: String!
12469  ): Gist
12470
12471  """A list of gist comments made by this user."""
12472  gistComments(
12473    """Returns the elements in the list that come after the specified cursor."""
12474    after: String
12475
12476    """
12477    Returns the elements in the list that come before the specified cursor.
12478    """
12479    before: String
12480
12481    """Returns the first _n_ elements from the list."""
12482    first: Int
12483
12484    """Returns the last _n_ elements from the list."""
12485    last: Int
12486  ): GistCommentConnection!
12487
12488  """A list of the Gists the user has created."""
12489  gists(
12490    """Filters Gists according to privacy."""
12491    privacy: GistPrivacy
12492
12493    """Ordering options for gists returned from the connection"""
12494    orderBy: GistOrder
12495
12496    """Returns the elements in the list that come after the specified cursor."""
12497    after: String
12498
12499    """
12500    Returns the elements in the list that come before the specified cursor.
12501    """
12502    before: String
12503
12504    """Returns the first _n_ elements from the list."""
12505    first: Int
12506
12507    """Returns the last _n_ elements from the list."""
12508    last: Int
12509  ): GistConnection!
12510  id: ID!
12511
12512  """
12513  Whether or not this user is a participant in the GitHub Security Bug Bounty.
12514  """
12515  isBountyHunter: Boolean!
12516
12517  """
12518  Whether or not this user is a participant in the GitHub Campus Experts Program.
12519  """
12520  isCampusExpert: Boolean!
12521
12522  """Whether or not this user is a GitHub Developer Program member."""
12523  isDeveloperProgramMember: Boolean!
12524
12525  """Whether or not this user is a GitHub employee."""
12526  isEmployee: Boolean!
12527
12528  """Whether or not the user has marked themselves as for hire."""
12529  isHireable: Boolean!
12530
12531  """Whether or not this user is a site administrator."""
12532  isSiteAdmin: Boolean!
12533
12534  """Whether or not this user is the viewing user."""
12535  isViewer: Boolean!
12536
12537  """A list of issue comments made by this user."""
12538  issueComments(
12539    """Returns the elements in the list that come after the specified cursor."""
12540    after: String
12541
12542    """
12543    Returns the elements in the list that come before the specified cursor.
12544    """
12545    before: String
12546
12547    """Returns the first _n_ elements from the list."""
12548    first: Int
12549
12550    """Returns the last _n_ elements from the list."""
12551    last: Int
12552  ): IssueCommentConnection!
12553
12554  """A list of issues associated with this user."""
12555  issues(
12556    """Ordering options for issues returned from the connection."""
12557    orderBy: IssueOrder
12558
12559    """A list of label names to filter the pull requests by."""
12560    labels: [String!]
12561
12562    """A list of states to filter the issues by."""
12563    states: [IssueState!]
12564
12565    """Filtering options for issues returned from the connection."""
12566    filterBy: IssueFilters
12567
12568    """Returns the elements in the list that come after the specified cursor."""
12569    after: String
12570
12571    """
12572    Returns the elements in the list that come before the specified cursor.
12573    """
12574    before: String
12575
12576    """Returns the first _n_ elements from the list."""
12577    first: Int
12578
12579    """Returns the last _n_ elements from the list."""
12580    last: Int
12581  ): IssueConnection!
12582
12583  """
12584  Showcases a selection of repositories and gists that the profile owner has
12585  either curated or that have been selected automatically based on popularity.
12586  """
12587  itemShowcase: ProfileItemShowcase!
12588
12589  """The user's public profile location."""
12590  location: String
12591
12592  """The username used to login."""
12593  login: String!
12594
12595  """The user's public profile name."""
12596  name: String
12597
12598  """Find an organization by its login that the user belongs to."""
12599  organization(
12600    """The login of the organization to find."""
12601    login: String!
12602  ): Organization
12603
12604  """A list of organizations the user belongs to."""
12605  organizations(
12606    """Returns the elements in the list that come after the specified cursor."""
12607    after: String
12608
12609    """
12610    Returns the elements in the list that come before the specified cursor.
12611    """
12612    before: String
12613
12614    """Returns the first _n_ elements from the list."""
12615    first: Int
12616
12617    """Returns the last _n_ elements from the list."""
12618    last: Int
12619  ): OrganizationConnection!
12620
12621  """
12622  A list of repositories and gists this profile owner can pin to their profile.
12623  """
12624  pinnableItems(
12625    """Filter the types of pinnable items that are returned."""
12626    types: [PinnableItemType!]
12627
12628    """Returns the elements in the list that come after the specified cursor."""
12629    after: String
12630
12631    """
12632    Returns the elements in the list that come before the specified cursor.
12633    """
12634    before: String
12635
12636    """Returns the first _n_ elements from the list."""
12637    first: Int
12638
12639    """Returns the last _n_ elements from the list."""
12640    last: Int
12641  ): PinnableItemConnection!
12642
12643  """
12644  A list of repositories and gists this profile owner has pinned to their profile
12645  """
12646  pinnedItems(
12647    """Filter the types of pinned items that are returned."""
12648    types: [PinnableItemType!]
12649
12650    """Returns the elements in the list that come after the specified cursor."""
12651    after: String
12652
12653    """
12654    Returns the elements in the list that come before the specified cursor.
12655    """
12656    before: String
12657
12658    """Returns the first _n_ elements from the list."""
12659    first: Int
12660
12661    """Returns the last _n_ elements from the list."""
12662    last: Int
12663  ): PinnableItemConnection!
12664
12665  """
12666  Returns how many more items this profile owner can pin to their profile.
12667  """
12668  pinnedItemsRemaining: Int!
12669
12670  """A list of repositories this user has pinned to their profile"""
12671  pinnedRepositories(
12672    """If non-null, filters repositories according to privacy"""
12673    privacy: RepositoryPrivacy
12674
12675    """Ordering options for repositories returned from the connection"""
12676    orderBy: RepositoryOrder
12677
12678    """
12679    Array of viewer's affiliation options for repositories returned from the
12680    connection. For example, OWNER will include only repositories that the
12681    current viewer owns.
12682    """
12683    affiliations: [RepositoryAffiliation]
12684
12685    """
12686    Array of owner's affiliation options for repositories returned from the
12687    connection. For example, OWNER will include only repositories that the
12688    organization or user being viewed owns.
12689    """
12690    ownerAffiliations: [RepositoryAffiliation]
12691
12692    """
12693    If non-null, filters repositories according to whether they have been locked
12694    """
12695    isLocked: Boolean
12696
12697    """Returns the elements in the list that come after the specified cursor."""
12698    after: String
12699
12700    """
12701    Returns the elements in the list that come before the specified cursor.
12702    """
12703    before: String
12704
12705    """Returns the first _n_ elements from the list."""
12706    first: Int
12707
12708    """Returns the last _n_ elements from the list."""
12709    last: Int
12710  ): RepositoryConnection! @deprecated(reason: "pinnedRepositories will be removed Use ProfileOwner.pinnedItems instead. Removal on 2019-07-01 UTC.")
12711
12712  """Find project by number."""
12713  project(
12714    """The project number to find."""
12715    number: Int!
12716  ): Project
12717
12718  """A list of projects under the owner."""
12719  projects(
12720    """Ordering options for projects returned from the connection"""
12721    orderBy: ProjectOrder
12722
12723    """Query to search projects by, currently only searching by name."""
12724    search: String
12725
12726    """A list of states to filter the projects by."""
12727    states: [ProjectState!]
12728
12729    """Returns the elements in the list that come after the specified cursor."""
12730    after: String
12731
12732    """
12733    Returns the elements in the list that come before the specified cursor.
12734    """
12735    before: String
12736
12737    """Returns the first _n_ elements from the list."""
12738    first: Int
12739
12740    """Returns the last _n_ elements from the list."""
12741    last: Int
12742  ): ProjectConnection!
12743
12744  """The HTTP path listing user's projects"""
12745  projectsResourcePath: URI!
12746
12747  """The HTTP URL listing user's projects"""
12748  projectsUrl: URI!
12749
12750  """A list of public keys associated with this user."""
12751  publicKeys(
12752    """Returns the elements in the list that come after the specified cursor."""
12753    after: String
12754
12755    """
12756    Returns the elements in the list that come before the specified cursor.
12757    """
12758    before: String
12759
12760    """Returns the first _n_ elements from the list."""
12761    first: Int
12762
12763    """Returns the last _n_ elements from the list."""
12764    last: Int
12765  ): PublicKeyConnection!
12766
12767  """A list of pull requests associated with this user."""
12768  pullRequests(
12769    """A list of states to filter the pull requests by."""
12770    states: [PullRequestState!]
12771
12772    """A list of label names to filter the pull requests by."""
12773    labels: [String!]
12774
12775    """The head ref name to filter the pull requests by."""
12776    headRefName: String
12777
12778    """The base ref name to filter the pull requests by."""
12779    baseRefName: String
12780
12781    """Ordering options for pull requests returned from the connection."""
12782    orderBy: IssueOrder
12783
12784    """Returns the elements in the list that come after the specified cursor."""
12785    after: String
12786
12787    """
12788    Returns the elements in the list that come before the specified cursor.
12789    """
12790    before: String
12791
12792    """Returns the first _n_ elements from the list."""
12793    first: Int
12794
12795    """Returns the last _n_ elements from the list."""
12796    last: Int
12797  ): PullRequestConnection!
12798
12799  """A list of repositories that the user owns."""
12800  repositories(
12801    """If non-null, filters repositories according to privacy"""
12802    privacy: RepositoryPrivacy
12803
12804    """Ordering options for repositories returned from the connection"""
12805    orderBy: RepositoryOrder
12806
12807    """
12808    Array of viewer's affiliation options for repositories returned from the
12809    connection. For example, OWNER will include only repositories that the
12810    current viewer owns.
12811    """
12812    affiliations: [RepositoryAffiliation]
12813
12814    """
12815    Array of owner's affiliation options for repositories returned from the
12816    connection. For example, OWNER will include only repositories that the
12817    organization or user being viewed owns.
12818    """
12819    ownerAffiliations: [RepositoryAffiliation]
12820
12821    """
12822    If non-null, filters repositories according to whether they have been locked
12823    """
12824    isLocked: Boolean
12825
12826    """Returns the elements in the list that come after the specified cursor."""
12827    after: String
12828
12829    """
12830    Returns the elements in the list that come before the specified cursor.
12831    """
12832    before: String
12833
12834    """Returns the first _n_ elements from the list."""
12835    first: Int
12836
12837    """Returns the last _n_ elements from the list."""
12838    last: Int
12839
12840    """
12841    If non-null, filters repositories according to whether they are forks of another repository
12842    """
12843    isFork: Boolean
12844  ): RepositoryConnection!
12845
12846  """A list of repositories that the user recently contributed to."""
12847  repositoriesContributedTo(
12848    """If non-null, filters repositories according to privacy"""
12849    privacy: RepositoryPrivacy
12850
12851    """Ordering options for repositories returned from the connection"""
12852    orderBy: RepositoryOrder
12853
12854    """
12855    If non-null, filters repositories according to whether they have been locked
12856    """
12857    isLocked: Boolean
12858
12859    """If true, include user repositories"""
12860    includeUserRepositories: Boolean
12861
12862    """
12863    If non-null, include only the specified types of contributions. The
12864    GitHub.com UI uses [COMMIT, ISSUE, PULL_REQUEST, REPOSITORY]
12865    """
12866    contributionTypes: [RepositoryContributionType]
12867
12868    """Returns the elements in the list that come after the specified cursor."""
12869    after: String
12870
12871    """
12872    Returns the elements in the list that come before the specified cursor.
12873    """
12874    before: String
12875
12876    """Returns the first _n_ elements from the list."""
12877    first: Int
12878
12879    """Returns the last _n_ elements from the list."""
12880    last: Int
12881  ): RepositoryConnection!
12882
12883  """Find Repository."""
12884  repository(
12885    """Name of Repository to find."""
12886    name: String!
12887  ): Repository
12888
12889  """The HTTP path for this user"""
12890  resourcePath: URI!
12891
12892  """Repositories the user has starred."""
12893  starredRepositories(
12894    """
12895    Filters starred repositories to only return repositories owned by the viewer.
12896    """
12897    ownedByViewer: Boolean
12898
12899    """Order for connection"""
12900    orderBy: StarOrder
12901
12902    """Returns the elements in the list that come after the specified cursor."""
12903    after: String
12904
12905    """
12906    Returns the elements in the list that come before the specified cursor.
12907    """
12908    before: String
12909
12910    """Returns the first _n_ elements from the list."""
12911    first: Int
12912
12913    """Returns the last _n_ elements from the list."""
12914    last: Int
12915  ): StarredRepositoryConnection!
12916
12917  """The user's description of what they're currently doing."""
12918  status: UserStatus
12919
12920  """Identifies the date and time when the object was last updated."""
12921  updatedAt: DateTime!
12922
12923  """The HTTP URL for this user"""
12924  url: URI!
12925
12926  """Can the viewer pin repositories and gists to the profile?"""
12927  viewerCanChangePinnedItems: Boolean!
12928
12929  """Can the current viewer create new projects on this owner."""
12930  viewerCanCreateProjects: Boolean!
12931
12932  """Whether or not the viewer is able to follow the user."""
12933  viewerCanFollow: Boolean!
12934
12935  """Whether or not this user is followed by the viewer."""
12936  viewerIsFollowing: Boolean!
12937
12938  """A list of repositories the given user is watching."""
12939  watching(
12940    """If non-null, filters repositories according to privacy"""
12941    privacy: RepositoryPrivacy
12942
12943    """Ordering options for repositories returned from the connection"""
12944    orderBy: RepositoryOrder
12945
12946    """Affiliation options for repositories returned from the connection"""
12947    affiliations: [RepositoryAffiliation]
12948
12949    """
12950    Array of owner's affiliation options for repositories returned from the
12951    connection. For example, OWNER will include only repositories that the
12952    organization or user being viewed owns.
12953    """
12954    ownerAffiliations: [RepositoryAffiliation]
12955
12956    """
12957    If non-null, filters repositories according to whether they have been locked
12958    """
12959    isLocked: Boolean
12960
12961    """Returns the elements in the list that come after the specified cursor."""
12962    after: String
12963
12964    """
12965    Returns the elements in the list that come before the specified cursor.
12966    """
12967    before: String
12968
12969    """Returns the first _n_ elements from the list."""
12970    first: Int
12971
12972    """Returns the last _n_ elements from the list."""
12973    last: Int
12974  ): RepositoryConnection!
12975
12976  """A URL pointing to the user's public website/blog."""
12977  websiteUrl: URI
12978}
12979
12980"""The possible durations that a user can be blocked for."""
12981enum UserBlockDuration {
12982  """The user was blocked for 1 day"""
12983  ONE_DAY
12984
12985  """The user was blocked for 3 days"""
12986  THREE_DAYS
12987
12988  """The user was blocked for 7 days"""
12989  ONE_WEEK
12990
12991  """The user was blocked for 30 days"""
12992  ONE_MONTH
12993
12994  """The user was blocked permanently"""
12995  PERMANENT
12996}
12997
12998"""Represents a 'user_blocked' event on a given user."""
12999type UserBlockedEvent implements Node {
13000  """Identifies the actor who performed the event."""
13001  actor: Actor
13002
13003  """Number of days that the user was blocked for."""
13004  blockDuration: UserBlockDuration!
13005
13006  """Identifies the date and time when the object was created."""
13007  createdAt: DateTime!
13008  id: ID!
13009
13010  """The user who was blocked."""
13011  subject: User
13012}
13013
13014"""The connection type for User."""
13015type UserConnection {
13016  """A list of edges."""
13017  edges: [UserEdge]
13018
13019  """A list of nodes."""
13020  nodes: [User]
13021
13022  """Information to aid in pagination."""
13023  pageInfo: PageInfo!
13024
13025  """Identifies the total count of items in the connection."""
13026  totalCount: Int!
13027}
13028
13029"""An edit on user content"""
13030type UserContentEdit implements Node {
13031  """Identifies the date and time when the object was created."""
13032  createdAt: DateTime!
13033
13034  """Identifies the date and time when the object was deleted."""
13035  deletedAt: DateTime
13036
13037  """The actor who deleted this content"""
13038  deletedBy: Actor
13039
13040  """A summary of the changes for this edit"""
13041  diff: String
13042
13043  """When this content was edited"""
13044  editedAt: DateTime!
13045
13046  """The actor who edited this content"""
13047  editor: Actor
13048  id: ID!
13049
13050  """Identifies the date and time when the object was last updated."""
13051  updatedAt: DateTime!
13052}
13053
13054"""A list of edits to content."""
13055type UserContentEditConnection {
13056  """A list of edges."""
13057  edges: [UserContentEditEdge]
13058
13059  """A list of nodes."""
13060  nodes: [UserContentEdit]
13061
13062  """Information to aid in pagination."""
13063  pageInfo: PageInfo!
13064
13065  """Identifies the total count of items in the connection."""
13066  totalCount: Int!
13067}
13068
13069"""An edge in a connection."""
13070type UserContentEditEdge {
13071  """A cursor for use in pagination."""
13072  cursor: String!
13073
13074  """The item at the end of the edge."""
13075  node: UserContentEdit
13076}
13077
13078"""Represents a user."""
13079type UserEdge {
13080  """A cursor for use in pagination."""
13081  cursor: String!
13082
13083  """The item at the end of the edge."""
13084  node: User
13085}
13086
13087"""The user's description of what they're currently doing."""
13088type UserStatus implements Node {
13089  """Identifies the date and time when the object was created."""
13090  createdAt: DateTime!
13091
13092  """An emoji summarizing the user's status."""
13093  emoji: String
13094
13095  """ID of the object."""
13096  id: ID!
13097
13098  """
13099  Whether this status indicates the user is not fully available on GitHub.
13100  """
13101  indicatesLimitedAvailability: Boolean!
13102
13103  """A brief message describing what the user is doing."""
13104  message: String
13105
13106  """
13107  The organization whose members can see this status. If null, this status is publicly visible.
13108  """
13109  organization: Organization
13110
13111  """Identifies the date and time when the object was last updated."""
13112  updatedAt: DateTime!
13113
13114  """The user who has this status."""
13115  user: User!
13116}
13117
13118"""The connection type for UserStatus."""
13119type UserStatusConnection {
13120  """A list of edges."""
13121  edges: [UserStatusEdge]
13122
13123  """A list of nodes."""
13124  nodes: [UserStatus]
13125
13126  """Information to aid in pagination."""
13127  pageInfo: PageInfo!
13128
13129  """Identifies the total count of items in the connection."""
13130  totalCount: Int!
13131}
13132
13133"""An edge in a connection."""
13134type UserStatusEdge {
13135  """A cursor for use in pagination."""
13136  cursor: String!
13137
13138  """The item at the end of the edge."""
13139  node: UserStatus
13140}
13141
13142"""Ordering options for user status connections."""
13143input UserStatusOrder {
13144  """The field to order user statuses by."""
13145  field: UserStatusOrderField!
13146
13147  """The ordering direction."""
13148  direction: OrderDirection!
13149}
13150
13151"""Properties by which user status connections can be ordered."""
13152enum UserStatusOrderField {
13153  """Order user statuses by when they were updated."""
13154  UPDATED_AT
13155}
13156
13157"""A valid x509 certificate string"""
13158scalar X509Certificate
13159