Imp.Playbook.Operation.Add (Imp v0.5.0)

Copy Markdown View Source

Adds one normalized entry.

Summary

Types

t()

@type t() :: %Imp.Playbook.Operation.Add{
  content: String.t(),
  harmful: non_neg_integer(),
  helpful: non_neg_integer(),
  id: String.t() | nil,
  provenance: Imp.Playbook.Provenance.t() | term(),
  section: String.t(),
  status: Imp.Playbook.Entry.status()
}

Functions

new(content, opts \\ [])

@spec new(String.t(), keyword()) :: t()