Skip to content

Commit 74a142e

Browse files
Octomergerrachmari
andauthored
GraphQL schema update (github#33132)
Co-authored-by: rachmari <[email protected]>
1 parent 4a98ce2 commit 74a142e

11 files changed

+122
-34
lines changed

data/graphql/ghae/graphql_previews.ghae.yml

+16
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,22 @@
5353
- UpdateRefsPayload
5454
owning_teams:
5555
- '@github/reponauts'
56+
- title: Access to a Repository's Dependency Graph
57+
description: This preview adds support for reading a dependency graph for a repository.
58+
toggled_by: ':hawkgirl-preview'
59+
announcement: null
60+
updates: null
61+
toggled_on:
62+
- DependencyGraphManifest
63+
- Repository.dependencyGraphManifests
64+
- DependencyGraphManifestEdge
65+
- DependencyGraphManifestConnection
66+
- DependencyGraphDependency
67+
- DependencyGraphDependencyEdge
68+
- DependencyGraphDependencyConnection
69+
- DependencyGraphPackageRelease.dependencies
70+
owning_teams:
71+
- '@github/dependency-graph'
5672
- title: Project Event Details
5773
description: >-
5874
This preview adds project, project card, and project column details to

data/graphql/ghae/schema.docs-ghae.graphql

+5
Original file line numberDiff line numberDiff line change
@@ -26030,6 +26030,11 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab
2603026030
"""
2603126031
titleHTML: HTML!
2603226032

26033+
"""
26034+
Returns a count of how many comments this pull request has received.
26035+
"""
26036+
totalCommentsCount: Int
26037+
2603326038
"""
2603426039
Identifies the date and time when the object was last updated.
2603526040
"""

data/graphql/ghec/graphql_previews.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
- UpdateRefsPayload
5454
owning_teams:
5555
- '@github/reponauts'
56-
- title: Access to a Repositories Dependency Graph
56+
- title: Access to a Repository's Dependency Graph
5757
description: This preview adds support for reading a dependency graph for a repository.
5858
toggled_by: ':hawkgirl-preview'
5959
announcement: null

data/graphql/ghec/schema.docs.graphql

+5
Original file line numberDiff line numberDiff line change
@@ -33408,6 +33408,11 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab
3340833408
"""
3340933409
titleHTML: HTML!
3341033410

33411+
"""
33412+
Returns a count of how many comments this pull request has received.
33413+
"""
33414+
totalCommentsCount: Int
33415+
3341133416
"""
3341233417
Identifies the date and time when the object was last updated.
3341333418
"""

data/graphql/graphql_previews.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
- UpdateRefsPayload
5454
owning_teams:
5555
- '@github/reponauts'
56-
- title: Access to a Repositories Dependency Graph
56+
- title: Access to a Repository's Dependency Graph
5757
description: This preview adds support for reading a dependency graph for a repository.
5858
toggled_by: ':hawkgirl-preview'
5959
announcement: null

data/graphql/schema.docs.graphql

+5
Original file line numberDiff line numberDiff line change
@@ -33408,6 +33408,11 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab
3340833408
"""
3340933409
titleHTML: HTML!
3341033410

33411+
"""
33412+
Returns a count of how many comments this pull request has received.
33413+
"""
33414+
totalCommentsCount: Int
33415+
3341133416
"""
3341233417
Identifies the date and time when the object was last updated.
3341333418
"""

lib/graphql/static/changelog.json

+13
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,17 @@
11
[
2+
{
3+
"schemaChanges": [
4+
{
5+
"title": "The GraphQL schema includes these changes:",
6+
"changes": [
7+
"<p>Field <code>totalCommentsCount</code> was added to object type <code>PullRequest</code></p>"
8+
]
9+
}
10+
],
11+
"previewChanges": [],
12+
"upcomingChanges": [],
13+
"date": "2022-12-01"
14+
},
215
{
316
"schemaChanges": [
417
{

lib/graphql/static/previews.json

+24-4
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
"href": "/graphql/overview/schema-previews#update-refs-preview"
5959
},
6060
{
61-
"title": "Access to a repositories dependency graph preview",
61+
"title": "Access to a repository s dependency graph preview",
6262
"description": "This preview adds support for reading a dependency graph for a repository.",
6363
"toggled_by": "hawkgirl-preview",
6464
"toggled_on": [
@@ -75,7 +75,7 @@
7575
"@github/dependency-graph"
7676
],
7777
"accept_header": "application/vnd.github.hawkgirl-preview+json",
78-
"href": "/graphql/overview/schema-previews#access-to-a-repositories-dependency-graph-preview"
78+
"href": "/graphql/overview/schema-previews#access-to-a-repository-s-dependency-graph-preview"
7979
},
8080
{
8181
"title": "Project event details preview",
@@ -207,7 +207,7 @@
207207
"href": "/graphql/overview/schema-previews#update-refs-preview"
208208
},
209209
{
210-
"title": "Access to a repositories dependency graph preview",
210+
"title": "Access to a repository s dependency graph preview",
211211
"description": "This preview adds support for reading a dependency graph for a repository.",
212212
"toggled_by": "hawkgirl-preview",
213213
"toggled_on": [
@@ -224,7 +224,7 @@
224224
"@github/dependency-graph"
225225
],
226226
"accept_header": "application/vnd.github.hawkgirl-preview+json",
227-
"href": "/graphql/overview/schema-previews#access-to-a-repositories-dependency-graph-preview"
227+
"href": "/graphql/overview/schema-previews#access-to-a-repository-s-dependency-graph-preview"
228228
},
229229
{
230230
"title": "Project event details preview",
@@ -1013,6 +1013,26 @@
10131013
"accept_header": "application/vnd.github.update-refs-preview+json",
10141014
"href": "/graphql/overview/schema-previews#update-refs-preview"
10151015
},
1016+
{
1017+
"title": "Access to a repository s dependency graph preview",
1018+
"description": "This preview adds support for reading a dependency graph for a repository.",
1019+
"toggled_by": "hawkgirl-preview",
1020+
"toggled_on": [
1021+
"DependencyGraphManifest",
1022+
"Repository.dependencyGraphManifests",
1023+
"DependencyGraphManifestEdge",
1024+
"DependencyGraphManifestConnection",
1025+
"DependencyGraphDependency",
1026+
"DependencyGraphDependencyEdge",
1027+
"DependencyGraphDependencyConnection",
1028+
"DependencyGraphPackageRelease.dependencies"
1029+
],
1030+
"owning_teams": [
1031+
"@github/dependency-graph"
1032+
],
1033+
"accept_header": "application/vnd.github.hawkgirl-preview+json",
1034+
"href": "/graphql/overview/schema-previews#access-to-a-repository-s-dependency-graph-preview"
1035+
},
10161036
{
10171037
"title": "Project event details preview",
10181038
"description": "This preview adds project, project card, and project column details to project-related issue events.",

lib/graphql/static/schema-dotcom.json

+22-14
Original file line numberDiff line numberDiff line change
@@ -15774,7 +15774,7 @@
1577415774
"description": "<p>A dependency manifest entry.</p>",
1577515775
"isDeprecated": false,
1577615776
"preview": {
15777-
"title": "Access to a repositories dependency graph preview",
15777+
"title": "Access to a repository s dependency graph preview",
1577815778
"description": "This preview adds support for reading a dependency graph for a repository.",
1577915779
"toggled_by": "hawkgirl-preview",
1578015780
"toggled_on": [
@@ -15791,7 +15791,7 @@
1579115791
"@github/dependency-graph"
1579215792
],
1579315793
"accept_header": "application/vnd.github.hawkgirl-preview+json",
15794-
"href": "/graphql/overview/schema-previews#access-to-a-repositories-dependency-graph-preview"
15794+
"href": "/graphql/overview/schema-previews#access-to-a-repository-s-dependency-graph-preview"
1579515795
},
1579615796
"fields": [
1579715797
{
@@ -15854,7 +15854,7 @@
1585415854
"description": "<p>The connection type for DependencyGraphDependency.</p>",
1585515855
"isDeprecated": false,
1585615856
"preview": {
15857-
"title": "Access to a repositories dependency graph preview",
15857+
"title": "Access to a repository s dependency graph preview",
1585815858
"description": "This preview adds support for reading a dependency graph for a repository.",
1585915859
"toggled_by": "hawkgirl-preview",
1586015860
"toggled_on": [
@@ -15871,7 +15871,7 @@
1587115871
"@github/dependency-graph"
1587215872
],
1587315873
"accept_header": "application/vnd.github.hawkgirl-preview+json",
15874-
"href": "/graphql/overview/schema-previews#access-to-a-repositories-dependency-graph-preview"
15874+
"href": "/graphql/overview/schema-previews#access-to-a-repository-s-dependency-graph-preview"
1587515875
},
1587615876
"fields": [
1587715877
{
@@ -15916,7 +15916,7 @@
1591615916
"description": "<p>An edge in a connection.</p>",
1591715917
"isDeprecated": false,
1591815918
"preview": {
15919-
"title": "Access to a repositories dependency graph preview",
15919+
"title": "Access to a repository s dependency graph preview",
1592015920
"description": "This preview adds support for reading a dependency graph for a repository.",
1592115921
"toggled_by": "hawkgirl-preview",
1592215922
"toggled_on": [
@@ -15933,7 +15933,7 @@
1593315933
"@github/dependency-graph"
1593415934
],
1593515935
"accept_header": "application/vnd.github.hawkgirl-preview+json",
15936-
"href": "/graphql/overview/schema-previews#access-to-a-repositories-dependency-graph-preview"
15936+
"href": "/graphql/overview/schema-previews#access-to-a-repository-s-dependency-graph-preview"
1593715937
},
1593815938
"fields": [
1593915939
{
@@ -15962,7 +15962,7 @@
1596215962
"description": "<p>Dependency manifest for a repository.</p>",
1596315963
"isDeprecated": false,
1596415964
"preview": {
15965-
"title": "Access to a repositories dependency graph preview",
15965+
"title": "Access to a repository s dependency graph preview",
1596615966
"description": "This preview adds support for reading a dependency graph for a repository.",
1596715967
"toggled_by": "hawkgirl-preview",
1596815968
"toggled_on": [
@@ -15979,7 +15979,7 @@
1597915979
"@github/dependency-graph"
1598015980
],
1598115981
"accept_header": "application/vnd.github.hawkgirl-preview+json",
15982-
"href": "/graphql/overview/schema-previews#access-to-a-repositories-dependency-graph-preview"
15982+
"href": "/graphql/overview/schema-previews#access-to-a-repository-s-dependency-graph-preview"
1598315983
},
1598415984
"implements": [
1598515985
{
@@ -16097,7 +16097,7 @@
1609716097
"description": "<p>The connection type for DependencyGraphManifest.</p>",
1609816098
"isDeprecated": false,
1609916099
"preview": {
16100-
"title": "Access to a repositories dependency graph preview",
16100+
"title": "Access to a repository s dependency graph preview",
1610116101
"description": "This preview adds support for reading a dependency graph for a repository.",
1610216102
"toggled_by": "hawkgirl-preview",
1610316103
"toggled_on": [
@@ -16114,7 +16114,7 @@
1611416114
"@github/dependency-graph"
1611516115
],
1611616116
"accept_header": "application/vnd.github.hawkgirl-preview+json",
16117-
"href": "/graphql/overview/schema-previews#access-to-a-repositories-dependency-graph-preview"
16117+
"href": "/graphql/overview/schema-previews#access-to-a-repository-s-dependency-graph-preview"
1611816118
},
1611916119
"fields": [
1612016120
{
@@ -16159,7 +16159,7 @@
1615916159
"description": "<p>An edge in a connection.</p>",
1616016160
"isDeprecated": false,
1616116161
"preview": {
16162-
"title": "Access to a repositories dependency graph preview",
16162+
"title": "Access to a repository s dependency graph preview",
1616316163
"description": "This preview adds support for reading a dependency graph for a repository.",
1616416164
"toggled_by": "hawkgirl-preview",
1616516165
"toggled_on": [
@@ -16176,7 +16176,7 @@
1617616176
"@github/dependency-graph"
1617716177
],
1617816178
"accept_header": "application/vnd.github.hawkgirl-preview+json",
16179-
"href": "/graphql/overview/schema-previews#access-to-a-repositories-dependency-graph-preview"
16179+
"href": "/graphql/overview/schema-previews#access-to-a-repository-s-dependency-graph-preview"
1618016180
},
1618116181
"fields": [
1618216182
{
@@ -47217,6 +47217,14 @@
4721747217
"kind": "scalars",
4721847218
"href": "/graphql/reference/scalars#html"
4721947219
},
47220+
{
47221+
"name": "totalCommentsCount",
47222+
"description": "<p>Returns a count of how many comments this pull request has received.</p>",
47223+
"type": "Int",
47224+
"id": "int",
47225+
"kind": "scalars",
47226+
"href": "/graphql/reference/scalars#int"
47227+
},
4722047228
{
4722147229
"name": "updatedAt",
4722247230
"description": "<p>Identifies the date and time when the object was last updated.</p>",
@@ -56031,7 +56039,7 @@
5603156039
],
5603256040
"isDeprecated": false,
5603356041
"preview": {
56034-
"title": "Access to a repositories dependency graph preview",
56042+
"title": "Access to a repository s dependency graph preview",
5603556043
"description": "This preview adds support for reading a dependency graph for a repository.",
5603656044
"toggled_by": "hawkgirl-preview",
5603756045
"toggled_on": [
@@ -56048,7 +56056,7 @@
5604856056
"@github/dependency-graph"
5604956057
],
5605056058
"accept_header": "application/vnd.github.hawkgirl-preview+json",
56051-
"href": "/graphql/overview/schema-previews#access-to-a-repositories-dependency-graph-preview"
56059+
"href": "/graphql/overview/schema-previews#access-to-a-repository-s-dependency-graph-preview"
5605256060
}
5605356061
},
5605456062
{

lib/graphql/static/schema-ghae.json

+8
Original file line numberDiff line numberDiff line change
@@ -36855,6 +36855,14 @@
3685536855
"kind": "scalars",
3685636856
"href": "/graphql/reference/scalars#html"
3685736857
},
36858+
{
36859+
"name": "totalCommentsCount",
36860+
"description": "<p>Returns a count of how many comments this pull request has received.</p>",
36861+
"type": "Int",
36862+
"id": "int",
36863+
"kind": "scalars",
36864+
"href": "/graphql/reference/scalars#int"
36865+
},
3685836866
{
3685936867
"name": "updatedAt",
3686036868
"description": "<p>Identifies the date and time when the object was last updated.</p>",

0 commit comments

Comments
 (0)