Skip to content

Tankōbon / lib/home-sections / resolveHomeSections

Function: resolveHomeSections() ​

resolveHomeSections(stored): Required<HomeSectionSetting>[]

Defined in: lib/home-sections.ts:33

The stored blocks completed with the ones it doesn't know yet (a block added by a later release), appended in default order and shown, so the result always holds every block exactly once. Options a stored block doesn't carry (settings saved before they existed) get their default.

Parameters ​

stored ​

readonly HomeSectionSetting[]

Returns ​

Required<HomeSectionSetting>[]