webapp/src/graphql/query/core/article-my.ts

54 lines
1.2 KiB
TypeScript
Raw Normal View History

2024-03-06 07:30:07 +00:00
import { gql } from '@urql/core'
export default gql`
query GetMyShout($shout_id: Int!) {
get_my_shout(shout_id: $shout_id) {
2024-03-06 13:01:46 +00:00
error
shout {
2024-03-06 07:30:07 +00:00
id
title
2024-03-06 13:01:46 +00:00
lead
description
subtitle
2024-03-06 07:30:07 +00:00
slug
2024-03-06 13:01:46 +00:00
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
2024-03-06 07:30:07 +00:00
}
created_at
2024-03-06 13:01:46 +00:00
updated_at
published_at
featured_at
2024-03-06 07:30:07 +00:00
}
}
}
`