PlacementDecisionInspectorProps
Props for PlacementDecisionInspector.
Properties
Section titled “Properties”autoLoad?
Section titled “autoLoad?”
optionalautoLoad?:boolean
Auto-load explanation on mount and dependency changes. Defaults to true.
className?
Section titled “className?”
optionalclassName?:string
Optional class name for the root container.
contextMode?
Section titled “contextMode?”
optionalcontextMode?:RevTurbineContextMode
Context resolution mode. Defaults to 'auto'.
overrides?
Section titled “overrides?”
optionaloverrides?:RevTurbinePlacementDecisionOverrides
Optional segment/plan/usage overrides for debugging.
placement?
Section titled “placement?”
optionalplacement?:RevTurbinePlacementConfig
Placement registration config used to resolve a placement ID.
showRawJson?
Section titled “showRawJson?”
optionalshowRawJson?:boolean
Whether to render full JSON dumps for deep debugging. Defaults to false.
style?
Section titled “style?”
optionalstyle?:any
Optional inline styles for the root container.
surfaceSlot?
Section titled “surfaceSlot?”
optionalsurfaceSlot?:Pick<RevTurbineSurfaceSlotConfig,"id"|"name"|"surfaceTemplateIds">
Surface slot config used to resolve a placement ID. Preferred over placement.
traits?
Section titled “traits?”
optionaltraits?:Record<string,string|number|boolean>
Optional traits merged into the decision request.
ttlMs?
Section titled “ttlMs?”
optionalttlMs?:number
Optional decision cache TTL for the underlying decision call.
userId?
Section titled “userId?”
optionaluserId?:string
Target user ID. Falls back to the SDK’s current user context.