mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2026-03-31 14:45:47 +00:00
* externalize gql queries in backend specs * externalize all queries & mutations where easily possible missing change * rename old queries & remove unnecessary function call * fix tests - notifications * fix tests - moderation * remove _CreatePostMutation file * remove _filterPosts & _postQuery files
12 lines
154 B
TypeScript
12 lines
154 B
TypeScript
import gql from 'graphql-tag'
|
|
|
|
export const muteUser = gql`
|
|
mutation ($id: ID!) {
|
|
muteUser(id: $id) {
|
|
id
|
|
name
|
|
isMuted
|
|
}
|
|
}
|
|
`
|