aboutsummaryrefslogtreecommitdiff
path: root/backend/models/models.go
diff options
context:
space:
mode:
Diffstat (limited to 'backend/models/models.go')
-rw-r--r--backend/models/models.go14
1 files changed, 7 insertions, 7 deletions
diff --git a/backend/models/models.go b/backend/models/models.go
index 5c9b8f8..783c339 100644
--- a/backend/models/models.go
+++ b/backend/models/models.go
@@ -31,9 +31,7 @@ type MapShort struct {
31} 31}
32 32
33type MapSummary struct { 33type MapSummary struct {
34 Rating float32 `json:"rating"` 34 Routes []MapRoute `json:"routes"`
35 History []MapHistory `json:"history"`
36 Routes []MapRoute `json:"routes"`
37} 35}
38 36
39type MapHistory struct { 37type MapHistory struct {
@@ -43,10 +41,12 @@ type MapHistory struct {
43} 41}
44 42
45type MapRoute struct { 43type MapRoute struct {
46 Category Category `json:"category"` 44 Category Category `json:"category"`
47 ScoreCount int `json:"score_count"` 45 History MapHistory `json:"history"`
48 Description string `json:"description"` 46 Rating float32 `json:"rating"`
49 Showcase string `json:"showcase"` 47 ScoreCount int `json:"score_count"`
48 Description string `json:"description"`
49 Showcase string `json:"showcase"`
50} 50}
51 51
52type MapRecords struct { 52type MapRecords struct {