Slackblocks.Types (slackblocks v2.8.0)

View Source

Role unions, closed enum atoms and JSON data types.

Summary

Types

alert_level()

@type alert_level() :: :default | :info | :warning | :error | :success

block()

button_style()

@type button_style() :: :primary | :danger

chart()

column_align()

@type column_align() :: :left | :center | :right

container_width()

@type container_width() :: :narrow | :standard | :wide | :full

context_actions_element()

context_element()

data_table_cell()

element()

icon_button_icon()

@type icon_button_icon() :: :trash

input_element()

json()

@type json() ::
  nil
  | boolean()
  | number()
  | binary()
  | [json()]
  | %{optional(binary()) => json()}

response_type()

@type response_type() :: :in_channel | :ephemeral

rich_text_block_element()

rich_text_list_style()

@type rich_text_list_style() :: :bullet | :ordered

rich_text_section_element()

table_cell()

task_status()

@type task_status() :: :pending | :in_progress | :complete | :error

text()