webapp/src/graphql/query/core/articles-load-followed.ts
2024-07-03 20:38:43 +03:00

38 lines
578 B
TypeScript

import { gql } from '@urql/core'
export default gql`
query ShoutsFollowedQuery($limit: Int!, $offset: Int!) {
load_shouts_followed(limit: Int, offset: Int) {
title
subtitle
layout
slug
cover
main_topic
topics {
title
body
slug
stat {
shouts
authors
followers
}
}
authors {
id
name
slug
pic
}
created_at
published_at
featured_at
stat {
viewed
rating
}
}
}
`