Reset
A rest that resets a counter: a run of at least consecutive in any of statuses. The counter starts again where the run ends.
import type { Reset } from "@northguild/gmt";Members
Section titled “Members”| Member | Type | Description |
|---|---|---|
statuses | S[] | The statuses the run is made of. Touching entries in any of them form one run. |
consecutive | string | How long the run must be, as a positive ISO 8601 duration of exact time ("PT10H"). |
Definition
Section titled “Definition”type Reset<S extends string = string> = { /** The statuses the run is made of. Touching entries in any of them form one run. */ statuses: S[]; /** How long the run must be, as a positive ISO 8601 duration of exact time (`"PT10H"`). */ consecutive: string;};