ArchAstro.Types.ConfigFacets (archastro v0.2.0)

Copy Markdown

Aggregated facet counts for the authenticated viewer's configs. Reports all distinct kinds and path prefixes across the full dataset, regardless of any active list filters.

Summary

Types

t()

@type t() :: %ArchAstro.Types.ConfigFacets{
  kinds: [ArchAstro.Types.ConfigKindFacet.t()],
  path_prefixes: [ArchAstro.Types.ConfigPathPrefixFacet.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()