import{validation}from"../../Validation.js";class CastGeometry{execute(e){var t=validation.exists("geometry",e.geometry);const a={};switch(t.type){case"point":a.point=t;break;case"circle":case"polygon":a.polygon=t;break;case"polyline":a.polyline=t;break;case"extent":a.extent=t;break;case"multipoint":a.multipoint=t}return a}}CastGeometry.action="gcx:wf:arcgis::CastGeometry",CastGeometry.suite="gcx:wf:builtin";export{CastGeometry};