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

Commit fb57194

Browse files
authored
Merge pull request #2566 from atom/schema-update/1605835329541
GraphQL schema update
2 parents c47ddbd + 35f4ae8 commit fb57194

File tree

1 file changed

+121
-4
lines changed

1 file changed

+121
-4
lines changed

graphql/schema.graphql

Lines changed: 121 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4169,6 +4169,9 @@ enum DeploymentState {
41694169

41704170
"""The deployment is in progress."""
41714171
IN_PROGRESS
4172+
4173+
"""The deployment is waiting."""
4174+
WAITING
41724175
}
41734176

41744177
"""Describes the status of a given deployment attempt."""
@@ -7085,6 +7088,9 @@ type Issue implements Node & Assignable & Closable & Comment & Updatable & Updat
70857088

70867089
"""A list of comments associated with the Issue."""
70877090
comments(
7091+
"""Ordering options for issue comments returned from the connection."""
7092+
orderBy: IssueCommentOrder
7093+
70887094
"""Returns the elements in the list that come after the specified cursor."""
70897095
after: String
70907096

@@ -7464,6 +7470,21 @@ type IssueCommentEdge {
74647470
node: IssueComment
74657471
}
74667472

7473+
"""Ways in which lists of issue comments can be ordered upon return."""
7474+
input IssueCommentOrder {
7475+
"""The field in which to order issue comments by."""
7476+
field: IssueCommentOrderField!
7477+
7478+
"""The direction in which to order issue comments by the specified field."""
7479+
direction: OrderDirection!
7480+
}
7481+
7482+
"""Properties by which issue comment connections can be ordered."""
7483+
enum IssueCommentOrderField {
7484+
"""Order issue comments by update time"""
7485+
UPDATED_AT
7486+
}
7487+
74677488
"""The connection type for Issue."""
74687489
type IssueConnection {
74697490
"""A list of edges."""
@@ -9898,8 +9919,14 @@ type Organization implements Node & Actor & PackageOwner & ProjectOwner & Reposi
98989919

98999920
"""The organization's public email."""
99009921
email: String
9922+
9923+
"""True if this user/organization has a GitHub Sponsors listing."""
9924+
hasSponsorsListing: Boolean!
99019925
id: ID!
99029926

9927+
"""The interaction ability settings for this organization."""
9928+
interactionAbility: RepositoryInteractionAbility
9929+
99039930
"""
99049931
The setting value for whether the organization has an IP allow list enabled.
99059932
"""
@@ -9927,6 +9954,9 @@ type Organization implements Node & Actor & PackageOwner & ProjectOwner & Reposi
99279954
orderBy: IpAllowListEntryOrder = {field: ALLOW_LIST_VALUE, direction: ASC}
99289955
): IpAllowListEntryConnection!
99299956

9957+
"""True if the viewer is sponsored by this user/organization."""
9958+
isSponsoringViewer: Boolean!
9959+
99309960
"""
99319961
Whether the organization has verified its profile email and website, always false on Enterprise.
99329962
"""
@@ -10193,7 +10223,7 @@ type Organization implements Node & Actor & PackageOwner & ProjectOwner & Reposi
1019310223
"""The Organization's SAML identity providers"""
1019410224
samlIdentityProvider: OrganizationIdentityProvider
1019510225

10196-
"""The GitHub Sponsors listing for this user."""
10226+
"""The GitHub Sponsors listing for this user or organization."""
1019710227
sponsorsListing: SponsorsListing
1019810228

1019910229
"""This object's sponsorships as the maintainer."""
@@ -10323,9 +10353,15 @@ type Organization implements Node & Actor & PackageOwner & ProjectOwner & Reposi
1032310353
"""Viewer can create teams on this organization."""
1032410354
viewerCanCreateTeams: Boolean!
1032510355

10356+
"""Whether or not the viewer is able to sponsor this user/organization."""
10357+
viewerCanSponsor: Boolean!
10358+
1032610359
"""Viewer is an active member of this organization."""
1032710360
viewerIsAMember: Boolean!
1032810361

10362+
"""True if the viewer is sponsoring this user/organization."""
10363+
viewerIsSponsoring: Boolean!
10364+
1032910365
"""The organization's public profile URL."""
1033010366
websiteUrl: URI
1033110367
}
@@ -13660,6 +13696,9 @@ type PullRequest implements Node & Assignable & Closable & Comment & Updatable &
1366013696

