ArchAstro.Types.SolutionSummary (archastro v0.2.0)

Copy Markdown

A catalog entry for an imported Solution, including its display metadata, bundled templates, owner scopes, and any available upgrade information.

Summary

Types

t()

@type t() :: %ArchAstro.Types.SolutionSummary{
  category_keys: [String.t()] | ArchAstro.Unset.t(),
  created_at: DateTime.t() | ArchAstro.Unset.t(),
  description: String.t() | ArchAstro.Unset.t(),
  events: %{optional(String.t()) => ArchAstro.JSON.t()} | ArchAstro.Unset.t(),
  id: String.t(),
  image_url: String.t() | ArchAstro.Unset.t(),
  kind: String.t(),
  latest_solution: String.t() | ArchAstro.Unset.t(),
  latest_version: String.t() | ArchAstro.Unset.t(),
  lookup_key: String.t() | ArchAstro.Unset.t(),
  metadata: %{optional(String.t()) => ArchAstro.JSON.t()} | ArchAstro.Unset.t(),
  name: String.t() | ArchAstro.Unset.t(),
  org: String.t() | ArchAstro.Unset.t(),
  org_logo: ArchAstro.Types.ImageSource.t() | ArchAstro.Unset.t(),
  org_name: String.t() | ArchAstro.Unset.t(),
  org_slug: String.t() | ArchAstro.Unset.t(),
  owners: [String.t()],
  readme_url: String.t() | ArchAstro.Unset.t(),
  screenshot_urls: [String.t()] | ArchAstro.Unset.t(),
  solution_id: String.t() | ArchAstro.Unset.t(),
  solution_version: String.t() | ArchAstro.Unset.t(),
  tag_keys: [String.t()] | ArchAstro.Unset.t(),
  template_kind: String.t() | ArchAstro.Unset.t(),
  templates: [ArchAstro.Types.SolutionTemplateSummary.t()],
  updated_at: DateTime.t() | ArchAstro.Unset.t(),
  upgrade_available: boolean(),
  virtual_path: String.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()