Skip to content

Commit dc48e6c

Browse files
authored
Merge pull request github#27146 from github/graphql-schema-update
GraphQL schema update
2 parents 9568950 + 102e161 commit dc48e6c

12 files changed

+409
-278
lines changed

data/graphql/ghae/graphql_upcoming_changes.public-ghae.yml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,6 @@ upcoming_changes:
2020
date: '2020-01-01T00:00:00+00:00'
2121
criticality: breaking
2222
owner: tambling
23-
- location: EnterprisePendingMemberInvitationEdge.isUnlicensed
24-
description: '`isUnlicensed` will be removed.'
25-
reason: All pending members consume a license
26-
date: '2020-07-01T00:00:00+00:00'
27-
criticality: breaking
28-
owner: BrentWheeldon
2923
- location: Issue.timeline
3024
description: '`timeline` will be removed. Use Issue.timelineItems instead.'
3125
reason: '`timeline` will be removed'
@@ -38,18 +32,6 @@ upcoming_changes:
3832
date: '2020-10-01T00:00:00+00:00'
3933
criticality: breaking
4034
owner: mikesea
41-
- location: EnterpriseMemberEdge.isUnlicensed
42-
description: '`isUnlicensed` will be removed.'
43-
reason: All members consume a license
44-
date: '2021-01-01T00:00:00+00:00'
45-
criticality: breaking
46-
owner: BrentWheeldon
47-
- location: EnterpriseOutsideCollaboratorEdge.isUnlicensed
48-
description: '`isUnlicensed` will be removed.'
49-
reason: All outside collaborators consume a license
50-
date: '2021-01-01T00:00:00+00:00'
51-
criticality: breaking
52-
owner: BrentWheeldon
5335
- location: MergeStateStatus.DRAFT
5436
description: '`DRAFT` will be removed. Use PullRequest.isDraft instead.'
5537
reason:

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

