@arcgis/core
Version:
ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API
3 lines (2 loc) • 1.62 kB
JavaScript
/* COPYRIGHT Esri - https://js.arcgis.com/5.0.8/LICENSE.txt */
import{__decorate as t}from"tslib";import{JSONSupport as e}from"../../../core/JSONSupport.js";import{property as o,subclass as r}from"../../../core/accessorSupport/decorators.js";import{ensureClass as i}from"../../../core/accessorSupport/ensureType.js";import s from"../../../geometry/Extent.js";import p from"../../../geometry/SpatialReference.js";import{validationTypeKebabDict as a}from"../../../networks/support/typeUtils.js";import{writer as l}from"../../../core/accessorSupport/decorators/writer.js";var n;let d=n=class extends e{static from(t){return i(n,t)}constructor(t){super(t),this.gdbVersion=null,this.sessionID=null,this.validationType=null,this.validateArea=null,this.validationSet=null,this.outSpatialReference=null}writeOutSR(t,e,o){if(null!=t){const{wkid:r,latestWkid:i,wkt:s,wkt2:p}=t;e[o]=JSON.stringify({wkid:r??void 0,latestWkid:i??void 0,wkt:s??void 0,wkt2:p??void 0})}}};t([o({type:String,json:{write:!0}})],d.prototype,"gdbVersion",void 0),t([o({type:String,json:{write:!0}})],d.prototype,"sessionID",void 0),t([o({type:a.apiValues,json:{type:a.jsonValues,read:a.read,write:a.write}})],d.prototype,"validationType",void 0),t([o({type:s,json:{write:!0}})],d.prototype,"validateArea",void 0),t([o({type:[Object],json:{write:!0}})],d.prototype,"validationSet",void 0),t([o({type:p,json:{write:{allowNull:!0,target:"outSR"}}})],d.prototype,"outSpatialReference",void 0),t([l("outSpatialReference")],d.prototype,"writeOutSR",null),d=n=t([r("esri.rest.networks.support.ValidateNetworkTopologyParameters")],d);const u=d;export{u as default};