working load

This commit is contained in:
tonyrewin 2022-11-22 21:20:26 +03:00
parent dda1aa55fa
commit 76460a1289

View File

@ -1,32 +1,18 @@
import { gql } from '@urql/core'
export default gql`
query LoadReactionsByQuery($by: ReactionBy!, $limit: Int!, $offset: Int!) {
query LoadReactions($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
body
createdAt
createdBy {
slug
userpic
name
}
body
kind
}
updatedAt
}
}
`