TimestampEvent
One recorded timestamp of an event: what it claims, when it claims it, and when that claim was recorded.
import type { TimestampEvent } from "@northguild/gmt";Members
Section titled “Members”| Member | Type | Description |
|---|---|---|
classifier | "PLN" | "EST" | "REQ" | "ACT" (TimestampClass) | What the timestamp claims to be: planned, estimated, requested or actual. |
at | string | The moment the timestamp names, as an ISO 8601 instant (Z or an offset) or zoned string. Functions that return it echo it exactly as written. |
recordedAt | string | When the timestamp was recorded or received, as an ISO 8601 instant or zoned string. It orders revisions of the same class: the latest recorded is the current one. |
Definition
Section titled “Definition”type TimestampEvent = { /** What the timestamp claims to be: planned, estimated, requested or actual. */ classifier: TimestampClass; /** * The moment the timestamp names, as an ISO 8601 instant (`Z` or an offset) or zoned string. * Functions that return it echo it exactly as written. */ at: string; /** * When the timestamp was recorded or received, as an ISO 8601 instant or zoned string. It * orders revisions of the same class: the latest recorded is the current one. */ recordedAt: string;};