getTypesFromEntityType

Function

return the item type(s) associated with a provided Hub entity type. This is effectively the reverse of getTypeFromEntity

return the item type(s) associated with a provided Hub entity type. This is effectively the reverse of getTypeFromEntity

Parameters

Parameter Type Default Notes
entityType Required HubEntityType

the hub entity type

Returns

string[]

Function defined in common/src/core/getTypesFromEntityType.ts:11