StatifierBlocks.ViewModel.PaletteGroup (StatifierBlocks v0.1.0)

Copy Markdown View Source

One palette section: types sharing entry.group, sorted by entry.order then entry.label (ADR-0005 decision 10's grouping rule).

Summary

Types

entry()

@type entry() :: %{
  type_name: StatifierBlocks.Block.type_name(),
  module: module(),
  entry: StatifierBlocks.BlockType.palette_entry()
}

t()

@type t() :: %StatifierBlocks.ViewModel.PaletteGroup{
  entries: [entry()],
  name: String.t()
}