Skip to content

DoCurious API Reference / types / BadgeRarity

Type Alias: BadgeRarity

BadgeRarity = "common" | "uncommon" | "rare" | "epic" | "legendary"

Defined in: types/gamification.types.ts:48

Badge rarity tier, which also determines the XP bonus awarded when earned.

Remarks

XP bonuses by rarity: common=10, uncommon=25, rare=50, epic=100, legendary=250. See XP_VALUES for the full mapping.

DoCurious Platform Documentation