getEntityTypeFromHubEntityType

Function

Convert from a Hub Entity Type (e.g. "site") to an EntityType (e.g. "item")

Parameters

Parameter Type Default Notes
type Required HubEntityType

Returns

Property Type Notes
channel "channel"
communityUser "communityUser"
discussionPost "discussionPost"
event "event"
eventAttendee "eventAttendee"
group "group"
groupMember "groupMember"
item "item"
portalUser "portalUser"
user "user"

Function defined in common/src/core/getEntityTypeFromHubEntityType.ts:10