Skip to content
HomePagesHomePages template kit

DeclarableRead

One entry of a fill spec's `reads`: a readable facts key, or a dotted path beneath one.

One entry of a fill spec’s reads: a readable facts key, or a dotted path beneath one. The relevance slice copies whole top-level keys, so the base segment is the entire claim — the remainder documents which part of the fact the prompts use.

Import from @homepages/template-kit.

export type DeclarableRead = ReadableFactsKey | `${ReadableFactsKey}.${string}`;