Interface: ToggleLayerAction
Defined in: runtime/action.ts:20
Flips (or explicitly sets) a layer's visibility.
Properties
layerId
layerId:
string
Defined in: runtime/action.ts:23
Id of the layer to toggle — must match spec.layers[].id.
rationale?
optionalrationale?:string
Defined in: runtime/action.ts:27
Optional free-text reason, preserved on the action log entry for audit.
type
type:
"toggle-layer"
Defined in: runtime/action.ts:21
visible?
optionalvisible?:boolean
Defined in: runtime/action.ts:25
Explicit next visibility. Omitted: flips the layer's current visibility.