View Source Ash.Resource.Actions.Action (ash v2.21.13)

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(),
  run: {module(), Keyword.t()},
  touches_resources: [Ash.Resource.t()],
  transaction?: boolean(),
  type: :action
}

Functions