Read-only execution-style preview for a runtime-authored workflow spec.
Preview values are intended for visual editors and host tooling that need to inspect sample payload behavior before publishing or starting a durable run.
Summary
Functions
Converts a spec execution preview to a plain map for JSON encoding.
Types
@type t() :: %Squidie.Runs.SpecPreview{ definition_version: String.t() | nil, errors: [map()], nodes: [preview_node()], run_id: nil, status: :completed | :failed | :blocked | :invalid, trigger: atom() | nil, workflow: module() }