Skip to content

InteractionDenial

Defined in: packages/core/src/interactions/registry.ts:37

The result of resolving a name that is not on the allowlist.

The denied discriminant is what a caller narrows on: a successful resolve returns the Interaction itself (which has no denied key), a failed one returns this. Default-deny means a caller that forgets to check gets an object with no create/select, not a usable handler.

PropertyTypeDescriptionDefined in
deniedtrue-packages/core/src/interactions/registry.ts:38
warningstringHuman-readable reason, naming the rejected interaction.packages/core/src/interactions/registry.ts:40