Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 1.53 KB

metric.md

File metadata and controls

23 lines (17 loc) · 1.53 KB

Metric

Information about a metric.

Example Usage

import { Metric } from "@polar-sh/sdk/models/components/metric.js";

let value: Metric = {
  slug: "<value>",
  displayName: "Providenci_OHara",
  type: "currency",
};

Fields

Field Type Required Description
slug string ✔️ Unique identifier for the metric.
displayName string ✔️ Human-readable name for the metric.
type components.MetricType ✔️ N/A