addHistoryEntry
Add an entry to the history. This handles the limits per type, and ensures that the most recent entry is at the top of the list. This function does not persist the history, it only updates the object.
Parameters
| Parameter | Type | Default | Notes | 
|---|---|---|---|
| entry Required | IHubHistoryEntry | ||
| history Required | IHubHistory | 
Returns
| Property | Type | Notes | 
|---|---|---|
| IHubHistoryEntry[] | 
Function defined in packages/common/src/core/hubHistory.ts:61