Skip to content

Commit

Permalink
GraphQL schema update (#46344)
Browse files Browse the repository at this point in the history
Co-authored-by: rachmari <[email protected]>
  • Loading branch information
docs-bot and rachmari authored Nov 18, 2023
1 parent cdb1c95 commit 1454555
Show file tree
Hide file tree
Showing 7 changed files with 322 additions and 73 deletions.
16 changes: 8 additions & 8 deletions data/graphql/ghae/schema.docs-ghae.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -7445,7 +7445,7 @@ input CreateTeamDiscussionInput {

"""
If true, restricts the visibility of this discussion to team members and
organization admins. If false or not specified, allows any organization member
organization owners. If false or not specified, allows any organization member
to view this discussion.

**Upcoming Change on 2024-07-01 UTC**
Expand Down Expand Up @@ -11636,7 +11636,7 @@ enum EnterpriseMembersCanCreateRepositoriesSettingValue {
DISABLED

"""
Organization administrators choose whether to allow members to create repositories.
Organization owners choose whether to allow members to create repositories.
"""
NO_POLICY

Expand Down Expand Up @@ -20520,7 +20520,7 @@ type Mutation {
): UpdateEnterpriseMembersCanInviteCollaboratorsSettingPayload

"""
Sets whether or not an organization admin can make purchases.
Sets whether or not an organization owner can make purchases.
"""
updateEnterpriseMembersCanMakePurchasesSetting(
"""
Expand Down Expand Up @@ -23412,9 +23412,9 @@ The type of membership a user has with an Organization.
"""
enum OrgRemoveMemberAuditEntryMembershipType {
"""
Organization administrators have full access and can change several settings,
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 admins can delete the organization
team membership. In addition, organization owners can delete the organization
and all of its repositories.
"""
ADMIN
Expand Down Expand Up @@ -38269,7 +38269,7 @@ type RepositoryRulesetBypassActor implements Node {
id: ID!

"""
This actor represents the ability for an organization admin to bypass
This actor represents the ability for an organization owner to bypass
"""
organizationAdmin: Boolean!

Expand Down Expand Up @@ -38360,7 +38360,7 @@ input RepositoryRulesetBypassActorInput {
bypassMode: RepositoryRulesetBypassActorBypassMode!

"""
For org admin bupasses, true
For organization owner bypasses, true
"""
organizationAdmin: Boolean

Expand Down Expand Up @@ -42597,7 +42597,7 @@ type TeamDiscussion implements Comment & Deletable & Node & Reactable & Subscrib
)

"""
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.
"""
isPrivate: Boolean!
@deprecated(
Expand Down
80 changes: 65 additions & 15 deletions data/graphql/ghec/schema.docs.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -8309,7 +8309,7 @@ input CreateTeamDiscussionInput {

"""
If true, restricts the visibility of this discussion to team members and
organization admins. If false or not specified, allows any organization member
organization owners. If false or not specified, allows any organization member
to view this discussion.

**Upcoming Change on 2024-07-01 UTC**
Expand Down Expand Up @@ -13154,7 +13154,7 @@ enum EnterpriseMembersCanCreateRepositoriesSettingValue {
DISABLED

"""
Organization administrators choose whether to allow members to create repositories.
Organization owners choose whether to allow members to create repositories.
"""
NO_POLICY

Expand Down Expand Up @@ -23727,7 +23727,7 @@ type Mutation {
): UpdateEnterpriseMembersCanInviteCollaboratorsSettingPayload

"""
Sets whether or not an organization admin can make purchases.
Sets whether or not an organization owner can make purchases.
"""
updateEnterpriseMembersCanMakePurchasesSetting(
"""
Expand Down Expand Up @@ -23916,6 +23916,19 @@ type Mutation {
input: UpdateOrganizationWebCommitSignoffSettingInput!
): UpdateOrganizationWebCommitSignoffSettingPayload

"""
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(
"""
Parameters for UpdatePatreonSponsorability
"""
input: UpdatePatreonSponsorabilityInput!
): UpdatePatreonSponsorabilityPayload

"""
Updates an existing project.
"""
Expand Down Expand Up @@ -26792,9 +26805,9 @@ The type of membership a user has with an Organization.
"""
enum OrgRemoveMemberAuditEntryMembershipType {
"""
Organization administrators have full access and can change several settings,
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 admins can delete the organization
team membership. In addition, organization owners can delete the organization
and all of its repositories.
"""
ADMIN
Expand Down Expand Up @@ -34591,7 +34604,7 @@ type ProjectV2Workflow implements Node {
databaseId: Int

"""
The workflows' enabled state.
Whether the workflow is enabled.
"""
enabled: Boolean!

Expand All @@ -34601,12 +34614,12 @@ type ProjectV2Workflow implements Node {
id: ID!

"""
The workflows' name.
The name of the workflow.
"""
name: String!

"""
The workflows' number.
The number of the workflow.
"""
number: Int!

Expand Down Expand Up @@ -34681,22 +34694,22 @@ Properties by which project workflows can be ordered.
"""
enum ProjectV2WorkflowsOrderField {
"""
The workflows' date and time of creation
The date and time of the workflow creation
"""
CREATED_AT

"""
The workflows' name
The name of the workflow
"""
NAME

"""
The workflows' number
The number of the workflow
"""
NUMBER

"""
The workflows' date and time of update
The date and time of the workflow update
"""
UPDATED_AT
}
Expand Down Expand Up @@ -46034,7 +46047,7 @@ type RepositoryRulesetBypassActor implements Node {
id: ID!

"""
This actor represents the ability for an organization admin to bypass
This actor represents the ability for an organization owner to bypass
"""
organizationAdmin: Boolean!

Expand Down Expand Up @@ -46125,7 +46138,7 @@ input RepositoryRulesetBypassActorInput {
bypassMode: RepositoryRulesetBypassActorBypassMode!

"""
For org admin bupasses, true
For organization owner bypasses, true
"""
organizationAdmin: Boolean

Expand Down Expand Up @@ -53513,7 +53526,7 @@ type TeamDiscussion implements Comment & Deletable & Node & Reactable & Subscrib
)

"""
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.
"""
isPrivate: Boolean!
@deprecated(
Expand Down Expand Up @@ -57389,6 +57402,43 @@ input UpdateParametersInput {
updateAllowsFetchAndMerge: Boolean!
}

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

"""
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: Boolean!

"""
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: String
}

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

"""
The GitHub Sponsors profile.
"""
sponsorsListing: SponsorsListing
}

"""
Autogenerated input type of UpdateProjectCard
"""
Expand Down
Loading

0 comments on commit 1454555

Please sign in to comment.