Ash.Info.Manifest.Action (ash v3.25.0)

Copy Markdown View Source

Represents a resource action in the API specification.

Summary

Types

action_type()

@type action_type() :: :read | :create | :update | :destroy | :action

t()

@type t() :: %Ash.Info.Manifest.Action{
  accept: [atom()] | nil,
  allow_nil_input: [atom()] | nil,
  arguments: [Ash.Info.Manifest.Argument.t()],
  custom: map(),
  description: String.t() | nil,
  get?: boolean(),
  metadata: [Ash.Info.Manifest.Metadata.t()],
  name: atom(),
  pagination: Ash.Info.Manifest.Pagination.t() | nil,
  primary?: boolean(),
  require_attributes: [atom()] | nil,
  returns: Ash.Info.Manifest.Type.t() | nil,
  type: action_type()
}