Poney.Scene (Poney v0.1.0)

Copy Markdown View Source

A scene of a walkthrough: the point of it in plain words (text), the view it shows (view, an id; nil for a scene of code only), what to keep bright (focus), numbered notes on elements (callouts), the code, the proof, a path to play (trace), and emphasis by meaning (effects, badges). Refs are text, such as "entity:order-service"; see Poney.Ref.

Summary

Types

t()

@type t() :: %Poney.Scene{
  badges: [Poney.Scene.Badge.t()],
  callouts: [Poney.Scene.Callout.t()],
  cases: [Poney.Scene.Case.t()],
  code: [Poney.Scene.CodeBlock.t()],
  effects: [Poney.Scene.Effect.t()],
  focus: [String.t()],
  id: String.t(),
  proof: [Poney.Scene.Proof.t()],
  question: String.t() | nil,
  questions: [String.t()],
  risk: String.t(),
  text: String.t(),
  title: String.t(),
  trace: [Poney.Scene.TraceStep.t()],
  view: String.t() | nil
}