Skip to content

PlacementDecisionInspectorProps

Props for PlacementDecisionInspector.

optional autoLoad?: boolean

Auto-load explanation on mount and dependency changes. Defaults to true.


optional className?: string

Optional class name for the root container.


optional contextMode?: RevTurbineContextMode

Context resolution mode. Defaults to 'auto'.


optional overrides?: RevTurbinePlacementDecisionOverrides

Optional segment/plan/usage overrides for debugging.


optional placement?: RevTurbinePlacementConfig

Placement registration config used to resolve a placement ID.


optional showRawJson?: boolean

Whether to render full JSON dumps for deep debugging. Defaults to false.


optional style?: any

Optional inline styles for the root container.


optional surfaceSlot?: Pick<RevTurbineSurfaceSlotConfig, "id" | "name" | "surfaceTemplateIds">

Surface slot config used to resolve a placement ID. Preferred over placement.


optional traits?: Record<string, string | number | boolean>

Optional traits merged into the decision request.


optional ttlMs?: number

Optional decision cache TTL for the underlying decision call.


optional userId?: string

Target user ID. Falls back to the SDK’s current user context.