krapio
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

PropertyTypeDescription
challenge_idnumber-
completedboolean-
ends_at?stringabsent for a challenge without an end date
iconnumber-
namestring-
progressnumber-
requirementRecord<string, unknown>the game's own challenge definition, passed through
rewardsRecord<string, unknown>the game's own reward definition, passed through
targetnumber-
typeAppChallengeType-

On this page