-reactions.storage, +collectionShouts.query, fixes

This commit is contained in:
2022-08-13 12:48:07 +03:00
parent 5859a4db40
commit f0b625af53
19 changed files with 277 additions and 381 deletions

View File

@@ -254,6 +254,7 @@ type Query {
# collection
getCollection(author: String!, slug: String!): Collection!
shoutsByCollection(collection: String, page: Int, size: Int): [Shout]!
# communities
getCommunity(slug: String): Community!
@@ -408,8 +409,10 @@ type Shout {
}
type Stat {
viewed: Int!
reacted: Int!
viewed: Int
reacted: Int
rating: Int
bookmarked: Int
}
type Community {
@@ -435,6 +438,7 @@ type TopicStat {
followers: Int!
authors: Int!
viewed: Int!
reacted: Int!
}
type Topic {