Current section

Files

Jump to
opencode_sdk lib opencode generated event_command_executed.ex
Raw

lib/opencode/generated/event_command_executed.ex

defmodule OpenCode.Generated.EventCommandExecuted do
@moduledoc """
Provides struct and type for a EventCommandExecuted
"""
@type t :: %__MODULE__{
properties: OpenCode.Generated.EventCommandExecutedProperties.t(),
type: String.t()
}
defstruct [:properties, :type]
@doc false
@spec __fields__(atom) :: keyword
def __fields__(type \\ :t)
def __fields__(:t) do
[
properties: {OpenCode.Generated.EventCommandExecutedProperties, :t},
type: {:const, "command.executed"}
]
end
end