ash/lib/ash/options_helpers.ex

14 lines
291 B
Elixir

defmodule Ash.OptionsHelpers do
@moduledoc """
Helpers for working with nimble options
"""
def ash_type do
{:spark_type, Ash.Type, :builtins,
[{"{:array, inner_type}", "list", "{:array, ${1:inner_type}}"}]}
end
def ash_resource do
{:spark, Ash.Resource}
end
end