get messages from redis

This commit is contained in:
knst-kotov
2022-01-28 15:52:14 +03:00
parent ab42c3b60c
commit 3828e92c19
2 changed files with 23 additions and 31 deletions

View File

@@ -167,7 +167,8 @@ type Query {
getUserRoles(slug: String!): [Role]!
# messages
getMessages(count: Int = 100, page: Int = 1): [Message!]!
enterChat(chatId: String!, size: Int = 50): EnterChatResult!
getMessages(chatId: String!, size: Int!, page: Int!): [Message]!
# shouts
getShoutBySlug(slug: String!): Shout!
@@ -192,9 +193,6 @@ type Query {
# communities
getCommunity(slug: String): Community!
getCommunities: [Community]!
#messages
enterChat(chatId: String!): EnterChatResult!
}
############################################ Subscription