Skip to content

js-bao-wss-client


js-bao-wss-client / RuleExpression

Type Alias: RuleExpression ​

RuleExpression = string | { expr: string; loads?: RuleLoads; }

A rule-set operation entry value. Either a bare CEL string (unchanged legacy form, stored verbatim) or an object carrying the expression plus its declared loads. Parse-on-read: bare strings are never rewritten to the object form.

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