ArchAstro.Types.Config (archastro v0.2.0)

Copy Markdown

A versioned config file owned by a team or user, representing a typed artifact such as an agent definition or API tool specification.

Summary

Types

t()

@type t() :: %ArchAstro.Types.Config{
  agent: String.t() | ArchAstro.Unset.t(),
  created_at: DateTime.t() | ArchAstro.Unset.t(),
  current_version: ArchAstro.Types.ConfigVersion.t() | ArchAstro.Unset.t(),
  id: String.t(),
  is_archived: boolean() | ArchAstro.Unset.t(),
  kind: String.t(),
  lookup_key: String.t() | ArchAstro.Unset.t(),
  mime_type: String.t() | ArchAstro.Unset.t(),
  org: String.t() | ArchAstro.Unset.t(),
  parent: String.t() | ArchAstro.Unset.t(),
  parent_solution: String.t() | ArchAstro.Unset.t(),
  raw_content: String.t() | ArchAstro.Unset.t(),
  relative_path: String.t() | ArchAstro.Unset.t(),
  sandbox: String.t() | ArchAstro.Unset.t(),
  team: String.t() | ArchAstro.Unset.t(),
  updated_at: DateTime.t() | ArchAstro.Unset.t(),
  user: String.t() | ArchAstro.Unset.t(),
  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()