2022-09-09 11:53:35 +00:00
|
|
|
import { gql } from '@urql/core'
|
|
|
|
|
|
|
|
export default gql`
|
2023-05-08 17:21:06 +00:00
|
|
|
mutation UpdateShoutMutation($shoutId: Int!, $shoutInput: ShoutInput, $publish: Boolean) {
|
2023-11-28 13:18:25 +00:00
|
|
|
update_shout(shout_id: $shoutId, shout_input: $shoutInput, publish: $publish) {
|
2022-09-09 11:53:35 +00:00
|
|
|
error
|
|
|
|
shout {
|
2023-04-20 13:58:56 +00:00
|
|
|
id
|
2022-09-09 11:53:35 +00:00
|
|
|
slug
|
|
|
|
title
|
|
|
|
subtitle
|
2023-08-22 13:37:54 +00:00
|
|
|
lead
|
|
|
|
description
|
2022-09-09 11:53:35 +00:00
|
|
|
body
|
2024-02-02 17:44:48 +00:00
|
|
|
created_at
|
|
|
|
updated_at
|
|
|
|
published_at
|
|
|
|
featured_at
|
2022-09-09 11:53:35 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
`
|