UNPKG

@trophyso/node

Version:
15 lines (14 loc) 508 B
import type * as TrophyApi from "../index"; export interface PointsAward { /** The ID of the trigger award */ id?: string; /** The points awarded by this trigger */ awarded?: number; /** The date these points were awarded, in ISO 8601 format. */ date?: string; /** The user's total points after this award occurred. */ total?: number; trigger?: TrophyApi.PointsTrigger; /** Array of points boosts that applied to this award. */ boosts?: TrophyApi.PointsBoost[]; }