diff --git a/.changeset/brown-owls-bathe.md b/.changeset/brown-owls-bathe.md new file mode 100644 index 00000000..8341453d --- /dev/null +++ b/.changeset/brown-owls-bathe.md @@ -0,0 +1,5 @@ +--- +"github-actions-cloudflare-pages": patch +--- + +chore(deps-dev): upgrade @graphql-codegen/client-preset from 5.3.0 to 6.0.0 diff --git a/.changeset/five-melons-attend.md b/.changeset/five-melons-attend.md new file mode 100644 index 00000000..d2d0da35 --- /dev/null +++ b/.changeset/five-melons-attend.md @@ -0,0 +1,5 @@ +--- +"github-actions-cloudflare-pages": patch +--- + +chore(deps-dev): bump graphql from 16.13.2 to 16.14.0 diff --git a/.changeset/ripe-tips-lie.md b/.changeset/ripe-tips-lie.md new file mode 100644 index 00000000..93222f98 --- /dev/null +++ b/.changeset/ripe-tips-lie.md @@ -0,0 +1,5 @@ +--- +"github-actions-cloudflare-pages": patch +--- + +chore(deps-dev): upgrade @graphql-codegen/cli from 6.3.1 to 7.0.0 diff --git a/__generated__/gql/graphql.ts b/__generated__/gql/graphql.ts index c164c675..290debb2 100644 --- a/__generated__/gql/graphql.ts +++ b/__generated__/gql/graphql.ts @@ -1,36588 +1,68 @@ /* eslint-disable */ -import type { DocumentTypeDecoration } from '@graphql-typed-document-node/core'; -export type Maybe = T | null; -export type InputMaybe = T | null | undefined; -export type Exact = { [K in keyof T]: T[K] }; -export type MakeOptional = Omit & { [SubKey in K]?: Maybe }; -export type MakeMaybe = Omit & { [SubKey in K]: Maybe }; -export type MakeEmpty = { [_ in K]?: never }; +/** Internal type. DO NOT USE DIRECTLY. */ +type Exact = { [K in keyof T]: T[K] }; +/** Internal type. DO NOT USE DIRECTLY. */ export type Incremental = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never }; -/** All built-in and custom scalars, mapped to their actual values */ -export type Scalars = { - ID: { input: string; output: string; } - String: { input: string; output: string; } - Boolean: { input: boolean; output: boolean; } - Int: { input: number; output: number; } - Float: { input: number; output: number; } - /** A (potentially binary) string encoded using base64. */ - Base64String: { input: any; output: any; } - /** - * Represents non-fractional signed whole numeric values. Since the value may - * exceed the size of a 32-bit integer, it's encoded as a string. - */ - BigInt: { input: any; output: any; } - /** - * A custom property value can be either a string or an array of strings. All - * property types support only a single string value, except for the multi-select - * type, which supports only a string array. - */ - CustomPropertyValue: { input: any; output: any; } - /** An ISO-8601 encoded date string. */ - Date: { input: any; output: any; } - /** An ISO-8601 encoded UTC date string. */ - DateTime: { input: any; output: any; } - /** A Git object ID. */ - GitObjectID: { input: string; output: string; } - /** A fully qualified reference name (e.g. `refs/heads/master`). */ - GitRefname: { input: any; output: any; } - /** Git SSH string */ - GitSSHRemote: { input: any; output: any; } - /** An ISO-8601 encoded date string. Unlike the DateTime type, GitTimestamp is not converted in UTC. */ - GitTimestamp: { input: any; output: any; } - /** A string containing HTML code. */ - HTML: { input: any; output: any; } - /** An ISO-8601 encoded UTC date string with millisecond precision. */ - PreciseDateTime: { input: any; output: any; } - /** An RFC 3986, RFC 3987, and RFC 6570 (level 4) compliant URI string. */ - URI: { input: string; output: string; } - /** A valid x509 certificate string */ - X509Certificate: { input: any; output: any; } - _Any: { input: any; output: any; } -}; - -/** Autogenerated input type of AbortQueuedMigrations */ -export type AbortQueuedMigrationsInput = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: InputMaybe; - /** The ID of the organization that is running the migrations. */ - readonly ownerId: Scalars['ID']['input']; -}; - -/** Autogenerated return type of AbortQueuedMigrations. */ -export type AbortQueuedMigrationsPayload = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: Maybe; - /** Did the operation succeed? */ - readonly success?: Maybe; -}; - -/** Autogenerated input type of AbortRepositoryMigration */ -export type AbortRepositoryMigrationInput = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: InputMaybe; - /** The ID of the migration to be aborted. */ - readonly migrationId: Scalars['ID']['input']; -}; - -/** Autogenerated return type of AbortRepositoryMigration. */ -export type AbortRepositoryMigrationPayload = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: Maybe; - /** Did the operation succeed? */ - readonly success?: Maybe; -}; - -/** Autogenerated input type of AcceptEnterpriseAdministratorInvitation */ -export type AcceptEnterpriseAdministratorInvitationInput = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: InputMaybe; - /** The id of the invitation being accepted */ - readonly invitationId: Scalars['ID']['input']; -}; - -/** Autogenerated return type of AcceptEnterpriseAdministratorInvitation. */ -export type AcceptEnterpriseAdministratorInvitationPayload = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: Maybe; - /** The invitation that was accepted. */ - readonly invitation?: Maybe; - /** A message confirming the result of accepting an administrator invitation. */ - readonly message?: Maybe; -}; - -/** Autogenerated input type of AcceptEnterpriseMemberInvitation */ -export type AcceptEnterpriseMemberInvitationInput = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: InputMaybe; - /** The id of the invitation being accepted */ - readonly invitationId: Scalars['ID']['input']; -}; - -/** Autogenerated return type of AcceptEnterpriseMemberInvitation. */ -export type AcceptEnterpriseMemberInvitationPayload = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: Maybe; - /** The invitation that was accepted. */ - readonly invitation?: Maybe; - /** A message confirming the result of accepting an unaffiliated member invitation. */ - readonly message?: Maybe; -}; - -/** Autogenerated input type of AcceptTopicSuggestion */ -export type AcceptTopicSuggestionInput = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: InputMaybe; - /** - * The name of the suggested topic. - * - * **Upcoming Change on 2024-04-01 UTC** - * **Description:** `name` will be removed. - * **Reason:** Suggested topics are no longer supported - */ - readonly name?: InputMaybe; - /** - * The Node ID of the repository. - * - * **Upcoming Change on 2024-04-01 UTC** - * **Description:** `repositoryId` will be removed. - * **Reason:** Suggested topics are no longer supported - */ - readonly repositoryId?: InputMaybe; -}; - -/** Autogenerated return type of AcceptTopicSuggestion. */ -export type AcceptTopicSuggestionPayload = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: Maybe; - /** - * The accepted topic. - * @deprecated Suggested topics are no longer supported Removal on 2024-04-01 UTC. - */ - readonly topic?: Maybe; -}; - -/** Autogenerated input type of AccessUserNamespaceRepository */ -export type AccessUserNamespaceRepositoryInput = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: InputMaybe; - /** The ID of the enterprise owning the user namespace repository. */ - readonly enterpriseId: Scalars['ID']['input']; - /** The ID of the user namespace repository to access. */ - readonly repositoryId: Scalars['ID']['input']; -}; - -/** Autogenerated return type of AccessUserNamespaceRepository. */ -export type AccessUserNamespaceRepositoryPayload = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: Maybe; - /** The time that repository access expires at */ - readonly expiresAt?: Maybe; - /** The repository that is temporarily accessible. */ - readonly repository?: Maybe; -}; - -/** Represents an object which can take actions on GitHub. Typically a User or Bot. */ -export type Actor = { - /** A URL pointing to the actor's public avatar. */ - readonly avatarUrl: Scalars['URI']['output']; - /** The username of the actor. */ - readonly login: Scalars['String']['output']; - /** The HTTP path for this actor. */ - readonly resourcePath: Scalars['URI']['output']; - /** The HTTP URL for this actor. */ - readonly url: Scalars['URI']['output']; -}; - - -/** Represents an object which can take actions on GitHub. Typically a User or Bot. */ -export type ActorAvatarUrlArgs = { - size?: InputMaybe; -}; - -/** The connection type for Actor. */ -export type ActorConnection = { - /** A list of edges. */ - readonly edges?: Maybe>>; - /** A list of nodes. */ - readonly nodes?: Maybe>>; - /** Information to aid in pagination. */ - readonly pageInfo: PageInfo; - /** Identifies the total count of items in the connection. */ - readonly totalCount: Scalars['Int']['output']; -}; - -/** An edge in a connection. */ -export type ActorEdge = { - /** A cursor for use in pagination. */ - readonly cursor: Scalars['String']['output']; - /** The item at the end of the edge. */ - readonly node?: Maybe; -}; - -/** Location information for an actor */ -export type ActorLocation = { - /** City */ - readonly city?: Maybe; - /** Country name */ - readonly country?: Maybe; - /** Country code */ - readonly countryCode?: Maybe; - /** Region name */ - readonly region?: Maybe; - /** Region or state code */ - readonly regionCode?: Maybe; -}; - -/** The actor's type. */ -export enum ActorType { - /** Indicates a team actor. */ - Team = 'TEAM', - /** Indicates a user actor. */ - User = 'USER' -} - -/** Autogenerated input type of AddAssigneesToAssignable */ -export type AddAssigneesToAssignableInput = { - /** Configuration for assigning Copilot to this issue. */ - readonly agentAssignment?: InputMaybe; - /** The id of the assignable object to add assignees to. */ - readonly assignableId: Scalars['ID']['input']; - /** The ids of actors (users or bots) to add as assignees. */ - readonly assigneeIds: ReadonlyArray; - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: InputMaybe; -}; - -/** Autogenerated return type of AddAssigneesToAssignable. */ -export type AddAssigneesToAssignablePayload = { - /** The item that was assigned. */ - readonly assignable?: Maybe; - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: Maybe; -}; - -/** Autogenerated input type of AddBlockedBy */ -export type AddBlockedByInput = { - /** The ID of the issue that blocks the given issue. */ - readonly blockingIssueId: Scalars['ID']['input']; - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: InputMaybe; - /** The ID of the issue to be blocked. */ - readonly issueId: Scalars['ID']['input']; -}; - -/** Autogenerated return type of AddBlockedBy. */ -export type AddBlockedByPayload = { - /** The issue that is blocking the given issue. */ - readonly blockingIssue?: Maybe; - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: Maybe; - /** The issue that is blocked. */ - readonly issue?: Maybe; -}; - -/** Autogenerated input type of AddComment */ -export type AddCommentInput = { - /** The contents of the comment. */ - readonly body: Scalars['String']['input']; - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: InputMaybe; - /** The Node ID of the subject to modify. */ - readonly subjectId: Scalars['ID']['input']; -}; - -/** Autogenerated return type of AddComment. */ -export type AddCommentPayload = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: Maybe; - /** The edge from the subject's comment connection. */ - readonly commentEdge?: Maybe; - /** The subject */ - readonly subject?: Maybe; - /** The edge from the subject's timeline connection. */ - readonly timelineEdge?: Maybe; -}; - -/** Autogenerated input type of AddDiscussionComment */ -export type AddDiscussionCommentInput = { - /** The contents of the comment. */ - readonly body: Scalars['String']['input']; - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: InputMaybe; - /** The Node ID of the discussion to comment on. */ - readonly discussionId: Scalars['ID']['input']; - /** The Node ID of the discussion comment within this discussion to reply to. */ - readonly replyToId?: InputMaybe; -}; - -/** Autogenerated return type of AddDiscussionComment. */ -export type AddDiscussionCommentPayload = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: Maybe; - /** The newly created discussion comment. */ - readonly comment?: Maybe; -}; - -/** Autogenerated input type of AddDiscussionPollVote */ -export type AddDiscussionPollVoteInput = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: InputMaybe; - /** The Node ID of the discussion poll option to vote for. */ - readonly pollOptionId: Scalars['ID']['input']; -}; - -/** Autogenerated return type of AddDiscussionPollVote. */ -export type AddDiscussionPollVotePayload = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: Maybe; - /** The poll option that a vote was added to. */ - readonly pollOption?: Maybe; -}; - -/** Autogenerated input type of AddEnterpriseOrganizationMember */ -export type AddEnterpriseOrganizationMemberInput = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: InputMaybe; - /** The ID of the enterprise which owns the organization. */ - readonly enterpriseId: Scalars['ID']['input']; - /** The ID of the organization the users will be added to. */ - readonly organizationId: Scalars['ID']['input']; - /** The role to assign the users in the organization */ - readonly role?: InputMaybe; - /** The IDs of the enterprise members to add. */ - readonly userIds: ReadonlyArray; -}; - -/** Autogenerated return type of AddEnterpriseOrganizationMember. */ -export type AddEnterpriseOrganizationMemberPayload = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: Maybe; - /** The users who were added to the organization. */ - readonly users?: Maybe>; -}; - -/** Autogenerated input type of AddEnterpriseSupportEntitlement */ -export type AddEnterpriseSupportEntitlementInput = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: InputMaybe; - /** The ID of the Enterprise which the admin belongs to. */ - readonly enterpriseId: Scalars['ID']['input']; - /** The login of a member who will receive the support entitlement. */ - readonly login: Scalars['String']['input']; -}; - -/** Autogenerated return type of AddEnterpriseSupportEntitlement. */ -export type AddEnterpriseSupportEntitlementPayload = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: Maybe; - /** A message confirming the result of adding the support entitlement. */ - readonly message?: Maybe; -}; - -/** Autogenerated input type of AddLabelsToLabelable */ -export type AddLabelsToLabelableInput = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: InputMaybe; - /** The ids of the labels to add. */ - readonly labelIds: ReadonlyArray; - /** The id of the labelable object to add labels to. */ - readonly labelableId: Scalars['ID']['input']; -}; - -/** Autogenerated return type of AddLabelsToLabelable. */ -export type AddLabelsToLabelablePayload = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: Maybe; - /** The item that was labeled. */ - readonly labelable?: Maybe; -}; - -/** Autogenerated input type of AddProjectCard */ -export type AddProjectCardInput = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: InputMaybe; - /** The content of the card. Must be a member of the ProjectCardItem union */ - readonly contentId?: InputMaybe; - /** The note on the card. */ - readonly note?: InputMaybe; - /** The Node ID of the ProjectColumn. */ - readonly projectColumnId: Scalars['ID']['input']; -}; - -/** Autogenerated return type of AddProjectCard. */ -export type AddProjectCardPayload = { - /** The edge from the ProjectColumn's card connection. */ - readonly cardEdge?: Maybe; - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: Maybe; - /** The ProjectColumn */ - readonly projectColumn?: Maybe; -}; - -/** Autogenerated input type of AddProjectColumn */ -export type AddProjectColumnInput = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: InputMaybe; - /** The name of the column. */ - readonly name: Scalars['String']['input']; - /** The Node ID of the project. */ - readonly projectId: Scalars['ID']['input']; -}; - -/** Autogenerated return type of AddProjectColumn. */ -export type AddProjectColumnPayload = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: Maybe; - /** The edge from the project's column connection. */ - readonly columnEdge?: Maybe; - /** The project */ - readonly project?: Maybe; -}; - -/** Autogenerated input type of AddProjectV2DraftIssue */ -export type AddProjectV2DraftIssueInput = { - /** The IDs of the assignees of the draft issue. */ - readonly assigneeIds?: InputMaybe>; - /** The body of the draft issue. */ - readonly body?: InputMaybe; - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: InputMaybe; - /** The ID of the Project to add the draft issue to. */ - readonly projectId: Scalars['ID']['input']; - /** - * The title of the draft issue. A project item can also be created by providing - * the URL of an Issue or Pull Request if you have access. - */ - readonly title: Scalars['String']['input']; -}; - -/** Autogenerated return type of AddProjectV2DraftIssue. */ -export type AddProjectV2DraftIssuePayload = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: Maybe; - /** The draft issue added to the project. */ - readonly projectItem?: Maybe; -}; - -/** Autogenerated input type of AddProjectV2ItemById */ -export type AddProjectV2ItemByIdInput = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: InputMaybe; - /** The id of the Issue or Pull Request to add. */ - readonly contentId: Scalars['ID']['input']; - /** The ID of the Project to add the item to. */ - readonly projectId: Scalars['ID']['input']; -}; - -/** Autogenerated return type of AddProjectV2ItemById. */ -export type AddProjectV2ItemByIdPayload = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: Maybe; - /** The item added to the project. */ - readonly item?: Maybe; -}; - -/** Autogenerated input type of AddPullRequestReviewComment */ -export type AddPullRequestReviewCommentInput = { - /** - * The text of the comment. This field is required - * - * **Upcoming Change on 2023-10-01 UTC** - * **Description:** `body` will be removed. use addPullRequestReviewThread or addPullRequestReviewThreadReply instead - * **Reason:** We are deprecating the addPullRequestReviewComment mutation - */ - readonly body?: InputMaybe; - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: InputMaybe; - /** - * The SHA of the commit to comment on. - * - * **Upcoming Change on 2023-10-01 UTC** - * **Description:** `commitOID` will be removed. use addPullRequestReviewThread or addPullRequestReviewThreadReply instead - * **Reason:** We are deprecating the addPullRequestReviewComment mutation - */ - readonly commitOID?: InputMaybe; - /** - * The comment id to reply to. - * - * **Upcoming Change on 2023-10-01 UTC** - * **Description:** `inReplyTo` will be removed. use addPullRequestReviewThread or addPullRequestReviewThreadReply instead - * **Reason:** We are deprecating the addPullRequestReviewComment mutation - */ - readonly inReplyTo?: InputMaybe; - /** - * The relative path of the file to comment on. - * - * **Upcoming Change on 2023-10-01 UTC** - * **Description:** `path` will be removed. use addPullRequestReviewThread or addPullRequestReviewThreadReply instead - * **Reason:** We are deprecating the addPullRequestReviewComment mutation - */ - readonly path?: InputMaybe; - /** - * The line index in the diff to comment on. - * - * **Upcoming Change on 2023-10-01 UTC** - * **Description:** `position` will be removed. use addPullRequestReviewThread or addPullRequestReviewThreadReply instead - * **Reason:** We are deprecating the addPullRequestReviewComment mutation - */ - readonly position?: InputMaybe; - /** - * The node ID of the pull request reviewing - * - * **Upcoming Change on 2023-10-01 UTC** - * **Description:** `pullRequestId` will be removed. use - * addPullRequestReviewThread or addPullRequestReviewThreadReply instead - * **Reason:** We are deprecating the addPullRequestReviewComment mutation - */ - readonly pullRequestId?: InputMaybe; - /** - * The Node ID of the review to modify. - * - * **Upcoming Change on 2023-10-01 UTC** - * **Description:** `pullRequestReviewId` will be removed. use - * addPullRequestReviewThread or addPullRequestReviewThreadReply instead - * **Reason:** We are deprecating the addPullRequestReviewComment mutation - */ - readonly pullRequestReviewId?: InputMaybe; -}; - -/** Autogenerated return type of AddPullRequestReviewComment. */ -export type AddPullRequestReviewCommentPayload = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: Maybe; - /** The newly created comment. */ - readonly comment?: Maybe; - /** The edge from the review's comment connection. */ - readonly commentEdge?: Maybe; -}; - -/** Autogenerated input type of AddPullRequestReview */ -export type AddPullRequestReviewInput = { - /** The contents of the review body comment. */ - readonly body?: InputMaybe; - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: InputMaybe; - /** - * The review line comments. - * - * **Upcoming Change on 2023-10-01 UTC** - * **Description:** `comments` will be removed. use the `threads` argument instead - * **Reason:** We are deprecating comment fields that use diff-relative positioning - */ - readonly comments?: InputMaybe>>; - /** The commit OID the review pertains to. */ - readonly commitOID?: InputMaybe; - /** The event to perform on the pull request review. */ - readonly event?: InputMaybe; - /** The Node ID of the pull request to modify. */ - readonly pullRequestId: Scalars['ID']['input']; - /** The review line comment threads. */ - readonly threads?: InputMaybe>>; -}; - -/** Autogenerated return type of AddPullRequestReview. */ -export type AddPullRequestReviewPayload = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: Maybe; - /** The newly created pull request review. */ - readonly pullRequestReview?: Maybe; - /** The edge from the pull request's review connection. */ - readonly reviewEdge?: Maybe; -}; - -/** Autogenerated input type of AddPullRequestReviewThread */ -export type AddPullRequestReviewThreadInput = { - /** Body of the thread's first comment. */ - readonly body: Scalars['String']['input']; - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: InputMaybe; - /** - * The line of the blob to which the thread refers, required for line-level - * threads. The end of the line range for multi-line comments. - */ - readonly line?: InputMaybe; - /** Path to the file being commented on. */ - readonly path?: InputMaybe; - /** The node ID of the pull request reviewing */ - readonly pullRequestId?: InputMaybe; - /** The Node ID of the review to modify. */ - readonly pullRequestReviewId?: InputMaybe; - /** The side of the diff on which the line resides. For multi-line comments, this is the side for the end of the line range. */ - readonly side?: InputMaybe; - /** The first line of the range to which the comment refers. */ - readonly startLine?: InputMaybe; - /** The side of the diff on which the start line resides. */ - readonly startSide?: InputMaybe; - /** The level at which the comments in the corresponding thread are targeted, can be a diff line or a file */ - readonly subjectType?: InputMaybe; -}; - -/** Autogenerated return type of AddPullRequestReviewThread. */ -export type AddPullRequestReviewThreadPayload = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: Maybe; - /** The newly created thread. */ - readonly thread?: Maybe; -}; - -/** Autogenerated input type of AddPullRequestReviewThreadReply */ -export type AddPullRequestReviewThreadReplyInput = { - /** The text of the reply. */ - readonly body: Scalars['String']['input']; - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: InputMaybe; - /** The Node ID of the pending review to which the reply will belong. */ - readonly pullRequestReviewId?: InputMaybe; - /** The Node ID of the thread to which this reply is being written. */ - readonly pullRequestReviewThreadId: Scalars['ID']['input']; -}; - -/** Autogenerated return type of AddPullRequestReviewThreadReply. */ -export type AddPullRequestReviewThreadReplyPayload = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: Maybe; - /** The newly created reply. */ - readonly comment?: Maybe; -}; - -/** Autogenerated input type of AddReaction */ -export type AddReactionInput = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: InputMaybe; - /** The name of the emoji to react with. */ - readonly content: ReactionContent; - /** The Node ID of the subject to modify. */ - readonly subjectId: Scalars['ID']['input']; -}; - -/** Autogenerated return type of AddReaction. */ -export type AddReactionPayload = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: Maybe; - /** The reaction object. */ - readonly reaction?: Maybe; - /** The reaction groups for the subject. */ - readonly reactionGroups?: Maybe>; - /** The reactable subject. */ - readonly subject?: Maybe; -}; - -/** Autogenerated input type of AddStar */ -export type AddStarInput = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: InputMaybe; - /** The Starrable ID to star. */ - readonly starrableId: Scalars['ID']['input']; -}; - -/** Autogenerated return type of AddStar. */ -export type AddStarPayload = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: Maybe; - /** The starrable. */ - readonly starrable?: Maybe; -}; - -/** Autogenerated input type of AddSubIssue */ -export type AddSubIssueInput = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: InputMaybe; - /** The id of the issue. */ - readonly issueId: Scalars['ID']['input']; - /** Option to replace parent issue if one already exists */ - readonly replaceParent?: InputMaybe; - /** The id of the sub-issue. */ - readonly subIssueId?: InputMaybe; - /** The url of the sub-issue. */ - readonly subIssueUrl?: InputMaybe; -}; - -/** Autogenerated return type of AddSubIssue. */ -export type AddSubIssuePayload = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: Maybe; - /** The parent issue that the sub-issue was added to. */ - readonly issue?: Maybe; - /** The sub-issue of the parent. */ - readonly subIssue?: Maybe; -}; - -/** Autogenerated input type of AddUpvote */ -export type AddUpvoteInput = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: InputMaybe; - /** The Node ID of the discussion or comment to upvote. */ - readonly subjectId: Scalars['ID']['input']; -}; - -/** Autogenerated return type of AddUpvote. */ -export type AddUpvotePayload = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: Maybe; - /** The votable subject. */ - readonly subject?: Maybe; -}; - -/** Autogenerated input type of AddVerifiableDomain */ -export type AddVerifiableDomainInput = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: InputMaybe; - /** The URL of the domain */ - readonly domain: Scalars['URI']['input']; - /** The ID of the owner to add the domain to */ - readonly ownerId: Scalars['ID']['input']; -}; - -/** Autogenerated return type of AddVerifiableDomain. */ -export type AddVerifiableDomainPayload = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: Maybe; - /** The verifiable domain that was added. */ - readonly domain?: Maybe; -}; - -/** Represents an 'added_to_merge_queue' event on a given pull request. */ -export type AddedToMergeQueueEvent = Node & { - /** Identifies the actor who performed the event. */ - readonly actor?: Maybe; - /** Identifies the date and time when the object was created. */ - readonly createdAt: Scalars['DateTime']['output']; - /** The user who added this Pull Request to the merge queue */ - readonly enqueuer?: Maybe; - /** The Node ID of the AddedToMergeQueueEvent object */ - readonly id: Scalars['ID']['output']; - /** The merge queue where this pull request was added to. */ - readonly mergeQueue?: Maybe; - /** PullRequest referenced by event. */ - readonly pullRequest?: Maybe; -}; - -/** Represents a 'added_to_project' event on a given issue or pull request. */ -export type AddedToProjectEvent = Node & { - /** Identifies the actor who performed the event. */ - readonly actor?: Maybe; - /** Identifies the date and time when the object was created. */ - readonly createdAt: Scalars['DateTime']['output']; - /** - * Identifies the primary key from the database. - * @deprecated Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC. - */ - readonly databaseId?: Maybe; - /** The Node ID of the AddedToProjectEvent object */ - readonly id: Scalars['ID']['output']; - /** - * Project referenced by event. - * @deprecated Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC. - */ - readonly project?: Maybe; - /** - * Project card referenced by this project event. - * @deprecated Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC. - */ - readonly projectCard?: Maybe; - /** - * Column name referenced by this project event. - * @deprecated Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC. - */ - readonly projectColumnName: Scalars['String']['output']; -}; - -/** Represents a 'added_to_project_v2' event on a given issue or pull request. */ -export type AddedToProjectV2Event = Node & ProjectV2Event & { - /** Identifies the actor who performed the event. */ - readonly actor?: Maybe; - /** Identifies the date and time when the object was created. */ - readonly createdAt: Scalars['DateTime']['output']; - /** The Node ID of the AddedToProjectV2Event object */ - readonly id: Scalars['ID']['output']; - /** Project referenced by event. */ - readonly project?: Maybe; - /** Did this event result from workflow automation? */ - readonly wasAutomated: Scalars['Boolean']['output']; -}; - -/** Represents configuration for assigning Copilot to an issue (public variant) */ -export type AgentAssignmentInput = { - /** The base ref/branch for the repository. Defaults to the default branch if not provided. */ - readonly baseRef?: InputMaybe; - /** Custom agent for Copilot. */ - readonly customAgent?: InputMaybe; - /** Custom instructions for Copilot. */ - readonly customInstructions?: InputMaybe; - /** The Node ID of the target repository where Copilot should work. Defaults to the issue's repository if not provided. */ - readonly targetRepositoryId?: InputMaybe; -}; - -/** Copilot Agentic fields in context of the current viewer. */ -export type Agentic = { - /** Channel value for subscribing to live updates for session creations. */ - readonly viewerCopilotAgentCreatesChannel?: Maybe; - /** Channel value for subscribing to live updates for session log updates. */ - readonly viewerCopilotAgentLogUpdatesChannel?: Maybe; - /** Channel value for subscribing to live updates for task updates. */ - readonly viewerCopilotAgentTaskUpdatesChannel?: Maybe; - /** Channel value for subscribing to live updates for session updates. */ - readonly viewerCopilotAgentUpdatesChannel?: Maybe; -}; - -/** An announcement banner for an enterprise or organization. */ -export type AnnouncementBanner = { - /** The date the announcement was created */ - readonly createdAt: Scalars['DateTime']['output']; - /** The expiration date of the announcement, if any */ - readonly expiresAt?: Maybe; - /** Whether the announcement can be dismissed by the user */ - readonly isUserDismissible: Scalars['Boolean']['output']; - /** The text of the announcement */ - readonly message?: Maybe; -}; - -/** A GitHub App. */ -export type App = Node & { - /** The client ID of the app. */ - readonly clientId?: Maybe; - /** Identifies the date and time when the object was created. */ - readonly createdAt: Scalars['DateTime']['output']; - /** Identifies the primary key from the database. */ - readonly databaseId?: Maybe; - /** The description of the app. */ - readonly description?: Maybe; - /** The Node ID of the App object */ - readonly id: Scalars['ID']['output']; - /** The IP addresses of the app. */ - readonly ipAllowListEntries: IpAllowListEntryConnection; - /** The hex color code, without the leading '#', for the logo background. */ - readonly logoBackgroundColor: Scalars['String']['output']; - /** A URL pointing to the app's logo. */ - readonly logoUrl: Scalars['URI']['output']; - /** The name of the app. */ - readonly name: Scalars['String']['output']; - /** A slug based on the name of the app for use in URLs. */ - readonly slug: Scalars['String']['output']; - /** Identifies the date and time when the object was last updated. */ - readonly updatedAt: Scalars['DateTime']['output']; - /** The URL to the app's homepage. */ - readonly url: Scalars['URI']['output']; -}; - - -/** A GitHub App. */ -export type AppIpAllowListEntriesArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - orderBy?: InputMaybe; -}; - - -/** A GitHub App. */ -export type AppLogoUrlArgs = { - size?: InputMaybe; -}; - -/** Autogenerated input type of ApproveDeployments */ -export type ApproveDeploymentsInput = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: InputMaybe; - /** Optional comment for approving deployments */ - readonly comment?: InputMaybe; - /** The ids of environments to reject deployments */ - readonly environmentIds: ReadonlyArray; - /** The node ID of the workflow run containing the pending deployments. */ - readonly workflowRunId: Scalars['ID']['input']; -}; - -/** Autogenerated return type of ApproveDeployments. */ -export type ApproveDeploymentsPayload = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: Maybe; - /** The affected deployments. */ - readonly deployments?: Maybe>; -}; - -/** Autogenerated input type of ApproveVerifiableDomain */ -export type ApproveVerifiableDomainInput = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: InputMaybe; - /** The ID of the verifiable domain to approve. */ - readonly id: Scalars['ID']['input']; -}; - -/** Autogenerated return type of ApproveVerifiableDomain. */ -export type ApproveVerifiableDomainPayload = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: Maybe; - /** The verifiable domain that was approved. */ - readonly domain?: Maybe; -}; - -/** Autogenerated input type of ArchiveProjectV2Item */ -export type ArchiveProjectV2ItemInput = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: InputMaybe; - /** The ID of the ProjectV2Item to archive. */ - readonly itemId: Scalars['ID']['input']; - /** The ID of the Project to archive the item from. */ - readonly projectId: Scalars['ID']['input']; -}; - -/** Autogenerated return type of ArchiveProjectV2Item. */ -export type ArchiveProjectV2ItemPayload = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: Maybe; - /** The item archived from the project. */ - readonly item?: Maybe; -}; - -/** Autogenerated input type of ArchivePullRequest */ -export type ArchivePullRequestInput = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: InputMaybe; - /** The Node ID of the pull request to archive. */ - readonly pullRequestId: Scalars['ID']['input']; -}; - -/** Autogenerated return type of ArchivePullRequest. */ -export type ArchivePullRequestPayload = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: Maybe; - /** The pull request that was archived. */ - readonly pullRequest?: Maybe; -}; - -/** Autogenerated input type of ArchiveRepository */ -export type ArchiveRepositoryInput = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: InputMaybe; - /** The ID of the repository to mark as archived. */ - readonly repositoryId: Scalars['ID']['input']; -}; - -/** Autogenerated return type of ArchiveRepository. */ -export type ArchiveRepositoryPayload = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: Maybe; - /** The repository that was marked as archived. */ - readonly repository?: Maybe; -}; - -/** An object that can have users assigned to it. */ -export type Assignable = { - /** A list of actors assigned to this object. */ - readonly assignedActors: AssigneeConnection; - /** A list of Users assigned to this object. */ - readonly assignees: UserConnection; - /** A list of suggested actors to assign to this object */ - readonly suggestedActors: AssigneeConnection; -}; - - -/** An object that can have users assigned to it. */ -export type AssignableAssignedActorsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; -}; - - -/** An object that can have users assigned to it. */ -export type AssignableAssigneesArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; -}; - - -/** An object that can have users assigned to it. */ -export type AssignableSuggestedActorsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - query?: InputMaybe; -}; - -/** Represents an 'assigned' event on any assignable object. */ -export type AssignedEvent = Node & { - /** Identifies the actor who performed the event. */ - readonly actor?: Maybe; - /** Identifies the assignable associated with the event. */ - readonly assignable: Assignable; - /** Identifies the user or mannequin that was assigned. */ - readonly assignee?: Maybe; - /** Identifies the date and time when the object was created. */ - readonly createdAt: Scalars['DateTime']['output']; - /** The Node ID of the AssignedEvent object */ - readonly id: Scalars['ID']['output']; - /** - * Identifies the user who was assigned. - * @deprecated Assignees can now be mannequins. Use the `assignee` field instead. Removal on 2020-01-01 UTC. - */ - readonly user?: Maybe; -}; - -/** Types that can be assigned to issues. */ -export type Assignee = Bot | Mannequin | Organization | User; - -/** The connection type for Assignee. */ -export type AssigneeConnection = { - /** A list of edges. */ - readonly edges?: Maybe>>; - /** A list of nodes. */ - readonly nodes?: Maybe>>; - /** Information to aid in pagination. */ - readonly pageInfo: PageInfo; - /** Identifies the total count of items in the connection. */ - readonly totalCount: Scalars['Int']['output']; -}; - -/** An edge in a connection. */ -export type AssigneeEdge = { - /** A cursor for use in pagination. */ - readonly cursor: Scalars['String']['output']; - /** The item at the end of the edge. */ - readonly node?: Maybe; -}; - -/** An entry in the audit log. */ -export type AuditEntry = { - /** - * The action name - * @deprecated The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC. - */ - readonly action: Scalars['String']['output']; - /** - * The user who initiated the action - * @deprecated The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC. - */ - readonly actor?: Maybe; - /** - * The IP address of the actor - * @deprecated The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC. - */ - readonly actorIp?: Maybe; - /** - * A readable representation of the actor's location - * @deprecated The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC. - */ - readonly actorLocation?: Maybe; - /** - * The username of the user who initiated the action - * @deprecated The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC. - */ - readonly actorLogin?: Maybe; - /** - * The HTTP path for the actor. - * @deprecated The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC. - */ - readonly actorResourcePath?: Maybe; - /** - * The HTTP URL for the actor. - * @deprecated The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC. - */ - readonly actorUrl?: Maybe; - /** - * The time the action was initiated - * @deprecated The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC. - */ - readonly createdAt: Scalars['PreciseDateTime']['output']; - /** - * The corresponding operation type for the action - * @deprecated The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC. - */ - readonly operationType?: Maybe; - /** - * The user affected by the action - * @deprecated The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC. - */ - readonly user?: Maybe; - /** - * For actions involving two users, the actor is the initiator and the user is the affected user. - * @deprecated The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC. - */ - readonly userLogin?: Maybe; - /** - * The HTTP path for the user. - * @deprecated The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC. - */ - readonly userResourcePath?: Maybe; - /** - * The HTTP URL for the user. - * @deprecated The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC. - */ - readonly userUrl?: Maybe; -}; - -/** Types that can initiate an audit log event. */ -export type AuditEntryActor = Bot | Organization | User; - -/** Ordering options for Audit Log connections. */ -export type AuditLogOrder = { - /** The ordering direction. */ - readonly direction?: InputMaybe; - /** The field to order Audit Logs by. */ - readonly field?: InputMaybe; -}; - -/** Properties by which Audit Log connections can be ordered. */ -export enum AuditLogOrderField { - /** Order audit log entries by timestamp */ - CreatedAt = 'CREATED_AT' -} - -/** Represents a 'auto_merge_disabled' event on a given pull request. */ -export type AutoMergeDisabledEvent = Node & { - /** Identifies the actor who performed the event. */ - readonly actor?: Maybe; - /** Identifies the date and time when the object was created. */ - readonly createdAt: Scalars['DateTime']['output']; - /** The user who disabled auto-merge for this Pull Request */ - readonly disabler?: Maybe; - /** The Node ID of the AutoMergeDisabledEvent object */ - readonly id: Scalars['ID']['output']; - /** PullRequest referenced by event */ - readonly pullRequest?: Maybe; - /** The reason auto-merge was disabled */ - readonly reason?: Maybe; - /** The reason_code relating to why auto-merge was disabled */ - readonly reasonCode?: Maybe; -}; - -/** Represents a 'auto_merge_enabled' event on a given pull request. */ -export type AutoMergeEnabledEvent = Node & { - /** Identifies the actor who performed the event. */ - readonly actor?: Maybe; - /** Identifies the date and time when the object was created. */ - readonly createdAt: Scalars['DateTime']['output']; - /** The user who enabled auto-merge for this Pull Request */ - readonly enabler?: Maybe; - /** The Node ID of the AutoMergeEnabledEvent object */ - readonly id: Scalars['ID']['output']; - /** PullRequest referenced by event. */ - readonly pullRequest?: Maybe; -}; - -/** Represents an auto-merge request for a pull request */ -export type AutoMergeRequest = { - /** The email address of the author of this auto-merge request. */ - readonly authorEmail?: Maybe; - /** - * The commit message of the auto-merge request. If a merge queue is required by - * the base branch, this value will be set by the merge queue when merging. - */ - readonly commitBody?: Maybe; - /** - * The commit title of the auto-merge request. If a merge queue is required by - * the base branch, this value will be set by the merge queue when merging - */ - readonly commitHeadline?: Maybe; - /** When was this auto-merge request was enabled. */ - readonly enabledAt?: Maybe; - /** The actor who created the auto-merge request. */ - readonly enabledBy?: Maybe; - /** - * The merge method of the auto-merge request. If a merge queue is required by - * the base branch, this value will be set by the merge queue when merging. - */ - readonly mergeMethod: PullRequestMergeMethod; - /** The pull request that this auto-merge request is set against. */ - readonly pullRequest: PullRequest; -}; - -/** Represents a 'auto_rebase_enabled' event on a given pull request. */ -export type AutoRebaseEnabledEvent = Node & { - /** Identifies the actor who performed the event. */ - readonly actor?: Maybe; - /** Identifies the date and time when the object was created. */ - readonly createdAt: Scalars['DateTime']['output']; - /** The user who enabled auto-merge (rebase) for this Pull Request */ - readonly enabler?: Maybe; - /** The Node ID of the AutoRebaseEnabledEvent object */ - readonly id: Scalars['ID']['output']; - /** PullRequest referenced by event. */ - readonly pullRequest?: Maybe; -}; - -/** Represents a 'auto_squash_enabled' event on a given pull request. */ -export type AutoSquashEnabledEvent = Node & { - /** Identifies the actor who performed the event. */ - readonly actor?: Maybe; - /** Identifies the date and time when the object was created. */ - readonly createdAt: Scalars['DateTime']['output']; - /** The user who enabled auto-merge (squash) for this Pull Request */ - readonly enabler?: Maybe; - /** The Node ID of the AutoSquashEnabledEvent object */ - readonly id: Scalars['ID']['output']; - /** PullRequest referenced by event. */ - readonly pullRequest?: Maybe; -}; - -/** Represents a 'automatic_base_change_failed' event on a given pull request. */ -export type AutomaticBaseChangeFailedEvent = Node & { - /** Identifies the actor who performed the event. */ - readonly actor?: Maybe; - /** Identifies the date and time when the object was created. */ - readonly createdAt: Scalars['DateTime']['output']; - /** The Node ID of the AutomaticBaseChangeFailedEvent object */ - readonly id: Scalars['ID']['output']; - /** The new base for this PR */ - readonly newBase: Scalars['String']['output']; - /** The old base for this PR */ - readonly oldBase: Scalars['String']['output']; - /** PullRequest referenced by event. */ - readonly pullRequest: PullRequest; -}; - -/** Represents a 'automatic_base_change_succeeded' event on a given pull request. */ -export type AutomaticBaseChangeSucceededEvent = Node & { - /** Identifies the actor who performed the event. */ - readonly actor?: Maybe; - /** Identifies the date and time when the object was created. */ - readonly createdAt: Scalars['DateTime']['output']; - /** The Node ID of the AutomaticBaseChangeSucceededEvent object */ - readonly id: Scalars['ID']['output']; - /** The new base for this PR */ - readonly newBase: Scalars['String']['output']; - /** The old base for this PR */ - readonly oldBase: Scalars['String']['output']; - /** PullRequest referenced by event. */ - readonly pullRequest: PullRequest; -}; - -/** Represents a 'base_ref_changed' event on a given issue or pull request. */ -export type BaseRefChangedEvent = Node & { - /** Identifies the actor who performed the event. */ - readonly actor?: Maybe; - /** Identifies the date and time when the object was created. */ - readonly createdAt: Scalars['DateTime']['output']; - /** Identifies the name of the base ref for the pull request after it was changed. */ - readonly currentRefName: Scalars['String']['output']; - /** Identifies the primary key from the database. */ - readonly databaseId?: Maybe; - /** The Node ID of the BaseRefChangedEvent object */ - readonly id: Scalars['ID']['output']; - /** Identifies the name of the base ref for the pull request before it was changed. */ - readonly previousRefName: Scalars['String']['output']; - /** PullRequest referenced by event. */ - readonly pullRequest: PullRequest; -}; - -/** Represents a 'base_ref_deleted' event on a given pull request. */ -export type BaseRefDeletedEvent = Node & { - /** Identifies the actor who performed the event. */ - readonly actor?: Maybe; - /** Identifies the name of the Ref associated with the `base_ref_deleted` event. */ - readonly baseRefName?: Maybe; - /** Identifies the date and time when the object was created. */ - readonly createdAt: Scalars['DateTime']['output']; - /** The Node ID of the BaseRefDeletedEvent object */ - readonly id: Scalars['ID']['output']; - /** PullRequest referenced by event. */ - readonly pullRequest?: Maybe; -}; - -/** Represents a 'base_ref_force_pushed' event on a given pull request. */ -export type BaseRefForcePushedEvent = Node & { - /** Identifies the actor who performed the event. */ - readonly actor?: Maybe; - /** Identifies the after commit SHA for the 'base_ref_force_pushed' event. */ - readonly afterCommit?: Maybe; - /** Identifies the before commit SHA for the 'base_ref_force_pushed' event. */ - readonly beforeCommit?: Maybe; - /** Identifies the date and time when the object was created. */ - readonly createdAt: Scalars['DateTime']['output']; - /** The Node ID of the BaseRefForcePushedEvent object */ - readonly id: Scalars['ID']['output']; - /** PullRequest referenced by event. */ - readonly pullRequest: PullRequest; - /** Identifies the fully qualified ref name for the 'base_ref_force_pushed' event. */ - readonly ref?: Maybe; -}; - -/** Represents a Git blame. */ -export type Blame = { - /** The list of ranges from a Git blame. */ - readonly ranges: ReadonlyArray; -}; - -/** Represents a range of information from a Git blame. */ -export type BlameRange = { - /** - * Identifies the recency of the change, from 1 (new) to 10 (old). This is - * calculated as a 2-quantile and determines the length of distance between the - * median age of all the changes in the file and the recency of the current - * range's change. - */ - readonly age: Scalars['Int']['output']; - /** Identifies the line author */ - readonly commit: Commit; - /** The ending line for the range */ - readonly endingLine: Scalars['Int']['output']; - /** The starting line for the range */ - readonly startingLine: Scalars['Int']['output']; -}; - -/** Represents a Git blob. */ -export type Blob = GitObject & Node & { - /** An abbreviated version of the Git object ID */ - readonly abbreviatedOid: Scalars['String']['output']; - /** Byte size of Blob object */ - readonly byteSize: Scalars['Int']['output']; - /** The HTTP path for this Git object */ - readonly commitResourcePath: Scalars['URI']['output']; - /** The HTTP URL for this Git object */ - readonly commitUrl: Scalars['URI']['output']; - /** The Node ID of the Blob object */ - readonly id: Scalars['ID']['output']; - /** Indicates whether the Blob is binary or text. Returns null if unable to determine the encoding. */ - readonly isBinary?: Maybe; - /** Indicates whether the contents is truncated */ - readonly isTruncated: Scalars['Boolean']['output']; - /** The Git object ID */ - readonly oid: Scalars['GitObjectID']['output']; - /** The Repository the Git object belongs to */ - readonly repository: Repository; - /** UTF8 text data or null if the Blob is binary */ - readonly text?: Maybe; -}; - -/** Represents a 'blocked_by_added' event on a given issue. */ -export type BlockedByAddedEvent = Node & { - /** Identifies the actor who performed the event. */ - readonly actor?: Maybe; - /** The blocking issue that was added. */ - readonly blockingIssue?: Maybe; - /** Identifies the date and time when the object was created. */ - readonly createdAt: Scalars['DateTime']['output']; - /** The Node ID of the BlockedByAddedEvent object */ - readonly id: Scalars['ID']['output']; -}; - -/** Represents a 'blocked_by_removed' event on a given issue. */ -export type BlockedByRemovedEvent = Node & { - /** Identifies the actor who performed the event. */ - readonly actor?: Maybe; - /** The blocking issue that was removed. */ - readonly blockingIssue?: Maybe; - /** Identifies the date and time when the object was created. */ - readonly createdAt: Scalars['DateTime']['output']; - /** The Node ID of the BlockedByRemovedEvent object */ - readonly id: Scalars['ID']['output']; -}; - -/** Represents a 'blocking_added' event on a given issue. */ -export type BlockingAddedEvent = Node & { - /** Identifies the actor who performed the event. */ - readonly actor?: Maybe; - /** The blocked issue that was added. */ - readonly blockedIssue?: Maybe; - /** Identifies the date and time when the object was created. */ - readonly createdAt: Scalars['DateTime']['output']; - /** The Node ID of the BlockingAddedEvent object */ - readonly id: Scalars['ID']['output']; -}; - -/** Represents a 'blocking_removed' event on a given issue. */ -export type BlockingRemovedEvent = Node & { - /** Identifies the actor who performed the event. */ - readonly actor?: Maybe; - /** The blocked issue that was removed. */ - readonly blockedIssue?: Maybe; - /** Identifies the date and time when the object was created. */ - readonly createdAt: Scalars['DateTime']['output']; - /** The Node ID of the BlockingRemovedEvent object */ - readonly id: Scalars['ID']['output']; -}; - -/** A special type of user which takes actions on behalf of GitHub Apps. */ -export type Bot = Actor & Node & UniformResourceLocatable & { - /** A URL pointing to the GitHub App's public avatar. */ - readonly avatarUrl: Scalars['URI']['output']; - /** Identifies the date and time when the object was created. */ - readonly createdAt: Scalars['DateTime']['output']; - /** Identifies the primary key from the database. */ - readonly databaseId?: Maybe; - /** The Node ID of the Bot object */ - readonly id: Scalars['ID']['output']; - /** The username of the actor. */ - readonly login: Scalars['String']['output']; - /** The HTTP path for this bot */ - readonly resourcePath: Scalars['URI']['output']; - /** Identifies the date and time when the object was last updated. */ - readonly updatedAt: Scalars['DateTime']['output']; - /** The HTTP URL for this bot */ - readonly url: Scalars['URI']['output']; -}; - - -/** A special type of user which takes actions on behalf of GitHub Apps. */ -export type BotAvatarUrlArgs = { - size?: InputMaybe; -}; - -/** Types which can be actors for `BranchActorAllowance` objects. */ -export type BranchActorAllowanceActor = App | Team | User; - -/** Parameters to be used for the branch_name_pattern rule */ -export type BranchNamePatternParameters = { - /** How this rule appears when configuring it. */ - readonly name?: Maybe; - /** If true, the rule will fail if the pattern matches. */ - readonly negate: Scalars['Boolean']['output']; - /** The operator to use for matching. */ - readonly operator: Scalars['String']['output']; - /** The pattern to match with. */ - readonly pattern: Scalars['String']['output']; -}; - -/** Parameters to be used for the branch_name_pattern rule */ -export type BranchNamePatternParametersInput = { - /** How this rule appears when configuring it. */ - readonly name?: InputMaybe; - /** If true, the rule will fail if the pattern matches. */ - readonly negate?: InputMaybe; - /** The operator to use for matching. */ - readonly operator: Scalars['String']['input']; - /** The pattern to match with. */ - readonly pattern: Scalars['String']['input']; -}; - -/** A branch protection rule. */ -export type BranchProtectionRule = Node & { - /** Can this branch be deleted. */ - readonly allowsDeletions: Scalars['Boolean']['output']; - /** Are force pushes allowed on this branch. */ - readonly allowsForcePushes: Scalars['Boolean']['output']; - /** Is branch creation a protected operation. */ - readonly blocksCreations: Scalars['Boolean']['output']; - /** A list of conflicts matching branches protection rule and other branch protection rules */ - readonly branchProtectionRuleConflicts: BranchProtectionRuleConflictConnection; - /** A list of actors able to force push for this branch protection rule. */ - readonly bypassForcePushAllowances: BypassForcePushAllowanceConnection; - /** A list of actors able to bypass PRs for this branch protection rule. */ - readonly bypassPullRequestAllowances: BypassPullRequestAllowanceConnection; - /** The actor who created this branch protection rule. */ - readonly creator?: Maybe; - /** Identifies the primary key from the database. */ - readonly databaseId?: Maybe; - /** Will new commits pushed to matching branches dismiss pull request review approvals. */ - readonly dismissesStaleReviews: Scalars['Boolean']['output']; - /** The Node ID of the BranchProtectionRule object */ - readonly id: Scalars['ID']['output']; - /** Can admins override branch protection. */ - readonly isAdminEnforced: Scalars['Boolean']['output']; - /** - * 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. - */ - readonly lockAllowsFetchAndMerge: Scalars['Boolean']['output']; - /** Whether to set the branch as read-only. If this is true, users will not be able to push to the branch. */ - readonly lockBranch: Scalars['Boolean']['output']; - /** Repository refs that are protected by this rule */ - readonly matchingRefs: RefConnection; - /** Identifies the protection rule pattern. */ - readonly pattern: Scalars['String']['output']; - /** A list push allowances for this branch protection rule. */ - readonly pushAllowances: PushAllowanceConnection; - /** The repository associated with this branch protection rule. */ - readonly repository?: Maybe; - /** Whether the most recent push must be approved by someone other than the person who pushed it */ - readonly requireLastPushApproval: Scalars['Boolean']['output']; - /** Number of approving reviews required to update matching branches. */ - readonly requiredApprovingReviewCount?: Maybe; - /** List of required deployment environments that must be deployed successfully to update matching branches */ - readonly requiredDeploymentEnvironments?: Maybe>>; - /** List of required status check contexts that must pass for commits to be accepted to matching branches. */ - readonly requiredStatusCheckContexts?: Maybe>>; - /** List of required status checks that must pass for commits to be accepted to matching branches. */ - readonly requiredStatusChecks?: Maybe>; - /** Are approving reviews required to update matching branches. */ - readonly requiresApprovingReviews: Scalars['Boolean']['output']; - /** Are reviews from code owners required to update matching branches. */ - readonly requiresCodeOwnerReviews: Scalars['Boolean']['output']; - /** Are commits required to be signed. */ - readonly requiresCommitSignatures: Scalars['Boolean']['output']; - /** Are conversations required to be resolved before merging. */ - readonly requiresConversationResolution: Scalars['Boolean']['output']; - /** Does this branch require deployment to specific environments before merging */ - readonly requiresDeployments: Scalars['Boolean']['output']; - /** Are merge commits prohibited from being pushed to this branch. */ - readonly requiresLinearHistory: Scalars['Boolean']['output']; - /** Are status checks required to update matching branches. */ - readonly requiresStatusChecks: Scalars['Boolean']['output']; - /** Are branches required to be up to date before merging. */ - readonly requiresStrictStatusChecks: Scalars['Boolean']['output']; - /** Is pushing to matching branches restricted. */ - readonly restrictsPushes: Scalars['Boolean']['output']; - /** Is dismissal of pull request reviews restricted. */ - readonly restrictsReviewDismissals: Scalars['Boolean']['output']; - /** A list review dismissal allowances for this branch protection rule. */ - readonly reviewDismissalAllowances: ReviewDismissalAllowanceConnection; -}; - - -/** A branch protection rule. */ -export type BranchProtectionRuleBranchProtectionRuleConflictsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; -}; - - -/** A branch protection rule. */ -export type BranchProtectionRuleBypassForcePushAllowancesArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; -}; - - -/** A branch protection rule. */ -export type BranchProtectionRuleBypassPullRequestAllowancesArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; -}; - - -/** A branch protection rule. */ -export type BranchProtectionRuleMatchingRefsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - query?: InputMaybe; -}; - - -/** A branch protection rule. */ -export type BranchProtectionRulePushAllowancesArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; -}; - - -/** A branch protection rule. */ -export type BranchProtectionRuleReviewDismissalAllowancesArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; -}; - -/** A conflict between two branch protection rules. */ -export type BranchProtectionRuleConflict = { - /** Identifies the branch protection rule. */ - readonly branchProtectionRule?: Maybe; - /** Identifies the conflicting branch protection rule. */ - readonly conflictingBranchProtectionRule?: Maybe; - /** Identifies the branch ref that has conflicting rules */ - readonly ref?: Maybe; -}; - -/** The connection type for BranchProtectionRuleConflict. */ -export type BranchProtectionRuleConflictConnection = { - /** A list of edges. */ - readonly edges?: Maybe>>; - /** A list of nodes. */ - readonly nodes?: Maybe>>; - /** Information to aid in pagination. */ - readonly pageInfo: PageInfo; - /** Identifies the total count of items in the connection. */ - readonly totalCount: Scalars['Int']['output']; -}; - -/** An edge in a connection. */ -export type BranchProtectionRuleConflictEdge = { - /** A cursor for use in pagination. */ - readonly cursor: Scalars['String']['output']; - /** The item at the end of the edge. */ - readonly node?: Maybe; -}; - -/** The connection type for BranchProtectionRule. */ -export type BranchProtectionRuleConnection = { - /** A list of edges. */ - readonly edges?: Maybe>>; - /** A list of nodes. */ - readonly nodes?: Maybe>>; - /** Information to aid in pagination. */ - readonly pageInfo: PageInfo; - /** Identifies the total count of items in the connection. */ - readonly totalCount: Scalars['Int']['output']; -}; - -/** An edge in a connection. */ -export type BranchProtectionRuleEdge = { - /** A cursor for use in pagination. */ - readonly cursor: Scalars['String']['output']; - /** The item at the end of the edge. */ - readonly node?: Maybe; -}; - -/** - * Information about a sponsorship to make for a user or organization with a GitHub - * Sponsors profile, as part of sponsoring many users or organizations at once. - */ -export type BulkSponsorship = { - /** The amount to pay to the sponsorable in US dollars. Valid values: 1-12000. */ - readonly amount: Scalars['Int']['input']; - /** The ID of the user or organization who is receiving the sponsorship. Required if sponsorableLogin is not given. */ - readonly sponsorableId?: InputMaybe; - /** The username of the user or organization who is receiving the sponsorship. Required if sponsorableId is not given. */ - readonly sponsorableLogin?: InputMaybe; -}; - -/** Types that can represent a repository ruleset bypass actor. */ -export type BypassActor = App | Team | User; - -/** A user, team, or app who has the ability to bypass a force push requirement on a protected branch. */ -export type BypassForcePushAllowance = Node & { - /** The actor that can force push. */ - readonly actor?: Maybe; - /** Identifies the branch protection rule associated with the allowed user, team, or app. */ - readonly branchProtectionRule?: Maybe; - /** The Node ID of the BypassForcePushAllowance object */ - readonly id: Scalars['ID']['output']; -}; - -/** The connection type for BypassForcePushAllowance. */ -export type BypassForcePushAllowanceConnection = { - /** A list of edges. */ - readonly edges?: Maybe>>; - /** A list of nodes. */ - readonly nodes?: Maybe>>; - /** Information to aid in pagination. */ - readonly pageInfo: PageInfo; - /** Identifies the total count of items in the connection. */ - readonly totalCount: Scalars['Int']['output']; -}; - -/** An edge in a connection. */ -export type BypassForcePushAllowanceEdge = { - /** A cursor for use in pagination. */ - readonly cursor: Scalars['String']['output']; - /** The item at the end of the edge. */ - readonly node?: Maybe; -}; - -/** A user, team, or app who has the ability to bypass a pull request requirement on a protected branch. */ -export type BypassPullRequestAllowance = Node & { - /** The actor that can bypass. */ - readonly actor?: Maybe; - /** Identifies the branch protection rule associated with the allowed user, team, or app. */ - readonly branchProtectionRule?: Maybe; - /** The Node ID of the BypassPullRequestAllowance object */ - readonly id: Scalars['ID']['output']; -}; - -/** The connection type for BypassPullRequestAllowance. */ -export type BypassPullRequestAllowanceConnection = { - /** A list of edges. */ - readonly edges?: Maybe>>; - /** A list of nodes. */ - readonly nodes?: Maybe>>; - /** Information to aid in pagination. */ - readonly pageInfo: PageInfo; - /** Identifies the total count of items in the connection. */ - readonly totalCount: Scalars['Int']['output']; -}; - -/** An edge in a connection. */ -export type BypassPullRequestAllowanceEdge = { - /** A cursor for use in pagination. */ - readonly cursor: Scalars['String']['output']; - /** The item at the end of the edge. */ - readonly node?: Maybe; -}; - -/** The Common Vulnerability Scoring System */ -export type Cvss = { - /** The CVSS score associated with this advisory */ - readonly score: Scalars['Float']['output']; - /** The CVSS vector string associated with this advisory */ - readonly vectorString?: Maybe; -}; - -/** A common weakness enumeration */ -export type Cwe = Node & { - /** The id of the CWE */ - readonly cweId: Scalars['String']['output']; - /** A detailed description of this CWE */ - readonly description: Scalars['String']['output']; - /** The Node ID of the CWE object */ - readonly id: Scalars['ID']['output']; - /** The name of this CWE */ - readonly name: Scalars['String']['output']; -}; - -/** The connection type for CWE. */ -export type CweConnection = { - /** A list of edges. */ - readonly edges?: Maybe>>; - /** A list of nodes. */ - readonly nodes?: Maybe>>; - /** Information to aid in pagination. */ - readonly pageInfo: PageInfo; - /** Identifies the total count of items in the connection. */ - readonly totalCount: Scalars['Int']['output']; -}; - -/** An edge in a connection. */ -export type CweEdge = { - /** A cursor for use in pagination. */ - readonly cursor: Scalars['String']['output']; - /** The item at the end of the edge. */ - readonly node?: Maybe; -}; - -/** Autogenerated input type of CancelEnterpriseAdminInvitation */ -export type CancelEnterpriseAdminInvitationInput = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: InputMaybe; - /** The Node ID of the pending enterprise administrator invitation. */ - readonly invitationId: Scalars['ID']['input']; -}; - -/** Autogenerated return type of CancelEnterpriseAdminInvitation. */ -export type CancelEnterpriseAdminInvitationPayload = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: Maybe; - /** The invitation that was canceled. */ - readonly invitation?: Maybe; - /** A message confirming the result of canceling an administrator invitation. */ - readonly message?: Maybe; -}; - -/** Autogenerated input type of CancelEnterpriseMemberInvitation */ -export type CancelEnterpriseMemberInvitationInput = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: InputMaybe; - /** The Node ID of the pending enterprise member invitation. */ - readonly invitationId: Scalars['ID']['input']; -}; - -/** Autogenerated return type of CancelEnterpriseMemberInvitation. */ -export type CancelEnterpriseMemberInvitationPayload = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: Maybe; - /** The invitation that was canceled. */ - readonly invitation?: Maybe; - /** A message confirming the result of canceling an member invitation. */ - readonly message?: Maybe; -}; - -/** Autogenerated input type of CancelSponsorship */ -export type CancelSponsorshipInput = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: InputMaybe; - /** - * The ID of the user or organization who is acting as the sponsor, paying for - * the sponsorship. Required if sponsorLogin is not given. - */ - readonly sponsorId?: InputMaybe; - /** - * The username of the user or organization who is acting as the sponsor, paying - * for the sponsorship. Required if sponsorId is not given. - */ - readonly sponsorLogin?: InputMaybe; - /** The ID of the user or organization who is receiving the sponsorship. Required if sponsorableLogin is not given. */ - readonly sponsorableId?: InputMaybe; - /** The username of the user or organization who is receiving the sponsorship. Required if sponsorableId is not given. */ - readonly sponsorableLogin?: InputMaybe; -}; - -/** Autogenerated return type of CancelSponsorship. */ -export type CancelSponsorshipPayload = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: Maybe; - /** The tier that was being used at the time of cancellation. */ - readonly sponsorsTier?: Maybe; -}; - -/** Autogenerated input type of ChangeUserStatus */ -export type ChangeUserStatusInput = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: InputMaybe; - /** The emoji to represent your status. Can either be a native Unicode emoji or an emoji name with colons, e.g., :grinning:. */ - readonly emoji?: InputMaybe; - /** If set, the user status will not be shown after this date. */ - readonly expiresAt?: InputMaybe; - /** Whether this status should indicate you are not fully available on GitHub, e.g., you are away. */ - readonly limitedAvailability?: InputMaybe; - /** A short description of your current status. */ - readonly message?: InputMaybe; - /** - * The ID of the organization whose members will be allowed to see the status. If - * omitted, the status will be publicly visible. - */ - readonly organizationId?: InputMaybe; -}; - -/** Autogenerated return type of ChangeUserStatus. */ -export type ChangeUserStatusPayload = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: Maybe; - /** Your updated status. */ - readonly status?: Maybe; -}; - -/** A single check annotation. */ -export type CheckAnnotation = { - /** The annotation's severity level. */ - readonly annotationLevel?: Maybe; - /** The path to the file that this annotation was made on. */ - readonly blobUrl: Scalars['URI']['output']; - /** - * Identifies the primary key from the database. - * @deprecated `databaseId` will be removed because it does not support 64-bit signed integer identifiers. Use `fullDatabaseId` instead. Removal on 2027-01-01 UTC. - */ - readonly databaseId?: Maybe; - /** Identifies the primary key from the database as a BigInt. */ - readonly fullDatabaseId?: Maybe; - /** The position of this annotation. */ - readonly location: CheckAnnotationSpan; - /** The annotation's message. */ - readonly message: Scalars['String']['output']; - /** The path that this annotation was made on. */ - readonly path: Scalars['String']['output']; - /** Additional information about the annotation. */ - readonly rawDetails?: Maybe; - /** The annotation's title */ - readonly title?: Maybe; -}; - -/** The connection type for CheckAnnotation. */ -export type CheckAnnotationConnection = { - /** A list of edges. */ - readonly edges?: Maybe>>; - /** A list of nodes. */ - readonly nodes?: Maybe>>; - /** Information to aid in pagination. */ - readonly pageInfo: PageInfo; - /** Identifies the total count of items in the connection. */ - readonly totalCount: Scalars['Int']['output']; -}; - -/** Information from a check run analysis to specific lines of code. */ -export type CheckAnnotationData = { - /** Represents an annotation's information level */ - readonly annotationLevel: CheckAnnotationLevel; - /** The location of the annotation */ - readonly location: CheckAnnotationRange; - /** A short description of the feedback for these lines of code. */ - readonly message: Scalars['String']['input']; - /** The path of the file to add an annotation to. */ - readonly path: Scalars['String']['input']; - /** Details about this annotation. */ - readonly rawDetails?: InputMaybe; - /** The title that represents the annotation. */ - readonly title?: InputMaybe; -}; - -/** An edge in a connection. */ -export type CheckAnnotationEdge = { - /** A cursor for use in pagination. */ - readonly cursor: Scalars['String']['output']; - /** The item at the end of the edge. */ - readonly node?: Maybe; -}; - -/** Represents an annotation's information level. */ -export enum CheckAnnotationLevel { - /** An annotation indicating an inescapable error. */ - Failure = 'FAILURE', - /** An annotation indicating some information. */ - Notice = 'NOTICE', - /** An annotation indicating an ignorable error. */ - Warning = 'WARNING' -} - -/** A character position in a check annotation. */ -export type CheckAnnotationPosition = { - /** Column number (1 indexed). */ - readonly column?: Maybe; - /** Line number (1 indexed). */ - readonly line: Scalars['Int']['output']; -}; - -/** Information from a check run analysis to specific lines of code. */ -export type CheckAnnotationRange = { - /** The ending column of the range. */ - readonly endColumn?: InputMaybe; - /** The ending line of the range. */ - readonly endLine: Scalars['Int']['input']; - /** The starting column of the range. */ - readonly startColumn?: InputMaybe; - /** The starting line of the range. */ - readonly startLine: Scalars['Int']['input']; -}; - -/** An inclusive pair of positions for a check annotation. */ -export type CheckAnnotationSpan = { - /** End position (inclusive). */ - readonly end: CheckAnnotationPosition; - /** Start position (inclusive). */ - readonly start: CheckAnnotationPosition; -}; - -/** The possible states for a check suite or run conclusion. */ -export enum CheckConclusionState { - /** The check suite or run requires action. */ - ActionRequired = 'ACTION_REQUIRED', - /** The check suite or run has been cancelled. */ - Cancelled = 'CANCELLED', - /** The check suite or run has failed. */ - Failure = 'FAILURE', - /** The check suite or run was neutral. */ - Neutral = 'NEUTRAL', - /** The check suite or run was skipped. */ - Skipped = 'SKIPPED', - /** The check suite or run was marked stale by GitHub. Only GitHub can use this conclusion. */ - Stale = 'STALE', - /** The check suite or run has failed at startup. */ - StartupFailure = 'STARTUP_FAILURE', - /** The check suite or run has succeeded. */ - Success = 'SUCCESS', - /** The check suite or run has timed out. */ - TimedOut = 'TIMED_OUT' -} - -/** A check run. */ -export type CheckRun = Node & RequirableByPullRequest & UniformResourceLocatable & { - /** The check run's annotations */ - readonly annotations?: Maybe; - /** The check suite that this run is a part of. */ - readonly checkSuite: CheckSuite; - /** Identifies the date and time when the check run was completed. */ - readonly completedAt?: Maybe; - /** The conclusion of the check run. */ - readonly conclusion?: Maybe; - /** Identifies the primary key from the database. */ - readonly databaseId?: Maybe; - /** The corresponding deployment for this job, if any */ - readonly deployment?: Maybe; - /** The URL from which to find full details of the check run on the integrator's site. */ - readonly detailsUrl?: Maybe; - /** A reference for the check run on the integrator's system. */ - readonly externalId?: Maybe; - /** The Node ID of the CheckRun object */ - readonly id: Scalars['ID']['output']; - /** Whether this is required to pass before merging for a specific pull request. */ - readonly isRequired: Scalars['Boolean']['output']; - /** The name of the check for this check run. */ - readonly name: Scalars['String']['output']; - /** Information about a pending deployment, if any, in this check run */ - readonly pendingDeploymentRequest?: Maybe; - /** The permalink to the check run summary. */ - readonly permalink: Scalars['URI']['output']; - /** The repository associated with this check run. */ - readonly repository: Repository; - /** The HTTP path for this check run. */ - readonly resourcePath: Scalars['URI']['output']; - /** Identifies the date and time when the check run was started. */ - readonly startedAt?: Maybe; - /** The current status of the check run. */ - readonly status: CheckStatusState; - /** The check run's steps */ - readonly steps?: Maybe; - /** A string representing the check run's summary */ - readonly summary?: Maybe; - /** A string representing the check run's text */ - readonly text?: Maybe; - /** A string representing the check run */ - readonly title?: Maybe; - /** The HTTP URL for this check run. */ - readonly url: Scalars['URI']['output']; -}; - - -/** A check run. */ -export type CheckRunAnnotationsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; -}; - - -/** A check run. */ -export type CheckRunIsRequiredArgs = { - pullRequestId?: InputMaybe; - pullRequestNumber?: InputMaybe; -}; - - -/** A check run. */ -export type CheckRunStepsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - number?: InputMaybe; -}; - -/** Possible further actions the integrator can perform. */ -export type CheckRunAction = { - /** A short explanation of what this action would do. */ - readonly description: Scalars['String']['input']; - /** A reference for the action on the integrator's system. */ - readonly identifier: Scalars['String']['input']; - /** The text to be displayed on a button in the web UI. */ - readonly label: Scalars['String']['input']; -}; - -/** The connection type for CheckRun. */ -export type CheckRunConnection = { - /** A list of edges. */ - readonly edges?: Maybe>>; - /** A list of nodes. */ - readonly nodes?: Maybe>>; - /** Information to aid in pagination. */ - readonly pageInfo: PageInfo; - /** Identifies the total count of items in the connection. */ - readonly totalCount: Scalars['Int']['output']; -}; - -/** An edge in a connection. */ -export type CheckRunEdge = { - /** A cursor for use in pagination. */ - readonly cursor: Scalars['String']['output']; - /** The item at the end of the edge. */ - readonly node?: Maybe; -}; - -/** The filters that are available when fetching check runs. */ -export type CheckRunFilter = { - /** Filters the check runs created by this application ID. */ - readonly appId?: InputMaybe; - /** Filters the check runs by this name. */ - readonly checkName?: InputMaybe; - /** Filters the check runs by this type. */ - readonly checkType?: InputMaybe; - /** Filters the check runs by these conclusions. */ - readonly conclusions?: InputMaybe>; - /** Filters the check runs by this status. Superceded by statuses. */ - readonly status?: InputMaybe; - /** Filters the check runs by this status. Overrides status. */ - readonly statuses?: InputMaybe>; -}; - -/** Descriptive details about the check run. */ -export type CheckRunOutput = { - /** The annotations that are made as part of the check run. */ - readonly annotations?: InputMaybe>; - /** Images attached to the check run output displayed in the GitHub pull request UI. */ - readonly images?: InputMaybe>; - /** The summary of the check run (supports Commonmark). */ - readonly summary: Scalars['String']['input']; - /** The details of the check run (supports Commonmark). */ - readonly text?: InputMaybe; - /** A title to provide for this check run. */ - readonly title: Scalars['String']['input']; -}; - -/** Images attached to the check run output displayed in the GitHub pull request UI. */ -export type CheckRunOutputImage = { - /** The alternative text for the image. */ - readonly alt: Scalars['String']['input']; - /** A short image description. */ - readonly caption?: InputMaybe; - /** The full URL of the image. */ - readonly imageUrl: Scalars['URI']['input']; -}; - -/** The possible states of a check run in a status rollup. */ -export enum CheckRunState { - /** The check run requires action. */ - ActionRequired = 'ACTION_REQUIRED', - /** The check run has been cancelled. */ - Cancelled = 'CANCELLED', - /** The check run has been completed. */ - Completed = 'COMPLETED', - /** The check run has failed. */ +import type { DocumentTypeDecoration } from '@graphql-typed-document-node/core'; +/** The possible states in which a deployment can be. */ +export enum DeploymentState { + /** The pending deployment was not updated after 30 minutes. */ + Abandoned = 'ABANDONED', + /** The deployment is currently active. */ + Active = 'ACTIVE', + /** An inactive transient deployment. */ + Destroyed = 'DESTROYED', + /** The deployment experienced an error. */ + Error = 'ERROR', + /** The deployment has failed. */ Failure = 'FAILURE', - /** The check run is in progress. */ + /** The deployment is inactive. */ + Inactive = 'INACTIVE', + /** The deployment is in progress. */ InProgress = 'IN_PROGRESS', - /** The check run was neutral. */ - Neutral = 'NEUTRAL', - /** The check run is in pending state. */ + /** The deployment is pending. */ Pending = 'PENDING', - /** The check run has been queued. */ + /** The deployment has queued */ Queued = 'QUEUED', - /** The check run was skipped. */ - Skipped = 'SKIPPED', - /** The check run was marked stale by GitHub. Only GitHub can use this conclusion. */ - Stale = 'STALE', - /** The check run has failed at startup. */ - StartupFailure = 'STARTUP_FAILURE', - /** The check run has succeeded. */ + /** The deployment was successful. */ Success = 'SUCCESS', - /** The check run has timed out. */ - TimedOut = 'TIMED_OUT', - /** The check run is in waiting state. */ + /** The deployment is waiting. */ Waiting = 'WAITING' } -/** Represents a count of the state of a check run. */ -export type CheckRunStateCount = { - /** The number of check runs with this state. */ - readonly count: Scalars['Int']['output']; - /** The state of a check run. */ - readonly state: CheckRunState; -}; - -/** The possible types of check runs. */ -export enum CheckRunType { - /** Every check run available. */ - All = 'ALL', - /** The latest check run. */ - Latest = 'LATEST' -} - -/** The possible states for a check suite or run status. */ -export enum CheckStatusState { - /** The check suite or run has been completed. */ - Completed = 'COMPLETED', - /** The check suite or run is in progress. */ +/** The possible states for a deployment status. */ +export enum DeploymentStatusState { + /** The deployment experienced an error. */ + Error = 'ERROR', + /** The deployment has failed. */ + Failure = 'FAILURE', + /** The deployment is inactive. */ + Inactive = 'INACTIVE', + /** The deployment is in progress. */ InProgress = 'IN_PROGRESS', - /** The check suite or run is in pending state. */ + /** The deployment is pending. */ Pending = 'PENDING', - /** The check suite or run has been queued. */ + /** The deployment is queued */ Queued = 'QUEUED', - /** The check suite or run has been requested. */ - Requested = 'REQUESTED', - /** The check suite or run is in waiting state. */ + /** The deployment was successful. */ + Success = 'SUCCESS', + /** The deployment is waiting. */ Waiting = 'WAITING' } -/** A single check step. */ -export type CheckStep = { - /** Identifies the date and time when the check step was completed. */ - readonly completedAt?: Maybe; - /** The conclusion of the check step. */ - readonly conclusion?: Maybe; - /** A reference for the check step on the integrator's system. */ - readonly externalId?: Maybe; - /** The step's name. */ - readonly name: Scalars['String']['output']; - /** The index of the step in the list of steps of the parent check run. */ - readonly number: Scalars['Int']['output']; - /** Number of seconds to completion. */ - readonly secondsToCompletion?: Maybe; - /** Identifies the date and time when the check step was started. */ - readonly startedAt?: Maybe; - /** The current status of the check step. */ - readonly status: CheckStatusState; -}; - -/** The connection type for CheckStep. */ -export type CheckStepConnection = { - /** A list of edges. */ - readonly edges?: Maybe>>; - /** A list of nodes. */ - readonly nodes?: Maybe>>; - /** Information to aid in pagination. */ - readonly pageInfo: PageInfo; - /** Identifies the total count of items in the connection. */ - readonly totalCount: Scalars['Int']['output']; -}; - -/** An edge in a connection. */ -export type CheckStepEdge = { - /** A cursor for use in pagination. */ - readonly cursor: Scalars['String']['output']; - /** The item at the end of the edge. */ - readonly node?: Maybe; -}; - -/** A check suite. */ -export type CheckSuite = Node & { - /** The GitHub App which created this check suite. */ - readonly app?: Maybe; - /** The name of the branch for this check suite. */ - readonly branch?: Maybe; - /** The check runs associated with a check suite. */ - readonly checkRuns?: Maybe; - /** The commit for this check suite */ - readonly commit: Commit; - /** The conclusion of this check suite. */ - readonly conclusion?: Maybe; - /** Identifies the date and time when the object was created. */ - readonly createdAt: Scalars['DateTime']['output']; - /** The user who triggered the check suite. */ - readonly creator?: Maybe; - /** Identifies the primary key from the database. */ - readonly databaseId?: Maybe; - /** The Node ID of the CheckSuite object */ - readonly id: Scalars['ID']['output']; - /** A list of open pull requests matching the check suite. */ - readonly matchingPullRequests?: Maybe; - /** The push that triggered this check suite. */ - readonly push?: Maybe; - /** The repository associated with this check suite. */ - readonly repository: Repository; - /** The HTTP path for this check suite */ - readonly resourcePath: Scalars['URI']['output']; - /** The status of this check suite. */ - readonly status: CheckStatusState; - /** Identifies the date and time when the object was last updated. */ - readonly updatedAt: Scalars['DateTime']['output']; - /** The HTTP URL for this check suite */ - readonly url: Scalars['URI']['output']; - /** The workflow run associated with this check suite. */ - readonly workflowRun?: Maybe; -}; - - -/** A check suite. */ -export type CheckSuiteCheckRunsArgs = { - after?: InputMaybe; - before?: InputMaybe; - filterBy?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; -}; - - -/** A check suite. */ -export type CheckSuiteMatchingPullRequestsArgs = { - after?: InputMaybe; - baseRefName?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - headRefName?: InputMaybe; - labels?: InputMaybe>; - last?: InputMaybe; - orderBy?: InputMaybe; - states?: InputMaybe>; -}; - -/** The auto-trigger preferences that are available for check suites. */ -export type CheckSuiteAutoTriggerPreference = { - /** The node ID of the application that owns the check suite. */ - readonly appId: Scalars['ID']['input']; - /** Set to `true` to enable automatic creation of CheckSuite events upon pushes to the repository. */ - readonly setting: Scalars['Boolean']['input']; -}; - -/** The connection type for CheckSuite. */ -export type CheckSuiteConnection = { - /** A list of edges. */ - readonly edges?: Maybe>>; - /** A list of nodes. */ - readonly nodes?: Maybe>>; - /** Information to aid in pagination. */ - readonly pageInfo: PageInfo; - /** Identifies the total count of items in the connection. */ - readonly totalCount: Scalars['Int']['output']; -}; - -/** An edge in a connection. */ -export type CheckSuiteEdge = { - /** A cursor for use in pagination. */ - readonly cursor: Scalars['String']['output']; - /** The item at the end of the edge. */ - readonly node?: Maybe; -}; - -/** The filters that are available when fetching check suites. */ -export type CheckSuiteFilter = { - /** Filters the check suites created by this application ID. */ - readonly appId?: InputMaybe; - /** Filters the check suites by this name. */ - readonly checkName?: InputMaybe; -}; - -/** An object which can have its data claimed or claim data from another. */ -export type Claimable = Mannequin | User; - -/** Autogenerated input type of ClearLabelsFromLabelable */ -export type ClearLabelsFromLabelableInput = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: InputMaybe; - /** The id of the labelable object to clear the labels from. */ - readonly labelableId: Scalars['ID']['input']; -}; - -/** Autogenerated return type of ClearLabelsFromLabelable. */ -export type ClearLabelsFromLabelablePayload = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: Maybe; - /** The item that was unlabeled. */ - readonly labelable?: Maybe; -}; - -/** Autogenerated input type of ClearProjectV2ItemFieldValue */ -export type ClearProjectV2ItemFieldValueInput = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: InputMaybe; - /** The ID of the field to be cleared. */ - readonly fieldId: Scalars['ID']['input']; - /** The ID of the item to be cleared. */ - readonly itemId: Scalars['ID']['input']; - /** The ID of the Project. */ - readonly projectId: Scalars['ID']['input']; -}; - -/** Autogenerated return type of ClearProjectV2ItemFieldValue. */ -export type ClearProjectV2ItemFieldValuePayload = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: Maybe; - /** The updated item. */ - readonly projectV2Item?: Maybe; -}; - -/** Autogenerated input type of CloneProject */ -export type CloneProjectInput = { - /** The description of the project. */ - readonly body?: InputMaybe; - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: InputMaybe; - /** Whether or not to clone the source project's workflows. */ - readonly includeWorkflows: Scalars['Boolean']['input']; - /** The name of the project. */ - readonly name: Scalars['String']['input']; - /** The visibility of the project, defaults to false (private). */ - readonly public?: InputMaybe; - /** The source project to clone. */ - readonly sourceId: Scalars['ID']['input']; - /** The owner ID to create the project under. */ - readonly targetOwnerId: Scalars['ID']['input']; -}; - -/** Autogenerated return type of CloneProject. */ -export type CloneProjectPayload = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: Maybe; - /** The id of the JobStatus for populating cloned fields. */ - readonly jobStatusId?: Maybe; - /** The new cloned project. */ - readonly project?: Maybe; -}; - -/** Autogenerated input type of CloneTemplateRepository */ -export type CloneTemplateRepositoryInput = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: InputMaybe; - /** A short description of the new repository. */ - readonly description?: InputMaybe; - /** - * Whether to copy all branches from the template to the new repository. Defaults - * to copying only the default branch of the template. - */ - readonly includeAllBranches?: InputMaybe; - /** The name of the new repository. */ - readonly name: Scalars['String']['input']; - /** The ID of the owner for the new repository. */ - readonly ownerId: Scalars['ID']['input']; - /** The Node ID of the template repository. */ - readonly repositoryId: Scalars['ID']['input']; - /** Indicates the repository's visibility level. */ - readonly visibility: RepositoryVisibility; -}; - -/** Autogenerated return type of CloneTemplateRepository. */ -export type CloneTemplateRepositoryPayload = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: Maybe; - /** The new repository. */ - readonly repository?: Maybe; -}; - -/** An object that can be closed */ -export type Closable = { - /** Indicates if the object is closed (definition of closed may depend on type) */ - readonly closed: Scalars['Boolean']['output']; - /** Identifies the date and time when the object was closed. */ - readonly closedAt?: Maybe; - /** Indicates if the object can be closed by the viewer. */ - readonly viewerCanClose: Scalars['Boolean']['output']; - /** Indicates if the object can be reopened by the viewer. */ - readonly viewerCanReopen: Scalars['Boolean']['output']; -}; - -/** Autogenerated input type of CloseDiscussion */ -export type CloseDiscussionInput = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: InputMaybe; - /** ID of the discussion to be closed. */ - readonly discussionId: Scalars['ID']['input']; - /** The reason why the discussion is being closed. */ - readonly reason?: InputMaybe; -}; - -/** Autogenerated return type of CloseDiscussion. */ -export type CloseDiscussionPayload = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: Maybe; - /** The discussion that was closed. */ - readonly discussion?: Maybe; -}; - -/** Autogenerated input type of CloseIssue */ -export type CloseIssueInput = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: InputMaybe; - /** ID of the issue that this is a duplicate of. */ - readonly duplicateIssueId?: InputMaybe; - /** ID of the issue to be closed. */ - readonly issueId: Scalars['ID']['input']; - /** The reason the issue is to be closed. */ - readonly stateReason?: InputMaybe; -}; - -/** Autogenerated return type of CloseIssue. */ -export type CloseIssuePayload = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: Maybe; - /** The issue that was closed. */ - readonly issue?: Maybe; -}; - -/** Autogenerated input type of ClosePullRequest */ -export type ClosePullRequestInput = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: InputMaybe; - /** ID of the pull request to be closed. */ - readonly pullRequestId: Scalars['ID']['input']; -}; - -/** Autogenerated return type of ClosePullRequest. */ -export type ClosePullRequestPayload = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: Maybe; - /** The pull request that was closed. */ - readonly pullRequest?: Maybe; -}; - -/** Represents a 'closed' event on any `Closable`. */ -export type ClosedEvent = Node & UniformResourceLocatable & { - /** Identifies the actor who performed the event. */ - readonly actor?: Maybe; - /** Object that was closed. */ - readonly closable: Closable; - /** Object which triggered the creation of this event. */ - readonly closer?: Maybe; - /** Identifies the date and time when the object was created. */ - readonly createdAt: Scalars['DateTime']['output']; - /** The issue or pull request that this issue was marked as a duplicate of. */ - readonly duplicateOf?: Maybe; - /** The Node ID of the ClosedEvent object */ - readonly id: Scalars['ID']['output']; - /** The HTTP path for this closed event. */ - readonly resourcePath: Scalars['URI']['output']; - /** The reason the issue state was changed to closed. */ - readonly stateReason?: Maybe; - /** The HTTP URL for this closed event. */ - readonly url: Scalars['URI']['output']; -}; - -/** The object which triggered a `ClosedEvent`. */ -export type Closer = Commit | ProjectV2 | PullRequest; - -/** The Code of Conduct for a repository */ -export type CodeOfConduct = Node & { - /** The body of the Code of Conduct */ - readonly body?: Maybe; - /** The Node ID of the CodeOfConduct object */ - readonly id: Scalars['ID']['output']; - /** The key for the Code of Conduct */ - readonly key: Scalars['String']['output']; - /** The formal name of the Code of Conduct */ - readonly name: Scalars['String']['output']; - /** The HTTP path for this Code of Conduct */ - readonly resourcePath?: Maybe; - /** The HTTP URL for this Code of Conduct */ - readonly url?: Maybe; -}; - -/** - * Choose which tools must provide code scanning results before the reference is - * updated. When configured, code scanning must be enabled and have results for - * both the commit and the reference being updated. - */ -export type CodeScanningParameters = { - /** Tools that must provide code scanning results for this rule to pass. */ - readonly codeScanningTools: ReadonlyArray; -}; - -/** - * Choose which tools must provide code scanning results before the reference is - * updated. When configured, code scanning must be enabled and have results for - * both the commit and the reference being updated. - */ -export type CodeScanningParametersInput = { - /** Tools that must provide code scanning results for this rule to pass. */ - readonly codeScanningTools: ReadonlyArray; -}; - -/** A tool that must provide code scanning results for this rule to pass. */ -export type CodeScanningTool = { - /** - * The severity level at which code scanning results that raise alerts block a - * reference update. For more information on alert severity levels, see "[About code scanning alerts](${externalDocsUrl}/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels)." - */ - readonly alertsThreshold: Scalars['String']['output']; - /** - * The severity level at which code scanning results that raise security alerts - * block a reference update. For more information on security severity levels, - * see "[About code scanning alerts](${externalDocsUrl}/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels)." - */ - readonly securityAlertsThreshold: Scalars['String']['output']; - /** The name of a code scanning tool */ - readonly tool: Scalars['String']['output']; -}; - -/** A tool that must provide code scanning results for this rule to pass. */ -export type CodeScanningToolInput = { - /** - * The severity level at which code scanning results that raise alerts block a - * reference update. For more information on alert severity levels, see "[About code scanning alerts](${externalDocsUrl}/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels)." - */ - readonly alertsThreshold: Scalars['String']['input']; - /** - * The severity level at which code scanning results that raise security alerts - * block a reference update. For more information on security severity levels, - * see "[About code scanning alerts](${externalDocsUrl}/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels)." - */ - readonly securityAlertsThreshold: Scalars['String']['input']; - /** The name of a code scanning tool */ - readonly tool: Scalars['String']['input']; -}; - -/** Collaborators affiliation level with a subject. */ -export enum CollaboratorAffiliation { - /** All collaborators the authenticated user can see. */ - All = 'ALL', - /** All collaborators with permissions to an organization-owned subject, regardless of organization membership status. */ - Direct = 'DIRECT', - /** All outside collaborators of an organization-owned subject. */ - Outside = 'OUTSIDE' -} - -/** Represents a comment. */ -export type Comment = { - /** The actor who authored the comment. */ - readonly author?: Maybe; - /** Author's association with the subject of the comment. */ - readonly authorAssociation: CommentAuthorAssociation; - /** The body as Markdown. */ - readonly body: Scalars['String']['output']; - /** The body rendered to HTML. */ - readonly bodyHTML: Scalars['HTML']['output']; - /** The body rendered to text. */ - readonly bodyText: Scalars['String']['output']; - /** Identifies the date and time when the object was created. */ - readonly createdAt: Scalars['DateTime']['output']; - /** Check if this comment was created via an email reply. */ - readonly createdViaEmail: Scalars['Boolean']['output']; - /** The actor who edited the comment. */ - readonly editor?: Maybe; - /** The Node ID of the Comment object */ - readonly id: Scalars['ID']['output']; - /** Check if this comment was edited and includes an edit with the creation data */ - readonly includesCreatedEdit: Scalars['Boolean']['output']; - /** The moment the editor made the last edit */ - readonly lastEditedAt?: Maybe; - /** Identifies when the comment was published at. */ - readonly publishedAt?: Maybe; - /** Identifies the date and time when the object was last updated. */ - readonly updatedAt: Scalars['DateTime']['output']; - /** A list of edits to this content. */ - readonly userContentEdits?: Maybe; - /** Did the viewer author this comment. */ - readonly viewerDidAuthor: Scalars['Boolean']['output']; -}; - - -/** Represents a comment. */ -export type CommentUserContentEditsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; -}; - -/** A comment author association with repository. */ -export enum CommentAuthorAssociation { - /** Author has been invited to collaborate on the repository. */ - Collaborator = 'COLLABORATOR', - /** Author has previously committed to the repository. */ - Contributor = 'CONTRIBUTOR', - /** Author has not previously committed to GitHub. */ - FirstTimer = 'FIRST_TIMER', - /** Author has not previously committed to the repository. */ - FirstTimeContributor = 'FIRST_TIME_CONTRIBUTOR', - /** Author is a placeholder for an unclaimed user. */ - Mannequin = 'MANNEQUIN', - /** Author is a member of the organization that owns the repository. */ - Member = 'MEMBER', - /** Author has no association with the repository. */ - None = 'NONE', - /** Author is the owner of the repository. */ - Owner = 'OWNER' -} - -/** The possible errors that will prevent a user from updating a comment. */ -export enum CommentCannotUpdateReason { - /** Unable to create comment because repository is archived. */ - Archived = 'ARCHIVED', - /** You cannot update this comment */ - Denied = 'DENIED', - /** You must be the author or have write access to this repository to update this comment. */ - InsufficientAccess = 'INSUFFICIENT_ACCESS', - /** Unable to create comment because issue is locked. */ - Locked = 'LOCKED', - /** You must be logged in to update this comment. */ - LoginRequired = 'LOGIN_REQUIRED', - /** Repository is under maintenance. */ - Maintenance = 'MAINTENANCE', - /** At least one email address must be verified to update this comment. */ - VerifiedEmailRequired = 'VERIFIED_EMAIL_REQUIRED' -} - -/** Represents a 'comment_deleted' event on a given issue or pull request. */ -export type CommentDeletedEvent = Node & { - /** Identifies the actor who performed the event. */ - readonly actor?: Maybe; - /** Identifies the date and time when the object was created. */ - readonly createdAt: Scalars['DateTime']['output']; - /** Identifies the primary key from the database. */ - readonly databaseId?: Maybe; - /** The user who authored the deleted comment. */ - readonly deletedCommentAuthor?: Maybe; - /** The Node ID of the CommentDeletedEvent object */ - readonly id: Scalars['ID']['output']; -}; - -/** Represents a Git commit. */ -export type Commit = GitObject & Node & Subscribable & UniformResourceLocatable & { - /** An abbreviated version of the Git object ID */ - readonly abbreviatedOid: Scalars['String']['output']; - /** The number of additions in this commit. */ - readonly additions: Scalars['Int']['output']; - /** - * The merged Pull Request that introduced the commit to the repository. If the - * commit is not present in the default branch, additionally returns open Pull - * Requests associated with the commit - */ - readonly associatedPullRequests?: Maybe; - /** Authorship details of the commit. */ - readonly author?: Maybe; - /** Check if the committer and the author match. */ - readonly authoredByCommitter: Scalars['Boolean']['output']; - /** The datetime when this commit was authored. */ - readonly authoredDate: Scalars['DateTime']['output']; - /** - * The list of authors for this commit based on the git author and the Co-authored-by - * message trailer. The git author will always be first. - */ - readonly authors: GitActorConnection; - /** Fetches `git blame` information. */ - readonly blame: Blame; - /** - * We recommend using the `changedFilesIfAvailable` field instead of - * `changedFiles`, as `changedFiles` will cause your request to return an error - * if GitHub is unable to calculate the number of changed files. - * @deprecated `changedFiles` will be removed. Use `changedFilesIfAvailable` instead. Removal on 2023-01-01 UTC. - */ - readonly changedFiles: Scalars['Int']['output']; - /** - * The number of changed files in this commit. If GitHub is unable to calculate - * the number of changed files (for example due to a timeout), this will return - * `null`. We recommend using this field instead of `changedFiles`. - */ - readonly changedFilesIfAvailable?: Maybe; - /** The check suites associated with a commit. */ - readonly checkSuites?: Maybe; - /** Comments made on the commit. */ - readonly comments: CommitCommentConnection; - /** The HTTP path for this Git object */ - readonly commitResourcePath: Scalars['URI']['output']; - /** The HTTP URL for this Git object */ - readonly commitUrl: Scalars['URI']['output']; - /** The datetime when this commit was committed. */ - readonly committedDate: Scalars['DateTime']['output']; - /** Check if committed via GitHub web UI. */ - readonly committedViaWeb: Scalars['Boolean']['output']; - /** Committer details of the commit. */ - readonly committer?: Maybe; - /** The number of deletions in this commit. */ - readonly deletions: Scalars['Int']['output']; - /** The deployments associated with a commit. */ - readonly deployments?: Maybe; - /** The tree entry representing the file located at the given path. */ - readonly file?: Maybe; - /** The linear commit history starting from (and including) this commit, in the same order as `git log`. */ - readonly history: CommitHistoryConnection; - /** The Node ID of the Commit object */ - readonly id: Scalars['ID']['output']; - /** The Git commit message */ - readonly message: Scalars['String']['output']; - /** The Git commit message body */ - readonly messageBody: Scalars['String']['output']; - /** The commit message body rendered to HTML. */ - readonly messageBodyHTML: Scalars['HTML']['output']; - /** The Git commit message headline */ - readonly messageHeadline: Scalars['String']['output']; - /** The commit message headline rendered to HTML. */ - readonly messageHeadlineHTML: Scalars['HTML']['output']; - /** The Git object ID */ - readonly oid: Scalars['GitObjectID']['output']; - /** The organization this commit was made on behalf of. */ - readonly onBehalfOf?: Maybe; - /** The parents of a commit. */ - readonly parents: CommitConnection; - /** - * The datetime when this commit was pushed. - * @deprecated `pushedDate` is no longer supported. Removal on 2023-07-01 UTC. - */ - readonly pushedDate?: Maybe; - /** The Repository this commit belongs to */ - readonly repository: Repository; - /** The HTTP path for this commit */ - readonly resourcePath: Scalars['URI']['output']; - /** Commit signing information, if present. */ - readonly signature?: Maybe; - /** Status information for this commit */ - readonly status?: Maybe; - /** Check and Status rollup information for this commit. */ - readonly statusCheckRollup?: Maybe; - /** Returns a list of all submodules in this repository as of this Commit parsed from the .gitmodules file. */ - readonly submodules: SubmoduleConnection; - /** - * Returns a URL to download a tarball archive for a repository. - * Note: For private repositories, these links are temporary and expire after five minutes. - */ - readonly tarballUrl: Scalars['URI']['output']; - /** Commit's root Tree */ - readonly tree: Tree; - /** The HTTP path for the tree of this commit */ - readonly treeResourcePath: Scalars['URI']['output']; - /** The HTTP URL for the tree of this commit */ - readonly treeUrl: Scalars['URI']['output']; - /** The HTTP URL for this commit */ - readonly url: Scalars['URI']['output']; - /** Check if the viewer is able to change their subscription status for the repository. */ - readonly viewerCanSubscribe: Scalars['Boolean']['output']; - /** Identifies if the viewer is watching, not watching, or ignoring the subscribable entity. */ - readonly viewerSubscription?: Maybe; - /** - * Returns a URL to download a zipball archive for a repository. - * Note: For private repositories, these links are temporary and expire after five minutes. - */ - readonly zipballUrl: Scalars['URI']['output']; -}; - - -/** Represents a Git commit. */ -export type CommitAssociatedPullRequestsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - orderBy?: InputMaybe; -}; - - -/** Represents a Git commit. */ -export type CommitAuthorsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; -}; - - -/** Represents a Git commit. */ -export type CommitBlameArgs = { - path: Scalars['String']['input']; -}; - - -/** Represents a Git commit. */ -export type CommitCheckSuitesArgs = { - after?: InputMaybe; - before?: InputMaybe; - filterBy?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; -}; - - -/** Represents a Git commit. */ -export type CommitCommentsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; -}; - - -/** Represents a Git commit. */ -export type CommitDeploymentsArgs = { - after?: InputMaybe; - before?: InputMaybe; - environments?: InputMaybe>; - first?: InputMaybe; - last?: InputMaybe; - orderBy?: InputMaybe; -}; - - -/** Represents a Git commit. */ -export type CommitFileArgs = { - path: Scalars['String']['input']; -}; - - -/** Represents a Git commit. */ -export type CommitHistoryArgs = { - after?: InputMaybe; - author?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - path?: InputMaybe; - since?: InputMaybe; - until?: InputMaybe; -}; - - -/** Represents a Git commit. */ -export type CommitParentsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; -}; - - -/** Represents a Git commit. */ -export type CommitSubmodulesArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; -}; - -/** Specifies an author for filtering Git commits. */ -export type CommitAuthor = { - /** Email addresses to filter by. Commits authored by any of the specified email addresses will be returned. */ - readonly emails?: InputMaybe>; - /** - * ID of a User to filter by. If non-null, only commits authored by this user - * will be returned. This field takes precedence over emails. - */ - readonly id?: InputMaybe; -}; - -/** Parameters to be used for the commit_author_email_pattern rule */ -export type CommitAuthorEmailPatternParameters = { - /** How this rule appears when configuring it. */ - readonly name?: Maybe; - /** If true, the rule will fail if the pattern matches. */ - readonly negate: Scalars['Boolean']['output']; - /** The operator to use for matching. */ - readonly operator: Scalars['String']['output']; - /** The pattern to match with. */ - readonly pattern: Scalars['String']['output']; -}; - -/** Parameters to be used for the commit_author_email_pattern rule */ -export type CommitAuthorEmailPatternParametersInput = { - /** How this rule appears when configuring it. */ - readonly name?: InputMaybe; - /** If true, the rule will fail if the pattern matches. */ - readonly negate?: InputMaybe; - /** The operator to use for matching. */ - readonly operator: Scalars['String']['input']; - /** The pattern to match with. */ - readonly pattern: Scalars['String']['input']; -}; - -/** Represents a comment on a given Commit. */ -export type CommitComment = Comment & Deletable & Minimizable & Node & Reactable & RepositoryNode & Updatable & UpdatableComment & { - /** The actor who authored the comment. */ - readonly author?: Maybe; - /** Author's association with the subject of the comment. */ - readonly authorAssociation: CommentAuthorAssociation; - /** Identifies the comment body. */ - readonly body: Scalars['String']['output']; - /** The body rendered to HTML. */ - readonly bodyHTML: Scalars['HTML']['output']; - /** The body rendered to text. */ - readonly bodyText: Scalars['String']['output']; - /** Identifies the commit associated with the comment, if the commit exists. */ - readonly commit?: Maybe; - /** Identifies the date and time when the object was created. */ - readonly createdAt: Scalars['DateTime']['output']; - /** Check if this comment was created via an email reply. */ - readonly createdViaEmail: Scalars['Boolean']['output']; - /** Identifies the primary key from the database. */ - readonly databaseId?: Maybe; - /** The actor who edited the comment. */ - readonly editor?: Maybe; - /** The Node ID of the CommitComment object */ - readonly id: Scalars['ID']['output']; - /** Check if this comment was edited and includes an edit with the creation data */ - readonly includesCreatedEdit: Scalars['Boolean']['output']; - /** Returns whether or not a comment has been minimized. */ - readonly isMinimized: Scalars['Boolean']['output']; - /** The moment the editor made the last edit */ - readonly lastEditedAt?: Maybe; - /** - * Returns why the comment was minimized. One of `abuse`, `off-topic`, - * `outdated`, `resolved`, `duplicate`, `spam`, and `low-quality`. Note that the - * case and formatting of these values differs from the inputs to the - * `MinimizeComment` mutation. - */ - readonly minimizedReason?: Maybe; - /** Identifies the file path associated with the comment. */ - readonly path?: Maybe; - /** Identifies the line position associated with the comment. */ - readonly position?: Maybe; - /** Identifies when the comment was published at. */ - readonly publishedAt?: Maybe; - /** A list of reactions grouped by content left on the subject. */ - readonly reactionGroups?: Maybe>; - /** A list of Reactions left on the Issue. */ - readonly reactions: ReactionConnection; - /** The repository associated with this node. */ - readonly repository: Repository; - /** The HTTP path permalink for this commit comment. */ - readonly resourcePath: Scalars['URI']['output']; - /** Identifies the date and time when the object was last updated. */ - readonly updatedAt: Scalars['DateTime']['output']; - /** The HTTP URL permalink for this commit comment. */ - readonly url: Scalars['URI']['output']; - /** A list of edits to this content. */ - readonly userContentEdits?: Maybe; - /** Check if the current viewer can delete this object. */ - readonly viewerCanDelete: Scalars['Boolean']['output']; - /** Check if the current viewer can minimize this object. */ - readonly viewerCanMinimize: Scalars['Boolean']['output']; - /** Can user react to this subject */ - readonly viewerCanReact: Scalars['Boolean']['output']; - /** Check if the current viewer can unminimize this object. */ - readonly viewerCanUnminimize: Scalars['Boolean']['output']; - /** Check if the current viewer can update this object. */ - readonly viewerCanUpdate: Scalars['Boolean']['output']; - /** Reasons why the current viewer can not update this comment. */ - readonly viewerCannotUpdateReasons: ReadonlyArray; - /** Did the viewer author this comment. */ - readonly viewerDidAuthor: Scalars['Boolean']['output']; -}; - - -/** Represents a comment on a given Commit. */ -export type CommitCommentReactionsArgs = { - after?: InputMaybe; - before?: InputMaybe; - content?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - orderBy?: InputMaybe; -}; - - -/** Represents a comment on a given Commit. */ -export type CommitCommentUserContentEditsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; -}; - -/** The connection type for CommitComment. */ -export type CommitCommentConnection = { - /** A list of edges. */ - readonly edges?: Maybe>>; - /** A list of nodes. */ - readonly nodes?: Maybe>>; - /** Information to aid in pagination. */ - readonly pageInfo: PageInfo; - /** Identifies the total count of items in the connection. */ - readonly totalCount: Scalars['Int']['output']; -}; - -/** An edge in a connection. */ -export type CommitCommentEdge = { - /** A cursor for use in pagination. */ - readonly cursor: Scalars['String']['output']; - /** The item at the end of the edge. */ - readonly node?: Maybe; -}; - -/** A thread of comments on a commit. */ -export type CommitCommentThread = Node & RepositoryNode & { - /** The comments that exist in this thread. */ - readonly comments: CommitCommentConnection; - /** The commit the comments were made on. */ - readonly commit?: Maybe; - /** The Node ID of the CommitCommentThread object */ - readonly id: Scalars['ID']['output']; - /** The file the comments were made on. */ - readonly path?: Maybe; - /** The position in the diff for the commit that the comment was made on. */ - readonly position?: Maybe; - /** The repository associated with this node. */ - readonly repository: Repository; -}; - - -/** A thread of comments on a commit. */ -export type CommitCommentThreadCommentsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; -}; - -/** The connection type for Commit. */ -export type CommitConnection = { - /** A list of edges. */ - readonly edges?: Maybe>>; - /** A list of nodes. */ - readonly nodes?: Maybe>>; - /** Information to aid in pagination. */ - readonly pageInfo: PageInfo; - /** Identifies the total count of items in the connection. */ - readonly totalCount: Scalars['Int']['output']; -}; - -/** Ordering options for commit contribution connections. */ -export type CommitContributionOrder = { - /** The ordering direction. */ - readonly direction: OrderDirection; - /** The field by which to order commit contributions. */ - readonly field: CommitContributionOrderField; -}; - -/** Properties by which commit contribution connections can be ordered. */ -export enum CommitContributionOrderField { - /** Order commit contributions by how many commits they represent. */ - CommitCount = 'COMMIT_COUNT', - /** Order commit contributions by when they were made. */ - OccurredAt = 'OCCURRED_AT' -} - -/** This aggregates commits made by a user within one repository. */ -export type CommitContributionsByRepository = { - /** The commit contributions, each representing a day. */ - readonly contributions: CreatedCommitContributionConnection; - /** The repository in which the commits were made. */ - readonly repository: Repository; - /** The HTTP path for the user's commits to the repository in this time range. */ - readonly resourcePath: Scalars['URI']['output']; - /** The HTTP URL for the user's commits to the repository in this time range. */ - readonly url: Scalars['URI']['output']; -}; - - -/** This aggregates commits made by a user within one repository. */ -export type CommitContributionsByRepositoryContributionsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - orderBy?: InputMaybe; -}; - -/** An edge in a connection. */ -export type CommitEdge = { - /** A cursor for use in pagination. */ - readonly cursor: Scalars['String']['output']; - /** The item at the end of the edge. */ - readonly node?: Maybe; -}; - -/** The connection type for Commit. */ -export type CommitHistoryConnection = { - /** A list of edges. */ - readonly edges?: Maybe>>; - /** A list of nodes. */ - readonly nodes?: Maybe>>; - /** Information to aid in pagination. */ - readonly pageInfo: PageInfo; - /** Identifies the total count of items in the connection. */ - readonly totalCount: Scalars['Int']['output']; -}; - -/** A message to include with a new commit */ -export type CommitMessage = { - /** The body of the message. */ - readonly body?: InputMaybe; - /** The headline of the message. */ - readonly headline: Scalars['String']['input']; -}; - -/** Parameters to be used for the commit_message_pattern rule */ -export type CommitMessagePatternParameters = { - /** How this rule appears when configuring it. */ - readonly name?: Maybe; - /** If true, the rule will fail if the pattern matches. */ - readonly negate: Scalars['Boolean']['output']; - /** The operator to use for matching. */ - readonly operator: Scalars['String']['output']; - /** The pattern to match with. */ - readonly pattern: Scalars['String']['output']; -}; - -/** Parameters to be used for the commit_message_pattern rule */ -export type CommitMessagePatternParametersInput = { - /** How this rule appears when configuring it. */ - readonly name?: InputMaybe; - /** If true, the rule will fail if the pattern matches. */ - readonly negate?: InputMaybe; - /** The operator to use for matching. */ - readonly operator: Scalars['String']['input']; - /** The pattern to match with. */ - readonly pattern: Scalars['String']['input']; -}; - -/** - * A git ref for a commit to be appended to. - * - * The ref must be a branch, i.e. its fully qualified name must start - * with `refs/heads/` (although the input is not required to be fully - * qualified). - * - * The Ref may be specified by its global node ID or by the - * `repositoryNameWithOwner` and `branchName`. - * - * ### Examples - * - * Specify a branch using a global node ID: - * - * { "id": "MDM6UmVmMTpyZWZzL2hlYWRzL21haW4=" } - * - * Specify a branch using `repositoryNameWithOwner` and `branchName`: - * - * { - * "repositoryNameWithOwner": "github/graphql-client", - * "branchName": "main" - * } - */ -export type CommittableBranch = { - /** The unqualified name of the branch to append the commit to. */ - readonly branchName?: InputMaybe; - /** The Node ID of the Ref to be updated. */ - readonly id?: InputMaybe; - /** The nameWithOwner of the repository to commit to. */ - readonly repositoryNameWithOwner?: InputMaybe; -}; - -/** Parameters to be used for the committer_email_pattern rule */ -export type CommitterEmailPatternParameters = { - /** How this rule appears when configuring it. */ - readonly name?: Maybe; - /** If true, the rule will fail if the pattern matches. */ - readonly negate: Scalars['Boolean']['output']; - /** The operator to use for matching. */ - readonly operator: Scalars['String']['output']; - /** The pattern to match with. */ - readonly pattern: Scalars['String']['output']; -}; - -/** Parameters to be used for the committer_email_pattern rule */ -export type CommitterEmailPatternParametersInput = { - /** How this rule appears when configuring it. */ - readonly name?: InputMaybe; - /** If true, the rule will fail if the pattern matches. */ - readonly negate?: InputMaybe; - /** The operator to use for matching. */ - readonly operator: Scalars['String']['input']; - /** The pattern to match with. */ - readonly pattern: Scalars['String']['input']; -}; - -/** Represents a comparison between two commit revisions. */ -export type Comparison = Node & { - /** The number of commits ahead of the base branch. */ - readonly aheadBy: Scalars['Int']['output']; - /** The base revision of this comparison. */ - readonly baseTarget: GitObject; - /** The number of commits behind the base branch. */ - readonly behindBy: Scalars['Int']['output']; - /** The commits which compose this comparison. */ - readonly commits: ComparisonCommitConnection; - /** The head revision of this comparison. */ - readonly headTarget: GitObject; - /** The Node ID of the Comparison object */ - readonly id: Scalars['ID']['output']; - /** The status of this comparison. */ - readonly status: ComparisonStatus; -}; - - -/** Represents a comparison between two commit revisions. */ -export type ComparisonCommitsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; -}; - -/** The connection type for Commit. */ -export type ComparisonCommitConnection = { - /** The total count of authors and co-authors across all commits. */ - readonly authorCount: Scalars['Int']['output']; - /** A list of edges. */ - readonly edges?: Maybe>>; - /** A list of nodes. */ - readonly nodes?: Maybe>>; - /** Information to aid in pagination. */ - readonly pageInfo: PageInfo; - /** Identifies the total count of items in the connection. */ - readonly totalCount: Scalars['Int']['output']; -}; - -/** The status of a git comparison between two refs. */ -export enum ComparisonStatus { - /** The head ref is ahead of the base ref. */ - Ahead = 'AHEAD', - /** The head ref is behind the base ref. */ - Behind = 'BEHIND', - /** The head ref is both ahead and behind of the base ref, indicating git history has diverged. */ - Diverged = 'DIVERGED', - /** The head ref and base ref are identical. */ - Identical = 'IDENTICAL' -} - -/** Represents a 'connected' event on a given issue or pull request. */ -export type ConnectedEvent = Node & { - /** Identifies the actor who performed the event. */ - readonly actor?: Maybe; - /** Identifies the date and time when the object was created. */ - readonly createdAt: Scalars['DateTime']['output']; - /** The Node ID of the ConnectedEvent object */ - readonly id: Scalars['ID']['output']; - /** Reference originated in a different repository. */ - readonly isCrossRepository: Scalars['Boolean']['output']; - /** Issue or pull request that made the reference. */ - readonly source: ReferencedSubject; - /** Issue or pull request which was connected. */ - readonly subject: ReferencedSubject; -}; - -/** The content warning for a repository */ -export type ContentWarning = { - /** The content warning' category. E.g. 'mis_dis_information' */ - readonly category: Scalars['String']['output']; - /** The content warning's custom sub category text. E.g. 'dangerous stuff.' */ - readonly customSubCategory?: Maybe; - /** The content warning's sub category. E.g. 'medical_scientific' */ - readonly subCategory?: Maybe; - /** The content warning's sub title. E.g. 'The information contained in this page has not been verified.' */ - readonly subTitle?: Maybe; - /** The content warning's title. E.g. 'This page may contain false or misleading information.' */ - readonly title: Scalars['String']['output']; - /** The type of content warning. E.g. 'interstitial' */ - readonly type: Scalars['String']['output']; -}; - -/** The Contributing Guidelines for a repository. */ -export type ContributingGuidelines = { - /** The body of the Contributing Guidelines. */ - readonly body?: Maybe; - /** The HTTP path for the Contributing Guidelines. */ - readonly resourcePath?: Maybe; - /** The HTTP URL for the Contributing Guidelines. */ - readonly url?: Maybe; -}; - -/** Represents a contribution a user made on GitHub, such as opening an issue. */ -export type Contribution = { - /** - * Whether this contribution is associated with a record you do not have access to. For - * example, your own 'first issue' contribution may have been made on a repository you can no - * longer access. - */ - readonly isRestricted: Scalars['Boolean']['output']; - /** When this contribution was made. */ - readonly occurredAt: Scalars['DateTime']['output']; - /** The HTTP path for this contribution. */ - readonly resourcePath: Scalars['URI']['output']; - /** The HTTP URL for this contribution. */ - readonly url: Scalars['URI']['output']; - /** The user who made this contribution. */ - readonly user: User; -}; - -/** A calendar of contributions made on GitHub by a user. */ -export type ContributionCalendar = { - /** A list of hex color codes used in this calendar. The darker the color, the more contributions it represents. */ - readonly colors: ReadonlyArray; - /** Determine if the color set was chosen because it's currently Halloween. */ - readonly isHalloween: Scalars['Boolean']['output']; - /** A list of the months of contributions in this calendar. */ - readonly months: ReadonlyArray; - /** The count of total contributions in the calendar. */ - readonly totalContributions: Scalars['Int']['output']; - /** A list of the weeks of contributions in this calendar. */ - readonly weeks: ReadonlyArray; -}; - -/** Represents a single day of contributions on GitHub by a user. */ -export type ContributionCalendarDay = { - /** The hex color code that represents how many contributions were made on this day compared to others in the calendar. */ - readonly color: Scalars['String']['output']; - /** How many contributions were made by the user on this day. */ - readonly contributionCount: Scalars['Int']['output']; - /** - * Indication of contributions, relative to other days. Can be used to indicate - * which color to represent this day on a calendar. - */ - readonly contributionLevel: ContributionLevel; - /** The day this square represents. */ - readonly date: Scalars['Date']['output']; - /** A number representing which day of the week this square represents, e.g., 1 is Monday. */ - readonly weekday: Scalars['Int']['output']; -}; - -/** A month of contributions in a user's contribution graph. */ -export type ContributionCalendarMonth = { - /** The date of the first day of this month. */ - readonly firstDay: Scalars['Date']['output']; - /** The name of the month. */ - readonly name: Scalars['String']['output']; - /** How many weeks started in this month. */ - readonly totalWeeks: Scalars['Int']['output']; - /** The year the month occurred in. */ - readonly year: Scalars['Int']['output']; -}; - -/** A week of contributions in a user's contribution graph. */ -export type ContributionCalendarWeek = { - /** The days of contributions in this week. */ - readonly contributionDays: ReadonlyArray; - /** The date of the earliest square in this week. */ - readonly firstDay: Scalars['Date']['output']; -}; - -/** Varying levels of contributions from none to many. */ -export enum ContributionLevel { - /** Lowest 25% of days of contributions. */ - FirstQuartile = 'FIRST_QUARTILE', - /** Highest 25% of days of contributions. More contributions than the third quartile. */ - FourthQuartile = 'FOURTH_QUARTILE', - /** No contributions occurred. */ - None = 'NONE', - /** Second lowest 25% of days of contributions. More contributions than the first quartile. */ - SecondQuartile = 'SECOND_QUARTILE', - /** Second highest 25% of days of contributions. More contributions than second quartile, less than the fourth quartile. */ - ThirdQuartile = 'THIRD_QUARTILE' -} - -/** Ordering options for contribution connections. */ -export type ContributionOrder = { - /** The ordering direction. */ - readonly direction: OrderDirection; -}; - -/** - * A collection of contributions made by a user, including opened issues, commits, and pull requests. - * Contributions in private and internal repositories are only included with the optional read:user scope. - */ -export type ContributionsCollection = { - /** Commit contributions made by the user, grouped by repository. */ - readonly commitContributionsByRepository: ReadonlyArray; - /** A calendar of this user's contributions on GitHub. */ - readonly contributionCalendar: ContributionCalendar; - /** The years the user has been making contributions with the most recent year first. */ - readonly contributionYears: ReadonlyArray; - /** Determine if this collection's time span ends in the current month. */ - readonly doesEndInCurrentMonth: Scalars['Boolean']['output']; - /** - * The date of the first restricted contribution the user made in this time - * period. Can only be non-null when the user has enabled private contribution counts. - */ - readonly earliestRestrictedContributionDate?: Maybe; - /** The ending date and time of this collection. */ - readonly endedAt: Scalars['DateTime']['output']; - /** - * The first issue the user opened on GitHub. This will be null if that issue was - * opened outside the collection's time range and ignoreTimeRange is false. If - * the issue is not visible but the user has opted to show private contributions, - * a RestrictedContribution will be returned. - */ - readonly firstIssueContribution?: Maybe; - /** - * The first pull request the user opened on GitHub. This will be null if that - * pull request was opened outside the collection's time range and - * ignoreTimeRange is not true. If the pull request is not visible but the user - * has opted to show private contributions, a RestrictedContribution will be returned. - */ - readonly firstPullRequestContribution?: Maybe; - /** - * The first repository the user created on GitHub. This will be null if that - * first repository was created outside the collection's time range and - * ignoreTimeRange is false. If the repository is not visible, then a - * RestrictedContribution is returned. - */ - readonly firstRepositoryContribution?: Maybe; - /** Does the user have any more activity in the timeline that occurred prior to the collection's time range? */ - readonly hasActivityInThePast: Scalars['Boolean']['output']; - /** Determine if there are any contributions in this collection. */ - readonly hasAnyContributions: Scalars['Boolean']['output']; - /** - * Determine if the user made any contributions in this time frame whose details - * are not visible because they were made in a private repository. Can only be - * true if the user enabled private contribution counts. - */ - readonly hasAnyRestrictedContributions: Scalars['Boolean']['output']; - /** Whether or not the collector's time span is all within the same day. */ - readonly isSingleDay: Scalars['Boolean']['output']; - /** A list of issues the user opened. */ - readonly issueContributions: CreatedIssueContributionConnection; - /** Issue contributions made by the user, grouped by repository. */ - readonly issueContributionsByRepository: ReadonlyArray; - /** - * When the user signed up for GitHub. This will be null if that sign up date - * falls outside the collection's time range and ignoreTimeRange is false. - */ - readonly joinedGitHubContribution?: Maybe; - /** - * The date of the most recent restricted contribution the user made in this time - * period. Can only be non-null when the user has enabled private contribution counts. - */ - readonly latestRestrictedContributionDate?: Maybe; - /** - * When this collection's time range does not include any activity from the user, use this - * to get a different collection from an earlier time range that does have activity. - */ - readonly mostRecentCollectionWithActivity?: Maybe; - /** - * Returns a different contributions collection from an earlier time range than this one - * that does not have any contributions. - */ - readonly mostRecentCollectionWithoutActivity?: Maybe; - /** - * The issue the user opened on GitHub that received the most comments in the specified - * time frame. - */ - readonly popularIssueContribution?: Maybe; - /** - * The pull request the user opened on GitHub that received the most comments in the - * specified time frame. - */ - readonly popularPullRequestContribution?: Maybe; - /** Pull request contributions made by the user. */ - readonly pullRequestContributions: CreatedPullRequestContributionConnection; - /** Pull request contributions made by the user, grouped by repository. */ - readonly pullRequestContributionsByRepository: ReadonlyArray; - /** - * Pull request review contributions made by the user. Returns the most recently - * submitted review for each PR reviewed by the user. - */ - readonly pullRequestReviewContributions: CreatedPullRequestReviewContributionConnection; - /** Pull request review contributions made by the user, grouped by repository. */ - readonly pullRequestReviewContributionsByRepository: ReadonlyArray; - /** A list of repositories owned by the user that the user created in this time range. */ - readonly repositoryContributions: CreatedRepositoryContributionConnection; - /** - * A count of contributions made by the user that the viewer cannot access. Only - * non-zero when the user has chosen to share their private contribution counts. - */ - readonly restrictedContributionsCount: Scalars['Int']['output']; - /** The beginning date and time of this collection. */ - readonly startedAt: Scalars['DateTime']['output']; - /** How many commits were made by the user in this time span. */ - readonly totalCommitContributions: Scalars['Int']['output']; - /** How many issues the user opened. */ - readonly totalIssueContributions: Scalars['Int']['output']; - /** How many pull requests the user opened. */ - readonly totalPullRequestContributions: Scalars['Int']['output']; - /** How many pull request reviews the user left. */ - readonly totalPullRequestReviewContributions: Scalars['Int']['output']; - /** How many different repositories the user committed to. */ - readonly totalRepositoriesWithContributedCommits: Scalars['Int']['output']; - /** How many different repositories the user opened issues in. */ - readonly totalRepositoriesWithContributedIssues: Scalars['Int']['output']; - /** How many different repositories the user left pull request reviews in. */ - readonly totalRepositoriesWithContributedPullRequestReviews: Scalars['Int']['output']; - /** How many different repositories the user opened pull requests in. */ - readonly totalRepositoriesWithContributedPullRequests: Scalars['Int']['output']; - /** How many repositories the user created. */ - readonly totalRepositoryContributions: Scalars['Int']['output']; - /** The user who made the contributions in this collection. */ - readonly user: User; -}; - - -/** - * A collection of contributions made by a user, including opened issues, commits, and pull requests. - * Contributions in private and internal repositories are only included with the optional read:user scope. - */ -export type ContributionsCollectionCommitContributionsByRepositoryArgs = { - maxRepositories?: InputMaybe; -}; - - -/** - * A collection of contributions made by a user, including opened issues, commits, and pull requests. - * Contributions in private and internal repositories are only included with the optional read:user scope. - */ -export type ContributionsCollectionIssueContributionsArgs = { - after?: InputMaybe; - before?: InputMaybe; - excludeFirst?: InputMaybe; - excludePopular?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - orderBy?: InputMaybe; -}; - - -/** - * A collection of contributions made by a user, including opened issues, commits, and pull requests. - * Contributions in private and internal repositories are only included with the optional read:user scope. - */ -export type ContributionsCollectionIssueContributionsByRepositoryArgs = { - excludeFirst?: InputMaybe; - excludePopular?: InputMaybe; - maxRepositories?: InputMaybe; -}; - - -/** - * A collection of contributions made by a user, including opened issues, commits, and pull requests. - * Contributions in private and internal repositories are only included with the optional read:user scope. - */ -export type ContributionsCollectionPullRequestContributionsArgs = { - after?: InputMaybe; - before?: InputMaybe; - excludeFirst?: InputMaybe; - excludePopular?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - orderBy?: InputMaybe; -}; - - -/** - * A collection of contributions made by a user, including opened issues, commits, and pull requests. - * Contributions in private and internal repositories are only included with the optional read:user scope. - */ -export type ContributionsCollectionPullRequestContributionsByRepositoryArgs = { - excludeFirst?: InputMaybe; - excludePopular?: InputMaybe; - maxRepositories?: InputMaybe; -}; - - -/** - * A collection of contributions made by a user, including opened issues, commits, and pull requests. - * Contributions in private and internal repositories are only included with the optional read:user scope. - */ -export type ContributionsCollectionPullRequestReviewContributionsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - orderBy?: InputMaybe; -}; - - -/** - * A collection of contributions made by a user, including opened issues, commits, and pull requests. - * Contributions in private and internal repositories are only included with the optional read:user scope. - */ -export type ContributionsCollectionPullRequestReviewContributionsByRepositoryArgs = { - maxRepositories?: InputMaybe; -}; - - -/** - * A collection of contributions made by a user, including opened issues, commits, and pull requests. - * Contributions in private and internal repositories are only included with the optional read:user scope. - */ -export type ContributionsCollectionRepositoryContributionsArgs = { - after?: InputMaybe; - before?: InputMaybe; - excludeFirst?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - orderBy?: InputMaybe; -}; - - -/** - * A collection of contributions made by a user, including opened issues, commits, and pull requests. - * Contributions in private and internal repositories are only included with the optional read:user scope. - */ -export type ContributionsCollectionTotalIssueContributionsArgs = { - excludeFirst?: InputMaybe; - excludePopular?: InputMaybe; -}; - - -/** - * A collection of contributions made by a user, including opened issues, commits, and pull requests. - * Contributions in private and internal repositories are only included with the optional read:user scope. - */ -export type ContributionsCollectionTotalPullRequestContributionsArgs = { - excludeFirst?: InputMaybe; - excludePopular?: InputMaybe; -}; - - -/** - * A collection of contributions made by a user, including opened issues, commits, and pull requests. - * Contributions in private and internal repositories are only included with the optional read:user scope. - */ -export type ContributionsCollectionTotalRepositoriesWithContributedIssuesArgs = { - excludeFirst?: InputMaybe; - excludePopular?: InputMaybe; -}; - - -/** - * A collection of contributions made by a user, including opened issues, commits, and pull requests. - * Contributions in private and internal repositories are only included with the optional read:user scope. - */ -export type ContributionsCollectionTotalRepositoriesWithContributedPullRequestsArgs = { - excludeFirst?: InputMaybe; - excludePopular?: InputMaybe; -}; - - -/** - * A collection of contributions made by a user, including opened issues, commits, and pull requests. - * Contributions in private and internal repositories are only included with the optional read:user scope. - */ -export type ContributionsCollectionTotalRepositoryContributionsArgs = { - excludeFirst?: InputMaybe; -}; - -/** Autogenerated input type of ConvertProjectCardNoteToIssue */ -export type ConvertProjectCardNoteToIssueInput = { - /** The body of the newly created issue. */ - readonly body?: InputMaybe; - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: InputMaybe; - /** The ProjectCard ID to convert. */ - readonly projectCardId: Scalars['ID']['input']; - /** The ID of the repository to create the issue in. */ - readonly repositoryId: Scalars['ID']['input']; - /** The title of the newly created issue. Defaults to the card's note text. */ - readonly title?: InputMaybe; -}; - -/** Autogenerated return type of ConvertProjectCardNoteToIssue. */ -export type ConvertProjectCardNoteToIssuePayload = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: Maybe; - /** The updated ProjectCard. */ - readonly projectCard?: Maybe; -}; - -/** Autogenerated input type of ConvertProjectV2DraftIssueItemToIssue */ -export type ConvertProjectV2DraftIssueItemToIssueInput = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: InputMaybe; - /** The ID of the draft issue ProjectV2Item to convert. */ - readonly itemId: Scalars['ID']['input']; - /** The ID of the repository to create the issue in. */ - readonly repositoryId: Scalars['ID']['input']; -}; - -/** Autogenerated return type of ConvertProjectV2DraftIssueItemToIssue. */ -export type ConvertProjectV2DraftIssueItemToIssuePayload = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: Maybe; - /** The updated project item. */ - readonly item?: Maybe; -}; - -/** Autogenerated input type of ConvertPullRequestToDraft */ -export type ConvertPullRequestToDraftInput = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: InputMaybe; - /** ID of the pull request to convert to draft */ - readonly pullRequestId: Scalars['ID']['input']; -}; - -/** Autogenerated return type of ConvertPullRequestToDraft. */ -export type ConvertPullRequestToDraftPayload = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: Maybe; - /** The pull request that is now a draft. */ - readonly pullRequest?: Maybe; -}; - -/** Represents a 'convert_to_draft' event on a given pull request. */ -export type ConvertToDraftEvent = Node & UniformResourceLocatable & { - /** Identifies the actor who performed the event. */ - readonly actor?: Maybe; - /** Identifies the date and time when the object was created. */ - readonly createdAt: Scalars['DateTime']['output']; - /** The Node ID of the ConvertToDraftEvent object */ - readonly id: Scalars['ID']['output']; - /** PullRequest referenced by event. */ - readonly pullRequest: PullRequest; - /** The HTTP path for this convert to draft event. */ - readonly resourcePath: Scalars['URI']['output']; - /** The HTTP URL for this convert to draft event. */ - readonly url: Scalars['URI']['output']; -}; - -/** Represents a 'converted_from_draft' event on a given issue or pull request. */ -export type ConvertedFromDraftEvent = Node & ProjectV2Event & { - /** Identifies the actor who performed the event. */ - readonly actor?: Maybe; - /** Identifies the date and time when the object was created. */ - readonly createdAt: Scalars['DateTime']['output']; - /** The Node ID of the ConvertedFromDraftEvent object */ - readonly id: Scalars['ID']['output']; - /** Project referenced by event. */ - readonly project?: Maybe; - /** Did this event result from workflow automation? */ - readonly wasAutomated: Scalars['Boolean']['output']; -}; - -/** Represents a 'converted_note_to_issue' event on a given issue or pull request. */ -export type ConvertedNoteToIssueEvent = Node & { - /** Identifies the actor who performed the event. */ - readonly actor?: Maybe; - /** Identifies the date and time when the object was created. */ - readonly createdAt: Scalars['DateTime']['output']; - /** Identifies the primary key from the database. */ - readonly databaseId?: Maybe; - /** The Node ID of the ConvertedNoteToIssueEvent object */ - readonly id: Scalars['ID']['output']; - /** - * Project referenced by event. - * @deprecated Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC. - */ - readonly project?: Maybe; - /** - * Project card referenced by this project event. - * @deprecated Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC. - */ - readonly projectCard?: Maybe; - /** Column name referenced by this project event. */ - readonly projectColumnName: Scalars['String']['output']; -}; - -/** Represents a 'converted_to_discussion' event on a given issue. */ -export type ConvertedToDiscussionEvent = Node & { - /** Identifies the actor who performed the event. */ - readonly actor?: Maybe; - /** Identifies the date and time when the object was created. */ - readonly createdAt: Scalars['DateTime']['output']; - /** The discussion that the issue was converted into. */ - readonly discussion?: Maybe; - /** The Node ID of the ConvertedToDiscussionEvent object */ - readonly id: Scalars['ID']['output']; -}; - -/** - * Request Copilot code review for new pull requests automatically if the author - * has access to Copilot code review and their premium requests quota has not - * reached the limit. - */ -export type CopilotCodeReviewParameters = { - /** Copilot automatically reviews draft pull requests before they are marked as ready for review. */ - readonly reviewDraftPullRequests: Scalars['Boolean']['output']; - /** Copilot automatically reviews each new push to the pull request. */ - readonly reviewOnPush: Scalars['Boolean']['output']; -}; - -/** - * Request Copilot code review for new pull requests automatically if the author - * has access to Copilot code review and their premium requests quota has not - * reached the limit. - */ -export type CopilotCodeReviewParametersInput = { - /** Copilot automatically reviews draft pull requests before they are marked as ready for review. */ - readonly reviewDraftPullRequests?: InputMaybe; - /** Copilot automatically reviews each new push to the pull request. */ - readonly reviewOnPush?: InputMaybe; -}; - -/** Copilot endpoint information */ -export type CopilotEndpoints = { - /** Copilot API endpoint */ - readonly api: Scalars['String']['output']; - /** Copilot origin tracker endpoint */ - readonly originTracker: Scalars['String']['output']; - /** Copilot proxy endpoint */ - readonly proxy: Scalars['String']['output']; - /** Copilot telemetry endpoint */ - readonly telemetry: Scalars['String']['output']; -}; - -/** Autogenerated input type of CopyProjectV2 */ -export type CopyProjectV2Input = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: InputMaybe; - /** Include draft issues in the new project */ - readonly includeDraftIssues?: InputMaybe; - /** The owner ID of the new project. */ - readonly ownerId: Scalars['ID']['input']; - /** The ID of the source Project to copy. */ - readonly projectId: Scalars['ID']['input']; - /** The title of the project. */ - readonly title: Scalars['String']['input']; -}; - -/** Autogenerated return type of CopyProjectV2. */ -export type CopyProjectV2Payload = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: Maybe; - /** The copied project. */ - readonly projectV2?: Maybe; -}; - -/** Autogenerated input type of CreateAttributionInvitation */ -export type CreateAttributionInvitationInput = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: InputMaybe; - /** The Node ID of the owner scoping the reattributable data. */ - readonly ownerId: Scalars['ID']['input']; - /** The Node ID of the account owning the data to reattribute. */ - readonly sourceId: Scalars['ID']['input']; - /** The Node ID of the account which may claim the data. */ - readonly targetId: Scalars['ID']['input']; -}; - -/** Autogenerated return type of CreateAttributionInvitation. */ -export type CreateAttributionInvitationPayload = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: Maybe; - /** The owner scoping the reattributable data. */ - readonly owner?: Maybe; - /** The account owning the data to reattribute. */ - readonly source?: Maybe; - /** The account which may claim the data. */ - readonly target?: Maybe; -}; - -/** Autogenerated input type of CreateBranchProtectionRule */ -export type CreateBranchProtectionRuleInput = { - /** Can this branch be deleted. */ - readonly allowsDeletions?: InputMaybe; - /** Are force pushes allowed on this branch. */ - readonly allowsForcePushes?: InputMaybe; - /** Is branch creation a protected operation. */ - readonly blocksCreations?: InputMaybe; - /** A list of User, Team, or App IDs allowed to bypass force push targeting matching branches. */ - readonly bypassForcePushActorIds?: InputMaybe>; - /** A list of User, Team, or App IDs allowed to bypass pull requests targeting matching branches. */ - readonly bypassPullRequestActorIds?: InputMaybe>; - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: InputMaybe; - /** Will new commits pushed to matching branches dismiss pull request review approvals. */ - readonly dismissesStaleReviews?: InputMaybe; - /** Can admins override branch protection. */ - readonly isAdminEnforced?: InputMaybe; - /** - * 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. - */ - readonly lockAllowsFetchAndMerge?: InputMaybe; - /** Whether to set the branch as read-only. If this is true, users will not be able to push to the branch. */ - readonly lockBranch?: InputMaybe; - /** The glob-like pattern used to determine matching branches. */ - readonly pattern: Scalars['String']['input']; - /** A list of User, Team, or App IDs allowed to push to matching branches. */ - readonly pushActorIds?: InputMaybe>; - /** The global relay id of the repository in which a new branch protection rule should be created in. */ - readonly repositoryId: Scalars['ID']['input']; - /** Whether the most recent push must be approved by someone other than the person who pushed it */ - readonly requireLastPushApproval?: InputMaybe; - /** Number of approving reviews required to update matching branches. */ - readonly requiredApprovingReviewCount?: InputMaybe; - /** The list of required deployment environments */ - readonly requiredDeploymentEnvironments?: InputMaybe>; - /** List of required status check contexts that must pass for commits to be accepted to matching branches. */ - readonly requiredStatusCheckContexts?: InputMaybe>; - /** The list of required status checks */ - readonly requiredStatusChecks?: InputMaybe>; - /** Are approving reviews required to update matching branches. */ - readonly requiresApprovingReviews?: InputMaybe; - /** Are reviews from code owners required to update matching branches. */ - readonly requiresCodeOwnerReviews?: InputMaybe; - /** Are commits required to be signed. */ - readonly requiresCommitSignatures?: InputMaybe; - /** Are conversations required to be resolved before merging. */ - readonly requiresConversationResolution?: InputMaybe; - /** Are successful deployments required before merging. */ - readonly requiresDeployments?: InputMaybe; - /** Are merge commits prohibited from being pushed to this branch. */ - readonly requiresLinearHistory?: InputMaybe; - /** Are status checks required to update matching branches. */ - readonly requiresStatusChecks?: InputMaybe; - /** Are branches required to be up to date before merging. */ - readonly requiresStrictStatusChecks?: InputMaybe; - /** Is pushing to matching branches restricted. */ - readonly restrictsPushes?: InputMaybe; - /** Is dismissal of pull request reviews restricted. */ - readonly restrictsReviewDismissals?: InputMaybe; - /** A list of User, Team, or App IDs allowed to dismiss reviews on pull requests targeting matching branches. */ - readonly reviewDismissalActorIds?: InputMaybe>; -}; - -/** Autogenerated return type of CreateBranchProtectionRule. */ -export type CreateBranchProtectionRulePayload = { - /** The newly created BranchProtectionRule. */ - readonly branchProtectionRule?: Maybe; - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: Maybe; -}; - -/** Autogenerated input type of CreateCheckRun */ -export type CreateCheckRunInput = { - /** Possible further actions the integrator can perform, which a user may trigger. */ - readonly actions?: InputMaybe>; - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: InputMaybe; - /** The time that the check run finished. */ - readonly completedAt?: InputMaybe; - /** The final conclusion of the check. */ - readonly conclusion?: InputMaybe; - /** The URL of the integrator's site that has the full details of the check. */ - readonly detailsUrl?: InputMaybe; - /** A reference for the run on the integrator's system. */ - readonly externalId?: InputMaybe; - /** The SHA of the head commit. */ - readonly headSha: Scalars['GitObjectID']['input']; - /** The name of the check. */ - readonly name: Scalars['String']['input']; - /** Descriptive details about the run. */ - readonly output?: InputMaybe; - /** The node ID of the repository. */ - readonly repositoryId: Scalars['ID']['input']; - /** The time that the check run began. */ - readonly startedAt?: InputMaybe; - /** The current status. */ - readonly status?: InputMaybe; -}; - -/** Autogenerated return type of CreateCheckRun. */ -export type CreateCheckRunPayload = { - /** The newly created check run. */ - readonly checkRun?: Maybe; - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: Maybe; -}; - -/** Autogenerated input type of CreateCheckSuite */ -export type CreateCheckSuiteInput = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: InputMaybe; - /** The SHA of the head commit. */ - readonly headSha: Scalars['GitObjectID']['input']; - /** The Node ID of the repository. */ - readonly repositoryId: Scalars['ID']['input']; -}; - -/** Autogenerated return type of CreateCheckSuite. */ -export type CreateCheckSuitePayload = { - /** The newly created check suite. */ - readonly checkSuite?: Maybe; - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: Maybe; -}; - -/** Autogenerated input type of CreateCommitOnBranch */ -export type CreateCommitOnBranchInput = { - /** The Ref to be updated. Must be a branch. */ - readonly branch: CommittableBranch; - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: InputMaybe; - /** The git commit oid expected at the head of the branch prior to the commit */ - readonly expectedHeadOid: Scalars['GitObjectID']['input']; - /** A description of changes to files in this commit. */ - readonly fileChanges?: InputMaybe; - /** The commit message the be included with the commit. */ - readonly message: CommitMessage; -}; - -/** Autogenerated return type of CreateCommitOnBranch. */ -export type CreateCommitOnBranchPayload = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: Maybe; - /** The new commit. */ - readonly commit?: Maybe; - /** The ref which has been updated to point to the new commit. */ - readonly ref?: Maybe; -}; - -/** Autogenerated input type of CreateDeployment */ -export type CreateDeploymentInput = { - /** Attempt to automatically merge the default branch into the requested ref, defaults to true. */ - readonly autoMerge?: InputMaybe; - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: InputMaybe; - /** Short description of the deployment. */ - readonly description?: InputMaybe; - /** Name for the target deployment environment. */ - readonly environment?: InputMaybe; - /** JSON payload with extra information about the deployment. */ - readonly payload?: InputMaybe; - /** The node ID of the ref to be deployed. */ - readonly refId: Scalars['ID']['input']; - /** The node ID of the repository. */ - readonly repositoryId: Scalars['ID']['input']; - /** - * The status contexts to verify against commit status checks. To bypass required - * contexts, pass an empty array. Defaults to all unique contexts. - */ - readonly requiredContexts?: InputMaybe>; - /** Specifies a task to execute. */ - readonly task?: InputMaybe; -}; - -/** Autogenerated return type of CreateDeployment. */ -export type CreateDeploymentPayload = { - /** True if the default branch has been auto-merged into the deployment ref. */ - readonly autoMerged?: Maybe; - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: Maybe; - /** The new deployment. */ - readonly deployment?: Maybe; -}; - -/** Autogenerated input type of CreateDeploymentStatus */ -export type CreateDeploymentStatusInput = { - /** - * Adds a new inactive status to all non-transient, non-production environment - * deployments with the same repository and environment name as the created - * status's deployment. - */ - readonly autoInactive?: InputMaybe; - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: InputMaybe; - /** The node ID of the deployment. */ - readonly deploymentId: Scalars['ID']['input']; - /** A short description of the status. Maximum length of 140 characters. */ - readonly description?: InputMaybe; - /** If provided, updates the environment of the deploy. Otherwise, does not modify the environment. */ - readonly environment?: InputMaybe; - /** Sets the URL for accessing your environment. */ - readonly environmentUrl?: InputMaybe; - /** - * The log URL to associate with this status. This URL should contain - * output to keep the user updated while the task is running or serve as - * historical information for what happened in the deployment. - */ - readonly logUrl?: InputMaybe; - /** The state of the deployment. */ - readonly state: DeploymentStatusState; -}; - -/** Autogenerated return type of CreateDeploymentStatus. */ -export type CreateDeploymentStatusPayload = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: Maybe; - /** The new deployment status. */ - readonly deploymentStatus?: Maybe; -}; - -/** Autogenerated input type of CreateDiscussion */ -export type CreateDiscussionInput = { - /** The body of the discussion. */ - readonly body: Scalars['String']['input']; - /** The id of the discussion category to associate with this discussion. */ - readonly categoryId: Scalars['ID']['input']; - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: InputMaybe; - /** The id of the repository on which to create the discussion. */ - readonly repositoryId: Scalars['ID']['input']; - /** The title of the discussion. */ - readonly title: Scalars['String']['input']; -}; - -/** Autogenerated return type of CreateDiscussion. */ -export type CreateDiscussionPayload = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: Maybe; - /** The discussion that was just created. */ - readonly discussion?: Maybe; -}; - -/** Autogenerated input type of CreateEnterpriseOrganization */ -export type CreateEnterpriseOrganizationInput = { - /** The logins for the administrators of the new organization. */ - readonly adminLogins: ReadonlyArray; - /** The email used for sending billing receipts. */ - readonly billingEmail: Scalars['String']['input']; - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: InputMaybe; - /** The ID of the enterprise owning the new organization. */ - readonly enterpriseId: Scalars['ID']['input']; - /** The login of the new organization. */ - readonly login: Scalars['String']['input']; - /** The profile name of the new organization. */ - readonly profileName: Scalars['String']['input']; -}; - -/** Autogenerated return type of CreateEnterpriseOrganization. */ -export type CreateEnterpriseOrganizationPayload = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: Maybe; - /** The enterprise that owns the created organization. */ - readonly enterprise?: Maybe; - /** The organization that was created. */ - readonly organization?: Maybe; -}; - -/** Autogenerated input type of CreateEnvironment */ -export type CreateEnvironmentInput = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: InputMaybe; - /** The name of the environment. */ - readonly name: Scalars['String']['input']; - /** The node ID of the repository. */ - readonly repositoryId: Scalars['ID']['input']; -}; - -/** Autogenerated return type of CreateEnvironment. */ -export type CreateEnvironmentPayload = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: Maybe; - /** The new or existing environment. */ - readonly environment?: Maybe; -}; - -/** Autogenerated input type of CreateIpAllowListEntry */ -export type CreateIpAllowListEntryInput = { - /** An IP address or range of addresses in CIDR notation. */ - readonly allowListValue: Scalars['String']['input']; - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: InputMaybe; - /** Whether the IP allow list entry is active when an IP allow list is enabled. */ - readonly isActive: Scalars['Boolean']['input']; - /** An optional name for the IP allow list entry. */ - readonly name?: InputMaybe; - /** The ID of the owner for which to create the new IP allow list entry. */ - readonly ownerId: Scalars['ID']['input']; -}; - -/** Autogenerated return type of CreateIpAllowListEntry. */ -export type CreateIpAllowListEntryPayload = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: Maybe; - /** The IP allow list entry that was created. */ - readonly ipAllowListEntry?: Maybe; -}; - -/** Autogenerated input type of CreateIssueField */ -export type CreateIssueFieldInput = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: InputMaybe; - /** The data type of the issue field. */ - readonly dataType: IssueFieldDataType; - /** A description of the issue field. */ - readonly description?: InputMaybe; - /** The name of the issue field. */ - readonly name: Scalars['String']['input']; - /** The options for the issue field if applicable. */ - readonly options?: InputMaybe>; - /** The ID of the organization where the issue field will be created. */ - readonly ownerId: Scalars['ID']['input']; - /** The visibility of the issue field. */ - readonly visibility?: InputMaybe; -}; - -/** Autogenerated return type of CreateIssueField. */ -export type CreateIssueFieldPayload = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: Maybe; - /** The newly created issue field. */ - readonly issueField?: Maybe; -}; - -/** Autogenerated input type of CreateIssueFieldValue */ -export type CreateIssueFieldValueInput = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: InputMaybe; - /** The field value to create. */ - readonly issueField: IssueFieldCreateOrUpdateInput; - /** The ID of the issue. */ - readonly issueId: Scalars['ID']['input']; -}; - -/** Autogenerated return type of CreateIssueFieldValue. */ -export type CreateIssueFieldValuePayload = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: Maybe; - /** The issue object. */ - readonly issue?: Maybe; - /** The newly created issue field value. */ - readonly issueFieldValue?: Maybe; -}; - -/** Autogenerated input type of CreateIssue */ -export type CreateIssueInput = { - /** Configuration for assigning Copilot to this issue. */ - readonly agentAssignment?: InputMaybe; - /** The Node ID of assignees for this issue. */ - readonly assigneeIds?: InputMaybe>; - /** The body for the issue description. */ - readonly body?: InputMaybe; - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: InputMaybe; - /** An array of issue fields to set on the issue during creation */ - readonly issueFields?: InputMaybe>; - /** The name of an issue template in the repository, assigns labels and assignees from the template to the issue */ - readonly issueTemplate?: InputMaybe; - /** The Node ID of the issue type for this issue */ - readonly issueTypeId?: InputMaybe; - /** An array of Node IDs of labels for this issue. */ - readonly labelIds?: InputMaybe>; - /** The Node ID of the milestone for this issue. */ - readonly milestoneId?: InputMaybe; - /** The Node ID of the parent issue to add this new issue to */ - readonly parentIssueId?: InputMaybe; - /** An array of Node IDs for projects associated with this issue. */ - readonly projectIds?: InputMaybe>; - /** An array of Node IDs for Projects V2 associated with this issue. */ - readonly projectV2Ids?: InputMaybe>; - /** The Node ID of the repository. */ - readonly repositoryId: Scalars['ID']['input']; - /** The title for the issue. */ - readonly title: Scalars['String']['input']; -}; - -/** Autogenerated return type of CreateIssue. */ -export type CreateIssuePayload = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: Maybe; - /** The new issue. */ - readonly issue?: Maybe; -}; - -/** Autogenerated input type of CreateIssueType */ -export type CreateIssueTypeInput = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: InputMaybe; - /** Color for the issue type */ - readonly color?: InputMaybe; - /** Description of the new issue type */ - readonly description?: InputMaybe; - /** Whether or not the issue type is enabled on the org level */ - readonly isEnabled: Scalars['Boolean']['input']; - /** Name of the new issue type */ - readonly name: Scalars['String']['input']; - /** The ID for the organization on which the issue type is created */ - readonly ownerId: Scalars['ID']['input']; -}; - -/** Autogenerated return type of CreateIssueType. */ -export type CreateIssueTypePayload = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: Maybe; - /** The newly created issue type */ - readonly issueType?: Maybe; -}; - -/** Autogenerated input type of CreateLabel */ -export type CreateLabelInput = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: InputMaybe; - /** A 6 character hex code, without the leading #, identifying the color of the label. */ - readonly color: Scalars['String']['input']; - /** A brief description of the label, such as its purpose. */ - readonly description?: InputMaybe; - /** The name of the label. */ - readonly name: Scalars['String']['input']; - /** The Node ID of the repository. */ - readonly repositoryId: Scalars['ID']['input']; -}; - -/** Autogenerated return type of CreateLabel. */ -export type CreateLabelPayload = { - /** A unique identifier for the client performing the mutation. */ - readonly clientMutationId?: Maybe; - /** The new label. */ - readonly label?: Maybe