webapp/src/graphql/mutation/core/unfollow.ts

30 lines
484 B
TypeScript
Raw Normal View History

2022-09-09 11:53:35 +00:00
import { gql } from '@urql/core'
export default gql`
mutation UnfollowMutation($what: FollowingEntity!, $slug: String!) {
2022-09-09 11:53:35 +00:00
unfollow(what: $what, slug: $slug) {
error
2024-05-20 11:16:54 +00:00
authors {
id
name
slug
pic
bio
stat {
followers
shouts
comments
}
}
topics {
body
slug
stat {
shouts
authors
followers
}
}
2022-09-09 11:53:35 +00:00
}
}
`