Files
speckle-server/packages/frontend-2/lib/viewer/graphql/fragments.ts
T
Kristaps Fabians Geikins b02a07e2b6 feat: Frontend 2.0 MVP
2023-05-08 10:47:01 +03:00

26 lines
503 B
TypeScript

import { graphql } from '~~/lib/common/generated/gql'
export const viewerCommentThreadFragment = graphql(`
fragment ViewerCommentThread on Comment {
...ViewerCommentsListItem
...ViewerCommentBubblesData
...ViewerCommentsReplyItem
}
`)
export const viewerReplyFragment = graphql(`
fragment ViewerCommentsReplyItem on Comment {
id
archived
rawText
text {
doc
}
author {
...LimitedUserAvatar
}
createdAt
...ThreadCommentAttachment
}
`)