Skip to content
Open
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
215 changes: 215 additions & 0 deletions schema/github/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -804,6 +804,41 @@ type AddProjectV2ItemByIdPayload {
item: ProjectV2Item
}

"""
Autogenerated input type of AddPullRequestCreationCapBypassUsers
"""
input AddPullRequestCreationCapBypassUsersInput {
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String

"""
The Node ID of the repository.
"""
repositoryId: ID!

"""
The Node IDs of the users to add to the bypass list.
"""
userIds: [ID!]!
}

"""
Autogenerated return type of AddPullRequestCreationCapBypassUsers.
"""
type AddPullRequestCreationCapBypassUsersPayload {
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String

"""
The repository with the updated bypass list.
"""
repository: Repository
}

"""
Autogenerated input type of AddPullRequestReviewComment
"""
Expand Down Expand Up @@ -20823,6 +20858,21 @@ type IssueContributionsByRepository {
repository: Repository!
}

"""
The policy controlling who can create issues in a repository.
"""
enum IssueCreationPolicy {
"""
Anyone can create issues.
"""
ALL

"""
Only collaborators can create issues.
"""
COLLABORATORS_ONLY
}

"""
Summary of the state of an issue's dependencies
"""
Expand Down Expand Up @@ -20922,6 +20972,11 @@ type IssueFieldAddedEvent implements Node {
"""
issueField: IssueFields

"""
The selected options for option-backed fields; single-select returns one option and multi-select returns many.
"""
options: [IssueFieldTimelineOption!]

"""
The value of the added field.
"""
Expand Down Expand Up @@ -20957,6 +21012,11 @@ type IssueFieldChangedEvent implements Node {
"""
newColor: String

"""
The new options for option-backed fields; single-select returns one option and multi-select returns many.
"""
newOptions: [IssueFieldTimelineOption!]

"""
The new value of the field.
"""
Expand All @@ -20967,6 +21027,11 @@ type IssueFieldChangedEvent implements Node {
"""
previousColor: String

"""
The previous options for option-backed fields; single-select returns one option and multi-select returns many.
"""
previousOptions: [IssueFieldTimelineOption!]

"""
The previous value of the field.
"""
Expand Down Expand Up @@ -21321,6 +21386,11 @@ type IssueFieldRemovedEvent implements Node {
The issue field removed.
"""
issueField: IssueFields

"""
The removed options for option-backed fields; single-select returns one option and multi-select returns many.
"""
options: [IssueFieldTimelineOption!]
}

"""
Expand Down Expand Up @@ -21578,6 +21648,21 @@ type IssueFieldTextValue implements IssueFieldValueCommon & Node {
value: String!
}

"""
Represents a selected option for a timeline issue field event.
"""
type IssueFieldTimelineOption {
"""
The option color.
"""
color: String

"""
The option name.
"""
name: String!
}

"""
Issue field values
"""
Expand Down Expand Up @@ -26046,6 +26131,19 @@ type Mutation {
input: AddProjectV2ItemByIdInput!
): AddProjectV2ItemByIdPayload

"""
Add users to the pull request creation cap bypass list. Bypassed users can
create pull requests regardless of the configured cap. Only users with
maintainer permissions can manage the bypass list. You can add a maximum of
100 users per request. The bypass list can only hold a maximum of 100 users.
"""
addPullRequestCreationCapBypassUsers(
"""
Parameters for AddPullRequestCreationCapBypassUsers
"""
input: AddPullRequestCreationCapBypassUsersInput!
): AddPullRequestCreationCapBypassUsersPayload

"""
Adds a review to a Pull Request.
"""
Expand Down Expand Up @@ -27447,6 +27545,17 @@ type Mutation {
input: RemoveOutsideCollaboratorInput!
): RemoveOutsideCollaboratorPayload

"""
Remove users from the pull request creation cap bypass list. Only users with
maintainer permissions can manage the bypass list.
"""
removePullRequestCreationCapBypassUsers(
"""
Parameters for RemovePullRequestCreationCapBypassUsers
"""
input: RemovePullRequestCreationCapBypassUsersInput!
): RemovePullRequestCreationCapBypassUsersPayload

"""
Removes a reaction from a subject.
"""
Expand Down Expand Up @@ -41528,6 +41637,36 @@ type PullRequestContributionsByRepository {
repository: Repository!
}

"""
Users who are exempt from the pull request creation cap on a repository.
"""
type PullRequestCreationCapConfig {
"""
Users who are exempt from the pull request creation cap.
"""
bypassedUsers(
"""
Returns the elements in the list that come after the specified cursor.
"""
after: String

"""
Returns the elements in the list that come before the specified cursor.
"""
before: String

"""
Returns the first _n_ elements from the list.
"""
first: Int

"""
Returns the last _n_ elements from the list.
"""
last: Int
): UserConnection!
}

"""
The policy controlling who can create pull requests in a repository.
"""
Expand Down Expand Up @@ -45673,6 +45812,41 @@ type RemoveOutsideCollaboratorPayload {
removedUser: User
}

"""
Autogenerated input type of RemovePullRequestCreationCapBypassUsers
"""
input RemovePullRequestCreationCapBypassUsersInput {
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String

"""
The Node ID of the repository.
"""
repositoryId: ID!

"""
The Node IDs of the users to remove from the bypass list.
"""
userIds: [ID!]!
}

"""
Autogenerated return type of RemovePullRequestCreationCapBypassUsers.
"""
type RemovePullRequestCreationCapBypassUsersPayload {
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String

"""
The repository with the updated bypass list.
"""
repository: Repository
}

"""
Autogenerated input type of RemoveReaction
"""
Expand Down Expand Up @@ -49253,6 +49427,11 @@ type Repository implements Node & PackageOwner & ProjectOwner & ProjectV2Recent
number: Int!
): Issue

"""
The policy controlling who can create issues in this repository.
"""
issueCreationPolicy: IssueCreationPolicy

"""
A list of the repository's issue fields, inherited from the organization
"""
Expand Down Expand Up @@ -49878,6 +50057,12 @@ type Repository implements Node & PackageOwner & ProjectOwner & ProjectV2Recent
number: Int!
): PullRequest

"""
The pull request creation cap configuration for this repository. Only visible
to repository maintainers and administrators.
"""
pullRequestCreationCapConfig: PullRequestCreationCapConfig

"""
The policy controlling who can create pull requests in this repository.
"""
Expand Down Expand Up @@ -50355,6 +50540,11 @@ type Repository implements Node & PackageOwner & ProjectOwner & ProjectV2Recent
"""
viewerCanAdminister: Boolean!

"""
Indicates whether the current user can create issues in this repository.
"""
viewerCanCreateIssues: Boolean!

"""
Can the current viewer create new projects on this owner.
"""
Expand Down Expand Up @@ -51114,6 +51304,11 @@ interface RepositoryInfo {
"""
isTemplate: Boolean!

"""
The policy controlling who can create issues in this repository.
"""
issueCreationPolicy: IssueCreationPolicy

"""
The license associated with the repository
"""
Expand Down Expand Up @@ -52145,6 +52340,11 @@ enum RepositoryRuleType {
"""
FILE_PATH_RESTRICTION

"""
Enforce any added or changed dependencies to comply with the organization's license policy.
"""
LICENSE_COMPLIANCE_SCANNING

"""
Branch is read-only. Users cannot push to the branch.
"""
Expand Down Expand Up @@ -55435,6 +55635,11 @@ enum SocialAccountProvider {
"""
REDDIT

"""
Microblogging social platform.
"""
THREADS

"""
Live-streaming service.
"""
Expand Down Expand Up @@ -58904,6 +59109,11 @@ type StatusContext implements Node & RequirableByPullRequest {
The URL for this status context.
"""
targetUrl: URI

"""
Identifies the date and time when the object was last updated.
"""
updatedAt: DateTime!
}

"""
Expand Down Expand Up @@ -64987,6 +65197,11 @@ input UpdateRepositoryInput {
"""
homepageUrl: URI

"""
The policy controlling who can create issues in this repository.
"""
issueCreationPolicy: IssueCreationPolicy

"""
The new name of the repository.
"""
Expand Down
Loading