Skip to main content

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

공용 구조체 정보

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

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

자세한 내용은 GraphQL 소개을(를) 참조하세요.

Assignee

Types that can be assigned to issues.

Assignee에 가능한 유형

AuditEntryActor

Types that can initiate an audit log event.

AuditEntryActor에 가능한 유형

BotOrUser

Used when either Bot or User are accepted.

BotOrUser에 가능한 유형

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에 가능한 유형

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.