ユニオンについて
ユニオンは、多くのオブジェクトを表すオブジェクトの型です。
たとえば、ProjectCardItem としてマークされたフィールドには、Issue または PullRequest を指定できます。これらの各オブジェクトはproject カード内に存在できるためです。 オブジェクトの代わりにユニオンを使うことで柔軟性が得られます。
詳細については、「GraphQLの紹介」を参照してください。
Assignee
Types that can be assigned to issues.
Assignee の可能な型
AuditEntryActor
Types that can initiate an audit log event.
AuditEntryActor の可能な型
BranchActorAllowanceActor
Types which can be actors for BranchActorAllowance objects.
BranchActorAllowanceActor の可能な型
BypassActor
Types that can represent a repository ruleset bypass actor.
BypassActor の可能な型
Claimable
An object which can have its data claimed or claim data from another.
Claimable の可能な型
Closer
The object which triggered a ClosedEvent.
Closer の可能な型
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 の可能な型
CustomPropertySource
Sources which can have custom properties defined.
CustomPropertySource の可能な型
DeploymentReviewer
Users and teams.
DeploymentReviewer の可能な型
EnterpriseMember
An object that is a member of an enterprise.
EnterpriseMember の可能な型
IpAllowListOwner
Types that can own an IP allow list.
IpAllowListOwner の可能な型
IssueFieldValue
Issue field values.
IssueFieldValue の可能な型
IssueFields
Possible issue fields.
IssueFields の可能な型
IssueOrPullRequest
Used for return value of Repository.issueOrPullRequest.
IssueOrPullRequest の可能な型
IssueTimelineItem
An item in an issue timeline.
IssueTimelineItem の可能な型
AssignedEventClosedEventCommitCrossReferencedEventDemilestonedEventIssueCommentLabeledEventLockedEventMilestonedEventReferencedEventRenamedTitleEventReopenedEventSubscribedEventTransferredEventUnassignedEventUnlabeledEventUnlockedEventUnsubscribedEventUserBlockedEvent
IssueTimelineItems
An item in an issue timeline.
IssueTimelineItems の可能な型
AddedToProjectEventAddedToProjectV2EventAssignedEventBlockedByAddedEventBlockedByRemovedEventBlockingAddedEventBlockingRemovedEventClosedEventCommentDeletedEventConnectedEventConvertedFromDraftEventConvertedNoteToIssueEventConvertedToDiscussionEventCrossReferencedEventDemilestonedEventDisconnectedEventIssueCommentIssueCommentPinnedEventIssueCommentUnpinnedEventIssueFieldAddedEventIssueFieldChangedEventIssueFieldRemovedEventIssueTypeAddedEventIssueTypeChangedEventIssueTypeRemovedEventLabeledEventLockedEventMarkedAsDuplicateEventMentionedEventMilestonedEventMovedColumnsInProjectEventParentIssueAddedEventParentIssueRemovedEventPinnedEventProjectV2ItemStatusChangedEventReferencedEventRemovedFromProjectEventRemovedFromProjectV2EventRenamedTitleEventReopenedEventSubIssueAddedEventSubIssueRemovedEventSubscribedEventTransferredEventUnassignedEventUnlabeledEventUnlockedEventUnmarkedAsDuplicateEventUnpinnedEventUnsubscribedEventUserBlockedEvent
MilestoneItem
Types that can be inside a Milestone.
MilestoneItem の可能な型
OrgRestoreMemberAuditEntryMembership
Types of memberships that can be restored for an Organization member.
OrgRestoreMemberAuditEntryMembership の可能な型
OrgRestoreMemberMembershipOrganizationAuditEntryDataOrgRestoreMemberMembershipRepositoryAuditEntryDataOrgRestoreMemberMembershipTeamAuditEntryData
OrganizationAuditEntry
An audit entry in an organization audit log.
OrganizationAuditEntry の可能な型
MembersCanDeleteReposClearAuditEntryMembersCanDeleteReposDisableAuditEntryMembersCanDeleteReposEnableAuditEntryOauthApplicationCreateAuditEntryOrgAddBillingManagerAuditEntryOrgAddMemberAuditEntryOrgBlockUserAuditEntryOrgConfigDisableCollaboratorsOnlyAuditEntryOrgConfigEnableCollaboratorsOnlyAuditEntryOrgCreateAuditEntryOrgDisableOauthAppRestrictionsAuditEntryOrgDisableSamlAuditEntryOrgDisableTwoFactorRequirementAuditEntryOrgEnableOauthAppRestrictionsAuditEntryOrgEnableSamlAuditEntryOrgEnableTwoFactorRequirementAuditEntryOrgInviteMemberAuditEntryOrgInviteToBusinessAuditEntryOrgOauthAppAccessApprovedAuditEntryOrgOauthAppAccessBlockedAuditEntryOrgOauthAppAccessDeniedAuditEntryOrgOauthAppAccessRequestedAuditEntryOrgOauthAppAccessUnblockedAuditEntryOrgRemoveBillingManagerAuditEntryOrgRemoveMemberAuditEntryOrgRemoveOutsideCollaboratorAuditEntryOrgRestoreMemberAuditEntryOrgUnblockUserAuditEntryOrgUpdateDefaultRepositoryPermissionAuditEntryOrgUpdateMemberAuditEntryOrgUpdateMemberRepositoryCreationPermissionAuditEntryOrgUpdateMemberRepositoryInvitationPermissionAuditEntryPrivateRepositoryForkingDisableAuditEntryPrivateRepositoryForkingEnableAuditEntryRepoAccessAuditEntryRepoAddMemberAuditEntryRepoAddTopicAuditEntryRepoArchivedAuditEntryRepoChangeMergeSettingAuditEntryRepoConfigDisableAnonymousGitAccessAuditEntryRepoConfigDisableCollaboratorsOnlyAuditEntryRepoConfigDisableContributorsOnlyAuditEntryRepoConfigDisableSockpuppetDisallowedAuditEntryRepoConfigEnableAnonymousGitAccessAuditEntryRepoConfigEnableCollaboratorsOnlyAuditEntryRepoConfigEnableContributorsOnlyAuditEntryRepoConfigEnableSockpuppetDisallowedAuditEntryRepoConfigLockAnonymousGitAccessAuditEntryRepoConfigUnlockAnonymousGitAccessAuditEntryRepoCreateAuditEntryRepoDestroyAuditEntryRepoRemoveMemberAuditEntryRepoRemoveTopicAuditEntryRepositoryVisibilityChangeDisableAuditEntryRepositoryVisibilityChangeEnableAuditEntryTeamAddMemberAuditEntryTeamAddRepositoryAuditEntryTeamChangeParentTeamAuditEntryTeamRemoveMemberAuditEntryTeamRemoveRepositoryAuditEntry
OrganizationOrUser
Used for argument of CreateProjectV2 mutation.
OrganizationOrUser の可能な型
PermissionGranter
Types that can grant permissions on a repository to a user.
PermissionGranter の可能な型
PinnableItem
Types that can be pinned to a profile page.
PinnableItem の可能な型
ProjectCardItem
Types that can be inside Project Cards.
ProjectCardItem の可能な型
ProjectV2Actor
Possible collaborators for a project.
ProjectV2Actor の可能な型
ProjectV2FieldConfiguration
Configurations for project fields.
ProjectV2FieldConfiguration の可能な型
ProjectV2IssueFieldValues
Possible issue field values for a Project item.
ProjectV2IssueFieldValues の可能な型
ProjectV2ItemContent
Types that can be inside Project Items.
ProjectV2ItemContent の可能な型
ProjectV2ItemFieldValue
Project field values.
ProjectV2ItemFieldValue の可能な型
ProjectV2ItemFieldDateValueProjectV2ItemFieldIterationValueProjectV2ItemFieldLabelValueProjectV2ItemFieldMilestoneValueProjectV2ItemFieldNumberValueProjectV2ItemFieldPullRequestValueProjectV2ItemFieldRepositoryValueProjectV2ItemFieldReviewerValueProjectV2ItemFieldSingleSelectValueProjectV2ItemFieldTextValueProjectV2ItemFieldUserValueProjectV2ItemIssueFieldValue
PullRequestTimelineItem
An item in a pull request timeline.
PullRequestTimelineItem の可能な型
AssignedEventBaseRefDeletedEventBaseRefForcePushedEventClosedEventCommitCommitCommentThreadCrossReferencedEventDemilestonedEventDeployedEventDeploymentEnvironmentChangedEventHeadRefDeletedEventHeadRefForcePushedEventHeadRefRestoredEventIssueCommentLabeledEventLockedEventMergedEventMilestonedEventPullRequestReviewPullRequestReviewCommentPullRequestReviewThreadReferencedEventRenamedTitleEventReopenedEventReviewDismissedEventReviewRequestRemovedEventReviewRequestedEventSubscribedEventUnassignedEventUnlabeledEventUnlockedEventUnsubscribedEventUserBlockedEvent
PullRequestTimelineItems
An item in a pull request timeline.
PullRequestTimelineItems の可能な型
AddedToMergeQueueEventAddedToProjectEventAddedToProjectV2EventAssignedEventAutoMergeDisabledEventAutoMergeEnabledEventAutoRebaseEnabledEventAutoSquashEnabledEventAutomaticBaseChangeFailedEventAutomaticBaseChangeSucceededEventBaseRefChangedEventBaseRefDeletedEventBaseRefForcePushedEventBlockedByAddedEventBlockedByRemovedEventBlockingAddedEventBlockingRemovedEventClosedEventCommentDeletedEventConnectedEventConvertToDraftEventConvertedFromDraftEventConvertedNoteToIssueEventConvertedToDiscussionEventCrossReferencedEventDemilestonedEventDeployedEventDeploymentEnvironmentChangedEventDisconnectedEventHeadRefDeletedEventHeadRefForcePushedEventHeadRefRestoredEventIssueCommentIssueCommentPinnedEventIssueCommentUnpinnedEventIssueFieldAddedEventIssueFieldChangedEventIssueFieldRemovedEventIssueTypeAddedEventIssueTypeChangedEventIssueTypeRemovedEventLabeledEventLockedEventMarkedAsDuplicateEventMentionedEventMergedEventMilestonedEventMovedColumnsInProjectEventParentIssueAddedEventParentIssueRemovedEventPinnedEventProjectV2ItemStatusChangedEventPullRequestCommitPullRequestCommitCommentThreadPullRequestReviewPullRequestReviewThreadPullRequestRevisionMarkerReadyForReviewEventReferencedEventRemovedFromMergeQueueEventRemovedFromProjectEventRemovedFromProjectV2EventRenamedTitleEventReopenedEventReviewDismissedEventReviewRequestRemovedEventReviewRequestedEventSubIssueAddedEventSubIssueRemovedEventSubscribedEventTransferredEventUnassignedEventUnlabeledEventUnlockedEventUnmarkedAsDuplicateEventUnpinnedEventUnsubscribedEventUserBlockedEvent
PushAllowanceActor
Types that can be an actor.
PushAllowanceActor の可能な型
Reactor
Types that can be assigned to reactions.
Reactor の可能な型
ReferencedSubject
Any referencable object.
ReferencedSubject の可能な型
RenamedTitleSubject
An object which has a renamable title.
RenamedTitleSubject の可能な型
RequestedReviewer
Types that can be requested reviewers.
RequestedReviewer の可能な型
ReviewDismissalAllowanceActor
Types that can be an actor.
ReviewDismissalAllowanceActor の可能な型
RuleParameters
Types which can be parameters for RepositoryRule objects.
RuleParameters の可能な型
BranchNamePatternParametersCodeScanningParametersCommitAuthorEmailPatternParametersCommitMessagePatternParametersCommitterEmailPatternParametersCopilotCodeReviewParametersFileExtensionRestrictionParametersFilePathRestrictionParametersMaxFilePathLengthParametersMaxFileSizeParametersMergeQueueParametersPullRequestParametersRequiredDeploymentsParametersRequiredStatusChecksParametersTagNamePatternParametersUpdateParametersWorkflowsParameters
RuleSource
Types which can have RepositoryRule objects.
RuleSource の可能な型
SearchResultItem
The results of a search.
SearchResultItem の可能な型
Sponsor
Entities that can sponsor others via GitHub Sponsors.
Sponsor の可能な型
SponsorableItem
Entities that can be sponsored via GitHub Sponsors.
SponsorableItem の可能な型
SponsorsListingFeatureableItem
A record that can be featured on a GitHub Sponsors profile.
SponsorsListingFeatureableItem の可能な型
StatusCheckRollupContext
Types that can be inside a StatusCheckRollup context.
StatusCheckRollupContext の可能な型
UserListItems
Types that can be added to a user list.
UserListItems の可能な型
VerifiableDomainOwner
Types that can own a verifiable domain.