taskcafe/frontend/src/shared/graphql/findTask.graphqls
2021-01-01 14:54:05 -06:00

103 lines
1.3 KiB
GraphQL

query findTask($taskID: UUID!) {
findTask(input: {taskID: $taskID}) {
id
name
description
dueDate
position
complete
hasTime
taskGroup {
id
name
}
comments {
id
pinned
message
createdAt
updatedAt
createdBy {
id
fullName
profileIcon {
initials
bgColor
url
}
}
}
activity {
id
type
causedBy {
id
fullName
profileIcon {
initials
bgColor
url
}
}
createdAt
data {
name
value
}
}
badges {
checklist {
total
complete
}
}
checklists {
id
name
position
items {
id
name
taskChecklistID
complete
position
}
}
labels {
id
assignedDate
projectLabel {
id
name
createdDate
labelColor {
id
colorHex
position
name
}
}
}
assigned {
id
fullName
profileIcon {
url
initials
bgColor
}
}
}
me {
user {
id
fullName
profileIcon {
initials
bgColor
url
}
}
}
}