ViewDecision
Definition
Section titled “Definition”type ViewDecision<T> = { decision: "allow"; override?: T } | { decision: "deny"; reason?: string };Values
Section titled “Values”| Value | Meaning |
|---|---|
allow |
Permit the requested camera or spectating change. override, when present, replaces the requested value. |
deny |
Refuse the change, optionally with a reason. |