51 lines
1.0 KiB
TypeScript
51 lines
1.0 KiB
TypeScript
|
import { gql } from '@urql/core'
|
||
|
|
||
|
export default gql`
|
||
|
query GetMyShout($shout_id: Int!) {
|
||
|
get_my_shout(shout_id: $shout_id) {
|
||
|
id
|
||
|
title
|
||
|
lead
|
||
|
description
|
||
|
subtitle
|
||
|
slug
|
||
|
layout
|
||
|
cover
|
||
|
cover_caption
|
||
|
body
|
||
|
media
|
||
|
updated_by {
|
||
|
id
|
||
|
name
|
||
|
slug
|
||
|
pic
|
||
|
created_at
|
||
|
}
|
||
|
# community
|
||
|
main_topic
|
||
|
topics {
|
||
|
id
|
||
|
title
|
||
|
body
|
||
|
slug
|
||
|
stat {
|
||
|
shouts
|
||
|
authors
|
||
|
followers
|
||
|
}
|
||
|
}
|
||
|
authors {
|
||
|
id
|
||
|
name
|
||
|
slug
|
||
|
pic
|
||
|
created_at
|
||
|
}
|
||
|
created_at
|
||
|
updated_at
|
||
|
published_at
|
||
|
featured_at
|
||
|
}
|
||
|
}
|
||
|
`
|