Skip to main content
설명서에 자주 업데이트를 게시하며 이 페이지의 번역이 계속 진행 중일 수 있습니다. 최신 정보는 영어 설명서를 참조하세요.

Unions

공용 구조체는 많은 개체를 나타내는 개체의 형식입니다.

공용 구조체 정보

공용 구조체는 많은 개체를 나타내는 개체의 형식입니다.

예를 들어 ProjectCardItem으로 표시된 필드는 Issue 또는 PullRequest일 수 있는데, 이는 각 개체가 프로젝트 카드 안에 있을 수 있기 때문입니다. 개체 대신 공용 구조체를 사용하면 유연성이 있습니다.

자세한 내용은 "GraphQL 소개"을 참조하세요.

참고: GitHub Enterprise Server 인스턴스에서 ProjectsV2 GraphQL API를 사용할 수 없습니다.

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

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

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

IssueOrPullRequest

Used for return value of Repository.issueOrPullRequest.

의 가능한 형식 IssueOrPullRequest

MilestoneItem

Types that can be inside a Milestone.

의 가능한 형식 MilestoneItem

OrgRestoreMemberAuditEntryMembership

Types of memberships that can be restored for an Organization member.

OrganizationAuditEntry

An audit entry in an organization audit log.

의 가능한 형식 OrganizationAuditEntry

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

ProjectV2FieldConfiguration

Configurations for project fields.

의 가능한 형식 ProjectV2FieldConfiguration

ProjectV2ItemContent

Types that can be inside Project Items.

의 가능한 형식 ProjectV2ItemContent

PullRequestTimelineItems

An item in a pull request timeline.

의 가능한 형식 PullRequestTimelineItems

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

SearchResultItem

The results of a search.

의 가능한 형식 SearchResultItem

StatusCheckRollupContext

Types that can be inside a StatusCheckRollup context.

의 가능한 형식 StatusCheckRollupContext

VerifiableDomainOwner

Types that can own a verifiable domain.

의 가능한 형식 VerifiableDomainOwner