View Source
Ash.Resource.Calculation
(ash v2.9.24)
Represents a named calculation on a resource
@type t() :: %Ash.Resource.Calculation{
allow_nil?: boolean(),
arguments: [any()],
calculation: {:ok, {atom(), any()}} | {:error, String.t()},
constraints: term(),
description: String.t() | nil,
filterable?: term(),
load: term(),
name: atom(),
private?: boolean(),
select: term(),
type: term()
}