Skip to content

DoCurious API Reference / types / LevelDefinition

Interface: LevelDefinition ​

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

A single level in the 15-level progression system, with XP thresholds and theme color.

Remarks ​

Level names are thematically tied to exploration (Newcomer -> Legend). The color is used for level badges, progress bars, and profile accents. See LEVEL_DEFINITIONS for the complete progression table.

Properties ​

color ​

color: string

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

Theme color token used for level badges and progress bars


featureUnlocks? ​

optional featureUnlocks: string[]

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

Platform features unlocked at this level


level ​

level: number

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

Level number (1-15)


maxXp ​

maxXp: number

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

XP threshold for the next level (Infinity for max level)


minXp ​

minXp: number

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

Minimum cumulative XP to reach this level


name ​

name: string

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

Display name (e.g., "Explorer", "Champion", "Legend")

DoCurious Platform Documentation