@@ -600,6 +600,24 @@ type BaseRefChangedEvent implements Node {
600
600
id: ID!
601
601
}
602
602
603
+ """Represents a 'base_ref_deleted' event on a given pull request."""
604
+ type BaseRefDeletedEvent implements Node {
605
+ """Identifies the actor who performed the event."""
606
+ actor: Actor
607
+
608
+ """
609
+ Identifies the name of the Ref associated with the `base_ref_deleted` event.
610
+ """
611
+ baseRefName: String
612
+
613
+ """Identifies the date and time when the object was created."""
614
+ createdAt: DateTime!
615
+ id: ID!
616
+
617
+ """PullRequest referenced by event."""
618
+ pullRequest: PullRequest
619
+ }
620
+
603
621
"""Represents a 'base_ref_force_pushed' event on a given pull request."""
604
622
type BaseRefForcePushedEvent implements Node {
605
623
"""Identifies the actor who performed the event."""
@@ -1865,6 +1883,12 @@ type Commit implements Node & GitObject & Subscribable & UniformResourceLocatabl
1865
1883
last: Int
1866
1884
): DeploymentConnection
1867
1885
1886
+ """The tree entry representing the file located at the given path."""
1887
+ file(
1888
+ """The path for the file"""
1889
+ path: String!
1890
+ ): TreeEntry
1891
+
1868
1892
"""
1869
1893
The linear commit history starting from (and including) this commit, in the same order as `git log`.
1870
1894
"""
@@ -3333,6 +3357,11 @@ input CreateIssueInput {
3333
3357
"""An array of Node IDs for projects associated with this issue."""
3334
3358
projectIds: [ID!]
3335
3359
3360
+ """
3361
+ The name of an issue template in the repository, assigns labels and assignees from the template to the issue
3362
+ """
3363
+ issueTemplate: String
3364
+
3336
3365
"""A unique identifier for the client performing the mutation."""
3337
3366
clientMutationId: String
3338
3367
}
@@ -7477,6 +7506,21 @@ enum IssueState {
7477
7506
CLOSED
7478
7507
}
7479
7508
7509
+ """A repository issue template."""
7510
+ type IssueTemplate {
7511
+ """The template purpose."""
7512
+ about: String
7513
+
7514
+ """The suggested issue body."""
7515
+ body: String
7516
+
7517
+ """The template name."""
7518
+ name: String!
7519
+
7520
+ """The suggested issue title."""
7521
+ title: String
7522
+ }
7523
+
7480
7524
"""The connection type for IssueTimelineItem."""
7481
7525
type IssueTimelineConnection {
7482
7526
"""A list of edges."""
@@ -8376,6 +8420,27 @@ type MarketplaceListingEdge {
8376
8420
node: MarketplaceListing
8377
8421
}
8378
8422
8423
+ """Autogenerated input type of MarkFileAsViewed"""
8424
+ input MarkFileAsViewedInput {
8425
+ """The Node ID of the pull request."""
8426
+ pullRequestId: ID!
8427
+
8428
+ """The path of the file to mark as viewed"""
8429
+ path: String!
8430
+
8431
+ """A unique identifier for the client performing the mutation."""
8432
+ clientMutationId: String
8433
+ }
8434
+
8435
+ """Autogenerated return type of MarkFileAsViewed"""
8436
+ type MarkFileAsViewedPayload {
8437
+ """A unique identifier for the client performing the mutation."""
8438
+ clientMutationId: String
8439
+
8440
+ """The updated pull request."""
8441
+ pullRequest: PullRequest
8442
+ }
8443
+
8379
8444
"""Autogenerated input type of MarkPullRequestReadyForReview"""
8380
8445
input MarkPullRequestReadyForReviewInput {
8381
8446
"""ID of the pull request to be marked as ready for review."""
@@ -9202,6 +9267,9 @@ type Mutation {
9202
9267
"""Lock a lockable object"""
9203
9268
lockLockable(input: LockLockableInput!): LockLockablePayload
9204
9269
9270
+ """Mark a pull request file as viewed"""
9271
+ markFileAsViewed(input: MarkFileAsViewedInput!): MarkFileAsViewedPayload
9272
+
9205
9273
"""Marks a pull request ready for review."""
9206
9274
markPullRequestReadyForReview(input: MarkPullRequestReadyForReviewInput!): MarkPullRequestReadyForReviewPayload
9207
9275
@@ -9283,6 +9351,9 @@ type Mutation {
9283
9351
"""Unlock a lockable object"""
9284
9352
unlockLockable(input: UnlockLockableInput!): UnlockLockablePayload
9285
9353
9354
+ """Unmark a pull request file as viewed"""
9355
+ unmarkFileAsViewed(input: UnmarkFileAsViewedInput!): UnmarkFileAsViewedPayload
9356
+
9286
9357
"""Unmark an issue as a duplicate of another issue."""
9287
9358
unmarkIssueAsDuplicate(input: UnmarkIssueAsDuplicateInput!): UnmarkIssueAsDuplicatePayload
9288
9359
@@ -13601,6 +13672,45 @@ type PullRequest implements Node & Assignable & Closable & Comment & Updatable &
13601
13672
"""The moment the editor made the last edit"""
13602
13673
lastEditedAt: DateTime
13603
13674
13675
+ """A list of latest reviews per user associated with the pull request."""
13676
+ latestOpinionatedReviews(
13677
+ """Returns the elements in the list that come after the specified cursor."""
13678
+ after: String
13679
+
13680
+ """
13681
+ Returns the elements in the list that come before the specified cursor.
13682
+ """
13683
+ before: String
13684
+
13685
+ """Returns the first _n_ elements from the list."""
13686
+ first: Int
13687
+
13688
+ """Returns the last _n_ elements from the list."""
13689
+ last: Int
13690
+
13691
+ """Only return reviews from user who have write access to the repository"""
13692
+ writersOnly: Boolean = false
13693
+ ): PullRequestReviewConnection
13694
+
13695
+ """
13696
+ A list of latest reviews per user associated with the pull request that are not also pending review.
13697
+ """
13698
+ latestReviews(
13699
+ """Returns the elements in the list that come after the specified cursor."""
13700
+ after: String
13701
+
13702
+ """
13703
+ Returns the elements in the list that come before the specified cursor.
13704
+ """
13705
+ before: String
13706
+
13707
+ """Returns the first _n_ elements from the list."""
13708
+ first: Int
13709
+
13710
+ """Returns the last _n_ elements from the list."""
13711
+ last: Int
13712
+ ): PullRequestReviewConnection
13713
+
13604
13714
"""`true` if the pull request is locked"""
13605
13715
locked: Boolean!
13606
13716
@@ -13846,6 +13956,9 @@ type PullRequest implements Node & Assignable & Closable & Comment & Updatable &
13846
13956
"""Whether or not the viewer can apply suggestion."""
13847
13957
viewerCanApplySuggestion: Boolean!
13848
13958
13959
+ """Check if the viewer can restore the deleted head ref."""
13960
+ viewerCanDeleteHeadRef: Boolean!
13961
+
13849
13962
"""Can user react to this subject"""
13850
13963
viewerCanReact: Boolean!
13851
13964
@@ -14552,6 +14665,12 @@ type PullRequestReviewThread implements Node {
14552
14665
diffSide: DiffSide!
14553
14666
id: ID!
14554
14667
14668
+ """Whether or not the thread has been collapsed (outdated or resolved)"""
14669
+ isCollapsed: Boolean!
14670
+
14671
+ """Indicates whether this thread was outdated by newer changes."""
14672
+ isOutdated: Boolean!
14673
+
14555
14674
"""Whether this thread has been resolved"""
14556
14675
isResolved: Boolean!
14557
14676
@@ -14566,6 +14685,9 @@ type PullRequestReviewThread implements Node {
14566
14685
"""
14567
14686
originalStartLine: Int
14568
14687
14688
+ """Identifies the file path of this thread."""
14689
+ path: String!
14690
+
14569
14691
"""Identifies the pull request associated with this thread."""
14570
14692
pullRequest: PullRequest!
14571
14693
@@ -14585,6 +14707,9 @@ type PullRequestReviewThread implements Node {
14585
14707
"""
14586
14708
startLine: Int
14587
14709
14710
+ """Indicates whether the current viewer can reply to this thread."""
14711
+ viewerCanReply: Boolean!
14712
+
14588
14713
"""Whether or not the viewer can resolve this thread"""
14589
14714
viewerCanResolve: Boolean!
14590
14715
@@ -14658,7 +14783,7 @@ type PullRequestTimelineConnection {
14658
14783
}
14659
14784
14660
14785
"""An item in an pull request timeline"""
14661
- union PullRequestTimelineItem = AssignedEvent | BaseRefForcePushedEvent | ClosedEvent | Commit | CommitCommentThread | CrossReferencedEvent | DemilestonedEvent | DeployedEvent | DeploymentEnvironmentChangedEvent | HeadRefDeletedEvent | HeadRefForcePushedEvent | HeadRefRestoredEvent | IssueComment | LabeledEvent | LockedEvent | MergedEvent | MilestonedEvent | PullRequestReview | PullRequestReviewComment | PullRequestReviewThread | ReferencedEvent | RenamedTitleEvent | ReopenedEvent | ReviewDismissedEvent | ReviewRequestRemovedEvent | ReviewRequestedEvent | SubscribedEvent | UnassignedEvent | UnlabeledEvent | UnlockedEvent | UnsubscribedEvent | UserBlockedEvent
14786
+ union PullRequestTimelineItem = AssignedEvent | BaseRefDeletedEvent | BaseRefForcePushedEvent | ClosedEvent | Commit | CommitCommentThread | CrossReferencedEvent | DemilestonedEvent | DeployedEvent | DeploymentEnvironmentChangedEvent | HeadRefDeletedEvent | HeadRefForcePushedEvent | HeadRefRestoredEvent | IssueComment | LabeledEvent | LockedEvent | MergedEvent | MilestonedEvent | PullRequestReview | PullRequestReviewComment | PullRequestReviewThread | ReferencedEvent | RenamedTitleEvent | ReopenedEvent | ReviewDismissedEvent | ReviewRequestRemovedEvent | ReviewRequestedEvent | SubscribedEvent | UnassignedEvent | UnlabeledEvent | UnlockedEvent | UnsubscribedEvent | UserBlockedEvent
14662
14787
14663
14788
"""An edge in a connection."""
14664
14789
type PullRequestTimelineItemEdge {
@@ -14670,7 +14795,7 @@ type PullRequestTimelineItemEdge {
14670
14795
}
14671
14796
14672
14797
"""An item in a pull request timeline"""
14673
- union PullRequestTimelineItems = AddedToProjectEvent | AssignedEvent | AutomaticBaseChangeFailedEvent | AutomaticBaseChangeSucceededEvent | BaseRefChangedEvent | BaseRefForcePushedEvent | ClosedEvent | CommentDeletedEvent | ConnectedEvent | ConvertToDraftEvent | ConvertedNoteToIssueEvent | CrossReferencedEvent | DemilestonedEvent | DeployedEvent | DeploymentEnvironmentChangedEvent | DisconnectedEvent | HeadRefDeletedEvent | HeadRefForcePushedEvent | HeadRefRestoredEvent | IssueComment | LabeledEvent | LockedEvent | MarkedAsDuplicateEvent | MentionedEvent | MergedEvent | MilestonedEvent | MovedColumnsInProjectEvent | PinnedEvent | PullRequestCommit | PullRequestCommitCommentThread | PullRequestReview | PullRequestReviewThread | PullRequestRevisionMarker | ReadyForReviewEvent | ReferencedEvent | RemovedFromProjectEvent | RenamedTitleEvent | ReopenedEvent | ReviewDismissedEvent | ReviewRequestRemovedEvent | ReviewRequestedEvent | SubscribedEvent | TransferredEvent | UnassignedEvent | UnlabeledEvent | UnlockedEvent | UnmarkedAsDuplicateEvent | UnpinnedEvent | UnsubscribedEvent | UserBlockedEvent
14798
+ union PullRequestTimelineItems = AddedToProjectEvent | AssignedEvent | AutomaticBaseChangeFailedEvent | AutomaticBaseChangeSucceededEvent | BaseRefChangedEvent | BaseRefDeletedEvent | BaseRefForcePushedEvent | ClosedEvent | CommentDeletedEvent | ConnectedEvent | ConvertToDraftEvent | ConvertedNoteToIssueEvent | CrossReferencedEvent | DemilestonedEvent | DeployedEvent | DeploymentEnvironmentChangedEvent | DisconnectedEvent | HeadRefDeletedEvent | HeadRefForcePushedEvent | HeadRefRestoredEvent | IssueComment | LabeledEvent | LockedEvent | MarkedAsDuplicateEvent | MentionedEvent | MergedEvent | MilestonedEvent | MovedColumnsInProjectEvent | PinnedEvent | PullRequestCommit | PullRequestCommitCommentThread | PullRequestReview | PullRequestReviewThread | PullRequestRevisionMarker | ReadyForReviewEvent | ReferencedEvent | RemovedFromProjectEvent | RenamedTitleEvent | ReopenedEvent | ReviewDismissedEvent | ReviewRequestRemovedEvent | ReviewRequestedEvent | SubscribedEvent | TransferredEvent | UnassignedEvent | UnlabeledEvent | UnlockedEvent | UnmarkedAsDuplicateEvent | UnpinnedEvent | UnsubscribedEvent | UserBlockedEvent
14674
14799
14675
14800
"""The connection type for PullRequestTimelineItems."""
14676
14801
type PullRequestTimelineItemsConnection {
@@ -14746,6 +14871,9 @@ enum PullRequestTimelineItemsItemType {
14746
14871
"""Represents a 'base_ref_force_pushed' event on a given pull request."""
14747
14872
BASE_REF_FORCE_PUSHED_EVENT
14748
14873
14874
+ """Represents a 'base_ref_deleted' event on a given pull request."""
14875
+ BASE_REF_DELETED_EVENT
14876
+
14749
14877
"""Represents a 'deployed' event on a given pull request."""
14750
14878
DEPLOYED_EVENT
14751
14879
@@ -17608,6 +17736,9 @@ type Repository implements Node & ProjectOwner & PackageOwner & Subscribable & S
17608
17736
last: Int
17609
17737
): CommitCommentConnection!
17610
17738
17739
+ """Returns a list of contact links associated to the repository"""
17740
+ contactLinks: [RepositoryContactLink!]
17741
+
17611
17742
"""Identifies the date and time when the object was created."""
17612
17743
createdAt: DateTime!
17613
17744
@@ -17737,6 +17868,9 @@ type Repository implements Node & ProjectOwner & PackageOwner & Subscribable & S
17737
17868
"""Indicates if the repository is unmaintained."""
17738
17869
isArchived: Boolean!
17739
17870
17871
+ """Returns true if blank issue creation is allowed"""
17872
+ isBlankIssuesEnabled: Boolean!
17873
+
17740
17874
"""Returns whether or not this repository disabled."""
17741
17875
isDisabled: Boolean!
17742
17876
@@ -17755,6 +17889,9 @@ type Repository implements Node & ProjectOwner & PackageOwner & Subscribable & S
17755
17889
"""Identifies if the repository is private."""
17756
17890
isPrivate: Boolean!
17757
17891
17892
+ """Returns true if this repository has a security policy"""
17893
+ isSecurityPolicyEnabled: Boolean
17894
+
17758
17895
"""
17759
17896
Identifies if the repository is a template that can be used to generate new repositories.
17760
17897
"""
@@ -17774,6 +17911,9 @@ type Repository implements Node & ProjectOwner & PackageOwner & Subscribable & S
17774
17911
number: Int!
17775
17912
): IssueOrPullRequest
17776
17913
17914
+ """Returns a list of issue templates associated to the repository"""
17915
+ issueTemplates: [IssueTemplate!]
17916
+
17777
17917
"""A list of issues that have been opened in the repository."""
17778
17918
issues(
17779
17919
"""Ordering options for issues returned from the connection."""
@@ -18142,6 +18282,9 @@ type Repository implements Node & ProjectOwner & PackageOwner & Subscribable & S
18142
18282
"""The HTTP path for this repository"""
18143
18283
resourcePath: URI!
18144
18284
18285
+ """The security policy URL."""
18286
+ securityPolicyUrl: URI
18287
+
18145
18288
"""
18146
18289
A description of the repository, rendered to HTML without any links in it.
18147
18290
"""
@@ -18371,6 +18514,18 @@ type RepositoryConnection {
18371
18514
totalDiskUsage: Int!
18372
18515
}
18373
18516
18517
+ """A repository contact link."""
18518
+ type RepositoryContactLink {
18519
+ """The contact link purpose."""
18520
+ about: String!
18521
+
18522
+ """The contact link name."""
18523
+ name: String!
18524
+
18525
+ """The contact link URL."""
18526
+ url: URI!
18527
+ }
18528
+
18374
18529
"""The reason a repository is listed as 'contributed'."""
18375
18530
enum RepositoryContributionType {
18376
18531
"""Created a commit"""
@@ -21778,6 +21933,12 @@ type Tree implements Node & GitObject {
21778
21933
21779
21934
"""Represents a Git tree entry."""
21780
21935
type TreeEntry {
21936
+ """The extension of the file"""
21937
+ extension: String
21938
+
21939
+ """Whether or not this tree entry is generated"""
21940
+ isGenerated: Boolean!
21941
+
21781
21942
"""Entry file mode."""
21782
21943
mode: Int!
21783
21944
@@ -21790,6 +21951,9 @@ type TreeEntry {
21790
21951
"""Entry file Git object ID."""
21791
21952
oid: GitObjectID!
21792
21953
21954
+ """The full path of the file."""
21955
+ path: String
21956
+
21793
21957
"""The Repository the tree entry belongs to"""
21794
21958
repository: Repository!
21795
21959
@@ -21978,6 +22142,27 @@ type UnmarkedAsDuplicateEvent implements Node {
21978
22142
id: ID!
21979
22143
}
21980
22144
22145
+ """Autogenerated input type of UnmarkFileAsViewed"""
22146
+ input UnmarkFileAsViewedInput {
22147
+ """The Node ID of the pull request."""
22148
+ pullRequestId: ID!
22149
+
22150
+ """The path of the file to mark as unviewed"""
22151
+ path: String!
22152
+
22153
+ """A unique identifier for the client performing the mutation."""
22154
+ clientMutationId: String
22155
+ }
22156
+
22157
+ """Autogenerated return type of UnmarkFileAsViewed"""
22158
+ type UnmarkFileAsViewedPayload {
22159
+ """A unique identifier for the client performing the mutation."""
22160
+ clientMutationId: String
22161
+
22162
+ """The updated pull request."""
22163
+ pullRequest: PullRequest
22164
+ }
22165
+
21981
22166
"""Autogenerated input type of UnmarkIssueAsDuplicate"""
21982
22167
input UnmarkIssueAsDuplicateInput {
21983
22168
"""ID of the issue or pull request currently marked as a duplicate."""
0 commit comments