validateBindings
validateBindings(
bindings,validator):object
Defined in: bindings.ts:47
Check machine-rooted entries against the configured machines. Returns one
message per definite mistake: an unknown machine, or a modes key that
isn’t a state of it (a typo there silently yields no handlers). Modes an
entry leaves uncovered without a default are deliberate gating, so
they’re reported separately as uncovered rather than as problems.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
bindings | BindingsRecord |
validator | StateMachineValidator | undefined |
Returns
Section titled “Returns”object
problems
Section titled “problems”problems:
string[]
uncovered
Section titled “uncovered”uncovered:
string[]