leaderboards: ListEntries/SubmitEntry/UpdateEntry/DeleteEntry against /entries
CI / build (push) Successful in 50s

This commit is contained in:
edmand46
2026-08-26 13:53:27 +03:00
parent 4b5922c92f
commit db1223c195
5 changed files with 41 additions and 5 deletions
@@ -2,6 +2,6 @@
package models
type GetLeaderboardResultsResponse struct {
type ListLeaderboardEntriesResponse struct {
Entries []RankEntry `json:"entries,omitempty"`
}
+8
View File
@@ -0,0 +1,8 @@
// Code generated by apigen. DO NOT EDIT.
package models
type SubmitLeaderboardEntryRequest struct {
PlayerID string `json:"playerId,omitempty"`
Score float64 `json:"score,omitempty"`
}
+7
View File
@@ -0,0 +1,7 @@
// Code generated by apigen. DO NOT EDIT.
package models
type UpdateLeaderboardEntryRequest struct {
Score float64 `json:"score,omitempty"`
}