INTERFACE
Reactable
Represents a subject that can be reacted on.
link GraphQL Schema definition
- interface Reactable {
- # Identifies the primary key from the database.
- Int @deprecated( reason: "Exposed database IDs will eventually be removed in favor of global Relay IDs." ) :
- ID! :
- # Are reaction live updates enabled for this subject.
- Boolean! :
- # A list of reactions grouped by content left on the subject.
- ReactionGroup!] : [
- # A list of Reactions left on the Issue.
- #
- # Arguments
- # first: Returns the first _n_ elements from the list.
- # after: Returns the elements in the list that come after the
- # specified global ID.
- # last: Returns the last _n_ elements from the list.
- # before: Returns the elements in the list that come before the
- # specified global ID.
- # content: Allows filtering Reactions by emoji.
- # orderBy: Allows specifying the order in which reactions are
- # returned.
- (
- Int, :
- String, :
- Int, :
- String, :
- ReactionContent, :
- ReactionOrder :
- ): ReactionConnection!
- # The websocket channel ID for reaction live updates.
- String! :
- # The repository associated with this reaction subject.
- Repository! @deprecated( reason: "Future reaction subjects may not be scoped under repositories." ) :
- # Can user react to this subject
- Boolean! :
- }
link Require by
- AddReactionPayloadAutogenerated return type of AddReaction
- CommitCommentRepresents a comment on a given Commit.
- IssueAn Issue is a place to discuss ideas, enhancements, tasks, and bugs for a project.
- IssueCommentRepresents a comment on an Issue.
- PullRequestA repository pull request.
- PullRequestReviewCommentA review comment associated with a given repository pull request.
- ReactionGroupA group of emoji reactions to a particular piece of content.
- RemoveReactionPayloadAutogenerated return type of RemoveReaction