Skip to content

projectInteractions

projectInteractions(model, policy?): InteractionsProjection

Defined in: packages/core/src/interactions/manifest.ts:93

Project the model’s per-layer interactions into a declarative manifest.

ParameterTypeDefault valueDescription
modelMapModelundefinedThe normalized map model.
policyCapabilityPolicyDEFAULT_POLICYThe capability policy in force; an absent policy defaults to DEFAULT_POLICY (untrusted), which drops emit blocks.

InteractionsProjection

A projection keyed by layer id. A layer with no interactive config yields no entry.