/** * The modules a kind of site suggests, switched on beside the ones already * on: a suggestion never turns off what the merchant uses, as picking a kind * again from "Run setup again" did to Local SEO. */ export const withSuggestedModules = ( current: Record, suggested: readonly string[] ): Record => ({ ...current, ...Object.fromEntries(suggested.map(slug => [slug, true])), });