Skip to content

js-bao-wss-client


js-bao-wss-client / TriggerDefInfo

Interface: TriggerDefInfo ​

A single trigger definition: which write event it fires on (on), an optional CEL condition (when), and the field assignments to apply (set). Used in ModelRulesInfo.triggers.

Properties ​

on ​

on: "create" | "update" | "save"


set ​

set: Record<string, string>


when? ​

optional when?: string

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