Tankōbon / lib/home-sections / setHomeSectionOptions
Function: setHomeSectionOptions()
setHomeSectionOptions(
stored,id,patch):Required<HomeSectionSetting>[]
Defined in: lib/home-sections.ts:61
The resolved list with the block id's options replaced by patch (count clamped).
Parameters
stored
readonly HomeSectionSetting[]
id
"secondChance" | "suggestions" | "continueReading" | "recentlyAdded" | "favorites"
patch
Partial<Pick<HomeSectionSetting, "count" | "hideWhenEmpty">>
Returns
Required<HomeSectionSetting>[]