WplAi.AST.Input (WPL-AI v1.12.0)

Copy Markdown View Source

Personalization input definition

Summary

Types

input_type()

@type input_type() :: :number | :string | :array | :enum | :boolean

t()

@type t() :: %WplAi.AST.Input{
  label: String.t() | nil,
  name: String.t(),
  options: [String.t()] | nil,
  source: String.t(),
  type: input_type()
}