Sandbox JS returning { places?, placeConnections?, geometries?, fitOnMap?, byod? }. It reads the datasets as
the deriveDatasets tool's code does, such as byodByDataset[id] for a BYOD dataset.
OptionalconnectMarkerType?: Exclude<PlacesMarkerType, "pin-clustered">Which places module draws placeConnections. Default: 'pin'.
OptionaldatasetId?: stringThe new dataset's id, suffixed on collision. Default: the slice's next id, such as byod-3. The id of a dataset
written with persist: 'monitor' rewrites that dataset in place instead, when the code returns its kind.
OptionalkeepEmpty?: booleanWith persist: 'monitor', writes the dataset and keeps it live even when this run keeps no feature, as when
none matches yet: the code returned its places, geometries or byod empty. The dataset fills as its sources
change, a history starts at zero, the first run that writes features sets what drift is measured against, and
an empty run is never a drift. Without it, or when the run can't follow its sources, such a run writes nothing
and errors. A revision that may come back empty sets it too.
OptionalkeepHistory?: booleanWith persist: 'monitor', also keeps the BYOD dataset <datasetId>_history, which historyDatasetId in the
result names, so the agent reads how the dataset evolved with analyseDatasets or watches it with
createEventRule.
at (ISO), features (the count) and the total of each numeric property, over 6 hours of
source-data time and at most 360 samples. A run within 20 seconds of the last replaces it.keepHistory: false.multiple mode, its default, and stops sampling in single mode. None is kept when
another dataset, such as one your app added, already holds <datasetId>_history.Optionallabel?: stringShort label for the new dataset.
Optionaloperation?: stringProvenance label, such as buffer, stored on a new custom-geometries dataset.
'none' writes the dataset once; 'monitor' also re-derives it in place whenever a source dataset changes,
when monitoring: true in the result says the run can follow its sources.
Optionalshow?: {How to render the new dataset, by what the code returned. Default: not shown.
A derived dataset for deriveDatasets: the datasets its code reads, one
*DatasetIDsfield per kind and at least one of them, thecode, and what happens to the new dataset after the run.