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 Mar 3, 2022
1 parent 2327a4d commit e1f6e4e
Showing 1 changed file with 379 additions and 0 deletions.
379 changes: 379 additions & 0 deletions example/github/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -25795,6 +25795,42 @@ type Organization implements Actor & MemberStatusable & Node & PackageOwner & Pr
state: MigrationState
): RepositoryMigrationConnection!

"""
When true the organization requires all members, billing managers, and outside
collaborators to enable two-factor authentication.
"""
repositoryMigrations(
"""
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

"""
Ordering options for repository migrations returned.
"""
orderBy: RepositoryMigrationOrder = {field: CREATED_AT, direction: ASC}

"""
Filter repository migrations by state.
"""
state: MigrationState
): RepositoryMigrationConnection!

"""
When true the organization requires all members, billing managers, and outside
collaborators to enable two-factor authentication.
Expand Down Expand Up @@ -26842,6 +26878,349 @@ type OrganizationIdentityProvider implements Node {
"""
last: Int

"""
Filter to external identities with the users login
"""
privacy: TeamPrivacy

"""
If non-null, filters teams with query on team name and team slug
"""
query: String

"""
If non-null, filters teams according to whether the viewer is an admin or member on team
"""
role: TeamRole

"""
If true, restrict to only root teams
"""
rootTeamsOnly: Boolean = false

"""
User logins to filter by
"""
userLogins: [String!]
): TeamConnection!

"""
The HTTP path listing organization's teams
"""
teamsResourcePath: URI!

"""
The HTTP URL listing organization's teams
"""
teamsUrl: URI!

"""
The organization's Twitter username.
"""
twitterUsername: String

"""
Identifies the date and time when the object was last updated.
"""
updatedAt: DateTime!

"""
The HTTP URL for this organization.
"""
url: URI!

"""
Organization is adminable by the viewer.
"""
viewerCanAdminister: Boolean!

"""
Can the viewer pin repositories and gists to the profile?
"""
viewerCanChangePinnedItems: Boolean!

"""
Can the current viewer create new projects on this owner.
"""
viewerCanCreateProjects: Boolean!

"""
Viewer can create repositories on this organization
"""
viewerCanCreateRepositories: Boolean!

"""
Viewer can create teams on this organization.
"""
viewerCanCreateTeams: Boolean!

"""
Whether or not the viewer is able to sponsor this user/organization.
"""
viewerCanSponsor: Boolean!

"""
Viewer is an active member of this organization.
"""
viewerIsAMember: Boolean!

"""
True if the viewer is sponsoring this user/organization.
"""
viewerIsSponsoring: Boolean!

"""
The organization's public profile URL.
"""
websiteUrl: URI
}

"""
An audit entry in an organization audit log.
"""
union OrganizationAuditEntry =
MembersCanDeleteReposClearAuditEntry
| MembersCanDeleteReposDisableAuditEntry
| MembersCanDeleteReposEnableAuditEntry
| OauthApplicationCreateAuditEntry
| OrgAddBillingManagerAuditEntry
| OrgAddMemberAuditEntry
| OrgBlockUserAuditEntry
| OrgConfigDisableCollaboratorsOnlyAuditEntry
| OrgConfigEnableCollaboratorsOnlyAuditEntry
| OrgCreateAuditEntry
| OrgDisableOauthAppRestrictionsAuditEntry
| OrgDisableSamlAuditEntry
| OrgDisableTwoFactorRequirementAuditEntry
| OrgEnableOauthAppRestrictionsAuditEntry
| OrgEnableSamlAuditEntry
| OrgEnableTwoFactorRequirementAuditEntry
| OrgInviteMemberAuditEntry
| OrgInviteToBusinessAuditEntry
| OrgOauthAppAccessApprovedAuditEntry
| OrgOauthAppAccessDeniedAuditEntry
| OrgOauthAppAccessRequestedAuditEntry
| OrgRemoveBillingManagerAuditEntry
| OrgRemoveMemberAuditEntry
| OrgRemoveOutsideCollaboratorAuditEntry
| OrgRestoreMemberAuditEntry
| OrgUnblockUserAuditEntry
| OrgUpdateDefaultRepositoryPermissionAuditEntry
| OrgUpdateMemberAuditEntry
| OrgUpdateMemberRepositoryCreationPermissionAuditEntry
| OrgUpdateMemberRepositoryInvitationPermissionAuditEntry
| PrivateRepositoryForkingDisableAuditEntry
| PrivateRepositoryForkingEnableAuditEntry
| RepoAccessAuditEntry
| RepoAddMemberAuditEntry
| RepoAddTopicAuditEntry
| RepoArchivedAuditEntry
| RepoChangeMergeSettingAuditEntry
| RepoConfigDisableAnonymousGitAccessAuditEntry
| RepoConfigDisableCollaboratorsOnlyAuditEntry
| RepoConfigDisableContributorsOnlyAuditEntry
| RepoConfigDisableSockpuppetDisallowedAuditEntry
| RepoConfigEnableAnonymousGitAccessAuditEntry
| RepoConfigEnableCollaboratorsOnlyAuditEntry
| RepoConfigEnableContributorsOnlyAuditEntry
| RepoConfigEnableSockpuppetDisallowedAuditEntry
| RepoConfigLockAnonymousGitAccessAuditEntry
| RepoConfigUnlockAnonymousGitAccessAuditEntry
| RepoCreateAuditEntry
| RepoDestroyAuditEntry
| RepoRemoveMemberAuditEntry
| RepoRemoveTopicAuditEntry
| RepositoryVisibilityChangeDisableAuditEntry
| RepositoryVisibilityChangeEnableAuditEntry
| TeamAddMemberAuditEntry
| TeamAddRepositoryAuditEntry
| TeamChangeParentTeamAuditEntry
| TeamRemoveMemberAuditEntry
| TeamRemoveRepositoryAuditEntry

"""
The connection type for OrganizationAuditEntry.
"""
type OrganizationAuditEntryConnection {
"""
A list of edges.
"""
edges: [OrganizationAuditEntryEdge]

"""
A list of nodes.
"""
nodes: [OrganizationAuditEntry]

"""
Information to aid in pagination.
"""
pageInfo: PageInfo!

"""
Identifies the total count of items in the connection.
"""
totalCount: Int!
}

"""
Metadata for an audit entry with action org.*
"""
interface OrganizationAuditEntryData {
"""
The Organization associated with the Audit Entry.
"""
organization: Organization

"""
The name of the Organization.
"""
organizationName: String

"""
The HTTP path for the organization
"""
organizationResourcePath: URI

"""
The HTTP URL for the organization
"""
organizationUrl: URI
}

"""
An edge in a connection.
"""
type OrganizationAuditEntryEdge {
"""
A cursor for use in pagination.
"""
cursor: String!

"""
The item at the end of the edge.
"""
node: OrganizationAuditEntry
}

"""
A list of organizations managed by an enterprise.
"""
type OrganizationConnection {
"""
A list of edges.
"""
edges: [OrganizationEdge]

"""
A list of nodes.
"""
nodes: [Organization]

"""
Information to aid in pagination.
"""
pageInfo: PageInfo!

"""
Identifies the total count of items in the connection.
"""
totalCount: Int!
}

"""
An edge in a connection.
"""
type OrganizationEdge {
"""
A cursor for use in pagination.
"""
cursor: String!

"""
The item at the end of the edge.
"""
node: Organization
}

"""
The connection type for User.
"""
type OrganizationEnterpriseOwnerConnection {
"""
A list of edges.
"""
edges: [OrganizationEnterpriseOwnerEdge]

"""
A list of nodes.
"""
nodes: [User]

"""
Information to aid in pagination.
"""
pageInfo: PageInfo!

"""
Identifies the total count of items in the connection.
"""
totalCount: Int!
}

"""
An enterprise owner in the context of an organization that is part of the enterprise.
"""
type OrganizationEnterpriseOwnerEdge {
"""
A cursor for use in pagination.
"""
cursor: String!

"""
The item at the end of the edge.
"""
node: User

"""
The role of the owner with respect to the organization.
"""
organizationRole: RoleInOrganization!
}

"""
An Identity Provider configured to provision SAML and SCIM identities for Organizations
"""
type OrganizationIdentityProvider implements Node {
"""
The digest algorithm used to sign SAML requests for the Identity Provider.
"""
digestMethod: URI

"""
External Identities provisioned by this Identity Provider
"""
externalIdentities(
"""
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

"""
Filter to external identities with valid org membership only
"""
membersOnly: Boolean

"""
Filter to external identities with the users login
"""
Expand Down

0 comments on commit e1f6e4e

Please sign in to comment.