mirror of
https://github.com/ash-project/ash.git
synced 2024-09-20 21:43:02 +12:00
14 lines
291 B
Elixir
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
|