Skip to content

Commit

Permalink
GraphQL schema update (#50170)
Browse files Browse the repository at this point in the history
Co-authored-by: rachmari <9831992+rachmari@users.noreply.github.com>
  • Loading branch information
docs-bot and rachmari authored Apr 16, 2024
1 parent b0b09dc commit 265929d
Show file tree
Hide file tree
Showing 9 changed files with 99 additions and 1,224 deletions.
64 changes: 0 additions & 64 deletions data/graphql/ghec/graphql_previews.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,6 @@
- CreateDeploymentPayload
owning_teams:
- '@github/pages'
- title: >-
MergeInfoPreview - More detailed information about a pull request's merge
state.
description: >-
This preview adds support for accessing fields that provide more detailed
information about a pull request's merge state.
toggled_by: ':merge-info-preview'
announcement: null
updates: null
toggled_on:
- PullRequest.canBeRebased
- PullRequest.mergeStateStatus
owning_teams:
- '@github/pe-pull-requests'
- title: UpdateRefsPreview - Update multiple refs in a single operation.
description: This preview adds support for updating multiple refs in a single operation.
toggled_by: ':update-refs-preview'
Expand Down Expand Up @@ -57,53 +43,3 @@
- DependencyGraphDependencyConnection
owning_teams:
- '@github/dependency-graph'
- title: Project Event Details
description: >-
This preview adds project, project card, and project column details to
project-related issue events.
toggled_by: ':starfox-preview'
announcement: null
updates: null
toggled_on:
- AddedToProjectEvent.project
- AddedToProjectEvent.projectCard
- AddedToProjectEvent.projectColumnName
- ConvertedNoteToIssueEvent.project
- ConvertedNoteToIssueEvent.projectCard
- ConvertedNoteToIssueEvent.projectColumnName
- MovedColumnsInProjectEvent.project
- MovedColumnsInProjectEvent.projectCard
- MovedColumnsInProjectEvent.projectColumnName
- MovedColumnsInProjectEvent.previousProjectColumnName
- RemovedFromProjectEvent.project
- RemovedFromProjectEvent.projectColumnName
owning_teams:
- '@github/github-projects'
- title: Labels Preview
description: >-
This preview adds support for adding, updating, creating and deleting
labels.
toggled_by: ':bane-preview'
announcement: null
updates: null
toggled_on:
- Mutation.createLabel
- CreateLabelPayload
- CreateLabelInput
- Mutation.deleteLabel
- DeleteLabelPayload
- DeleteLabelInput
- Mutation.updateLabel
- UpdateLabelPayload
- UpdateLabelInput
owning_teams:
- '@github/pe-pull-requests'
- title: Import Project
description: This preview adds support for importing projects.
toggled_by: ':slothette-preview'
announcement: null
updates: null
toggled_on:
- Mutation.importProject
owning_teams:
- '@github/pe-issues-projects'
53 changes: 27 additions & 26 deletions data/graphql/ghec/schema.docs.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -1160,17 +1160,17 @@ type AddedToProjectEvent implements Node {
"""
Project referenced by event.
"""
project: Project @preview(toggledBy: "starfox-preview")
project: Project

"""
Project card referenced by this project event.
"""
projectCard: ProjectCard @preview(toggledBy: "starfox-preview")
projectCard: ProjectCard

"""
Column name referenced by this project event.
"""
projectColumnName: String! @preview(toggledBy: "starfox-preview")
projectColumnName: String!
}

"""
Expand Down Expand Up @@ -6591,17 +6591,17 @@ type ConvertedNoteToIssueEvent implements Node {
"""
Project referenced by event.
"""
project: Project @preview(toggledBy: "starfox-preview")
project: Project

"""
Project card referenced by this project event.
"""
projectCard: ProjectCard @preview(toggledBy: "starfox-preview")
projectCard: ProjectCard

"""
Column name referenced by this project event.
"""
projectColumnName: String! @preview(toggledBy: "starfox-preview")
projectColumnName: String!
}

"""
Expand Down Expand Up @@ -7441,7 +7441,7 @@ type CreateIssuePayload {
"""
Autogenerated input type of CreateLabel
"""
input CreateLabelInput @preview(toggledBy: "bane-preview") {
input CreateLabelInput {
"""
A unique identifier for the client performing the mutation.
"""
Expand Down Expand Up @@ -7471,7 +7471,7 @@ input CreateLabelInput @preview(toggledBy: "bane-preview") {
"""
Autogenerated return type of CreateLabel
"""
type CreateLabelPayload @preview(toggledBy: "bane-preview") {
type CreateLabelPayload {
"""
A unique identifier for the client performing the mutation.
"""
Expand Down Expand Up @@ -9214,7 +9214,7 @@ type DeleteIssuePayload {
"""
Autogenerated input type of DeleteLabel
"""
input DeleteLabelInput @preview(toggledBy: "bane-preview") {
input DeleteLabelInput {
"""
A unique identifier for the client performing the mutation.
"""
Expand All @@ -9229,7 +9229,7 @@ input DeleteLabelInput @preview(toggledBy: "bane-preview") {
"""
Autogenerated return type of DeleteLabel
"""
type DeleteLabelPayload @preview(toggledBy: "bane-preview") {
type DeleteLabelPayload {
"""
A unique identifier for the client performing the mutation.
"""
Expand Down Expand Up @@ -21991,22 +21991,22 @@ type MovedColumnsInProjectEvent implements Node {
"""
Column name the issue or pull request was moved from.
"""
previousProjectColumnName: String! @preview(toggledBy: "starfox-preview")
previousProjectColumnName: String!

"""
Project referenced by event.
"""
project: Project @preview(toggledBy: "starfox-preview")
project: Project

"""
Project card referenced by this project event.
"""
projectCard: ProjectCard @preview(toggledBy: "starfox-preview")
projectCard: ProjectCard

"""
Column name the issue or pull request was moved to.
"""
projectColumnName: String! @preview(toggledBy: "starfox-preview")
projectColumnName: String!
}

"""
Expand Down Expand Up @@ -22589,7 +22589,7 @@ type Mutation {
Parameters for CreateLabel
"""
input: CreateLabelInput!
): CreateLabelPayload @preview(toggledBy: "bane-preview")
): CreateLabelPayload

"""
Create a branch linked to an issue.
Expand Down Expand Up @@ -22850,7 +22850,7 @@ type Mutation {
Parameters for DeleteLabel
"""
input: DeleteLabelInput!
): DeleteLabelPayload @preview(toggledBy: "bane-preview")
): DeleteLabelPayload

"""
Unlink a branch from an issue.
Expand Down Expand Up @@ -23130,7 +23130,7 @@ type Mutation {
Parameters for ImportProject
"""
input: ImportProjectInput!
): ImportProjectPayload @preview(toggledBy: "slothette-preview")
): ImportProjectPayload

"""
Invite someone to become an administrator of the enterprise.
Expand Down Expand Up @@ -23353,7 +23353,8 @@ type Mutation {
): RemoveEnterpriseAdminPayload

"""
Removes the identity provider from an enterprise
Removes the identity provider from an enterprise. Owners of enterprises both
with and without Enterprise Managed Users may use this mutation.
"""
removeEnterpriseIdentityProvider(
"""
Expand Down Expand Up @@ -24080,7 +24081,7 @@ type Mutation {
Parameters for UpdateLabel
"""
input: UpdateLabelInput!
): UpdateLabelPayload @preview(toggledBy: "bane-preview")
): UpdateLabelPayload

"""
Update the setting to restrict notifications to only verified or approved domains available to an owner.
Expand Down Expand Up @@ -35217,7 +35218,7 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab
"""
Whether or not the pull request is rebaseable.
"""
canBeRebased: Boolean! @preview(toggledBy: "merge-info-preview")
canBeRebased: Boolean!

"""
The number of changed files in this pull request.
Expand Down Expand Up @@ -35580,7 +35581,7 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab
"""
Detailed information about the current pull request merge state status.
"""
mergeStateStatus: MergeStateStatus! @preview(toggledBy: "merge-info-preview")
mergeStateStatus: MergeStateStatus!

"""
Whether or not the pull request can be merged based on the existence of merge conflicts.
Expand Down Expand Up @@ -40630,12 +40631,12 @@ type RemovedFromProjectEvent implements Node {
"""
Project referenced by event.
"""
project: Project @preview(toggledBy: "starfox-preview")
project: Project

"""
Column name referenced by this project event.
"""
projectColumnName: String! @preview(toggledBy: "starfox-preview")
projectColumnName: String!
}

"""
Expand Down Expand Up @@ -52379,7 +52380,7 @@ input StartRepositoryMigrationInput {
"""
The URL of the source repository.
"""
sourceRepositoryUrl: URI
sourceRepositoryUrl: URI!

"""
The visibility of the imported repository.
Expand Down Expand Up @@ -57918,7 +57919,7 @@ type UpdateIssuePayload {
"""
Autogenerated input type of UpdateLabel
"""
input UpdateLabelInput @preview(toggledBy: "bane-preview") {
input UpdateLabelInput {
"""
A unique identifier for the client performing the mutation.
"""
Expand Down Expand Up @@ -57948,7 +57949,7 @@ input UpdateLabelInput @preview(toggledBy: "bane-preview") {
"""
Autogenerated return type of UpdateLabel
"""
type UpdateLabelPayload @preview(toggledBy: "bane-preview") {
type UpdateLabelPayload {
"""
A unique identifier for the client performing the mutation.
"""
Expand Down
64 changes: 0 additions & 64 deletions data/graphql/graphql_previews.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,6 @@
- CreateDeploymentPayload
owning_teams:
- '@github/pages'
- title: >-
MergeInfoPreview - More detailed information about a pull request's merge
state.
description: >-
This preview adds support for accessing fields that provide more detailed
information about a pull request's merge state.
toggled_by: ':merge-info-preview'
announcement: null
updates: null
toggled_on:
- PullRequest.canBeRebased
- PullRequest.mergeStateStatus
owning_teams:
- '@github/pe-pull-requests'
- title: UpdateRefsPreview - Update multiple refs in a single operation.
description: This preview adds support for updating multiple refs in a single operation.
toggled_by: ':update-refs-preview'
Expand Down Expand Up @@ -57,53 +43,3 @@
- DependencyGraphDependencyConnection
owning_teams:
- '@github/dependency-graph'
- title: Project Event Details
description: >-
This preview adds project, project card, and project column details to
project-related issue events.
toggled_by: ':starfox-preview'
announcement: null
updates: null
toggled_on:
- AddedToProjectEvent.project
- AddedToProjectEvent.projectCard
- AddedToProjectEvent.projectColumnName
- ConvertedNoteToIssueEvent.project
- ConvertedNoteToIssueEvent.projectCard
- ConvertedNoteToIssueEvent.projectColumnName
- MovedColumnsInProjectEvent.project
- MovedColumnsInProjectEvent.projectCard
- MovedColumnsInProjectEvent.projectColumnName
- MovedColumnsInProjectEvent.previousProjectColumnName
- RemovedFromProjectEvent.project
- RemovedFromProjectEvent.projectColumnName
owning_teams:
- '@github/github-projects'
- title: Labels Preview
description: >-
This preview adds support for adding, updating, creating and deleting
labels.
toggled_by: ':bane-preview'
announcement: null
updates: null
toggled_on:
- Mutation.createLabel
- CreateLabelPayload
- CreateLabelInput
- Mutation.deleteLabel
- DeleteLabelPayload
- DeleteLabelInput
- Mutation.updateLabel
- UpdateLabelPayload
- UpdateLabelInput
owning_teams:
- '@github/pe-pull-requests'
- title: Import Project
description: This preview adds support for importing projects.
toggled_by: ':slothette-preview'
announcement: null
updates: null
toggled_on:
- Mutation.importProject
owning_teams:
- '@github/pe-issues-projects'
Loading

0 comments on commit 265929d

Please sign in to comment.