webapp/src/graphql/query/core/articles-load-followed.ts
Tony 829e523d36
Hotfix/featured (#391)
add: Shout.featured_at
remove: Shout.visibility
2024-02-02 20:29:53 +03:00

41 lines
650 B
TypeScript

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