Skip to content

@tavora/sdk / LeaderboardPeriod

Type Alias: LeaderboardPeriod ​

LeaderboardPeriod = "day" | "week" | "month" | "year" | "all"

Defined in: packages/sdk/src/protocol.ts:659

A stretch of time a board can be read for: one local day, one week (Monday to Sunday), one calendar month, one year, or everything (all, the default). A result counts for the periods its day is in. Streak boards have no day period.

For Tavora 0.23.9 and @tavora/sdk 0.3.3. Code under the MIT License. The Tavora name and logo are not covered by it.