2022-09-09 11:53:35 +00:00
|
|
|
import { gql } from '@urql/core'
|
|
|
|
|
|
|
|
export default gql`
|
2022-11-15 12:05:56 +00:00
|
|
|
query LoadReactionsByQuery($by: ReactionsBy, $limit: Int!, $offset: Int!) {
|
|
|
|
loadReactionsBy(by: $by, amount: $limit, offset: $offset) {
|
2022-09-09 11:53:35 +00:00
|
|
|
id
|
|
|
|
createdBy {
|
|
|
|
slug
|
|
|
|
name
|
|
|
|
userpic
|
|
|
|
}
|
|
|
|
body
|
|
|
|
kind
|
|
|
|
createdAt
|
|
|
|
updatedAt
|
|
|
|
shout {
|
|
|
|
slug
|
|
|
|
title
|
|
|
|
}
|
|
|
|
replyTo {
|
|
|
|
id
|
|
|
|
createdBy {
|
|
|
|
slug
|
|
|
|
userpic
|
|
|
|
name
|
|
|
|
}
|
|
|
|
body
|
|
|
|
kind
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
`
|