ArchAstro.Types.SolutionImportResult (archastro v0.2.0)

Copy Markdown

The machine-readable outcome of a Solution import attempt, indicating whether the import succeeded or requires an upgrade flow to resolve a version conflict.

Summary

Types

t()

@type t() :: %ArchAstro.Types.SolutionImportResult{
  code: String.t() | ArchAstro.Unset.t(),
  dry_run: boolean(),
  existing_solution_version: String.t() | ArchAstro.Unset.t(),
  incoming_solution_version: String.t() | ArchAstro.Unset.t(),
  message: String.t() | ArchAstro.Unset.t(),
  status: String.t(),
  upgrade_required: boolean(),
  warnings: [ArchAstro.Types.SolutionImportWarning.t()] | ArchAstro.Unset.t()
}

Functions

from_map(data)

@spec from_map(ArchAstro.JSON.object()) :: t()

matches?(value)

@spec matches?(ArchAstro.JSON.t()) :: boolean()

to_map(value)

@spec to_map(t()) :: ArchAstro.JSON.object()