API Reference ash_phoenix v2.2.0

View Source

Modules

An extension to add form builders to the code interface.

A module to help you create complex forms that generate Ash filters.

Represents the arguments to a calculation being filtered on

Represents an individual predicate appearing in a filter form.

A module to allow you to fluidly use resources with Phoenix forms.

A tool to automatically generate available nested forms based on a resource and action.

Raised when an invalid path is used to find, update or remove a form

Raised when a form action should happen but no action of the appropriate type has been configured

Raised when a data needed to be used but the required data was not loaded

Raised when attempting to refer to a form but no nested form with that name was configured.

Raised when a form needed to be constructed but the resource for that form could not be determined

A sentinal value used when editing a union that has non-map values

A protocol for allowing errors to be rendered into a form.

A customized form code interface

Provides a mapping from an Ash Error type to a plain map that can be used with the Inertia.Controller.assign_errors/2 function.

Introspection helpers for the AshPhoenix DSL extension

Utilities for keeping Ash query results up to date in a LiveView.

This is a basic hook that loads the current tenant assign from a given value set on subdomain.

This is a basic plug that loads the current tenant assign from a given value set on subdomain.

Mix Tasks

Installs AshPhoenix into a project. Should be called with mix igniter.install ash_phoenix

This task renders .ex and .heex templates and copies them to specified directories.

Generates liveviews for a given domain and resource.