add shoutsByUserSubscriptions; use user slug in shout_author table

This commit is contained in:
knst-kotov
2022-01-31 14:34:43 +03:00
parent 1f3983fc07
commit 020a3a5abf
3 changed files with 29 additions and 6 deletions

View File

@@ -197,7 +197,7 @@ type Query {
getCommunity(slug: String): Community!
getCommunities: [Community]!
# shoutsByUserSubscriptions(): [Shout]!
shoutsByUserSubscriptions(userSlug: String!, page: Int!, size: Int!): [Shout]!
shoutsByUserRatingOrComment(userSlug: String!, page: Int!, size: Int!): [Shout]!
newShoutsWithoutRating(userSlug: String!, size: Int = 10): [Shout]!
}