Type Alias: SelectedOptionsByBlockCode
SelectedOptionsByBlockCode =
Readonly<Partial<Record<string, readonlyOptionSetOption[]>>>
Groups selected options by the authored block code (blockName).
Use it for direct lookups within the active product or modular selection. Keys with no selected options are absent.
Example
const selections = window.mimeeqApp.observers.optionSets.selectedOptionsByBlockCode.getValue();
const options = selections?.Finish ?? [];
console.log(options.map(({ name }) => name));