Skip to content

NowValue

NowValue = object

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

now() in a filter, the moment the filter runs, with an optional offset such as now() - 7d.

kind: "now"

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

The current time.


optional offset?: object

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

A duration added or taken off.

duration: DurationLiteral

The duration.

sign: "+" | "-"

Whether the duration is added or taken off.


span: Span

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

Where it stands in the filter text.