feat: add cash for storing searchresalts and hold them for working pagination. Now we are have offset for use on frontend
All checks were successful
Deploy on push / deploy (push) Successful in 51s

This commit is contained in:
Stepan Vladovskiy
2025-04-01 16:01:09 -03:00
parent ecc443c3ad
commit a0db5707c4
5 changed files with 284 additions and 16 deletions

View File

@@ -33,6 +33,7 @@ type Query {
get_shout(slug: String, shout_id: Int): Shout
load_shouts_by(options: LoadShoutsOptions): [Shout]
load_shouts_search(text: String!, options: LoadShoutsOptions): [SearchResult]
get_search_results_count(text: String!): CountResult!
load_shouts_bookmarked(options: LoadShoutsOptions): [Shout]
# rating

View File

@@ -276,3 +276,7 @@ type MyRateComment {
my_rate: ReactionKind
}
type CountResult {
count: Int!
}