ash v1.24.1 Ash View Source

Types and simple helpers for Ash

Link to this section Summary

Link to this section Types

Specs

Specs

action_type() :: :read | :create | :update | :destroy

Specs

actor() :: record()

Specs

Specs

aggregate_kind() :: Ash.Query.Aggregate.kind()

Specs

api() :: module()

Specs

attribute() :: Ash.Resource.Attribute.t()

Specs

calculation() :: Ash.Resource.Calculation.t()
Link to this type

cardinality_many_relationship()

View Source

Specs

Link to this type

cardinality_one_relationship()

View Source

Specs

Specs

changeset() :: Ash.Changeset.t()

Specs

data_layer() :: module()

Specs

data_layer_query() :: struct()

Specs

error() :: struct()

Specs

filter() :: Ash.Filter.t()

Specs

notification() :: Ash.Notifier.Notification.t()

Specs

Specs

params() :: Keyword.t()

Specs

primary_key() :: record() | map() | term()

Specs

query() :: Ash.Query.t()

Specs

record() :: struct()

Specs

Link to this type

relationship_cardinality()

View Source

Specs

relationship_cardinality() :: :many | :one

Specs

resource() :: module()

Specs

side_loads() :: term()

Specs

sort() :: [atom() | {atom(), :asc} | {atom(), :desc}]

Specs

validation() :: Ash.Resource.Validation.t()

Link to this section Functions

Specs

extensions(resource() | api()) :: [module()]

Returns all extensions of a resource or api

Link to this function

implements_behaviour?(module, behaviour)

View Source