Library referenceTypes
AppChallenge
type AppChallenge = {
challenge_id: number;
completed: boolean;
ends_at?: string;
icon: number;
name: string;
progress: number;
requirement: Record<string, unknown>;
rewards: Record<string, unknown>;
target: number;
type: AppChallengeType;
};one row of GET /app/v1/stats/challenges
Properties
| Property | Type | Description |
|---|---|---|
challenge_id | number | - |
completed | boolean | - |
ends_at? | string | absent for a challenge without an end date |
icon | number | - |
name | string | - |
progress | number | - |
requirement | Record<string, unknown> | the game's own challenge definition, passed through |
rewards | Record<string, unknown> | the game's own reward definition, passed through |
target | number | - |
type | AppChallengeType | - |