Interface: ModularAutoSyncRulesByType
Groups the configured auto-sync rules for option blocks. Use it to explain related option changes. An empty autoSync list means no usable rules are published. Optional product and selection restrictions can be absent.
Example
const rules = window.mimeeqApp.observers.modular.autoSyncRulesByType.getValue();
console.log(rules?.autoSync.flatMap(({ values }) => values.blocks) ?? []);
Properties
autoSync
autoSync:
object[]
ordinal?
optionalordinal?:number
ruleId
ruleId:
string
ruleName
ruleName:
string
ruleType
ruleType:
"AUTO_SYNC_BLOCKS"
values
values:
object
values.blocks
blocks:
string[]
values.onlySelected?
optionalonlySelected?:boolean
values.products?
optionalproducts?:string[]