View Source AshPaperTrail.Resource.Info (ash_paper_trail v0.2.1)

Introspection helpers for AshPaperTrail.Resource

Summary

Functions

Link to this function

attributes_as_attributes(resource)

View Source
@spec attributes_as_attributes(Spark.Dsl.t() | Ash.Resource.t()) :: [atom()]
Link to this function

belongs_to_actor(resource)

View Source
@spec belongs_to_actor(Spark.Dsl.t() | Ash.Resource.t()) :: [atom()]
Link to this function

change_tracking_mode(resource)

View Source
@spec change_tracking_mode(Spark.Dsl.t() | Ash.Resource.t()) :: atom()
Link to this function

ignore_actions(resource)

View Source
@spec ignore_actions(Spark.Dsl.t() | Ash.Resource.t()) :: [atom()]
Link to this function

ignore_attributes(resource)

View Source
@spec ignore_attributes(Spark.Dsl.t() | Ash.Resource.t()) :: [atom()]
@spec mixin(Spark.Dsl.t() | Ash.Resource.t()) ::
  {module(), atom(), list()} | module() | nil
@spec on_actions(Spark.Dsl.t() | Ash.Resource.t()) :: [atom()]
Link to this function

primary_key_type(resource)

View Source
@spec primary_key_type(Spark.Dsl.t() | Ash.Resource.t()) :: atom()
Link to this function

reference_source?(resource)

View Source
@spec reference_source?(Spark.Dsl.t() | Ash.Resource.t()) :: boolean()
Link to this function

relationship_opts(resource)

View Source
@spec relationship_opts(Spark.Dsl.t() | Ash.Resource.t()) :: Keyword.t()
Link to this function

resource_identifier(resource)

View Source
@spec resource_identifier(Spark.Dsl.t() | Ash.Resource.t()) :: atom()
Link to this function

store_action_name?(resource)

View Source
@spec store_action_name?(Spark.Dsl.t() | Ash.Resource.t()) :: boolean()
Link to this function

store_resource_identifier?(resource)

View Source
@spec store_resource_identifier?(Spark.Dsl.t() | Ash.Resource.t()) :: boolean()
Link to this function

version_extensions(resource)

View Source
@spec version_extensions(Spark.Dsl.t() | Ash.Resource.t()) :: Keyword.t()
Link to this function

version_resource(resource)

View Source
@spec version_resource(Spark.Dsl.t() | Ash.Resource.t()) :: Ash.Resource.t()