ores.ts.convention-registry
Table of Contents
This page is the node for the ores.ts.convention-registry facet of the
codegen template library, part of the ores.ts technical space. Each archetype
below is documented, and holds its mustache source, in its own
linked page — this page is the facet-level summary and the routing
table to them.
1. Summary
A convention family is an entity model that declares #+convention_family:.
The ores.cpp.convention-registry facet renders the family list as a C++
header. This facet renders the same list, from the same derivation, as one
TypeScript module. The web layer reads that module, so it holds no family list
of its own and cannot disagree with the server about which families exist.
The facet is opt-in and renders nothing by default. It is addressed to a
component model, because the module is one file per component and not one
file per entity. The archetype carries a literal #+output: path for the same
reason as the C++ facet: the path names its component, and no model variable
states it. Only ores.refdata opts in.
2. Mustache incantations
The archetype reads the one context the C++ facet reads, convention_registry.
It exposes component and the families list in family-key order. Each family
states key, entity, subject_stem, party_scoped and write_mode. The
C++ type name and the one-hot mode flags are in the context too, and this facet
does not use them.
3. Archetypes
| Archetype | Description |
|---|---|
| ores.ts.convention-registry.registry_module | The TypeScript module that lists every convention family and its write mode, rendered from the refdata entity models that declare #+convention_family:. |
4. See also
- ores.ts — the parent technical space's generated facet/archetype catalogue and shared Mustache conventions.
- ores.cpp.convention-registry — the C++ face of the same registry.
- Codegen template library — the groups overview.