2022-09-09 11:53:35 +00:00
|
|
|
import { gql } from '@urql/core'
|
|
|
|
|
|
|
|
export default gql`
|
|
|
|
mutation CreateReactionMutation($reaction: ReactionInput!) {
|
|
|
|
createReaction(reaction: $reaction) {
|
|
|
|
error
|
|
|
|
reaction {
|
|
|
|
id
|
|
|
|
body
|
|
|
|
kind
|
|
|
|
range
|
|
|
|
createdAt
|
2023-01-20 04:40:55 +00:00
|
|
|
replyTo
|
2023-02-17 09:21:02 +00:00
|
|
|
stat {
|
|
|
|
rating
|
|
|
|
}
|
|
|
|
shout
|
|
|
|
createBy {
|
|
|
|
name
|
|
|
|
slug
|
|
|
|
userpic
|
|
|
|
}
|
2022-09-09 11:53:35 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
`
|