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