dhaga.docs
API referenceFunctions

buildRelationshipLabelMap()

function buildRelationshipLabelMap(rows): RelationshipLabelMap;

Defined in: relationships.ts:66

Build the runtime label map from relationship_types rows (any source that carries slug + both labels), so every consumer keys it identically.

Parameters

rows

readonly object[]

Returns

RelationshipLabelMap

On this page