ArchAstro. Types. AgentUpgradeFieldChange
(archastro v0.2.0)
Copy Markdown
One field-level diff entry within an agent upgrade change, describing how a single field will change.
baseline and locally_edited are populated only for agent_base entries; child resource entries (tools, routines, skills, computers) carry only field, old, and new.
Summary
Types
@type t() :: %ArchAstro.Types.AgentUpgradeFieldChange{ baseline: ArchAstro.JSON.t() | ArchAstro.Unset.t(), field: String.t(), locally_edited: boolean() | ArchAstro.Unset.t(), new: ArchAstro.JSON.t() | ArchAstro.Unset.t(), old: ArchAstro.JSON.t() | ArchAstro.Unset.t() }
Functions
@spec from_map(ArchAstro.JSON.object()) :: t()
@spec matches?(ArchAstro.JSON.t()) :: boolean()
@spec to_map(t()) :: ArchAstro.JSON.object()