Skip to content

Commit

Permalink
GraphQL schema update (github#34419)
Browse files Browse the repository at this point in the history
Co-authored-by: rachmari <rachmari@users.noreply.github.com>
  • Loading branch information
Octomerger and rachmari authored Feb 3, 2023
1 parent 9607205 commit 4d6b021
Show file tree
Hide file tree
Showing 7 changed files with 135 additions and 27 deletions.
20 changes: 15 additions & 5 deletions data/graphql/ghae/schema.docs-ghae.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -3403,7 +3403,7 @@ An object that can be closed
"""
interface Closable {
"""
`true` if the object is closed (definition of closed may depend on type)
Indicates if the object is closed (definition of closed may depend on type)
"""
closed: Boolean!

Expand Down Expand Up @@ -9054,7 +9054,7 @@ type DisconnectedEvent implements Node {
"""
A discussion in a repository.
"""
type Discussion implements Comment & Deletable & Labelable & Lockable & Node & Reactable & RepositoryNode & Subscribable & Updatable & Votable {
type Discussion implements Closable & Comment & Deletable & Labelable & Lockable & Node & Reactable & RepositoryNode & Subscribable & Updatable & Votable {
"""
Reason that the conversation was locked.
"""
Expand Down Expand Up @@ -9105,6 +9105,16 @@ type Discussion implements Comment & Deletable & Labelable & Lockable & Node & R
"""
category: DiscussionCategory!

"""
Indicates if the object is closed (definition of closed may depend on type)
"""
closed: Boolean!

"""
Identifies the date and time when the object was closed.
"""
closedAt: DateTime

"""
The replies to the discussion.
"""
Expand Down Expand Up @@ -14360,7 +14370,7 @@ type Issue implements Assignable & Closable & Comment & Labelable & Lockable & N
bodyUrl: URI!

"""
`true` if the object is closed (definition of closed may depend on type)
Indicates if the object is closed (definition of closed may depend on type)
"""
closed: Boolean!

Expand Down Expand Up @@ -17331,7 +17341,7 @@ Represents a Milestone object on a given repository.
"""
type Milestone implements Closable & Node & UniformResourceLocatable {
"""
`true` if the object is closed (definition of closed may depend on type)
Indicates if the object is closed (definition of closed may depend on type)
"""
closed: Boolean!

Expand Down Expand Up @@ -25131,7 +25141,7 @@ type Project implements Closable & Node & Updatable {
bodyHTML: HTML!

"""
`true` if the object is closed (definition of closed may depend on type)
Indicates if the object is closed (definition of closed may depend on type)
"""
closed: Boolean!

Expand Down
20 changes: 15 additions & 5 deletions data/graphql/ghec/schema.docs.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -3795,7 +3795,7 @@ An object that can be closed
"""
interface Closable {
"""
`true` if the object is closed (definition of closed may depend on type)
Indicates if the object is closed (definition of closed may depend on type)
"""
closed: Boolean!

Expand Down Expand Up @@ -9914,7 +9914,7 @@ type DisconnectedEvent implements Node {
"""
A discussion in a repository.
"""
type Discussion implements Comment & Deletable & Labelable & Lockable & Node & Reactable & RepositoryNode & Subscribable & Updatable & Votable {
type Discussion implements Closable & Comment & Deletable & Labelable & Lockable & Node & Reactable & RepositoryNode & Subscribable & Updatable & Votable {
"""
Reason that the conversation was locked.
"""
Expand Down Expand Up @@ -9965,6 +9965,16 @@ type Discussion implements Comment & Deletable & Labelable & Lockable & Node & R
"""
category: DiscussionCategory!

"""
Indicates if the object is closed (definition of closed may depend on type)
"""
closed: Boolean!

"""
Identifies the date and time when the object was closed.
"""
closedAt: DateTime

"""
The replies to the discussion.
"""
Expand Down Expand Up @@ -15835,7 +15845,7 @@ type Issue implements Assignable & Closable & Comment & Labelable & Lockable & N
bodyUrl: URI!

"""
`true` if the object is closed (definition of closed may depend on type)
Indicates if the object is closed (definition of closed may depend on type)
"""
closed: Boolean!

Expand Down Expand Up @@ -19395,7 +19405,7 @@ Represents a Milestone object on a given repository.
"""
type Milestone implements Closable & Node & UniformResourceLocatable {
"""
`true` if the object is closed (definition of closed may depend on type)
Indicates if the object is closed (definition of closed may depend on type)
"""
closed: Boolean!

Expand Down Expand Up @@ -28792,7 +28802,7 @@ type Project implements Closable & Node & Updatable {
bodyHTML: HTML!

"""
`true` if the object is closed (definition of closed may depend on type)
Indicates if the object is closed (definition of closed may depend on type)
"""
closed: Boolean!

Expand Down
20 changes: 15 additions & 5 deletions data/graphql/schema.docs.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -3795,7 +3795,7 @@ An object that can be closed
"""
interface Closable {
"""
`true` if the object is closed (definition of closed may depend on type)
Indicates if the object is closed (definition of closed may depend on type)
"""
closed: Boolean!

Expand Down Expand Up @@ -9914,7 +9914,7 @@ type DisconnectedEvent implements Node {
"""
A discussion in a repository.
"""
type Discussion implements Comment & Deletable & Labelable & Lockable & Node & Reactable & RepositoryNode & Subscribable & Updatable & Votable {
type Discussion implements Closable & Comment & Deletable & Labelable & Lockable & Node & Reactable & RepositoryNode & Subscribable & Updatable & Votable {
"""
Reason that the conversation was locked.
"""
Expand Down Expand Up @@ -9965,6 +9965,16 @@ type Discussion implements Comment & Deletable & Labelable & Lockable & Node & R
"""
category: DiscussionCategory!

"""
Indicates if the object is closed (definition of closed may depend on type)
"""
closed: Boolean!

"""
Identifies the date and time when the object was closed.
"""
closedAt: DateTime

"""
The replies to the discussion.
"""
Expand Down Expand Up @@ -15835,7 +15845,7 @@ type Issue implements Assignable & Closable & Comment & Labelable & Lockable & N
bodyUrl: URI!

"""
`true` if the object is closed (definition of closed may depend on type)
Indicates if the object is closed (definition of closed may depend on type)
"""
closed: Boolean!

Expand Down Expand Up @@ -19395,7 +19405,7 @@ Represents a Milestone object on a given repository.
"""
type Milestone implements Closable & Node & UniformResourceLocatable {
"""
`true` if the object is closed (definition of closed may depend on type)
Indicates if the object is closed (definition of closed may depend on type)
"""
closed: Boolean!

Expand Down Expand Up @@ -28792,7 +28802,7 @@ type Project implements Closable & Node & Updatable {
bodyHTML: HTML!

"""
`true` if the object is closed (definition of closed may depend on type)
Indicates if the object is closed (definition of closed may depend on type)
"""
closed: Boolean!

Expand Down
15 changes: 15 additions & 0 deletions lib/graphql/static/changelog.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,19 @@
[
{
"schemaChanges": [
{
"title": "The GraphQL schema includes these changes:",
"changes": [
"<p><code>Discussion</code> object implements <code>Closable</code> interface</p>",
"<p>Field <code>closed</code> was added to object type <code>Discussion</code></p>",
"<p>Field <code>closedAt</code> was added to object type <code>Discussion</code></p>"
]
}
],
"previewChanges": [],
"upcomingChanges": [],
"date": "2023-02-03"
},
{
"schemaChanges": [
{
Expand Down
29 changes: 25 additions & 4 deletions lib/graphql/static/schema-dotcom.json
Original file line number Diff line number Diff line change
Expand Up @@ -17528,6 +17528,11 @@
"href": "/graphql/reference/objects#discussion",
"description": "<p>A discussion in a repository.</p>",
"implements": [
{
"name": "Closable",
"id": "closable",
"href": "/graphql/reference/interfaces#closable"
},
{
"name": "Comment",
"id": "comment",
Expand Down Expand Up @@ -17660,6 +17665,22 @@
"kind": "objects",
"href": "/graphql/reference/objects#discussioncategory"
},
{
"name": "closed",
"description": "<p>Indicates if the object is closed (definition of closed may depend on type).</p>",
"type": "Boolean!",
"id": "boolean",
"kind": "scalars",
"href": "/graphql/reference/scalars#boolean"
},
{
"name": "closedAt",
"description": "<p>Identifies the date and time when the object was closed.</p>",
"type": "DateTime",
"id": "datetime",
"kind": "scalars",
"href": "/graphql/reference/scalars#datetime"
},
{
"name": "comments",
"description": "<p>The replies to the discussion.</p>",
Expand Down Expand Up @@ -25671,7 +25692,7 @@
},
{
"name": "closed",
"description": "<p><code>true</code> if the object is closed (definition of closed may depend on type).</p>",
"description": "<p>Indicates if the object is closed (definition of closed may depend on type).</p>",
"type": "Boolean!",
"id": "boolean",
"kind": "scalars",
Expand Down Expand Up @@ -29994,7 +30015,7 @@
"fields": [
{
"name": "closed",
"description": "<p><code>true</code> if the object is closed (definition of closed may depend on type).</p>",
"description": "<p>Indicates if the object is closed (definition of closed may depend on type).</p>",
"type": "Boolean!",
"id": "boolean",
"kind": "scalars",
Expand Down Expand Up @@ -40772,7 +40793,7 @@
},
{
"name": "closed",
"description": "<p><code>true</code> if the object is closed (definition of closed may depend on type).</p>",
"description": "<p>Indicates if the object is closed (definition of closed may depend on type).</p>",
"type": "Boolean!",
"id": "boolean",
"kind": "scalars",
Expand Down Expand Up @@ -71051,7 +71072,7 @@
"fields": [
{
"name": "closed",
"description": "<p><code>true</code> if the object is closed (definition of closed may depend on type).</p>",
"description": "<p>Indicates if the object is closed (definition of closed may depend on type).</p>",
"type": "Boolean!",
"id": "boolean",
"kind": "scalars",
Expand Down
29 changes: 25 additions & 4 deletions lib/graphql/static/schema-ghae.json
Original file line number Diff line number Diff line change
Expand Up @@ -15623,6 +15623,11 @@
"href": "/graphql/reference/objects#discussion",
"description": "<p>A discussion in a repository.</p>",
"implements": [
{
"name": "Closable",
"id": "closable",
"href": "/graphql/reference/interfaces#closable"
},
{
"name": "Comment",
"id": "comment",
Expand Down Expand Up @@ -15755,6 +15760,22 @@
"kind": "objects",
"href": "/graphql/reference/objects#discussioncategory"
},
{
"name": "closed",
"description": "<p>Indicates if the object is closed (definition of closed may depend on type).</p>",
"type": "Boolean!",
"id": "boolean",
"kind": "scalars",
"href": "/graphql/reference/scalars#boolean"
},
{
"name": "closedAt",
"description": "<p>Identifies the date and time when the object was closed.</p>",
"type": "DateTime",
"id": "datetime",
"kind": "scalars",
"href": "/graphql/reference/scalars#datetime"
},
{
"name": "comments",
"description": "<p>The replies to the discussion.</p>",
Expand Down Expand Up @@ -22951,7 +22972,7 @@
},
{
"name": "closed",
"description": "<p><code>true</code> if the object is closed (definition of closed may depend on type).</p>",
"description": "<p>Indicates if the object is closed (definition of closed may depend on type).</p>",
"type": "Boolean!",
"id": "boolean",
"kind": "scalars",
Expand Down Expand Up @@ -26388,7 +26409,7 @@
"fields": [
{
"name": "closed",
"description": "<p><code>true</code> if the object is closed (definition of closed may depend on type).</p>",
"description": "<p>Indicates if the object is closed (definition of closed may depend on type).</p>",
"type": "Boolean!",
"id": "boolean",
"kind": "scalars",
Expand Down Expand Up @@ -35449,7 +35470,7 @@
},
{
"name": "closed",
"description": "<p><code>true</code> if the object is closed (definition of closed may depend on type).</p>",
"description": "<p>Indicates if the object is closed (definition of closed may depend on type).</p>",
"type": "Boolean!",
"id": "boolean",
"kind": "scalars",
Expand Down Expand Up @@ -59856,7 +59877,7 @@
"fields": [
{
"name": "closed",
"description": "<p><code>true</code> if the object is closed (definition of closed may depend on type).</p>",
"description": "<p>Indicates if the object is closed (definition of closed may depend on type).</p>",
"type": "Boolean!",
"id": "boolean",
"kind": "scalars",
Expand Down
Loading

0 comments on commit 4d6b021

Please sign in to comment.