Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit a1e5945

Browse files
authored
Merge pull request #2177 from atom/schema-update/1559782934969
GraphQL schema update
2 parents 7e7c414 + faa0aa9 commit a1e5945

20 files changed

+483
-693
lines changed

graphql/schema.graphql

Lines changed: 20 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -691,6 +691,9 @@ input ChangeUserStatusInput {
691691
"""
692692
limitedAvailability: Boolean = false
693693

694+
"""If set, the user status will not be shown after this date."""
695+
expiresAt: DateTime
696+
694697
"""A unique identifier for the client performing the mutation."""
695698
clientMutationId: String
696699
}
@@ -4488,26 +4491,6 @@ type Issue implements Node & Assignable & Closable & Comment & Updatable & Updat
44884491
"""Identifies the state of the issue."""
44894492
state: IssueState!
44904493

4491-
"""A list of events, comments, commits, etc. associated with the issue."""
4492-
timeline(
4493-
"""Allows filtering timeline events by a `since` timestamp."""
4494-
since: DateTime
4495-
4496-
"""Returns the elements in the list that come after the specified cursor."""
4497-
after: String
4498-
4499-
"""
4500-
Returns the elements in the list that come before the specified cursor.
4501-
"""
4502-
before: String
4503-
4504-
"""Returns the first _n_ elements from the list."""
4505-
first: Int
4506-
4507-
"""Returns the last _n_ elements from the list."""
4508-
last: Int
4509-
): IssueTimelineConnection!
4510-
45114494
"""A list of events, comments, commits, etc. associated with the issue."""
45124495
timelineItems(
45134496
"""Filter timeline items by a `since` timestamp."""
@@ -7403,7 +7386,9 @@ type PublicKey implements Node {
74037386
"""The last time this authorization was used to perform an action"""
74047387
accessedAt: DateTime
74057388

7406-
"""Identifies the date and time when the object was created."""
7389+
"""
7390+
Identifies the date and time when the key was created. Keys created before March 5th, 2014 have inaccurate values.
7391+
"""
74077392
createdAt: DateTime!
74087393

74097394
"""The fingerprint for this PublicKey"""
@@ -7416,7 +7401,9 @@ type PublicKey implements Node {
74167401
"""The public key string"""
74177402
key: String!
74187403

7419-
"""Identifies the date and time when the object was last updated."""
7404+
"""
7405+
Identifies the date and time when the key was updated. Keys created before March 5th, 2014 may have inaccurate values.
7406+
"""
74207407
updatedAt: DateTime!
74217408
}
74227409

@@ -7812,28 +7799,6 @@ type PullRequest implements Node & Assignable & Closable & Comment & Updatable &
78127799
"""
78137800
suggestedReviewers: [SuggestedReviewer]!
78147801

7815-
"""
7816-
A list of events, comments, commits, etc. associated with the pull request.
7817-
"""
7818-
timeline(
7819-
"""Allows filtering timeline events by a `since` timestamp."""
7820-
since: DateTime
7821-
7822-
"""Returns the elements in the list that come after the specified cursor."""
7823-
after: String
7824-
7825-
"""
7826-
Returns the elements in the list that come before the specified cursor.
7827-
"""
7828-
before: String
7829-
7830-
"""Returns the first _n_ elements from the list."""
7831-
first: Int
7832-
7833-
"""Returns the last _n_ elements from the list."""
7834-
last: Int
7835-
): PullRequestTimelineConnection!
7836-
78377802
"""
78387803
A list of events, comments, commits, etc. associated with the pull request.
78397804
"""
@@ -11648,6 +11613,14 @@ type Status implements Node {
1164811613

1164911614
"""Represents an individual commit status context"""
1165011615
type StatusContext implements Node {
11616+
"""
11617+
The avatar of the OAuth application or the user that created the status
11618+
"""
11619+
avatarUrl(
11620+
"""The size of the resulting square image."""
11621+
size: Int = 40
11622+
): URI
11623+
1165111624
"""This commit this status context is attached to."""
1165211625
commit: Commit
1165311626

@@ -13664,6 +13637,9 @@ type UserStatus implements Node {
1366413637
"""An emoji summarizing the user's status."""
1366513638
emoji: String
1366613639

13640+
"""If set, the status will not be shown after this date."""
13641+
expiresAt: DateTime
13642+
1366713643
"""ID of the object."""
1366813644
id: ID!
1366913645

0 commit comments

Comments
 (0)