关于并集
联合是表示多个对象的对象类型。
例如,标记为 ProjectCardItem 的字段可以是 Issue 或 PullRequest,因为所有这些对象都可以位于一个项目卡中。 使用并集代替对象可以带来灵活性。
有关详细信息,请参阅“GraphQL 简介”。
BranchActorAllowanceActor
Types which can be actors for BranchActorAllowance objects.
Claimable
An object which can have its data claimed or claim data from another.
CreatedIssueOrRestrictedContribution
Represents either a issue the viewer can access or a restricted contribution.
CreatedIssueOrRestrictedContribution 可能的类型
CreatedPullRequestOrRestrictedContribution
Represents either a pull request the viewer can access or a restricted contribution.
CreatedPullRequestOrRestrictedContribution 可能的类型
CreatedRepositoryOrRestrictedContribution
Represents either a repository the viewer can access or a restricted contribution.
CreatedRepositoryOrRestrictedContribution 可能的类型
IssueTimelineItem
An item in an issue timeline.
IssueTimelineItems
An item in an issue timeline.
IssueTimelineItems 可能的类型
AddedToProjectEventAssignedEventClosedEventCommentDeletedEventConnectedEventConvertedNoteToIssueEventConvertedToDiscussionEventCrossReferencedEventDemilestonedEventDisconnectedEventIssueCommentLabeledEventLockedEventMarkedAsDuplicateEventMentionedEventMilestonedEventMovedColumnsInProjectEventPinnedEventReferencedEventRemovedFromProjectEventRenamedTitleEventReopenedEventSubscribedEventTransferredEventUnassignedEventUnlabeledEventUnlockedEventUnmarkedAsDuplicateEventUnpinnedEventUnsubscribedEventUserBlockedEvent
OrgRestoreMemberAuditEntryMembership
Types of memberships that can be restored for an Organization member.
OrgRestoreMemberAuditEntryMembership 可能的类型
OrganizationAuditEntry
An audit entry in an organization audit log.
OrganizationAuditEntry 可能的类型
MembersCanDeleteReposClearAuditEntryMembersCanDeleteReposDisableAuditEntryMembersCanDeleteReposEnableAuditEntryOauthApplicationCreateAuditEntryOrgAddBillingManagerAuditEntryOrgAddMemberAuditEntryOrgBlockUserAuditEntryOrgConfigDisableCollaboratorsOnlyAuditEntryOrgConfigEnableCollaboratorsOnlyAuditEntryOrgCreateAuditEntryOrgDisableOauthAppRestrictionsAuditEntryOrgDisableSamlAuditEntryOrgDisableTwoFactorRequirementAuditEntryOrgEnableOauthAppRestrictionsAuditEntryOrgEnableSamlAuditEntryOrgEnableTwoFactorRequirementAuditEntryOrgInviteMemberAuditEntryOrgInviteToBusinessAuditEntryOrgOauthAppAccessApprovedAuditEntryOrgOauthAppAccessBlockedAuditEntryOrgOauthAppAccessDeniedAuditEntryOrgOauthAppAccessRequestedAuditEntryOrgOauthAppAccessUnblockedAuditEntryOrgRemoveBillingManagerAuditEntryOrgRemoveMemberAuditEntryOrgRemoveOutsideCollaboratorAuditEntryOrgRestoreMemberAuditEntryOrgUnblockUserAuditEntryOrgUpdateDefaultRepositoryPermissionAuditEntryOrgUpdateMemberAuditEntryOrgUpdateMemberRepositoryCreationPermissionAuditEntryOrgUpdateMemberRepositoryInvitationPermissionAuditEntryPrivateRepositoryForkingDisableAuditEntryPrivateRepositoryForkingEnableAuditEntryRepoAccessAuditEntryRepoAddMemberAuditEntryRepoAddTopicAuditEntryRepoArchivedAuditEntryRepoChangeMergeSettingAuditEntryRepoConfigDisableAnonymousGitAccessAuditEntryRepoConfigDisableCollaboratorsOnlyAuditEntryRepoConfigDisableContributorsOnlyAuditEntryRepoConfigDisableSockpuppetDisallowedAuditEntryRepoConfigEnableAnonymousGitAccessAuditEntryRepoConfigEnableCollaboratorsOnlyAuditEntryRepoConfigEnableContributorsOnlyAuditEntryRepoConfigEnableSockpuppetDisallowedAuditEntryRepoConfigLockAnonymousGitAccessAuditEntryRepoConfigUnlockAnonymousGitAccessAuditEntryRepoCreateAuditEntryRepoDestroyAuditEntryRepoRemoveMemberAuditEntryRepoRemoveTopicAuditEntryRepositoryVisibilityChangeDisableAuditEntryRepositoryVisibilityChangeEnableAuditEntryTeamAddMemberAuditEntryTeamAddRepositoryAuditEntryTeamChangeParentTeamAuditEntryTeamRemoveMemberAuditEntryTeamRemoveRepositoryAuditEntry
ProjectV2ItemFieldValue
Project field values.
ProjectV2ItemFieldValue 可能的类型
ProjectV2ItemFieldDateValueProjectV2ItemFieldIterationValueProjectV2ItemFieldLabelValueProjectV2ItemFieldMilestoneValueProjectV2ItemFieldNumberValueProjectV2ItemFieldPullRequestValueProjectV2ItemFieldRepositoryValueProjectV2ItemFieldReviewerValueProjectV2ItemFieldSingleSelectValueProjectV2ItemFieldTextValueProjectV2ItemFieldUserValue
PullRequestTimelineItem
An item in a pull request timeline.
PullRequestTimelineItem 可能的类型
AssignedEventBaseRefDeletedEventBaseRefForcePushedEventClosedEventCommitCommitCommentThreadCrossReferencedEventDemilestonedEventDeployedEventDeploymentEnvironmentChangedEventHeadRefDeletedEventHeadRefForcePushedEventHeadRefRestoredEventIssueCommentLabeledEventLockedEventMergedEventMilestonedEventPullRequestReviewPullRequestReviewCommentPullRequestReviewThreadReferencedEventRenamedTitleEventReopenedEventReviewDismissedEventReviewRequestRemovedEventReviewRequestedEventSubscribedEventUnassignedEventUnlabeledEventUnlockedEventUnsubscribedEventUserBlockedEvent
PullRequestTimelineItems
An item in a pull request timeline.
PullRequestTimelineItems 可能的类型
AddedToMergeQueueEventAddedToProjectEventAssignedEventAutoMergeDisabledEventAutoMergeEnabledEventAutoRebaseEnabledEventAutoSquashEnabledEventAutomaticBaseChangeFailedEventAutomaticBaseChangeSucceededEventBaseRefChangedEventBaseRefDeletedEventBaseRefForcePushedEventClosedEventCommentDeletedEventConnectedEventConvertToDraftEventConvertedNoteToIssueEventConvertedToDiscussionEventCrossReferencedEventDemilestonedEventDeployedEventDeploymentEnvironmentChangedEventDisconnectedEventHeadRefDeletedEventHeadRefForcePushedEventHeadRefRestoredEventIssueCommentLabeledEventLockedEventMarkedAsDuplicateEventMentionedEventMergedEventMilestonedEventMovedColumnsInProjectEventPinnedEventPullRequestCommitPullRequestCommitCommentThreadPullRequestReviewPullRequestReviewThreadPullRequestRevisionMarkerReadyForReviewEventReferencedEventRemovedFromMergeQueueEventRemovedFromProjectEventRenamedTitleEventReopenedEventReviewDismissedEventReviewRequestRemovedEventReviewRequestedEventSubscribedEventTransferredEventUnassignedEventUnlabeledEventUnlockedEventUnmarkedAsDuplicateEventUnpinnedEventUnsubscribedEventUserBlockedEvent
ReviewDismissalAllowanceActor
Types that can be an actor.
RuleParameters
Types which can be parameters for RepositoryRule objects.
RuleParameters 可能的类型
BranchNamePatternParametersCodeScanningParametersCommitAuthorEmailPatternParametersCommitMessagePatternParametersCommitterEmailPatternParametersFileExtensionRestrictionParametersFilePathRestrictionParametersMaxFilePathLengthParametersMaxFileSizeParametersPullRequestParametersRequiredDeploymentsParametersRequiredStatusChecksParametersTagNamePatternParametersUpdateParametersWorkflowsParameters
StatusCheckRollupContext
Types that can be inside a StatusCheckRollup context.