getWellknownCollections

Function

Get a list of collections based on the entity type and an optional list of collection names, will return a list of default collections if none passed

Parameters

Parameter Type Default Notes
i18nScope Required string

Translation scope to be interpolated into the collections

entityType Required EntityType
collectionNames Optional WellKnownCollection[]

List of names of the requested collections, optional, if passed in, only those collections will be returned

Returns

A list of IHubCollection definition JSON objects


Function defined in common/src/search/wellKnownCatalog.ts:393