defmodule NLdoc.Spec.Event do @moduledoc """ This module defines the Ecto schema for the NLdoc Event Specification. """ use EnumType @doc """ Returns the version of the NLdoc Event spec that the `NLdoc.Spec.Event` library implements. """ @version "3.0.3" @spec version() :: String.t() def version, do: @version @type object :: nil @objects [ NLdoc.Spec.Event.Queued, NLdoc.Spec.Event.Progress, NLdoc.Spec.Event.Error, NLdoc.Spec.Event.Done ] def objects, do: @objects end