ArchAstro.SDK.Types.Config (archastro v0.3.2)

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

Functions

from_map(data)

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

matches?(value)

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

to_map(value)

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