diff options
Diffstat (limited to 'backend/models/models.go')
| -rw-r--r-- | backend/models/models.go | 9 |
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 | ||
| 61 | type 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 | |||
| 61 | type MapSummary struct { | 70 | type MapSummary struct { |
| 62 | Routes []MapRoute `json:"routes"` | 71 | Routes []MapRoute `json:"routes"` |
| 63 | } | 72 | } |