RelayMark.Composition (relay_mark_elixir v0.6.1)

Copy Markdown View Source

Generic portable values for already-authorized linear paper composition.

These values carry semantic roles, stable anchors, placement, and safe fallback policy. They intentionally contain no Relay grants, principals, visibility decisions, or resolved private values.

Summary

Types

role()

@type role() :: :authored | :source | :generated | :discussion | :ink

t()

@type t() :: %RelayMark.Composition{
  layers: [RelayMark.Composition.Layer.t()],
  type: String.t(),
  version: pos_integer()
}

Functions

from_map(map)

@spec from_map(map()) :: t()