1366113697
"""A list of comments associated with the pull request."""
1366213698
comments(
13699+
"""Ordering options for issue comments returned from the connection."""
13700+
orderBy: IssueCommentOrder
13701+
1366313702
"""Returns the elements in the list that come after the specified cursor."""
1366413703
after: String
1366513704

@@ -18027,6 +18066,9 @@ type Repository implements Node & ProjectOwner & PackageOwner & Subscribable & S
1802718066
homepageUrl: URI
1802818067
id: ID!
1802918068

18069+
"""The interaction ability settings for this repository."""
18070+
interactionAbility: RepositoryInteractionAbility
18071+
1803018072
"""Indicates if the repository is unmaintained."""
1803118073
isArchived: Boolean!
1803218074

@@ -18822,6 +18864,51 @@ interface RepositoryInfo {
1882218864
usesCustomOpenGraphImage: Boolean!
1882318865
}
1882418866

18867+
"""Repository interaction limit that applies to this object."""
18868+
type RepositoryInteractionAbility {
18869+
"""The time the currently active limit expires."""
18870+
expiresAt: DateTime
18871+
18872+
"""The current limit that is enabled on this object."""
18873+
limit: RepositoryInteractionLimit!
18874+
18875+
"""The origin of the currently active interaction limit."""
18876+
origin: RepositoryInteractionLimitOrigin!
18877+
}
18878+
18879+
"""A repository interaction limit."""
18880+
enum RepositoryInteractionLimit {
18881+
"""
18882+
Users that have recently created their account will be unable to interact with the repository.
18883+
"""
18884+
EXISTING_USERS
18885+
18886+
"""
18887+
Users that have not previously committed to a repository’s default branch will be unable to interact with the repository.
18888+
"""
18889+
CONTRIBUTORS_ONLY
18890+
18891+
"""
18892+
Users that are not collaborators will not be able to interact with the repository.
18893+
"""
18894+
COLLABORATORS_ONLY
18895+
18896+
"""No interaction limits are enabled."""
18897+
NO_LIMIT
18898+
}
18899+
18900+
"""Indicates where an interaction limit is configured."""
18901+
enum RepositoryInteractionLimitOrigin {
18902+
"""A limit that is configured at the repository level."""
18903+
REPOSITORY
18904+
18905+
"""A limit that is configured at the organization level."""
18906+
ORGANIZATION
18907+
18908+
"""A limit that is configured at the user-wide level."""
18909+
USER
18910+
}
18911+
1882518912
"""An invitation for a user to be added to a repository."""
1882618913
type RepositoryInvitation implements Node {
1882718914
"""The email address that received the invitation."""
@@ -20051,7 +20138,13 @@ union Sponsor = Organization | User
2005120138

2005220139
"""Entities that can be sponsored through GitHub Sponsors"""
2005320140
interface Sponsorable {
20054-
"""The GitHub Sponsors listing for this user."""
20141+
"""True if this user/organization has a GitHub Sponsors listing."""
20142+
hasSponsorsListing: Boolean!
20143+
20144+
"""True if the viewer is sponsored by this user/organization."""
20145+
isSponsoringViewer: Boolean!
20146+
20147+
"""The GitHub Sponsors listing for this user or organization."""
2005520148
sponsorsListing: SponsorsListing
2005620149

2005720150
"""This object's sponsorships as the maintainer."""
@@ -20102,6 +20195,12 @@ interface Sponsorable {
2010220195
"""
2010320196
orderBy: SponsorshipOrder
2010420197
): SponsorshipConnection!
20198+
20199+
"""Whether or not the viewer is able to sponsor this user/organization."""
20200+
viewerCanSponsor: Boolean!
20201+
20202+
"""True if the viewer is sponsoring this user/organization."""
20203+
viewerIsSponsoring: Boolean!
2010520204
}
2010620205

2010720206
"""A sponsorship relationship between a sponsor and a maintainer"""
@@ -20114,7 +20213,7 @@ type Sponsorship implements Node {
2011420213
privacyLevel: SponsorshipPrivacy!
2011520214

2011620215
"""
20117-
The user or organization that is sponsoring. Returns null if the sponsorship is private.
20216+
The user or organization that is sponsoring, if you have permission to view them.
2011820217
"""
2011920218
sponsorEntity: Sponsor
2012020219

@@ -23779,13 +23878,19 @@ type User implements Node & Actor & PackageOwner & ProjectOwner & RepositoryOwne
2377923878
last: Int
2378023879
): GistConnection!
2378123880

23881+
"""True if this user/organization has a GitHub Sponsors listing."""
23882+
hasSponsorsListing: Boolean!
23883+
2378223884
"""The hovercard information for this user in a given context"""
2378323885
hovercard(
2378423886
"""The ID of the subject to get the hovercard in the context of"""
2378523887
primarySubjectId: ID
2378623888
): Hovercard!
2378723889
id: ID!
2378823890

23891+
"""The interaction ability settings for this user."""
23892+
interactionAbility: RepositoryInteractionAbility
23893+
2378923894
"""
2379023895
Whether or not this user is a participant in the GitHub Security Bug Bounty.
2379123896
"""
@@ -23808,11 +23913,17 @@ type User implements Node & Actor & PackageOwner & ProjectOwner & RepositoryOwne
2380823913
"""Whether or not this user is a site administrator."""
2380923914
isSiteAdmin: Boolean!
2381023915

23916+
"""True if the viewer is sponsored by this user/organization."""
23917+
isSponsoringViewer: Boolean!
23918+
2381123919
"""Whether or not this user is the viewing user."""
2381223920
isViewer: Boolean!
2381323921

2381423922
"""A list of issue comments made by this user."""
2381523923
issueComments(
23924+
"""Ordering options for issue comments returned from the connection."""
23925+
orderBy: IssueCommentOrder
23926+
2381623927
"""Returns the elements in the list that come after the specified cursor."""
2381723928
after: String
2381823929

@@ -24181,7 +24292,7 @@ type User implements Node & Actor & PackageOwner & ProjectOwner & RepositoryOwne
2418124292
orderBy: SavedReplyOrder = {field: UPDATED_AT, direction: DESC}
2418224293
): SavedReplyConnection
2418324294

24184-
"""The GitHub Sponsors listing for this user."""
24295+
"""The GitHub Sponsors listing for this user or organization."""
2418524296
sponsorsListing: SponsorsListing
2418624297

2418724298
"""This object's sponsorships as the maintainer."""
@@ -24305,9 +24416,15 @@ type User implements Node & Actor & PackageOwner & ProjectOwner & RepositoryOwne
2430524416
"""Whether or not the viewer is able to follow the user."""
2430624417
viewerCanFollow: Boolean!
2430724418

24419+
"""Whether or not the viewer is able to sponsor this user/organization."""
24420+
viewerCanSponsor: Boolean!
24421+
2430824422
"""Whether or not this user is followed by the viewer."""
2430924423
viewerIsFollowing: Boolean!
2431024424

24425+
"""True if the viewer is sponsoring this user/organization."""
24426+
viewerIsSponsoring: Boolean!
24427+
2431124428
"""A list of repositories the given user is watching."""
2431224429
watching(
2431324430
"""If non-null, filters repositories according to privacy"""

0 commit comments

Comments
 (0)