Optional ReadonlyafterContribution id tokens this contribution must be mounted after.
Per A2-β §4.2; resolved at assemble-app stage §5.6.
Optional ReadonlybeforeContribution id tokens this contribution must be mounted before.
Per A2-β §4.2; resolved at assemble-app stage §5.6.
ReadonlyhandlerOptional ReadonlyidReadonlymountOptional ReadonlyroutesFine-grained route advertisements. Per A2-β §4.2. The boot planner uses these for sub-router collision detection.
A route contribution. Per A2-α §4.6:
mountPathMUST start with "/".handleris the Express-compatible router or middleware.idis an optional collision-identity hint. Two RouteContributions with the sameidMUST throw at boot. Two with the samemountPathand noidSHOULD throw.The handler's interior is opaque to the boot planner per A2-α §4.7 (handler opacity is structural, not a defect).
A2-β §4.2 adds three optional fields:
routes: fine-grained advertisement of method + path pairs exposed by this contribution. The boot planner uses effectivemountPath + advertisement.pathfor collision identity.before: token array of contributionids this contribution must be mounted before. Resolved by the boot planner's assemble-app stage §5.6 step 1.after: token array of contributionids this contribution must be mounted after. Resolved alongsidebefore.