Squidie.ReadModel.Timeline (squidie v0.3.0)

Copy Markdown View Source

Chronological, redaction-safe event projection for one workflow run.

Summary

Functions

Projects a stable timeline from the public inspection snapshot.

Types

t()

@type t() :: %Squidie.ReadModel.Timeline{
  events: [Squidie.ReadModel.Timeline.Event.t()],
  queue: String.t(),
  run_id: String.t(),
  status: atom(),
  terminal?: boolean(),
  terminal_status: atom() | nil,
  workflow: String.t() | nil
}

Functions

from_snapshot(snapshot)

@spec from_snapshot(Squidie.ReadModel.Inspection.Snapshot.t()) :: t()

Projects a stable timeline from the public inspection snapshot.