Frontend refactor backend changes

This commit is contained in:
Christoph Kluge
2024-07-11 17:23:59 +02:00
parent e8e3b1595d
commit a4912893a8
4 changed files with 318 additions and 16 deletions

View File

@@ -21,6 +21,12 @@ type FloatRange struct {
To float64 `json:"to"`
}
type FootprintValue struct {
Name string `json:"name"`
Stat string `json:"stat"`
Value float64 `json:"value"`
}
type Footprints struct {
TimeWeights *TimeWeights `json:"timeWeights"`
Metrics []*MetricFootprints `json:"metrics"`