Skip to content
This repository has been archived by the owner on Apr 1, 2024. It is now read-only.

Commit

Permalink
WIP: github schema.graphql changed - please review
Browse files Browse the repository at this point in the history
  • Loading branch information
Create or Update Pull Request Action committed Dec 15, 2021
1 parent fb9429e commit 60b24c6
Showing 1 changed file with 237 additions and 12 deletions.
249 changes: 237 additions & 12 deletions example/github/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -9849,6 +9849,11 @@ type Enterprise implements Node {
The search string to look for.
"""
query: String

"""
The viewer's role in an organization.
"""
viewerOrganizationRole: RoleInOrganization
): OrganizationConnection!

"""
Expand Down Expand Up @@ -14193,7 +14198,7 @@ union IpAllowListOwner = App | Enterprise | Organization
"""
An Issue is a place to discuss ideas, enhancements, tasks, and bugs for a project.
"""
type Issue implements Assignable & Closable & Comment & Labelable & Lockable & Node & Reactable & RepositoryNode & Subscribable & UniformResourceLocatable & Updatable & UpdatableComment {
type Issue implements Assignable & Closable & Comment & Labelable & Lockable & Node & ProjectNextOwner & Reactable & RepositoryNode & Subscribable & UniformResourceLocatable & Updatable & UpdatableComment {
"""
Reason that the conversation was locked.
"""
Expand Down Expand Up @@ -14450,6 +14455,51 @@ type Issue implements Assignable & Closable & Comment & Labelable & Lockable & N
last: Int
): ProjectCardConnection!

"""
Find a project by project (beta) number.
"""
projectNext(
"""
The project (beta) number.
"""
number: Int!
): ProjectNext

"""
A list of project (beta) items under the owner.
"""
projectsNext(
"""
Returns the elements in the list that come after the specified cursor.
"""
after: String

"""
Returns the elements in the list that come before the specified cursor.
"""
before: String

"""
Returns the first _n_ elements from the list.
"""
first: Int

"""
Returns the last _n_ elements from the list.
"""
last: Int

"""
A project (beta) to search for under the the owner.
"""
query: String

"""
How to order the returned projects (beta).
"""
sortBy: ProjectNextOrderField = TITLE
): ProjectNextConnection!

"""
Identifies when the comment was published at.
"""
Expand Down Expand Up @@ -19268,6 +19318,16 @@ type Mutation {
input: UpdateNotificationRestrictionSettingInput!
): UpdateNotificationRestrictionSettingPayload

"""
Sets whether private repository forks are enabled for an organization.
"""
updateOrganizationAllowPrivateRepositoryForkingSetting(
"""
Parameters for UpdateOrganizationAllowPrivateRepositoryForkingSetting
"""
input: UpdateOrganizationAllowPrivateRepositoryForkingSettingInput!
): UpdateOrganizationAllowPrivateRepositoryForkingSettingPayload

"""
Updates an existing project.
"""
Expand Down Expand Up @@ -22982,6 +23042,11 @@ type Organization implements Actor & MemberStatusable & Node & PackageOwner & Pr
orderBy: UserStatusOrder = {field: UPDATED_AT, direction: DESC}
): UserStatusConnection!

"""
Members can fork private repositories in this organization
"""
membersCanForkPrivateRepositories: Boolean!

"""
A list of users who are members of this organization.
"""
Expand Down Expand Up @@ -23183,11 +23248,11 @@ type Organization implements Actor & MemberStatusable & Node & PackageOwner & Pr
): Project

"""
Find project by project next number.
Find a project by project (beta) number.
"""
projectNext(
"""
The project next number.
The project (beta) number.
"""
number: Int!
): ProjectNext
Expand Down Expand Up @@ -23233,7 +23298,7 @@ type Organization implements Actor & MemberStatusable & Node & PackageOwner & Pr
): ProjectConnection!

"""
A list of project next items under the owner.
A list of project (beta) items under the owner.
"""
projectsNext(
"""
Expand All @@ -23255,6 +23320,16 @@ type Organization implements Actor & MemberStatusable & Node & PackageOwner & Pr
Returns the last _n_ elements from the list.
"""
last: Int

"""
A project (beta) to search for under the the owner.
"""
query: String

"""
How to order the returned projects (beta).
"""
sortBy: ProjectNextOrderField = TITLE
): ProjectNextConnection!

