Docspring.Model.TemplateDiff (docspring v4.3.0)

What changed in a version of a template since the version before it: the draft since the latest published version, or a published version since the one before it. Fields are compared with all their settings, so y is measured from the top of each field's page.

Summary

Types

t()

@type t() :: %Docspring.Model.TemplateDiff{
  changed_settings: [String.t()],
  document_changed: boolean(),
  fields: Docspring.Model.TemplateFieldChanges.t(),
  from_version: String.t() | nil,
  summary: Docspring.Model.TemplateDiffSummary.t(),
  template_id: String.t(),
  to_version: String.t() | nil
}

Functions

decode(value)