Skip to content

PortalFilter

Defined in: src/portal.ts:52

A server-side view filter carried inside a portal token. Every field is AND-ed into every query, export and single-event read the bearer makes; a client parameter can only narrow it, never widen it.

Property Type Description Defined in
actions? string[] Only these actions (exact names or "invoice.*" families). src/portal.ts:54
actorId? string Only events by this actor (a member sees their own activity). src/portal.ts:58
excludeActions? string[] Never these actions (exact names or families) — e.g. ["support.*"]. src/portal.ts:56
targetId? string Only events touching a target with this id. src/portal.ts:62
targetType? string Only events touching a target of this type. src/portal.ts:60