@trophyso/node
Version:
NodeJS SDK for the Trophy API
21 lines (20 loc) • 634 B
TypeScript
import type * as TrophyApi from "../index";
/**
* A points system returned from the admin points systems endpoints.
*/
export interface AdminPointsSystem {
/** The UUID of the points system. */
id: string;
/** The points system name. */
name: string;
/** The points system key. */
key: string;
/** The points system description. */
description: string;
/** The points system status. */
status: TrophyApi.AdminPointsSystemStatus;
/** The badge for the points system. */
badge?: TrophyApi.AdminPointsSystemBadge;
/** The maximum points a user can earn. */
maxPoints?: number;
}