Skip to content

collectEntities

reference
1 min readUpdated

Kind: Function

Source: atloria-monorepo/apps/api/src/technical-docs/curation.ts

Look up name/type for a set of entity ids in the UNCURATED navMap — the tree's "Hidden (n)" section needs names, but hidden entities are filtered out of the served map.

Signature

ts
function collectEntities(navMap: NavMap | null | undefined, ids: string[]): Array<{ id: string; name: string; type: string }>

Parameters

NameType
navMap`NavMap
idsstring[]

Returns: Array<{ id: string; name: string; type: string }>

Was this page helpful?

Download as PDF