From 6bfb9965a1e11896318c583bd947a5b7ad828429 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 21 Nov 2023 22:05:27 +0000 Subject: [PATCH] Update dependency @octokit/graphql-schema to v14.43.1 (#791) * Update dependency @octokit/graphql-schema to v14.43.1 * Generated by GitHub Actions (ts / generate) https://github.com/int128/hide-comment-action/actions/runs/6948231068 * Empty commit to trigger GitHub Actions --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: update-generated-files-action <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: int128-renovate-merge-bot[bot] <132176788+int128-renovate-merge-bot[bot]@users.noreply.github.com> --- package.json | 2 +- src/generated/graphql-types.ts | 57 +++++++++++++++++++++++++--------- yarn.lock | 8 ++--- 3 files changed, 47 insertions(+), 20 deletions(-) diff --git a/package.json b/package.json index c3b32d2d..cbaf8919 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "@graphql-codegen/import-types-preset": "3.0.0", "@graphql-codegen/typescript": "4.0.1", "@graphql-codegen/typescript-operations": "4.0.1", - "@octokit/graphql-schema": "14.43.0", + "@octokit/graphql-schema": "14.43.1", "@tsconfig/node16": "16.1.1", "@types/jest": "29.5.9", "@types/node": "20.9.3", diff --git a/src/generated/graphql-types.ts b/src/generated/graphql-types.ts index a48bd592..409b3e32 100644 --- a/src/generated/graphql-types.ts +++ b/src/generated/graphql-types.ts @@ -3996,7 +3996,7 @@ export type CreateTeamDiscussionInput = { /** A unique identifier for the client performing the mutation. */ clientMutationId?: InputMaybe; /** - * If true, restricts the visibility of this discussion to team members and organization admins. 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. @@ -6296,7 +6296,7 @@ export enum EnterpriseMembersCanCreateRepositoriesSettingValue { All = 'ALL', /** Members will not be able to create public or private repositories. */ Disabled = 'DISABLED', - /** Organization administrators choose whether to allow members to create repositories. */ + /** Organization owners choose whether to allow members to create repositories. */ NoPolicy = 'NO_POLICY', /** Members will be able to create only private repositories. */ Private = 'PRIVATE', @@ -10440,7 +10440,7 @@ export type Mutation = { createCommitOnBranch?: Maybe; /** Create a discussion. */ createDiscussion?: Maybe; - /** Creates an organization as part of an enterprise account. */ + /** 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; @@ -10700,7 +10700,7 @@ export type Mutation = { updateEnterpriseMembersCanDeleteRepositoriesSetting?: Maybe; /** Sets whether members can invite collaborators are enabled for an enterprise. */ updateEnterpriseMembersCanInviteCollaboratorsSetting?: Maybe; - /** Sets whether or not an organization admin can make purchases. */ + /** Sets whether or not an organization owner can make purchases. */ updateEnterpriseMembersCanMakePurchasesSetting?: Maybe; /** Sets the members can update protected branches setting for an enterprise. */ updateEnterpriseMembersCanUpdateProtectedBranchesSetting?: Maybe; @@ -10736,6 +10736,8 @@ 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. */ + updatePatreonSponsorability?: Maybe; /** Updates an existing project. */ updateProject?: Maybe; /** Updates an existing project card. */ @@ -11949,6 +11951,12 @@ export type MutationUpdateOrganizationWebCommitSignoffSettingArgs = { }; +/** The root query for implementing GraphQL mutations. */ +export type MutationUpdatePatreonSponsorabilityArgs = { + input: UpdatePatreonSponsorabilityInput; +}; + + /** The root query for implementing GraphQL mutations. */ export type MutationUpdateProjectArgs = { input: UpdateProjectInput; @@ -13196,7 +13204,7 @@ export type OrgRemoveMemberAuditEntry = AuditEntry & Node & OrganizationAuditEnt /** The type of membership a user has with an Organization. */ export enum OrgRemoveMemberAuditEntryMembershipType { - /** Organization administrators 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 admins 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', @@ -16719,12 +16727,12 @@ export type ProjectV2Workflow = Node & { createdAt: Scalars['DateTime']['output']; /** Identifies the primary key from the database. */ databaseId?: Maybe; - /** The workflows' enabled state. */ + /** Whether the workflow is enabled. */ enabled: Scalars['Boolean']['output']; id: Scalars['ID']['output']; - /** The workflows' name. */ + /** The name of the workflow. */ name: Scalars['String']['output']; - /** The workflows' number. */ + /** The number of the workflow. */ number: Scalars['Int']['output']; /** The project that contains this workflow. */ project: ProjectV2; @@ -16764,13 +16772,13 @@ export type ProjectV2WorkflowOrder = { /** Properties by which project workflows can be ordered. */ export enum ProjectV2WorkflowsOrderField { - /** The workflows' date and time of creation */ + /** The date and time of the workflow creation */ CreatedAt = 'CREATED_AT', - /** The workflows' name */ + /** The name of the workflow */ Name = 'NAME', - /** The workflows' number */ + /** The number of the workflow */ Number = 'NUMBER', - /** The workflows' date and time of update */ + /** The date and time of the workflow update */ UpdatedAt = 'UPDATED_AT' } @@ -21820,7 +21828,7 @@ export type RepositoryRulesetBypassActor = Node & { /** The mode for the bypass actor */ bypassMode?: Maybe; id: Scalars['ID']['output']; - /** This actor represents the ability for an organization admin to bypass */ + /** This actor represents the ability for an organization owner to bypass */ organizationAdmin: Scalars['Boolean']['output']; /** If the actor is a repository role, the repository role's ID that can bypass */ repositoryRoleDatabaseId?: Maybe; @@ -21866,7 +21874,7 @@ export type RepositoryRulesetBypassActorInput = { actorId?: InputMaybe; /** The bypass mode for this actor. */ bypassMode: RepositoryRulesetBypassActorBypassMode; - /** For org admin bupasses, true */ + /** For organization owner bypasses, true */ organizationAdmin?: InputMaybe; /** For role bypasses, the role database ID */ repositoryRoleDatabaseId?: InputMaybe; @@ -25267,7 +25275,7 @@ export type TeamDiscussion = Comment & Deletable & Node & Reactable & Subscribab */ isPinned: Scalars['Boolean']['output']; /** - * Whether or not the discussion is only visible to team members and org admins. + * Whether or not the discussion is only visible to team members and organization owners. * @deprecated The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC. */ isPrivate: Scalars['Boolean']['output']; @@ -27182,6 +27190,25 @@ export type UpdateParametersInput = { updateAllowsFetchAndMerge: Scalars['Boolean']['input']; }; +/** Autogenerated input type of UpdatePatreonSponsorability */ +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. */ + 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. */ + sponsorableLogin?: InputMaybe; +}; + +/** Autogenerated return type of UpdatePatreonSponsorability */ +export type UpdatePatreonSponsorabilityPayload = { + __typename?: 'UpdatePatreonSponsorabilityPayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** The GitHub Sponsors profile. */ + sponsorsListing?: Maybe; +}; + /** Autogenerated input type of UpdateProjectCard */ export type UpdateProjectCardInput = { /** A unique identifier for the client performing the mutation. */ diff --git a/yarn.lock b/yarn.lock index ba6efa97..d687e12f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2079,10 +2079,10 @@ is-plain-object "^5.0.0" universal-user-agent "^6.0.0" -"@octokit/graphql-schema@14.43.0": - version "14.43.0" - resolved "https://registry.yarnpkg.com/@octokit/graphql-schema/-/graphql-schema-14.43.0.tgz#04bc8629e8acd2876438ae8ac770d30661cd5177" - integrity sha512-XZuFMN+QkOfJCxtqlOnXwySTPLjucNUPiTaLiEGk4j/V5FJC217MUvzvliwtmG5hI0OL5K6I58Jrai1x90qxJA== +"@octokit/graphql-schema@14.43.1": + version "14.43.1" + resolved "https://registry.yarnpkg.com/@octokit/graphql-schema/-/graphql-schema-14.43.1.tgz#f9ac0dc66761d0e1020e0546f541ea05452aa524" + integrity sha512-00qsNJA5f8C9Jq4qsr1j8slmUKE7umCAeRPrPZdWS1KF9imHkVYyIPbHE/LZCk717BD9RDbVJqZ7cZKYHL0zNg== dependencies: graphql "^16.0.0" graphql-tag "^2.10.3"