dummy search query interface

This commit is contained in:
2022-09-05 10:28:23 +03:00
parent 661bbcd1de
commit c85672b209
2 changed files with 26 additions and 0 deletions

View File

@@ -259,6 +259,9 @@ type Query {
# communities
getCommunity(slug: String): Community!
getCommunities: [Community]! # all
# search
searchQuery(q: String, page: Int, size: Int): Shout[]
}
############################################ Subscription
@@ -423,6 +426,7 @@ type Stat {
reacted: Int
rating: Int
commented: Int
ranking: Int
}
type Community {