This commit is contained in:
@@ -32,6 +32,10 @@ type Query {
|
||||
load_shouts_search(text: String!, options: LoadShoutsOptions): [SearchResult]
|
||||
load_shouts_bookmarked(options: LoadShoutsOptions): [Shout]
|
||||
|
||||
# rating
|
||||
get_my_rates_shouts(shouts: [Int!]!): [MyRateShout]
|
||||
get_my_rates_comments(comments: [Int!]!, shout: Int!): [MyRateComment]
|
||||
|
||||
# public feeds
|
||||
load_shouts_with_topic(slug: String, options: LoadShoutsOptions): [Shout] # topic feed
|
||||
load_shouts_random_top(options: LoadShoutsOptions): [Shout] # random order, fixed filter, limit offset can be used
|
||||
|
@@ -112,7 +112,6 @@ type Stat {
|
||||
viewed: Int
|
||||
# followed: Int
|
||||
last_reacted_at: Int
|
||||
my_rate: ReactionKind
|
||||
}
|
||||
|
||||
type CommunityStat {
|
||||
@@ -234,3 +233,15 @@ type NotificationsResult {
|
||||
total: Int!
|
||||
error: String
|
||||
}
|
||||
|
||||
type MyRateShout {
|
||||
shout_id: Int!
|
||||
my_rate: ReactionKind
|
||||
}
|
||||
|
||||
type MyRateComment {
|
||||
shout_id: Int
|
||||
comment_id: Int!
|
||||
my_rate: ReactionKind
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user