AntlUtilsEcto.Factory behaviour (antl_utils_ecto v2.10.1) View Source

Link to this section Summary

Link to this section Functions

Link to this function

add(datetime, amount_of_time, time_unit \\ :second)

View Source

Specs

Specs

id() :: integer()

Specs

params_for(struct()) :: map()
Link to this function

shortcode_id(prefix \\ nil)

View Source

Specs

shortcode_id(nil | binary()) :: binary()
Link to this function

shortcode_uuid(prefix \\ nil)

View Source

Specs

shortcode_uuid(nil | binary()) :: binary()

Specs

utc_now() :: DateTime.t()

Specs

uuid() :: <<_::288>>

Link to this section Callbacks

Specs

build(atom(), map() | list()) :: %{optional(atom()) => any()}