WIP
This commit is contained in:
parent
9a78c859ae
commit
32bbedfa17
|
@ -344,6 +344,7 @@ export type Query = {
|
|||
getUsersBySlugs: Array<Maybe<User>>
|
||||
isEmailUsed: Scalars['Boolean']
|
||||
loadChat: Array<Maybe<Message>>
|
||||
markdownBody: Scalars['String']
|
||||
myChats: Array<Maybe<ChatResult>>
|
||||
reactionsByAuthor: Array<Maybe<Reaction>>
|
||||
reactionsByShout: Array<Maybe<Reaction>>
|
||||
|
@ -411,6 +412,10 @@ export type QueryLoadChatArgs = {
|
|||
size: Scalars['Int']
|
||||
}
|
||||
|
||||
export type QueryMarkdownBodyArgs = {
|
||||
body: Scalars['String']
|
||||
}
|
||||
|
||||
export type QueryReactionsByAuthorArgs = {
|
||||
limit: Scalars['Int']
|
||||
offset: Scalars['Int']
|
||||
|
|
|
@ -176,6 +176,10 @@ export const apiClient = {
|
|||
})
|
||||
.toPromise()
|
||||
|
||||
if (response.error) {
|
||||
log.error('getArticlesForTopics', response.error)
|
||||
}
|
||||
|
||||
return response.data.shoutsByTopics
|
||||
},
|
||||
getArticlesForAuthors: async ({
|
||||
|
@ -195,6 +199,10 @@ export const apiClient = {
|
|||
})
|
||||
.toPromise()
|
||||
|
||||
if (response.error) {
|
||||
log.error('getArticlesForAuthors', response.error)
|
||||
}
|
||||
|
||||
return response.data.shoutsByAuthors
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user