@trophyso/node
Version:
NodeJS SDK for the Trophy API
19 lines (18 loc) • 528 B
TypeScript
import type * as TrophyApi from "../index";
/**
* A points level as returned from admin endpoints.
*/
export interface AdminPointsLevel {
/** The UUID of the level. */
id: string;
/** The name of the level. */
name: string;
/** The level key. */
key: string;
/** The threshold points value for the level. */
points: number;
/** The level description. */
description: string;
/** The badge for the level, or null if no badge is set. */
badge?: TrophyApi.AdminPointsLevelBadge;
}