getItemHubId

Function

given an item, get the id to use w/ the Hub API

given an item, get the id to use w/ the Hub API

  • getItemHubId(item: IItem) : string

Parameters

Parameter Type Default Notes
item Required IItem

Returns

Hub API id (hubId)

string

Function defined in common/src/content/compose.ts:493