upgrade
This commit is contained in:
@@ -34,6 +34,8 @@ type ChatMember {
|
||||
|
||||
type Result {
|
||||
error: String
|
||||
uids: [String]
|
||||
slugs: [String]
|
||||
chat: Chat
|
||||
chats: [Chat]
|
||||
message: Message
|
||||
@@ -197,9 +199,11 @@ type Mutation {
|
||||
|
||||
type Query {
|
||||
# inbox
|
||||
myChats: Result!
|
||||
searchRecipient(q: String!): Result!
|
||||
loadChat(chatId: String!, offset: Int, amount: Int): Result!
|
||||
loadChats(offset: Int, amount: Int): Result!
|
||||
loadMessages(chatId: String!, offset: Int, amount: Int): Result!
|
||||
searchUsers(q: String!, offset: Int, amount: Int): Result!
|
||||
searchChats(q: String!, offset: Int, amount: Int): Result!
|
||||
searchMessages(q: String!, offset: Int, amount: Int): Result!
|
||||
|
||||
# auth
|
||||
isEmailUsed(email: String!): Boolean!
|
||||
@@ -503,4 +507,5 @@ type Chat {
|
||||
admins: [User]
|
||||
messages: [Message]!
|
||||
unread: Int
|
||||
private: Boolean
|
||||
}
|
||||
|
Reference in New Issue
Block a user