webapp/src/graphql/query/reactions-load-by.ts
2022-11-18 03:23:04 +01:00

33 lines
526 B
TypeScript

import { gql } from '@urql/core'
export default gql`
query LoadReactionsByQuery($by: ReactionBy!, $limit: Int!, $offset: Int!) {
loadReactionsBy(by: $by, limit: $limit, offset: $offset) {
id
createdBy {
slug
name
userpic
}
body
kind
createdAt
updatedAt
shout {
slug
title
}
replyTo {
id
createdBy {
slug
userpic
name
}
body
kind
}
}
}
`