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