API Reference / TemporalAnchor · type

Type Alias: TemporalAnchor

type TemporalAnchor = 
  | {
  kind: "instant";
  utc: string;
}
  | {
  earliest: string;
  kind: "range";
  latest: string;
}
  | {
  anchorId: string;
  kind: "relative";
  offset?: string;
  relation: "before" | "after" | "during";
}
  | {
  calendar?: string;
  kind: "narrative";
  sequence?: number;
  value: string;
}
  | {
  kind: "symbolic";
  rationale: string;
}
  | {
  kind: "none";
  reason: "atemporal" | "time_irrelevant" | "intentionally_unset";
};

How a chart's time is known.

Start building

Quickstart →