"""
Expand Down Expand Up @@ -26642,23 +26717,48 @@ type ProjectNextItemFieldValueEdge {
}

"""
Represents an owner of a Project.
Properties by which the return project can be ordered.
"""
enum ProjectNextOrderField {
"""
The project's date and time of creation
"""
CREATED_AT

"""
The project's number
"""
NUMBER

"""
The project's title
"""
TITLE

"""
The project's date and time of update
"""
UPDATED_AT
}

"""
Represents an owner of a project (beta).
"""
interface ProjectNextOwner {
id: ID!

"""
Find project by project next number.
Find a project by project (beta) number.
"""
projectNext(
"""
The project next number.
The project (beta) number.
"""
number: Int!
): ProjectNext

"""
A list of project next items under the owner.
A list of project (beta) items under the owner.
"""
projectsNext(
"""
Expand All @@ -26680,6 +26780,16 @@ interface ProjectNextOwner {
Returns the last _n_ elements from the list.
"""
last: Int

"""
A project (beta) to search for under the the owner.
"""
query: String

"""
How to order the returned projects (beta).
"""
sortBy: ProjectNextOrderField = TITLE
): ProjectNextConnection!
}

Expand Down Expand Up @@ -26952,7 +27062,7 @@ type PublicKeyEdge {
"""
A repository pull request.
"""
type PullRequest implements Assignable & Closable & Comment & Labelable & Lockable & Node & Reactable & RepositoryNode & Subscribable & UniformResourceLocatable & Updatable & UpdatableComment {
type PullRequest implements Assignable & Closable & Comment & Labelable & Lockable & Node & ProjectNextOwner & Reactable & RepositoryNode & Subscribable & UniformResourceLocatable & Updatable & UpdatableComment {
"""
Reason that the conversation was locked.
"""
Expand Down Expand Up @@ -27467,6 +27577,51 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab
last: Int
): ProjectCardConnection!

"""
Find a project by project (beta) number.
"""
projectNext(
"""
The project (beta) number.
"""
number: Int!
): ProjectNext

"""
A list of project (beta) items under the owner.
"""
projectsNext(
"""
Returns the elements in the list that come after the specified cursor.
"""
after: String

"""
Returns the elements in the list that come before the specified cursor.
"""
before: String

"""
Returns the first _n_ elements from the list.
"""
first: Int

"""
Returns the last _n_ elements from the list.
"""
last: Int

"""
A project (beta) to search for under the the owner.
"""
query: String

"""
How to order the returned projects (beta).
"""
sortBy: ProjectNextOrderField = TITLE
): ProjectNextConnection!

"""
Identifies when the comment was published at.
"""
Expand Down Expand Up @@ -37390,6 +37545,26 @@ type ReviewStatusHovercardContext implements HovercardContext {
reviewDecision: PullRequestReviewDecision
}

"""
Possible roles a user may have in relation to an organization.
"""
enum RoleInOrganization {
"""
A user who is a direct member of the organization.
"""
DIRECT_MEMBER

"""
A user with full administrative access to the organization.
"""
OWNER

"""
A user who is unaffiliated with the organization.
"""
UNAFFILIATED
}

"""
The possible digest algorithms used to sign SAML requests for an identity provider.
"""
Expand Down Expand Up @@ -44346,6 +44521,46 @@ type UpdateNotificationRestrictionSettingPayload {
owner: VerifiableDomainOwner
}

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

"""
Enable forking of private repositories in the organization?
"""
forkingEnabled: Boolean!

"""
The ID of the organization on which to set the allow private repository forking setting.
"""
organizationId: ID! @possibleTypes(concreteTypes: ["Organization"])
}

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

"""
A message confirming the result of updating the allow private repository forking setting.
"""
message: String

"""
The organization with the updated allow private repository forking setting.
"""
organization: Organization
}

"""
Autogenerated input type of UpdateProjectCard
"""
Expand Down Expand Up @@ -45710,11 +45925,11 @@ type User implements Actor & Node & PackageOwner & ProfileOwner & ProjectNextOwn
): Project

"""
Find project by project next number.
Find a project by project (beta) number.
"""
projectNext(
"""
The project next number.
The project (beta) number.
"""
number: Int!
): ProjectNext
Expand Down Expand Up @@ -45760,7 +45975,7 @@ type User implements Actor & Node & PackageOwner & ProfileOwner & ProjectNextOwn
): ProjectConnection!

"""
A list of project next items under the owner.
A list of project (beta) items under the owner.
"""
projectsNext(
"""
Expand All @@ -45782,6 +45997,16 @@ type User implements Actor & Node & PackageOwner & ProfileOwner & ProjectNextOwn
Returns the last _n_ elements from the list.
"""
last: Int

"""
A project (beta) to search for under the the owner.
"""
query: String

"""
How to order the returned projects (beta).
"""
sortBy: ProjectNextOrderField = TITLE
): ProjectNextConnection!

"""
Expand Down

0 comments on commit 60b24c6

Please sign in to comment.