This commit is contained in:
@@ -290,6 +290,12 @@ type Result {
|
||||
communities: [Community]
|
||||
}
|
||||
|
||||
type SearchResult {
|
||||
slug: String!
|
||||
title: String!
|
||||
score: Float!
|
||||
}
|
||||
|
||||
# Мутации
|
||||
|
||||
type Mutation {
|
||||
@@ -354,7 +360,7 @@ type Query {
|
||||
get_shout(slug: String, shout_id: Int): Shout
|
||||
load_shouts_followed(follower_id: Int!, limit: Int, offset: Int): [Shout] # userReactedShouts
|
||||
load_shouts_by(options: LoadShoutsOptions): [Shout]
|
||||
load_shouts_search(text: String!, limit: Int, offset: Int): [Shout]
|
||||
load_shouts_search(text: String!, limit: Int, offset: Int): [SearchResult]
|
||||
load_shouts_feed(options: LoadShoutsOptions): [Shout]
|
||||
load_shouts_unrated(limit: Int, offset: Int): [Shout]
|
||||
load_shouts_random_top(options: LoadShoutsOptions): [Shout]
|
||||
|
Reference in New Issue
Block a user