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

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.

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

ProjectV2Actor

Possible collaborators for a project.

Возможные типы для ProjectV2Actor

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

RuleSource

Types which can have RepositoryRule objects.

Возможные типы для RuleSource

SearchResultItem

The results of a search.

Возможные типы для SearchResultItem

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.

Возможные типы для VerifiableDomainOwner