1
0
mirror of synced 2025-12-23 21:07:12 -05:00

GraphQL schema update (#32283)

Co-authored-by: rachmari <rachmari@users.noreply.github.com>
This commit is contained in:
Octomerger Bot
2022-11-02 09:27:42 -07:00
committed by GitHub
parent ca040a1871
commit 2612843fd7
15 changed files with 11008 additions and 792 deletions

View File

@@ -1238,6 +1238,41 @@ type ApproveVerifiableDomainPayload {
domain: VerifiableDomain
}
"""
Autogenerated input type of ArchiveProjectV2Item
"""
input ArchiveProjectV2ItemInput {
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String
"""
The ID of the ProjectV2Item to archive.
"""
itemId: ID! @possibleTypes(concreteTypes: ["ProjectV2Item"])
"""
The ID of the Project to archive the item from.
"""
projectId: ID! @possibleTypes(concreteTypes: ["ProjectV2"])
}
"""
Autogenerated return type of ArchiveProjectV2Item
"""
type ArchiveProjectV2ItemPayload {
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String
"""
The item archived from the project.
"""
item: ProjectV2Item
}
"""
Autogenerated input type of ArchiveRepository
"""
@@ -2012,6 +2047,17 @@ type BranchProtectionRule implements Node {
"""
isAdminEnforced: Boolean!
"""
Whether users can pull changes from upstream when the branch is locked. Set to
`true` to allow fork syncing. Set to `false` to prevent fork syncing.
"""
lockAllowsFetchAndMerge: Boolean!
"""
Whether to set the branch as read-only. If this is true, users will not be able to push to the branch.
"""
lockBranch: Boolean!
"""
Repository refs that are protected by this rule
"""
@@ -2077,6 +2123,11 @@ type BranchProtectionRule implements Node {
"""
repository: Repository
"""
Whether someone other than the person who last pushed to the branch must approve this pull request
"""
requireLastPushApproval: Boolean!
"""
Number of approving reviews required to update matching branches.
"""
@@ -6075,6 +6126,17 @@ input CreateBranchProtectionRuleInput {
"""
isAdminEnforced: Boolean
"""
Whether users can pull changes from upstream when the branch is locked. Set to
`true` to allow fork syncing. Set to `false` to prevent fork syncing.
"""
lockAllowsFetchAndMerge: Boolean
"""
Whether to set the branch as read-only. If this is true, users will not be able to push to the branch.
"""
lockBranch: Boolean
"""
The glob-like pattern used to determine matching branches.
"""
@@ -6090,6 +6152,11 @@ input CreateBranchProtectionRuleInput {
"""
repositoryId: ID! @possibleTypes(concreteTypes: ["Repository"])
"""
Whether someone other than the person who last pushed to the branch must approve this pull request
"""
requireLastPushApproval: Boolean
"""
Number of approving reviews required to update matching branches.
"""
@@ -17602,6 +17669,41 @@ type LicenseRule {
label: String!
}
"""
Autogenerated input type of LinkProjectV2ToRepository
"""
input LinkProjectV2ToRepositoryInput {
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String
"""
The ID of the project to link to the repository.
"""
projectId: ID! @possibleTypes(concreteTypes: ["ProjectV2"])
"""
The ID of the repository to link to the project.
"""
repositoryId: ID! @possibleTypes(concreteTypes: ["Repository"])
}
"""
Autogenerated return type of LinkProjectV2ToRepository
"""
type LinkProjectV2ToRepositoryPayload {
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String
"""
The repository the project is linked to.
"""
repository: Repository
}
"""
Autogenerated input type of LinkRepositoryToProject
"""
@@ -19851,6 +19953,16 @@ type Mutation {
input: ApproveVerifiableDomainInput!
): ApproveVerifiableDomainPayload
"""
Archives a ProjectV2Item
"""
archiveProjectV2Item(
"""
Parameters for ArchiveProjectV2Item
"""
input: ArchiveProjectV2ItemInput!
): ArchiveProjectV2ItemPayload
"""
Marks a repository as archived.
"""
@@ -20577,6 +20689,16 @@ type Mutation {
input: InviteEnterpriseAdminInput!
): InviteEnterpriseAdminPayload
"""
Links a project to a repository.
"""
linkProjectV2ToRepository(
"""
Parameters for LinkProjectV2ToRepository
"""
input: LinkProjectV2ToRepositoryInput!
): LinkProjectV2ToRepositoryPayload
"""
Creates a repository link for a project.
"""
@@ -20957,6 +21079,16 @@ type Mutation {
input: TransferIssueInput!
): TransferIssuePayload
"""
Unarchives a ProjectV2Item
"""
unarchiveProjectV2Item(
"""
Parameters for UnarchiveProjectV2Item
"""
input: UnarchiveProjectV2ItemInput!
): UnarchiveProjectV2ItemPayload
"""
Unarchives a repository.
"""
@@ -20987,6 +21119,16 @@ type Mutation {
input: UnfollowUserInput!
): UnfollowUserPayload
"""
Unlinks a project from a repository.
"""
unlinkProjectV2FromRepository(
"""
Parameters for UnlinkProjectV2FromRepository
"""
input: UnlinkProjectV2FromRepositoryInput!
): UnlinkProjectV2FromRepositoryPayload
"""
Deletes a repository link from a project.
"""
@@ -29307,6 +29449,14 @@ enum ProjectNextFieldType {
reason: "The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2023-01-01 UTC."
)
"""
Tracked by
"""
TRACKED_BY
@deprecated(
reason: "The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2023-01-01 UTC."
)
"""
Tracks
"""
@@ -30398,6 +30548,11 @@ enum ProjectV2FieldType {
"""
TITLE
"""
Tracked by
"""
TRACKED_BY
"""
Tracks
"""
@@ -40238,6 +40393,11 @@ type Repository implements Node & PackageOwner & ProjectOwner & ProjectV2Recent
"""
fundingLinks: [FundingLink!]!
"""
Are discussions available on this repository?
"""
hasDiscussionsEnabled: Boolean!
"""
Indicates if the repository has issues feature enabled.
"""
@@ -48939,6 +49099,41 @@ An RFC 3986, RFC 3987, and RFC 6570 (level 4) compliant URI string.
"""
scalar URI
"""
Autogenerated input type of UnarchiveProjectV2Item
"""
input UnarchiveProjectV2ItemInput {
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String
"""
The ID of the ProjectV2Item to unarchive.
"""
itemId: ID! @possibleTypes(concreteTypes: ["ProjectV2Item"])
"""
The ID of the Project to archive the item from.
"""
projectId: ID! @possibleTypes(concreteTypes: ["ProjectV2"])
}
"""
Autogenerated return type of UnarchiveProjectV2Item
"""
type UnarchiveProjectV2ItemPayload {
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String
"""
The item unarchived from the project.
"""
item: ProjectV2Item
}
"""
Autogenerated input type of UnarchiveRepository
"""
@@ -49143,6 +49338,41 @@ type UnlabeledEvent implements Node {
labelable: Labelable!
}
"""
Autogenerated input type of UnlinkProjectV2FromRepository
"""
input UnlinkProjectV2FromRepositoryInput {
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String
"""
The ID of the project to unlink from the repository.
"""
projectId: ID! @possibleTypes(concreteTypes: ["ProjectV2"])
"""
The ID of the repository to unlink from the project.
"""
repositoryId: ID! @possibleTypes(concreteTypes: ["Repository"])
}
"""
Autogenerated return type of UnlinkProjectV2FromRepository
"""
type UnlinkProjectV2FromRepositoryPayload {
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String
"""
The repository the project is no longer linked to.
"""
repository: Repository
}
"""
Autogenerated input type of UnlinkRepositoryFromProject
"""
@@ -49575,6 +49805,17 @@ input UpdateBranchProtectionRuleInput {
"""
isAdminEnforced: Boolean
"""
Whether users can pull changes from upstream when the branch is locked. Set to
`true` to allow fork syncing. Set to `false` to prevent fork syncing.
"""
lockAllowsFetchAndMerge: Boolean
"""
Whether to set the branch as read-only. If this is true, users will not be able to push to the branch.
"""
lockBranch: Boolean
"""
The glob-like pattern used to determine matching branches.
"""
@@ -49585,6 +49826,11 @@ input UpdateBranchProtectionRuleInput {
"""
pushActorIds: [ID!]
"""
Whether someone other than the person who last pushed to the branch must approve this pull request
"""
requireLastPushApproval: Boolean
"""
Number of approving reviews required to update matching branches.
"""
@@ -51797,6 +52043,11 @@ input UpdateRepositoryInput {
"""
description: String
"""
Indicates if the repository should have the discussions feature enabled.
"""
hasDiscussionsEnabled: Boolean
"""
Indicates if the repository should have the issues feature enabled.
"""