关于并集
联合是表示多个对象的对象类型。
例如,标记为 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
可能的类型
AddedToProjectEvent
AssignedEvent
ClosedEvent
CommentDeletedEvent
ConnectedEvent
ConvertedNoteToIssueEvent
ConvertedToDiscussionEvent
CrossReferencedEvent
DemilestonedEvent
DisconnectedEvent
IssueComment
LabeledEvent
LockedEvent
MarkedAsDuplicateEvent
MentionedEvent
MilestonedEvent
MovedColumnsInProjectEvent
PinnedEvent
ReferencedEvent
RemovedFromProjectEvent
RenamedTitleEvent
ReopenedEvent
SubscribedEvent
TransferredEvent
UnassignedEvent
UnlabeledEvent
UnlockedEvent
UnmarkedAsDuplicateEvent
UnpinnedEvent
UnsubscribedEvent
UserBlockedEvent
OrgRestoreMemberAuditEntryMembership
Types of memberships that can be restored for an Organization member.
OrgRestoreMemberAuditEntryMembership
可能的类型
OrganizationAuditEntry
An audit entry in an organization audit log.
OrganizationAuditEntry
可能的类型
MembersCanDeleteReposClearAuditEntry
MembersCanDeleteReposDisableAuditEntry
MembersCanDeleteReposEnableAuditEntry
OauthApplicationCreateAuditEntry
OrgAddBillingManagerAuditEntry
OrgAddMemberAuditEntry
OrgBlockUserAuditEntry
OrgConfigDisableCollaboratorsOnlyAuditEntry
OrgConfigEnableCollaboratorsOnlyAuditEntry
OrgCreateAuditEntry
OrgDisableOauthAppRestrictionsAuditEntry
OrgDisableSamlAuditEntry
OrgDisableTwoFactorRequirementAuditEntry
OrgEnableOauthAppRestrictionsAuditEntry
OrgEnableSamlAuditEntry
OrgEnableTwoFactorRequirementAuditEntry
OrgInviteMemberAuditEntry
OrgInviteToBusinessAuditEntry
OrgOauthAppAccessApprovedAuditEntry
OrgOauthAppAccessBlockedAuditEntry
OrgOauthAppAccessDeniedAuditEntry
OrgOauthAppAccessRequestedAuditEntry
OrgOauthAppAccessUnblockedAuditEntry
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
ProjectV2ItemFieldValue
Project field values.
ProjectV2ItemFieldValue
可能的类型
ProjectV2ItemFieldDateValue
ProjectV2ItemFieldIterationValue
ProjectV2ItemFieldLabelValue
ProjectV2ItemFieldMilestoneValue
ProjectV2ItemFieldNumberValue
ProjectV2ItemFieldPullRequestValue
ProjectV2ItemFieldRepositoryValue
ProjectV2ItemFieldReviewerValue
ProjectV2ItemFieldSingleSelectValue
ProjectV2ItemFieldTextValue
ProjectV2ItemFieldUserValue
PullRequestTimelineItem
An item in a pull request timeline.
PullRequestTimelineItem
可能的类型
AssignedEvent
BaseRefDeletedEvent
BaseRefForcePushedEvent
ClosedEvent
Commit
CommitCommentThread
CrossReferencedEvent
DemilestonedEvent
DeployedEvent
DeploymentEnvironmentChangedEvent
HeadRefDeletedEvent
HeadRefForcePushedEvent
HeadRefRestoredEvent
IssueComment
LabeledEvent
LockedEvent
MergedEvent
MilestonedEvent
PullRequestReview
PullRequestReviewComment
PullRequestReviewThread
ReferencedEvent
RenamedTitleEvent
ReopenedEvent
ReviewDismissedEvent
ReviewRequestRemovedEvent
ReviewRequestedEvent
SubscribedEvent
UnassignedEvent
UnlabeledEvent
UnlockedEvent
UnsubscribedEvent
UserBlockedEvent
PullRequestTimelineItems
An item in a pull request timeline.
PullRequestTimelineItems
可能的类型
AddedToProjectEvent
AssignedEvent
AutoMergeDisabledEvent
AutoMergeEnabledEvent
AutoRebaseEnabledEvent
AutoSquashEnabledEvent
AutomaticBaseChangeFailedEvent
AutomaticBaseChangeSucceededEvent
BaseRefChangedEvent
BaseRefDeletedEvent
BaseRefForcePushedEvent
ClosedEvent
CommentDeletedEvent
ConnectedEvent
ConvertToDraftEvent
ConvertedNoteToIssueEvent
ConvertedToDiscussionEvent
CrossReferencedEvent
DemilestonedEvent
DeployedEvent
DeploymentEnvironmentChangedEvent
DisconnectedEvent
HeadRefDeletedEvent
HeadRefForcePushedEvent
HeadRefRestoredEvent
IssueComment
LabeledEvent
LockedEvent
MarkedAsDuplicateEvent
MentionedEvent
MergedEvent
MilestonedEvent
MovedColumnsInProjectEvent
PinnedEvent
PullRequestCommit
PullRequestCommitCommentThread
PullRequestReview
PullRequestReviewThread
PullRequestRevisionMarker
ReadyForReviewEvent
ReferencedEvent
RemovedFromProjectEvent
RenamedTitleEvent
ReopenedEvent
ReviewDismissedEvent
ReviewRequestRemovedEvent
ReviewRequestedEvent
SubscribedEvent
TransferredEvent
UnassignedEvent
UnlabeledEvent
UnlockedEvent
UnmarkedAsDuplicateEvent
UnpinnedEvent
UnsubscribedEvent
UserBlockedEvent
ReviewDismissalAllowanceActor
Types that can be an actor.
RuleParameters
Types which can be parameters for RepositoryRule
objects.
StatusCheckRollupContext
Types that can be inside a StatusCheckRollup context.