ArchAstro.Types.ConfigKindFacet (archastro v0.2.0)

Copy Markdown

A facet entry grouping configs by kind, returning the kind name and the number of matching configs visible to the authenticated viewer.

Summary

Types

t()

@type t() :: %ArchAstro.Types.ConfigKindFacet{count: integer(), kind: String.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()