Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: PullRequest#{canBeRebased,mergeStateStatus}, {AddedToProjectEvent,ConvertedNoteToIssueEvent,MovedColumnsInProjectEvent,RemovedFromProjectEvent}#{project,projectCard,projectColumnName}, importProject mutation #931

Merged
merged 4 commits into from
Apr 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion schema.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11077,7 +11077,10 @@ export type Mutation = {
removeAssigneesFromAssignable?: Maybe<RemoveAssigneesFromAssignablePayload>;
/** Removes an administrator from the enterprise. */
removeEnterpriseAdmin?: Maybe<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?: Maybe<RemoveEnterpriseIdentityProviderPayload>;
/** Removes a user from all organizations within the enterprise */
removeEnterpriseMember?: Maybe<RemoveEnterpriseMemberPayload>;
Expand Down
118 changes: 117 additions & 1 deletion schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -1114,6 +1114,21 @@ type AddedToProjectEvent implements Node {
The Node ID of the AddedToProjectEvent object
"""
id: ID!

"""
Project referenced by event.
"""
project: Project

"""
Project card referenced by this project event.
"""
projectCard: ProjectCard

"""
Column name referenced by this project event.
"""
projectColumnName: String!
}

"""
Expand Down Expand Up @@ -6522,6 +6537,21 @@ type ConvertedNoteToIssueEvent implements Node {
The Node ID of the ConvertedNoteToIssueEvent object
"""
id: ID!

"""
Project referenced by event.
"""
project: Project

"""
Project card referenced by this project event.
"""
projectCard: ProjectCard

"""
Column name referenced by this project event.
"""
projectColumnName: String!
}

"""
Expand Down Expand Up @@ -20718,6 +20748,51 @@ enum MergeQueueMergingStrategy {
HEADGREEN
}

"""
Detailed status information about a pull request merge.
"""
enum MergeStateStatus {
"""
The head ref is out of date.
"""
BEHIND

"""
The merge is blocked.
"""
BLOCKED

"""
Mergeable and passing commit status.
"""
CLEAN

"""
The merge commit cannot be cleanly created.
"""
DIRTY

"""
The merge is blocked due to the pull request being a draft.
"""
DRAFT @deprecated(reason: "DRAFT state will be removed from this enum and `isDraft` should be used instead Use PullRequest.isDraft instead. Removal on 2021-01-01 UTC.")

"""
Mergeable with passing commit status and pre-receive hooks.
"""
HAS_HOOKS

"""
The state cannot currently be determined.
"""
UNKNOWN

"""
Mergeable with non-passing commit status.
"""
UNSTABLE
}

"""
Whether or not a PullRequest can be merged.
"""
Expand Down Expand Up @@ -21404,6 +21479,26 @@ type MovedColumnsInProjectEvent implements Node {
The Node ID of the MovedColumnsInProjectEvent object
"""
id: ID!

"""
Column name the issue or pull request was moved from.
"""
previousProjectColumnName: String!

"""
Project referenced by event.
"""
project: Project

"""
Project card referenced by this project event.
"""
projectCard: ProjectCard

"""
Column name the issue or pull request was moved to.
"""
projectColumnName: String!
}

"""
Expand Down Expand Up @@ -22720,7 +22815,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 @@ -34415,6 +34511,11 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab
"""
bodyText: String!

"""
Whether or not the pull request is rebaseable.
"""
canBeRebased: Boolean!

"""
The number of changed files in this pull request.
"""
Expand Down Expand Up @@ -34770,6 +34871,11 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab
"""
mergeQueueEntry: MergeQueueEntry

"""
Detailed information about the current pull request merge state status.
"""
mergeStateStatus: MergeStateStatus!

"""
Whether or not the pull request can be merged based on the existence of merge conflicts.
"""
Expand Down Expand Up @@ -39668,6 +39774,16 @@ type RemovedFromProjectEvent implements Node {
The Node ID of the RemovedFromProjectEvent object
"""
id: ID!

"""
Project referenced by event.
"""
project: Project

"""
Column name referenced by this project event.
"""
projectColumnName: String!
}

"""
Expand Down
2 changes: 1 addition & 1 deletion schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -58013,7 +58013,7 @@
},
{
"name": "removeEnterpriseIdentityProvider",
"description": "Removes the identity provider from an enterprise",
"description": "Removes the identity provider from an enterprise. Owners of enterprises both with and without Enterprise Managed Users may use this mutation.",
"args": [
{
"name": "input",
Expand Down