Skip to content

DurationLiteral

DurationLiteral = object

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

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

amount: number

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

How many units.


kind: "duration"

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

A duration.


span: Span

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

Where it stands in the filter text.


unit: DurationUnit

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

The unit.