Skip to content

DurationLiteral

DurationLiteral = object

Defined in: packages/schema/src/model.ts:2055

A length of time in a filter, such as 7d.

amount: number

Defined in: packages/schema/src/model.ts:2059

How many units.


kind: "duration"

Defined in: packages/schema/src/model.ts:2057

A duration.


span: Span

Defined in: packages/schema/src/model.ts:2063

Where it stands in the filter text.


unit: DurationUnit

Defined in: packages/schema/src/model.ts:2061

The unit.