The readonly array type of term names, inferred as const
The namespace IRI to which names and terms are appended
Optionalterms: TOptional array of predefined term names to expose as typed properties
A callable function accepting a name parameter, augmented with IRI properties for each term
Creates a namespace factory for generating IRIs within a common namespace.
Returns a callable function that constructs IRIs by appending names to the namespace, enhanced with typed properties for each predefined term. This enables both dynamic IRI creation (
ns("custom")) and type-safe access to known terms (ns.label).