Skip to content

Commit 8fa7656

Browse files
authored
Merge pull request #27044 from github/graphql-schema-update
GraphQL schema update
2 parents c10aaac + 6bf6ca9 commit 8fa7656

14 files changed

Lines changed: 643 additions & 217 deletions

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

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -14,24 +14,6 @@ upcoming_changes:
1414
date: '2020-01-01T00:00:00+00:00'
1515
criticality: breaking
1616
owner: tambling
17-
- location: EnterpriseBillingInfo.availableSeats
18-
description:
19-
'`availableSeats` will be removed. Use EnterpriseBillingInfo.totalAvailableLicenses
20-
instead.'
21-
reason:
22-
'`availableSeats` will be replaced with `totalAvailableLicenses` to provide
23-
more clarity on the value being returned'
24-
date: '2020-01-01T00:00:00+00:00'
25-
criticality: breaking
26-
owner: BlakeWilliams
27-
- location: EnterpriseBillingInfo.seats
28-
description: '`seats` will be removed. Use EnterpriseBillingInfo.totalLicenses instead.'
29-
reason:
30-
'`seats` will be replaced with `totalLicenses` to provide more clarity on
31-
the value being returned'
32-
date: '2020-01-01T00:00:00+00:00'
33-
criticality: breaking
34-
owner: BlakeWilliams
3517
- location: UnassignedEvent.user
3618
description: '`user` will be removed. Use the `assignee` field instead.'
3719
reason: Assignees can now be mannequins.

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

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -9736,14 +9736,6 @@ type EnterpriseBillingInfo {
97369736
"""
97379737
assetPacks: Int!
97389738

9739-
"""
9740-
The number of available seats across all owned organizations based on the unique number of billable users.
9741-
"""
9742-
availableSeats: Int!
9743-
@deprecated(
9744-
reason: "`availableSeats` will be replaced with `totalAvailableLicenses` to provide more clarity on the value being returned Use EnterpriseBillingInfo.totalAvailableLicenses instead. Removal on 2020-01-01 UTC."
9745-
)
9746-
97479739
"""
97489740
The bandwidth quota in GB for all organizations owned by the enterprise.
97499741
"""
@@ -9759,14 +9751,6 @@ type EnterpriseBillingInfo {
97599751
"""
97609752
bandwidthUsagePercentage: Int!
97619753

9762-
"""
9763-
The total seats across all organizations owned by the enterprise.
9764-
"""
9765-
seats: Int!
9766-
@deprecated(
9767-
reason: "`seats` will be replaced with `totalLicenses` to provide more clarity on the value being returned Use EnterpriseBillingInfo.totalLicenses instead. Removal on 2020-01-01 UTC."
9768-
)
9769-
97709754
"""
97719755
The storage quota in GB for all organizations owned by the enterprise.
97729756
"""

data/graphql/ghec/graphql_upcoming_changes.public.yml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -14,24 +14,6 @@ upcoming_changes:
1414
date: '2020-01-01T00:00:00+00:00'
1515
criticality: breaking
1616
owner: tambling
17-
- location: EnterpriseBillingInfo.availableSeats
18-
description:
19-
'`availableSeats` will be removed. Use EnterpriseBillingInfo.totalAvailableLicenses
20-
instead.'
21-
reason:
22-
'`availableSeats` will be replaced with `totalAvailableLicenses` to provide
23-
more clarity on the value being returned'
24-
date: '2020-01-01T00:00:00+00:00'
25-
criticality: breaking
26-
owner: BlakeWilliams
27-
- location: EnterpriseBillingInfo.seats
28-
description: '`seats` will be removed. Use EnterpriseBillingInfo.totalLicenses instead.'
29-
reason:
30-
'`seats` will be replaced with `totalLicenses` to provide more clarity on
31-
the value being returned'
32-
date: '2020-01-01T00:00:00+00:00'
33-
criticality: breaking
34-
owner: BlakeWilliams
3517
- location: UnassignedEvent.user
3618
description: '`user` will be removed. Use the `assignee` field instead.'
3719
reason: Assignees can now be mannequins.

data/graphql/ghec/schema.docs.graphql

Lines changed: 110 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -477,6 +477,51 @@ type AddProjectColumnPayload {
477477
project: Project
478478
}
479479

480+
"""
481+
Autogenerated input type of AddProjectDraftIssue
482+
"""
483+
input AddProjectDraftIssueInput {
484+
"""
485+
The IDs of the assignees of the draft issue.
486+
"""
487+
assigneeIds: [ID!] @possibleTypes(concreteTypes: ["User"])
488+
489+
"""
490+
The body of the draft issue.
491+
"""
492+
body: String
493+
494+
"""
495+
A unique identifier for the client performing the mutation.
496+
"""
497+
clientMutationId: String
498+
499+
"""
500+
The ID of the Project to add the draft issue to.
501+
"""
502+
projectId: ID! @possibleTypes(concreteTypes: ["ProjectNext"])
503+
504+
"""
505+
The title of the draft issue.
506+
"""
507+
title: String!
508+
}
509+
510+
"""
511+
Autogenerated return type of AddProjectDraftIssue
512+
"""
513+
type AddProjectDraftIssuePayload {
514+
"""
515+
A unique identifier for the client performing the mutation.
516+
"""
517+
clientMutationId: String
518+
519+
"""
520+
The draft issue added to the project.
521+
"""
522+
projectNextItem: ProjectNextItem
523+
}
524+
480525
"""
481526
Autogenerated input type of AddProjectNextItem
482527
"""
@@ -10564,14 +10609,6 @@ type EnterpriseBillingInfo {
1056410609
"""
1056510610
assetPacks: Int!
1056610611

10567-
"""
10568-
The number of available seats across all owned organizations based on the unique number of billable users.
10569-
"""
10570-
availableSeats: Int!
10571-
@deprecated(
10572-
reason: "`availableSeats` will be replaced with `totalAvailableLicenses` to provide more clarity on the value being returned Use EnterpriseBillingInfo.totalAvailableLicenses instead. Removal on 2020-01-01 UTC."
10573-
)
10574-
1057510612
"""
1057610613
The bandwidth quota in GB for all organizations owned by the enterprise.
1057710614
"""
@@ -10587,14 +10624,6 @@ type EnterpriseBillingInfo {
1058710624
"""
1058810625
bandwidthUsagePercentage: Int!
1058910626

10590-
"""
10591-
The total seats across all organizations owned by the enterprise.
10592-
"""
10593-
seats: Int!
10594-
@deprecated(
10595-
reason: "`seats` will be replaced with `totalLicenses` to provide more clarity on the value being returned Use EnterpriseBillingInfo.totalLicenses instead. Removal on 2020-01-01 UTC."
10596-
)
10597-
1059810627
"""
1059910628
The storage quota in GB for all organizations owned by the enterprise.
1060010629
"""
@@ -18537,6 +18566,16 @@ type Mutation {
1853718566
input: AddProjectColumnInput!
1853818567
): AddProjectColumnPayload
1853918568

18569+
"""
18570+
Creates a new draft issue and add it to a Project.
18571+
"""
18572+
addProjectDraftIssue(
18573+
"""
18574+
Parameters for AddProjectDraftIssue
18575+
"""
18576+
input: AddProjectDraftIssueInput!
18577+
): AddProjectDraftIssuePayload
18578+
1854018579
"""
1854118580
Adds an existing item (Issue or PullRequest) to a Project.
1854218581
"""
@@ -20118,6 +20157,16 @@ type Mutation {
2011820157
input: UpdateProjectColumnInput!
2011920158
): UpdateProjectColumnPayload
2012020159

20160+
"""
20161+
Updates a draft issue within a Project.
20162+
"""
20163+
updateProjectDraftIssue(
20164+
"""
20165+
Parameters for UpdateProjectDraftIssue
20166+
"""
20167+
input: UpdateProjectDraftIssueInput!
20168+
): UpdateProjectDraftIssuePayload
20169+
2012120170
"""
2012220171
Updates an existing project (beta).
2012320172
"""
@@ -46494,6 +46543,51 @@ type UpdateProjectColumnPayload {
4649446543
projectColumn: ProjectColumn
4649546544
}
4649646545

46546+
"""
46547+
Autogenerated input type of UpdateProjectDraftIssue
46548+
"""
46549+
input UpdateProjectDraftIssueInput {
46550+
"""
46551+
The IDs of the assignees of the draft issue.
46552+
"""
46553+
assigneeIds: [ID!] @possibleTypes(concreteTypes: ["User"])
46554+
46555+
"""
46556+
The body of the draft issue.
46557+
"""
46558+
body: String
46559+
46560+
"""
46561+
A unique identifier for the client performing the mutation.
46562+
"""
46563+
clientMutationId: String
46564+
46565+
"""
46566+
The ID of the draft issue to update.
46567+
"""
46568+
draftIssueId: ID! @possibleTypes(concreteTypes: ["DraftIssue"])
46569+
46570+
"""
46571+
The title of the draft issue.
46572+
"""
46573+
title: String
46574+
}
46575+
46576+
"""
46577+
Autogenerated return type of UpdateProjectDraftIssue
46578+
"""
46579+
type UpdateProjectDraftIssuePayload {
46580+
"""
46581+
A unique identifier for the client performing the mutation.
46582+
"""
46583+
clientMutationId: String
46584+
46585+
"""
46586+
The draft issue updated in the project.
46587+
"""
46588+
draftIssue: DraftIssue
46589+
}
46590+
4649746591
"""
4649846592
Autogenerated input type of UpdateProject
4649946593
"""

data/graphql/graphql_upcoming_changes.public.yml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -14,24 +14,6 @@ upcoming_changes:
1414
date: '2020-01-01T00:00:00+00:00'
1515
criticality: breaking
1616
owner: tambling
17-
- location: EnterpriseBillingInfo.availableSeats
18-
description:
19-
'`availableSeats` will be removed. Use EnterpriseBillingInfo.totalAvailableLicenses
20-
instead.'
21-
reason:
22-
'`availableSeats` will be replaced with `totalAvailableLicenses` to provide
23-
more clarity on the value being returned'
24-
date: '2020-01-01T00:00:00+00:00'
25-
criticality: breaking
26-
owner: BlakeWilliams
27-
- location: EnterpriseBillingInfo.seats
28-
description: '`seats` will be removed. Use EnterpriseBillingInfo.totalLicenses instead.'
29-
reason:
30-
'`seats` will be replaced with `totalLicenses` to provide more clarity on
31-
the value being returned'
32-
date: '2020-01-01T00:00:00+00:00'
33-
criticality: breaking
34-
owner: BlakeWilliams
3517
- location: UnassignedEvent.user
3618
description: '`user` will be removed. Use the `assignee` field instead.'
3719
reason: Assignees can now be mannequins.

0 commit comments

Comments
 (0)