add project to logs, project composition mode to goals and fix unweighted counts for other composition modes.
continuous-integration/drone/push Build is passing
continuous-integration/drone/push Build is passing
This commit is contained in:
+3
-3
@@ -62,9 +62,9 @@ type LogUpdate struct {
|
||||
|
||||
type LogResult struct {
|
||||
Log
|
||||
Task *Task `json:"task"`
|
||||
Item *Item `json:"item"`
|
||||
SecondaryItem *Item `json:"secondaryItem"`
|
||||
Task *TaskWithProject `json:"task"`
|
||||
Item *Item `json:"item"`
|
||||
SecondaryItem *Item `json:"secondaryItem"`
|
||||
}
|
||||
|
||||
type LogFilter struct {
|
||||
|
||||
@@ -72,6 +72,11 @@ type TaskLink struct {
|
||||
ProjectID string `json:"projectId" db:"project_id"`
|
||||
}
|
||||
|
||||
type TaskWithProject struct {
|
||||
Task
|
||||
Project *Project `json:"project,omitempty"`
|
||||
}
|
||||
|
||||
type TaskResult struct {
|
||||
Task
|
||||
Item *Item `json:"item"`
|
||||
|
||||
Reference in New Issue
Block a user