diff --git a/data/graphql/ghae/schema.docs-ghae.graphql b/data/graphql/ghae/schema.docs-ghae.graphql index 3d2d2ea8e8..d5970e8db8 100644 --- a/data/graphql/ghae/schema.docs-ghae.graphql +++ b/data/graphql/ghae/schema.docs-ghae.graphql @@ -27782,6 +27782,11 @@ type PullRequestReviewComment implements Comment & Deletable & Minimizable & Nod """ lastEditedAt: DateTime + """ + The end line number on the file to which the comment applies + """ + line: Int + """ Returns why the comment was minimized. One of `abuse`, `off-topic`, `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and @@ -27794,11 +27799,21 @@ type PullRequestReviewComment implements Comment & Deletable & Minimizable & Nod """ originalCommit: Commit + """ + The end line number on the file to which the comment applied when it was first created + """ + originalLine: Int + """ The original line index in the diff to which the comment applies. """ originalPosition: Int! + """ + The start line number on the file to which the comment applied when it was first created + """ + originalStartLine: Int + """ Identifies when the comment body is outdated """ @@ -27884,6 +27899,11 @@ type PullRequestReviewComment implements Comment & Deletable & Minimizable & Nod """ resourcePath: URI! + """ + The start line number on the file to which the comment applies + """ + startLine: Int + """ Identifies the state of the comment. """ diff --git a/data/graphql/ghec/schema.docs.graphql b/data/graphql/ghec/schema.docs.graphql index a999309ee7..a1b2f7f76e 100644 --- a/data/graphql/ghec/schema.docs.graphql +++ b/data/graphql/ghec/schema.docs.graphql @@ -34112,6 +34112,11 @@ type PullRequestReviewComment implements Comment & Deletable & Minimizable & Nod """ lastEditedAt: DateTime + """ + The end line number on the file to which the comment applies + """ + line: Int + """ Returns why the comment was minimized. One of `abuse`, `off-topic`, `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and @@ -34124,11 +34129,21 @@ type PullRequestReviewComment implements Comment & Deletable & Minimizable & Nod """ originalCommit: Commit + """ + The end line number on the file to which the comment applied when it was first created + """ + originalLine: Int + """ The original line index in the diff to which the comment applies. """ originalPosition: Int! + """ + The start line number on the file to which the comment applied when it was first created + """ + originalStartLine: Int + """ Identifies when the comment body is outdated """ @@ -34214,6 +34229,11 @@ type PullRequestReviewComment implements Comment & Deletable & Minimizable & Nod """ resourcePath: URI! + """ + The start line number on the file to which the comment applies + """ + startLine: Int + """ Identifies the state of the comment. """ diff --git a/data/graphql/schema.docs.graphql b/data/graphql/schema.docs.graphql index a999309ee7..a1b2f7f76e 100644 --- a/data/graphql/schema.docs.graphql +++ b/data/graphql/schema.docs.graphql @@ -34112,6 +34112,11 @@ type PullRequestReviewComment implements Comment & Deletable & Minimizable & Nod """ lastEditedAt: DateTime + """ + The end line number on the file to which the comment applies + """ + line: Int + """ Returns why the comment was minimized. One of `abuse`, `off-topic`, `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and @@ -34124,11 +34129,21 @@ type PullRequestReviewComment implements Comment & Deletable & Minimizable & Nod """ originalCommit: Commit + """ + The end line number on the file to which the comment applied when it was first created + """ + originalLine: Int + """ The original line index in the diff to which the comment applies. """ originalPosition: Int! + """ + The start line number on the file to which the comment applied when it was first created + """ + originalStartLine: Int + """ Identifies when the comment body is outdated """ @@ -34214,6 +34229,11 @@ type PullRequestReviewComment implements Comment & Deletable & Minimizable & Nod """ resourcePath: URI! + """ + The start line number on the file to which the comment applies + """ + startLine: Int + """ Identifies the state of the comment. """ diff --git a/src/graphql/data/dotcom/changelog.json b/src/graphql/data/dotcom/changelog.json index 1a11f65048..04977e426e 100644 --- a/src/graphql/data/dotcom/changelog.json +++ b/src/graphql/data/dotcom/changelog.json @@ -1,4 +1,20 @@ [ + { + "schemaChanges": [ + { + "title": "The GraphQL schema includes these changes:", + "changes": [ + "
Field line was added to object type PullRequestReviewComment
Field originalLine was added to object type PullRequestReviewComment
Field originalStartLine was added to object type PullRequestReviewComment
Field startLine was added to object type PullRequestReviewComment
The end line number on the file to which the comment applies.
", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + }, { "name": "minimizedReason", "description": "Returns why the comment was minimized. One of abuse, off-topic,\noutdated, resolved, duplicate and spam. Note that the case and\nformatting of these values differs from the inputs to the MinimizeComment mutation.
The end line number on the file to which the comment applied when it was first created.
", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + }, { "name": "originalPosition", "description": "The original line index in the diff to which the comment applies.
", @@ -48362,6 +48378,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#int" }, + { + "name": "originalStartLine", + "description": "The start line number on the file to which the comment applied when it was first created.
", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + }, { "name": "outdated", "description": "Identifies when the comment body is outdated.
", @@ -48512,6 +48536,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#uri" }, + { + "name": "startLine", + "description": "The start line number on the file to which the comment applies.
", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + }, { "name": "state", "description": "Identifies the state of the comment.
", diff --git a/src/graphql/data/ghae/schema.json b/src/graphql/data/ghae/schema.json index 5dd86c0106..d0e300175d 100644 --- a/src/graphql/data/ghae/schema.json +++ b/src/graphql/data/ghae/schema.json @@ -39560,6 +39560,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#datetime" }, + { + "name": "line", + "description": "The end line number on the file to which the comment applies.
", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + }, { "name": "minimizedReason", "description": "Returns why the comment was minimized. One of abuse, off-topic,\noutdated, resolved, duplicate and spam. Note that the case and\nformatting of these values differs from the inputs to the MinimizeComment mutation.
The end line number on the file to which the comment applied when it was first created.
", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + }, { "name": "originalPosition", "description": "The original line index in the diff to which the comment applies.
", @@ -39584,6 +39600,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#int" }, + { + "name": "originalStartLine", + "description": "The start line number on the file to which the comment applied when it was first created.
", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + }, { "name": "outdated", "description": "Identifies when the comment body is outdated.
", @@ -39734,6 +39758,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#uri" }, + { + "name": "startLine", + "description": "The start line number on the file to which the comment applies.
", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + }, { "name": "state", "description": "Identifies the state of the comment.
", diff --git a/src/graphql/data/ghec/schema.json b/src/graphql/data/ghec/schema.json index 3dfcc0b33e..25815a1b8f 100644 --- a/src/graphql/data/ghec/schema.json +++ b/src/graphql/data/ghec/schema.json @@ -48338,6 +48338,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#datetime" }, + { + "name": "line", + "description": "The end line number on the file to which the comment applies.
", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + }, { "name": "minimizedReason", "description": "Returns why the comment was minimized. One of abuse, off-topic,\noutdated, resolved, duplicate and spam. Note that the case and\nformatting of these values differs from the inputs to the MinimizeComment mutation.
The end line number on the file to which the comment applied when it was first created.
", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + }, { "name": "originalPosition", "description": "The original line index in the diff to which the comment applies.
", @@ -48362,6 +48378,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#int" }, + { + "name": "originalStartLine", + "description": "The start line number on the file to which the comment applied when it was first created.
", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + }, { "name": "outdated", "description": "Identifies when the comment body is outdated.
", @@ -48512,6 +48536,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#uri" }, + { + "name": "startLine", + "description": "The start line number on the file to which the comment applies.
", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + }, { "name": "state", "description": "Identifies the state of the comment.
",