diff --git a/graphql-codegen.ts b/graphql-codegen.ts new file mode 100644 index 00000000..44c9cd3d --- /dev/null +++ b/graphql-codegen.ts @@ -0,0 +1,27 @@ +import type { CodegenConfig } from '@graphql-codegen/cli' +import { schema } from '@octokit/graphql-schema' + +const config: CodegenConfig = { + schema: schema.idl, + documents: ['src/queries/**/*.ts'], + generates: { + 'src/generated/graphql-types.ts': { + plugins: ['typescript'], + }, + 'src/generated/graphql.ts': { + preset: 'import-types', + plugins: ['typescript-operations'], + presetConfig: { + typesPath: './graphql-types', + }, + }, + }, + config: { + // https://docs.github.com/en/graphql/reference/scalars + scalars: { + URI: 'string', + }, + }, +} + +export default config diff --git a/graphql-codegen.yaml b/graphql-codegen.yaml deleted file mode 100644 index a0fed759..00000000 --- a/graphql-codegen.yaml +++ /dev/null @@ -1,18 +0,0 @@ -overwrite: true -schema: src/generated/octokit-graphql-schema.js -documents: - - src/queries/*.ts -generates: - src/generated/graphql-types.ts: - plugins: - - typescript - src/generated/graphql.ts: - plugins: - - typescript-operations - preset: import-types - presetConfig: - typesPath: ./graphql-types -config: - scalars: - # https://docs.github.com/en/graphql/reference/scalars - URI: string diff --git a/package.json b/package.json index 19cd7b29..2c79c440 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "lint": "eslint **/*.ts", "build": "ncc build --source-map --license licenses.txt src/main.ts", "test": "jest", - "graphql-codegen": "graphql-codegen --config graphql-codegen.yaml" + "graphql-codegen": "graphql-codegen --config graphql-codegen.ts" }, "dependencies": { "@actions/core": "1.10.1", diff --git a/src/generated/graphql-types.ts b/src/generated/graphql-types.ts index 66c12f1c..7eafb4da 100644 --- a/src/generated/graphql-types.ts +++ b/src/generated/graphql-types.ts @@ -12,16 +12,30 @@ export type Scalars = { 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; } + /** 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: 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; } }; @@ -88,7 +102,6 @@ export type AcceptTopicSuggestionInput = { * **Upcoming Change on 2024-04-01 UTC** * **Description:** `name` will be removed. * **Reason:** Suggested topics are no longer supported - * */ name?: InputMaybe; /** @@ -97,7 +110,6 @@ export type AcceptTopicSuggestionInput = { * **Upcoming Change on 2024-04-01 UTC** * **Description:** `repositoryId` will be removed. * **Reason:** Suggested topics are no longer supported - * */ repositoryId?: InputMaybe; }; @@ -350,7 +362,10 @@ export type AddProjectV2DraftIssueInput = { clientMutationId?: InputMaybe; /** The ID of the Project to add the draft issue to. */ 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. */ + /** + * 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. + */ title: Scalars['String']['input']; }; @@ -390,7 +405,6 @@ export type AddPullRequestReviewCommentInput = { * **Upcoming Change on 2023-10-01 UTC** * **Description:** `body` will be removed. use addPullRequestReviewThread or addPullRequestReviewThreadReply instead * **Reason:** We are deprecating the addPullRequestReviewComment mutation - * */ body?: InputMaybe; /** A unique identifier for the client performing the mutation. */ @@ -401,7 +415,6 @@ export type AddPullRequestReviewCommentInput = { * **Upcoming Change on 2023-10-01 UTC** * **Description:** `commitOID` will be removed. use addPullRequestReviewThread or addPullRequestReviewThreadReply instead * **Reason:** We are deprecating the addPullRequestReviewComment mutation - * */ commitOID?: InputMaybe; /** @@ -410,7 +423,6 @@ export type AddPullRequestReviewCommentInput = { * **Upcoming Change on 2023-10-01 UTC** * **Description:** `inReplyTo` will be removed. use addPullRequestReviewThread or addPullRequestReviewThreadReply instead * **Reason:** We are deprecating the addPullRequestReviewComment mutation - * */ inReplyTo?: InputMaybe; /** @@ -419,7 +431,6 @@ export type AddPullRequestReviewCommentInput = { * **Upcoming Change on 2023-10-01 UTC** * **Description:** `path` will be removed. use addPullRequestReviewThread or addPullRequestReviewThreadReply instead * **Reason:** We are deprecating the addPullRequestReviewComment mutation - * */ path?: InputMaybe; /** @@ -428,25 +439,24 @@ export type AddPullRequestReviewCommentInput = { * **Upcoming Change on 2023-10-01 UTC** * **Description:** `position` will be removed. use addPullRequestReviewThread or addPullRequestReviewThreadReply instead * **Reason:** We are deprecating the addPullRequestReviewComment mutation - * */ 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 + * **Description:** `pullRequestId` will be removed. use + * addPullRequestReviewThread or addPullRequestReviewThreadReply instead * **Reason:** We are deprecating the addPullRequestReviewComment mutation - * */ 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 + * **Description:** `pullRequestReviewId` will be removed. use + * addPullRequestReviewThread or addPullRequestReviewThreadReply instead * **Reason:** We are deprecating the addPullRequestReviewComment mutation - * */ pullRequestReviewId?: InputMaybe; }; @@ -474,7 +484,6 @@ export type AddPullRequestReviewInput = { * **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 - * */ comments?: InputMaybe>>; /** The commit OID the review pertains to. */ @@ -504,7 +513,10 @@ export type AddPullRequestReviewThreadInput = { body: Scalars['String']['input']; /** A unique identifier for the client performing the mutation. */ 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. */ + /** + * 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. + */ line?: InputMaybe; /** Path to the file being commented on. */ path: Scalars['String']['input']; @@ -909,15 +921,24 @@ export type AutoMergeRequest = { __typename?: 'AutoMergeRequest'; /** The email address of the author of this auto-merge request. */ 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. */ + /** + * 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. + */ 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 */ + /** + * 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 + */ commitHeadline?: Maybe; /** When was this auto-merge request was enabled. */ enabledAt?: Maybe; /** The actor who created the auto-merge request. */ 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. */ + /** + * 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. + */ mergeMethod: PullRequestMergeMethod; /** The pull request that this auto-merge request is set against. */ pullRequest: PullRequest; @@ -1050,7 +1071,12 @@ export type Blame = { /** Represents a range of information from a Git blame. */ export type BlameRange = { __typename?: '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. */ + /** + * 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. + */ age: Scalars['Int']['output']; /** Identifies the line author */ commit: Commit; @@ -1165,7 +1191,10 @@ export type BranchProtectionRule = Node & { id: Scalars['ID']['output']; /** Can admins override branch protection. */ 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. */ + /** + * Whether users can pull changes from upstream when the branch is locked. Set to + * `true` to allow fork syncing. Set to `false` to prevent fork syncing. + */ lockAllowsFetchAndMerge: 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. */ lockBranch: Scalars['Boolean']['output']; @@ -1321,7 +1350,10 @@ export type BranchProtectionRuleEdge = { 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. */ +/** + * 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. */ amount: Scalars['Int']['input']; @@ -1467,9 +1499,15 @@ export type CancelEnterpriseAdminInvitationPayload = { export type CancelSponsorshipInput = { /** A unique identifier for the client performing the mutation. */ 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. */ + /** + * The ID of the user or organization who is acting as the sponsor, paying for + * the sponsorship. Required if sponsorLogin is not given. + */ 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. */ + /** + * The username of the user or organization who is acting as the sponsor, paying + * for the sponsorship. Required if sponsorId is not given. + */ sponsorLogin?: InputMaybe; /** The ID of the user or organization who is receiving the sponsorship. Required if sponsorableLogin is not given. */ sponsorableId?: InputMaybe; @@ -1498,7 +1536,10 @@ export type ChangeUserStatusInput = { limitedAvailability?: InputMaybe; /** A short description of your current status. */ message?: InputMaybe; - /** The ID of the organization whose members will be allowed to see the status. If omitted, the status will be publicly visible. */ + /** + * The ID of the organization whose members will be allowed to see the status. If + * omitted, the status will be publicly visible. + */ organizationId?: InputMaybe; }; @@ -2064,7 +2105,10 @@ export type CloneTemplateRepositoryInput = { clientMutationId?: InputMaybe; /** A short description of the new repository. */ description?: InputMaybe; - /** Whether to copy all branches from the template to the new repository. Defaults to copying only the default branch of the template. */ + /** + * Whether to copy all branches from the template to the new repository. Defaults + * to copying only the default branch of the template. + */ includeAllBranches?: InputMaybe; /** The name of the new repository. */ name: Scalars['String']['input']; @@ -2306,7 +2350,11 @@ export type Commit = GitObject & Node & Subscribable & UniformResourceLocatable abbreviatedOid: Scalars['String']['output']; /** The number of additions in this commit. */ 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 */ + /** + * 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 + */ associatedPullRequests?: Maybe; /** Authorship details of the commit. */ author?: Maybe; @@ -2317,17 +2365,22 @@ export type Commit = GitObject & Node & Subscribable & UniformResourceLocatable /** * 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. - * */ authors: GitActorConnection; /** Fetches `git blame` information. */ 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. + * 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. */ 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`. */ + /** + * 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`. + */ changedFilesIfAvailable?: Maybe; /** The check suites associated with a commit. */ checkSuites?: Maybe; @@ -2506,7 +2559,10 @@ export type CommitSubmodulesArgs = { export type CommitAuthor = { /** Email addresses to filter by. Commits authored by any of the specified email addresses will be returned. */ 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. */ + /** + * 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. + */ id?: InputMaybe; }; @@ -2566,7 +2622,11 @@ export type CommitComment = Comment & Deletable & Minimizable & Node & Reactable isMinimized: Scalars['Boolean']['output']; /** The moment the editor made the last edit */ lastEditedAt?: Maybe; - /** Returns why the comment was minimized. One of `abuse`, `off-topic`, `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and formatting of these values differs from the inputs to the `MinimizeComment` mutation. */ + /** + * Returns why the comment was minimized. One of `abuse`, `off-topic`, + * `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and + * formatting of these values differs from the inputs to the `MinimizeComment` mutation. + */ minimizedReason?: Maybe; /** Identifies the file path associated with the comment. */ path?: Maybe; @@ -2799,8 +2859,6 @@ export type CommitMessagePatternParametersInput = { * "repositoryNameWithOwner": "github/graphql-client", * "branchName": "main" * } - * - * */ export type CommittableBranch = { /** The unqualified name of the branch to append the commit to. */ @@ -2925,7 +2983,6 @@ 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. - * */ isRestricted: Scalars['Boolean']['output']; /** When this contribution was made. */ @@ -2934,10 +2991,7 @@ export type Contribution = { resourcePath: Scalars['URI']['output']; /** The HTTP URL for this contribution. */ url: Scalars['URI']['output']; - /** - * The user who made this contribution. - * - */ + /** The user who made this contribution. */ user: User; }; @@ -2963,7 +3017,10 @@ export type ContributionCalendarDay = { color: Scalars['String']['output']; /** How many contributions were made by the user on this day. */ 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. */ + /** + * Indication of contributions, relative to other days. Can be used to indicate + * which color to represent this day on a calendar. + */ contributionLevel: ContributionLevel; /** The day this square represents. */ date: Scalars['Date']['output']; @@ -3022,26 +3079,45 @@ export type ContributionsCollection = { contributionCalendar: ContributionCalendar; /** The years the user has been making contributions with the most recent year first. */ contributionYears: Array; + /** Determine if this collection's time span ends in the current month. */ + doesEndInCurrentMonth: Scalars['Boolean']['output']; /** - * Determine if this collection's time span ends in the current month. - * + * 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. */ - 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. */ earliestRestrictedContributionDate?: Maybe; /** The ending date and time of this collection. */ 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. */ + /** + * 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. + */ 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. */ + /** + * 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. + */ 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. */ + /** + * 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. + */ firstRepositoryContribution?: Maybe; /** Does the user have any more activity in the timeline that occurred prior to the collection's time range? */ hasActivityInThePast: Scalars['Boolean']['output']; /** Determine if there are any contributions in this collection. */ 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. */ + /** + * 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. + */ hasAnyRestrictedContributions: Scalars['Boolean']['output']; /** Whether or not the collector's time span is all within the same day. */ isSingleDay: Scalars['Boolean']['output']; @@ -3049,32 +3125,34 @@ export type ContributionsCollection = { issueContributions: CreatedIssueContributionConnection; /** Issue contributions made by the user, grouped by repository. */ issueContributionsByRepository: Array; - /** 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. */ + /** + * 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. + */ 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. */ + /** + * 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. + */ 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. - * */ mostRecentCollectionWithActivity?: Maybe; /** * Returns a different contributions collection from an earlier time range than this one * that does not have any contributions. - * */ mostRecentCollectionWithoutActivity?: Maybe; /** * The issue the user opened on GitHub that received the most comments in the specified * time frame. - * */ popularIssueContribution?: Maybe; /** * The pull request the user opened on GitHub that received the most comments in the * specified time frame. - * */ popularPullRequestContribution?: Maybe; /** Pull request contributions made by the user. */ @@ -3084,14 +3162,16 @@ export type ContributionsCollection = { /** * Pull request review contributions made by the user. Returns the most recently * submitted review for each PR reviewed by the user. - * */ pullRequestReviewContributions: CreatedPullRequestReviewContributionConnection; /** Pull request review contributions made by the user, grouped by repository. */ pullRequestReviewContributionsByRepository: Array; /** A list of repositories owned by the user that the user created in this time range. */ 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. */ + /** + * 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. + */ restrictedContributionsCount: Scalars['Int']['output']; /** The beginning date and time of this collection. */ startedAt: Scalars['DateTime']['output']; @@ -3373,7 +3453,10 @@ export type CreateBranchProtectionRuleInput = { dismissesStaleReviews?: InputMaybe; /** Can admins override branch protection. */ 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. */ + /** + * Whether users can pull changes from upstream when the branch is locked. Set to + * `true` to allow fork syncing. Set to `false` to prevent fork syncing. + */ lockAllowsFetchAndMerge?: InputMaybe; /** Whether to set the branch as read-only. If this is true, users will not be able to push to the branch. */ lockBranch?: InputMaybe; @@ -3759,7 +3842,6 @@ export type CreatePullRequestInput = { * The name of the branch you want your changes pulled into. This should be an existing branch * on the current repository. You cannot update the base branch on a pull request to point * to another repository. - * */ baseRefName: Scalars['String']['input']; /** The contents of the pull request. */ @@ -3771,7 +3853,6 @@ export type CreatePullRequestInput = { /** * The name of the branch where your changes are implemented. For cross-repository pull requests * in the same network, namespace `head_ref_name` with a user like this: `username:branch`. - * */ headRefName: Scalars['String']['input']; /** The Node ID of the head repository. */ @@ -3830,9 +3911,15 @@ export type CreateRepositoryInput = { name: Scalars['String']['input']; /** The ID of the owner for the new repository. */ ownerId?: InputMaybe; - /** When an organization is specified as the owner, this ID identifies the team that should be granted access to the new repository. */ + /** + * When an organization is specified as the owner, this ID identifies the team + * that should be granted access to the new repository. + */ teamId?: InputMaybe; - /** Whether this repository should be marked as a template such that anyone who can access it can create new repositories with the same files and directory structure. */ + /** + * Whether this repository should be marked as a template such that anyone who + * can access it can create new repositories with the same files and directory structure. + */ template?: InputMaybe; /** Indicates the repository's visibility level. */ visibility: RepositoryVisibility; @@ -3878,21 +3965,52 @@ export type CreateRepositoryRulesetPayload = { /** Autogenerated input type of CreateSponsorsListing */ export type CreateSponsorsListingInput = { - /** The country or region where the sponsorable's bank account is located. Required if fiscalHostLogin is not specified, ignored when fiscalHostLogin is specified. */ + /** + * The country or region where the sponsorable's bank account is located. + * Required if fiscalHostLogin is not specified, ignored when fiscalHostLogin is specified. + */ billingCountryOrRegionCode?: InputMaybe; /** A unique identifier for the client performing the mutation. */ clientMutationId?: InputMaybe; - /** The email address we should use to contact you about the GitHub Sponsors profile being created. This will not be shared publicly. Must be a verified email address already on your GitHub account. Only relevant when the sponsorable is yourself. Defaults to your primary email address on file if omitted. */ + /** + * The email address we should use to contact you about the GitHub Sponsors + * profile being created. This will not be shared publicly. Must be a verified + * email address already on your GitHub account. Only relevant when the + * sponsorable is yourself. Defaults to your primary email address on file if omitted. + */ contactEmail?: InputMaybe; - /** The username of the supported fiscal host's GitHub organization, if you want to receive sponsorship payouts through a fiscal host rather than directly to a bank account. For example, 'Open-Source-Collective' for Open Source Collective or 'numfocus' for numFOCUS. Case insensitive. See https://docs.github.com/sponsors/receiving-sponsorships-through-github-sponsors/using-a-fiscal-host-to-receive-github-sponsors-payouts for more information. */ + /** + * The username of the supported fiscal host's GitHub organization, if you want + * to receive sponsorship payouts through a fiscal host rather than directly to a + * bank account. For example, 'Open-Source-Collective' for Open Source Collective + * or 'numfocus' for numFOCUS. Case insensitive. See https://docs.github.com/sponsors/receiving-sponsorships-through-github-sponsors/using-a-fiscal-host-to-receive-github-sponsors-payouts + * for more information. + */ fiscalHostLogin?: InputMaybe; - /** The URL for your profile page on the fiscal host's website, e.g., https://opencollective.com/babel or https://numfocus.org/project/bokeh. Required if fiscalHostLogin is specified. */ + /** + * The URL for your profile page on the fiscal host's website, e.g., + * https://opencollective.com/babel or https://numfocus.org/project/bokeh. + * Required if fiscalHostLogin is specified. + */ fiscallyHostedProjectProfileUrl?: InputMaybe; - /** Provide an introduction to serve as the main focus that appears on your GitHub Sponsors profile. It's a great opportunity to help potential sponsors learn more about you, your work, and why their sponsorship is important to you. GitHub-flavored Markdown is supported. */ + /** + * Provide an introduction to serve as the main focus that appears on your GitHub + * Sponsors profile. It's a great opportunity to help potential sponsors learn + * more about you, your work, and why their sponsorship is important to you. + * GitHub-flavored Markdown is supported. + */ fullDescription?: InputMaybe; - /** The country or region where the sponsorable resides. This is for tax purposes. Required if the sponsorable is yourself, ignored when sponsorableLogin specifies an organization. */ + /** + * The country or region where the sponsorable resides. This is for tax purposes. + * Required if the sponsorable is yourself, ignored when sponsorableLogin + * specifies an organization. + */ residenceCountryOrRegionCode?: InputMaybe; - /** The username of the organization to create a GitHub Sponsors profile for, if desired. Defaults to creating a GitHub Sponsors profile for the authenticated user if omitted. */ + /** + * The username of the organization to create a GitHub Sponsors profile for, if + * desired. Defaults to creating a GitHub Sponsors profile for the authenticated + * user if omitted. + */ sponsorableLogin?: InputMaybe; }; @@ -3915,17 +4033,37 @@ export type CreateSponsorsTierInput = { description: Scalars['String']['input']; /** Whether sponsorships using this tier should happen monthly/yearly or just once. */ isRecurring?: InputMaybe; - /** Whether to make the tier available immediately for sponsors to choose. Defaults to creating a draft tier that will not be publicly visible. */ + /** + * Whether to make the tier available immediately for sponsors to choose. + * Defaults to creating a draft tier that will not be publicly visible. + */ publish?: InputMaybe; - /** Optional ID of the private repository that sponsors at this tier should gain read-only access to. Must be owned by an organization. */ + /** + * Optional ID of the private repository that sponsors at this tier should gain + * read-only access to. Must be owned by an organization. + */ repositoryId?: InputMaybe; - /** Optional name of the private repository that sponsors at this tier should gain read-only access to. Must be owned by an organization. Necessary if repositoryOwnerLogin is given. Will be ignored if repositoryId is given. */ + /** + * Optional name of the private repository that sponsors at this tier should gain + * read-only access to. Must be owned by an organization. Necessary if + * repositoryOwnerLogin is given. Will be ignored if repositoryId is given. + */ repositoryName?: InputMaybe; - /** Optional login of the organization owner of the private repository that sponsors at this tier should gain read-only access to. Necessary if repositoryName is given. Will be ignored if repositoryId is given. */ + /** + * Optional login of the organization owner of the private repository that + * sponsors at this tier should gain read-only access to. Necessary if + * repositoryName is given. Will be ignored if repositoryId is given. + */ repositoryOwnerLogin?: InputMaybe; - /** The ID of the user or organization who owns the GitHub Sponsors profile. Defaults to the current user if omitted and sponsorableLogin is not given. */ + /** + * The ID of the user or organization who owns the GitHub Sponsors profile. + * Defaults to the current user if omitted and sponsorableLogin is not given. + */ sponsorableId?: InputMaybe; - /** The username of the user or organization who owns the GitHub Sponsors profile. Defaults to the current user if omitted and sponsorableId is not given. */ + /** + * The username of the user or organization who owns the GitHub Sponsors profile. + * Defaults to the current user if omitted and sponsorableId is not given. + */ sponsorableLogin?: InputMaybe; /** Optional message new sponsors at this tier will receive. */ welcomeMessage?: InputMaybe; @@ -3948,13 +4086,22 @@ export type CreateSponsorshipInput = { clientMutationId?: InputMaybe; /** Whether the sponsorship should happen monthly/yearly or just this one time. Required if a tierId is not specified. */ isRecurring?: InputMaybe; - /** Specify whether others should be able to see that the sponsor is sponsoring the sponsorable. Public visibility still does not reveal which tier is used. */ + /** + * Specify whether others should be able to see that the sponsor is sponsoring + * the sponsorable. Public visibility still does not reveal which tier is used. + */ privacyLevel?: InputMaybe; /** Whether the sponsor should receive email updates from the sponsorable. */ receiveEmails?: InputMaybe; - /** The ID of the user or organization who is acting as the sponsor, paying for the sponsorship. Required if sponsorLogin is not given. */ + /** + * The ID of the user or organization who is acting as the sponsor, paying for + * the sponsorship. Required if sponsorLogin is not given. + */ 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. */ + /** + * The username of the user or organization who is acting as the sponsor, paying + * for the sponsorship. Required if sponsorId is not given. + */ sponsorLogin?: InputMaybe; /** The ID of the user or organization who is receiving the sponsorship. Required if sponsorableLogin is not given. */ sponsorableId?: InputMaybe; @@ -3977,7 +4124,11 @@ export type CreateSponsorshipPayload = { export type CreateSponsorshipsInput = { /** A unique identifier for the client performing the mutation. */ clientMutationId?: InputMaybe; - /** Specify whether others should be able to see that the sponsor is sponsoring the sponsorables. Public visibility still does not reveal the dollar value of the sponsorship. */ + /** + * Specify whether others should be able to see that the sponsor is sponsoring + * the sponsorables. Public visibility still does not reveal the dollar value of + * the sponsorship. + */ privacyLevel?: InputMaybe; /** Whether the sponsor should receive email updates from the sponsorables. */ receiveEmails?: InputMaybe; @@ -4002,9 +4153,10 @@ export type CreateTeamDiscussionCommentInput = { * The content of the comment. This field is required. * * **Upcoming Change on 2024-07-01 UTC** - * **Description:** `body` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. + * **Description:** `body` will be removed. Follow the guide at + * https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to + * find a suitable replacement. * **Reason:** The Team Discussions feature is deprecated in favor of Organization Discussions. - * */ body?: InputMaybe; /** A unique identifier for the client performing the mutation. */ @@ -4013,9 +4165,10 @@ export type CreateTeamDiscussionCommentInput = { * The ID of the discussion to which the comment belongs. This field is required. * * **Upcoming Change on 2024-07-01 UTC** - * **Description:** `discussionId` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. + * **Description:** `discussionId` will be removed. Follow the guide at + * https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to + * find a suitable replacement. * **Reason:** The Team Discussions feature is deprecated in favor of Organization Discussions. - * */ discussionId?: InputMaybe; }; @@ -4038,38 +4191,44 @@ export type CreateTeamDiscussionInput = { * The content of the discussion. This field is required. * * **Upcoming Change on 2024-07-01 UTC** - * **Description:** `body` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. + * **Description:** `body` will be removed. Follow the guide at + * https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to + * find a suitable replacement. * **Reason:** The Team Discussions feature is deprecated in favor of Organization Discussions. - * */ body?: InputMaybe; /** A unique identifier for the client performing the mutation. */ clientMutationId?: InputMaybe; /** - * If true, restricts the visibility of this discussion to team members and organization owners. If false or not specified, allows any organization member to view this discussion. + * If true, restricts the visibility of this discussion to team members and + * organization owners. If false or not specified, allows any organization member + * to view this discussion. * * **Upcoming Change on 2024-07-01 UTC** - * **Description:** `private` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. + * **Description:** `private` will be removed. Follow the guide at + * https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to + * find a suitable replacement. * **Reason:** The Team Discussions feature is deprecated in favor of Organization Discussions. - * */ private?: InputMaybe; /** * The ID of the team to which the discussion belongs. This field is required. * * **Upcoming Change on 2024-07-01 UTC** - * **Description:** `teamId` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. + * **Description:** `teamId` will be removed. Follow the guide at + * https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to + * find a suitable replacement. * **Reason:** The Team Discussions feature is deprecated in favor of Organization Discussions. - * */ teamId?: InputMaybe; /** * The title of the discussion. This field is required. * * **Upcoming Change on 2024-07-01 UTC** - * **Description:** `title` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. + * **Description:** `title` will be removed. Follow the guide at + * https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to + * find a suitable replacement. * **Reason:** The Team Discussions feature is deprecated in favor of Organization Discussions. - * */ title?: InputMaybe; }; @@ -4118,7 +4277,6 @@ export type CreatedCommitContribution = 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. - * */ isRestricted: Scalars['Boolean']['output']; /** When this contribution was made. */ @@ -4129,10 +4287,7 @@ export type CreatedCommitContribution = Contribution & { resourcePath: Scalars['URI']['output']; /** The HTTP URL for this contribution. */ url: Scalars['URI']['output']; - /** - * The user who made this contribution. - * - */ + /** The user who made this contribution. */ user: User; }; @@ -4145,10 +4300,7 @@ export type CreatedCommitContributionConnection = { nodes?: Maybe>>; /** Information to aid in pagination. */ pageInfo: PageInfo; - /** - * Identifies the total count of commits across days and repositories in the connection. - * - */ + /** Identifies the total count of commits across days and repositories in the connection. */ totalCount: Scalars['Int']['output']; }; @@ -4168,7 +4320,6 @@ export type CreatedIssueContribution = 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. - * */ isRestricted: Scalars['Boolean']['output']; /** The issue that was opened. */ @@ -4179,10 +4330,7 @@ export type CreatedIssueContribution = Contribution & { resourcePath: Scalars['URI']['output']; /** The HTTP URL for this contribution. */ url: Scalars['URI']['output']; - /** - * The user who made this contribution. - * - */ + /** The user who made this contribution. */ user: User; }; @@ -4218,7 +4366,6 @@ export type CreatedPullRequestContribution = 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. - * */ isRestricted: Scalars['Boolean']['output']; /** When this contribution was made. */ @@ -4229,10 +4376,7 @@ export type CreatedPullRequestContribution = Contribution & { resourcePath: Scalars['URI']['output']; /** The HTTP URL for this contribution. */ url: Scalars['URI']['output']; - /** - * The user who made this contribution. - * - */ + /** The user who made this contribution. */ user: User; }; @@ -4268,7 +4412,6 @@ export type CreatedPullRequestReviewContribution = 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. - * */ isRestricted: Scalars['Boolean']['output']; /** When this contribution was made. */ @@ -4283,10 +4426,7 @@ export type CreatedPullRequestReviewContribution = Contribution & { resourcePath: Scalars['URI']['output']; /** The HTTP URL for this contribution. */ url: Scalars['URI']['output']; - /** - * The user who made this contribution. - * - */ + /** The user who made this contribution. */ user: User; }; @@ -4319,7 +4459,6 @@ export type CreatedRepositoryContribution = 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. - * */ isRestricted: Scalars['Boolean']['output']; /** When this contribution was made. */ @@ -4330,10 +4469,7 @@ export type CreatedRepositoryContribution = Contribution & { resourcePath: Scalars['URI']['output']; /** The HTTP URL for this contribution. */ url: Scalars['URI']['output']; - /** - * The user who made this contribution. - * - */ + /** The user who made this contribution. */ user: User; }; @@ -4397,7 +4533,6 @@ export type DeclineTopicSuggestionInput = { * **Upcoming Change on 2024-04-01 UTC** * **Description:** `name` will be removed. * **Reason:** Suggested topics are no longer supported - * */ name?: InputMaybe; /** @@ -4406,7 +4541,6 @@ export type DeclineTopicSuggestionInput = { * **Upcoming Change on 2024-04-01 UTC** * **Description:** `reason` will be removed. * **Reason:** Suggested topics are no longer supported - * */ reason?: InputMaybe; /** @@ -4415,7 +4549,6 @@ export type DeclineTopicSuggestionInput = { * **Upcoming Change on 2024-04-01 UTC** * **Description:** `repositoryId` will be removed. * **Reason:** Suggested topics are no longer supported - * */ repositoryId?: InputMaybe; }; @@ -5635,7 +5768,11 @@ export type DiscussionComment = Comment & Deletable & Minimizable & Node & React isMinimized: Scalars['Boolean']['output']; /** The moment the editor made the last edit */ lastEditedAt?: Maybe; - /** Returns why the comment was minimized. One of `abuse`, `off-topic`, `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and formatting of these values differs from the inputs to the `MinimizeComment` mutation. */ + /** + * Returns why the comment was minimized. One of `abuse`, `off-topic`, + * `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and + * formatting of these values differs from the inputs to the `MinimizeComment` mutation. + */ minimizedReason?: Maybe; /** Identifies when the comment was published at. */ publishedAt?: Maybe; @@ -6008,13 +6145,24 @@ export type EnablePullRequestAutoMergeInput = { authorEmail?: InputMaybe; /** A unique identifier for the client performing the mutation. */ clientMutationId?: InputMaybe; - /** Commit body to use for the commit when the PR is mergable; if omitted, a default message will be used. NOTE: when merging with a merge queue any input value for commit message is ignored. */ + /** + * Commit body to use for the commit when the PR is mergable; if omitted, a + * default message will be used. NOTE: when merging with a merge queue any input + * value for commit message is ignored. + */ commitBody?: InputMaybe; - /** Commit headline to use for the commit when the PR is mergable; if omitted, a default message will be used. NOTE: when merging with a merge queue any input value for commit headline is ignored. */ + /** + * Commit headline to use for the commit when the PR is mergable; if omitted, a + * default message will be used. NOTE: when merging with a merge queue any input + * value for commit headline is ignored. + */ commitHeadline?: InputMaybe; /** The expected head OID of the pull request. */ expectedHeadOid?: InputMaybe; - /** The merge method to use. If omitted, defaults to `MERGE`. NOTE: when merging with a merge queue any input value for merge method is ignored. */ + /** + * The merge method to use. If omitted, defaults to `MERGE`. NOTE: when merging + * with a merge queue any input value for merge method is ignored. + */ mergeMethod?: InputMaybe; /** ID of the pull request to enable auto-merge on. */ pullRequestId: Scalars['ID']['input']; @@ -6085,7 +6233,10 @@ export type Enterprise = AnnouncementBanner & Node & { name: Scalars['String']['output']; /** A list of organizations that belong to this enterprise. */ organizations: OrganizationConnection; - /** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ + /** + * Enterprise information visible to enterprise owners or enterprise owners' + * personal access tokens (classic) with read:enterprise or admin:enterprise scope. + */ ownerInfo?: Maybe; /** The HTTP path for this enterprise. */ resourcePath: Scalars['URI']['output']; @@ -6348,7 +6499,11 @@ export type EnterpriseFailedInvitationEdge = { node?: Maybe; }; -/** An identity provider configured to provision identities for an enterprise. Visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ +/** + * An identity provider configured to provision identities for an enterprise. + * Visible to enterprise owners or enterprise owners' personal access tokens + * (classic) with read:enterprise or admin:enterprise scope. + */ export type EnterpriseIdentityProvider = Node & { __typename?: 'EnterpriseIdentityProvider'; /** The digest algorithm used to sign SAML requests for the identity provider. */ @@ -6372,7 +6527,11 @@ export type EnterpriseIdentityProvider = Node & { }; -/** An identity provider configured to provision identities for an enterprise. Visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ +/** + * An identity provider configured to provision identities for an enterprise. + * Visible to enterprise owners or enterprise owners' personal access tokens + * (classic) with read:enterprise or admin:enterprise scope. + */ export type EnterpriseIdentityProviderExternalIdentitiesArgs = { after?: InputMaybe; before?: InputMaybe; @@ -6530,7 +6689,10 @@ export type EnterpriseOutsideCollaboratorEdgeRepositoriesArgs = { orderBy?: InputMaybe; }; -/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ +/** + * Enterprise information visible to enterprise owners or enterprise owners' + * personal access tokens (classic) with read:enterprise or admin:enterprise scope. + */ export type EnterpriseOwnerInfo = { __typename?: 'EnterpriseOwnerInfo'; /** A list of all of the administrators for this enterprise. */ @@ -6549,7 +6711,10 @@ export type EnterpriseOwnerInfo = { defaultRepositoryPermissionSetting: EnterpriseDefaultRepositoryPermissionSettingValue; /** A list of enterprise organizations configured with the provided base repository permission. */ defaultRepositoryPermissionSettingOrganizations: OrganizationConnection; - /** A list of domains owned by the enterprise. Visible to enterprise owners or enterprise owners' personal access tokens (classic) with admin:enterprise scope. */ + /** + * A list of domains owned by the enterprise. Visible to enterprise owners or + * enterprise owners' personal access tokens (classic) with admin:enterprise scope. + */ domains: VerifiableDomainConnection; /** Enterprise Server installations owned by the enterprise. */ enterpriseServerInstallations: EnterpriseServerInstallationConnection; @@ -6557,7 +6722,11 @@ export type EnterpriseOwnerInfo = { failedInvitations: EnterpriseFailedInvitationConnection; /** The setting value for whether the enterprise has an IP allow list enabled. */ ipAllowListEnabledSetting: IpAllowListEnabledSettingValue; - /** The IP addresses that are allowed to access resources owned by the enterprise. Visible to enterprise owners or enterprise owners' personal access tokens (classic) with admin:enterprise scope. */ + /** + * The IP addresses that are allowed to access resources owned by the enterprise. + * Visible to enterprise owners or enterprise owners' personal access tokens + * (classic) with admin:enterprise scope. + */ ipAllowListEntries: IpAllowListEntryConnection; /** The setting value for whether the enterprise has IP allow list configuration for installed GitHub Apps enabled. */ ipAllowListForInstalledAppsEnabledSetting: IpAllowListForInstalledAppsEnabledSettingValue; @@ -6565,7 +6734,10 @@ export type EnterpriseOwnerInfo = { isUpdatingDefaultRepositoryPermission: Scalars['Boolean']['output']; /** Whether the two-factor authentication requirement is currently being enforced. */ isUpdatingTwoFactorRequirement: Scalars['Boolean']['output']; - /** The setting value for whether organization members with admin permissions on a repository can change repository visibility. */ + /** + * The setting value for whether organization members with admin permissions on a + * repository can change repository visibility. + */ membersCanChangeRepositoryVisibilitySetting: EnterpriseEnabledDisabledSettingValue; /** A list of enterprise organizations configured with the provided can change repository visibility setting value. */ membersCanChangeRepositoryVisibilitySettingOrganizations: OrganizationConnection; @@ -6638,7 +6810,10 @@ export type EnterpriseOwnerInfo = { }; -/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ +/** + * Enterprise information visible to enterprise owners or enterprise owners' + * personal access tokens (classic) with read:enterprise or admin:enterprise scope. + */ export type EnterpriseOwnerInfoAdminsArgs = { after?: InputMaybe; before?: InputMaybe; @@ -6652,7 +6827,10 @@ export type EnterpriseOwnerInfoAdminsArgs = { }; -/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ +/** + * Enterprise information visible to enterprise owners or enterprise owners' + * personal access tokens (classic) with read:enterprise or admin:enterprise scope. + */ export type EnterpriseOwnerInfoAffiliatedUsersWithTwoFactorDisabledArgs = { after?: InputMaybe; before?: InputMaybe; @@ -6661,7 +6839,10 @@ export type EnterpriseOwnerInfoAffiliatedUsersWithTwoFactorDisabledArgs = { }; -/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ +/** + * Enterprise information visible to enterprise owners or enterprise owners' + * personal access tokens (classic) with read:enterprise or admin:enterprise scope. + */ export type EnterpriseOwnerInfoAllowPrivateRepositoryForkingSettingOrganizationsArgs = { after?: InputMaybe; before?: InputMaybe; @@ -6672,7 +6853,10 @@ export type EnterpriseOwnerInfoAllowPrivateRepositoryForkingSettingOrganizations }; -/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ +/** + * Enterprise information visible to enterprise owners or enterprise owners' + * personal access tokens (classic) with read:enterprise or admin:enterprise scope. + */ export type EnterpriseOwnerInfoDefaultRepositoryPermissionSettingOrganizationsArgs = { after?: InputMaybe; before?: InputMaybe; @@ -6683,7 +6867,10 @@ export type EnterpriseOwnerInfoDefaultRepositoryPermissionSettingOrganizationsAr }; -/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ +/** + * Enterprise information visible to enterprise owners or enterprise owners' + * personal access tokens (classic) with read:enterprise or admin:enterprise scope. + */ export type EnterpriseOwnerInfoDomainsArgs = { after?: InputMaybe; before?: InputMaybe; @@ -6695,7 +6882,10 @@ export type EnterpriseOwnerInfoDomainsArgs = { }; -/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ +/** + * Enterprise information visible to enterprise owners or enterprise owners' + * personal access tokens (classic) with read:enterprise or admin:enterprise scope. + */ export type EnterpriseOwnerInfoEnterpriseServerInstallationsArgs = { after?: InputMaybe; before?: InputMaybe; @@ -6706,7 +6896,10 @@ export type EnterpriseOwnerInfoEnterpriseServerInstallationsArgs = { }; -/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ +/** + * Enterprise information visible to enterprise owners or enterprise owners' + * personal access tokens (classic) with read:enterprise or admin:enterprise scope. + */ export type EnterpriseOwnerInfoFailedInvitationsArgs = { after?: InputMaybe; before?: InputMaybe; @@ -6716,7 +6909,10 @@ export type EnterpriseOwnerInfoFailedInvitationsArgs = { }; -/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ +/** + * Enterprise information visible to enterprise owners or enterprise owners' + * personal access tokens (classic) with read:enterprise or admin:enterprise scope. + */ export type EnterpriseOwnerInfoIpAllowListEntriesArgs = { after?: InputMaybe; before?: InputMaybe; @@ -6726,7 +6922,10 @@ export type EnterpriseOwnerInfoIpAllowListEntriesArgs = { }; -/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ +/** + * Enterprise information visible to enterprise owners or enterprise owners' + * personal access tokens (classic) with read:enterprise or admin:enterprise scope. + */ export type EnterpriseOwnerInfoMembersCanChangeRepositoryVisibilitySettingOrganizationsArgs = { after?: InputMaybe; before?: InputMaybe; @@ -6737,7 +6936,10 @@ export type EnterpriseOwnerInfoMembersCanChangeRepositoryVisibilitySettingOrgani }; -/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ +/** + * Enterprise information visible to enterprise owners or enterprise owners' + * personal access tokens (classic) with read:enterprise or admin:enterprise scope. + */ export type EnterpriseOwnerInfoMembersCanCreateRepositoriesSettingOrganizationsArgs = { after?: InputMaybe; before?: InputMaybe; @@ -6748,7 +6950,10 @@ export type EnterpriseOwnerInfoMembersCanCreateRepositoriesSettingOrganizationsA }; -/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ +/** + * Enterprise information visible to enterprise owners or enterprise owners' + * personal access tokens (classic) with read:enterprise or admin:enterprise scope. + */ export type EnterpriseOwnerInfoMembersCanDeleteIssuesSettingOrganizationsArgs = { after?: InputMaybe; before?: InputMaybe; @@ -6759,7 +6964,10 @@ export type EnterpriseOwnerInfoMembersCanDeleteIssuesSettingOrganizationsArgs = }; -/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ +/** + * Enterprise information visible to enterprise owners or enterprise owners' + * personal access tokens (classic) with read:enterprise or admin:enterprise scope. + */ export type EnterpriseOwnerInfoMembersCanDeleteRepositoriesSettingOrganizationsArgs = { after?: InputMaybe; before?: InputMaybe; @@ -6770,7 +6978,10 @@ export type EnterpriseOwnerInfoMembersCanDeleteRepositoriesSettingOrganizationsA }; -/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ +/** + * Enterprise information visible to enterprise owners or enterprise owners' + * personal access tokens (classic) with read:enterprise or admin:enterprise scope. + */ export type EnterpriseOwnerInfoMembersCanInviteCollaboratorsSettingOrganizationsArgs = { after?: InputMaybe; before?: InputMaybe; @@ -6781,7 +6992,10 @@ export type EnterpriseOwnerInfoMembersCanInviteCollaboratorsSettingOrganizations }; -/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ +/** + * Enterprise information visible to enterprise owners or enterprise owners' + * personal access tokens (classic) with read:enterprise or admin:enterprise scope. + */ export type EnterpriseOwnerInfoMembersCanUpdateProtectedBranchesSettingOrganizationsArgs = { after?: InputMaybe; before?: InputMaybe; @@ -6792,7 +7006,10 @@ export type EnterpriseOwnerInfoMembersCanUpdateProtectedBranchesSettingOrganizat }; -/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ +/** + * Enterprise information visible to enterprise owners or enterprise owners' + * personal access tokens (classic) with read:enterprise or admin:enterprise scope. + */ export type EnterpriseOwnerInfoMembersCanViewDependencyInsightsSettingOrganizationsArgs = { after?: InputMaybe; before?: InputMaybe; @@ -6803,7 +7020,10 @@ export type EnterpriseOwnerInfoMembersCanViewDependencyInsightsSettingOrganizati }; -/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ +/** + * Enterprise information visible to enterprise owners or enterprise owners' + * personal access tokens (classic) with read:enterprise or admin:enterprise scope. + */ export type EnterpriseOwnerInfoOrganizationProjectsSettingOrganizationsArgs = { after?: InputMaybe; before?: InputMaybe; @@ -6814,7 +7034,10 @@ export type EnterpriseOwnerInfoOrganizationProjectsSettingOrganizationsArgs = { }; -/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ +/** + * Enterprise information visible to enterprise owners or enterprise owners' + * personal access tokens (classic) with read:enterprise or admin:enterprise scope. + */ export type EnterpriseOwnerInfoOutsideCollaboratorsArgs = { after?: InputMaybe; before?: InputMaybe; @@ -6829,7 +7052,10 @@ export type EnterpriseOwnerInfoOutsideCollaboratorsArgs = { }; -/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ +/** + * Enterprise information visible to enterprise owners or enterprise owners' + * personal access tokens (classic) with read:enterprise or admin:enterprise scope. + */ export type EnterpriseOwnerInfoPendingAdminInvitationsArgs = { after?: InputMaybe; before?: InputMaybe; @@ -6841,7 +7067,10 @@ export type EnterpriseOwnerInfoPendingAdminInvitationsArgs = { }; -/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ +/** + * Enterprise information visible to enterprise owners or enterprise owners' + * personal access tokens (classic) with read:enterprise or admin:enterprise scope. + */ export type EnterpriseOwnerInfoPendingCollaboratorInvitationsArgs = { after?: InputMaybe; before?: InputMaybe; @@ -6852,7 +7081,10 @@ export type EnterpriseOwnerInfoPendingCollaboratorInvitationsArgs = { }; -/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ +/** + * Enterprise information visible to enterprise owners or enterprise owners' + * personal access tokens (classic) with read:enterprise or admin:enterprise scope. + */ export type EnterpriseOwnerInfoPendingMemberInvitationsArgs = { after?: InputMaybe; before?: InputMaybe; @@ -6864,7 +7096,10 @@ export type EnterpriseOwnerInfoPendingMemberInvitationsArgs = { }; -/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ +/** + * Enterprise information visible to enterprise owners or enterprise owners' + * personal access tokens (classic) with read:enterprise or admin:enterprise scope. + */ export type EnterpriseOwnerInfoRepositoryProjectsSettingOrganizationsArgs = { after?: InputMaybe; before?: InputMaybe; @@ -6875,7 +7110,10 @@ export type EnterpriseOwnerInfoRepositoryProjectsSettingOrganizationsArgs = { }; -/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ +/** + * Enterprise information visible to enterprise owners or enterprise owners' + * personal access tokens (classic) with read:enterprise or admin:enterprise scope. + */ export type EnterpriseOwnerInfoSamlIdentityProviderSettingOrganizationsArgs = { after?: InputMaybe; before?: InputMaybe; @@ -6886,7 +7124,10 @@ export type EnterpriseOwnerInfoSamlIdentityProviderSettingOrganizationsArgs = { }; -/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ +/** + * Enterprise information visible to enterprise owners or enterprise owners' + * personal access tokens (classic) with read:enterprise or admin:enterprise scope. + */ export type EnterpriseOwnerInfoSupportEntitlementsArgs = { after?: InputMaybe; before?: InputMaybe; @@ -6896,7 +7137,10 @@ export type EnterpriseOwnerInfoSupportEntitlementsArgs = { }; -/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ +/** + * Enterprise information visible to enterprise owners or enterprise owners' + * personal access tokens (classic) with read:enterprise or admin:enterprise scope. + */ export type EnterpriseOwnerInfoTeamDiscussionsSettingOrganizationsArgs = { after?: InputMaybe; before?: InputMaybe; @@ -6907,7 +7151,10 @@ export type EnterpriseOwnerInfoTeamDiscussionsSettingOrganizationsArgs = { }; -/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ +/** + * Enterprise information visible to enterprise owners or enterprise owners' + * personal access tokens (classic) with read:enterprise or admin:enterprise scope. + */ export type EnterpriseOwnerInfoTwoFactorRequiredSettingOrganizationsArgs = { after?: InputMaybe; before?: InputMaybe; @@ -7337,7 +7584,10 @@ export enum EnterpriseUserAccountMembershipRole { Member = 'MEMBER', /** The user is an owner of an organization in the enterprise. */ Owner = 'OWNER', - /** The user is not an owner of the enterprise, and not a member or owner of any organizations in the enterprise; only for EMU-enabled enterprises. */ + /** + * The user is not an owner of the enterprise, and not a member or owner of any + * organizations in the enterprise; only for EMU-enabled enterprises. + */ Unaffiliated = 'UNAFFILIATED' } @@ -7407,7 +7657,15 @@ export type Environments = { field: EnvironmentOrderField; }; -/** An external identity provisioned by SAML SSO or SCIM. If SAML is configured on the organization, the external identity is visible to (1) organization owners, (2) organization owners' personal access tokens (classic) with read:org or admin:org scope, (3) GitHub App with an installation token with read or write access to members. If SAML is configured on the enterprise, the external identity is visible to (1) enterprise owners, (2) enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ +/** + * An external identity provisioned by SAML SSO or SCIM. If SAML is configured on + * the organization, the external identity is visible to (1) organization owners, + * (2) organization owners' personal access tokens (classic) with read:org or + * admin:org scope, (3) GitHub App with an installation token with read or write + * access to members. If SAML is configured on the enterprise, the external + * identity is visible to (1) enterprise owners, (2) enterprise owners' personal + * access tokens (classic) with read:enterprise or admin:enterprise scope. + */ export type ExternalIdentity = Node & { __typename?: 'ExternalIdentity'; /** The GUID for this identity */ @@ -7491,7 +7749,10 @@ export type ExternalIdentityScimAttributes = { username?: Maybe; }; -/** A command to add a file at the given path with the given contents as part of a commit. Any existing file at that that path will be replaced. */ +/** + * A command to add a file at the given path with the given contents as part of a + * commit. Any existing file at that that path will be replaced. + */ export type FileAddition = { /** The base64 encoded contents of the file */ contents: Scalars['Base64String']['input']; @@ -7613,7 +7874,6 @@ export type FileAddition = { * } * ] * } - * */ export type FileChanges = { /** File to add or change. */ @@ -7771,10 +8031,7 @@ export type Gist = Node & Starrable & UniformResourceLocatable & { pushedAt?: Maybe; /** The HTML path to this resource. */ resourcePath: Scalars['URI']['output']; - /** - * Returns a count of how many stargazers there are on this object - * - */ + /** Returns a count of how many stargazers there are on this object */ stargazerCount: Scalars['Int']['output']; /** A list of users who have starred this starrable. */ stargazers: StargazerConnection; @@ -7853,7 +8110,11 @@ export type GistComment = Comment & Deletable & Minimizable & Node & Updatable & isMinimized: Scalars['Boolean']['output']; /** The moment the editor made the last edit */ lastEditedAt?: Maybe; - /** Returns why the comment was minimized. One of `abuse`, `off-topic`, `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and formatting of these values differs from the inputs to the `MinimizeComment` mutation. */ + /** + * Returns why the comment was minimized. One of `abuse`, `off-topic`, + * `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and + * formatting of these values differs from the inputs to the `MinimizeComment` mutation. + */ minimizedReason?: Maybe; /** Identifies when the comment was published at. */ publishedAt?: Maybe; @@ -8073,7 +8334,10 @@ export type GitSignature = { signature: Scalars['String']['output']; /** GitHub user corresponding to the email signing this commit. */ signer?: Maybe; - /** The state of this signature. `VALID` if signature is valid and verified by GitHub, otherwise represents reason why signature is considered invalid. */ + /** + * The state of this signature. `VALID` if signature is valid and verified by + * GitHub, otherwise represents reason why signature is considered invalid. + */ state: GitSignatureState; /** True if the signature was made with GitHub's signing key. */ wasSignedByGitHub: Scalars['Boolean']['output']; @@ -8132,7 +8396,10 @@ export type GpgSignature = GitSignature & { signature: Scalars['String']['output']; /** GitHub user corresponding to the email signing this commit. */ signer?: Maybe; - /** The state of this signature. `VALID` if signature is valid and verified by GitHub, otherwise represents reason why signature is considered invalid. */ + /** + * The state of this signature. `VALID` if signature is valid and verified by + * GitHub, otherwise represents reason why signature is considered invalid. + */ state: GitSignatureState; /** True if the signature was made with GitHub's signing key. */ wasSignedByGitHub: Scalars['Boolean']['output']; @@ -8687,14 +8954,17 @@ export type IssueComment = Comment & Deletable & Minimizable & Node & Reactable issue: Issue; /** The moment the editor made the last edit */ lastEditedAt?: Maybe; - /** Returns why the comment was minimized. One of `abuse`, `off-topic`, `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and formatting of these values differs from the inputs to the `MinimizeComment` mutation. */ + /** + * Returns why the comment was minimized. One of `abuse`, `off-topic`, + * `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and + * formatting of these values differs from the inputs to the `MinimizeComment` mutation. + */ minimizedReason?: Maybe; /** Identifies when the comment was published at. */ publishedAt?: Maybe; /** * Returns the pull request associated with the comment, if this comment was made on a * pull request. - * */ pullRequest?: Maybe; /** A list of reactions grouped by content left on the subject. */ @@ -8824,7 +9094,10 @@ export type IssueEdge = { /** Ways in which to filter lists of issues. */ export type IssueFilters = { - /** List issues assigned to given name. Pass in `null` for issues with no assigned user, and `*` for issues assigned to any user. */ + /** + * List issues assigned to given name. Pass in `null` for issues with no assigned + * user, and `*` for issues assigned to any user. + */ assignee?: InputMaybe; /** List issues created by given name. */ createdBy?: InputMaybe; @@ -8832,9 +9105,17 @@ export type IssueFilters = { labels?: InputMaybe>; /** List issues where the given name is mentioned in the issue. */ mentioned?: InputMaybe; - /** List issues by given milestone argument. If an string representation of an integer is passed, it should refer to a milestone by its database ID. Pass in `null` for issues with no milestone, and `*` for issues that are assigned to any milestone. */ + /** + * List issues by given milestone argument. If an string representation of an + * integer is passed, it should refer to a milestone by its database ID. Pass in + * `null` for issues with no milestone, and `*` for issues that are assigned to any milestone. + */ milestone?: InputMaybe; - /** List issues by given milestone argument. If an string representation of an integer is passed, it should refer to a milestone by its number field. Pass in `null` for issues with no milestone, and `*` for issues that are assigned to any milestone. */ + /** + * List issues by given milestone argument. If an string representation of an + * integer is passed, it should refer to a milestone by its number field. Pass in + * `null` for issues with no milestone, and `*` for issues that are assigned to any milestone. + */ milestoneNumber?: InputMaybe; /** List issues that have been updated at or after the given date. */ since?: InputMaybe; @@ -9050,7 +9331,6 @@ export type JoinedGitHubContribution = 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. - * */ isRestricted: Scalars['Boolean']['output']; /** When this contribution was made. */ @@ -9059,10 +9339,7 @@ export type JoinedGitHubContribution = Contribution & { resourcePath: Scalars['URI']['output']; /** The HTTP URL for this contribution. */ url: Scalars['URI']['output']; - /** - * The user who made this contribution. - * - */ + /** The user who made this contribution. */ user: User; }; @@ -9669,7 +9946,10 @@ export type MarketplaceListing = Node & { installedForViewer: Scalars['Boolean']['output']; /** Whether this listing has been removed from the Marketplace. */ isArchived: Scalars['Boolean']['output']; - /** Whether this listing is still an editable draft that has not been submitted for review and is not publicly visible in the Marketplace. */ + /** + * Whether this listing is still an editable draft that has not been submitted + * for review and is not publicly visible in the Marketplace. + */ isDraft: Scalars['Boolean']['output']; /** Whether the product this listing represents is available as part of a paid plan. */ isPaid: Scalars['Boolean']['output']; @@ -9715,7 +9995,10 @@ export type MarketplaceListing = Node & { statusUrl?: Maybe; /** An email address for support for this listing's app. */ supportEmail?: Maybe; - /** Either a URL or an email address for support for this listing's app, may return an empty string for listings that do not require a support URL. */ + /** + * Either a URL or an email address for support for this listing's app, may + * return an empty string for listings that do not require a support URL. + */ supportUrl: Scalars['URI']['output']; /** URL to the listing's terms of service. */ termsOfServiceUrl?: Maybe; @@ -9732,7 +10015,6 @@ export type MarketplaceListing = Node & { /** * Can the current viewer edit the primary and secondary category of this * Marketplace listing. - * */ viewerCanEditCategories: Scalars['Boolean']['output']; /** Can the current viewer edit the plans for this Marketplace listing. */ @@ -9740,36 +10022,26 @@ export type MarketplaceListing = Node & { /** * Can the current viewer return this Marketplace listing to draft state * so it becomes editable again. - * */ viewerCanRedraft: Scalars['Boolean']['output']; /** * Can the current viewer reject this Marketplace listing by returning it to * an editable draft state or rejecting it entirely. - * */ viewerCanReject: Scalars['Boolean']['output']; /** * Can the current viewer request this listing be reviewed for display in * the Marketplace as verified. - * */ viewerCanRequestApproval: Scalars['Boolean']['output']; - /** - * Indicates whether the current user has an active subscription to this Marketplace listing. - * - */ + /** Indicates whether the current user has an active subscription to this Marketplace listing. */ viewerHasPurchased: Scalars['Boolean']['output']; /** * Indicates if the current user has purchased a subscription to this Marketplace listing * for all of the organizations the user owns. - * */ viewerHasPurchasedForAllOrganizations: Scalars['Boolean']['output']; - /** - * Does the current viewer role allow them to administer this Marketplace listing. - * - */ + /** Does the current viewer role allow them to administer this Marketplace listing. */ viewerIsListingAdmin: Scalars['Boolean']['output']; }; @@ -10099,7 +10371,10 @@ export type MergeQueueConfiguration = { mergingStrategy?: Maybe; /** The minimum number of entries required to merge at once. */ minimumEntriesToMerge?: Maybe; - /** The amount of time in minutes to wait before ignoring the minumum number of entries in the queue requirement and merging a collection of entries */ + /** + * The amount of time in minutes to wait before ignoring the minumum number of + * entries in the queue requirement and merging a collection of entries + */ minimumEntriesToMergeWaitTime?: Maybe; }; @@ -10231,7 +10506,10 @@ export type Migration = { sourceUrl: Scalars['URI']['output']; /** The migration state. */ state: MigrationState; - /** The number of warnings encountered for this migration. To review the warnings, check the [Migration Log](https://docs.github.com/migrations/using-github-enterprise-importer/completing-your-migration-with-github-enterprise-importer/accessing-your-migration-logs-for-github-enterprise-importer). */ + /** + * The number of warnings encountered for this migration. To review the warnings, + * check the [Migration Log](https://docs.github.com/migrations/using-github-enterprise-importer/completing-your-migration-with-github-enterprise-importer/accessing-your-migration-logs-for-github-enterprise-importer). + */ warningsCount: Scalars['Int']['output']; }; @@ -10418,7 +10696,11 @@ export type MilestonedEvent = Node & { export type Minimizable = { /** Returns whether or not a comment has been minimized. */ isMinimized: Scalars['Boolean']['output']; - /** Returns why the comment was minimized. One of `abuse`, `off-topic`, `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and formatting of these values differs from the inputs to the `MinimizeComment` mutation. */ + /** + * Returns why the comment was minimized. One of `abuse`, `off-topic`, + * `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and + * formatting of these values differs from the inputs to the `MinimizeComment` mutation. + */ minimizedReason?: Maybe; /** Check if the current viewer can minimize this object. */ viewerCanMinimize: Scalars['Boolean']['output']; @@ -10561,7 +10843,11 @@ export type Mutation = { changeUserStatus?: Maybe; /** Clears all labels from a labelable object. */ clearLabelsFromLabelable?: Maybe; - /** This mutation clears the value of a field for an item in a Project. Currently only text, number, date, assignees, labels, single-select, iteration and milestone fields are supported. */ + /** + * This mutation clears the value of a field for an item in a Project. Currently + * only text, number, date, assignees, labels, single-select, iteration and + * milestone fields are supported. + */ clearProjectV2ItemFieldValue?: Maybe; /** Creates a new project by cloning configuration from an existing project. */ cloneProject?: Maybe; @@ -10630,12 +10916,18 @@ export type Mutation = { * * Commits made using this mutation are automatically signed by GitHub if * supported and will be marked as verified in the user interface. - * */ createCommitOnBranch?: Maybe; /** Create a discussion. */ createDiscussion?: Maybe; - /** Creates an organization as part of an enterprise account. A personal access token used to create an organization is implicitly permitted to update the organization it created, if the organization is part of an enterprise that has SAML enabled or uses Enterprise Managed Users. If the organization is not part of such an enterprise, and instead has SAML enabled for it individually, the token will then require SAML authorization to continue working against that organization. */ + /** + * Creates an organization as part of an enterprise account. A personal access + * token used to create an organization is implicitly permitted to update the + * organization it created, if the organization is part of an enterprise that has + * SAML enabled or uses Enterprise Managed Users. If the organization is not part + * of such an enterprise, and instead has SAML enabled for it individually, the + * token will then require SAML authorization to continue working against that organization. + */ createEnterpriseOrganization?: Maybe; /** Creates an environment or simply returns it if already exists. */ createEnvironment?: Maybe; @@ -10667,7 +10959,11 @@ export type Mutation = { createSponsorsTier?: Maybe; /** Start a new sponsorship of a maintainer in GitHub Sponsors, or reactivate a past sponsorship. */ createSponsorship?: Maybe; - /** Make many one-time sponsorships for different sponsorable users or organizations at once. Can only sponsor those who have a public GitHub Sponsors profile. */ + /** + * Make many one-time sponsorships for different sponsorable users or + * organizations at once. Can only sponsor those who have a public GitHub + * Sponsors profile. + */ createSponsorships?: Maybe; /** Creates a new team discussion. */ createTeamDiscussion?: Maybe; @@ -10939,7 +11235,12 @@ export type Mutation = { updateOrganizationAllowPrivateRepositoryForkingSetting?: Maybe; /** Sets whether contributors are required to sign off on web-based commits for repositories in an organization. */ updateOrganizationWebCommitSignoffSetting?: Maybe; - /** Toggle the setting for your GitHub Sponsors profile that allows other GitHub accounts to sponsor you on GitHub while paying for the sponsorship on Patreon. Only applicable when you have a GitHub Sponsors profile and have connected your GitHub account with Patreon. */ + /** + * Toggle the setting for your GitHub Sponsors profile that allows other GitHub + * accounts to sponsor you on GitHub while paying for the sponsorship on Patreon. + * Only applicable when you have a GitHub Sponsors profile and have connected + * your GitHub account with Patreon. + */ updatePatreonSponsorability?: Maybe; /** Updates an existing project. */ updateProject?: Maybe; @@ -10953,7 +11254,10 @@ export type Mutation = { updateProjectV2Collaborators?: Maybe; /** Updates a draft issue within a Project. */ updateProjectV2DraftIssue?: Maybe; - /** This mutation updates the value of a field for an item in a Project. Currently only single-select, text, number, date, and iteration fields are supported. */ + /** + * This mutation updates the value of a field for an item in a Project. Currently + * only single-select, text, number, date, and iteration fields are supported. + */ updateProjectV2ItemFieldValue?: Maybe; /** This mutation updates the position of the item in the project, where the position represents the priority of an item. */ updateProjectV2ItemPosition?: Maybe; @@ -12351,7 +12655,11 @@ export enum NotificationRestrictionSettingValue { Enabled = 'ENABLED' } -/** An OIDC identity provider configured to provision identities for an enterprise. Visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ +/** + * An OIDC identity provider configured to provision identities for an enterprise. + * Visible to enterprise owners or enterprise owners' personal access tokens + * (classic) with read:enterprise or admin:enterprise scope. + */ export type OidcProvider = Node & { __typename?: 'OIDCProvider'; /** The enterprise this identity provider belongs to. */ @@ -12367,7 +12675,11 @@ export type OidcProvider = Node & { }; -/** An OIDC identity provider configured to provision identities for an enterprise. Visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ +/** + * An OIDC identity provider configured to provision identities for an enterprise. + * Visible to enterprise owners or enterprise owners' personal access tokens + * (classic) with read:enterprise or admin:enterprise scope. + */ export type OidcProviderExternalIdentitiesArgs = { after?: InputMaybe; before?: InputMaybe; @@ -13470,17 +13782,29 @@ export type OrgRemoveMemberAuditEntry = AuditEntry & Node & OrganizationAuditEnt /** The type of membership a user has with an Organization. */ export enum OrgRemoveMemberAuditEntryMembershipType { - /** Organization owners have full access and can change several settings, including the names of repositories that belong to the Organization and Owners team membership. In addition, organization owners can delete the organization and all of its repositories. */ + /** + * Organization owners have full access and can change several settings, + * including the names of repositories that belong to the Organization and Owners + * team membership. In addition, organization owners can delete the organization + * and all of its repositories. + */ Admin = 'ADMIN', /** A billing manager is a user who manages the billing settings for the Organization, such as updating payment information. */ BillingManager = 'BILLING_MANAGER', /** A direct member is a user that is a member of the Organization. */ DirectMember = 'DIRECT_MEMBER', - /** An outside collaborator is a person who isn't explicitly a member of the Organization, but who has Read, Write, or Admin permissions to one or more repositories in the organization. */ + /** + * An outside collaborator is a person who isn't explicitly a member of the + * Organization, but who has Read, Write, or Admin permissions to one or more + * repositories in the organization. + */ OutsideCollaborator = 'OUTSIDE_COLLABORATOR', /** A suspended member. */ Suspended = 'SUSPENDED', - /** An unaffiliated collaborator is a person who is not a member of the Organization and does not have access to any repositories in the Organization. */ + /** + * An unaffiliated collaborator is a person who is not a member of the + * Organization and does not have access to any repositories in the Organization. + */ Unaffiliated = 'UNAFFILIATED' } @@ -13547,9 +13871,16 @@ export type OrgRemoveOutsideCollaboratorAuditEntry = AuditEntry & Node & Organiz export enum OrgRemoveOutsideCollaboratorAuditEntryMembershipType { /** A billing manager is a user who manages the billing settings for the Organization, such as updating payment information. */ BillingManager = 'BILLING_MANAGER', - /** An outside collaborator is a person who isn't explicitly a member of the Organization, but who has Read, Write, or Admin permissions to one or more repositories in the organization. */ + /** + * An outside collaborator is a person who isn't explicitly a member of the + * Organization, but who has Read, Write, or Admin permissions to one or more + * repositories in the organization. + */ OutsideCollaborator = 'OUTSIDE_COLLABORATOR', - /** An unaffiliated collaborator is a person who is not a member of the Organization and does not have access to any repositories in the organization. */ + /** + * An unaffiliated collaborator is a person who is not a member of the + * Organization and does not have access to any repositories in the organization. + */ Unaffiliated = 'UNAFFILIATED' } @@ -13976,9 +14307,15 @@ export type Organization = Actor & AnnouncementBanner & MemberStatusable & Node isSponsoringViewer: Scalars['Boolean']['output']; /** Whether the organization has verified its profile email and website. */ isVerified: Scalars['Boolean']['output']; - /** Showcases a selection of repositories and gists that the profile owner has either curated or that have been selected automatically based on popularity. */ + /** + * Showcases a selection of repositories and gists that the profile owner has + * either curated or that have been selected automatically based on popularity. + */ itemShowcase: ProfileItemShowcase; - /** Calculate how much each sponsor has ever paid total to this maintainer via GitHub Sponsors. Does not include sponsorships paid via Patreon. */ + /** + * Calculate how much each sponsor has ever paid total to this maintainer via + * GitHub Sponsors. Does not include sponsorships paid via Patreon. + */ lifetimeReceivedSponsorshipValues: SponsorAndLifetimeValueConnection; /** The organization's public profile location. */ location?: Maybe; @@ -14038,7 +14375,10 @@ export type Organization = Actor & AnnouncementBanner & MemberStatusable & Node repositoryDiscussions: DiscussionConnection; /** A list of all repository migrations for this organization. */ repositoryMigrations: RepositoryMigrationConnection; - /** When true the organization requires all members, billing managers, and outside collaborators to enable two-factor authentication. */ + /** + * When true the organization requires all members, billing managers, and outside + * collaborators to enable two-factor authentication. + */ requiresTwoFactorAuthentication?: Maybe; /** The HTTP path for this organization. */ resourcePath: Scalars['URI']['output']; @@ -14046,7 +14386,12 @@ export type Organization = Actor & AnnouncementBanner & MemberStatusable & Node ruleset?: Maybe; /** A list of rulesets for this organization. */ rulesets?: Maybe; - /** The Organization's SAML identity provider. Visible to (1) organization owners, (2) organization owners' personal access tokens (classic) with read:org or admin:org scope, (3) GitHub App with an installation token with read or write access to members. */ + /** + * The Organization's SAML identity provider. Visible to (1) organization owners, + * (2) organization owners' personal access tokens (classic) with read:org or + * admin:org scope, (3) GitHub App with an installation token with read or write + * access to members. + */ samlIdentityProvider?: Maybe; /** List of users and organizations this entity is sponsoring. */ sponsoring: SponsorConnection; @@ -14074,7 +14419,11 @@ export type Organization = Actor & AnnouncementBanner & MemberStatusable & Node teamsResourcePath: Scalars['URI']['output']; /** The HTTP URL listing organization's teams */ teamsUrl: Scalars['URI']['output']; - /** The amount in United States cents (e.g., 500 = $5.00 USD) that this entity has spent on GitHub to fund sponsorships. Only returns a value when viewed by the user themselves or by a user who can manage sponsorships for the requested organization. */ + /** + * The amount in United States cents (e.g., 500 = $5.00 USD) that this entity has + * spent on GitHub to fund sponsorships. Only returns a value when viewed by the + * user themselves or by a user who can manage sponsorships for the requested organization. + */ totalSponsorshipAmountAsSponsorInCents?: Maybe; /** The organization's Twitter username. */ twitterUsername?: Maybe; @@ -14569,7 +14918,12 @@ export type OrganizationEnterpriseOwnerEdge = { organizationRole: RoleInOrganization; }; -/** An Identity Provider configured to provision SAML and SCIM identities for Organizations. Visible to (1) organization owners, (2) organization owners' personal access tokens (classic) with read:org or admin:org scope, (3) GitHub App with an installation token with read or write access to members. */ +/** + * An Identity Provider configured to provision SAML and SCIM identities for + * Organizations. Visible to (1) organization owners, (2) organization owners' + * personal access tokens (classic) with read:org or admin:org scope, (3) GitHub + * App with an installation token with read or write access to members. + */ export type OrganizationIdentityProvider = Node & { __typename?: 'OrganizationIdentityProvider'; /** The digest algorithm used to sign SAML requests for the Identity Provider. */ @@ -14591,7 +14945,12 @@ export type OrganizationIdentityProvider = Node & { }; -/** An Identity Provider configured to provision SAML and SCIM identities for Organizations. Visible to (1) organization owners, (2) organization owners' personal access tokens (classic) with read:org or admin:org scope, (3) GitHub App with an installation token with read or write access to members. */ +/** + * An Identity Provider configured to provision SAML and SCIM identities for + * Organizations. Visible to (1) organization owners, (2) organization owners' + * personal access tokens (classic) with read:org or admin:org scope, (3) GitHub + * App with an installation token with read or write access to members. + */ export type OrganizationIdentityProviderExternalIdentitiesArgs = { after?: InputMaybe; before?: InputMaybe; @@ -15473,17 +15832,27 @@ export type PrivateRepositoryForkingEnableAuditEntry = AuditEntry & EnterpriseAu userUrl?: Maybe; }; -/** A curatable list of repositories relating to a repository owner, which defaults to showing the most popular repositories they own. */ +/** + * A curatable list of repositories relating to a repository owner, which defaults + * to showing the most popular repositories they own. + */ export type ProfileItemShowcase = { __typename?: 'ProfileItemShowcase'; /** Whether or not the owner has pinned any repositories or gists. */ hasPinnedItems: Scalars['Boolean']['output']; - /** The repositories and gists in the showcase. If the profile owner has any pinned items, those will be returned. Otherwise, the profile owner's popular repositories will be returned. */ + /** + * The repositories and gists in the showcase. If the profile owner has any + * pinned items, those will be returned. Otherwise, the profile owner's popular + * repositories will be returned. + */ items: PinnableItemConnection; }; -/** A curatable list of repositories relating to a repository owner, which defaults to showing the most popular repositories they own. */ +/** + * A curatable list of repositories relating to a repository owner, which defaults + * to showing the most popular repositories they own. + */ export type ProfileItemShowcaseItemsArgs = { after?: InputMaybe; before?: InputMaybe; @@ -15499,7 +15868,10 @@ export type ProfileOwner = { email?: Maybe; /** The Node ID of the ProfileOwner object */ id: Scalars['ID']['output']; - /** Showcases a selection of repositories and gists that the profile owner has either curated or that have been selected automatically based on popularity. */ + /** + * Showcases a selection of repositories and gists that the profile owner has + * either curated or that have been selected automatically based on popularity. + */ itemShowcase: ProfileItemShowcase; /** The public profile location. */ location?: Maybe; @@ -15619,7 +15991,6 @@ export type ProjectCard = Node & { * project column at a time. The column field will be null if the card is created * in a pending state and has yet to be associated with a column. Once cards are * associated with a column, they will not become pending in the future. - * */ column?: Maybe; /** The card content item */ @@ -17131,7 +17502,10 @@ export type PublicKey = Node & { __typename?: 'PublicKey'; /** The last time this authorization was used to perform an action. Values will be null for keys not owned by the user. */ accessedAt?: Maybe; - /** Identifies the date and time when the key was created. Keys created before March 5th, 2014 have inaccurate values. Values will be null for keys not owned by the user. */ + /** + * Identifies the date and time when the key was created. Keys created before + * March 5th, 2014 have inaccurate values. Values will be null for keys not owned by the user. + */ createdAt?: Maybe; /** The fingerprint for this PublicKey. */ fingerprint: Scalars['String']['output']; @@ -17141,7 +17515,11 @@ export type PublicKey = Node & { isReadOnly?: Maybe; /** The public key string. */ key: Scalars['String']['output']; - /** Identifies the date and time when the key was updated. Keys created before March 5th, 2014 may have inaccurate values. Values will be null for keys not owned by the user. */ + /** + * Identifies the date and time when the key was updated. Keys created before + * March 5th, 2014 may have inaccurate values. Values will be null for keys not + * owned by the user. + */ updatedAt?: Maybe; }; @@ -17306,7 +17684,12 @@ export type PullRequest = Assignable & Closable & Comment & Labelable & Lockable participants: UserConnection; /** The permalink to the pull request. */ permalink: Scalars['URI']['output']; - /** The commit that GitHub automatically generated to test if this pull request could be merged. This field will not return a value if the pull request is merged, or if the test merge commit is still being generated. See the `mergeable` field for more details on the mergeability of the pull request. */ + /** + * The commit that GitHub automatically generated to test if this pull request + * could be merged. This field will not return a value if the pull request is + * merged, or if the test merge commit is still being generated. See the + * `mergeable` field for more details on the mergeability of the pull request. + */ potentialMergeCommit?: Maybe; /** List of project cards associated with this pull request. */ projectCards: ProjectCardConnection; @@ -17386,7 +17769,6 @@ export type PullRequest = Assignable & Closable & Comment & Labelable & Lockable /** * Whether or not the viewer can update the head ref of this PR, by merging or rebasing the base ref. * If the head ref is up to date or unable to be updated by this user, this will return false. - * */ viewerCanUpdateBranch: Scalars['Boolean']['output']; /** Reasons why the current viewer can not update this comment. */ @@ -17863,7 +18245,11 @@ export type PullRequestReview = Comment & Deletable & Minimizable & Node & React isMinimized: Scalars['Boolean']['output']; /** The moment the editor made the last edit */ lastEditedAt?: Maybe; - /** Returns why the comment was minimized. One of `abuse`, `off-topic`, `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and formatting of these values differs from the inputs to the `MinimizeComment` mutation. */ + /** + * Returns why the comment was minimized. One of `abuse`, `off-topic`, + * `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and + * formatting of these values differs from the inputs to the `MinimizeComment` mutation. + */ minimizedReason?: Maybe; /** A list of teams that this review was made on behalf of. */ onBehalfOf: TeamConnection; @@ -17983,7 +18369,11 @@ export type PullRequestReviewComment = Comment & Deletable & Minimizable & Node lastEditedAt?: Maybe; /** The end line number on the file to which the comment applies */ line?: Maybe; - /** Returns why the comment was minimized. One of `abuse`, `off-topic`, `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and formatting of these values differs from the inputs to the `MinimizeComment` mutation. */ + /** + * Returns why the comment was minimized. One of `abuse`, `off-topic`, + * `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and + * formatting of these values differs from the inputs to the `MinimizeComment` mutation. + */ minimizedReason?: Maybe; /** Identifies the original commit associated with the comment. */ originalCommit?: Maybe; @@ -18610,7 +19000,10 @@ export type Query = { organization?: Maybe; /** The client's rate limit information. */ rateLimit?: Maybe; - /** Workaround for re-exposing the root query object. (Refer to https://github.com/facebook/relay/issues/112 for more information.) */ + /** + * Workaround for re-exposing the root query object. (Refer to + * https://github.com/facebook/relay/issues/112 for more information.) + */ relay: Query; /** Lookup a given repository by the owner and repository name. */ repository?: Maybe; @@ -19127,7 +19520,11 @@ export type RefNameConditionTarget = { __typename?: 'RefNameConditionTarget'; /** Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match. */ exclude: Array; - /** Array of ref names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~DEFAULT_BRANCH` to include the default branch or `~ALL` to include all branches. */ + /** + * Array of ref names or patterns to include. One of these patterns must match + * for the condition to pass. Also accepts `~DEFAULT_BRANCH` to include the + * default branch or `~ALL` to include all branches. + */ include: Array; }; @@ -19135,7 +19532,11 @@ export type RefNameConditionTarget = { export type RefNameConditionTargetInput = { /** Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match. */ exclude: Array; - /** Array of ref names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~DEFAULT_BRANCH` to include the default branch or `~ALL` to include all branches. */ + /** + * Array of ref names or patterns to include. One of these patterns must match + * for the condition to pass. Also accepts `~DEFAULT_BRANCH` to include the + * default branch or `~ALL` to include all branches. + */ include: Array; }; @@ -20828,7 +21229,10 @@ export enum ReportedContentClassifiers { /** A repository contains the content for a project. */ export type Repository = Node & PackageOwner & ProjectOwner & ProjectV2Recent & RepositoryInfo & Starrable & Subscribable & UniformResourceLocatable & { __typename?: 'Repository'; - /** Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging. */ + /** + * Whether or not a pull request head branch that is behind its base branch can + * always be updated even if it is not required to be up to date before merging. + */ allowUpdateBranch: Scalars['Boolean']['output']; /** Identifies the date and time when the repository was archived. */ archivedAt?: Maybe; @@ -21043,14 +21447,14 @@ export type Repository = Node & PackageOwner & ProjectOwner & ProjectV2Recent & squashPrTitleUsedAsDefault: Scalars['Boolean']['output']; /** The SSH URL to clone this repository */ sshUrl: Scalars['GitSSHRemote']['output']; - /** - * Returns a count of how many stargazers there are on this object - * - */ + /** Returns a count of how many stargazers there are on this object */ stargazerCount: Scalars['Int']['output']; /** A list of users who have starred this starrable. */ stargazers: StargazerConnection; - /** Returns a list of all submodules in this repository parsed from the .gitmodules file as of the default branch's HEAD commit. */ + /** + * Returns a list of all submodules in this repository parsed from the + * .gitmodules file as of the default branch's HEAD commit. + */ submodules: SubmoduleConnection; /** Temporary authentication token for cloning this repository. */ tempCloneToken?: Maybe; @@ -21531,7 +21935,10 @@ export type RepositoryWatchersArgs = { export enum RepositoryAffiliation { /** Repositories that the user has been added to as a collaborator. */ Collaborator = 'COLLABORATOR', - /** Repositories that the user has access to through being a member of an organization. This includes every repository on every team that the user is on. */ + /** + * Repositories that the user has access to through being a member of an + * organization. This includes every repository on every team that the user is on. + */ OrganizationMember = 'ORGANIZATION_MEMBER', /** Repositories that are owned by the authenticated user. */ Owner = 'OWNER' @@ -21611,7 +22018,10 @@ export type RepositoryConnection = { pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ totalCount: Scalars['Int']['output']; - /** The total size in kilobytes of all repositories in the connection. Value will never be larger than max 32-bit signed integer. */ + /** + * The total size in kilobytes of all repositories in the connection. Value will + * never be larger than max 32-bit signed integer. + */ totalDiskUsage: Scalars['Int']['output']; }; @@ -21913,7 +22323,10 @@ export type RepositoryMigration = Migration & Node & { sourceUrl: Scalars['URI']['output']; /** The migration state. */ state: MigrationState; - /** The number of warnings encountered for this migration. To review the warnings, check the [Migration Log](https://docs.github.com/migrations/using-github-enterprise-importer/completing-your-migration-with-github-enterprise-importer/accessing-your-migration-logs-for-github-enterprise-importer). */ + /** + * The number of warnings encountered for this migration. To review the warnings, + * check the [Migration Log](https://docs.github.com/migrations/using-github-enterprise-importer/completing-your-migration-with-github-enterprise-importer/accessing-your-migration-logs-for-github-enterprise-importer). + */ warningsCount: Scalars['Int']['output']; }; @@ -21966,7 +22379,10 @@ export type RepositoryNameConditionTarget = { __typename?: 'RepositoryNameConditionTarget'; /** Array of repository names or patterns to exclude. The condition will not pass if any of these patterns match. */ exclude: Array; - /** Array of repository names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~ALL` to include all repositories. */ + /** + * Array of repository names or patterns to include. One of these patterns must + * match for the condition to pass. Also accepts `~ALL` to include all repositories. + */ include: Array; /** Target changes that match these patterns will be prevented except by those with bypass permissions. */ protected: Scalars['Boolean']['output']; @@ -21976,7 +22392,10 @@ export type RepositoryNameConditionTarget = { export type RepositoryNameConditionTargetInput = { /** Array of repository names or patterns to exclude. The condition will not pass if any of these patterns match. */ exclude: Array; - /** Array of repository names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~ALL` to include all repositories. */ + /** + * Array of repository names or patterns to include. One of these patterns must + * match for the condition to pass. Also accepts `~ALL` to include all repositories. + */ include: Array; /** Target changes that match these patterns will be prevented except by those with bypass permissions. */ protected?: InputMaybe; @@ -22061,7 +22480,10 @@ export type RepositoryOwnerRepositoryArgs = { /** The access level to a repository */ export enum RepositoryPermission { - /** Can read, clone, and push to this repository. Can also manage issues, pull requests, and repository settings, including adding collaborators */ + /** + * Can read, clone, and push to this repository. Can also manage issues, pull + * requests, and repository settings, including adding collaborators + */ Admin = 'ADMIN', /** Can read, clone, and push to this repository. They can also manage issues, pull requests, and some repository settings */ Maintain = 'MAINTAIN', @@ -22218,13 +22640,22 @@ export enum RepositoryRuleType { RequiredDeployments = 'REQUIRED_DEPLOYMENTS', /** Prevent merge commits from being pushed to matching refs. */ RequiredLinearHistory = 'REQUIRED_LINEAR_HISTORY', - /** When enabled, all conversations on code must be resolved before a pull request can be merged into a branch that matches this rule. */ + /** + * When enabled, all conversations on code must be resolved before a pull request + * can be merged into a branch that matches this rule. + */ RequiredReviewThreadResolution = 'REQUIRED_REVIEW_THREAD_RESOLUTION', /** Commits pushed to matching refs must have verified signatures. */ RequiredSignatures = 'REQUIRED_SIGNATURES', - /** Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed to another ref where the checks pass. */ + /** + * Choose which status checks must pass before the ref is updated. When enabled, + * commits must first be pushed to another ref where the checks pass. + */ RequiredStatusChecks = 'REQUIRED_STATUS_CHECKS', - /** Require all commits be made to a non-target branch and submitted via a pull request and required workflow checks to pass before they can be merged. */ + /** + * Require all commits be made to a non-target branch and submitted via a pull + * request and required workflow checks to pass before they can be merged. + */ RequiredWorkflowStatusChecks = 'REQUIRED_WORKFLOW_STATUS_CHECKS', /** Commits pushed to matching refs must have verified signatures. */ RulesetRequiredSignatures = 'RULESET_REQUIRED_SIGNATURES', @@ -22337,7 +22768,10 @@ export type RepositoryRulesetBypassActorEdge = { node?: Maybe; }; -/** Specifies the attributes for a new or updated ruleset bypass actor. Only one of `actor_id`, `repository_role_database_id`, or `organization_admin` should be specified. */ +/** + * Specifies the attributes for a new or updated ruleset bypass actor. Only one of + * `actor_id`, `repository_role_database_id`, or `organization_admin` should be specified. + */ export type RepositoryRulesetBypassActorInput = { /** For Team and Integration bypasses, the Team or Integration ID */ actorId?: InputMaybe; @@ -22704,26 +23138,44 @@ export type RequiredStatusCheckDescription = { /** Specifies the attributes for a new or updated required status check. */ export type RequiredStatusCheckInput = { - /** The ID of the App that must set the status in order for it to be accepted. Omit this value to use whichever app has recently been setting this status, or use "any" to allow any app to set the status. */ + /** + * The ID of the App that must set the status in order for it to be accepted. + * Omit this value to use whichever app has recently been setting this status, or + * use "any" to allow any app to set the status. + */ appId?: InputMaybe; /** Status check context that must pass for commits to be accepted to the matching branch. */ context: Scalars['String']['input']; }; -/** Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed to another ref where the checks pass. */ +/** + * Choose which status checks must pass before the ref is updated. When enabled, + * commits must first be pushed to another ref where the checks pass. + */ export type RequiredStatusChecksParameters = { __typename?: 'RequiredStatusChecksParameters'; /** Status checks that are required. */ requiredStatusChecks: Array; - /** Whether pull requests targeting a matching branch must be tested with the latest code. This setting will not take effect unless at least one status check is enabled. */ + /** + * Whether pull requests targeting a matching branch must be tested with the + * latest code. This setting will not take effect unless at least one status + * check is enabled. + */ strictRequiredStatusChecksPolicy: Scalars['Boolean']['output']; }; -/** Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed to another ref where the checks pass. */ +/** + * Choose which status checks must pass before the ref is updated. When enabled, + * commits must first be pushed to another ref where the checks pass. + */ export type RequiredStatusChecksParametersInput = { /** Status checks that are required. */ requiredStatusChecks: Array; - /** Whether pull requests targeting a matching branch must be tested with the latest code. This setting will not take effect unless at least one status check is enabled. */ + /** + * Whether pull requests targeting a matching branch must be tested with the + * latest code. This setting will not take effect unless at least one status + * check is enabled. + */ strictRequiredStatusChecksPolicy: Scalars['Boolean']['input']; }; @@ -22770,7 +23222,6 @@ export type RestrictedContribution = 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. - * */ isRestricted: Scalars['Boolean']['output']; /** When this contribution was made. */ @@ -22779,10 +23230,7 @@ export type RestrictedContribution = Contribution & { resourcePath: Scalars['URI']['output']; /** The HTTP URL for this contribution. */ url: Scalars['URI']['output']; - /** - * The user who made this contribution. - * - */ + /** The user who made this contribution. */ user: User; }; @@ -22963,7 +23411,6 @@ export type ReviewRequestedEvent = Node & { /** * A hovercard context with a message describing the current code review state of the pull * request. - * */ export type ReviewStatusHovercardContext = HovercardContext & { __typename?: 'ReviewStatusHovercardContext'; @@ -23040,7 +23487,10 @@ export enum RuleEnforcement { Active = 'ACTIVE', /** Do not evaluate or enforce rules */ Disabled = 'DISABLED', - /** Allow admins to test rules before enforcing them. Admins can view insights on the Rule Insights page (`evaluate` is only available with GitHub Enterprise). */ + /** + * Allow admins to test rules before enforcing them. Admins can view insights on + * the Rule Insights page (`evaluate` is only available with GitHub Enterprise). + */ Evaluate = 'EVALUATE' } @@ -23154,26 +23604,52 @@ export enum SavedReplyOrderField { /** The results of a search. */ export type SearchResultItem = App | Discussion | Issue | MarketplaceListing | Organization | PullRequest | Repository | User; -/** A list of results that matched against a search query. Regardless of the number of matches, a maximum of 1,000 results will be available across all types, potentially split across many pages. */ +/** + * A list of results that matched against a search query. Regardless of the number + * of matches, a maximum of 1,000 results will be available across all types, + * potentially split across many pages. + */ export type SearchResultItemConnection = { __typename?: 'SearchResultItemConnection'; - /** The total number of pieces of code that matched the search query. Regardless of the total number of matches, a maximum of 1,000 results will be available across all types. */ + /** + * The total number of pieces of code that matched the search query. Regardless + * of the total number of matches, a maximum of 1,000 results will be available + * across all types. + */ codeCount: Scalars['Int']['output']; - /** The total number of discussions that matched the search query. Regardless of the total number of matches, a maximum of 1,000 results will be available across all types. */ + /** + * The total number of discussions that matched the search query. Regardless of + * the total number of matches, a maximum of 1,000 results will be available + * across all types. + */ discussionCount: Scalars['Int']['output']; /** A list of edges. */ edges?: Maybe>>; - /** The total number of issues that matched the search query. Regardless of the total number of matches, a maximum of 1,000 results will be available across all types. */ + /** + * The total number of issues that matched the search query. Regardless of the + * total number of matches, a maximum of 1,000 results will be available across all types. + */ issueCount: Scalars['Int']['output']; /** A list of nodes. */ nodes?: Maybe>>; /** Information to aid in pagination. */ pageInfo: PageInfo; - /** The total number of repositories that matched the search query. Regardless of the total number of matches, a maximum of 1,000 results will be available across all types. */ + /** + * The total number of repositories that matched the search query. Regardless of + * the total number of matches, a maximum of 1,000 results will be available + * across all types. + */ repositoryCount: Scalars['Int']['output']; - /** The total number of users that matched the search query. Regardless of the total number of matches, a maximum of 1,000 results will be available across all types. */ + /** + * The total number of users that matched the search query. Regardless of the + * total number of matches, a maximum of 1,000 results will be available across all types. + */ userCount: Scalars['Int']['output']; - /** The total number of wiki pages that matched the search query. Regardless of the total number of matches, a maximum of 1,000 results will be available across all types. */ + /** + * The total number of wiki pages that matched the search query. Regardless of + * the total number of matches, a maximum of 1,000 results will be available + * across all types. + */ wikiCount: Scalars['Int']['output']; }; @@ -23419,7 +23895,6 @@ export type SecurityVulnerability = { * + `< 0.1.11` denotes a version range up to, but excluding, the specified version * + `>= 4.3.0, < 4.3.5` denotes a version range with a known minimum and maximum version. * + `>= 0.0.1` denotes a version range with a known minimum, but no known maximum - * */ vulnerableVersionRange: Scalars['String']['output']; }; @@ -23563,7 +24038,10 @@ export type SmimeSignature = GitSignature & { signature: Scalars['String']['output']; /** GitHub user corresponding to the email signing this commit. */ signer?: Maybe; - /** The state of this signature. `VALID` if signature is valid and verified by GitHub, otherwise represents reason why signature is considered invalid. */ + /** + * The state of this signature. `VALID` if signature is valid and verified by + * GitHub, otherwise represents reason why signature is considered invalid. + */ state: GitSignatureState; /** True if the signature was made with GitHub's signing key. */ wasSignedByGitHub: Scalars['Boolean']['output']; @@ -23631,7 +24109,10 @@ export enum SocialAccountProvider { /** Entities that can sponsor others via GitHub Sponsors */ export type Sponsor = Organization | User; -/** A GitHub account and the total amount in USD they've paid for sponsorships to a particular maintainer. Does not include payments made via Patreon. */ +/** + * A GitHub account and the total amount in USD they've paid for sponsorships to a + * particular maintainer. Does not include payments made via Patreon. + */ export type SponsorAndLifetimeValue = { __typename?: 'SponsorAndLifetimeValue'; /** The amount in cents. */ @@ -23732,7 +24213,10 @@ export type Sponsorable = { isSponsoredBy: Scalars['Boolean']['output']; /** True if the viewer is sponsored by this user/organization. */ isSponsoringViewer: Scalars['Boolean']['output']; - /** Calculate how much each sponsor has ever paid total to this maintainer via GitHub Sponsors. Does not include sponsorships paid via Patreon. */ + /** + * Calculate how much each sponsor has ever paid total to this maintainer via + * GitHub Sponsors. Does not include sponsorships paid via Patreon. + */ lifetimeReceivedSponsorshipValues: SponsorAndLifetimeValueConnection; /** The estimated monthly GitHub Sponsors income for this user/organization in cents (USD). */ monthlyEstimatedSponsorsIncomeInCents: Scalars['Int']['output']; @@ -23754,7 +24238,11 @@ export type Sponsorable = { sponsorshipsAsMaintainer: SponsorshipConnection; /** The sponsorships where this user or organization is the funder. */ sponsorshipsAsSponsor: SponsorshipConnection; - /** The amount in United States cents (e.g., 500 = $5.00 USD) that this entity has spent on GitHub to fund sponsorships. Only returns a value when viewed by the user themselves or by a user who can manage sponsorships for the requested organization. */ + /** + * The amount in United States cents (e.g., 500 = $5.00 USD) that this entity has + * spent on GitHub to fund sponsorships. Only returns a value when viewed by the + * user themselves or by a user who can manage sponsorships for the requested organization. + */ totalSponsorshipAmountAsSponsorInCents?: Maybe; /** Whether or not the viewer is able to sponsor this user/organization. */ viewerCanSponsor: Scalars['Boolean']['output']; @@ -24502,7 +24990,10 @@ export type SponsorsGoal = { kind: SponsorsGoalKind; /** The percentage representing how complete this goal is, between 0-100. */ percentComplete: Scalars['Int']['output']; - /** What the goal amount is. Represents an amount in USD for monthly sponsorship amount goals. Represents a count of unique sponsors for total sponsors count goals. */ + /** + * What the goal amount is. Represents an amount in USD for monthly sponsorship + * amount goals. Represents a count of unique sponsors for total sponsors count goals. + */ targetValue: Scalars['Int']['output']; /** A brief summary of the kind and target value of this goal. */ title: Scalars['String']['output']; @@ -24521,11 +25012,23 @@ export type SponsorsListing = Node & { __typename?: 'SponsorsListing'; /** The current goal the maintainer is trying to reach with GitHub Sponsors, if any. */ activeGoal?: Maybe; - /** The Stripe Connect account currently in use for payouts for this Sponsors listing, if any. Will only return a value when queried by the maintainer themselves, or by an admin of the sponsorable organization. */ + /** + * The Stripe Connect account currently in use for payouts for this Sponsors + * listing, if any. Will only return a value when queried by the maintainer + * themselves, or by an admin of the sponsorable organization. + */ activeStripeConnectAccount?: Maybe; - /** The name of the country or region with the maintainer's bank account or fiscal host. Will only return a value when queried by the maintainer themselves, or by an admin of the sponsorable organization. */ + /** + * The name of the country or region with the maintainer's bank account or fiscal + * host. Will only return a value when queried by the maintainer themselves, or + * by an admin of the sponsorable organization. + */ billingCountryOrRegion?: Maybe; - /** The email address used by GitHub to contact the sponsorable about their GitHub Sponsors profile. Will only return a value when queried by the maintainer themselves, or by an admin of the sponsorable organization. */ + /** + * The email address used by GitHub to contact the sponsorable about their GitHub + * Sponsors profile. Will only return a value when queried by the maintainer + * themselves, or by an admin of the sponsorable organization. + */ contactEmailAddress?: Maybe; /** Identifies the date and time when the object was created. */ createdAt: Scalars['DateTime']['output']; @@ -24535,7 +25038,10 @@ export type SponsorsListing = Node & { dashboardUrl: Scalars['URI']['output']; /** The records featured on the GitHub Sponsors profile. */ featuredItems: Array; - /** The fiscal host used for payments, if any. Will only return a value when queried by the maintainer themselves, or by an admin of the sponsorable organization. */ + /** + * The fiscal host used for payments, if any. Will only return a value when + * queried by the maintainer themselves, or by an admin of the sponsorable organization. + */ fiscalHost?: Maybe; /** The full description of the listing. */ fullDescription: Scalars['String']['output']; @@ -24549,7 +25055,11 @@ export type SponsorsListing = Node & { name: Scalars['String']['output']; /** A future date on which this listing is eligible to receive a payout. */ nextPayoutDate?: Maybe; - /** The name of the country or region where the maintainer resides. Will only return a value when queried by the maintainer themselves, or by an admin of the sponsorable organization. */ + /** + * The name of the country or region where the maintainer resides. Will only + * return a value when queried by the maintainer themselves, or by an admin of + * the sponsorable organization. + */ residenceCountryOrRegion?: Maybe; /** The HTTP path for this Sponsors listing. */ resourcePath: Scalars['URI']['output']; @@ -24590,13 +25100,20 @@ export type SponsorsListingFeaturedItem = Node & { __typename?: 'SponsorsListingFeaturedItem'; /** Identifies the date and time when the object was created. */ createdAt: Scalars['DateTime']['output']; - /** Will either be a description from the sponsorable maintainer about why they featured this item, or the item's description itself, such as a user's bio from their GitHub profile page. */ + /** + * Will either be a description from the sponsorable maintainer about why they + * featured this item, or the item's description itself, such as a user's bio + * from their GitHub profile page. + */ description?: Maybe; /** The record that is featured on the GitHub Sponsors profile. */ featureable: SponsorsListingFeatureableItem; /** The Node ID of the SponsorsListingFeaturedItem object */ id: Scalars['ID']['output']; - /** The position of this featured item on the GitHub Sponsors profile with a lower position indicating higher precedence. Starts at 1. */ + /** + * The position of this featured item on the GitHub Sponsors profile with a lower + * position indicating higher precedence. Starts at 1. + */ position: Scalars['Int']['output']; /** The GitHub Sponsors profile that features this record. */ sponsorsListing: SponsorsListing; @@ -24617,7 +25134,11 @@ export type SponsorsTier = Node & { __typename?: 'SponsorsTier'; /** SponsorsTier information only visible to users that can administer the associated Sponsors listing. */ adminInfo?: Maybe; - /** Get a different tier for this tier's maintainer that is at the same frequency as this tier but with an equal or lesser cost. Returns the published tier with the monthly price closest to this tier's without going over. */ + /** + * Get a different tier for this tier's maintainer that is at the same frequency + * as this tier but with an equal or lesser cost. Returns the published tier with + * the monthly price closest to this tier's without going over. + */ closestLesserValueTier?: Maybe; /** Identifies the date and time when the object was created. */ createdAt: Scalars['DateTime']['output']; @@ -24627,7 +25148,10 @@ export type SponsorsTier = Node & { descriptionHTML: Scalars['HTML']['output']; /** The Node ID of the SponsorsTier object */ id: Scalars['ID']['output']; - /** Whether this tier was chosen at checkout time by the sponsor rather than defined ahead of time by the maintainer who manages the Sponsors listing. */ + /** + * Whether this tier was chosen at checkout time by the sponsor rather than + * defined ahead of time by the maintainer who manages the Sponsors listing. + */ isCustomAmount: Scalars['Boolean']['output']; /** Whether this tier is only for use with one-time sponsorships. */ isOneTime: Scalars['Boolean']['output']; @@ -24646,11 +25170,27 @@ export type SponsorsTier = Node & { /** SponsorsTier information only visible to users that can administer the associated Sponsors listing. */ export type SponsorsTierAdminInfo = { __typename?: 'SponsorsTierAdminInfo'; - /** Indicates whether this tier is still a work in progress by the sponsorable and not yet published to the associated GitHub Sponsors profile. Draft tiers cannot be used for new sponsorships and will not be in use on existing sponsorships. Draft tiers cannot be seen by anyone but the admins of the GitHub Sponsors profile. */ + /** + * Indicates whether this tier is still a work in progress by the sponsorable and + * not yet published to the associated GitHub Sponsors profile. Draft tiers + * cannot be used for new sponsorships and will not be in use on existing + * sponsorships. Draft tiers cannot be seen by anyone but the admins of the + * GitHub Sponsors profile. + */ isDraft: Scalars['Boolean']['output']; - /** Indicates whether this tier is published to the associated GitHub Sponsors profile. Published tiers are visible to anyone who can see the GitHub Sponsors profile, and are available for use in sponsorships if the GitHub Sponsors profile is publicly visible. */ + /** + * Indicates whether this tier is published to the associated GitHub Sponsors + * profile. Published tiers are visible to anyone who can see the GitHub Sponsors + * profile, and are available for use in sponsorships if the GitHub Sponsors + * profile is publicly visible. + */ isPublished: Scalars['Boolean']['output']; - /** Indicates whether this tier has been retired from the associated GitHub Sponsors profile. Retired tiers are no longer shown on the GitHub Sponsors profile and cannot be chosen for new sponsorships. Existing sponsorships may still use retired tiers if the sponsor selected the tier before it was retired. */ + /** + * Indicates whether this tier has been retired from the associated GitHub + * Sponsors profile. Retired tiers are no longer shown on the GitHub Sponsors + * profile and cannot be chosen for new sponsorships. Existing sponsorships may + * still use retired tiers if the sponsor selected the tier before it was retired. + */ isRetired: Scalars['Boolean']['output']; /** The sponsorships using this tier. */ sponsorships: SponsorshipConnection; @@ -24712,11 +25252,17 @@ export type Sponsorship = Node & { createdAt: Scalars['DateTime']['output']; /** The Node ID of the Sponsorship object */ id: Scalars['ID']['output']; - /** Whether the sponsorship is active. False implies the sponsor is a past sponsor of the maintainer, while true implies they are a current sponsor. */ + /** + * Whether the sponsorship is active. False implies the sponsor is a past sponsor + * of the maintainer, while true implies they are a current sponsor. + */ isActive: Scalars['Boolean']['output']; /** Whether this sponsorship represents a one-time payment versus a recurring sponsorship. */ isOneTimePayment: Scalars['Boolean']['output']; - /** Whether the sponsor has chosen to receive sponsorship update emails sent from the sponsorable. Only returns a non-null value when the viewer has permission to know this. */ + /** + * Whether the sponsor has chosen to receive sponsorship update emails sent from + * the sponsorable. Only returns a non-null value when the viewer has permission to know this. + */ isSponsorOptedIntoEmail?: Maybe; /** * The entity that is being sponsored @@ -24753,9 +25299,15 @@ export type SponsorshipConnection = { pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ totalCount: Scalars['Int']['output']; - /** The total amount in cents of all recurring sponsorships in the connection whose amount you can view. Does not include one-time sponsorships. */ + /** + * The total amount in cents of all recurring sponsorships in the connection + * whose amount you can view. Does not include one-time sponsorships. + */ totalRecurringMonthlyPriceInCents: Scalars['Int']['output']; - /** The total amount in USD of all recurring sponsorships in the connection whose amount you can view. Does not include one-time sponsorships. */ + /** + * The total amount in USD of all recurring sponsorships in the connection whose + * amount you can view. Does not include one-time sponsorships. + */ totalRecurringMonthlyPriceInDollars: Scalars['Int']['output']; }; @@ -24888,7 +25440,10 @@ export type SshSignature = GitSignature & { signature: Scalars['String']['output']; /** GitHub user corresponding to the email signing this commit. */ signer?: Maybe; - /** The state of this signature. `VALID` if signature is valid and verified by GitHub, otherwise represents reason why signature is considered invalid. */ + /** + * The state of this signature. `VALID` if signature is valid and verified by + * GitHub, otherwise represents reason why signature is considered invalid. + */ state: GitSignatureState; /** True if the signature was made with GitHub's signing key. */ wasSignedByGitHub: Scalars['Boolean']['output']; @@ -24935,10 +25490,7 @@ export type StargazerEdge = { export type Starrable = { /** The Node ID of the Starrable object */ id: Scalars['ID']['output']; - /** - * Returns a count of how many stargazers there are on this object - * - */ + /** Returns a count of how many stargazers there are on this object */ stargazerCount: Scalars['Int']['output']; /** A list of users who have starred this starrable. */ stargazers: StargazerConnection; @@ -25213,9 +25765,18 @@ export type StripeConnectAccount = { __typename?: 'StripeConnectAccount'; /** The account number used to identify this Stripe Connect account. */ accountId: Scalars['String']['output']; - /** The name of the country or region of an external account, such as a bank account, tied to the Stripe Connect account. Will only return a value when queried by the maintainer of the associated GitHub Sponsors profile themselves, or by an admin of the sponsorable organization. */ + /** + * The name of the country or region of an external account, such as a bank + * account, tied to the Stripe Connect account. Will only return a value when + * queried by the maintainer of the associated GitHub Sponsors profile + * themselves, or by an admin of the sponsorable organization. + */ billingCountryOrRegion?: Maybe; - /** The name of the country or region of the Stripe Connect account. Will only return a value when queried by the maintainer of the associated GitHub Sponsors profile themselves, or by an admin of the sponsorable organization. */ + /** + * The name of the country or region of the Stripe Connect account. Will only + * return a value when queried by the maintainer of the associated GitHub + * Sponsors profile themselves, or by an admin of the sponsorable organization. + */ countryOrRegion?: Maybe; /** Whether this Stripe Connect account is currently in use for the associated GitHub Sponsors profile. */ isActive: Scalars['Boolean']['output']; @@ -26430,15 +26991,11 @@ export type Topic = Node & Starrable & { /** * A list of related topics, including aliases of this topic, sorted with the most relevant * first. Returns up to 10 Topics. - * */ relatedTopics: Array; /** A list of repositories. */ repositories: RepositoryConnection; - /** - * Returns a count of how many stargazers there are on this object - * - */ + /** Returns a count of how many stargazers there are on this object */ stargazerCount: Scalars['Int']['output']; /** A list of users who have starred this starrable. */ stargazers: StargazerConnection; @@ -26739,7 +27296,10 @@ export type UnknownSignature = GitSignature & { signature: Scalars['String']['output']; /** GitHub user corresponding to the email signing this commit. */ signer?: Maybe; - /** The state of this signature. `VALID` if signature is valid and verified by GitHub, otherwise represents reason why signature is considered invalid. */ + /** + * The state of this signature. `VALID` if signature is valid and verified by + * GitHub, otherwise represents reason why signature is considered invalid. + */ state: GitSignatureState; /** True if the signature was made with GitHub's signing key. */ wasSignedByGitHub: Scalars['Boolean']['output']; @@ -27068,7 +27628,10 @@ export type UpdateBranchProtectionRuleInput = { dismissesStaleReviews?: InputMaybe; /** Can admins override branch protection. */ 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. */ + /** + * Whether users can pull changes from upstream when the branch is locked. Set to + * `true` to allow fork syncing. Set to `false` to prevent fork syncing. + */ lockAllowsFetchAndMerge?: InputMaybe; /** Whether to set the branch as read-only. If this is true, users will not be able to push to the branch. */ lockBranch?: InputMaybe; @@ -27317,7 +27880,10 @@ export type UpdateEnterpriseMembersCanCreateRepositoriesSettingInput = { membersCanCreatePublicRepositories?: InputMaybe; /** When false, allow member organizations to set their own repository creation member privileges. */ membersCanCreateRepositoriesPolicyEnabled?: InputMaybe; - /** Value for the members can create repositories setting on the enterprise. This or the granular public/private/internal allowed fields (but not both) must be provided. */ + /** + * Value for the members can create repositories setting on the enterprise. This + * or the granular public/private/internal allowed fields (but not both) must be provided. + */ settingValue?: InputMaybe; }; @@ -27802,9 +28368,15 @@ export type UpdateParametersInput = { export type UpdatePatreonSponsorabilityInput = { /** A unique identifier for the client performing the mutation. */ clientMutationId?: InputMaybe; - /** Whether Patreon tiers should be shown on the GitHub Sponsors profile page, allowing potential sponsors to make their payment through Patreon instead of GitHub. */ + /** + * Whether Patreon tiers should be shown on the GitHub Sponsors profile page, + * allowing potential sponsors to make their payment through Patreon instead of GitHub. + */ enablePatreonSponsorships: Scalars['Boolean']['input']; - /** The username of the organization with the GitHub Sponsors profile, if any. Defaults to the GitHub Sponsors profile for the authenticated user if omitted. */ + /** + * The username of the organization with the GitHub Sponsors profile, if any. + * Defaults to the GitHub Sponsors profile for the authenticated user if omitted. + */ sponsorableLogin?: InputMaybe; }; @@ -28041,7 +28613,6 @@ export type UpdatePullRequestInput = { /** * The name of the branch you want your changes pulled into. This should be an existing branch * on the current repository. - * */ baseRefName?: InputMaybe; /** The contents of the pull request. */ @@ -28156,7 +28727,10 @@ export type UpdateRepositoryInput = { name?: InputMaybe; /** The ID of the repository to update. */ repositoryId: Scalars['ID']['input']; - /** Whether this repository should be marked as a template such that anyone who can access it can create new repositories with the same files and directory structure. */ + /** + * Whether this repository should be marked as a template such that anyone who + * can access it can create new repositories with the same files and directory structure. + */ template?: InputMaybe; }; @@ -28223,13 +28797,22 @@ export type UpdateRepositoryWebCommitSignoffSettingPayload = { export type UpdateSponsorshipPreferencesInput = { /** A unique identifier for the client performing the mutation. */ clientMutationId?: InputMaybe; - /** Specify whether others should be able to see that the sponsor is sponsoring the sponsorable. Public visibility still does not reveal which tier is used. */ + /** + * Specify whether others should be able to see that the sponsor is sponsoring + * the sponsorable. Public visibility still does not reveal which tier is used. + */ privacyLevel?: InputMaybe; /** Whether the sponsor should receive email updates from the sponsorable. */ receiveEmails?: InputMaybe; - /** The ID of the user or organization who is acting as the sponsor, paying for the sponsorship. Required if sponsorLogin is not given. */ + /** + * The ID of the user or organization who is acting as the sponsor, paying for + * the sponsorship. Required if sponsorLogin is not given. + */ 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. */ + /** + * The username of the user or organization who is acting as the sponsor, paying + * for the sponsorship. Required if sponsorId is not given. + */ sponsorLogin?: InputMaybe; /** The ID of the user or organization who is receiving the sponsorship. Required if sponsorableLogin is not given. */ sponsorableId?: InputMaybe; @@ -28290,7 +28873,10 @@ export type UpdateTeamDiscussionCommentPayload = { export type UpdateTeamDiscussionInput = { /** The updated text of the discussion. */ body?: InputMaybe; - /** The current version of the body content. If provided, this update operation will be rejected if the given version does not match the latest version on the server. */ + /** + * The current version of the body content. If provided, this update operation + * will be rejected if the given version does not match the latest version on the server. + */ bodyVersion?: InputMaybe; /** A unique identifier for the client performing the mutation. */ clientMutationId?: InputMaybe; @@ -28478,9 +29064,15 @@ export type User = Actor & Node & PackageOwner & ProfileOwner & ProjectOwner & P issueComments: IssueCommentConnection; /** A list of issues associated with this user. */ issues: IssueConnection; - /** Showcases a selection of repositories and gists that the profile owner has either curated or that have been selected automatically based on popularity. */ + /** + * Showcases a selection of repositories and gists that the profile owner has + * either curated or that have been selected automatically based on popularity. + */ itemShowcase: ProfileItemShowcase; - /** Calculate how much each sponsor has ever paid total to this maintainer via GitHub Sponsors. Does not include sponsorships paid via Patreon. */ + /** + * Calculate how much each sponsor has ever paid total to this maintainer via + * GitHub Sponsors. Does not include sponsorships paid via Patreon. + */ lifetimeReceivedSponsorshipValues: SponsorAndLifetimeValueConnection; /** A user-curated list of repositories */ lists: UserListConnection; @@ -28566,12 +29158,13 @@ export type User = Actor & Node & PackageOwner & ProfileOwner & ProjectOwner & P status?: Maybe; /** Suggested names for user lists */ suggestedListNames: Array; + /** Repositories the user has contributed to, ordered by contribution rank, plus repositories the user has created */ + topRepositories: RepositoryConnection; /** - * Repositories the user has contributed to, ordered by contribution rank, plus repositories the user has created - * + * The amount in United States cents (e.g., 500 = $5.00 USD) that this entity has + * spent on GitHub to fund sponsorships. Only returns a value when viewed by the + * user themselves or by a user who can manage sponsorships for the requested organization. */ - topRepositories: RepositoryConnection; - /** The amount in United States cents (e.g., 500 = $5.00 USD) that this entity has spent on GitHub to fund sponsorships. Only returns a value when viewed by the user themselves or by a user who can manage sponsorships for the requested organization. */ totalSponsorshipAmountAsSponsorInCents?: Maybe; /** The user's Twitter username. */ twitterUsername?: Maybe; diff --git a/src/generated/octokit-graphql-schema.js b/src/generated/octokit-graphql-schema.js deleted file mode 100644 index bd45510c..00000000 --- a/src/generated/octokit-graphql-schema.js +++ /dev/null @@ -1,4 +0,0 @@ -/* eslint-disable @typescript-eslint/no-var-requires */ -/* eslint-disable @typescript-eslint/no-require-imports */ -const { schema } = require('@octokit/graphql-schema') -module.exports = schema.json