Skip to main content

Interface: SetFilterAction

Defined in: runtime/action.ts:75

Sets (or, with filter: null, clears) a declarative predicate that hides non-matching features on a layer — compiled to the engine's native filter expression. Gated by CapabilitySet.dataFeatures.filter per source type.

Properties​

filter​

filter: LayerFilter | null

Defined in: runtime/action.ts:80

The predicate to apply, or null to clear the layer's current filter.


layerId​

layerId: string

Defined in: runtime/action.ts:78

Id of the layer to filter — must match spec.layers[].id.


rationale?​

optional rationale?: string

Defined in: runtime/action.ts:82

Optional free-text reason, preserved on the action log entry for audit.


type​

type: "set-filter"

Defined in: runtime/action.ts:76