webapp/src/graphql/mutation/article-update.ts

31 lines
479 B
TypeScript
Raw Normal View History

2022-09-09 11:53:35 +00:00
import { gql } from '@urql/core'
export default gql`
2022-10-23 14:16:42 +00:00
mutation UpdateShoutMutation($shout: Shout!) {
updateShout(input: $shout) {
2022-09-09 11:53:35 +00:00
error
shout {
_id: slug
slug
title
subtitle
image
body
topics {
_id: slug
title
slug
image
}
authors {
_id: slug
name
slug
userpic
caption
}
}
}
}
`