зеркало из https://github.com/github/docs.git
GraphQL schema update (#35952)
Co-authored-by: rachmari <rachmari@users.noreply.github.com>
This commit is contained in:
Родитель
9736fb7e36
Коммит
89d3f2e60b
|
@ -640,6 +640,11 @@ input AddPullRequestReviewThreadInput {
|
|||
The side of the diff on which the start line resides.
|
||||
"""
|
||||
startSide: DiffSide = RIGHT
|
||||
|
||||
"""
|
||||
The level at which the comments in the corresponding thread are targeted, can be a diff line or a file
|
||||
"""
|
||||
subjectType: PullRequestReviewThreadSubjectType = LINE
|
||||
}
|
||||
|
||||
"""
|
||||
|
@ -27909,6 +27914,11 @@ type PullRequestReviewComment implements Comment & Deletable & Minimizable & Nod
|
|||
"""
|
||||
state: PullRequestReviewCommentState!
|
||||
|
||||
"""
|
||||
The level at which the comments in the corresponding thread are targeted, can be a diff line or a file
|
||||
"""
|
||||
subjectType: PullRequestReviewThreadSubjectType!
|
||||
|
||||
"""
|
||||
Identifies when the comment was last updated.
|
||||
"""
|
||||
|
@ -28285,6 +28295,11 @@ type PullRequestReviewThread implements Node {
|
|||
"""
|
||||
startLine: Int
|
||||
|
||||
"""
|
||||
The level at which the comments in the corresponding thread are targeted, can be a diff line or a file
|
||||
"""
|
||||
subjectType: PullRequestReviewThreadSubjectType!
|
||||
|
||||
"""
|
||||
Indicates whether the current viewer can reply to this thread.
|
||||
"""
|
||||
|
@ -28341,6 +28356,21 @@ type PullRequestReviewThreadEdge {
|
|||
node: PullRequestReviewThread
|
||||
}
|
||||
|
||||
"""
|
||||
The possible subject types of a pull request review comment.
|
||||
"""
|
||||
enum PullRequestReviewThreadSubjectType {
|
||||
"""
|
||||
A comment that has been made against the file of a pull request
|
||||
"""
|
||||
FILE
|
||||
|
||||
"""
|
||||
A comment that has been made against the line of a pull request
|
||||
"""
|
||||
LINE
|
||||
}
|
||||
|
||||
"""
|
||||
Represents the latest point in the pull request timeline for which the viewer has seen the pull request's commits.
|
||||
"""
|
||||
|
|
|
@ -807,6 +807,11 @@ input AddPullRequestReviewThreadInput {
|
|||
The side of the diff on which the start line resides.
|
||||
"""
|
||||
startSide: DiffSide = RIGHT
|
||||
|
||||
"""
|
||||
The level at which the comments in the corresponding thread are targeted, can be a diff line or a file
|
||||
"""
|
||||
subjectType: PullRequestReviewThreadSubjectType = LINE
|
||||
}
|
||||
|
||||
"""
|
||||
|
@ -34239,6 +34244,11 @@ type PullRequestReviewComment implements Comment & Deletable & Minimizable & Nod
|
|||
"""
|
||||
state: PullRequestReviewCommentState!
|
||||
|
||||
"""
|
||||
The level at which the comments in the corresponding thread are targeted, can be a diff line or a file
|
||||
"""
|
||||
subjectType: PullRequestReviewThreadSubjectType!
|
||||
|
||||
"""
|
||||
Identifies when the comment was last updated.
|
||||
"""
|
||||
|
@ -34615,6 +34625,11 @@ type PullRequestReviewThread implements Node {
|
|||
"""
|
||||
startLine: Int
|
||||
|
||||
"""
|
||||
The level at which the comments in the corresponding thread are targeted, can be a diff line or a file
|
||||
"""
|
||||
subjectType: PullRequestReviewThreadSubjectType!
|
||||
|
||||
"""
|
||||
Indicates whether the current viewer can reply to this thread.
|
||||
"""
|
||||
|
@ -34671,6 +34686,21 @@ type PullRequestReviewThreadEdge {
|
|||
node: PullRequestReviewThread
|
||||
}
|
||||
|
||||
"""
|
||||
The possible subject types of a pull request review comment.
|
||||
"""
|
||||
enum PullRequestReviewThreadSubjectType {
|
||||
"""
|
||||
A comment that has been made against the file of a pull request
|
||||
"""
|
||||
FILE
|
||||
|
||||
"""
|
||||
A comment that has been made against the line of a pull request
|
||||
"""
|
||||
LINE
|
||||
}
|
||||
|
||||
"""
|
||||
Represents the latest point in the pull request timeline for which the viewer has seen the pull request's commits.
|
||||
"""
|
||||
|
|
|
@ -807,6 +807,11 @@ input AddPullRequestReviewThreadInput {
|
|||
The side of the diff on which the start line resides.
|
||||
"""
|
||||
startSide: DiffSide = RIGHT
|
||||
|
||||
"""
|
||||
The level at which the comments in the corresponding thread are targeted, can be a diff line or a file
|
||||
"""
|
||||
subjectType: PullRequestReviewThreadSubjectType = LINE
|
||||
}
|
||||
|
||||
"""
|
||||
|
@ -34239,6 +34244,11 @@ type PullRequestReviewComment implements Comment & Deletable & Minimizable & Nod
|
|||
"""
|
||||
state: PullRequestReviewCommentState!
|
||||
|
||||
"""
|
||||
The level at which the comments in the corresponding thread are targeted, can be a diff line or a file
|
||||
"""
|
||||
subjectType: PullRequestReviewThreadSubjectType!
|
||||
|
||||
"""
|
||||
Identifies when the comment was last updated.
|
||||
"""
|
||||
|
@ -34615,6 +34625,11 @@ type PullRequestReviewThread implements Node {
|
|||
"""
|
||||
startLine: Int
|
||||
|
||||
"""
|
||||
The level at which the comments in the corresponding thread are targeted, can be a diff line or a file
|
||||
"""
|
||||
subjectType: PullRequestReviewThreadSubjectType!
|
||||
|
||||
"""
|
||||
Indicates whether the current viewer can reply to this thread.
|
||||
"""
|
||||
|
@ -34671,6 +34686,21 @@ type PullRequestReviewThreadEdge {
|
|||
node: PullRequestReviewThread
|
||||
}
|
||||
|
||||
"""
|
||||
The possible subject types of a pull request review comment.
|
||||
"""
|
||||
enum PullRequestReviewThreadSubjectType {
|
||||
"""
|
||||
A comment that has been made against the file of a pull request
|
||||
"""
|
||||
FILE
|
||||
|
||||
"""
|
||||
A comment that has been made against the line of a pull request
|
||||
"""
|
||||
LINE
|
||||
}
|
||||
|
||||
"""
|
||||
Represents the latest point in the pull request timeline for which the viewer has seen the pull request's commits.
|
||||
"""
|
||||
|
|
|
@ -1,4 +1,20 @@
|
|||
[
|
||||
{
|
||||
"schemaChanges": [
|
||||
{
|
||||
"title": "The GraphQL schema includes these changes:",
|
||||
"changes": [
|
||||
"<p>Type <code>PullRequestReviewThreadSubjectType</code> was added</p>",
|
||||
"<p>Input field <code>subjectType</code> was added to input object type <code>AddPullRequestReviewThreadInput</code></p>",
|
||||
"<p>Field <code>subjectType</code> was added to object type <code>PullRequestReviewComment</code></p>",
|
||||
"<p>Field <code>subjectType</code> was added to object type <code>PullRequestReviewThread</code></p>"
|
||||
]
|
||||
}
|
||||
],
|
||||
"previewChanges": [],
|
||||
"upcomingChanges": [],
|
||||
"date": "2023-03-28"
|
||||
},
|
||||
{
|
||||
"schemaChanges": [
|
||||
{
|
||||
|
|
|
@ -48552,6 +48552,14 @@
|
|||
"kind": "enums",
|
||||
"href": "/graphql/reference/enums#pullrequestreviewcommentstate"
|
||||
},
|
||||
{
|
||||
"name": "subjectType",
|
||||
"description": "<p>The level at which the comments in the corresponding thread are targeted, can be a diff line or a file.</p>",
|
||||
"type": "PullRequestReviewThreadSubjectType!",
|
||||
"id": "pullrequestreviewthreadsubjecttype",
|
||||
"kind": "enums",
|
||||
"href": "/graphql/reference/enums#pullrequestreviewthreadsubjecttype"
|
||||
},
|
||||
{
|
||||
"name": "updatedAt",
|
||||
"description": "<p>Identifies when the comment was last updated.</p>",
|
||||
|
@ -49055,6 +49063,14 @@
|
|||
"kind": "scalars",
|
||||
"href": "/graphql/reference/scalars#int"
|
||||
},
|
||||
{
|
||||
"name": "subjectType",
|
||||
"description": "<p>The level at which the comments in the corresponding thread are targeted, can be a diff line or a file.</p>",
|
||||
"type": "PullRequestReviewThreadSubjectType!",
|
||||
"id": "pullrequestreviewthreadsubjecttype",
|
||||
"kind": "enums",
|
||||
"href": "/graphql/reference/enums#pullrequestreviewthreadsubjecttype"
|
||||
},
|
||||
{
|
||||
"name": "viewerCanReply",
|
||||
"description": "<p>Indicates whether the current viewer can reply to this thread.</p>",
|
||||
|
@ -78463,6 +78479,23 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "PullRequestReviewThreadSubjectType",
|
||||
"kind": "enums",
|
||||
"id": "pullrequestreviewthreadsubjecttype",
|
||||
"href": "/graphql/reference/enums#pullrequestreviewthreadsubjecttype",
|
||||
"description": "<p>The possible subject types of a pull request review comment.</p>",
|
||||
"values": [
|
||||
{
|
||||
"name": "FILE",
|
||||
"description": "<p>A comment that has been made against the file of a pull request.</p>"
|
||||
},
|
||||
{
|
||||
"name": "LINE",
|
||||
"description": "<p>A comment that has been made against the line of a pull request.</p>"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "PullRequestState",
|
||||
"kind": "enums",
|
||||
|
@ -83834,6 +83867,14 @@
|
|||
"id": "diffside",
|
||||
"kind": "enums",
|
||||
"href": "/graphql/reference/enums#diffside"
|
||||
},
|
||||
{
|
||||
"name": "subjectType",
|
||||
"description": "<p>The level at which the comments in the corresponding thread are targeted, can be a diff line or a file.</p>",
|
||||
"type": "PullRequestReviewThreadSubjectType",
|
||||
"id": "pullrequestreviewthreadsubjecttype",
|
||||
"kind": "enums",
|
||||
"href": "/graphql/reference/enums#pullrequestreviewthreadsubjecttype"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
|
@ -39774,6 +39774,14 @@
|
|||
"kind": "enums",
|
||||
"href": "/graphql/reference/enums#pullrequestreviewcommentstate"
|
||||
},
|
||||
{
|
||||
"name": "subjectType",
|
||||
"description": "<p>The level at which the comments in the corresponding thread are targeted, can be a diff line or a file.</p>",
|
||||
"type": "PullRequestReviewThreadSubjectType!",
|
||||
"id": "pullrequestreviewthreadsubjecttype",
|
||||
"kind": "enums",
|
||||
"href": "/graphql/reference/enums#pullrequestreviewthreadsubjecttype"
|
||||
},
|
||||
{
|
||||
"name": "updatedAt",
|
||||
"description": "<p>Identifies when the comment was last updated.</p>",
|
||||
|
@ -40277,6 +40285,14 @@
|
|||
"kind": "scalars",
|
||||
"href": "/graphql/reference/scalars#int"
|
||||
},
|
||||
{
|
||||
"name": "subjectType",
|
||||
"description": "<p>The level at which the comments in the corresponding thread are targeted, can be a diff line or a file.</p>",
|
||||
"type": "PullRequestReviewThreadSubjectType!",
|
||||
"id": "pullrequestreviewthreadsubjecttype",
|
||||
"kind": "enums",
|
||||
"href": "/graphql/reference/enums#pullrequestreviewthreadsubjecttype"
|
||||
},
|
||||
{
|
||||
"name": "viewerCanReply",
|
||||
"description": "<p>Indicates whether the current viewer can reply to this thread.</p>",
|
||||
|
@ -65312,6 +65328,23 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "PullRequestReviewThreadSubjectType",
|
||||
"kind": "enums",
|
||||
"id": "pullrequestreviewthreadsubjecttype",
|
||||
"href": "/graphql/reference/enums#pullrequestreviewthreadsubjecttype",
|
||||
"description": "<p>The possible subject types of a pull request review comment.</p>",
|
||||
"values": [
|
||||
{
|
||||
"name": "FILE",
|
||||
"description": "<p>A comment that has been made against the file of a pull request.</p>"
|
||||
},
|
||||
{
|
||||
"name": "LINE",
|
||||
"description": "<p>A comment that has been made against the line of a pull request.</p>"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "PullRequestState",
|
||||
"kind": "enums",
|
||||
|
@ -68922,6 +68955,14 @@
|
|||
"id": "diffside",
|
||||
"kind": "enums",
|
||||
"href": "/graphql/reference/enums#diffside"
|
||||
},
|
||||
{
|
||||
"name": "subjectType",
|
||||
"description": "<p>The level at which the comments in the corresponding thread are targeted, can be a diff line or a file.</p>",
|
||||
"type": "PullRequestReviewThreadSubjectType",
|
||||
"id": "pullrequestreviewthreadsubjecttype",
|
||||
"kind": "enums",
|
||||
"href": "/graphql/reference/enums#pullrequestreviewthreadsubjecttype"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
|
@ -48552,6 +48552,14 @@
|
|||
"kind": "enums",
|
||||
"href": "/graphql/reference/enums#pullrequestreviewcommentstate"
|
||||
},
|
||||
{
|
||||
"name": "subjectType",
|
||||
"description": "<p>The level at which the comments in the corresponding thread are targeted, can be a diff line or a file.</p>",
|
||||
"type": "PullRequestReviewThreadSubjectType!",
|
||||
"id": "pullrequestreviewthreadsubjecttype",
|
||||
"kind": "enums",
|
||||
"href": "/graphql/reference/enums#pullrequestreviewthreadsubjecttype"
|
||||
},
|
||||
{
|
||||
"name": "updatedAt",
|
||||
"description": "<p>Identifies when the comment was last updated.</p>",
|
||||
|
@ -49055,6 +49063,14 @@
|
|||
"kind": "scalars",
|
||||
"href": "/graphql/reference/scalars#int"
|
||||
},
|
||||
{
|
||||
"name": "subjectType",
|
||||
"description": "<p>The level at which the comments in the corresponding thread are targeted, can be a diff line or a file.</p>",
|
||||
"type": "PullRequestReviewThreadSubjectType!",
|
||||
"id": "pullrequestreviewthreadsubjecttype",
|
||||
"kind": "enums",
|
||||
"href": "/graphql/reference/enums#pullrequestreviewthreadsubjecttype"
|
||||
},
|
||||
{
|
||||
"name": "viewerCanReply",
|
||||
"description": "<p>Indicates whether the current viewer can reply to this thread.</p>",
|
||||
|
@ -78463,6 +78479,23 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "PullRequestReviewThreadSubjectType",
|
||||
"kind": "enums",
|
||||
"id": "pullrequestreviewthreadsubjecttype",
|
||||
"href": "/graphql/reference/enums#pullrequestreviewthreadsubjecttype",
|
||||
"description": "<p>The possible subject types of a pull request review comment.</p>",
|
||||
"values": [
|
||||
{
|
||||
"name": "FILE",
|
||||
"description": "<p>A comment that has been made against the file of a pull request.</p>"
|
||||
},
|
||||
{
|
||||
"name": "LINE",
|
||||
"description": "<p>A comment that has been made against the line of a pull request.</p>"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "PullRequestState",
|
||||
"kind": "enums",
|
||||
|
@ -83834,6 +83867,14 @@
|
|||
"id": "diffside",
|
||||
"kind": "enums",
|
||||
"href": "/graphql/reference/enums#diffside"
|
||||
},
|
||||
{
|
||||
"name": "subjectType",
|
||||
"description": "<p>The level at which the comments in the corresponding thread are targeted, can be a diff line or a file.</p>",
|
||||
"type": "PullRequestReviewThreadSubjectType",
|
||||
"id": "pullrequestreviewthreadsubjecttype",
|
||||
"kind": "enums",
|
||||
"href": "/graphql/reference/enums#pullrequestreviewthreadsubjecttype"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
Загрузка…
Ссылка в новой задаче