| 1 | # ------------------------------------------------------ |
| 2 | # THIS FILE WAS AUTOMATICALLY GENERATED (DO NOT MODIFY) |
| 3 | # ------------------------------------------------------ |
| 4 | |
| 5 | interface Actor { |
| 6 | avatarUrl: URI |
| 7 | login: String |
| 8 | resourcePath: URI |
| 9 | url: URI |
| 10 | } |
| 11 | |
| 12 | input AddAssigneesToAssignableInput { |
| 13 | assignableId: ID |
| 14 | assigneeIds: [ |
| 15 | clientMutationId: String |
| 16 | } |
| 17 | |
| 18 | type AddAssigneesToAssignablePayload { |
| 19 | assignable: Assignable |
| 20 | clientMutationId: String |
| 21 | } |
| 22 | |
| 23 | input AddCommentInput { |
| 24 | body: String |
| 25 | clientMutationId: String |
| 26 | subjectId: ID |
| 27 | } |
| 28 | |
| 29 | type AddCommentPayload { |
| 30 | clientMutationId: String |
| 31 | commentEdge: IssueCommentEdge |
| 32 | } |
| 33 | |
| 34 | input AddLabelsToLabelableInput { |
| 35 | clientMutationId: String |
| 36 | labelIds: [ |
| 37 | labelableId: ID |
| 38 | } |
| 39 | |
| 40 | type AddLabelsToLabelablePayload { |
| 41 | clientMutationId: String |
| 42 | labelable: Labelable |
| 43 | } |
| 44 | |
| 45 | interface Assignable { |
| 46 | assignees: UserConnection |
| 47 | } |
| 48 | |
| 49 | type AutoMergeRequest { |
| 50 | authorEmail: String |
| 51 | commitBody: String |
| 52 | commitHeadline: String |
| 53 | enabledAt: DateTime |
| 54 | enabledBy: Actor |
| 55 | mergeMethod: PullRequestMergeMethod |
| 56 | } |
| 57 | |
| 58 | type Bot implements |
| 59 | avatarUrl: URI |
| 60 | id: ID |
| 61 | login: String |
| 62 | resourcePath: URI |
| 63 | url: URI |
| 64 | } |
| 65 | |
| 66 | type BranchProtectionRule implements |
| 67 | id: ID |
| 68 | requiresStrictStatusChecks: Boolean |
| 69 | } |
| 70 | |
| 71 | enum CheckConclusionState { |
| 72 | ACTION_REQUIRED |
| 73 | CANCELLED |
| 74 | FAILURE |
| 75 | NEUTRAL |
| 76 | SKIPPED |
| 77 | STALE |
| 78 | STARTUP_FAILURE |
| 79 | SUCCESS |
| 80 | TIMED_OUT |
| 81 | } |
| 82 | |
| 83 | type CheckRun implements |
| 84 | checkSuite: CheckSuite |
| 85 | completedAt: DateTime |
| 86 | conclusion: CheckConclusionState |
| 87 | detailsUrl: URI |
| 88 | id: ID |
| 89 | name: String |
| 90 | startedAt: DateTime |
| 91 | status: CheckStatusState |
| 92 | } |
| 93 | |
| 94 | enum CheckStatusState { |
| 95 | COMPLETED |
| 96 | IN_PROGRESS |
| 97 | PENDING |
| 98 | QUEUED |
| 99 | REQUESTED |
| 100 | WAITING |
| 101 | } |
| 102 | |
| 103 | type CheckSuite implements |
| 104 | id: ID |
| 105 | workflowRun: WorkflowRun |
| 106 | } |
| 107 | |
| 108 | input CloseIssueInput { |
| 109 | clientMutationId: String |
| 110 | issueId: ID |
| 111 | stateReason: IssueClosedStateReason |
| 112 | } |
| 113 | |
| 114 | type CloseIssuePayload { |
| 115 | clientMutationId: String |
| 116 | issue: Issue |
| 117 | } |
| 118 | |
| 119 | input ClosePullRequestInput { |
| 120 | clientMutationId: String |
| 121 | pullRequestId: ID |
| 122 | } |
| 123 | |
| 124 | type ClosePullRequestPayload { |
| 125 | clientMutationId: String |
| 126 | pullRequest: PullRequest |
| 127 | } |
| 128 | |
| 129 | enum CommentAuthorAssociation { |
| 130 | COLLABORATOR |
| 131 | CONTRIBUTOR |
| 132 | FIRST_TIMER |
| 133 | FIRST_TIME_CONTRIBUTOR |
| 134 | MANNEQUIN |
| 135 | MEMBER |
| 136 | NONE |
| 137 | OWNER |
| 138 | } |
| 139 | |
| 140 | type Commit implements |
| 141 | abbreviatedOid: String |
| 142 | author: GitActor |
| 143 | authoredDate: DateTime |
| 144 | authors(first |
| 145 | committedDate: DateTime |
| 146 | committer: GitActor |
| 147 | id: ID |
| 148 | message: String |
| 149 | messageBody: String |
| 150 | messageHeadline: String |
| 151 | oid: GitObjectID |
| 152 | resourcePath: URI |
| 153 | statusCheckRollup: StatusCheckRollup |
| 154 | url: URI |
| 155 | } |
| 156 | |
| 157 | input ConvertPullRequestToDraftInput { |
| 158 | clientMutationId: String |
| 159 | pullRequestId: ID |
| 160 | } |
| 161 | |
| 162 | type ConvertPullRequestToDraftPayload { |
| 163 | clientMutationId: String |
| 164 | pullRequest: PullRequest |
| 165 | } |
| 166 | |
| 167 | input CreateIssueInput { |
| 168 | assigneeIds: [ |
| 169 | body: String |
| 170 | clientMutationId: String |
| 171 | issueTemplate: String |
| 172 | labelIds: [ |
| 173 | milestoneId: ID |
| 174 | projectIds: [ |
| 175 | repositoryId: ID |
| 176 | title: String |
| 177 | } |
| 178 | |
| 179 | type CreateIssuePayload { |
| 180 | clientMutationId: String |
| 181 | issue: Issue |
| 182 | } |
| 183 | |
| 184 | input CreatePullRequestInput { |
| 185 | baseRefName: String |
| 186 | body: String |
| 187 | clientMutationId: String |
| 188 | draft: Boolean |
| 189 | headRefName: String |
| 190 | headRepositoryId: ID |
| 191 | maintainerCanModify: Boolean |
| 192 | repositoryId: ID |
| 193 | title: String |
| 194 | } |
| 195 | |
| 196 | type CreatePullRequestPayload { |
| 197 | clientMutationId: String |
| 198 | pullRequest: PullRequest |
| 199 | } |
| 200 | |
| 201 | input CreateRepositoryInput { |
| 202 | clientMutationId: String |
| 203 | description: String |
| 204 | hasIssuesEnabled: Boolean |
| 205 | hasWikiEnabled: Boolean |
| 206 | homepageUrl: URI |
| 207 | name: String |
| 208 | ownerId: ID |
| 209 | teamId: ID |
| 210 | template: Boolean |
| 211 | visibility: RepositoryVisibility |
| 212 | } |
| 213 | |
| 214 | type CreateRepositoryPayload { |
| 215 | clientMutationId: String |
| 216 | repository: Repository |
| 217 | } |
| 218 | |
| 219 | """ |
| 220 | A date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format. |
| 221 | """ |
| 222 | scalar DateTime |
| 223 | |
| 224 | type GitActor { |
| 225 | email: String |
| 226 | name: String |
| 227 | user: User |
| 228 | } |
| 229 | |
| 230 | type GitActorConnection { |
| 231 | nodes: [ |
| 232 | pageInfo: PageInfo |
| 233 | totalCount: Int |
| 234 | } |
| 235 | |
| 236 | """A Git object ID.""" |
| 237 | scalar GitObjectID |
| 238 | |
| 239 | """Git SSH string""" |
| 240 | scalar GitSSHRemote |
| 241 | |
| 242 | """A string containing HTML code.""" |
| 243 | scalar HTML |
| 244 | |
| 245 | type Issue implements |
| 246 | assignees(first |
| 247 | author: Actor |
| 248 | body: String |
| 249 | bodyHTML: HTML |
| 250 | bodyText: String |
| 251 | closed: Boolean |
| 252 | closedAt: DateTime |
| 253 | comments(after |
| 254 | createdAt: DateTime |
| 255 | databaseId: Int |
| 256 | id: ID |
| 257 | includesCreatedEdit: Boolean |
| 258 | isPinned: Boolean |
| 259 | issueType: IssueType |
| 260 | labels(first |
| 261 | locked: Boolean |
| 262 | milestone: Milestone |
| 263 | number: Int |
| 264 | parent: Issue |
| 265 | projectItems(after |
| 266 | reactionGroups: [ |
| 267 | repository: Repository |
| 268 | resourcePath: URI |
| 269 | state: IssueState |
| 270 | stateReason: IssueStateReason |
| 271 | subIssues(first |
| 272 | subIssuesSummary: SubIssuesSummary |
| 273 | title: String |
| 274 | updatedAt: DateTime |
| 275 | url: URI |
| 276 | viewerCanUpdate: Boolean |
| 277 | } |
| 278 | |
| 279 | enum IssueClosedStateReason { |
| 280 | COMPLETED |
| 281 | DUPLICATE |
| 282 | NOT_PLANNED |
| 283 | } |
| 284 | |
| 285 | type IssueComment implements |
| 286 | author: Actor |
| 287 | authorAssociation: CommentAuthorAssociation |
| 288 | body: String |
| 289 | createdAt: DateTime |
| 290 | id: ID |
| 291 | includesCreatedEdit: Boolean |
| 292 | isMinimized: Boolean |
| 293 | minimizedReason: String |
| 294 | reactionGroups: [ |
| 295 | resourcePath: URI |
| 296 | updatedAt: DateTime |
| 297 | url: URI |
| 298 | viewerDidAuthor: Boolean |
| 299 | } |
| 300 | |
| 301 | type IssueCommentConnection { |
| 302 | nodes: [ |
| 303 | pageInfo: PageInfo |
| 304 | totalCount: Int |
| 305 | } |
| 306 | |
| 307 | type IssueCommentEdge { |
| 308 | cursor: String |
| 309 | node: IssueComment |
| 310 | } |
| 311 | |
| 312 | type IssueConnection { |
| 313 | nodes: [ |
| 314 | pageInfo: PageInfo |
| 315 | totalCount: Int |
| 316 | } |
| 317 | |
| 318 | input IssueFilters { |
| 319 | assignee: String |
| 320 | createdBy: String |
| 321 | labels: [ |
| 322 | mentioned: String |
| 323 | states: [ |
| 324 | } |
| 325 | |
| 326 | union IssueOrPullRequest = Issue |
| 327 | |
| 328 | input IssueOrder { |
| 329 | direction: OrderDirection |
| 330 | field: IssueOrderField |
| 331 | } |
| 332 | |
| 333 | enum IssueOrderField { |
| 334 | COMMENTS |
| 335 | CREATED_AT |
| 336 | UPDATED_AT |
| 337 | } |
| 338 | |
| 339 | enum IssueState { |
| 340 | CLOSED |
| 341 | OPEN |
| 342 | } |
| 343 | |
| 344 | enum IssueStateReason { |
| 345 | COMPLETED |
| 346 | DUPLICATE |
| 347 | NOT_PLANNED |
| 348 | REOPENED |
| 349 | } |
| 350 | |
| 351 | type IssueType implements |
| 352 | color: IssueTypeColor |
| 353 | description: String |
| 354 | id: ID |
| 355 | name: String |
| 356 | } |
| 357 | |
| 358 | enum IssueTypeColor { |
| 359 | BLUE |
| 360 | GRAY |
| 361 | GREEN |
| 362 | ORANGE |
| 363 | PINK |
| 364 | PURPLE |
| 365 | RED |
| 366 | YELLOW |
| 367 | } |
| 368 | |
| 369 | type Label implements |
| 370 | color: String |
| 371 | createdAt: DateTime |
| 372 | description: String |
| 373 | id: ID |
| 374 | isDefault: Boolean |
| 375 | name: String |
| 376 | resourcePath: URI |
| 377 | updatedAt: DateTime |
| 378 | url: URI |
| 379 | } |
| 380 | |
| 381 | type LabelConnection { |
| 382 | nodes: [ |
| 383 | pageInfo: PageInfo |
| 384 | totalCount: Int |
| 385 | } |
| 386 | |
| 387 | input LabelOrder { |
| 388 | direction: OrderDirection |
| 389 | field: LabelOrderField |
| 390 | } |
| 391 | |
| 392 | enum LabelOrderField { |
| 393 | CREATED_AT |
| 394 | NAME |
| 395 | } |
| 396 | |
| 397 | interface Labelable { |
| 398 | labels: LabelConnection |
| 399 | } |
| 400 | |
| 401 | input MarkPullRequestReadyForReviewInput { |
| 402 | clientMutationId: String |
| 403 | pullRequestId: ID |
| 404 | } |
| 405 | |
| 406 | type MarkPullRequestReadyForReviewPayload { |
| 407 | clientMutationId: String |
| 408 | pullRequest: PullRequest |
| 409 | } |
| 410 | |
| 411 | input MergePullRequestInput { |
| 412 | authorEmail: String |
| 413 | clientMutationId: String |
| 414 | commitBody: String |
| 415 | commitHeadline: String |
| 416 | expectedHeadOid: GitObjectID |
| 417 | mergeMethod: PullRequestMergeMethod |
| 418 | pullRequestId: ID |
| 419 | } |
| 420 | |
| 421 | type MergePullRequestPayload { |
| 422 | clientMutationId: String |
| 423 | pullRequest: PullRequest |
| 424 | } |
| 425 | |
| 426 | enum MergeStateStatus { |
| 427 | BEHIND |
| 428 | BLOCKED |
| 429 | CLEAN |
| 430 | DIRTY |
| 431 | DRAFT |
| 432 | HAS_HOOKS |
| 433 | UNKNOWN |
| 434 | UNSTABLE |
| 435 | } |
| 436 | |
| 437 | enum MergeableState { |
| 438 | CONFLICTING |
| 439 | MERGEABLE |
| 440 | UNKNOWN |
| 441 | } |
| 442 | |
| 443 | type Milestone { |
| 444 | description: String |
| 445 | dueOn: DateTime |
| 446 | id: ID |
| 447 | number: Int |
| 448 | title: String |
| 449 | } |
| 450 | |
| 451 | type Mutation { |
| 452 | addAssigneesToAssignable(input |
| 453 | addComment(input |
| 454 | addLabelsToLabelable(input |
| 455 | closeIssue(input |
| 456 | closePullRequest(input |
| 457 | convertPullRequestToDraft(input |
| 458 | createIssue(input |
| 459 | createPullRequest(input |
| 460 | createRepository(input |
| 461 | markPullRequestReadyForReview(input |
| 462 | mergePullRequest(input |
| 463 | removeAssigneesFromAssignable(input |
| 464 | removeLabelsFromLabelable(input |
| 465 | reopenIssue(input |
| 466 | reopenPullRequest(input |
| 467 | updateIssue(input |
| 468 | updatePullRequest(input |
| 469 | } |
| 470 | |
| 471 | interface Node { |
| 472 | id: ID |
| 473 | } |
| 474 | |
| 475 | enum OrderDirection { |
| 476 | ASC |
| 477 | DESC |
| 478 | } |
| 479 | |
| 480 | type Organization implements |
| 481 | avatarUrl: URI |
| 482 | databaseId: Int |
| 483 | id: ID |
| 484 | login: String |
| 485 | name: String |
| 486 | repository(name |
| 487 | resourcePath: URI |
| 488 | url: URI |
| 489 | } |
| 490 | |
| 491 | type PageInfo { |
| 492 | endCursor: String |
| 493 | hasNextPage: Boolean |
| 494 | hasPreviousPage: Boolean |
| 495 | startCursor: String |
| 496 | } |
| 497 | |
| 498 | enum PatchStatus { |
| 499 | ADDED |
| 500 | CHANGED |
| 501 | COPIED |
| 502 | DELETED |
| 503 | MODIFIED |
| 504 | RENAMED |
| 505 | } |
| 506 | |
| 507 | type ProjectV2 { |
| 508 | id: ID |
| 509 | title: String |
| 510 | } |
| 511 | |
| 512 | type ProjectV2Item { |
| 513 | fieldValueByName(name |
| 514 | id: ID |
| 515 | project: ProjectV2 |
| 516 | } |
| 517 | |
| 518 | type ProjectV2ItemConnection { |
| 519 | nodes: [ |
| 520 | pageInfo: PageInfo |
| 521 | totalCount: Int |
| 522 | } |
| 523 | |
| 524 | type ProjectV2ItemFieldSingleSelectValue { |
| 525 | id: ID |
| 526 | name: String |
| 527 | optionId: String |
| 528 | } |
| 529 | |
| 530 | union ProjectV2ItemFieldValue = ProjectV2ItemFieldSingleSelectValue |
| 531 | |
| 532 | type PullRequest implements |
| 533 | additions: Int |
| 534 | assignees(first |
| 535 | author: Actor |
| 536 | autoMergeRequest: AutoMergeRequest |
| 537 | baseRef: Ref |
| 538 | baseRefName: String |
| 539 | baseRepository: Repository |
| 540 | body: String |
| 541 | bodyHTML: HTML |
| 542 | bodyText: String |
| 543 | changedFiles: Int |
| 544 | closed: Boolean |
| 545 | closedAt: DateTime |
| 546 | comments(after |
| 547 | commits(after |
| 548 | createdAt: DateTime |
| 549 | databaseId: Int |
| 550 | deletions: Int |
| 551 | files(after |
| 552 | headRef: Ref |
| 553 | headRefName: String |
| 554 | headRefOid: GitObjectID |
| 555 | headRepository: Repository |
| 556 | headRepositoryOwner: RepositoryOwner |
| 557 | id: ID |
| 558 | includesCreatedEdit: Boolean |
| 559 | isCrossRepository: Boolean |
| 560 | isDraft: Boolean |
| 561 | labels(first |
| 562 | latestReviews(after |
| 563 | locked: Boolean |
| 564 | maintainerCanModify: Boolean |
| 565 | mergeStateStatus: MergeStateStatus |
| 566 | mergeable: MergeableState |
| 567 | merged: Boolean |
| 568 | mergedAt: DateTime |
| 569 | milestone: Milestone |
| 570 | number: Int |
| 571 | projectItems(after |
| 572 | reactionGroups: [ |
| 573 | repository: Repository |
| 574 | resourcePath: URI |
| 575 | reviewDecision: PullRequestReviewDecision |
| 576 | reviewRequests(first |
| 577 | reviews(after |
| 578 | state: PullRequestState |
| 579 | title: String |
| 580 | updatedAt: DateTime |
| 581 | url: URI |
| 582 | viewerCanUpdate: Boolean |
| 583 | } |
| 584 | |
| 585 | type PullRequestChangedFile { |
| 586 | additions: Int |
| 587 | changeType: PatchStatus |
| 588 | deletions: Int |
| 589 | path: String |
| 590 | } |
| 591 | |
| 592 | type PullRequestChangedFileConnection { |
| 593 | nodes: [ |
| 594 | pageInfo: PageInfo |
| 595 | totalCount: Int |
| 596 | } |
| 597 | |
| 598 | type PullRequestCommit implements |
| 599 | commit: Commit |
| 600 | id: ID |
| 601 | resourcePath: URI |
| 602 | url: URI |
| 603 | } |
| 604 | |
| 605 | type PullRequestCommitConnection { |
| 606 | nodes: [ |
| 607 | pageInfo: PageInfo |
| 608 | totalCount: Int |
| 609 | } |
| 610 | |
| 611 | type PullRequestConnection { |
| 612 | edges: [ |
| 613 | nodes: [ |
| 614 | pageInfo: PageInfo |
| 615 | totalCount: Int |
| 616 | } |
| 617 | |
| 618 | type PullRequestEdge { |
| 619 | cursor: String |
| 620 | node: PullRequest |
| 621 | } |
| 622 | |
| 623 | enum PullRequestMergeMethod { |
| 624 | MERGE |
| 625 | REBASE |
| 626 | SQUASH |
| 627 | } |
| 628 | |
| 629 | type PullRequestReview implements |
| 630 | author: Actor |
| 631 | authorAssociation: CommentAuthorAssociation |
| 632 | body: String |
| 633 | commit: Commit |
| 634 | createdAt: DateTime |
| 635 | databaseId: Int |
| 636 | id: ID |
| 637 | includesCreatedEdit: Boolean |
| 638 | reactionGroups: [ |
| 639 | resourcePath: URI |
| 640 | state: PullRequestReviewState |
| 641 | submittedAt: DateTime |
| 642 | url: URI |
| 643 | } |
| 644 | |
| 645 | type PullRequestReviewConnection { |
| 646 | nodes: [ |
| 647 | pageInfo: PageInfo |
| 648 | totalCount: Int |
| 649 | } |
| 650 | |
| 651 | enum PullRequestReviewDecision { |
| 652 | APPROVED |
| 653 | CHANGES_REQUESTED |
| 654 | REVIEW_REQUIRED |
| 655 | } |
| 656 | |
| 657 | enum PullRequestReviewState { |
| 658 | APPROVED |
| 659 | CHANGES_REQUESTED |
| 660 | COMMENTED |
| 661 | DISMISSED |
| 662 | PENDING |
| 663 | } |
| 664 | |
| 665 | enum PullRequestState { |
| 666 | CLOSED |
| 667 | MERGED |
| 668 | OPEN |
| 669 | } |
| 670 | |
| 671 | enum PullRequestUpdateState { |
| 672 | CLOSED |
| 673 | OPEN |
| 674 | } |
| 675 | |
| 676 | type Query { |
| 677 | node(id |
| 678 | nodes(ids |
| 679 | organization(login |
| 680 | repository(name |
| 681 | repositoryOwner(login |
| 682 | search(after |
| 683 | user(login |
| 684 | |
| 685 | """The currently authenticated user.""" |
| 686 | viewer: User |
| 687 | } |
| 688 | |
| 689 | type ReactingUserConnection { |
| 690 | totalCount: Int |
| 691 | } |
| 692 | |
| 693 | enum ReactionContent { |
| 694 | CONFUSED |
| 695 | EYES |
| 696 | HEART |
| 697 | HOORAY |
| 698 | LAUGH |
| 699 | ROCKET |
| 700 | THUMBS_DOWN |
| 701 | THUMBS_UP |
| 702 | } |
| 703 | |
| 704 | type ReactionGroup { |
| 705 | content: ReactionContent |
| 706 | users: ReactingUserConnection |
| 707 | } |
| 708 | |
| 709 | type Ref implements |
| 710 | branchProtectionRule: BranchProtectionRule |
| 711 | id: ID |
| 712 | name: String |
| 713 | prefix: String |
| 714 | } |
| 715 | |
| 716 | type Release implements |
| 717 | createdAt: DateTime |
| 718 | databaseId: Int |
| 719 | description: String |
| 720 | id: ID |
| 721 | isDraft: Boolean |
| 722 | isLatest: Boolean |
| 723 | isPrerelease: Boolean |
| 724 | name: String |
| 725 | publishedAt: DateTime |
| 726 | resourcePath: URI |
| 727 | tagName: String |
| 728 | updatedAt: DateTime |
| 729 | url: URI |
| 730 | } |
| 731 | |
| 732 | type ReleaseConnection { |
| 733 | nodes: [ |
| 734 | pageInfo: PageInfo |
| 735 | totalCount: Int |
| 736 | } |
| 737 | |
| 738 | input ReleaseOrder { |
| 739 | direction: OrderDirection |
| 740 | field: ReleaseOrderField |
| 741 | } |
| 742 | |
| 743 | enum ReleaseOrderField { |
| 744 | CREATED_AT |
| 745 | NAME |
| 746 | } |
| 747 | |
| 748 | input RemoveAssigneesFromAssignableInput { |
| 749 | assignableId: ID |
| 750 | assigneeIds: [ |
| 751 | clientMutationId: String |
| 752 | } |
| 753 | |
| 754 | type RemoveAssigneesFromAssignablePayload { |
| 755 | assignable: Assignable |
| 756 | clientMutationId: String |
| 757 | } |
| 758 | |
| 759 | input RemoveLabelsFromLabelableInput { |
| 760 | clientMutationId: String |
| 761 | labelIds: [ |
| 762 | labelableId: ID |
| 763 | } |
| 764 | |
| 765 | type RemoveLabelsFromLabelablePayload { |
| 766 | clientMutationId: String |
| 767 | labelable: Labelable |
| 768 | } |
| 769 | |
| 770 | input ReopenIssueInput { |
| 771 | clientMutationId: String |
| 772 | issueId: ID |
| 773 | } |
| 774 | |
| 775 | type ReopenIssuePayload { |
| 776 | clientMutationId: String |
| 777 | issue: Issue |
| 778 | } |
| 779 | |
| 780 | input ReopenPullRequestInput { |
| 781 | clientMutationId: String |
| 782 | pullRequestId: ID |
| 783 | } |
| 784 | |
| 785 | type ReopenPullRequestPayload { |
| 786 | clientMutationId: String |
| 787 | pullRequest: PullRequest |
| 788 | } |
| 789 | |
| 790 | type Repository implements |
| 791 | assignableUsers(after |
| 792 | createdAt: DateTime |
| 793 | databaseId: Int |
| 794 | defaultBranchRef: Ref |
| 795 | description: String |
| 796 | hasIssuesEnabled: Boolean |
| 797 | hasProjectsEnabled: Boolean |
| 798 | hasWikiEnabled: Boolean |
| 799 | id: ID |
| 800 | isArchived: Boolean |
| 801 | isEmpty: Boolean |
| 802 | isFork: Boolean |
| 803 | isPrivate: Boolean |
| 804 | issue(number |
| 805 | issueOrPullRequest(number |
| 806 | issues(after |
| 807 | label(name |
| 808 | labels(after |
| 809 | mergeCommitAllowed: Boolean |
| 810 | name: String |
| 811 | nameWithOwner: String |
| 812 | owner: RepositoryOwner |
| 813 | parent: Repository |
| 814 | pullRequest(number |
| 815 | pullRequests(after |
| 816 | pushedAt: DateTime |
| 817 | rebaseMergeAllowed: Boolean |
| 818 | release(tagName |
| 819 | releases(after |
| 820 | resourcePath: URI |
| 821 | squashMergeAllowed: Boolean |
| 822 | sshUrl: GitSSHRemote |
| 823 | updatedAt: DateTime |
| 824 | url: URI |
| 825 | viewerPermission: RepositoryPermission |
| 826 | visibility: RepositoryVisibility |
| 827 | } |
| 828 | |
| 829 | interface RepositoryOwner { |
| 830 | avatarUrl: URI |
| 831 | id: ID |
| 832 | login: String |
| 833 | repository(name |
| 834 | resourcePath: URI |
| 835 | url: URI |
| 836 | } |
| 837 | |
| 838 | enum RepositoryPermission { |
| 839 | ADMIN |
| 840 | MAINTAIN |
| 841 | READ |
| 842 | TRIAGE |
| 843 | WRITE |
| 844 | } |
| 845 | |
| 846 | enum RepositoryVisibility { |
| 847 | PRIVATE |
| 848 | PUBLIC |
| 849 | } |
| 850 | |
| 851 | union RequestedReviewer = Bot |
| 852 | |
| 853 | type ReviewRequest implements |
| 854 | id: ID |
| 855 | requestedReviewer: RequestedReviewer |
| 856 | } |
| 857 | |
| 858 | type ReviewRequestConnection { |
| 859 | nodes: [ |
| 860 | pageInfo: PageInfo |
| 861 | totalCount: Int |
| 862 | } |
| 863 | |
| 864 | union SearchResultItem = Issue |
| 865 | |
| 866 | type SearchResultItemConnection { |
| 867 | edges: [ |
| 868 | issueCount: Int |
| 869 | nodes: [ |
| 870 | pageInfo: PageInfo |
| 871 | } |
| 872 | |
| 873 | type SearchResultItemEdge { |
| 874 | cursor: String |
| 875 | node: SearchResultItem |
| 876 | } |
| 877 | |
| 878 | enum SearchType { |
| 879 | DISCUSSION |
| 880 | ISSUE |
| 881 | REPOSITORY |
| 882 | USER |
| 883 | } |
| 884 | |
| 885 | type StatusCheckRollup implements |
| 886 | contexts(after |
| 887 | id: ID |
| 888 | state: StatusState |
| 889 | } |
| 890 | |
| 891 | union StatusCheckRollupContext = CheckRun |
| 892 | |
| 893 | type StatusCheckRollupContextConnection { |
| 894 | nodes: [ |
| 895 | pageInfo: PageInfo |
| 896 | totalCount: Int |
| 897 | } |
| 898 | |
| 899 | type StatusContext implements |
| 900 | context: String |
| 901 | createdAt: DateTime |
| 902 | description: String |
| 903 | id: ID |
| 904 | state: StatusState |
| 905 | targetUrl: URI |
| 906 | } |
| 907 | |
| 908 | enum StatusState { |
| 909 | ERROR |
| 910 | EXPECTED |
| 911 | FAILURE |
| 912 | PENDING |
| 913 | SUCCESS |
| 914 | } |
| 915 | |
| 916 | type SubIssuesSummary { |
| 917 | completed: Int |
| 918 | percentCompleted: Int |
| 919 | total: Int |
| 920 | } |
| 921 | |
| 922 | type Team implements |
| 923 | id: ID |
| 924 | name: String |
| 925 | organization: Organization |
| 926 | slug: String |
| 927 | } |
| 928 | |
| 929 | """An RFC 3986, RFC 3987, and RFC 6570 (level 4) compliant URI string.""" |
| 930 | scalar URI |
| 931 | |
| 932 | interface UniformResourceLocatable { |
| 933 | resourcePath: URI |
| 934 | url: URI |
| 935 | } |
| 936 | |
| 937 | input UpdateIssueInput { |
| 938 | assigneeIds: [ |
| 939 | body: String |
| 940 | clientMutationId: String |
| 941 | id: ID |
| 942 | labelIds: [ |
| 943 | milestoneId: ID |
| 944 | projectIds: [ |
| 945 | state: IssueState |
| 946 | title: String |
| 947 | } |
| 948 | |
| 949 | type UpdateIssuePayload { |
| 950 | clientMutationId: String |
| 951 | issue: Issue |
| 952 | } |
| 953 | |
| 954 | input UpdatePullRequestInput { |
| 955 | assigneeIds: [ |
| 956 | baseRefName: String |
| 957 | body: String |
| 958 | clientMutationId: String |
| 959 | labelIds: [ |
| 960 | maintainerCanModify: Boolean |
| 961 | milestoneId: ID |
| 962 | projectIds: [ |
| 963 | pullRequestId: ID |
| 964 | state: PullRequestUpdateState |
| 965 | title: String |
| 966 | } |
| 967 | |
| 968 | type UpdatePullRequestPayload { |
| 969 | clientMutationId: String |
| 970 | pullRequest: PullRequest |
| 971 | } |
| 972 | |
| 973 | type User implements |
| 974 | avatarUrl: URI |
| 975 | createdAt: DateTime |
| 976 | databaseId: Int |
| 977 | id: ID |
| 978 | login: String |
| 979 | name: String |
| 980 | repository(name |
| 981 | resourcePath: URI |
| 982 | url: URI |
| 983 | } |
| 984 | |
| 985 | type UserConnection { |
| 986 | nodes: [ |
| 987 | pageInfo: PageInfo |
| 988 | totalCount: Int |
| 989 | } |
| 990 | |
| 991 | type Workflow implements |
| 992 | id: ID |
| 993 | name: String |
| 994 | } |
| 995 | |
| 996 | type WorkflowRun implements |
| 997 | id: ID |
| 998 | workflow: Workflow |
| 999 | } |