AshDispatch.Resource.Dsl.Event (AshDispatch v0.5.1)

View Source

DSL entity struct for event definitions in resources.

This struct holds the complete configuration for an event defined in a resource.

Summary

Types

priority()

@type priority() :: :urgent | :standard | :informational

t()

@type t() :: %AshDispatch.Resource.Dsl.Event{
  __spark_metadata__: any(),
  channels: [AshDispatch.Dsl.Channel.t()],
  content: map(),
  data_key: atom() | nil,
  domain: atom() | nil,
  event_id: String.t() | nil,
  include_actor_as: atom() | nil,
  invalidates: [String.t()],
  load: [atom() | {atom(), any()}],
  locale_from: atom() | nil,
  locales: [String.t()],
  metadata: map(),
  module: module() | nil,
  name: atom(),
  priority: priority(),
  recipient: map(),
  recipient_filter: map(),
  template_path: String.t() | nil,
  trigger_on: atom() | [atom()]
}