get-my-shout-resolver

This commit is contained in:
2024-03-05 20:12:17 +03:00
parent 5d8c46e76c
commit b09ea39668
3 changed files with 30 additions and 42 deletions

View File

@@ -30,6 +30,9 @@ type Query {
load_shouts_unrated(limit: Int, offset: Int): [Shout]
load_shouts_random_top(options: LoadShoutsOptions): [Shout]
load_shouts_random_topic(limit: Int!): CommonResult! # { topic shouts }
# editor
get_my_shout(shout_id: Int!): CommonResult
get_shouts_drafts: [Shout]
# topic