add subtraction of progress from before project's startTime.
continuous-integration/drone/push Build is passing

This commit is contained in:
2021-12-03 11:55:58 +01:00
parent 9791dfaec8
commit 2807094971
6 changed files with 74 additions and 10 deletions
+7 -1
View File
@@ -99,7 +99,13 @@ type ProjectUpdate struct {
type ProjectResult struct {
Project
Tasks []*TaskResult `json:"tasks"`
Tasks []*TaskResult `json:"tasks"`
Subtractions []ProjectSubtraction `json:"subtractions"`
}
type ProjectSubtraction struct {
Item Item `json:"item"`
Amount int `json:"amount"`
}
type ProjectFilter struct {