Mutations
addReaction
Adds a reaction to a subject.
addReaction에 대한 입력 필드
input(AddReactionInput!)
addReaction에 대한 반환 필드
| 이름 | 설명 |
|---|---|
| A unique identifier for the client performing the mutation. |
| The reaction object. |
| The reaction groups for the subject. |
| The reactable subject. |
removeReaction
Removes a reaction from a subject.
removeReaction에 대한 입력 필드
input(RemoveReactionInput!)
removeReaction에 대한 반환 필드
| 이름 | 설명 |
|---|---|
| A unique identifier for the client performing the mutation. |
| The reaction object. |
| The reaction groups for the subject. |
| The reactable subject. |
Objects
Reaction
An emoji reaction to a particular piece of content.
Reaction 구현
Reaction에 대한 필드
| 이름 | 설명 |
|---|---|
| Identifies the emoji reaction. |
| Identifies the date and time when the object was created. |
| Identifies the primary key from the database. |
| The Node ID of the Reaction object. |
| The reactable piece of content. |
| Identifies the user who created this reaction. |
ReactionConnection
A list of reactions that have been left on the subject.
ReactionConnection에 대한 필드
| 이름 | 설명 |
|---|---|
| A list of edges. |
| A list of nodes. |
| Information to aid in pagination. |
| Identifies the total count of items in the connection. |
| Whether or not the authenticated user has left a reaction on the subject. |
ReactionEdge
An edge in a connection.
ReactionEdge에 대한 필드
| 이름 | 설명 |
|---|---|
| A cursor for use in pagination. |
| The item at the end of the edge. |
ReactionGroup
A group of emoji reactions to a particular piece of content.
ReactionGroup에 대한 필드
| 이름 | 설명 |
|---|---|
| Identifies the emoji reaction. |
| Identifies when the reaction was created. |
| Reactors to the reaction subject with the emotion represented by this reaction group. |
| The subject that was reacted to. |
| Users who have reacted to the reaction subject with the emotion represented by this reaction group. 경고
Reactors can now be mannequins, bots, and organizations. Use the |
| Whether or not the authenticated user has left a reaction on the subject. |
ReactorConnection
The connection type for Reactor.
ReactorConnection에 대한 필드
| 이름 | 설명 |
|---|---|
| A list of edges. |
| A list of nodes. |
| Information to aid in pagination. |
| Identifies the total count of items in the connection. |
ReactorEdge
Represents an author of a reaction.
ReactorEdge에 대한 필드
| 이름 | 설명 |
|---|---|
| A cursor for use in pagination. |
| The author of the reaction. |
| The moment when the user made the reaction. |
Interfaces
Reactable
Represents a subject that can be reacted on.
Reactable은(는) 다음과 같이 구현됩니다.
CommitCommentDiscussionDiscussionCommentIssueIssueCommentPullRequestPullRequestReviewPullRequestReviewCommentRelease
Reactable에 대한 필드
| 이름 | 설명 |
|---|---|
| Identifies the primary key from the database. |
| The Node ID of the Reactable object. |
| A list of reactions grouped by content left on the subject. |
| A list of Reactions left on the Issue.
|
| Can user react to this subject. |
Enums
ReactionContent
Emojis that can be attached to Issues, Pull Requests and Comments.
ReactionContent의 값
| 이름 | 설명 |
|---|---|
CONFUSED | Represents the |
EYES | Represents the |
HEART | Represents the |
HOORAY | Represents the |
LAUGH | Represents the |
ROCKET | Represents the |
THUMBS_DOWN | Represents the |
THUMBS_UP | Represents the |
ReactionOrderField
A list of fields that reactions can be ordered by.
ReactionOrderField의 값
| 이름 | 설명 |
|---|---|
CREATED_AT | Allows ordering a list of reactions by when they were created. |
Unions
Reactor
Types that can be assigned to reactions.
Reactor에 가능한 유형
Input objects
AddReactionInput
Autogenerated input type of AddReaction.
AddReactionInput에 대한 입력 필드
| 이름 | 설명 |
|---|---|
| A unique identifier for the client performing the mutation. |
| The name of the emoji to react with. |
| The Node ID of the subject to modify. |
ReactionOrder
Ways in which lists of reactions can be ordered upon return.
ReactionOrder에 대한 입력 필드
| 이름 | 설명 |
|---|---|
| The direction in which to order reactions by the specified field. |
| The field in which to order reactions by. |
RemoveReactionInput
Autogenerated input type of RemoveReaction.
RemoveReactionInput에 대한 입력 필드
| 이름 | 설명 |
|---|---|
| A unique identifier for the client performing the mutation. |
| The name of the emoji reaction to remove. |
| The Node ID of the subject to modify. |