INTERFACE

Reactable

Represents a subject that can be reacted on.

link GraphQL Schema definition

1interface Reactable {
2
3# Identifies the primary key from the database.
4databaseId: Int @deprecated( reason: "Exposed database IDs will eventually be removed in favor of global Relay IDs." )
5
6id: ID!
7
8# Are reaction live updates enabled for this subject.
9liveReactionUpdatesEnabled: Boolean!
10
11# A list of reactions grouped by content left on the subject.
12reactionGroups: [ReactionGroup!]
13
14# A list of Reactions left on the Issue.
15#
16# Arguments
17# first: Returns the first _n_ elements from the list.
18# after: Returns the elements in the list that come after the specified global ID.
19# last: Returns the last _n_ elements from the list.
20# before: Returns the elements in the list that come before the specified global
21# ID.
22# content: Allows filtering Reactions by emoji.
23# orderBy: Allows specifying the order in which reactions are returned.
24reactions(
25first: Int,
26after: String,
27last: Int,
28before: String,
29content: ReactionContent,
30orderBy: ReactionOrder
31): ReactionConnection!
32
33# The websocket channel ID for reaction live updates.
34reactionsWebsocket: String!
35
36# The repository associated with this reaction subject.
37repository: Repository! @deprecated( reason: "Future reaction subjects may not be scoped under repositories." )
38
39# Can user react to this subject
40viewerCanReact: Boolean!
41
42}