diff options
Diffstat (limited to 'backend/models/responses.go')
| -rw-r--r-- | backend/models/responses.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/backend/models/responses.go b/backend/models/responses.go index 5a88353..dc554ff 100644 --- a/backend/models/responses.go +++ b/backend/models/responses.go | |||
| @@ -30,6 +30,11 @@ type ScoreResponse struct { | |||
| 30 | Records any `json:"records"` | 30 | Records any `json:"records"` |
| 31 | } | 31 | } |
| 32 | 32 | ||
| 33 | type MapSummaryResponse struct { | ||
| 34 | Map Map `json:"map"` | ||
| 35 | Summary MapSummary `json:"summary"` | ||
| 36 | } | ||
| 37 | |||
| 33 | type SearchResponse struct { | 38 | type SearchResponse struct { |
| 34 | Players []UserShort `json:"players"` | 39 | Players []UserShort `json:"players"` |
| 35 | Maps []MapShort `json:"maps"` | 40 | Maps []MapShort `json:"maps"` |