@trophyso/node
Version:
NodeJS SDK for the Trophy API
17 lines (16 loc) • 453 B
TypeScript
import type * as TrophyApi from "../index";
/**
* A successfully created metric returned from the create endpoint.
*/
export interface CreatedMetric {
/** The UUID of the created metric. */
id: string;
/** The metric name. */
name: string;
/** The metric key. */
key: string;
/** The metric unit type. */
unitType: TrophyApi.CreatedMetricUnitType;
/** The stored units value for the metric. */
units: string;
}