AshPhoenixTranslations.TranslatableAttribute (ash_phoenix_translations v1.0.0)

View Source

Defines a translatable attribute in an Ash resource.

This module provides the DSL entity for defining translatable attributes with support for multiple locales, validation, and various configurations.

Summary

Types

t()

@type t() :: %AshPhoenixTranslations.TranslatableAttribute{
  constraints: keyword(),
  description: String.t() | nil,
  fallback: atom() | nil,
  locales: [atom()],
  markdown: boolean(),
  name: atom(),
  required: [atom()],
  type: atom(),
  validation: keyword()
}