diff --git a/generated/models/index.ts b/generated/models/index.ts index a0d1e1f..25174ef 100644 --- a/generated/models/index.ts +++ b/generated/models/index.ts @@ -15,17 +15,47 @@ export interface ActivityMetric { label: string; /** * - * @type {number} + * @type {ActivityMetricValue} * @memberof ActivityMetric */ - value: number; + value: ActivityMetricValue; /** * * @type {string} * @memberof ActivityMetric */ unit?: string; + /** + * Optional per-metric accent color for metrics and stats activities. + * @type {string} + * @memberof ActivityMetric + */ + color?: ActivityMetricColorEnum; } + + +/** + * @export + */ +export const ActivityMetricColorEnum = { + Lime: 'lime', + Green: 'green', + Cyan: 'cyan', + Blue: 'blue', + Purple: 'purple', + Magenta: 'magenta', + Red: 'red', + Orange: 'orange', + Yellow: 'yellow' +} as const; +export type ActivityMetricColorEnum = typeof ActivityMetricColorEnum[keyof typeof ActivityMetricColorEnum]; + +/** + * @type ActivityMetricValue + * + * @export + */ +export type ActivityMetricValue = number | string; /** * * @export