Сведения об объединениях
Объединение — это тип объекта, представляющий множество объектов.
Например, поле, помеченное как ProjectCardItem
, может быть объектом Issue
или PullRequest
, так как каждый из этих объектов может находиться в карточке проекта. Использование объединения вместо объекта повышает гибкость.
Дополнительные сведения см. в разделе Общие сведения о GraphQL.
BranchActorAllowanceActor
Types which can be actors for BranchActorAllowance
objects.
BypassActor
Types that can represent a repository ruleset bypass actor.
Claimable
An object which can have its data claimed or claim data from another.
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
IssueOrPullRequest
Used for return value of Repository.issueOrPullRequest.
Возможные типы для IssueOrPullRequest
IssueTimelineItems
An item in an issue timeline.
Возможные типы для IssueTimelineItems
AddedToProjectEvent
AssignedEvent
ClosedEvent
CommentDeletedEvent
ConnectedEvent
ConvertedNoteToIssueEvent
ConvertedToDiscussionEvent
CrossReferencedEvent
DemilestonedEvent
DisconnectedEvent
IssueComment
LabeledEvent
LockedEvent
MarkedAsDuplicateEvent
MentionedEvent
MilestonedEvent
MovedColumnsInProjectEvent
PinnedEvent
ReferencedEvent
RemovedFromProjectEvent
RenamedTitleEvent
ReopenedEvent
SubscribedEvent
TransferredEvent
UnassignedEvent
UnlabeledEvent
UnlockedEvent
UnmarkedAsDuplicateEvent
UnpinnedEvent
UnsubscribedEvent
UserBlockedEvent
OrgRestoreMemberAuditEntryMembership
Types of memberships that can be restored for an Organization member.
Возможные типы для OrgRestoreMemberAuditEntryMembership
OrganizationAuditEntry
An audit entry in an organization audit log.
Возможные типы для OrganizationAuditEntry
MembersCanDeleteReposClearAuditEntry
MembersCanDeleteReposDisableAuditEntry
MembersCanDeleteReposEnableAuditEntry
OauthApplicationCreateAuditEntry
OrgAddBillingManagerAuditEntry
OrgAddMemberAuditEntry
OrgBlockUserAuditEntry
OrgConfigDisableCollaboratorsOnlyAuditEntry
OrgConfigEnableCollaboratorsOnlyAuditEntry
OrgCreateAuditEntry
OrgDisableOauthAppRestrictionsAuditEntry
OrgDisableSamlAuditEntry
OrgDisableTwoFactorRequirementAuditEntry
OrgEnableOauthAppRestrictionsAuditEntry
OrgEnableSamlAuditEntry
OrgEnableTwoFactorRequirementAuditEntry
OrgInviteMemberAuditEntry
OrgInviteToBusinessAuditEntry
OrgOauthAppAccessApprovedAuditEntry
OrgOauthAppAccessBlockedAuditEntry
OrgOauthAppAccessDeniedAuditEntry
OrgOauthAppAccessRequestedAuditEntry
OrgOauthAppAccessUnblockedAuditEntry
OrgRemoveBillingManagerAuditEntry
OrgRemoveMemberAuditEntry
OrgRemoveOutsideCollaboratorAuditEntry
OrgRestoreMemberAuditEntry
OrgUnblockUserAuditEntry
OrgUpdateDefaultRepositoryPermissionAuditEntry
OrgUpdateMemberAuditEntry
OrgUpdateMemberRepositoryCreationPermissionAuditEntry
OrgUpdateMemberRepositoryInvitationPermissionAuditEntry
PrivateRepositoryForkingDisableAuditEntry
PrivateRepositoryForkingEnableAuditEntry
RepoAccessAuditEntry
RepoAddMemberAuditEntry
RepoAddTopicAuditEntry
RepoArchivedAuditEntry
RepoChangeMergeSettingAuditEntry
RepoConfigDisableAnonymousGitAccessAuditEntry
RepoConfigDisableCollaboratorsOnlyAuditEntry
RepoConfigDisableContributorsOnlyAuditEntry
RepoConfigDisableSockpuppetDisallowedAuditEntry
RepoConfigEnableAnonymousGitAccessAuditEntry
RepoConfigEnableCollaboratorsOnlyAuditEntry
RepoConfigEnableContributorsOnlyAuditEntry
RepoConfigEnableSockpuppetDisallowedAuditEntry
RepoConfigLockAnonymousGitAccessAuditEntry
RepoConfigUnlockAnonymousGitAccessAuditEntry
RepoCreateAuditEntry
RepoDestroyAuditEntry
RepoRemoveMemberAuditEntry
RepoRemoveTopicAuditEntry
RepositoryVisibilityChangeDisableAuditEntry
RepositoryVisibilityChangeEnableAuditEntry
TeamAddMemberAuditEntry
TeamAddRepositoryAuditEntry
TeamChangeParentTeamAuditEntry
TeamRemoveMemberAuditEntry
TeamRemoveRepositoryAuditEntry
OrganizationOrUser
Used for argument of CreateProjectV2 mutation.
Возможные типы для OrganizationOrUser
PermissionGranter
Types that can grant permissions on a repository to a user.
Возможные типы для PermissionGranter
ProjectV2FieldConfiguration
Configurations for project fields.
Возможные типы для ProjectV2FieldConfiguration
ProjectV2ItemFieldValue
Project field values.
Возможные типы для ProjectV2ItemFieldValue
ProjectV2ItemFieldDateValue
ProjectV2ItemFieldIterationValue
ProjectV2ItemFieldLabelValue
ProjectV2ItemFieldMilestoneValue
ProjectV2ItemFieldNumberValue
ProjectV2ItemFieldPullRequestValue
ProjectV2ItemFieldRepositoryValue
ProjectV2ItemFieldReviewerValue
ProjectV2ItemFieldSingleSelectValue
ProjectV2ItemFieldTextValue
ProjectV2ItemFieldUserValue
PullRequestTimelineItem
An item in a pull request timeline.
Возможные типы для PullRequestTimelineItem
AssignedEvent
BaseRefDeletedEvent
BaseRefForcePushedEvent
ClosedEvent
Commit
CommitCommentThread
CrossReferencedEvent
DemilestonedEvent
DeployedEvent
DeploymentEnvironmentChangedEvent
HeadRefDeletedEvent
HeadRefForcePushedEvent
HeadRefRestoredEvent
IssueComment
LabeledEvent
LockedEvent
MergedEvent
MilestonedEvent
PullRequestReview
PullRequestReviewComment
PullRequestReviewThread
ReferencedEvent
RenamedTitleEvent
ReopenedEvent
ReviewDismissedEvent
ReviewRequestRemovedEvent
ReviewRequestedEvent
SubscribedEvent
UnassignedEvent
UnlabeledEvent
UnlockedEvent
UnsubscribedEvent
UserBlockedEvent
PullRequestTimelineItems
An item in a pull request timeline.
Возможные типы для PullRequestTimelineItems
AddedToMergeQueueEvent
AddedToProjectEvent
AssignedEvent
AutoMergeDisabledEvent
AutoMergeEnabledEvent
AutoRebaseEnabledEvent
AutoSquashEnabledEvent
AutomaticBaseChangeFailedEvent
AutomaticBaseChangeSucceededEvent
BaseRefChangedEvent
BaseRefDeletedEvent
BaseRefForcePushedEvent
ClosedEvent
CommentDeletedEvent
ConnectedEvent
ConvertToDraftEvent
ConvertedNoteToIssueEvent
ConvertedToDiscussionEvent
CrossReferencedEvent
DemilestonedEvent
DeployedEvent
DeploymentEnvironmentChangedEvent
DisconnectedEvent
HeadRefDeletedEvent
HeadRefForcePushedEvent
HeadRefRestoredEvent
IssueComment
LabeledEvent
LockedEvent
MarkedAsDuplicateEvent
MentionedEvent
MergedEvent
MilestonedEvent
MovedColumnsInProjectEvent
PinnedEvent
PullRequestCommit
PullRequestCommitCommentThread
PullRequestReview
PullRequestReviewThread
PullRequestRevisionMarker
ReadyForReviewEvent
ReferencedEvent
RemovedFromMergeQueueEvent
RemovedFromProjectEvent
RenamedTitleEvent
ReopenedEvent
ReviewDismissedEvent
ReviewRequestRemovedEvent
ReviewRequestedEvent
SubscribedEvent
TransferredEvent
UnassignedEvent
UnlabeledEvent
UnlockedEvent
UnmarkedAsDuplicateEvent
UnpinnedEvent
UnsubscribedEvent
UserBlockedEvent
RequestedReviewer
Types that can be requested reviewers.
ReviewDismissalAllowanceActor
Types that can be an actor.
RuleParameters
Types which can be parameters for RepositoryRule
objects.
Возможные типы для RuleParameters
BranchNamePatternParameters
CodeScanningParameters
CommitAuthorEmailPatternParameters
CommitMessagePatternParameters
CommitterEmailPatternParameters
FileExtensionRestrictionParameters
FilePathRestrictionParameters
MaxFilePathLengthParameters
MaxFileSizeParameters
PullRequestParameters
RequiredDeploymentsParameters
RequiredStatusChecksParameters
TagNamePatternParameters
UpdateParameters
WorkflowsParameters
StatusCheckRollupContext
Types that can be inside a StatusCheckRollup context.
Возможные типы для StatusCheckRollupContext
VerifiableDomainOwner
Types that can own a verifiable domain.