tcmts.cli.config

Evaluating type
What evaluating a stored definition needs of a codebase (configValue): its store, layout, definitions and cache modules. (An interface, not the codebase itself, so the codebase can ask for its roles without the two being hashed as one.)
configDefinition (cb: Codebase, name: string) => { value: Record<string, unknown>; hash: string; rec: DefRecord; } |…
The definition at `name`, evaluated (once per hash; functions in it are dropped), or undefined if none.
configValue (cb: Evaluating, hash: string, name?: string) => Record<string, unknown>
A stored definition's value (any version of it, by hash), evaluated once per hash; functions in it are dropped. A hash fixes the value, so it's kept in the codebase: later commands don't evaluate it again.
values Map<string, unknown>