View Source Ash.Resource.Actions.Action (ash v3.0.11)

Represents a custom action on a resource.

Summary

Types

@type t() :: %Ash.Resource.Actions.Action{
  allow_nil?: boolean(),
  arguments: [Ash.Resource.Actions.Argument.t()],
  constraints: Keyword.t(),
  description: String.t() | nil,
  name: atom(),
  primary?: boolean(),
  returns: Ash.Type.t() | nil,
  run: {module(), Keyword.t()},
  touches_resources: [Ash.Resource.t()],
  transaction?: boolean(),
  type: :action
}

Functions