type TaskLabel { id: ID! projectLabel: ProjectLabel! assignedDate: Time! } type ChecklistBadge { complete: Int! total: Int! } type CommentsBadge { total: Int! unread: Boolean! } type TaskBadges { checklist: ChecklistBadge comments: CommentsBadge } type Task { id: ID! taskGroup: TaskGroup! createdAt: Time! name: String! position: Float! description: String dueDate: Time hasTime: Boolean! complete: Boolean! completedAt: Time assigned: [Member!]! labels: [TaskLabel!]! checklists: [TaskChecklist!]! badges: TaskBadges! activity: [TaskActivity!]! comments: [TaskComment!]! } type TaskActivityData { name: String! value: String! } enum ActivityType { TASK_ADDED TASK_MOVED TASK_MARKED_COMPLETE TASK_MARKED_INCOMPLETE TASK_DUE_DATE_CHANGED TASK_DUE_DATE_ADDED TASK_DUE_DATE_REMOVED TASK_CHECKLIST_CHANGED TASK_CHECKLIST_ADDED TASK_CHECKLIST_REMOVED } type TaskActivity { id: ID! type: ActivityType! data: [TaskActivityData!]! causedBy: CausedBy! createdAt: Time! } type CausedBy { id: ID! fullName: String! profileIcon: ProfileIcon } type CreatedBy { id: ID! fullName: String! profileIcon: ProfileIcon! } type TaskComment { id: ID! createdAt: Time! updatedAt: Time message: String! createdBy: CreatedBy! pinned: Boolean! } type TaskChecklistItem { id: ID! name: String! taskChecklistID: UUID! complete: Boolean! position: Float! dueDate: Time! } type TaskChecklist { id: ID! name: String! position: Float! items: [TaskChecklistItem!]! }