b6c21fd506
* webhooks perm minor fix * tryna get fileimport service to work * new comment policies - shared * BE done? * checks implemented in FE * lint fix * tests fix * readme fix
27 lines
534 B
TypeScript
27 lines
534 B
TypeScript
import { graphql } from '~~/lib/common/generated/gql'
|
|
|
|
export const viewerCommentThreadFragment = graphql(`
|
|
fragment ViewerCommentThread on Comment {
|
|
...ViewerCommentsListItem
|
|
...ViewerCommentBubblesData
|
|
...ViewerCommentsReplyItem
|
|
...ViewerCommentThreadData
|
|
}
|
|
`)
|
|
|
|
export const viewerReplyFragment = graphql(`
|
|
fragment ViewerCommentsReplyItem on Comment {
|
|
id
|
|
archived
|
|
rawText
|
|
text {
|
|
doc
|
|
}
|
|
author {
|
|
...LimitedUserAvatar
|
|
}
|
|
createdAt
|
|
...ThreadCommentAttachment
|
|
}
|
|
`)
|