getIdsFromKeywords
given a hub entity, this util maps over its typeKeywords,
and for each, determines if it is an association typeKeyword
by checking whether it has the form ref|
given a hub entity, this util maps over its typeKeywords,
and for each, determines if it is an association typeKeyword
by checking whether it has the form ref|
Parameters
Parameter | Type | Default | Notes |
---|---|---|---|
entity Required | HubEntity |
hub entity to extract ids from |
|
associationType Optional | HubEntityType |
entity type to extract ids for |
Returns
string[]
Function defined in common/src/associations/internal/getIdsFromKeywords.ts:15