defmodule Ash.Resource.Actions.SharedOptions do @moduledoc false @shared_options [ name: [ type: :atom, required: true, doc: "The name of the action" ], primary?: [ type: :boolean, default: false, doc: "Whether or not this action should be used when no action is specified by the caller." ], description: [ type: :string, doc: "An optional description for the action" ] ] def shared_options do @shared_options end end