tops-and-recents-wip

This commit is contained in:
2022-09-19 21:42:38 +03:00
parent a8313d1324
commit a67725a634
2 changed files with 53 additions and 42 deletions

View File

@@ -232,11 +232,11 @@ type Query {
topViewed(offset: Int!, limit: Int!): [Shout]!
# topReacted(offset: Int!, limit: Int!): [Shout]!
topAuthors(offset: Int!, limit: Int!): [Author]!
topMonth(offset: Int!, limit: Int!): [Shout]!
topOverall(offset: Int!, limit: Int!): [Shout]!
topMonth(offset: Int!, limit: Int!): [Shout]! # TODO: rename topRatedMonth
topOverall(offset: Int!, limit: Int!): [Shout]! # TODO: rename topRated
topCommented(offset: Int!, limit: Int!): [Shout]!
recentPublished(offset: Int!, limit: Int!): [Shout]! # homepage
recentReacted(offset: Int!, limit: Int!): [Shout]!
recentReacted(offset: Int!, limit: Int!): [Shout]! # TODO: use in design!
recentCommented(offset: Int!, limit: Int!): [Shout]!
recentAll(offset: Int!, limit: Int!): [Shout]!