Skip to content

MeterInput

fraction: number

How much is used, 0…1.


label: string

What it measures, short: "Session", "Week", "Opus".


optional level?: MeterLevel

The source’s own reading (“warning” at its own threshold). Omitted: graded by fraction.


optional limit?: TypedValue


optional resetsAt?: DateInput

When it refills.


optional used?: TypedValue

The amount used, when the allowance is an amount (currency(12.4, "USD")).