webapp/src/graphql/query/core/articles-load-followed.ts
Untone 44af27d7a5
Some checks failed
deploy / test (push) Failing after 53s
deploy / deploy (push) Has been skipped
maintopic-fix
2023-12-09 21:35:08 +03:00

40 lines
643 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
# community
main_topic
topics {
# id
title
body
slug
stat {
shouts
authors
followers
}
}
authors {
id
name
slug
pic
}
created_at
published_at
stat {
viewed
reacted
rating
}
}
}
`