The compile-time union of ToolState keys whose slice supports DatasetMode.
Names match the ToolState keys exactly, such as routing (not routes) and
customGeometries (not geometries), so the slice name in the tool API never drifts
from the property on state.
When a new slice implements setDatasetMode, the union picks up its key, and the runtime
list DATASET_MODE_SLICE_NAMES fails to type-check until the key is added there too.
The compile-time union of ToolState keys whose slice supports DatasetMode. Names match the ToolState keys exactly, such as
routing(notroutes) andcustomGeometries(notgeometries), so the slice name in the tool API never drifts from the property onstate.When a new slice implements
setDatasetMode, the union picks up its key, and the runtime list DATASET_MODE_SLICE_NAMES fails to type-check until the key is added there too.