Lines changed: 55 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9962,11 +9962,6 @@ type EnterpriseMemberEdge {
99629962
"""
99639963
cursor: String!
99649964

9965-
"""
9966-
Whether the user does not have a license for the enterprise.
9967-
"""
9968-
isUnlicensed: Boolean! @deprecated(reason: "All members consume a license Removal on 2021-01-01 UTC.")
9969-
99709965
"""
99719966
The item at the end of the edge.
99729967
"""
@@ -10127,11 +10122,6 @@ type EnterpriseOutsideCollaboratorEdge {
1012710122
"""
1012810123
cursor: String!
1012910124

10130-
"""
10131-
Whether the outside collaborator does not have a license for the enterprise.
10132-
"""
10133-
isUnlicensed: Boolean! @deprecated(reason: "All outside collaborators consume a license Removal on 2021-01-01 UTC.")
10134-
1013510125
"""
1013610126
The item at the end of the edge.
1013710127
"""
@@ -10201,6 +10191,11 @@ type EnterpriseOwnerInfo {
1020110191
"""
1020210192
orderBy: EnterpriseMemberOrder = {field: LOGIN, direction: ASC}
1020310193

10194+
"""
10195+
Only return members within the organizations with these logins
10196+
"""
10197+
organizationLogins: [String!]
10198+
1020410199
"""
1020510200
The search string to look for.
1020610201
"""
@@ -10732,6 +10727,11 @@ type EnterpriseOwnerInfo {
1073210727
"""
1073310728
first: Int
1073410729

10730+
"""
10731+
Only return outside collaborators with this two-factor authentication status.
10732+
"""
10733+
hasTwoFactorEnabled: Boolean = null
10734+
1073510735
"""
1073610736
Returns the last _n_ elements from the list.
1073710737
"""
@@ -10747,6 +10747,11 @@ type EnterpriseOwnerInfo {
1074710747
"""
1074810748
orderBy: EnterpriseMemberOrder = {field: LOGIN, direction: ASC}
1074910749

10750+
"""
10751+
Only return outside collaborators within the organizations with these logins
10752+
"""
10753+
organizationLogins: [String!]
10754+
1075010755
"""
1075110756
The search string to look for.
1075210757
"""
@@ -11064,11 +11069,6 @@ type EnterprisePendingMemberInvitationEdge {
1106411069
"""
1106511070
cursor: String!
1106611071

11067-
"""
11068-
Whether the invitation has a license for the enterprise.
11069-
"""
11070-
isUnlicensed: Boolean! @deprecated(reason: "All pending members consume a license Removal on 2020-07-01 UTC.")
11071-
1107211072
"""
1107311073
The item at the end of the edge.
1107411074
"""
@@ -22930,6 +22930,41 @@ type PageInfo {
2293022930
startCursor: String
2293122931
}
2293222932

22933+
"""
22934+
The possible types of patch statuses.
22935+
"""
22936+
enum PatchStatus {
22937+
"""
22938+
The file was added. Git status 'A'.
22939+
"""
22940+
ADDED
22941+
22942+
"""
22943+
The file's type was changed. Git status 'T'.
22944+
"""
22945+
CHANGED
22946+
22947+
"""
22948+
The file was copied. Git status 'C'.
22949+
"""
22950+
COPIED
22951+
22952+
"""
22953+
The file was deleted. Git status 'D'.
22954+
"""
22955+
DELETED
22956+
22957+
"""
22958+
The file's contents were changed. Git status 'M'.
22959+
"""
22960+
MODIFIED
22961+
22962+
"""
22963+
The file was renamed. Git status 'R'.
22964+
"""
22965+
RENAMED
22966+
}
22967+
2293322968
"""
2293422969
Types that can grant permissions on a repository to a user
2293522970
"""
@@ -25396,6 +25431,11 @@ type PullRequestChangedFile {
2539625431
"""
2539725432
additions: Int!
2539825433

25434+
"""
25435+
How the file was changed in this PullRequest
25436+
"""
25437+
changeType: PatchStatus!
25438+
2539925439
"""
2540025440
The number of deletions to the file.
2540125441
"""

data/graphql/ghec/graphql_upcoming_changes.public.yml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,6 @@ upcoming_changes:
2626
date: '2020-04-01T00:00:00+00:00'
2727
criticality: breaking
2828
owner: antn
29-
- location: EnterprisePendingMemberInvitationEdge.isUnlicensed
30-
description: '`isUnlicensed` will be removed.'
31-
reason: All pending members consume a license
32-
date: '2020-07-01T00:00:00+00:00'
33-
criticality: breaking
34-
owner: BrentWheeldon
3529
- location: Issue.timeline
3630
description: '`timeline` will be removed. Use Issue.timelineItems instead.'
3731
reason: '`timeline` will be removed'
@@ -50,18 +44,6 @@ upcoming_changes:
5044
date: '2020-10-01T00:00:00+00:00'
5145
criticality: breaking
5246
owner: nholden
53-
- location: EnterpriseMemberEdge.isUnlicensed
54-
description: '`isUnlicensed` will be removed.'
55-
reason: All members consume a license
56-
date: '2021-01-01T00:00:00+00:00'
57-
criticality: breaking
58-
owner: BrentWheeldon
59-
- location: EnterpriseOutsideCollaboratorEdge.isUnlicensed
60-
description: '`isUnlicensed` will be removed.'
61-
reason: All outside collaborators consume a license
62-
date: '2021-01-01T00:00:00+00:00'
63-
criticality: breaking
64-
owner: BrentWheeldon
6547
- location: MergeStateStatus.DRAFT
6648
description: '`DRAFT` will be removed. Use PullRequest.isDraft instead.'
6749
reason:

data/graphql/ghec/schema.docs.graphql

Lines changed: 57 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -10085,12 +10085,12 @@ type DraftIssue implements Node {
1008510085
id: ID!
1008610086

1008710087
"""
10088-
The project that contains this draft issue.
10088+
The project (beta) that contains this draft issue.
1008910089
"""
1009010090
project: ProjectNext!
1009110091

1009210092
"""
10093-
The project item that wraps this draft issue.
10093+
The project (beta) item that wraps this draft issue.
1009410094
"""
1009510095
projectItem: ProjectNextItem!
1009610096

@@ -10835,11 +10835,6 @@ type EnterpriseMemberEdge {
1083510835
"""
1083610836
cursor: String!
1083710837

10838-
"""
10839-
Whether the user does not have a license for the enterprise.
10840-
"""
10841-
isUnlicensed: Boolean! @deprecated(reason: "All members consume a license Removal on 2021-01-01 UTC.")
10842-
1084310838
"""
1084410839
The item at the end of the edge.
1084510840
"""
@@ -11000,11 +10995,6 @@ type EnterpriseOutsideCollaboratorEdge {
1100010995
"""
1100110996
cursor: String!
1100210997

11003-
"""
11004-
Whether the outside collaborator does not have a license for the enterprise.
11005-
"""
11006-
isUnlicensed: Boolean! @deprecated(reason: "All outside collaborators consume a license Removal on 2021-01-01 UTC.")
11007-
1100810998
"""
1100910999
The item at the end of the edge.
1101011000
"""
@@ -11074,6 +11064,11 @@ type EnterpriseOwnerInfo {
1107411064
"""
1107511065
orderBy: EnterpriseMemberOrder = {field: LOGIN, direction: ASC}
1107611066

11067+
"""
11068+
Only return members within the organizations with these logins
11069+
"""
11070+
organizationLogins: [String!]
11071+
1107711072
"""
1107811073
The search string to look for.
1107911074
"""
@@ -11690,6 +11685,11 @@ type EnterpriseOwnerInfo {
1169011685
"""
1169111686
first: Int
1169211687

11688+
"""
11689+
Only return outside collaborators with this two-factor authentication status.
11690+
"""
11691+
hasTwoFactorEnabled: Boolean = null
11692+
1169311693
"""
1169411694
Returns the last _n_ elements from the list.
1169511695
"""
@@ -11705,6 +11705,11 @@ type EnterpriseOwnerInfo {
1170511705
"""
1170611706
orderBy: EnterpriseMemberOrder = {field: LOGIN, direction: ASC}
1170711707

11708+
"""
11709+
Only return outside collaborators within the organizations with these logins
11710+
"""
11711+
organizationLogins: [String!]
11712+
1170811713
"""
1170911714
The search string to look for.
1171011715
"""
@@ -12052,11 +12057,6 @@ type EnterprisePendingMemberInvitationEdge {
1205212057
"""
1205312058
cursor: String!
1205412059

12055-
"""
12056-
Whether the invitation has a license for the enterprise.
12057-
"""
12058-
isUnlicensed: Boolean! @deprecated(reason: "All pending members consume a license Removal on 2020-07-01 UTC.")
12059-
1206012060
"""
1206112061
The item at the end of the edge.
1206212062
"""
@@ -25970,6 +25970,41 @@ type PageInfo {
2597025970
startCursor: String
2597125971
}
2597225972

25973+
"""
25974+
The possible types of patch statuses.
25975+
"""
25976+
enum PatchStatus {
25977+
"""
25978+
The file was added. Git status 'A'.
25979+
"""
25980+
ADDED
25981+
25982+
"""
25983+
The file's type was changed. Git status 'T'.
25984+
"""
25985+
CHANGED
25986+
25987+
"""
25988+
The file was copied. Git status 'C'.
25989+
"""
25990+
COPIED
25991+
25992+
"""
25993+
The file was deleted. Git status 'D'.
25994+
"""
25995+
DELETED
25996+
25997+
"""
25998+
The file's contents were changed. Git status 'M'.
25999+
"""
26000+
MODIFIED
26001+
26002+
"""
26003+
The file was renamed. Git status 'R'.
26004+
"""
26005+
RENAMED
26006+
}
26007+
2597326008
"""
2597426009
Types that can grant permissions on a repository to a user
2597526010
"""
@@ -29356,6 +29391,11 @@ type PullRequestChangedFile {
2935629391
"""
2935729392
additions: Int!
2935829393

29394+
"""
29395+
How the file was changed in this PullRequest
29396+
"""
29397+
changeType: PatchStatus!
29398+
2935929399
"""
2936029400
The number of deletions to the file.
2936129401
"""

data/graphql/graphql_upcoming_changes.public.yml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,6 @@ upcoming_changes:
2626
date: '2020-04-01T00:00:00+00:00'
2727
criticality: breaking
2828
owner: antn
29-
- location: EnterprisePendingMemberInvitationEdge.isUnlicensed
30-
description: '`isUnlicensed` will be removed.'
31-
reason: All pending members consume a license
32-
date: '2020-07-01T00:00:00+00:00'
33-
criticality: breaking
34-
owner: BrentWheeldon
3529
- location: Issue.timeline
3630
description: '`timeline` will be removed. Use Issue.timelineItems instead.'
3731
reason: '`timeline` will be removed'
@@ -50,18 +44,6 @@ upcoming_changes:
5044
date: '2020-10-01T00:00:00+00:00'
5145
criticality: breaking
5246
owner: nholden
53-
- location: EnterpriseMemberEdge.isUnlicensed
54-
description: '`isUnlicensed` will be removed.'
55-
reason: All members consume a license
56-
date: '2021-01-01T00:00:00+00:00'
57-
criticality: breaking
58-
owner: BrentWheeldon
59-
- location: EnterpriseOutsideCollaboratorEdge.isUnlicensed
60-
description: '`isUnlicensed` will be removed.'
61-
reason: All outside collaborators consume a license
62-
date: '2021-01-01T00:00:00+00:00'
63-
criticality: breaking
64-
owner: BrentWheeldon
6547
- location: MergeStateStatus.DRAFT
6648
description: '`DRAFT` will be removed. Use PullRequest.isDraft instead.'
6749
reason:

0 commit comments

Comments
 (0)