Information about a metric.
import { Metric } from "@polar-sh/sdk/models/components/metric.js";
let value: Metric = {
slug: "<value>",
displayName: "Providenci_OHara",
type: "currency",
};
Field | Type | Required | Description |
---|---|---|---|
slug |
string | ✔️ | Unique identifier for the metric. |
displayName |
string | ✔️ | Human-readable name for the metric. |
type |
components.MetricType | ✔️ | N/A |