Adds team and hunter leaderboard endpoints

This commit is contained in:
2026-05-15 14:05:55 -05:00
parent eed5a0dd56
commit b4f72a318d
10 changed files with 138 additions and 5 deletions

View File

@@ -0,0 +1,10 @@
package net.halfbinary.scavengerhuntapi.model.converter
import net.halfbinary.scavengerhuntapi.model.domain.HunterLeaderboardEntry
import net.halfbinary.scavengerhuntapi.model.response.HunterLeaderboardResponse
fun HunterLeaderboardEntry.toResponse() = HunterLeaderboardResponse(
rank = rank,
hunterName = hunterName,
score = score
)