Introspection helpers for the AshLua.EvalActions extension.
Summary
Functions
Returns the {resource, action} tuples to filter the manifest by — one per
declared (resource, action) pair. :all expands to every public action on
the resource at the time of expansion.
Name of the synthesized docs action. Defaults to :docs.
Name of the synthesized eval action. Defaults to :eval.
Returns the configured %Expose{} entries (one per resource ... entry).
OTP app to scan when building the manifest for :eval / :docs.
Functions
@spec action_entrypoints(Ash.Resource.t() | Spark.Dsl.t()) :: [{module(), atom()}]
Returns the {resource, action} tuples to filter the manifest by — one per
declared (resource, action) pair. :all expands to every public action on
the resource at the time of expansion.
@spec docs_action_name(Ash.Resource.t() | Spark.Dsl.t()) :: atom()
Name of the synthesized docs action. Defaults to :docs.
@spec eval_action_name(Ash.Resource.t() | Spark.Dsl.t()) :: atom()
Name of the synthesized eval action. Defaults to :eval.
@spec exposes(Ash.Resource.t() | Spark.Dsl.t()) :: [AshLua.EvalActions.Expose.t()]
Returns the configured %Expose{} entries (one per resource ... entry).
@spec otp_app(Ash.Resource.t() | Spark.Dsl.t()) :: atom() | nil
OTP app to scan when building the manifest for :eval / :docs.
Falls back to the resource's domain's :otp_app when not explicitly configured.