lib/ash/flow/step/create.ex

defmodule Ash.Flow.Step.Create do
  @moduledoc "Runs a create action."
  use Ash.Flow.Step.BuiltinStep, [:resource, :action, :api, :tenant, :input]
  @shared_opts Ash.Flow.Step.shared_opts()
  @shared_action_opts Ash.Flow.Step.shared_action_opts()

  def schema,
    do:
      []
      |> Ash.OptionsHelpers.merge_schemas(@shared_opts, "Global Options")
      |> Ash.OptionsHelpers.merge_schemas(@shared_action_opts, "Action Step Opts")
end