From 087381c9be8576c4145c01dae6c2fa6407badbcd Mon Sep 17 00:00:00 2001 From: Create or Update Pull Request Action Date: Mon, 27 Dec 2021 14:15:14 +0000 Subject: [PATCH 01/62] WIP: github schema.graphql changed - please review --- example/github/schema.graphql | 548 +++++++++++++++++++++++++++------- 1 file changed, 441 insertions(+), 107 deletions(-) diff --git a/example/github/schema.graphql b/example/github/schema.graphql index 2c681217131b1..e439e269e0e19 100644 --- a/example/github/schema.graphql +++ b/example/github/schema.graphql @@ -1647,6 +1647,11 @@ type Bot implements Actor & Node & UniformResourceLocatable { url: URI! } +""" +Types which can be actors for `BranchActorAllowance` objects. +""" +union BranchActorAllowanceActor = Team | User + """ A branch protection rule. """ @@ -1686,6 +1691,31 @@ type BranchProtectionRule implements Node { last: Int ): BranchProtectionRuleConflictConnection! + """ + A list of actors able to bypass PRs for this branch protection rule. + """ + bypassPullRequestAllowances( + """ + 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 + ): BypassPullRequestAllowanceConnection! + """ The actor who created this branch protection rule. """ @@ -1782,6 +1812,11 @@ type BranchProtectionRule implements Node { """ requiredStatusCheckContexts: [String] + """ + List of required status checks that must pass for commits to be accepted to matching branches. + """ + requiredStatusChecks: [RequiredStatusCheckDescription!] + """ Are approving reviews required to update matching branches. """ @@ -1953,6 +1988,62 @@ type BranchProtectionRuleEdge { node: BranchProtectionRule } +""" +A team or user who has the ability to bypass a pull request requirement on a protected branch. +""" +type BypassPullRequestAllowance implements Node { + """ + The actor that can dismiss. + """ + actor: BranchActorAllowanceActor + + """ + Identifies the branch protection rule associated with the allowed user or team. + """ + branchProtectionRule: BranchProtectionRule + id: ID! +} + +""" +The connection type for BypassPullRequestAllowance. +""" +type BypassPullRequestAllowanceConnection { + """ + A list of edges. + """ + edges: [BypassPullRequestAllowanceEdge] + + """ + A list of nodes. + """ + nodes: [BypassPullRequestAllowance] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +An edge in a connection. +""" +type BypassPullRequestAllowanceEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: BypassPullRequestAllowance +} + """ The Common Vulnerability Scoring System """ @@ -4569,48 +4660,6 @@ type ConnectedEvent implements Node { subject: ReferencedSubject! } -""" -A content attachment -""" -type ContentAttachment { - """ - The body text of the content attachment. This parameter supports markdown. - """ - body: String! - - """ - The content reference that the content attachment is attached to. - """ - contentReference: ContentReference! - - """ - Identifies the primary key from the database. - """ - databaseId: Int! - id: ID! - - """ - The title of the content attachment. - """ - title: String! -} - -""" -A content reference -""" -type ContentReference { - """ - Identifies the primary key from the database. - """ - databaseId: Int! - id: ID! - - """ - The reference of the content reference. - """ - reference: String! -} - """ Represents a contribution a user made on GitHub, such as opening an issue. """ @@ -5350,6 +5399,27 @@ type ConvertedNoteToIssueEvent implements Node { projectColumnName: String! @preview(toggledBy: "starfox-preview") } +""" +Represents a 'converted_to_discussion' event on a given issue. +""" +type ConvertedToDiscussionEvent implements Node { + """ + Identifies the actor who performed the event. + """ + actor: Actor + + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + + """ + The discussion that the issue was converted into. + """ + discussion: Discussion + id: ID! +} + """ Autogenerated input type of CreateBranchProtectionRule """ @@ -5364,6 +5434,11 @@ input CreateBranchProtectionRuleInput { """ allowsForcePushes: Boolean + """ + A list of User or Team IDs allowed to bypass pull requests targeting matching branches. + """ + bypassPullRequestActorIds: [ID!] + """ A unique identifier for the client performing the mutation. """ @@ -5404,6 +5479,11 @@ input CreateBranchProtectionRuleInput { """ requiredStatusCheckContexts: [String!] + """ + The list of required status checks + """ + requiredStatusChecks: [RequiredStatusCheckInput!] + """ Are approving reviews required to update matching branches. """ @@ -5635,46 +5715,6 @@ type CreateCommitOnBranchPayload { ref: Ref } -""" -Autogenerated input type of CreateContentAttachment -""" -input CreateContentAttachmentInput { - """ - The body of the content attachment, which may contain markdown. - """ - body: String! - - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - - """ - The node ID of the content_reference. - """ - contentReferenceId: ID! @possibleTypes(concreteTypes: ["ContentReference"]) - - """ - The title of the content attachment. - """ - title: String! -} - -""" -Autogenerated return type of CreateContentAttachment -""" -type CreateContentAttachmentPayload { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - - """ - The newly created content attachment. - """ - contentAttachment: ContentAttachment -} - """ Autogenerated input type of CreateDeployment """ @@ -9818,6 +9858,11 @@ type Enterprise implements Node { The search string to look for. """ query: String + + """ + The viewer's role in an organization. + """ + viewerOrganizationRole: RoleInOrganization ): OrganizationConnection! """ @@ -14162,7 +14207,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. """ @@ -14419,6 +14464,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. """ @@ -15175,6 +15265,7 @@ union IssueTimelineItems = | CommentDeletedEvent | ConnectedEvent | ConvertedNoteToIssueEvent + | ConvertedToDiscussionEvent | CrossReferencedEvent | DemilestonedEvent | DisconnectedEvent @@ -15289,6 +15380,11 @@ enum IssueTimelineItemsItemType { """ CONVERTED_NOTE_TO_ISSUE_EVENT + """ + Represents a 'converted_to_discussion' event on a given issue. + """ + CONVERTED_TO_DISCUSSION_EVENT + """ Represents a mention made by one issue or pull request to another. """ @@ -18061,16 +18157,6 @@ type Mutation { input: CreateCommitOnBranchInput! ): CreateCommitOnBranchPayload - """ - Create a content attachment. - """ - createContentAttachment( - """ - Parameters for CreateContentAttachment - """ - input: CreateContentAttachmentInput! - ): CreateContentAttachmentPayload @preview(toggledBy: "corsair-preview") - """ Creates a new deployment event. """ @@ -19241,6 +19327,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. """ @@ -22955,6 +23051,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. """ @@ -23156,11 +23257,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 @@ -23206,7 +23307,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( """ @@ -23228,6 +23329,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! """ @@ -23303,6 +23414,11 @@ type Organization implements Actor & MemberStatusable & Node & PackageOwner & Pr Find Repository. """ repository( + """ + Follow repository renames. If disabled, a repository referenced by its old name will return an error. + """ + followRenames: Boolean = true + """ Name of Repository to find. """ @@ -26181,7 +26297,7 @@ type ProjectEdge { } """ -New projects that manage issues, pull requests and drafts with tables and. +New projects that manage issues, pull requests and drafts using tables and boards. """ type ProjectNext implements Closable & Node & Updatable { """ @@ -26418,7 +26534,7 @@ type ProjectNextFieldEdge { } """ -An item in a Memex project. +An item within a new Project. """ type ProjectNextItem implements Node { """ @@ -26529,7 +26645,7 @@ type ProjectNextItemEdge { } """ -An value of a field in an item of Memex project. +An value of a field in an item of a new Project. """ type ProjectNextItemFieldValue implements Node { """ @@ -26610,23 +26726,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( """ @@ -26648,6 +26789,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! } @@ -26920,7 +27071,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. """ @@ -27435,6 +27586,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. """ @@ -29140,6 +29336,7 @@ union PullRequestTimelineItems = | ConnectedEvent | ConvertToDraftEvent | ConvertedNoteToIssueEvent + | ConvertedToDiscussionEvent | CrossReferencedEvent | DemilestonedEvent | DeployedEvent @@ -29314,6 +29511,11 @@ enum PullRequestTimelineItemsItemType { """ CONVERTED_NOTE_TO_ISSUE_EVENT + """ + Represents a 'converted_to_discussion' event on a given issue. + """ + CONVERTED_TO_DISCUSSION_EVENT + """ Represents a 'convert_to_draft' event on a given pull request. """ @@ -29873,6 +30075,11 @@ type Query { Lookup a given repository by the owner and repository name. """ repository( + """ + Follow repository renames. If disabled, a repository referenced by its old name will return an error. + """ + followRenames: Boolean = true + """ The name of the repository """ @@ -34480,6 +34687,11 @@ type Repository implements Node & PackageOwner & ProjectOwner & RepositoryInfo & """ before: String + """ + Filter by categories that are assignable by the viewer. + """ + filterByAssignable: Boolean = false + """ Returns the first _n_ elements from the list. """ @@ -36384,6 +36596,11 @@ interface RepositoryOwner { Find Repository. """ repository( + """ + Follow repository renames. If disabled, a repository referenced by its old name will return an error. + """ + followRenames: Boolean = true + """ Name of Repository to find. """ @@ -36947,6 +37164,38 @@ interface RequirableByPullRequest { ): Boolean! } +""" +Represents a required status check for a protected branch, but not any specific run of that check. +""" +type RequiredStatusCheckDescription { + """ + The App that must provide this status in order for it to be accepted. + """ + app: App + + """ + The name of this status. + """ + context: String! +} + +""" +Specifies the attributes for a new or updated required status check. +""" +input RequiredStatusCheckInput { + """ + The ID of the App that must set the status in order for it to be accepted. + Omit this value to use whichever app has recently been setting this status, or + use "any" to allow any app to set the status. + """ + appId: ID + + """ + Status check context that must pass for commits to be accepted to the matching branch. + """ + context: String! +} + """ Autogenerated input type of RerequestCheckSuite """ @@ -37305,6 +37554,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. """ @@ -42944,6 +43213,11 @@ input UpdateBranchProtectionRuleInput { """ branchProtectionRuleId: ID! @possibleTypes(concreteTypes: ["BranchProtectionRule"]) + """ + A list of User or Team IDs allowed to bypass pull requests targeting matching branches. + """ + bypassPullRequestActorIds: [ID!] + """ A unique identifier for the client performing the mutation. """ @@ -42979,6 +43253,11 @@ input UpdateBranchProtectionRuleInput { """ requiredStatusCheckContexts: [String!] + """ + The list of required status checks + """ + requiredStatusChecks: [RequiredStatusCheckInput!] + """ Are approving reviews required to update matching branches. """ @@ -44251,6 +44530,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 """ @@ -45615,11 +45934,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 @@ -45665,7 +45984,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( """ @@ -45687,6 +46006,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! """ @@ -45888,6 +46217,11 @@ type User implements Actor & Node & PackageOwner & ProfileOwner & ProjectNextOwn Find Repository. """ repository( + """ + Follow repository renames. If disabled, a repository referenced by its old name will return an error. + """ + followRenames: Boolean = true + """ Name of Repository to find. """ From 2efbe629d8ac489e173f6a4206740b0876096fd6 Mon Sep 17 00:00:00 2001 From: Create or Update Pull Request Action Date: Tue, 4 Jan 2022 20:18:04 +0000 Subject: [PATCH 02/62] WIP: github schema.graphql changed - please review --- example/github/schema.graphql | 97 +++++++++++++++++++++++++++++++++-- 1 file changed, 94 insertions(+), 3 deletions(-) diff --git a/example/github/schema.graphql b/example/github/schema.graphql index e439e269e0e19..1a9315013b905 100644 --- a/example/github/schema.graphql +++ b/example/github/schema.graphql @@ -1691,6 +1691,31 @@ type BranchProtectionRule implements Node { last: Int ): BranchProtectionRuleConflictConnection! + """ + A list of actors able to force push for this branch protection rule. + """ + bypassForcePushAllowances( + """ + 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 + ): BypassForcePushAllowanceConnection! + """ A list of actors able to bypass PRs for this branch protection rule. """ @@ -1988,6 +2013,62 @@ type BranchProtectionRuleEdge { node: BranchProtectionRule } +""" +A team or user who has the ability to bypass a force push requirement on a protected branch. +""" +type BypassForcePushAllowance implements Node { + """ + The actor that can dismiss. + """ + actor: BranchActorAllowanceActor + + """ + Identifies the branch protection rule associated with the allowed user or team. + """ + branchProtectionRule: BranchProtectionRule + id: ID! +} + +""" +The connection type for BypassForcePushAllowance. +""" +type BypassForcePushAllowanceConnection { + """ + A list of edges. + """ + edges: [BypassForcePushAllowanceEdge] + + """ + A list of nodes. + """ + nodes: [BypassForcePushAllowance] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +An edge in a connection. +""" +type BypassForcePushAllowanceEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: BypassForcePushAllowance +} + """ A team or user who has the ability to bypass a pull request requirement on a protected branch. """ @@ -5434,6 +5515,11 @@ input CreateBranchProtectionRuleInput { """ allowsForcePushes: Boolean + """ + A list of User or Team IDs allowed to bypass force push targeting matching branches. + """ + bypassForcePushActorIds: [ID!] + """ A list of User or Team IDs allowed to bypass pull requests targeting matching branches. """ @@ -24002,7 +24088,7 @@ type OrganizationAuditEntryEdge { } """ -The connection type for Organization. +A list of organizations managed by an enterprise. """ type OrganizationConnection { """ @@ -29754,9 +29840,9 @@ type Push implements Node { previousSha: GitObjectID """ - The user who pushed + The actor who pushed """ - pusher: User! + pusher: Actor! """ The repository that was pushed to @@ -43213,6 +43299,11 @@ input UpdateBranchProtectionRuleInput { """ branchProtectionRuleId: ID! @possibleTypes(concreteTypes: ["BranchProtectionRule"]) + """ + A list of User or Team IDs allowed to bypass force push targeting matching branches. + """ + bypassForcePushActorIds: [ID!] + """ A list of User or Team IDs allowed to bypass pull requests targeting matching branches. """ From 0bfdef8f1bde49cb6a01ba2c422b63ee2236d1de Mon Sep 17 00:00:00 2001 From: Create or Update Pull Request Action Date: Sun, 16 Jan 2022 22:16:09 +0000 Subject: [PATCH 03/62] WIP: github schema.graphql changed - please review --- example/github/schema.graphql | 125 ++++++++++++++++++++++++++++++++++ 1 file changed, 125 insertions(+) diff --git a/example/github/schema.graphql b/example/github/schema.graphql index 1a9315013b905..dfa033b041099 100644 --- a/example/github/schema.graphql +++ b/example/github/schema.graphql @@ -13045,6 +13045,11 @@ enum FundingPlatform { """ KO_FI + """ + LFX Crowdfunding funding platform. + """ + LFX_CROWDFUNDING + """ Liberapay funding platform. """ @@ -21140,6 +21145,31 @@ type OrgEnableTwoFactorRequirementAuditEntry implements AuditEntry & Node & Orga userUrl: URI } +""" +Ordering options for an organization's enterprise owner connections. +""" +input OrgEnterpriseOwnerOrder { + """ + The ordering direction. + """ + direction: OrderDirection! + + """ + The field to order enterprise owners by. + """ + field: OrgEnterpriseOwnerOrderField! +} + +""" +Properties by which enterprise owners can be ordered. +""" +enum OrgEnterpriseOwnerOrderField { + """ + Order enterprise owners by login. + """ + LOGIN +} + """ Audit log entry for a org.invite_member event. """ @@ -23015,6 +23045,46 @@ type Organization implements Actor & MemberStatusable & Node & PackageOwner & Pr """ email: String + """ + A list of owners of the organization's enterprise account. + """ + enterpriseOwners( + """ + 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 enterprise owners returned from the connection. + """ + orderBy: OrgEnterpriseOwnerOrder = {field: LOGIN, direction: ASC} + + """ + The organization role to filter by. + """ + organizationRole: RoleInOrganization + + """ + The search string to look for. + """ + query: String + ): OrganizationEnterpriseOwnerConnection! + """ The estimated next GitHub Sponsors payout for this user/organization in cents (USD). """ @@ -24127,6 +24197,51 @@ type OrganizationEdge { 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 """ @@ -29522,6 +29637,11 @@ type PullRequestTimelineItemsEdge { The possible item types found in a timeline. """ enum PullRequestTimelineItemsItemType { + """ + Represents a 'added_to_merge_queue' event on a given pull request. + """ + ADDED_TO_MERGE_QUEUE_EVENT + """ Represents a 'added_to_project' event on a given issue or pull request. """ @@ -29727,6 +29847,11 @@ enum PullRequestTimelineItemsItemType { """ REFERENCED_EVENT + """ + Represents a 'removed_from_merge_queue' event on a given pull request. + """ + REMOVED_FROM_MERGE_QUEUE_EVENT + """ Represents a 'removed_from_project' event on a given issue or pull request. """ From 14d2c128ef15cfeb6a77bf50136ddddc3ce00726 Mon Sep 17 00:00:00 2001 From: Create or Update Pull Request Action Date: Thu, 3 Feb 2022 17:22:17 +0000 Subject: [PATCH 04/62] WIP: github schema.graphql changed - please review --- example/github/schema.graphql | 892 +++++++++++++++++++++++++++++++++- 1 file changed, 886 insertions(+), 6 deletions(-) diff --git a/example/github/schema.graphql b/example/github/schema.graphql index dfa033b041099..4674d0cc912e9 100644 --- a/example/github/schema.graphql +++ b/example/github/schema.graphql @@ -23,6 +23,36 @@ directive @possibleTypes( concreteTypes: [String!]! ) on INPUT_FIELD_DEFINITION +""" +Autogenerated input type of AbortQueuedMigrations +""" +input AbortQueuedMigrationsInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the organization that is running the migrations. + """ + ownerId: ID! @possibleTypes(concreteTypes: ["Organization"]) +} + +""" +Autogenerated return type of AbortQueuedMigrations +""" +type AbortQueuedMigrationsPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + Did the operation succeed? + """ + success: Boolean +} + """ Autogenerated input type of AcceptEnterpriseAdministratorInvitation """ @@ -153,6 +183,21 @@ type ActorLocation { regionCode: String } +""" +The actor's type. +""" +enum ActorType { + """ + Indicates a team actor. + """ + TEAM + + """ + Indicates a user actor. + """ + USER +} + """ Autogenerated input type of AddAssigneesToAssignable """ @@ -6226,6 +6271,61 @@ type CreateLabelPayload @preview(toggledBy: "bane-preview") { label: Label } +""" +Autogenerated input type of CreateMigrationSource +""" +input CreateMigrationSourceInput { + """ + The Octoshift migration source access token. + """ + accessToken: String! + + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The GitHub personal access token of the user importing to the target repository. + """ + githubPat: String + + """ + The Octoshift migration source name. + """ + name: String! + + """ + The ID of the organization that will own the Octoshift migration source. + """ + ownerId: ID! @possibleTypes(concreteTypes: ["Organization"]) + + """ + The Octoshift migration source type. + """ + type: MigrationSourceType! + + """ + The Octoshift migration source URL. + """ + url: String! +} + +""" +Autogenerated return type of CreateMigrationSource +""" +type CreateMigrationSourcePayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The created Octoshift migration source. + """ + migrationSource: MigrationSource +} + """ Autogenerated input type of CreateProject """ @@ -10362,10 +10462,20 @@ type EnterpriseIdentityProvider implements Node { """ last: Int + """ + Filter to external identities with the users login + """ + login: String + """ Filter to external identities with valid org membership only """ membersOnly: Boolean + + """ + Filter to external identities with the users userName/NameID attribute + """ + userName: String ): ExternalIdentityConnection! id: ID! @@ -13921,6 +14031,101 @@ type GpgSignature implements GitSignature { wasSignedByGitHub: Boolean! } +""" +Autogenerated input type of GrantEnterpriseOrganizationsMigratorRole +""" +input GrantEnterpriseOrganizationsMigratorRoleInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the enterprise to which all organizations managed by it will be granted the migrator role. + """ + enterpriseId: ID! @possibleTypes(concreteTypes: ["Enterprise"]) + + """ + The login of the user to grant the migrator role + """ + login: String! +} + +""" +Autogenerated return type of GrantEnterpriseOrganizationsMigratorRole +""" +type GrantEnterpriseOrganizationsMigratorRolePayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The organizations that had the migrator role applied to for the given user. + """ + organizations( + """ + 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 + ): OrganizationConnection +} + +""" +Autogenerated input type of GrantMigratorRole +""" +input GrantMigratorRoleInput { + """ + The user login or Team slug to grant the migrator role. + """ + actor: String! + + """ + Specifies the type of the actor, can be either USER or TEAM. + """ + actorType: ActorType! + + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the organization that the user/team belongs to. + """ + organizationId: ID! @possibleTypes(concreteTypes: ["Organization"]) +} + +""" +Autogenerated return type of GrantMigratorRole +""" +type GrantMigratorRolePayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + Did the operation succeed? + """ + success: Boolean +} + """ A string containing HTML code. """ @@ -14059,6 +14264,52 @@ enum IdentityProviderConfigurationState { UNCONFIGURED } +""" +An import to GitHub +""" +type Import implements Node { + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + + """ + The user that created the Import + """ + creator: Actor! + id: ID! + + """ + The repositories associated with this Import + """ + repositories( + """ + 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 + """ + orderBy: RepositoryOrder = {field: CREATED_AT, direction: ASC} + ): RepositoryConnection! +} + """ Autogenerated input type of ImportProject """ @@ -14566,7 +14817,37 @@ type Issue implements Assignable & Closable & Comment & Labelable & Lockable & N ): ProjectNext """ - A list of project (beta) items under the owner. + List of project (beta) items associated with this issue. + """ + projectNextItems( + """ + 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 + + """ + Include archived items. + """ + includeArchived: Boolean = true + + """ + Returns the last _n_ elements from the list. + """ + last: Int + ): ProjectNextItemConnection! + + """ + A list of projects (beta) under the owner. """ projectsNext( """ @@ -17391,6 +17672,124 @@ type MergedEvent implements Node & UniformResourceLocatable { url: URI! } +""" +Represents an Octoshift migration. +""" +interface Migration { + """ + The Octoshift migration flag to continue on error. + """ + continueOnError: Boolean! + + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + + """ + The reason the migration failed. + """ + failureReason: String + id: ID! + + """ + The Octoshift migration source. + """ + migrationSource: MigrationSource! + + """ + The Octoshift migration source URL. + """ + sourceUrl: URI! + + """ + The Octoshift migration state. + """ + state: MigrationState! +} + +""" +An Octoshift migration source. +""" +type MigrationSource implements Node { + id: ID! + + """ + The Octoshift migration source name. + """ + name: String! + + """ + The Octoshift migration source type. + """ + type: MigrationSourceType! + + """ + The Octoshift migration source URL. + """ + url: URI! +} + +""" +Represents the different Octoshift migration sources. +""" +enum MigrationSourceType { + """ + An Azure DevOps migration source. + """ + AZURE_DEVOPS + + """ + A Bitbucket Server migration source. + """ + BITBUCKET_SERVER + + """ + A GitHub migration source. + """ + GITHUB + + """ + A GitHub Migration API source. + """ + GITHUB_ARCHIVE + + """ + A GitLab migration source. + """ + GITLAB +} + +""" +The Octoshift migration state. +""" +enum MigrationState { + """ + The Octoshift migration has failed. + """ + FAILED + + """ + The Octoshift migration is in progress. + """ + IN_PROGRESS + + """ + The Octoshift migration has not started. + """ + NOT_STARTED + + """ + The Octoshift migration has been queued. + """ + QUEUED + + """ + The Octoshift migration has succeeded. + """ + SUCCEEDED +} + """ Represents a Milestone object on a given repository. """ @@ -17867,6 +18266,16 @@ type MovedColumnsInProjectEvent implements Node { The root query for implementing GraphQL mutations. """ type Mutation { + """ + Clear all of a customer's queued migrations + """ + abortQueuedMigrations( + """ + Parameters for AbortQueuedMigrations + """ + input: AbortQueuedMigrationsInput! + ): AbortQueuedMigrationsPayload + """ Accepts a pending invitation for a user to become an administrator of an enterprise. """ @@ -18328,6 +18737,16 @@ type Mutation { input: CreateLabelInput! ): CreateLabelPayload @preview(toggledBy: "bane-preview") + """ + Creates an Octoshift migration source. + """ + createMigrationSource( + """ + Parameters for CreateMigrationSource + """ + input: CreateMigrationSourceInput! + ): CreateMigrationSourcePayload + """ Creates a new project. """ @@ -18658,6 +19077,26 @@ type Mutation { input: FollowUserInput! ): FollowUserPayload + """ + Grant the migrator role to a user for all organizations under an enterprise account. + """ + grantEnterpriseOrganizationsMigratorRole( + """ + Parameters for GrantEnterpriseOrganizationsMigratorRole + """ + input: GrantEnterpriseOrganizationsMigratorRoleInput! + ): GrantEnterpriseOrganizationsMigratorRolePayload + + """ + Grant the migrator role to a user or a team. + """ + grantMigratorRole( + """ + Parameters for GrantMigratorRole + """ + input: GrantMigratorRoleInput! + ): GrantMigratorRolePayload + """ Creates a new project by importing columns and a list of issues/PRs. """ @@ -18968,6 +19407,26 @@ type Mutation { input: ResolveReviewThreadInput! ): ResolveReviewThreadPayload + """ + Revoke the migrator role to a user for all organizations under an enterprise account. + """ + revokeEnterpriseOrganizationsMigratorRole( + """ + Parameters for RevokeEnterpriseOrganizationsMigratorRole + """ + input: RevokeEnterpriseOrganizationsMigratorRoleInput! + ): RevokeEnterpriseOrganizationsMigratorRolePayload + + """ + Revoke the migrator role from a user or a team. + """ + revokeMigratorRole( + """ + Parameters for RevokeMigratorRole + """ + input: RevokeMigratorRoleInput! + ): RevokeMigratorRolePayload + """ Creates or updates the identity provider for an enterprise. """ @@ -19008,6 +19467,16 @@ type Mutation { input: SetUserInteractionLimitInput! ): SetUserInteractionLimitPayload + """ + Start a repository migration. + """ + startRepositoryMigration( + """ + Parameters for StartRepositoryMigration + """ + input: StartRepositoryMigrationInput! + ): StartRepositoryMigrationPayload + """ Submits a pending pull request review. """ @@ -19298,6 +19767,16 @@ type Mutation { input: UpdateEnterpriseOrganizationProjectsSettingInput! ): UpdateEnterpriseOrganizationProjectsSettingPayload + """ + Updates the role of an enterprise owner with an organization. + """ + updateEnterpriseOwnerOrganizationRole( + """ + Parameters for UpdateEnterpriseOwnerOrganizationRole + """ + input: UpdateEnterpriseOwnerOrganizationRoleInput! + ): UpdateEnterpriseOwnerOrganizationRolePayload + """ Updates an enterprise's profile. """ @@ -19684,10 +20163,20 @@ type OIDCProvider implements Node { """ last: Int + """ + Filter to external identities with the users login + """ + login: String + """ Filter to external identities with valid org membership only """ membersOnly: Boolean + + """ + Filter to external identities with the users userName/NameID attribute + """ + userName: String ): ExternalIdentityConnection! id: ID! @@ -23463,7 +23952,7 @@ type Organization implements Actor & MemberStatusable & Node & PackageOwner & Pr ): ProjectConnection! """ - A list of project (beta) items under the owner. + A list of projects (beta) under the owner. """ projectsNext( """ @@ -23657,6 +24146,41 @@ type Organization implements Actor & MemberStatusable & Node & PackageOwner & Pr repositoryId: ID ): DiscussionConnection! + """ + A list of all repository migrations for this organization. + """ + 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. @@ -24275,10 +24799,20 @@ type OrganizationIdentityProvider implements Node { """ last: Int + """ + Filter to external identities with the users login + """ + login: String + """ Filter to external identities with valid org membership only """ membersOnly: Boolean + + """ + Filter to external identities with the users userName/NameID attribute + """ + userName: String ): ExternalIdentityConnection! id: ID! @@ -26592,11 +27126,21 @@ type ProjectNext implements Closable & Node & Updatable { """ owner: ProjectNextOwner! + """ + Returns true if the project is public. + """ + public: Boolean! + """ The HTTP path for this project """ resourcePath: URI! + """ + The project's short description. + """ + shortDescription: String + """ The project's name. """ @@ -26784,6 +27328,11 @@ type ProjectNextItem implements Node { ): ProjectNextItemFieldValueConnection! id: ID! + """ + Whether the item is archived. + """ + isArchived: Boolean! + """ The project that contains this item. """ @@ -26968,7 +27517,7 @@ interface ProjectNextOwner { ): ProjectNext """ - A list of project (beta) items under the owner. + A list of projects (beta) under the owner. """ projectsNext( """ @@ -27798,7 +28347,37 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab ): ProjectNext """ - A list of project (beta) items under the owner. + List of project (beta) items associated with this pull request. + """ + projectNextItems( + """ + 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 + + """ + Include archived items. + """ + includeArchived: Boolean = true + + """ + Returns the last _n_ elements from the list. + """ + last: Int + ): ProjectNextItemConnection! + + """ + A list of projects (beta) under the owner. """ projectsNext( """ @@ -29638,7 +30217,7 @@ The possible item types found in a timeline. """ enum PullRequestTimelineItemsItemType { """ - Represents a 'added_to_merge_queue' event on a given pull request. + Represents an 'added_to_merge_queue' event on a given pull request. """ ADDED_TO_MERGE_QUEUE_EVENT @@ -36669,6 +37248,122 @@ enum RepositoryLockReason { RENAME } +""" +An Octoshift repository migration. +""" +type RepositoryMigration implements Migration & Node { + """ + The Octoshift migration flag to continue on error. + """ + continueOnError: Boolean! + + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + + """ + The reason the migration failed. + """ + failureReason: String + id: ID! + + """ + The Octoshift migration source. + """ + migrationSource: MigrationSource! + + """ + The Octoshift migration source URL. + """ + sourceUrl: URI! + + """ + The Octoshift migration state. + """ + state: MigrationState! +} + +""" +The connection type for RepositoryMigration. +""" +type RepositoryMigrationConnection { + """ + A list of edges. + """ + edges: [RepositoryMigrationEdge] + + """ + A list of nodes. + """ + nodes: [RepositoryMigration] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +Represents a repository migration. +""" +type RepositoryMigrationEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: RepositoryMigration +} + +""" +Ordering options for repository migrations. +""" +input RepositoryMigrationOrder { + """ + The ordering direction. + """ + direction: RepositoryMigrationOrderDirection! + + """ + The field to order repository migrations by. + """ + field: RepositoryMigrationOrderField! +} + +""" +Possible directions in which to order a list of repository migrations when provided an `orderBy` argument. +""" +enum RepositoryMigrationOrderDirection { + """ + Specifies an ascending order for a given `orderBy` argument. + """ + ASC + + """ + Specifies a descending order for a given `orderBy` argument. + """ + DESC +} + +""" +Properties by which repository migrations can be ordered. +""" +enum RepositoryMigrationOrderField { + """ + Order mannequins why when they were created. + """ + CREATED_AT +} + """ Represents a object that belongs to a repository. """ @@ -37765,6 +38460,101 @@ type ReviewStatusHovercardContext implements HovercardContext { reviewDecision: PullRequestReviewDecision } +""" +Autogenerated input type of RevokeEnterpriseOrganizationsMigratorRole +""" +input RevokeEnterpriseOrganizationsMigratorRoleInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the enterprise to which all organizations managed by it will be granted the migrator role. + """ + enterpriseId: ID! @possibleTypes(concreteTypes: ["Enterprise"]) + + """ + The login of the user to revoke the migrator role + """ + login: String! +} + +""" +Autogenerated return type of RevokeEnterpriseOrganizationsMigratorRole +""" +type RevokeEnterpriseOrganizationsMigratorRolePayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The organizations that had the migrator role revoked for the given user. + """ + organizations( + """ + 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 + ): OrganizationConnection +} + +""" +Autogenerated input type of RevokeMigratorRole +""" +input RevokeMigratorRoleInput { + """ + The user login or Team slug to revoke the migrator role from. + """ + actor: String! + + """ + Specifies the type of the actor, can be either USER or TEAM. + """ + actorType: ActorType! + + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the organization that the user/team belongs to. + """ + organizationId: ID! @possibleTypes(concreteTypes: ["Organization"]) +} + +""" +Autogenerated return type of RevokeMigratorRole +""" +type RevokeMigratorRolePayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + Did the operation succeed? + """ + success: Boolean +} + """ Possible roles a user may have in relation to an organization. """ @@ -40012,6 +40802,56 @@ type StarredRepositoryEdge { starredAt: DateTime! } +""" +Autogenerated input type of StartRepositoryMigration +""" +input StartRepositoryMigrationInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + Whether to continue the migration on error + """ + continueOnError: Boolean + + """ + The ID of the organization that will own the imported repository. + """ + ownerId: ID! @possibleTypes(concreteTypes: ["Organization"]) + + """ + The name of the imported repository. + """ + repositoryName: String! + + """ + The ID of the Octoshift migration source. + """ + sourceId: ID! @possibleTypes(concreteTypes: ["MigrationSource"]) + + """ + The Octoshift migration source repository URL. + """ + sourceRepositoryUrl: URI! +} + +""" +Autogenerated return type of StartRepositoryMigration +""" +type StartRepositoryMigrationPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The new Octoshift repository migration. + """ + repositoryMigration: RepositoryMigration +} + """ Represents a commit status. """ @@ -44236,6 +45076,46 @@ type UpdateEnterpriseOrganizationProjectsSettingPayload { message: String } +""" +Autogenerated input type of UpdateEnterpriseOwnerOrganizationRole +""" +input UpdateEnterpriseOwnerOrganizationRoleInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the Enterprise which the owner belongs to. + """ + enterpriseId: ID! @possibleTypes(concreteTypes: ["Enterprise"]) + + """ + The ID of the organization for membership change. + """ + organizationId: ID! @possibleTypes(concreteTypes: ["Organization"]) + + """ + The role to assume in the organization. + """ + organizationRole: RoleInOrganization! +} + +""" +Autogenerated return type of UpdateEnterpriseOwnerOrganizationRole +""" +type UpdateEnterpriseOwnerOrganizationRolePayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + A message confirming the result of changing the owner's organization role. + """ + message: String +} + """ Autogenerated input type of UpdateEnterpriseProfile """ @@ -46200,7 +47080,7 @@ type User implements Actor & Node & PackageOwner & ProfileOwner & ProjectNextOwn ): ProjectConnection! """ - A list of project (beta) items under the owner. + A list of projects (beta) under the owner. """ projectsNext( """ From 378bf88263b33ba983ee0ddd58bf39ed49038629 Mon Sep 17 00:00:00 2001 From: Create or Update Pull Request Action Date: Tue, 15 Feb 2022 19:12:13 +0000 Subject: [PATCH 05/62] WIP: github schema.graphql changed - please review --- example/github/schema.graphql | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/example/github/schema.graphql b/example/github/schema.graphql index 4674d0cc912e9..317a936969059 100644 --- a/example/github/schema.graphql +++ b/example/github/schema.graphql @@ -40816,6 +40816,16 @@ input StartRepositoryMigrationInput { """ continueOnError: Boolean + """ + The signed URL to access the user-uploaded git archive + """ + gitArchiveUrl: String + + """ + The signed URL to access the user-uploaded metadata archive + """ + metadataArchiveUrl: String + """ The ID of the organization that will own the imported repository. """ From 83b0841887345545cd7eab4c03170e73ff12b775 Mon Sep 17 00:00:00 2001 From: Create or Update Pull Request Action Date: Wed, 16 Feb 2022 23:15:45 +0000 Subject: [PATCH 06/62] WIP: github schema.graphql changed - please review --- example/github/schema.graphql | 295 +++++++++++++++++++++++++++++++++- 1 file changed, 294 insertions(+), 1 deletion(-) diff --git a/example/github/schema.graphql b/example/github/schema.graphql index 317a936969059..eca9088c7f32a 100644 --- a/example/github/schema.graphql +++ b/example/github/schema.graphql @@ -15462,11 +15462,18 @@ input IssueFilters { """ List issues by given milestone argument. If an string representation of an - integer is passed, it should refer to a milestone by its number field. Pass in + integer is passed, it should refer to a milestone by its database ID. Pass in `null` for issues with no milestone, and `*` for issues that are assigned to any milestone. """ milestone: String + """ + List issues by given milestone argument. If an string representation of an + integer is passed, it should refer to a milestone by its number field. Pass in + `null` for issues with no milestone, and `*` for issues that are assigned to any milestone. + """ + milestoneNumber: String + """ List issues that have been updated at or after the given date. """ @@ -19937,6 +19944,16 @@ type Mutation { input: UpdateProjectColumnInput! ): UpdateProjectColumnPayload + """ + Updates an existing project (beta). + """ + updateProjectNext( + """ + Parameters for UpdateProjectNext + """ + input: UpdateProjectNextInput! + ): UpdateProjectNextPayload + """ Updates a field of an item from a Project. """ @@ -24187,6 +24204,47 @@ type Organization implements Actor & MemberStatusable & Node & PackageOwner & Pr """ requiresTwoFactorAuthentication: Boolean + """ + The HTTP path for this organization. + """ + 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. + """ + requiresTwoFactorAuthentication: Boolean + """ The HTTP path for this organization. """ @@ -27131,6 +27189,31 @@ type ProjectNext implements Closable & Node & Updatable { """ public: Boolean! + """ + The repositories the project is linked to. + """ + repositories( + """ + 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 + ): RepositoryConnection! + """ The HTTP path for this project """ @@ -27965,6 +28048,11 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab Ordering options for issues returned from the connection """ orderBy: IssueOrder + + """ + Return only manually linked Issues + """ + userLinkedOnly: Boolean = false ): IssueConnection """ @@ -35258,6 +35346,16 @@ type Repository implements Node & PackageOwner & ProjectOwner & RepositoryInfo & """ codeOfConduct: CodeOfConduct + """ + Information extracted from the repository's `CODEOWNERS` file. + """ + codeowners( + """ + The ref name used to return the associated `CODEOWNERS` file. + """ + refName: String + ): RepositoryCodeowners + """ A list of collaborators associated with the repository. """ @@ -36123,6 +36221,16 @@ type Repository implements Node & PackageOwner & ProjectOwner & RepositoryInfo & number: Int! ): Project + """ + Finds and returns the Project (beta) according to the provided Project (beta) number. + """ + projectNext( + """ + The ProjectNext number. + """ + number: Int! + ): ProjectNext + """ A list of projects under the owner. """ @@ -36163,6 +36271,41 @@ type Repository implements Node & PackageOwner & ProjectOwner & RepositoryInfo & states: [ProjectState!] ): ProjectConnection! + """ + List of projects (beta) linked to this repository. + """ + 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 linked to the repo. + """ + query: String + + """ + How to order the returned project (beta) objects. + """ + sortBy: ProjectNextOrderField = TITLE + ): ProjectNextConnection! + """ The HTTP path listing the repository's projects """ @@ -36563,6 +36706,11 @@ type Repository implements Node & PackageOwner & ProjectOwner & RepositoryInfo & Returns the last _n_ elements from the list. """ last: Int + + """ + Filter by the state of the alert + """ + states: [RepositoryVulnerabilityAlertState!] ): RepositoryVulnerabilityAlertConnection """ @@ -36637,6 +36785,56 @@ interface RepositoryAuditEntryData { repositoryUrl: URI } +""" +Information extracted from a repository's `CODEOWNERS` file. +""" +type RepositoryCodeowners { + """ + Any problems that were encountered while parsing the `CODEOWNERS` file. + """ + errors: [RepositoryCodeownersError!]! +} + +""" +An error in a `CODEOWNERS` file. +""" +type RepositoryCodeownersError { + """ + The column number where the error occurs. + """ + column: Int! + + """ + A short string describing the type of error. + """ + kind: String! + + """ + The line number where the error occurs. + """ + line: Int! + + """ + A complete description of the error, combining information from other fields. + """ + message: String! + + """ + The path to the file when the error occurs. + """ + path: String! + + """ + The content of the line where the error occurs. + """ + source: String! + + """ + A suggestion of how to fix the error. + """ + suggestion: String +} + """ The connection type for User. """ @@ -37887,8 +38085,23 @@ type RepositoryVulnerabilityAlert implements Node & RepositoryNode { The user who dismissed the alert """ dismisser: User + + """ + The reason the alert was marked as fixed. + """ + fixReason: String + + """ + When was the alert fixed? + """ + fixedAt: DateTime id: ID! + """ + Identifies the alert number. + """ + number: Int! + """ The associated repository """ @@ -37904,6 +38117,11 @@ type RepositoryVulnerabilityAlert implements Node & RepositoryNode { """ securityVulnerability: SecurityVulnerability + """ + Identifies the state of the alert. + """ + state: RepositoryVulnerabilityAlertState! + """ The vulnerable manifest filename """ @@ -37960,6 +38178,26 @@ type RepositoryVulnerabilityAlertEdge { node: RepositoryVulnerabilityAlert } +""" +The possible states of an alert +""" +enum RepositoryVulnerabilityAlertState { + """ + An alert that has been manually closed by a user. + """ + DISMISSED + + """ + An alert that has been resolved by a code change. + """ + FIXED + + """ + An alert that is still open. + """ + OPEN +} + """ Autogenerated input type of RequestReviews """ @@ -45786,6 +46024,46 @@ input UpdateProjectInput { state: ProjectState } +""" +Autogenerated input type of UpdateProjectNext +""" +input UpdateProjectNextInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + Set the project to closed or open. + """ + closed: Boolean + + """ + Set the readme description of the project. + """ + description: String + + """ + The ID of the Project to update. + """ + projectId: ID! @possibleTypes(concreteTypes: ["ProjectNext"]) + + """ + Set the project to public or private. + """ + public: Boolean + + """ + Set the short description of the project. + """ + shortDescription: String + + """ + Set the title of the project. + """ + title: String +} + """ Autogenerated input type of UpdateProjectNextItemField """ @@ -45831,6 +46109,21 @@ type UpdateProjectNextItemFieldPayload { projectNextItem: ProjectNextItem } +""" +Autogenerated return type of UpdateProjectNext +""" +type UpdateProjectNextPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The updated Project. + """ + projectNext: ProjectNext +} + """ Autogenerated return type of UpdateProject """ From 711617f30c6da6a07abef851ba469b1a6f447f46 Mon Sep 17 00:00:00 2001 From: Create or Update Pull Request Action Date: Thu, 17 Feb 2022 00:53:34 +0000 Subject: [PATCH 07/62] WIP: github schema.graphql changed - please review --- example/github/schema.graphql | 41 ----------------------------------- 1 file changed, 41 deletions(-) diff --git a/example/github/schema.graphql b/example/github/schema.graphql index eca9088c7f32a..76b555c12f4ef 100644 --- a/example/github/schema.graphql +++ b/example/github/schema.graphql @@ -24204,47 +24204,6 @@ type Organization implements Actor & MemberStatusable & Node & PackageOwner & Pr """ requiresTwoFactorAuthentication: Boolean - """ - The HTTP path for this organization. - """ - 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. - """ - requiresTwoFactorAuthentication: Boolean - """ The HTTP path for this organization. """ From 84de19a99b26c5451b273efe0e8b24bc5c81772b Mon Sep 17 00:00:00 2001 From: Create or Update Pull Request Action Date: Mon, 28 Feb 2022 18:19:15 +0000 Subject: [PATCH 08/62] WIP: github schema.graphql changed - please review --- example/github/schema.graphql | 77 ++++++++++++++++++++++++++++++++++- 1 file changed, 76 insertions(+), 1 deletion(-) diff --git a/example/github/schema.graphql b/example/github/schema.graphql index 76b555c12f4ef..684f5bd50093f 100644 --- a/example/github/schema.graphql +++ b/example/github/schema.graphql @@ -1,3 +1,7 @@ +directive @requiredCapabilities( + requiredCapabilities: [String!] +) on ARGUMENT_DEFINITION | ENUM | ENUM_VALUE | FIELD_DEFINITION | INPUT_FIELD_DEFINITION | INPUT_OBJECT | INTERFACE | OBJECT | SCALAR | UNION + """ Marks an element of a GraphQL schema as only available via a preview header """ @@ -6,7 +10,7 @@ directive @preview( The identifier of the API preview that toggles this field. """ toggledBy: String! -) on SCALAR | OBJECT | FIELD_DEFINITION | ARGUMENT_DEFINITION | INTERFACE | UNION | ENUM | ENUM_VALUE | INPUT_OBJECT | INPUT_FIELD_DEFINITION +) on ARGUMENT_DEFINITION | ENUM | ENUM_VALUE | FIELD_DEFINITION | INPUT_FIELD_DEFINITION | INPUT_OBJECT | INTERFACE | OBJECT | SCALAR | UNION """ Defines what type of global IDs are accepted for a mutation argument of type ID. @@ -7935,6 +7939,51 @@ type DependencyGraphDependencyEdge @preview(toggledBy: "hawkgirl-preview") { node: DependencyGraphDependency } +""" +The possible ecosystems of a dependency graph package. +""" +enum DependencyGraphEcosystem { + """ + GitHub Actions + """ + ACTIONS + + """ + PHP packages hosted at packagist.org + """ + COMPOSER + + """ + Go modules + """ + GO + + """ + Java artifacts hosted at the Maven central repository + """ + MAVEN + + """ + JavaScript packages hosted at npmjs.com + """ + NPM + + """ + .NET packages hosted at the NuGet Gallery + """ + NUGET + + """ + Python packages hosted at PyPI.org + """ + PIP + + """ + Ruby gems hosted at RubyGems.org + """ + RUBYGEMS +} + """ Dependency manifest for a repository """ @@ -28759,6 +28808,11 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab """ viewerCanEnableAutoMerge: Boolean! + """ + Indicates whether the viewer can bypass branch protections and merge the pull request immediately + """ + viewerCanMergeAsAdmin: Boolean! + """ Can user react to this subject """ @@ -31101,9 +31155,20 @@ type Query { Optional filter for which dependencies should be checked for sponsorable owners. Only sponsorable owners of dependencies in this ecosystem will be included. Used when onlyDependencies = true. + + **Upcoming Change on 2022-07-01 UTC** + **Description:** `dependencyEcosystem` will be removed. Use the ecosystem argument instead. + **Reason:** The type is switching from SecurityAdvisoryEcosystem to DependencyGraphEcosystem. """ dependencyEcosystem: SecurityAdvisoryEcosystem + """ + Optional filter for which dependencies should be checked for sponsorable + owners. Only sponsorable owners of dependencies in this ecosystem will be + included. Used when onlyDependencies = true. + """ + ecosystem: DependencyGraphEcosystem + """ Returns the first _n_ elements from the list. """ @@ -41003,6 +41068,11 @@ type StarredRepositoryEdge { Autogenerated input type of StartRepositoryMigration """ input StartRepositoryMigrationInput { + """ + The Octoshift migration source access token. + """ + accessToken: String + """ A unique identifier for the client performing the mutation. """ @@ -41018,6 +41088,11 @@ input StartRepositoryMigrationInput { """ gitArchiveUrl: String + """ + The GitHub personal access token of the user importing to the target repository. + """ + githubPat: String + """ The signed URL to access the user-uploaded metadata archive """ From a534c3699e43f2cffcff1a735e425fd739ca3ec0 Mon Sep 17 00:00:00 2001 From: Create or Update Pull Request Action Date: Mon, 28 Feb 2022 19:12:47 +0000 Subject: [PATCH 09/62] WIP: github schema.graphql changed - please review --- example/github/schema.graphql | 51 +++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/example/github/schema.graphql b/example/github/schema.graphql index 684f5bd50093f..37121dd2a1920 100644 --- a/example/github/schema.graphql +++ b/example/github/schema.graphql @@ -24263,6 +24263,57 @@ type Organization implements Actor & MemberStatusable & Node & PackageOwner & Pr """ samlIdentityProvider: OrganizationIdentityProvider + """ + List of users and organizations this entity is sponsoring. + """ + 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. + """ + requiresTwoFactorAuthentication: Boolean + + """ + The HTTP path for this organization. + """ + resourcePath: URI! + + """ + The Organization's SAML identity providers + """ + samlIdentityProvider: OrganizationIdentityProvider + """ List of users and organizations this entity is sponsoring. """ From 7e79441724f4be7f10019e6b609c3563cd69f2ea Mon Sep 17 00:00:00 2001 From: Create or Update Pull Request Action Date: Mon, 28 Feb 2022 20:17:25 +0000 Subject: [PATCH 10/62] WIP: github schema.graphql changed - please review --- example/github/schema.graphql | 49 +++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/example/github/schema.graphql b/example/github/schema.graphql index 37121dd2a1920..df1b1e4d74c42 100644 --- a/example/github/schema.graphql +++ b/example/github/schema.graphql @@ -24263,6 +24263,55 @@ type Organization implements Actor & MemberStatusable & Node & PackageOwner & Pr """ samlIdentityProvider: OrganizationIdentityProvider + """ + 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. + """ + requiresTwoFactorAuthentication: Boolean + + """ + The HTTP path for this organization. + """ + resourcePath: URI! + + """ + The Organization's SAML identity providers + """ + samlIdentityProvider: OrganizationIdentityProvider + """ List of users and organizations this entity is sponsoring. """ From f860a10ba754eb3a061d076b26b5010377f58df9 Mon Sep 17 00:00:00 2001 From: Create or Update Pull Request Action Date: Mon, 28 Feb 2022 21:13:59 +0000 Subject: [PATCH 11/62] WIP: github schema.graphql changed - please review --- example/github/schema.graphql | 69 +++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) diff --git a/example/github/schema.graphql b/example/github/schema.graphql index df1b1e4d74c42..987bc45eecaaa 100644 --- a/example/github/schema.graphql +++ b/example/github/schema.graphql @@ -21725,6 +21725,31 @@ enum OrgEnterpriseOwnerOrderField { LOGIN } +""" +Audit log entry for a org.invite_member event. +""" +input OrgEnterpriseOwnerOrder { + """ + The ordering direction. + """ + direction: OrderDirection! + + """ + The field to order enterprise owners by. + """ + field: OrgEnterpriseOwnerOrderField! +} + +""" +Properties by which enterprise owners can be ordered. +""" +enum OrgEnterpriseOwnerOrderField { + """ + Order enterprise owners by login. + """ + LOGIN +} + """ Audit log entry for a org.invite_member event. """ @@ -24258,6 +24283,50 @@ type Organization implements Actor & MemberStatusable & Node & PackageOwner & Pr """ resourcePath: URI! + """ + 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. + """ + requiresTwoFactorAuthentication: Boolean + + """ + The HTTP path for this organization. + """ + resourcePath: URI! + """ The Organization's SAML identity providers """ From ed8049a711060e460c4c8b17132ec1af1409c618 Mon Sep 17 00:00:00 2001 From: Create or Update Pull Request Action Date: Mon, 28 Feb 2022 22:15:57 +0000 Subject: [PATCH 12/62] WIP: github schema.graphql changed - please review --- example/github/schema.graphql | 61 +++++++++++++++++++++-------------- 1 file changed, 36 insertions(+), 25 deletions(-) diff --git a/example/github/schema.graphql b/example/github/schema.graphql index 987bc45eecaaa..4c301f7ba34bf 100644 --- a/example/github/schema.graphql +++ b/example/github/schema.graphql @@ -21725,31 +21725,6 @@ enum OrgEnterpriseOwnerOrderField { LOGIN } -""" -Audit log entry for a org.invite_member event. -""" -input OrgEnterpriseOwnerOrder { - """ - The ordering direction. - """ - direction: OrderDirection! - - """ - The field to order enterprise owners by. - """ - field: OrgEnterpriseOwnerOrderField! -} - -""" -Properties by which enterprise owners can be ordered. -""" -enum OrgEnterpriseOwnerOrderField { - """ - Order enterprise owners by login. - """ - LOGIN -} - """ Audit log entry for a org.invite_member event. """ @@ -24272,6 +24247,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. From f1a3cbaee23e4558297f549fec8d0c0239f24f1e Mon Sep 17 00:00:00 2001 From: Create or Update Pull Request Action Date: Mon, 28 Feb 2022 23:16:53 +0000 Subject: [PATCH 13/62] WIP: github schema.graphql changed - please review --- example/github/schema.graphql | 44 +++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/example/github/schema.graphql b/example/github/schema.graphql index 4c301f7ba34bf..10032d7c0df7d 100644 --- a/example/github/schema.graphql +++ b/example/github/schema.graphql @@ -24247,6 +24247,50 @@ 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. + """ + requiresTwoFactorAuthentication: Boolean + + """ + The HTTP path for this organization. + """ + resourcePath: URI! + + """ + 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. From 3c2a71c9f3b506f802af0402ebe483791ba38bba Mon Sep 17 00:00:00 2001 From: Create or Update Pull Request Action Date: Tue, 1 Mar 2022 01:11:42 +0000 Subject: [PATCH 14/62] WIP: github schema.graphql changed - please review --- example/github/schema.graphql | 89 +++++++++++++++++++++++++++++++++++ 1 file changed, 89 insertions(+) diff --git a/example/github/schema.graphql b/example/github/schema.graphql index 10032d7c0df7d..9eb45fd9df92f 100644 --- a/example/github/schema.graphql +++ b/example/github/schema.graphql @@ -24291,6 +24291,50 @@ 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. + """ + requiresTwoFactorAuthentication: Boolean + + """ + The HTTP path for this organization. + """ + resourcePath: URI! + + """ + 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. @@ -36519,6 +36563,51 @@ type Repository implements Node & PackageOwner & ProjectOwner & RepositoryInfo & states: [ProjectState!] ): ProjectConnection! + """ + Finds and returns the Project (beta) according to the provided Project (beta) number. + """ + projectNext( + """ + The ProjectNext number. + """ + number: Int! + ): ProjectNext + + """ + A list of projects 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 linked to the repo. + """ + query: String + + """ + How to order the returned project (beta) objects. + """ + sortBy: ProjectNextOrderField = TITLE + ): ProjectNextConnection! + """ List of projects (beta) linked to this repository. """ From 1bab5623462449aead24dfaea5c18b8594502424 Mon Sep 17 00:00:00 2001 From: Create or Update Pull Request Action Date: Tue, 1 Mar 2022 02:43:20 +0000 Subject: [PATCH 15/62] WIP: github schema.graphql changed - please review --- example/github/schema.graphql | 80 +++++++++++++++-------------------- 1 file changed, 35 insertions(+), 45 deletions(-) diff --git a/example/github/schema.graphql b/example/github/schema.graphql index 9eb45fd9df92f..34104c6033664 100644 --- a/example/github/schema.graphql +++ b/example/github/schema.graphql @@ -24515,6 +24515,41 @@ type Organization implements Actor & MemberStatusable & Node & PackageOwner & Pr state: MigrationState ): RepositoryMigrationConnection! + """ + A list of all repository migrations for this organization. + """ + 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. @@ -36563,51 +36598,6 @@ type Repository implements Node & PackageOwner & ProjectOwner & RepositoryInfo & states: [ProjectState!] ): ProjectConnection! - """ - Finds and returns the Project (beta) according to the provided Project (beta) number. - """ - projectNext( - """ - The ProjectNext number. - """ - number: Int! - ): ProjectNext - - """ - A list of projects 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 linked to the repo. - """ - query: String - - """ - How to order the returned project (beta) objects. - """ - sortBy: ProjectNextOrderField = TITLE - ): ProjectNextConnection! - """ List of projects (beta) linked to this repository. """ From 95a12c414a9a65f1589ec22388d04025bd1dc35b Mon Sep 17 00:00:00 2001 From: Create or Update Pull Request Action Date: Tue, 1 Mar 2022 03:19:35 +0000 Subject: [PATCH 16/62] WIP: github schema.graphql changed - please review --- example/github/schema.graphql | 41 +++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/example/github/schema.graphql b/example/github/schema.graphql index 34104c6033664..d1c36364ea427 100644 --- a/example/github/schema.graphql +++ b/example/github/schema.graphql @@ -24253,6 +24253,47 @@ type Organization implements Actor & MemberStatusable & Node & PackageOwner & Pr """ requiresTwoFactorAuthentication: Boolean + """ + The HTTP path for this organization. + """ + 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. + """ + requiresTwoFactorAuthentication: Boolean + """ The HTTP path for this organization. """ From 4c4793b8ad576de138c592348387eae4a4a4f549 Mon Sep 17 00:00:00 2001 From: Create or Update Pull Request Action Date: Tue, 1 Mar 2022 04:21:02 +0000 Subject: [PATCH 17/62] WIP: github schema.graphql changed - please review --- example/github/schema.graphql | 36 +++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/example/github/schema.graphql b/example/github/schema.graphql index d1c36364ea427..ac495e7924500 100644 --- a/example/github/schema.graphql +++ b/example/github/schema.graphql @@ -24247,6 +24247,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. From 677a6c23eabe5c84af659d0e134334ea12c29ccb Mon Sep 17 00:00:00 2001 From: Create or Update Pull Request Action Date: Tue, 1 Mar 2022 05:14:51 +0000 Subject: [PATCH 18/62] WIP: github schema.graphql changed - please review --- example/github/schema.graphql | 49 +++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/example/github/schema.graphql b/example/github/schema.graphql index ac495e7924500..33da38de6e028 100644 --- a/example/github/schema.graphql +++ b/example/github/schema.graphql @@ -24247,6 +24247,55 @@ 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. + """ + requiresTwoFactorAuthentication: Boolean + + """ + The HTTP path for this organization. + """ + resourcePath: URI! + + """ + The Organization's SAML identity providers + """ + samlIdentityProvider: OrganizationIdentityProvider + + """ + 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. From 68a8f70359b88defe2443e638a237498230c0680 Mon Sep 17 00:00:00 2001 From: Create or Update Pull Request Action Date: Tue, 1 Mar 2022 06:20:09 +0000 Subject: [PATCH 19/62] WIP: github schema.graphql changed - please review --- example/github/schema.graphql | 36 +++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/example/github/schema.graphql b/example/github/schema.graphql index 33da38de6e028..d61432b1c9926 100644 --- a/example/github/schema.graphql +++ b/example/github/schema.graphql @@ -24247,6 +24247,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. From ce4c11a800b582e2246f6035a4ff5ac51f3e809c Mon Sep 17 00:00:00 2001 From: Create or Update Pull Request Action Date: Tue, 1 Mar 2022 07:15:16 +0000 Subject: [PATCH 20/62] WIP: github schema.graphql changed - please review --- example/github/schema.graphql | 36 +++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/example/github/schema.graphql b/example/github/schema.graphql index d61432b1c9926..906e46a8052c8 100644 --- a/example/github/schema.graphql +++ b/example/github/schema.graphql @@ -24283,6 +24283,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. From 1996ccf09fc58a735cf4526b387afda54a02b9f6 Mon Sep 17 00:00:00 2001 From: Create or Update Pull Request Action Date: Tue, 1 Mar 2022 08:19:49 +0000 Subject: [PATCH 21/62] WIP: github schema.graphql changed - please review --- example/github/schema.graphql | 36 +++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/example/github/schema.graphql b/example/github/schema.graphql index 906e46a8052c8..449e00eced790 100644 --- a/example/github/schema.graphql +++ b/example/github/schema.graphql @@ -24319,6 +24319,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. From 89f4edb7a7dbc1fb3c5e768cf63199cc590b8efb Mon Sep 17 00:00:00 2001 From: Create or Update Pull Request Action Date: Tue, 1 Mar 2022 09:17:07 +0000 Subject: [PATCH 22/62] WIP: github schema.graphql changed - please review --- example/github/schema.graphql | 36 +++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/example/github/schema.graphql b/example/github/schema.graphql index 449e00eced790..dc2b3685f0670 100644 --- a/example/github/schema.graphql +++ b/example/github/schema.graphql @@ -24355,6 +24355,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. From 3cdadefe6ec8c52934b6d179910517259c2f5fcf Mon Sep 17 00:00:00 2001 From: Create or Update Pull Request Action Date: Tue, 1 Mar 2022 10:18:10 +0000 Subject: [PATCH 23/62] WIP: github schema.graphql changed - please review --- example/github/schema.graphql | 36 +++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/example/github/schema.graphql b/example/github/schema.graphql index dc2b3685f0670..1613ee8407ccb 100644 --- a/example/github/schema.graphql +++ b/example/github/schema.graphql @@ -24391,6 +24391,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. From 091c01222e8ca1085df24dd266c91ce620244de8 Mon Sep 17 00:00:00 2001 From: Create or Update Pull Request Action Date: Tue, 1 Mar 2022 11:14:11 +0000 Subject: [PATCH 24/62] WIP: github schema.graphql changed - please review --- example/github/schema.graphql | 36 +++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/example/github/schema.graphql b/example/github/schema.graphql index 1613ee8407ccb..9333e5c6fd8cf 100644 --- a/example/github/schema.graphql +++ b/example/github/schema.graphql @@ -24427,6 +24427,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. From a5ed724395895e835c86bd0e0d2eb6c690f39e50 Mon Sep 17 00:00:00 2001 From: Create or Update Pull Request Action Date: Tue, 1 Mar 2022 12:27:41 +0000 Subject: [PATCH 25/62] WIP: github schema.graphql changed - please review --- example/github/schema.graphql | 36 +++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/example/github/schema.graphql b/example/github/schema.graphql index 9333e5c6fd8cf..4e3c65b0fa091 100644 --- a/example/github/schema.graphql +++ b/example/github/schema.graphql @@ -24463,6 +24463,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. From c6f9519c528dc2be4b576e2a502a1f196b2fee72 Mon Sep 17 00:00:00 2001 From: Create or Update Pull Request Action Date: Tue, 1 Mar 2022 13:22:32 +0000 Subject: [PATCH 26/62] WIP: github schema.graphql changed - please review --- example/github/schema.graphql | 36 +++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/example/github/schema.graphql b/example/github/schema.graphql index 4e3c65b0fa091..ef75fbdc42615 100644 --- a/example/github/schema.graphql +++ b/example/github/schema.graphql @@ -24499,6 +24499,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. From add7274fac772455bd93315bc61b3dea164cad0b Mon Sep 17 00:00:00 2001 From: Create or Update Pull Request Action Date: Tue, 1 Mar 2022 14:17:17 +0000 Subject: [PATCH 27/62] WIP: github schema.graphql changed - please review --- example/github/schema.graphql | 36 +++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/example/github/schema.graphql b/example/github/schema.graphql index ef75fbdc42615..506d12b58d214 100644 --- a/example/github/schema.graphql +++ b/example/github/schema.graphql @@ -24535,6 +24535,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. From f1e192fce23c159036495c186eb54d353b559251 Mon Sep 17 00:00:00 2001 From: Create or Update Pull Request Action Date: Tue, 1 Mar 2022 15:20:34 +0000 Subject: [PATCH 28/62] WIP: github schema.graphql changed - please review --- example/github/schema.graphql | 36 +++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/example/github/schema.graphql b/example/github/schema.graphql index 506d12b58d214..354fcadf1255a 100644 --- a/example/github/schema.graphql +++ b/example/github/schema.graphql @@ -24571,6 +24571,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. From 77cb49a816d72e54f9494d9293bb79484fa1a992 Mon Sep 17 00:00:00 2001 From: Create or Update Pull Request Action Date: Tue, 1 Mar 2022 16:27:00 +0000 Subject: [PATCH 29/62] WIP: github schema.graphql changed - please review --- example/github/schema.graphql | 36 +++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/example/github/schema.graphql b/example/github/schema.graphql index 354fcadf1255a..9fb2c39c4e7e5 100644 --- a/example/github/schema.graphql +++ b/example/github/schema.graphql @@ -24607,6 +24607,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. From 1bfd2f9b1ad3d71ed5b46a09ba62aa8b426cadbd Mon Sep 17 00:00:00 2001 From: Create or Update Pull Request Action Date: Tue, 1 Mar 2022 17:16:57 +0000 Subject: [PATCH 30/62] WIP: github schema.graphql changed - please review --- example/github/schema.graphql | 36 +++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/example/github/schema.graphql b/example/github/schema.graphql index 9fb2c39c4e7e5..a56b503971928 100644 --- a/example/github/schema.graphql +++ b/example/github/schema.graphql @@ -24643,6 +24643,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. From ba5573174749379609fa8db16398a1bcee386f45 Mon Sep 17 00:00:00 2001 From: Create or Update Pull Request Action Date: Tue, 1 Mar 2022 18:18:57 +0000 Subject: [PATCH 31/62] WIP: github schema.graphql changed - please review --- example/github/schema.graphql | 36 +++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/example/github/schema.graphql b/example/github/schema.graphql index a56b503971928..a05003ef0146f 100644 --- a/example/github/schema.graphql +++ b/example/github/schema.graphql @@ -24679,6 +24679,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. From c52b6a96acb9271f86441d07b9a57fff1151e150 Mon Sep 17 00:00:00 2001 From: Create or Update Pull Request Action Date: Tue, 1 Mar 2022 19:13:15 +0000 Subject: [PATCH 32/62] WIP: github schema.graphql changed - please review --- example/github/schema.graphql | 379 ++++++++++++++++++++++++++++++++++ 1 file changed, 379 insertions(+) diff --git a/example/github/schema.graphql b/example/github/schema.graphql index a05003ef0146f..74aefe3afe389 100644 --- a/example/github/schema.graphql +++ b/example/github/schema.graphql @@ -24715,6 +24715,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. @@ -25762,6 +25798,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 """ From b80e75094a2251427924b9a9d97b9f5b6c7e5164 Mon Sep 17 00:00:00 2001 From: Create or Update Pull Request Action Date: Tue, 1 Mar 2022 20:17:00 +0000 Subject: [PATCH 33/62] WIP: github schema.graphql changed - please review --- example/github/schema.graphql | 379 ++++------------------------------ 1 file changed, 36 insertions(+), 343 deletions(-) diff --git a/example/github/schema.graphql b/example/github/schema.graphql index 74aefe3afe389..1d93429b136a8 100644 --- a/example/github/schema.graphql +++ b/example/github/schema.graphql @@ -24751,6 +24751,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. @@ -25798,349 +25834,6 @@ 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 """ From 8fbc3ae9a14fc4b58b359250b3db6685096a85e2 Mon Sep 17 00:00:00 2001 From: Create or Update Pull Request Action Date: Tue, 1 Mar 2022 21:17:10 +0000 Subject: [PATCH 34/62] WIP: github schema.graphql changed - please review --- example/github/schema.graphql | 379 ++++++++++++++++++++++++++++++++++ 1 file changed, 379 insertions(+) diff --git a/example/github/schema.graphql b/example/github/schema.graphql index 1d93429b136a8..6b4e4f7434dbe 100644 --- a/example/github/schema.graphql +++ b/example/github/schema.graphql @@ -24787,6 +24787,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. @@ -25834,6 +25870,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 """ From c6e77e6dd24ac150549066421e9b06c365e9a665 Mon Sep 17 00:00:00 2001 From: Create or Update Pull Request Action Date: Tue, 1 Mar 2022 22:15:51 +0000 Subject: [PATCH 35/62] WIP: github schema.graphql changed - please review --- example/github/schema.graphql | 379 ++++------------------------------ 1 file changed, 36 insertions(+), 343 deletions(-) diff --git a/example/github/schema.graphql b/example/github/schema.graphql index 6b4e4f7434dbe..a86a5c6a0aa01 100644 --- a/example/github/schema.graphql +++ b/example/github/schema.graphql @@ -24823,6 +24823,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. @@ -25870,349 +25906,6 @@ 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 """ From 59ea203825c938d7edddca81529b9632751b1ca7 Mon Sep 17 00:00:00 2001 From: Create or Update Pull Request Action Date: Tue, 1 Mar 2022 23:16:23 +0000 Subject: [PATCH 36/62] WIP: github schema.graphql changed - please review --- example/github/schema.graphql | 379 ++++++++++++++++++++++++++++++++++ 1 file changed, 379 insertions(+) diff --git a/example/github/schema.graphql b/example/github/schema.graphql index a86a5c6a0aa01..879cba90c45f6 100644 --- a/example/github/schema.graphql +++ b/example/github/schema.graphql @@ -24859,6 +24859,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. @@ -25906,6 +25942,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 """ From 98313bc9e30736d7acb195798d9c3b44c9c46d0b Mon Sep 17 00:00:00 2001 From: Create or Update Pull Request Action Date: Wed, 2 Mar 2022 01:06:57 +0000 Subject: [PATCH 37/62] WIP: github schema.graphql changed - please review --- example/github/schema.graphql | 379 ++++------------------------------ 1 file changed, 36 insertions(+), 343 deletions(-) diff --git a/example/github/schema.graphql b/example/github/schema.graphql index 879cba90c45f6..dd24c998f7236 100644 --- a/example/github/schema.graphql +++ b/example/github/schema.graphql @@ -24895,6 +24895,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. @@ -25942,349 +25978,6 @@ 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 """ From 401a4394c7231f510408df08d28f48ed3c1cf0c7 Mon Sep 17 00:00:00 2001 From: Create or Update Pull Request Action Date: Wed, 2 Mar 2022 02:38:10 +0000 Subject: [PATCH 38/62] WIP: github schema.graphql changed - please review --- example/github/schema.graphql | 379 ++++++++++++++++++++++++++++++++++ 1 file changed, 379 insertions(+) diff --git a/example/github/schema.graphql b/example/github/schema.graphql index dd24c998f7236..45cadeb3acfa7 100644 --- a/example/github/schema.graphql +++ b/example/github/schema.graphql @@ -24931,6 +24931,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. @@ -25978,6 +26014,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 """ From 5c42a31e2e7bd58e303d5a22a6e4ab7d65470493 Mon Sep 17 00:00:00 2001 From: Create or Update Pull Request Action Date: Wed, 2 Mar 2022 03:17:00 +0000 Subject: [PATCH 39/62] WIP: github schema.graphql changed - please review --- example/github/schema.graphql | 379 ++++------------------------------ 1 file changed, 36 insertions(+), 343 deletions(-) diff --git a/example/github/schema.graphql b/example/github/schema.graphql index 45cadeb3acfa7..35c33e741f7be 100644 --- a/example/github/schema.graphql +++ b/example/github/schema.graphql @@ -24967,6 +24967,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. @@ -26014,349 +26050,6 @@ 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 """ From 347bb56a4a93494f73efa7f6d72fe192a7eed864 Mon Sep 17 00:00:00 2001 From: Create or Update Pull Request Action Date: Wed, 2 Mar 2022 04:20:56 +0000 Subject: [PATCH 40/62] WIP: github schema.graphql changed - please review --- example/github/schema.graphql | 379 ++++++++++++++++++++++++++++++++++ 1 file changed, 379 insertions(+) diff --git a/example/github/schema.graphql b/example/github/schema.graphql index 35c33e741f7be..e4e9098821381 100644 --- a/example/github/schema.graphql +++ b/example/github/schema.graphql @@ -25003,6 +25003,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. @@ -26050,6 +26086,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 """ From 6598250c6a71b5be35310de4f34f7672f5f0a69b Mon Sep 17 00:00:00 2001 From: Create or Update Pull Request Action Date: Wed, 2 Mar 2022 05:14:30 +0000 Subject: [PATCH 41/62] WIP: github schema.graphql changed - please review --- example/github/schema.graphql | 379 ++++------------------------------ 1 file changed, 36 insertions(+), 343 deletions(-) diff --git a/example/github/schema.graphql b/example/github/schema.graphql index e4e9098821381..63244cec1efee 100644 --- a/example/github/schema.graphql +++ b/example/github/schema.graphql @@ -25039,6 +25039,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. @@ -26086,349 +26122,6 @@ 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 """ From 8a73b0924e152d6632732162ac0f0688caba1e51 Mon Sep 17 00:00:00 2001 From: Create or Update Pull Request Action Date: Wed, 2 Mar 2022 06:20:22 +0000 Subject: [PATCH 42/62] WIP: github schema.graphql changed - please review --- example/github/schema.graphql | 379 ++++++++++++++++++++++++++++++++++ 1 file changed, 379 insertions(+) diff --git a/example/github/schema.graphql b/example/github/schema.graphql index 63244cec1efee..772425855c15c 100644 --- a/example/github/schema.graphql +++ b/example/github/schema.graphql @@ -25075,6 +25075,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. @@ -26122,6 +26158,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 """ From 2b3ee168f48d923186572603362b35c803ad4235 Mon Sep 17 00:00:00 2001 From: Create or Update Pull Request Action Date: Wed, 2 Mar 2022 07:15:54 +0000 Subject: [PATCH 43/62] WIP: github schema.graphql changed - please review --- example/github/schema.graphql | 379 ++++------------------------------ 1 file changed, 36 insertions(+), 343 deletions(-) diff --git a/example/github/schema.graphql b/example/github/schema.graphql index 772425855c15c..4c2dfea7dcf3c 100644 --- a/example/github/schema.graphql +++ b/example/github/schema.graphql @@ -25111,6 +25111,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. @@ -26158,349 +26194,6 @@ 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 """ From 929be343e45092eabf2d0fb22e55631e6f090f16 Mon Sep 17 00:00:00 2001 From: Create or Update Pull Request Action Date: Wed, 2 Mar 2022 08:20:01 +0000 Subject: [PATCH 44/62] WIP: github schema.graphql changed - please review --- example/github/schema.graphql | 379 ++++++++++++++++++++++++++++++++++ 1 file changed, 379 insertions(+) diff --git a/example/github/schema.graphql b/example/github/schema.graphql index 4c2dfea7dcf3c..6191298e2bb5a 100644 --- a/example/github/schema.graphql +++ b/example/github/schema.graphql @@ -25147,6 +25147,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. @@ -26194,6 +26230,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 """ From 843687728d3d38e171d5fe120a46c57d28d89843 Mon Sep 17 00:00:00 2001 From: Create or Update Pull Request Action Date: Wed, 2 Mar 2022 09:17:37 +0000 Subject: [PATCH 45/62] WIP: github schema.graphql changed - please review --- example/github/schema.graphql | 379 ++++------------------------------ 1 file changed, 36 insertions(+), 343 deletions(-) diff --git a/example/github/schema.graphql b/example/github/schema.graphql index 6191298e2bb5a..4e86e5eddc3ec 100644 --- a/example/github/schema.graphql +++ b/example/github/schema.graphql @@ -25183,6 +25183,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. @@ -26230,349 +26266,6 @@ 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 """ From d3ab764c5ef5f1a5f20572584af701783ec0ee80 Mon Sep 17 00:00:00 2001 From: Create or Update Pull Request Action Date: Wed, 2 Mar 2022 10:18:09 +0000 Subject: [PATCH 46/62] WIP: github schema.graphql changed - please review --- example/github/schema.graphql | 379 ++++++++++++++++++++++++++++++++++ 1 file changed, 379 insertions(+) diff --git a/example/github/schema.graphql b/example/github/schema.graphql index 4e86e5eddc3ec..02a1d79517da0 100644 --- a/example/github/schema.graphql +++ b/example/github/schema.graphql @@ -25219,6 +25219,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. @@ -26266,6 +26302,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 """ From 7774ad3edf32bc361b10ae849a1da6d6148a7f62 Mon Sep 17 00:00:00 2001 From: Create or Update Pull Request Action Date: Wed, 2 Mar 2022 11:14:17 +0000 Subject: [PATCH 47/62] WIP: github schema.graphql changed - please review --- example/github/schema.graphql | 379 ++++------------------------------ 1 file changed, 36 insertions(+), 343 deletions(-) diff --git a/example/github/schema.graphql b/example/github/schema.graphql index 02a1d79517da0..26be0efd043d6 100644 --- a/example/github/schema.graphql +++ b/example/github/schema.graphql @@ -25255,6 +25255,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. @@ -26302,349 +26338,6 @@ 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 """ From 7a2ed238b58eb86127696302df301560358ec56e Mon Sep 17 00:00:00 2001 From: Create or Update Pull Request Action Date: Wed, 2 Mar 2022 12:27:33 +0000 Subject: [PATCH 48/62] WIP: github schema.graphql changed - please review --- example/github/schema.graphql | 379 ++++++++++++++++++++++++++++++++++ 1 file changed, 379 insertions(+) diff --git a/example/github/schema.graphql b/example/github/schema.graphql index 26be0efd043d6..e0534892cb957 100644 --- a/example/github/schema.graphql +++ b/example/github/schema.graphql @@ -25291,6 +25291,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. @@ -26338,6 +26374,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 """ From 0931da2604a557dea96a0931fa11c66735bc67a2 Mon Sep 17 00:00:00 2001 From: Create or Update Pull Request Action Date: Wed, 2 Mar 2022 13:20:29 +0000 Subject: [PATCH 49/62] WIP: github schema.graphql changed - please review --- example/github/schema.graphql | 379 ++++------------------------------ 1 file changed, 36 insertions(+), 343 deletions(-) diff --git a/example/github/schema.graphql b/example/github/schema.graphql index e0534892cb957..1e2a84682638a 100644 --- a/example/github/schema.graphql +++ b/example/github/schema.graphql @@ -25327,6 +25327,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. @@ -26374,349 +26410,6 @@ 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 """ From 90e92a7f737e49d86f11754a2a5853351405c9f5 Mon Sep 17 00:00:00 2001 From: Create or Update Pull Request Action Date: Wed, 2 Mar 2022 14:16:57 +0000 Subject: [PATCH 50/62] WIP: github schema.graphql changed - please review --- example/github/schema.graphql | 379 ++++++++++++++++++++++++++++++++++ 1 file changed, 379 insertions(+) diff --git a/example/github/schema.graphql b/example/github/schema.graphql index 1e2a84682638a..c1ba1369c0735 100644 --- a/example/github/schema.graphql +++ b/example/github/schema.graphql @@ -25363,6 +25363,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. @@ -26410,6 +26446,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 """ From e27e2cddbd1cc08ae5e0369489ebe99ddb1c0520 Mon Sep 17 00:00:00 2001 From: Create or Update Pull Request Action Date: Wed, 2 Mar 2022 15:17:06 +0000 Subject: [PATCH 51/62] WIP: github schema.graphql changed - please review --- example/github/schema.graphql | 379 ++++------------------------------ 1 file changed, 36 insertions(+), 343 deletions(-) diff --git a/example/github/schema.graphql b/example/github/schema.graphql index c1ba1369c0735..775b35028ab10 100644 --- a/example/github/schema.graphql +++ b/example/github/schema.graphql @@ -25399,6 +25399,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. @@ -26446,349 +26482,6 @@ 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 """ From b0b4b93f7c8304322f4cca0d03f37eecb18442f5 Mon Sep 17 00:00:00 2001 From: Create or Update Pull Request Action Date: Wed, 2 Mar 2022 16:23:30 +0000 Subject: [PATCH 52/62] WIP: github schema.graphql changed - please review --- example/github/schema.graphql | 379 ++++++++++++++++++++++++++++++++++ 1 file changed, 379 insertions(+) diff --git a/example/github/schema.graphql b/example/github/schema.graphql index 775b35028ab10..9c6122051655f 100644 --- a/example/github/schema.graphql +++ b/example/github/schema.graphql @@ -25435,6 +25435,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. @@ -26482,6 +26518,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 """ From 246c803caedcd22dc955032f428eb22a21aeb18d Mon Sep 17 00:00:00 2001 From: Create or Update Pull Request Action Date: Wed, 2 Mar 2022 17:18:17 +0000 Subject: [PATCH 53/62] WIP: github schema.graphql changed - please review --- example/github/schema.graphql | 379 ++++------------------------------ 1 file changed, 36 insertions(+), 343 deletions(-) diff --git a/example/github/schema.graphql b/example/github/schema.graphql index 9c6122051655f..8d154b09dd369 100644 --- a/example/github/schema.graphql +++ b/example/github/schema.graphql @@ -25471,6 +25471,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. @@ -26518,349 +26554,6 @@ 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 """ From 5ce17628ca7c8b38ad3ffb855eab253fd3812058 Mon Sep 17 00:00:00 2001 From: Create or Update Pull Request Action Date: Wed, 2 Mar 2022 18:24:26 +0000 Subject: [PATCH 54/62] WIP: github schema.graphql changed - please review --- example/github/schema.graphql | 379 ++++++++++++++++++++++++++++++++++ 1 file changed, 379 insertions(+) diff --git a/example/github/schema.graphql b/example/github/schema.graphql index 8d154b09dd369..123f05d1bc16f 100644 --- a/example/github/schema.graphql +++ b/example/github/schema.graphql @@ -25507,6 +25507,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. @@ -26554,6 +26590,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 """ From aeb68390207d677c63c992853f194fcad5c03b2c Mon Sep 17 00:00:00 2001 From: Create or Update Pull Request Action Date: Wed, 2 Mar 2022 19:13:28 +0000 Subject: [PATCH 55/62] WIP: github schema.graphql changed - please review --- example/github/schema.graphql | 379 ++++------------------------------ 1 file changed, 36 insertions(+), 343 deletions(-) diff --git a/example/github/schema.graphql b/example/github/schema.graphql index 123f05d1bc16f..8d73798512ce9 100644 --- a/example/github/schema.graphql +++ b/example/github/schema.graphql @@ -25543,6 +25543,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. @@ -26590,349 +26626,6 @@ 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 """ From b2adcbc2ae8e7c4789ceeb162cec7e3e3402247d Mon Sep 17 00:00:00 2001 From: Create or Update Pull Request Action Date: Wed, 2 Mar 2022 20:15:54 +0000 Subject: [PATCH 56/62] WIP: github schema.graphql changed - please review --- example/github/schema.graphql | 379 ++++++++++++++++++++++++++++++++++ 1 file changed, 379 insertions(+) diff --git a/example/github/schema.graphql b/example/github/schema.graphql index 8d73798512ce9..58b145e9c60e2 100644 --- a/example/github/schema.graphql +++ b/example/github/schema.graphql @@ -25579,6 +25579,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. @@ -26626,6 +26662,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 """ From 845a54d4bf314f0ba1f8424880b5d451bc9d4f10 Mon Sep 17 00:00:00 2001 From: Create or Update Pull Request Action Date: Wed, 2 Mar 2022 21:12:50 +0000 Subject: [PATCH 57/62] WIP: github schema.graphql changed - please review --- example/github/schema.graphql | 379 ++++------------------------------ 1 file changed, 36 insertions(+), 343 deletions(-) diff --git a/example/github/schema.graphql b/example/github/schema.graphql index 58b145e9c60e2..1aa65ec5c2b87 100644 --- a/example/github/schema.graphql +++ b/example/github/schema.graphql @@ -25615,6 +25615,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. @@ -26662,349 +26698,6 @@ 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 """ From 1ed8186e647d82f13363ad80cdbaf2969716bd8e Mon Sep 17 00:00:00 2001 From: Create or Update Pull Request Action Date: Wed, 2 Mar 2022 22:16:22 +0000 Subject: [PATCH 58/62] WIP: github schema.graphql changed - please review --- example/github/schema.graphql | 379 ++++++++++++++++++++++++++++++++++ 1 file changed, 379 insertions(+) diff --git a/example/github/schema.graphql b/example/github/schema.graphql index 1aa65ec5c2b87..8162249e8367f 100644 --- a/example/github/schema.graphql +++ b/example/github/schema.graphql @@ -25651,6 +25651,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. @@ -26698,6 +26734,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 """ From 40f2255881f8f887fa0f6819be42b31f5ae0b97a Mon Sep 17 00:00:00 2001 From: Create or Update Pull Request Action Date: Wed, 2 Mar 2022 23:16:18 +0000 Subject: [PATCH 59/62] WIP: github schema.graphql changed - please review --- example/github/schema.graphql | 379 ++++------------------------------ 1 file changed, 36 insertions(+), 343 deletions(-) diff --git a/example/github/schema.graphql b/example/github/schema.graphql index 8162249e8367f..4634537f8ef21 100644 --- a/example/github/schema.graphql +++ b/example/github/schema.graphql @@ -25687,6 +25687,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. @@ -26734,349 +26770,6 @@ 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 """ From c02c8936762db5222fd8e388ab10690bb2d0433d Mon Sep 17 00:00:00 2001 From: Create or Update Pull Request Action Date: Thu, 3 Mar 2022 01:07:28 +0000 Subject: [PATCH 60/62] WIP: github schema.graphql changed - please review --- example/github/schema.graphql | 379 ++++++++++++++++++++++++++++++++++ 1 file changed, 379 insertions(+) diff --git a/example/github/schema.graphql b/example/github/schema.graphql index 4634537f8ef21..98111ddc30fa9 100644 --- a/example/github/schema.graphql +++ b/example/github/schema.graphql @@ -25723,6 +25723,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. @@ -26770,6 +26806,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 """ From 2327a4df186eab8d986d1b9b4c8f78db902cdba5 Mon Sep 17 00:00:00 2001 From: Create or Update Pull Request Action Date: Thu, 3 Mar 2022 02:41:40 +0000 Subject: [PATCH 61/62] WIP: github schema.graphql changed - please review --- example/github/schema.graphql | 379 ++++------------------------------ 1 file changed, 36 insertions(+), 343 deletions(-) diff --git a/example/github/schema.graphql b/example/github/schema.graphql index 98111ddc30fa9..bb01c0dd5d6de 100644 --- a/example/github/schema.graphql +++ b/example/github/schema.graphql @@ -25759,6 +25759,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. @@ -26806,349 +26842,6 @@ 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 """ From e1f6e4e96418aec50560cd3304d2afc6449f63c1 Mon Sep 17 00:00:00 2001 From: Create or Update Pull Request Action Date: Thu, 3 Mar 2022 03:18:32 +0000 Subject: [PATCH 62/62] WIP: github schema.graphql changed - please review --- example/github/schema.graphql | 379 ++++++++++++++++++++++++++++++++++ 1 file changed, 379 insertions(+) diff --git a/example/github/schema.graphql b/example/github/schema.graphql index bb01c0dd5d6de..c37bd10e372c3 100644 --- a/example/github/schema.graphql +++ b/example/github/schema.graphql @@ -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. @@ -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 """