Builds the constant an entry's otherwise takes: its keys are screen ids of
the platform, so a screen this build does not have is a type error here, and
each handler receives its own screen's handle. One constant serves every
entry — the same branches answer a challenge wherever the screens met it.
The keys are the screens' ids ([ChallengeVerifyCodeScreen.id]: code => …)
because a screen definition is an object, not a property name; the platform's
definition is looked up under each id, so a key that is not a screen of this
build dies here, before any process is built.
Builds the constant an entry's
otherwisetakes: its keys are screen ids of the platform, so a screen this build does not have is a type error here, and each handler receives its own screen's handle. One constant serves every entry — the same branches answer a challenge wherever the screens met it.The keys are the screens' ids (
[ChallengeVerifyCodeScreen.id]: code => …) because a screen definition is an object, not a property name; the platform's definition is looked up under each id, so a key that is not a screen of this build dies here, before any process is built.