0.4.5-api-update
All checks were successful
Deploy on push / deploy (push) Successful in 1m49s

This commit is contained in:
2024-10-21 10:52:23 +03:00
parent 045d2ddadf
commit 160f02e67f
13 changed files with 192 additions and 37 deletions

View File

@@ -72,13 +72,13 @@ input ReactionBy {
shout: String
shouts: [String]
search: String
comment: Boolean
rating: Boolean
kinds: [ReactionKind]
reply_to: Int # filter
topic: String
created_by: Int
author: String
after: Int
sort: ReactionSort
sort: ReactionSort # sort
}
input NotificationSeenInput {

View File

@@ -29,6 +29,9 @@ type Mutation {
accept_invite(invite_id: Int!): CommonResult!
reject_invite(invite_id: Int!): CommonResult!
# bookmark
toggle_bookmark_shout(slug: String!): CommonResult!
# notifier
notification_mark_seen(notification_id: Int!, seen: Boolean): CommonResult!
notifications_seen_after(after: Int!, seen: Boolean): CommonResult!

View File

@@ -37,6 +37,7 @@ type Query {
load_shouts_discussed(limit: Int, offset: Int): [Shout]
load_shouts_random_top(options: LoadShoutsOptions): [Shout]
load_shouts_random_topic(limit: Int!): CommonResult! # { topic shouts }
load_shouts_bookmarked(limit: Int, offset: Int): [Shout]
# editor
get_my_shout(shout_id: Int!): CommonResult!