Search documentation of ash

# Ash.Reactor.Dsl.Create (ash v3.4.71)

View Source

The `create` entity for the `Ash.Reactor` reactor extension.

# Summary

## Types

t()

# Types

# t()

    @type t() :: %Ash.Reactor.Dsl.Create{
      __identifier__: any(),
      action: atom(),
      action_step?: true,
      actor: nil | Ash.Reactor.Dsl.Actor.t(),
      async?: boolean(),
      authorize?: boolean() | nil,
      context: nil | Ash.Reactor.Dsl.Context.t(),
      description: String.t() | nil,
      domain: Ash.Domain.t(),
      guards: [Reactor.Guard.Build.t()],
      initial: nil | Ash.Resource.t() | Reactor.Template.t(),
      inputs: [Ash.Reactor.Dsl.Inputs.t()],
      load: nil | Ash.Reactor.Dsl.ActionLoad.t(),
      name: atom(),
      resource: module(),
      tenant: nil | Ash.Reactor.Dsl.Tenant.t(),
      transform: term(),
      type: :create,
      undo: :always | :never | :outside_transaction,
      undo_action: atom(),
      upsert?: boolean(),
      upsert_identity: nil | atom(),
      wait_for: [Reactor.Dsl.WaitFor.t()]
    }