Skip to main content

Interface: SetFilterAction

Defined in: runtime/action.ts:74

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:79

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


layerId

layerId: string

Defined in: runtime/action.ts:77

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


rationale?

optional rationale?: string

Defined in: runtime/action.ts:81

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


type

type: "set-filter"

Defined in: runtime/action.ts:75