Skip to content

NowValue

NowValue = object

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

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:2107

The current time.


optional offset?: object

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

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:2116

Where it stands in the filter text.