@trophyso/node
Version:
NodeJS SDK for the Trophy API
18 lines (17 loc) • 534 B
TypeScript
/**
* Base points system fields shared across responses.
*/
export interface PointsResponse {
/** The ID of the points system */
id: string;
/** The key of the points system */
key: string;
/** The name of the points system */
name: string;
/** The description of the points system */
description?: string;
/** The URL of the badge image for the points system */
badgeUrl?: string;
/** The maximum number of points a user can be awarded in this points system */
maxPoints?: number;
}