applyHubSettingsMigrations
Apply migrations for Hub Settings
Parameters
Parameter | Type | Default | Notes |
---|---|---|---|
settings Required | IUserHubSettings |
Returns
Property | Type | Notes |
---|---|---|
number | ||
Optional |
{
|
Allow features to be opted in or out of |
Optional | IHubHistory |
Optional history of sites/content the user has visited |
Optional |
{
|
Track notices the user has dismissed stored as an object so we can add more types in the future |
Optional | number | |
Optional | string |
Function defined in common/src/utils/internal/siteSettingsMigrations.ts:25