Skip to content

five-on-it / packages/protocol/src/standing / LeaderboardView

Variable: LeaderboardView ​

const LeaderboardView: ZodObject<{ current: ZodString; entries: ZodArray<ZodObject<{ name: ZodString; rank: ZodNumber; respect: ZodNumber; tier: ZodObject<{ key: ZodString; min: ZodNumber; name: ZodString; tier: ZodNumber; }, $strip>; you: ZodBoolean; }, $strip>>; season: ZodString; seasons: ZodArray<ZodString>; }, $strip>

Defined in: packages/protocol/src/standing.ts:66

The leaderboard (GET /leaderboard?season=&limit=): the season it counts (all: all time), the current one and the ones before it that may be asked for, and its lines (a place, a name, a tier, the Respect counted, whether it is the reader's own).