Files
Krow-workspace/backend/dataconnect/connector/task_comment/queries.gql
2026-01-19 19:18:11 -05:00

63 lines
770 B
GraphQL

query listTaskComments @auth(level: USER) {
taskComments {
id
taskId
teamMemberId
comment
isSystem
createdAt
teamMember{
user {
fullName
email
}
}
}
}
query getTaskCommentById($id: UUID!) @auth(level: USER) {
taskComment(id: $id) {
id
taskId
teamMemberId
comment
isSystem
createdAt
teamMember{
user {
fullName
email
}
}
}
}
query getTaskCommentsByTaskId($taskId: UUID!) @auth(level: USER) {
taskComments(where: { taskId: { eq: $taskId } }) {
id
taskId
teamMemberId
comment
isSystem
createdAt
teamMember{
user {
fullName
email
}
}
}
}