RelayMark.Document (relay_mark_elixir v0.5.2)

Copy Markdown View Source

RelayMark document AST struct.

Summary

Types

t()

@type t() :: %RelayMark.Document{
  annotations: [RelayMark.Annotation.t()],
  blocks: [RelayMark.Block.t()],
  frontmatter: map(),
  resources: [RelayMark.Resource.t()],
  type: String.t(),
  version: pos_integer()
}

Functions

from_map(map)

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