Skip to main content

此版本的 GitHub Enterprise 已停止服务 2022-06-03. 即使针对重大安全问题,也不会发布补丁。 要获得更好的性能、改进的安全性和新功能,请升级到 GitHub Enterprise 的最新版本。 如需升级方面的帮助,请联系 GitHub Enterprise 支持

并集

关于并集

并集是一种表示多个对象的对象类型。

例如,� �记为 ProjectCardItem 的字段可能是 IssuePullRequest,� 为每个对象都可能在项目卡内。 使用并集代替对象可以带来灵活性。

更多信息请参阅“GraphQL 简介”。

Assignee

Types that can be assigned to issues.

可能的类型

AuditEntryActor

Types that can initiate an audit log event.

可能的类型

Closer

The object which triggered a ClosedEvent.

可能的类型

CreatedIssueOrRestrictedContribution

Represents either a issue the viewer can access or a restricted contribution.

CreatedPullRequestOrRestrictedContribution

Represents either a pull request the viewer can access or a restricted contribution.

CreatedRepositoryOrRestrictedContribution

Represents either a repository the viewer can access or a restricted contribution.

EnterpriseMember

An object that is a member of an enterprise.

可能的类型

IpAllowListOwner

Types that can own an IP allow list.

可能的类型

IssueOrPullRequest

Used for return value of Repository.issueOrPullRequest.

可能的类型

MilestoneItem

Types that can be inside a Milestone.

可能的类型

OrgRestoreMemberAuditEntryMembership

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

OrganizationAuditEntry

An audit entry in an organization audit log.

可能的类型

PermissionGranter

Types that can grant permissions on a repository to a user.

可能的类型

PinnableItem

Types that can be pinned to a profile page.

可能的类型

ProjectCardItem

Types that can be inside Project Cards.

可能的类型

PullRequestTimelineItems

An item in a pull request timeline.

可能的类型

PushAllowanceActor

Types that can be an actor.

可能的类型

ReferencedSubject

Any referencable object.

可能的类型

RenamedTitleSubject

An object which has a renamable title.

可能的类型

RequestedReviewer

Types that can be requested reviewers.

可能的类型

ReviewDismissalAllowanceActor

Types that can be an actor.

可能的类型

SearchResultItem

The results of a search.

Entities that can sponsor others via GitHub Sponsors.

可能的类型

StatusCheckRollupContext

Types that can be inside a StatusCheckRollup context.

可能的类型

VerifiableDomainOwner

Types that can own a verifiable domain.

可能的类型