Skip to content

Commit df2111c

Browse files
authored
Merge pull request #23746 from github/graphql-schema-update
GraphQL schema update
2 parents 74ed344 + 9cbcb86 commit df2111c

9 files changed

Lines changed: 1537 additions & 50 deletions

data/graphql/ghae/schema.docs-ghae.graphql

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9235,6 +9235,11 @@ type Enterprise implements Node {
92359235
The search string to look for.
92369236
"""
92379237
query: String
9238+
9239+
"""
9240+
The viewer's role in an organization.
9241+
"""
9242+
viewerOrganizationRole: RoleInOrganization
92389243
): OrganizationConnection!
92399244

92409245
"""
@@ -17705,6 +17710,16 @@ type Mutation {
1770517710
input: UpdateLabelInput!
1770617711
): UpdateLabelPayload @preview(toggledBy: "bane-preview")
1770717712

17713+
"""
17714+
Sets whether private repository forks are enabled for an organization.
17715+
"""
17716+
updateOrganizationAllowPrivateRepositoryForkingSetting(
17717+
"""
17718+
Parameters for UpdateOrganizationAllowPrivateRepositoryForkingSetting
17719+
"""
17720+
input: UpdateOrganizationAllowPrivateRepositoryForkingSettingInput!
17721+
): UpdateOrganizationAllowPrivateRepositoryForkingSettingPayload
17722+
1770817723
"""
1770917724
Updates an existing project.
1771017725
"""
@@ -21238,6 +21253,11 @@ type Organization implements Actor & MemberStatusable & Node & ProfileOwner & Pr
2123821253
orderBy: UserStatusOrder = {field: UPDATED_AT, direction: DESC}
2123921254
): UserStatusConnection!
2124021255

21256+
"""
21257+
Members can fork private repositories in this organization
21258+
"""
21259+
membersCanForkPrivateRepositories: Boolean!
21260+
2124121261
"""
2124221262
A list of users who are members of this organization.
2124321263
"""
@@ -33813,6 +33833,26 @@ type ReviewStatusHovercardContext implements HovercardContext {
3381333833
reviewDecision: PullRequestReviewDecision
3381433834
}
3381533835

33836+
"""
33837+
Possible roles a user may have in relation to an organization.
33838+
"""
33839+
enum RoleInOrganization {
33840+
"""
33841+
A user who is a direct member of the organization.
33842+
"""
33843+
DIRECT_MEMBER
33844+
33845+
"""
33846+
A user with full administrative access to the organization.
33847+
"""
33848+
OWNER
33849+
33850+
"""
33851+
A user who is unaffiliated with the organization.
33852+
"""
33853+
UNAFFILIATED
33854+
}
33855+
3381633856
"""
3381733857
The possible digest algorithms used to sign SAML requests for an identity provider.
3381833858
"""
@@ -39265,6 +39305,46 @@ type UpdateLabelPayload @preview(toggledBy: "bane-preview") {
3926539305
label: Label
3926639306
}
3926739307

39308+
"""
39309+
Autogenerated input type of UpdateOrganizationAllowPrivateRepositoryForkingSetting
39310+
"""
39311+
input UpdateOrganizationAllowPrivateRepositoryForkingSettingInput {
39312+
"""
39313+
A unique identifier for the client performing the mutation.
39314+
"""
39315+
clientMutationId: String
39316+
39317+
"""
39318+
Enable forking of private repositories in the organization?
39319+
"""
39320+
forkingEnabled: Boolean!
39321+
39322+
"""
39323+
The ID of the organization on which to set the allow private repository forking setting.
39324+
"""
39325+
organizationId: ID! @possibleTypes(concreteTypes: ["Organization"])
39326+
}
39327+
39328+
"""
39329+
Autogenerated return type of UpdateOrganizationAllowPrivateRepositoryForkingSetting
39330+
"""
39331+
type UpdateOrganizationAllowPrivateRepositoryForkingSettingPayload {
39332+
"""
39333+
A unique identifier for the client performing the mutation.
39334+
"""
39335+
clientMutationId: String
39336+
39337+
"""
39338+
A message confirming the result of updating the allow private repository forking setting.
39339+
"""
39340+
message: String
39341+
39342+
"""
39343+
The organization with the updated allow private repository forking setting.
39344+
"""
39345+
organization: Organization
39346+
}
39347+
3926839348
"""
3926939349
Autogenerated input type of UpdateProjectCard
3927039350
"""

0 commit comments

Comments
 (0)