Skip to content

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

Variable: StandingView ​

const StandingView: ZodObject<{ conduct: ZodObject<{ band: ZodEnum<{ good: "good"; low: "low"; warning: "warning"; }>; moved: ZodArray<ZodObject<{ at: ZodString; up: ZodBoolean; why: ZodArray<ZodString>; }, $strip>>; }, $strip>; guest: ZodBoolean; next: ZodNullable<ZodObject<{ key: ZodString; min: ZodNumber; name: ZodString; needed: ZodNumber; tier: ZodNumber; }, $strip>>; respect: ZodNumber; season: ZodObject<{ id: ZodString; respect: ZodNumber; }, $strip>; tier: ZodObject<{ key: ZodString; min: ZodNumber; name: ZodString; tier: ZodNumber; }, $strip>; }, $strip>

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

The player's own standing (GET /me/standing): whether they are a guest (who holds none), their Respect and tier, the next tier and the Respect it still needs (none at the top), the season's id and the Respect they earned in it, their conduct band and the last times it moved (up or down, and why: the ledger's words, clean, abandon, teamKill, teamDamage, sabotage, idle, kicked, report, adjusted).