Skip to content

js-bao-wss-client


js-bao-wss-client / RuleSetTestResult

Interface: RuleSetTestResult ​

Result of ruleSets.test(): the access decision for the simulated request, plus the evaluated expression, context, and CEL trace.

Properties ​

allowed ​

allowed: boolean


context? ​

optional context?: Record<string, unknown>


error? ​

optional error?: string


expression? ​

optional expression?: string


trace? ​

optional trace?: TraceEntry[]

Documentation validated against js-bao-wss-client 3.4.0 · js-bao 0.11.0 · primitive-admin 1.0.62 · primitive-app 3.1.0 — 2026-09-30