View Source AshPyro.Extensions.Resource.Schema (AshPyro v0.1.0)

Shared types for resource extension schemas.

Summary

Functions

schema type for CSS classes accepted by an Ash component

build an inheritable type

acceptable formats for sorting options

Types

@type css_class() :: any() | (map() -> any())
@type sort() ::
  String.t() | [{atom(), Ash.Sort.sort_order()}] | [atom()] | [String.t()] | nil

Functions

schema type for CSS classes accepted by an Ash component

Link to this function

inheritable_schema_type(type \\ :string)

View Source

build an inheritable type

acceptable formats for sorting options