aboutsummaryrefslogtreecommitdiff
path: root/backend/models
diff options
context:
space:
mode:
Diffstat (limited to 'backend/models')
-rw-r--r--backend/models/models.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/backend/models/models.go b/backend/models/models.go
index 64d90d1..a114f2c 100644
--- a/backend/models/models.go
+++ b/backend/models/models.go
@@ -58,6 +58,15 @@ type MapShort struct {
58 Difficulty int `json:"difficulty"` 58 Difficulty int `json:"difficulty"`
59} 59}
60 60
61type MapSelect struct {
62 ID int `json:"id"`
63 Name string `json:"name"`
64 Image string `json:"image"`
65 IsDisabled bool `json:"is_disabled"`
66 Difficulty int `json:"difficulty"`
67 CategoryPortals []CategoryPortal `json:"category_portals"`
68}
69
61type MapSummary struct { 70type MapSummary struct {
62 Routes []MapRoute `json:"routes"` 71 Routes []MapRoute `json:"routes"`
63} 72}