Current section

Files

Jump to
opencode_sdk lib opencode generated event_session_next_compaction_delta_properties.ex
Raw

lib/opencode/generated/event_session_next_compaction_delta_properties.ex

defmodule OpenCode.Generated.EventSessionNextCompactionDeltaProperties do
@moduledoc """
Provides struct and type for a EventSessionNextCompactionDeltaProperties
"""
@type t :: %__MODULE__{session_id: String.t(), text: String.t(), timestamp: number}
defstruct [:session_id, :text, :timestamp]
@doc false
@spec __fields__(atom) :: keyword
def __fields__(type \\ :t)
def __fields__(:t) do
[session_id: :string, text: :string, timestamp: :number]
end
end